framadate issueshttps://framagit.org/groups/framasoft/framadate/-/issues2019-04-15T09:38:36Zhttps://framagit.org/framasoft/framadate/framadate/-/issues/421Add a cron system2019-04-15T09:38:36ZThomasthomas.citharel@framasoft.orgAdd a cron systemRight now polls are expired through [a PurgeService](https://framagit.org/framasoft/framadate/framadate/blob/develop/app/classes/Framadate/Services/PurgeService.php) that executes randomly on each page call.
The notify before expiration...Right now polls are expired through [a PurgeService](https://framagit.org/framasoft/framadate/framadate/blob/develop/app/classes/Framadate/Services/PurgeService.php) that executes randomly on each page call.
The notify before expiration feature (#415) sound heavier and can't be done this way. It's a good occasion to move these tasks to a dedicated job queue.
What it needs to have:
* ability to load through system cron (calling `php -f cron.php`) or just ajax, see what Nextcloud has
* save into database
* name (for job type), priority and arguments
* timestamp `run_after`
Also https://github.com/peppeocchi/php-cron-scheduler might be worth a look.https://framagit.org/framasoft/framadate/framadate/-/issues/415Notification mail à l’expiration du sondage2019-04-15T09:38:37ZAyMNotification mail à l’expiration du sondageEnvoyer un mail à l’administrateur du sondage pour prévenir de l’expiration du sondage avant qu’il ne vienne se plaindre sur le support parce qu’il n’a pas lu les instructions (expiration au bout de 180j).
Le message doit contenir un li...Envoyer un mail à l’administrateur du sondage pour prévenir de l’expiration du sondage avant qu’il ne vienne se plaindre sur le support parce qu’il n’a pas lu les instructions (expiration au bout de 180j).
Le message doit contenir un lien vers la page admin du sondage.https://framagit.org/framasoft/framadate/framadate/-/issues/396Provide build-in pictures with poll results2018-12-15T16:23:09ZThomasthomas.citharel@framasoft.orgProvide build-in pictures with poll resultsMostly a graph-like picture
From https://framagit.org/framasoft/framadate/framadate/issues/394Mostly a graph-like picture
From https://framagit.org/framasoft/framadate/framadate/issues/394https://framagit.org/framasoft/framadate/framadate/-/issues/395Missing locale key2019-08-28T12:20:25ZPierre RudloffMissing locale keyHello,
Since we upgraded to 1.1.9, the subject of the e-mails are like this:
* `[Animadate][[missing key: Mail.Participant link]] Sondage: Test`
* `[Animadate][[missing key: Mail.Message for the author]] Sondage: Test`
Are some strings ...Hello,
Since we upgraded to 1.1.9, the subject of the e-mails are like this:
* `[Animadate][[missing key: Mail.Participant link]] Sondage: Test`
* `[Animadate][[missing key: Mail.Message for the author]] Sondage: Test`
Are some strings missing in the French translation?https://framagit.org/framasoft/framadate/framadate/-/issues/389Error when editing vote when "max number of participants per option" is enab...2022-04-28T20:47:36ZKersten LohmeyerError when editing vote when "max number of participants per option" is enabled, and a choice reached the maximum.Option "max number of participants per option" set to 1 (don't know whether that's necessary)
Option "every selection can be changed by everyone" set (don't know whether that's necessary)
Choose an option A as person1
Choose another ...Option "max number of participants per option" set to 1 (don't know whether that's necessary)
Option "every selection can be changed by everyone" set (don't know whether that's necessary)
Choose an option A as person1
Choose another option B as person2
Try to choose yet another option C as person1
Error: conflict!
Test case:
https://thdoodle.th-deg.de/AWAT24lu6tnVrNVG
https://thdoodle.th-deg.de/AWAT24lu6tnVrNVGCuSWldRl/adminhttps://framagit.org/framasoft/framadate/funky-framadate-front/-/issues/5Description du sondage2019-08-09T09:23:11ZMaïtané LenoirDescription du sondagePour laisser plus de place pour remplir le textarea et lui donner une consistance plus importante (qui fera bloc)![Capture_d_écran_2018-10-26_à_20.13.37](/uploads/87742058969f8be94f3e7437b2d2a1fe/Capture_d_écran_2018-10-26_à_20.13.37...Pour laisser plus de place pour remplir le textarea et lui donner une consistance plus importante (qui fera bloc)![Capture_d_écran_2018-10-26_à_20.13.37](/uploads/87742058969f8be94f3e7437b2d2a1fe/Capture_d_écran_2018-10-26_à_20.13.37.png):
- Le mettre à la ligne
- Lui faire prendre toute la largeur du reste du bloc
- Lui donner davantage de hauteur (~130px)
- Lui rajouter un peu de padding pour que le texte à l'intérieur ne soit pas collé (0.5 em)https://framagit.org/framasoft/framadate/framadate/-/issues/374Traduction française : proposer l'ecriture inclusive de manière optionnelle2018-10-08T12:58:57ZYoannTraduction française : proposer l'ecriture inclusive de manière optionnelleBonjour,
Tout d'abord un grand merci pour tout le travail effectué sur Framadate.
J'ai remarqué l'intégration de l'écriture inclusive dans la traduction française.
Je travaille pour la fonction publique d'état et malheureusement cette é...Bonjour,
Tout d'abord un grand merci pour tout le travail effectué sur Framadate.
J'ai remarqué l'intégration de l'écriture inclusive dans la traduction française.
Je travaille pour la fonction publique d'état et malheureusement cette écriture n'a pas (encore) été validée par les autorités (pour confirmer mes dires, vous pouvez consulter [cette circulaire publiée au JO](https://www.legifrance.gouv.fr/jo_pdf.do?id=JORFTEXT000036068906)).
Est-il possible de proposer cette écriture de manière optionnelle ?
Si non, quelle est la meilleure methode pour surcharger le fichier de traduction tout en bénéficiant automatiquement des nouvelles traductions ?
Merci d'avance pour votre retour.https://framagit.org/framasoft/framadate/framadate/-/issues/363Step 3 - In the english version the expiry date registered is always the default2019-02-05T12:53:50ZClermontéStep 3 - In the english version the expiry date registered is always the default**Context**
Step 3 of created a poll in the English version.
**Problem**
Whatever is the asked expiry date the software registers the date by default
**Suggestion**
If the asked expiry date is valid, the software must keep this...**Context**
Step 3 of created a poll in the English version.
**Problem**
Whatever is the asked expiry date the software registers the date by default
**Suggestion**
If the asked expiry date is valid, the software must keep this value, and use default only when it is not valid.https://framagit.org/framasoft/framadate/framadate/-/issues/348Multi-day events2018-07-06T13:32:17ZThomasthomas.citharel@framasoft.orgMulti-day events*Issue originally at https://github.com/framasoft/framadate/issues/59*
It would be nice to have the possibility of specifying the length of a proposed event - even if is spans over multiple days. For example to plan a trip it would be n...*Issue originally at https://github.com/framasoft/framadate/issues/59*
It would be nice to have the possibility of specifying the length of a proposed event - even if is spans over multiple days. For example to plan a trip it would be nice to offer either Sunday to Wednesday or Friday to Monday.https://framagit.org/framasoft/framadate/framadate/-/issues/346Accessibility: increase color contrast2020-05-08T18:38:03ZThomasthomas.citharel@framasoft.orgAccessibility: increase color contrast*This issue originally was at https://github.com/framasoft/framadate/issues/66*
The Green-Orange-Red colors choosen to indicate if someone is available/possibly available/not available is not much contrasted. Color-blind people might fi...*This issue originally was at https://github.com/framasoft/framadate/issues/66*
The Green-Orange-Red colors choosen to indicate if someone is available/possibly available/not available is not much contrasted. Color-blind people might find it complicated to differentiate between answers.
This is part of the general question of accessibility. If this brings up other issues, I will try to provide some help on this.1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/344Day headers formatted wrong in certain browsers2018-09-12T20:39:09ZThomasthomas.citharel@framasoft.orgDay headers formatted wrong in certain browsers*This issue originally was at https://github.com/framasoft/framadate/issues/67*
I made a poll recently **on the public version of Framatade** of which the headers looked like this on my machine (**Arch Linux with Chrome 60.0.3112.40 (Of...*This issue originally was at https://github.com/framasoft/framadate/issues/67*
I made a poll recently **on the public version of Framatade** of which the headers looked like this on my machine (**Arch Linux with Chrome 60.0.3112.40 (Official Build) beta (64-bit)**):
![](https://i.imgur.com/cjMtOt4.png)
On my friend's computer (**Windows 7 Pro with Chrome 59.0.3071.115 (Official Build) (64-bit)**), they showed up like this:
![](https://i.imgur.com/4SXNFjK.png)
And on another friends mobile (no specs, can ask if requested), they showed up like this as well.
![](https://i.imgur.com/HpwfcDD.png)
My phone (**Android 6.0.1 with Chrome 59.0.3071.125**) it shows the normal column headers.
I guess it could also be a locale issue. I have all my locales set to US English, but considering the column header using "August", I guess the Windows is also configured in English.
--------
(The fact that on mobile it's impossible to see more than one or two columns (on my phone as well, even though the column headers show up correctly) is a separate issue. But if Framadate doesn't intend to be mobile-friendly, that's ok. Tell me if I should report that separately.)1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/340Faciliter la personalisation de framadate : signature des mails2018-08-04T15:25:00ZClermontéFaciliter la personalisation de framadate : signature des mailsLa signature des mails envoyés par Framadate se trouve dans le fichier fr.json (pour le Français)
exemple :
"FOOTER":" « La route est longue, mais la voie est libre… »"
**Problème**
Il faut trouver que c'est dans ce fichier et il fa...La signature des mails envoyés par Framadate se trouve dans le fichier fr.json (pour le Français)
exemple :
"FOOTER":" « La route est longue, mais la voie est libre… »"
**Problème**
Il faut trouver que c'est dans ce fichier et il faut le maintenir à jour avec les changements de versions
**Suggestion**
Prévoir un menu de configuration qui stocke dans des variables de configuration les éléments de personalisation, donc faciliter la "Chatonisation" du logiciel1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/326Choices in Classic-Survey2018-07-11T12:03:09ZChristian SeyfferthChoices in Classic-SurveyIf you create an classic survey with markdown, you get something like `[![alt text](image url)](link)` as option. Let's create 2 of these and one with normal text.
Now there are 2 visible outcomes on the poll-page:
1. If you want to vo...If you create an classic survey with markdown, you get something like `[![alt text](image url)](link)` as option. Let's create 2 of these and one with normal text.
Now there are 2 visible outcomes on the poll-page:
1. If you want to vote for an markdown-option then you get that title-overlay where it says something like `vote yes for [![alt text](image url)](link)` which is most likely not looking pretty. Especially if your image-url is some base64-code-thing.
2. If one of these options is in best choice(s), it's content is not displayed and the best-choice-option is left blank. It looks like
```
"your best choices are
1. normal-text-option
2.
with 2 votes
```
Tell me if I can help providing more information or finding a solution1.2.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/323Option to export .ics for use in e.g. Outlook2021-02-17T20:32:44ZKersten LohmeyerOption to export .ics for use in e.g. OutlookOLD: "~~One feature we are heavily missing is being able to export possible dates of a date poll as an .ics file for importing into e.g. Outlook. So that one can see if one of these dates is not colliding with existing entries in the cal...OLD: "~~One feature we are heavily missing is being able to export possible dates of a date poll as an .ics file for importing into e.g. Outlook. So that one can see if one of these dates is not colliding with existing entries in the calendar.~~"
NEW: See my next comment.1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/319Thème : permettre de surcharger les templates par défaut2022-09-12T14:06:48Zb_bThème : permettre de surcharger les templates par défautSalut, chez Infini on utilise un petit thème perso pour https://date.infini.fr/
Pour y arriver, on doit surcharger deux fichiers fournis par framdate, cf :
https://framagit.org/infini/themes-outils-libres/blob/master/date/config_infini...Salut, chez Infini on utilise un petit thème perso pour https://date.infini.fr/
Pour y arriver, on doit surcharger deux fichiers fournis par framdate, cf :
https://framagit.org/infini/themes-outils-libres/blob/master/date/config_infini.diff
Tout comme dans lutim & lufi, il serait intéressant d'ajouter une variable de config qui permettrait de définir un dossier template perso (et aussi pour les locales).2.0https://framagit.org/framasoft/framadate/framadate/-/issues/316nettoyage du sondage de démonstration2018-04-18T09:13:38ZMathieunettoyage du sondage de démonstrationÇa ne concerne pas directement le code. Je me demandais si quelqu'un s'occupe de nettoyer régulièrement le sondage de démonstration ?
https://framadate.org/aqg259dth55iuhwm
Je pense qu'il serait plus présentable avec un maximum de 5 l...Ça ne concerne pas directement le code. Je me demandais si quelqu'un s'occupe de nettoyer régulièrement le sondage de démonstration ?
https://framadate.org/aqg259dth55iuhwm
Je pense qu'il serait plus présentable avec un maximum de 5 lignes de votes et de commentaires. Et ça ne serait pas que pour la présentation mais aussi vérifier qu'il n'y a rien d'illégal sinon Framasoft pourrait être embêté.1.2.0MathieuMathieuhttps://framagit.org/framasoft/framadate/framadate/-/issues/295Improve error message for username / email format2018-03-29T10:56:08ZThomasthomas.citharel@framasoft.orgImprove error message for username / email format- [ ] Change error message from "Incorrect format" to "%s should be only latin letters and numbers"
- [ ] Trim usernames and emails- [ ] Change error message from "Incorrect format" to "%s should be only latin letters and numbers"
- [ ] Trim usernames and emails1.2.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/259Being able to add link in description2018-02-19T09:32:50ZJérôme AvondBeing able to add link in descriptionCan't add a link, I tried : markdown, wiki, html
It's still simple plain text in public page...Can't add a link, I tried : markdown, wiki, html
It's still simple plain text in public page...https://framagit.org/framasoft/framadate/framadate/-/issues/256Content-Security-Policy header2018-04-11T14:39:06ZPierre RudloffContent-Security-Policy headerIt is [a good practice](https://wiki.mozilla.org/Security/Guidelines/Web_Security#Content_Security_Policy) to return a `Content-Security-Policy` header as it prevents different types of XSS attacks.
This is what we currently use on our ...It is [a good practice](https://wiki.mozilla.org/Security/Guidelines/Web_Security#Content_Security_Policy) to return a `Content-Security-Policy` header as it prevents different types of XSS attacks.
This is what we currently use on our Framadate server:
```
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src 'none'; style-src 'self' 'unsafe-inline' maxcdn.bootstrapcdn.com; font-src 'self' maxcdn.bootstrapcdn.com; img-src 'self'
```
Here is what it means:
* By default only allow resources from the same domain.
* Only allow scripts from the same domain or from inline scripts.
* Don't allow objects and embeds.
* Only allow styles from the same domain, from inline styles or from maxcdn.bootstrapcdn.com.
* Only allow fonts from the same domain or from maxcdn.bootstrapcdn.com.
* Only allow images from the same domain.
I thought you might want to implement this directly into Framadate.
It's also a good idea to define the following headers:
```
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
```
(We also use `X-Frame-Options: DENY` but I guess some people might want to display polls in iframe like in https://framagit.org/framasoft/framadate/issues/159.)2.0https://framagit.org/framasoft/framadate/framadate/-/issues/255Call to undefined method stdClass::getChoices()2018-12-04T17:30:59ZPierre RudloffCall to undefined method stdClass::getChoices()On the latest develop (9229b5c), I get this error when trying to create a poll:
```
PHP Fatal error: Uncaught Error: Call to undefined method stdClass::getChoices() in /home/pierre/www/framadate/create_date_poll.php:74\nStack trace:\n#0...On the latest develop (9229b5c), I get this error when trying to create a poll:
```
PHP Fatal error: Uncaught Error: Call to undefined method stdClass::getChoices() in /home/pierre/www/framadate/create_date_poll.php:74\nStack trace:\n#0 {main}\n thrown in /home/pierre/www/framadate/create_date_poll.php on line 74, referer: http://localhost/framadate/create_poll.php?type=date
```
(I'm using PHP 7.0.27-0+deb9u.)1.1.9Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.org