framadate issueshttps://framagit.org/framasoft/framadate/framadate/-/issues2018-04-11T14:23:59Zhttps://framagit.org/framasoft/framadate/framadate/-/issues/221Les mails aux sondés contenant le lien d'édition du vote ne partent pas2018-04-11T14:23:59ZAyMLes mails aux sondés contenant le lien d'édition du vote ne partent paset apparemment y a rien dans le fichier de log non pluset apparemment y a rien dans le fichier de log non plushttps://framagit.org/framasoft/framadate/framadate/-/issues/205Liens incorrects dans les mails de notification2018-02-20T18:32:26ZAyMLiens incorrects dans les mails de notificationMessage reçu sur contact.framasoft.org :
> quand je recois un mail de notification d'un commentaire sur un de mes sondages, le lien renvoyant vers la page d'admin contient "/action/" et tombe sur une 404 en retirant "/action", ca marcheMessage reçu sur contact.framasoft.org :
> quand je recois un mail de notification d'un commentaire sur un de mes sondages, le lien renvoyant vers la page d'admin contient "/action/" et tombe sur une 404 en retirant "/action", ca marcheOlivier PerezOlivier Perezhttps://framagit.org/framasoft/framadate/framadate/-/issues/196Désactiver l'export CSV pour les sondages à visibilité restreinte2017-03-31T19:19:55ZAyMDésactiver l'export CSV pour les sondages à visibilité restreinteSignalé sur contact.framasoft.org :
> J'ai crée un sondage sur Framadate en prenant l'option à ce que les résultats des vote soient cachés pour les sondés.
Cela fonctionne correctement, néanmoins, je me rends compte que les sondés o...Signalé sur contact.framasoft.org :
> J'ai crée un sondage sur Framadate en prenant l'option à ce que les résultats des vote soient cachés pour les sondés.
Cela fonctionne correctement, néanmoins, je me rends compte que les sondés ont accès au bouton "export csv", qui revient donc à visualiser les résultats.
Peut-on faire un sorte que l'export ne soit pas possible pour les sondés ?
Il faudrait aussi vérifier que les sondages protégés par mot de passe ne fuient pas non plus par l'export CSV.https://framagit.org/framasoft/framadate/framadate/-/issues/154Datepicker ne fonctionne pas pour la date d'archivage2017-04-10T13:46:00ZberumuronDatepicker ne fonctionne pas pour la date d'archivageÀ la fin du processus de création d'un sondage, il nous est demandé si l'on souhaite changer la date d'archivage du sondage. Le petit calendrier semble cliquable mais aucun datepicker ne s'ouvre…À la fin du processus de création d'un sondage, il nous est demandé si l'on souhaite changer la date d'archivage du sondage. Le petit calendrier semble cliquable mais aucun datepicker ne s'ouvre…https://framagit.org/framasoft/framadate/framadate/-/issues/153Option "Seul le créateur du sondage peut voir les résultats" ne fonctionne pas2017-04-10T13:46:00ZAyMOption "Seul le créateur du sondage peut voir les résultats" ne fonctionne pasUniquement à la création du sondage, depuis la page d'admin du sondage ça marche.
Uniquement à la création du sondage, depuis la page d'admin du sondage ça marche.
https://framagit.org/framasoft/framadate/framadate/-/issues/124Impossible de supprimer un vote2017-04-27T07:20:29ZAyMImpossible de supprimer un voteLa page se recharge, on a un message de confirmation mais la ligne reste.
(bug constaté sur framadate.org et beta.framadate.org)La page se recharge, on a un message de confirmation mais la ligne reste.
(bug constaté sur framadate.org et beta.framadate.org)https://framagit.org/framasoft/framadate/framadate/-/issues/123Empécher l'ajout de colonne vide2017-04-27T07:20:29ZAyMEmpécher l'ajout de colonne videSur les sondages classiques et dates, il est possible d'ajouter une colonne vide.
Cette colonne sur les sondages classiques ne peut plus être supprimée ensuite.Sur les sondages classiques et dates, il est possible d'ajouter une colonne vide.
Cette colonne sur les sondages classiques ne peut plus être supprimée ensuite.https://framagit.org/framasoft/framadate/framadate/-/issues/112Datepicker ne marche pas sur l'ajout de colonne2017-04-27T07:20:29ZAyMDatepicker ne marche pas sur l'ajout de colonnehttps://framagit.org/framasoft/framadate/framadate/-/issues/111Les dates dans le tableau toujours en anglais2017-04-27T07:20:29ZAyMLes dates dans le tableau toujours en anglais![](https://framapic.org/9Fj1zUzYFaDh/MfKZxALd)
(version 0.9.2)![](https://framapic.org/9Fj1zUzYFaDh/MfKZxALd)
(version 0.9.2)Olivier PerezOlivier Perezhttps://framagit.org/framasoft/framadate/framadate/-/issues/109Impossile de supprimer une colonne contenant un lien, une image, un texte ave...2017-04-27T07:20:29ZAyMImpossile de supprimer une colonne contenant un lien, une image, un texte avec espace……mais ça marche avec juste des chiffres ou du texte sans caractère spécial…mais ça marche avec juste des chiffres ou du texte sans caractère spécialhttps://framagit.org/framasoft/framadate/framadate/-/issues/108Valider un sondage date sans devoir remplir une case horaire2017-04-27T07:20:29ZAyMValider un sondage date sans devoir remplir une case horaireNormalement, le seul truc obligatoire devrait être d'avoir au moins une date.Normalement, le seul truc obligatoire devrait être d'avoir au moins une date.https://framagit.org/framasoft/framadate/framadate/-/issues/101Page blanche à l'installation. Le formulaire n'est pas affiché2018-01-23T10:56:57ZGhost UserPage blanche à l'installation. Le formulaire n'est pas affichéVoici les étapes que j'ai suivi pour l'installation de framadate en local :
:one: git clone https://git.framasoft.org/framasoft/framadate.git
:two: MySQL : création de la BDD et du user OK.
:three: Direction le navigateur
> Pou...Voici les étapes que j'ai suivi pour l'installation de framadate en local :
:one: git clone https://git.framasoft.org/framasoft/framadate.git
:two: MySQL : création de la BDD et du user OK.
:three: Direction le navigateur
> Pour installer l'application Framadate, rendez-vous sur la page http://monsite/admin/install.php et remplisez le formulaire.
**Baam ! Page blanche**
Il semblerait qu'il manque les vendor car aucun dossier vendor n'est crée.
/vendor/autoload.php
Pouvez-vous indiquer dans le INSTALL.md de lancer la commande
`composer update`
avant d'aller sur la page d'installation ?
Mais même en installant les vendor, j'ai toujours une page blanche pour l'install.php. Je précise que je suis en PHP 5.6
En affichant les errors php, ça plante à ce niveau
`/framadate/app/inc/i18n.php` ligne 31-32:
`$i18n->get('fr', 'Something, just to load the dictionary');
$locale = $i18n->getLoadedLang();`
**Fatal error: Class 'Locale' not found in /home/.../framadate/vendor/o80/i18n/src/o80/i18n/JsonProvider.php on line 87**
Ou sinon comme alternative, préciser de copier le fichier config.template.php en config.php et de l'éditer directement
`cp config.template.php config.php`
Merci.
https://framagit.org/framasoft/framadate/framadate/-/issues/97Apostrophe non reconnue dans le nom2017-04-27T07:20:31Zlamessenlamessen@framasoft.orgApostrophe non reconnue dans le nomEn cas d'apostrophe dans le nom, le nom est reconnu comme invalideEn cas d'apostrophe dans le nom, le nom est reconnu comme invalidehttps://framagit.org/framasoft/framadate/framadate/-/issues/92Impossible d'avoir un prénom avec une majuscule accentuée2017-04-27T07:20:31ZNicolas LœuilletImpossible d'avoir un prénom avec une majuscule accentuéecf tweet ici https://twitter.com/edasfr/status/646238530809696256cf tweet ici https://twitter.com/edasfr/status/646238530809696256https://framagit.org/framasoft/framadate/framadate/-/issues/79Scrolling is very slow, especially for big polls and with Chromium/Chrome2017-04-27T07:20:31ZErik Martin-DorelScrolling is very slow, especially for big polls and with Chromium/ChromeDear Framadate developers,
I am experiencing some lag issues with Framadate (either by scrolling with the mouse, or by using the PageUp and PageDown keys).
Also, the lag seems correlated with the size of the poll.
Concretely:
-...Dear Framadate developers,
I am experiencing some lag issues with Framadate (either by scrolling with the mouse, or by using the PageUp and PageDown keys).
Also, the lag seems correlated with the size of the poll.
Concretely:
- for a poll with 9 possible timestamps, **the page is refreshed only 1/4 sec. after typing PageUp or PageDown,**
- for a poll with 26 possible timestamps, **the page is refreshed only 1/2 sec. after typing PageUp or PageDown.**
My config:
- Ubuntu 14.04.2 LTS
- GNU/Linux 3.13.0-55-generic x86_64
- **reproducible using chromium-browser** 43.0.2357.130-0ubuntu0.14.04.1.1092
- **reproducible using google-chrome-stable** 43.0.2357.130-1
- *but not reproducible using firefox* 38.0+build3-0ubuntu0.14.04.1
Best regards.
https://framagit.org/framasoft/framadate/framadate/-/issues/31Nommage du répertoire install2017-04-27T07:20:33ZBob Le BricodeurNommage du répertoire installSous Windows, impossible d'avoir un fichier (INSTALL) et un répertoire (install) du même nom.
Pouvez-vous renommer le répertoire "install" en "installation" pour que ce conflit soit corrigé?
Merci ;-)Sous Windows, impossible d'avoir un fichier (INSTALL) et un répertoire (install) du même nom.
Pouvez-vous renommer le répertoire "install" en "installation" pour que ce conflit soit corrigé?
Merci ;-)https://framagit.org/framasoft/framadate/framadate/-/issues/25Date d'expiration à 0 après ajout de date2017-04-27T07:20:34ZAyMDate d'expiration à 0 après ajout de dateÇa ne se produit que si la nouvelle date est postérieure à la date d'expiration.Ça ne se produit que si la nouvelle date est postérieure à la date d'expiration.https://framagit.org/framasoft/framadate/framadate/-/issues/234Formulaire de mot de passe manquant si le sondage a expiré2017-06-19T11:09:32ZAyMFormulaire de mot de passe manquant si le sondage a expiréQuand le sondage est protégé par mot de passe, le seul message affiché à l'écran est celui qui indique qu'il faut taper un mot de passe mais le formulaire n'est pas affiché si le sondage a expiré.
L'utilisateur est induit en erreur sur l...Quand le sondage est protégé par mot de passe, le seul message affiché à l'écran est celui qui indique qu'il faut taper un mot de passe mais le formulaire n'est pas affiché si le sondage a expiré.
L'utilisateur est induit en erreur sur la vraie raison du blocage.https://framagit.org/framasoft/framadate/framadate/-/issues/228Encoding problem in CSV export2018-04-04T19:58:28ZFramartinEncoding problem in CSV exportThere is a encoding bug in the CSV export feature.
## How to reproduce
- Create a classic poll with one column named `testé`
- Export the results in CSV
- The character `é` is replaced by `é` in the CSV fileThere is a encoding bug in the CSV export feature.
## How to reproduce
- Create a classic poll with one column named `testé`
- Export the results in CSV
- The character `é` is replaced by `é` in the CSV file1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/224Échec de l'installation si NO_ZERO_DATE est activé2019-03-24T14:49:47ZPierre RudloffÉchec de l'installation si NO_ZERO_DATE est activéSi le mode [`NO_ZERO_DATE`](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date) de MySQL est activé, l'installation échoue au moment de remplir la base de données :
```
[Fri Jan 20 15:57:29.466946 2017] [:error]...Si le mode [`NO_ZERO_DATE`](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date) de MySQL est activé, l'installation échoue au moment de remplir la base de données :
```
[Fri Jan 20 15:57:29.466946 2017] [:error] [pid 6182] [client 127.0.0.1:33512] PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'date_fin' in /media/pierre/Data/www/framadate/app/classes/Framadate/Migration/From_0_0_to_0_8_Migration.php:80\nStack trace:\n#0 /media/pierre/Data/www/framadate/app/classes/Framadate/Migration/From_0_0_to_0_8_Migration.php(80): PDO->exec('\\nCREATE TABLE I...')\n#1 /media/pierre/Data/www/framadate/admin/migration.php(96): Framadate\\Migration\\From_0_0_to_0_8_Migration->execute(Object(PDO))\n#2 {main}\n thrown in /media/pierre/Data/www/framadate/app/classes/Framadate/Migration/From_0_0_to_0_8_Migration.php on line 80, referer: http://localhost/framadate/admin/install.php
```1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/211Améliorer la version texte des mails2018-02-19T09:08:18ZLuc DidryAméliorer la version texte des mailsRelatif au ticket #87.
Les mails en texte pur envoyés au créateur du sondage (et sans doute d'autres) sont sur une seule ligne, ce qui n'est pas très lisible.
Deux solutions :
- doubler chaque `\n` qui serait tout seul : ils sont effe...Relatif au ticket #87.
Les mails en texte pur envoyés au créateur du sondage (et sans doute d'autres) sont sur une seule ligne, ce qui n'est pas très lisible.
Deux solutions :
- doubler chaque `\n` qui serait tout seul : ils sont effectivement pris en compte comme des doubles sauts à la ligne (preuve : les mails de notification de vote). Nécessiterait de refaire les locales :frowning2:
- créer un texte spécialement destiné à l'envoi par mail en texte pur et l'utiliser avec la propriété `AltBody` de PHPMailer (cf la [doc](http://phpmailer.github.io/PHPMailer/classes/PHPMailer.html#property_AltBody))https://framagit.org/framasoft/framadate/framadate/-/issues/203Reporter les horaires : se limite aux choix dispos dans les dates2018-04-11T08:06:47ZDylannReporter les horaires : se limite aux choix dispos dans les datesC'est peut-être un choix qui a été pris et non un bug, mais ce comportement est assez déroutant : Si mon premier jour à 8 choix, et les autres que 3 (cas par défaut), la fonction "reporter les horaires) ne va me reporter que les 3 premie...C'est peut-être un choix qui a été pris et non un bug, mais ce comportement est assez déroutant : Si mon premier jour à 8 choix, et les autres que 3 (cas par défaut), la fonction "reporter les horaires) ne va me reporter que les 3 premiers horaires.
### Comment reproduire
1. Aller à l'étape 2 du sondage
2. Ajouter / Renseigner au moins 4 choix pour le premier jour
3. Cliquer sur "reporter les horaires"
#### Résultat observé
Les lignes 2 et 3 ne contiennent que les 3 premiers choix d'horaire
#### Résultat attendu
Les lignes 2 et 3 devraient contenir les même X choix que la première ligne
Idem si on a déjà saisi des choix d'horaires pour les lignes suivantes (ex: 4 choix renseignés pour la ligne 2) et qu'on en a moins dans la première ligne (ex : que 2 choix pour le premier jour) : la fonctionnalité devrait supprimer les N+2 choix de chaque ligne. (en demandant une confirmation si elle détecte que des choix renseignés vont être supprimé ?)1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/183Imprimer un sondage de grande taille2018-03-22T10:40:40ZAyMImprimer un sondage de grande tailleSeule la partie visible du tableau est imprimée.
Il faudrait trouver une solution pour paginer l'affichage des résultatsSeule la partie visible du tableau est imprimée.
Il faudrait trouver une solution pour paginer l'affichage des résultats1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/240Mauvais texte pour l'ajout de mot de passe.2018-02-20T18:32:26ZlayusMauvais texte pour l'ajout de mot de passe.Pour ajouter un mot de passe à un sondage existant, il suffit d'entrer un mot de passe.
La case à cocher "Les résultats sont visibles" est inutile, qu'elle soit cochée ou non, le mot de passe est ajouté. De même, pour retirer le mot de p...Pour ajouter un mot de passe à un sondage existant, il suffit d'entrer un mot de passe.
La case à cocher "Les résultats sont visibles" est inutile, qu'elle soit cochée ou non, le mot de passe est ajouté. De même, pour retirer le mot de passe, il faut cocher la case "supprimer le mot de passe, et la case "Les résultats sont visibles" est tout autant inutile.
Plus généralement, la variable `results_publicly_visible` semble ne pas être bien enregistrée ou mal utilisée par le code.
Le code lui-même porte à confusion puisqu'il parle de `$poll->results_publicly_visible` pour les mots de passe, et de `$poll->hidden` pour l'affichage des résultats aux utilisateurs.
Pour simplifier l'application, on peut se contenter de protéger l'accès par un mot de passe, ou non. Sans mot de passe, le sondage est en libre accès. Gérer le cas d'un mot de passe existant tout en gardant le sondage publiquement accessible semble inutile et complique le code.
Pointeurs:
https://framagit.org/framasoft/framadate/blob/master/tpl/part/poll_info.tpl#L158
https://framagit.org/framasoft/framadate/blob/master/adminstuds.php#L1511.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/152Affichage dans l'export CSV2018-02-19T09:19:14ZSystème LibreAffichage dans l'export CSVPour le caractères " j'ai " à la place dans le CSV, c'est pas top, je ne sais pas si c'est changeable.
Pour le caractères " j'ai " à la place dans le CSV, c'est pas top, je ne sais pas si c'est changeable.
https://framagit.org/framasoft/framadate/framadate/-/issues/84Custom logo doesn't display properly with IE112017-09-25T08:49:22ZPierre-Yves GossetCustom logo doesn't display properly with IE11Received by email.
Seems that on a dedicated installation of Framadate, custom logo (on top of the page) is oversized under IE 11.
========
we just started using Framadate and really like it so far. Great alternative to Doodle.
...Received by email.
Seems that on a dedicated installation of Framadate, custom logo (on top of the page) is oversized under IE 11.
========
we just started using Framadate and really like it so far. Great alternative to Doodle.
But sadly, in IE11, it doesn't look so well. The two graphics in the start page are huge, and when you click one to start a poll, the input fields are stretched over the whole width.
Seems like a CSS issue or something like that.
It has been reported from several users.
===========https://framagit.org/framasoft/framadate/framadate/-/issues/75Supprimer le / final dans l'url2017-09-25T08:49:22ZAyMSupprimer le / final dans l'urlEn mode réécriture d'url, après plusieurs transferts de mail il peut y avoir un / rajouté à la fin de l'url du sondage par les différents webmails.
Le sondage n'est donc plus accessible aux sondés sur ces liens là.
Ça se règle facile...En mode réécriture d'url, après plusieurs transferts de mail il peut y avoir un / rajouté à la fin de l'url du sondage par les différents webmails.
Le sondage n'est donc plus accessible aux sondés sur ces liens là.
Ça se règle facilement en ajoutant une redirection dans la config serveur mais ce serait bien que le cas soit directement géré par Framadate.https://framagit.org/framasoft/framadate/framadate/-/issues/70Erreur d'url si le nom du site commence par admin2018-02-19T09:23:26ZAyMErreur d'url si le nom du site commence par adminDemande de [nethenic](https://github.com/nethenic) sur Github :
> Bonjour ! Super fork, j'adore :)
> Petit problème cependant, si l'url du site est admin.exemple.fr alors la règle présente dans bandeaux.php str_replace('/admin','', Ut...Demande de [nethenic](https://github.com/nethenic) sur Github :
> Bonjour ! Super fork, j'adore :)
> Petit problème cependant, si l'url du site est admin.exemple.fr alors la règle présente dans bandeaux.php str_replace('/admin','', Utils::get_server_name()) cause problème puisque l'url devient /.exemple.fr/ (ou un truc dans le genre).
>
> J'avoue je n'ai pas de solution toute faite à proposer (il faudrait que je chercher d'abord la raison du str_replace) et le problème est certes mineur et circonscrit à ce cas précis, mais je voulais le signaler.
https://framagit.org/framasoft/framadate/framadate/-/issues/128Scroll intempestif lors du remplissage2018-03-22T10:07:52ZMichel BlancardScroll intempestif lors du remplissageSur un poll de type date avec beaucoup de réponses possibles, il y a une scrollbar horizontale.
Dans le cas où la scrollbar n'est ni à l'extrême gauche, ni à l'extrême droite (pas en "butée"), lors d'une modification d'une réponse du so...Sur un poll de type date avec beaucoup de réponses possibles, il y a une scrollbar horizontale.
Dans le cas où la scrollbar n'est ni à l'extrême gauche, ni à l'extrême droite (pas en "butée"), lors d'une modification d'une réponse du sondage, la scrollbar se déplace à l'extrême droite. La réponse est bien enregistrée.
J'ai constaté ce bug avec le navigateur Chromium Version 47.0.2526.73 Ubuntu 14.04 (64-bit)1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/126Problème d'encodage dans les mails2024-02-24T18:15:52ZAyMProblème d'encodage dans les mailsCertains caractères sont affichés comme des entités html et sont mal interprétés notamment dans le sujet du mail : les accents (é à è ù ; pas chez moi mais signalé sur contact.framasoft.org), @, !, /, ?, %, etc.
> [Framadate][Réservé ...Certains caractères sont affichés comme des entités html et sont mal interprétés notamment dans le sujet du mail : les accents (é à è ù ; pas chez moi mais signalé sur contact.framasoft.org), @, !, /, ?, %, etc.
> [Framadate][Réservé à l'auteur] Sondage: Test & à ê ù é è @ ç î ! ? % /1.1.11https://framagit.org/framasoft/framadate/framadate/-/issues/96Erreur de chargement de fichier2018-03-22T10:57:29ZAyMErreur de chargement de fichier`open() "/js/locales/bootstrap-datepicker.en.js" failed (2: No such file or directory)``open() "/js/locales/bootstrap-datepicker.en.js" failed (2: No such file or directory)`https://framagit.org/framasoft/framadate/framadate/-/issues/95Notices undefined offset2018-03-22T10:57:54ZAyMNotices undefined offsetDans le tpl_c de *.studs.tpl ça correspond à ces lignes :
`<td class="bg-danger text-danger" headers="M<?php echo $_smarty_tpl->tpl_vars['headersM']->value[$_smarty_tpl->tpl_vars['k']->value];?>
D<?php echo $_smarty_tpl->tpl_vars['hea...Dans le tpl_c de *.studs.tpl ça correspond à ces lignes :
`<td class="bg-danger text-danger" headers="M<?php echo $_smarty_tpl->tpl_vars['headersM']->value[$_smarty_tpl->tpl_vars['k']->value];?>
D<?php echo $_smarty_tpl->tpl_vars['headersD']->value[$_smarty_tpl->tpl_vars['k']->value];?>`
A priori ça concerne vote_table_date.tpl1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/250dutch locales encoding issue2019-06-05T07:18:32Zspfdutch locales encoding issueWhen you turn your date in dutch, you have this:
![image](/uploads/3cc06a511d3f8742f78a345f65338914/image.png)
Expected something like that:
![image](/uploads/4a7c97e85be17ea56bafbcef4a64702a/image.png)When you turn your date in dutch, you have this:
![image](/uploads/3cc06a511d3f8742f78a345f65338914/image.png)
Expected something like that:
![image](/uploads/4a7c97e85be17ea56bafbcef4a64702a/image.png)https://framagit.org/framasoft/framadate/framadate/-/issues/252Year 2018 is seen as -0001 in the expiration date2018-02-18T22:24:57ZSolarusYear 2018 is seen as -0001 in the expiration dateHi everyone.
There must be a problem with timestamp because 2018 is displayed as -0001 in the expiration date.
Other dates are working properly.
[opensondage](/uploads/557011c103109119ef082d547ed16c96/opensondage.png)
Thanks for your h...Hi everyone.
There must be a problem with timestamp because 2018 is displayed as -0001 in the expiration date.
Other dates are working properly.
[opensondage](/uploads/557011c103109119ef082d547ed16c96/opensondage.png)
Thanks for your help.!https://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.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/262Don't require SMTP to create a poll2018-04-24T17:39:38ZThomasthomas.citharel@framasoft.orgDon't require SMTP to create a pollIn local env since it fails to connect it just throws an error
```
[Mon Feb 19 10:56:41 2018] PHP Fatal error: Uncaught phpmailerException: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting in /home/tci...In local env since it fails to connect it just throws an error
```
[Mon Feb 19 10:56:41 2018] PHP Fatal error: Uncaught phpmailerException: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting in /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php:1543
Stack trace:
#0 /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php(1337): PHPMailer->smtpSend('Date: Mon, 19 F...', 'This is a multi...')
#1 /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php(1215): PHPMailer->postSend()
#2 /home/tcit/dev/framadate/app/classes/Framadate/Services/MailService.php(53): PHPMailer->send()
#3 /home/tcit/dev/framadate/create_date_poll.php(224): Framadate\Services\MailService->send('email@domain.tld', '[Framadate][R\xC3\xA9...', 'Ce message ne d...')
#4 {main}
thrown in /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php on line 1543
[Mon Feb 19 10:56:41 2018] ::1:40444 [500]: /create_date_poll.php - Uncaught phpmailerException: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting in /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php:1543
Stack trace:
#0 /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php(1337): PHPMailer->smtpSend('Date: Mon, 19 F...', 'This is a multi...')
#1 /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php(1215): PHPMailer->postSend()
#2 /home/tcit/dev/framadate/app/classes/Framadate/Services/MailService.php(53): PHPMailer->send()
#3 /home/tcit/dev/framadate/create_date_poll.php(224): Framadate\Services\MailService->send('email@domain.tld', '[Framadate][R\xC3\xA9...', 'Ce message ne d...')
#4 {main}
thrown in /home/tcit/dev/framadate/vendor/phpmailer/phpmailer/class.phpmailer.php on line 1543
```1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/279Can't load datepicker locale2018-03-22T10:04:14ZPierre RudloffCan't load datepicker localeWhen the locale is not selected manually by the user, it uses the value from the HTTP `Accept-Language` header.
The problem is that it then tries to load `http://localhost/framadate/js/locales/bootstrap-datepicker.fr_FR.js` (instead of `...When the locale is not selected manually by the user, it uses the value from the HTTP `Accept-Language` header.
The problem is that it then tries to load `http://localhost/framadate/js/locales/bootstrap-datepicker.fr_FR.js` (instead of `bootstrap-datepicker.fr.js`).
One solution might be to check if `bootstrap-datepicker.fr_FR.js` exists and if not try `bootstrap-datepicker.fr.js` instead.
Always truncating the locale is not an option because some locales do use the long form (e.g. `bootstrap-datepicker.nl-BE.js`).
(There is also the issue of `-` vs. `_` but this will be fixed by https://framagit.org/framasoft/framadate/merge_requests/239.)1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/280Default locale is en2018-03-21T13:20:44ZThomasthomas.citharel@framasoft.orgDefault locale is enCheck why the default locale is `en` though it's configured properly inside `config.php`.Check why the default locale is `en` though it's configured properly inside `config.php`.1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/290Report values previously entered inside form when on error2018-03-29T10:56:10ZThomasthomas.citharel@framasoft.orgReport values previously entered inside form when on error- [ ] checkbox limitation of number of votes
- [ ] number of votes input- [ ] checkbox limitation of number of votes
- [ ] number of votes input1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/291Custom named polls don't work2018-06-25T18:13:54ZThomasthomas.citharel@framasoft.orgCustom named polls don't work1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/292Fix ifneedbe checkbox2018-03-29T11:07:56ZThomasthomas.citharel@framasoft.orgFix ifneedbe checkboxhttps://screenshots.firefox.com/opvGhF3JrCI2SVCR/beta.framadate.org
https://screenshots.firefox.com/1SlKStwUr1xvGUEY/beta.framadate.orghttps://screenshots.firefox.com/opvGhF3JrCI2SVCR/beta.framadate.org
https://screenshots.firefox.com/1SlKStwUr1xvGUEY/beta.framadate.org1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/293Fix error 414 - request URI too large when deleting long column name2021-09-30T10:50:32ZThomasthomas.citharel@framasoft.orgFix error 414 - request URI too large when deleting long column nameThis requires using the id of the choice and no longer it's value (why was it like that in the first place /o\ !)This requires using the id of the choice and no longer it's value (why was it like that in the first place /o\ !)1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/296Limit number of caracters for username in comments section2018-03-29T09:04:09ZThomasthomas.citharel@framasoft.orgLimit number of caracters for username in comments sectionThe database field is limited to 64 caracters, let's do the same with the fieldThe database field is limited to 64 caracters, let's do the same with the field1.1.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/302Laisser le commentaire rempli en cas d'erreur de nom2018-04-19T13:21:55ZMathieuLaisser le commentaire rempli en cas d'erreur de nomC'est dans le même ordre d'idée que le soucis suivant : https://framagit.org/framasoft/framadate/issues/194
Quand un commentaire est saisi avec un nom erroné, le commentaire s'efface. Comme il s'agit d'aide à la saisie, je pense qu'on p...C'est dans le même ordre d'idée que le soucis suivant : https://framagit.org/framasoft/framadate/issues/194
Quand un commentaire est saisi avec un nom erroné, le commentaire s'efface. Comme il s'agit d'aide à la saisie, je pense qu'on peut régler cela en JavaScript.1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/317Requête externe depuis l'éditeur markdown avancé2018-04-15T10:26:34ZRomain DessortRequête externe depuis l'éditeur markdown avancéL'éditeur markdown avancé pour la création des sondages (simplemde) fait une requête externe sur https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css pour Font Awesome.
[Il semble être possible](https://github.com...L'éditeur markdown avancé pour la création des sondages (simplemde) fait une requête externe sur https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css pour Font Awesome.
[Il semble être possible](https://github.com/sparksuite/simplemde-markdown-editor#configuration) de lui dire de ne pas le faire si le css est déjà présent localement.
Ça semble lié à cette issue #264 mais comme elle est assez générique j'ai ouvert celle-ci. N'hésite pas à la fermer si elle fait doublon.Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/318error on date poll creation2018-04-19T12:21:05ZMathieuerror on date poll creationquand on accède à l'URL `create_date_poll.php` en dehors des étapes "normales", un objet incorrect est mis dans `$_SESSION['form']` ce qui bloque la création de sondage.quand on accède à l'URL `create_date_poll.php` en dehors des étapes "normales", un objet incorrect est mis dans `$_SESSION['form']` ce qui bloque la création de sondage.1.2.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/322Better handle undefined config values2018-07-09T09:02:17ZMathieuBetter handle undefined config valuessuite à la fusion de la branche `fork-awesome` (!300), j'ai une erreur "undefined index" puisqu'il manque `provide_fork_awesome` dans mon fichier config.php.
est ce qu'on gère ce cas où les utilisateurs mettent à jour ?
ensuite, cette...suite à la fusion de la branche `fork-awesome` (!300), j'ai une erreur "undefined index" puisqu'il manque `provide_fork_awesome` dans mon fichier config.php.
est ce qu'on gère ce cas où les utilisateurs mettent à jour ?
ensuite, cette clé `provide_fork_awesome` a été ajouté dans `app/inc/config.template.php` mais est ce que ce fichier est encore utilisé ? de souvenir c'est le fichier `tpl/admin/config.tpl` qui est utilisé par le système d'installation.1.1.5https://framagit.org/framasoft/framadate/framadate/-/issues/330Undefined property: stdClass::$valuemax2019-09-09T15:08:16ZThomasthomas.citharel@framasoft.orgUndefined property: stdClass::$valuemaxAdd some coherence `valuemax` -> `valueMax`.Add some coherence `valuemax` -> `valueMax`.1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/331Don't push translations if json is invalid2018-05-28T08:04:29ZThomasthomas.citharel@framasoft.orgDon't push translations if json is invalidIf we have an invalid json file (say a comma leftover from a merge), json2po converts it to empty file and zanata pushes it, leading in all strings being destroyed on zanata :see\_no\_evil:
A security can be added by doing:
```bash
pyt...If we have an invalid json file (say a comma leftover from a merge), json2po converts it to empty file and zanata pushes it, leading in all strings being destroyed on zanata :see\_no\_evil:
A security can be added by doing:
```bash
python -m json.tool < locale/en.json &&
```
inside the `locales` section of the makefile before the json2po call.
@luc any better idea ?1.2.0Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/335Message trompeur dans l'étape 3 de création d'un sondage2019-07-02T10:17:10ZClermontéMessage trompeur dans l'étape 3 de création d'un sondageÀ la création d'un sondage, dans l'étape 3, des information sur l'archivage sont données :
> « Votre sondage sera automatiquement archivé 180 jours après le dernier jour de votre sondage. »
**Problème :** c'est faux. La date d'archiv...À la création d'un sondage, dans l'étape 3, des information sur l'archivage sont données :
> « Votre sondage sera automatiquement archivé 180 jours après le dernier jour de votre sondage. »
**Problème :** c'est faux. La date d'archivage/expiration du sondage est par défaut 180 jours après la date de création (la date du moment).
Fichier PollService.php :
```
/**
* @return int The max timestamp allowed for expiry date
*/
public function maxExpiryDate() {
global $config;
return time() + (86400 * $config['default_poll_duration']);
}
```
**Suggestions :**
- reformuler le message pour préciser ;
- ajouter la différence entre archiver, expiration et suppression ;
- donner une information sur la date de suppression (contrainte RGPD) ;
- faire pareil en anglais.1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/336Absence de contrôle de la date d'expiration en modification de sondage2022-04-20T10:59:03ZClermontéAbsence de contrôle de la date d'expiration en modification de sondageLors de la création du sondage, le code teste la date saisie par rapport à un minimum et un maximum. Dans create_classic_poll.php, ligne 72 :
```
if ($time < $min_expiry_time) {
$_SESSION['form']->end_date = $min_e...Lors de la création du sondage, le code teste la date saisie par rapport à un minimum et un maximum. Dans create_classic_poll.php, ligne 72 :
```
if ($time < $min_expiry_time) {
$_SESSION['form']->end_date = $min_expiry_time;
} elseif ($max_expiry_time < $time) {
$_SESSION['form']->end_date = $max_expiry_time;
} else {
$_SESSION['form']->end_date = $time;
}
```
Lors de la modification de la date d'expiration après que le sondage soit créé, il n'y a plus ce test. Dans app/classes/Framadate/Service/AdminPollService.php, ligne 37 :
```
function updatePoll($poll) {
global $config;
if ($poll->end_date > $poll->creation_date) {
return $this->pollRepository->update($poll);
} else {
return false;
}
}
```
**Problèmes :**
a) possibilité de mettre une date dans un futur lointain, très lointain… (voir ci-dessus : `if ($poll->end_date > $poll->creation_date) {`) ;
b) possibilité de mettre une date passée alors que factuellement des votes ont pu avoir lieu après cette date.
**Suggestions :**
1) modifier le code pour renforcer le test ;
2) mutualiser le code de test entre create_classic_poll.php, create_date_poll.php et AdminPollService.php.1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/343Make sure config.php has correct permissions2021-09-30T10:52:34ZThomasthomas.citharel@framasoft.orgMake sure config.php has correct permissionsSo that external attackers don't get to see database credentials.So that external attackers don't get to see database credentials.1.2.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/345Comments not working on release 1.1.42018-07-09T13:56:24ZThomasthomas.citharel@framasoft.orgComments not working on release 1.1.4*This issue was originally at https://github.com/framasoft/framadate/issues/69*
Someone achieve to make comments working ?
When I click on submit nothing happens and no error in script..
The rest is ok ;)
Example url : https://coopeco-...*This issue was originally at https://github.com/framasoft/framadate/issues/69*
Someone achieve to make comments working ?
When I click on submit nothing happens and no error in script..
The rest is ok ;)
Example url : https://coopeco-supermarche.be/framadate/studs.php?poll=WvYNfXwuS6r4jEKm&user=Nicolas%20Jourdain&id=189
Have a nice dayhttps://framagit.org/framasoft/framadate/framadate/-/issues/352XSS security issue2018-07-09T09:18:24ZThomasthomas.citharel@framasoft.orgXSS security issueReported by https://www.bof.nl
> Dear Security Team,
> I noticed Post based XSS vulnerability on kies.bof.nl. There is Poll creation functionality on the website Which is consists of 3 steps. Vulnerability on the 2nd step which is poll ...Reported by https://www.bof.nl
> Dear Security Team,
> I noticed Post based XSS vulnerability on kies.bof.nl. There is Poll creation functionality on the website Which is consists of 3 steps. Vulnerability on the 2nd step which is poll date section.Time field is vulnerable.
>
> Vulnerable url:
> https://kies.bof.nl/create_date_poll.php?type=date
>
> Vulnerable parameter:
> horaires2[]
>
> Payload:
> " onmouseover="alert(document.domain)" bad="
>
> Replication steps:
> 1. go to https://kies.bof.nl/create_date_poll.php?type=date
> 2. field 1st step and press "Go to Step 2" button
> 3. on the 2nd step , choose any date from the calendar.
> 4. type above payload to the time 1, time 2, time 3 field.
> 5. Press "Next" Button
> 6. On the 3rt step, Press "Back" Button
> 7. Move mouse over the time field.
> 8. Popup will be prompted with "kies.bof.nl"
>
> Security Impact:
> Session Hijacking, Redirection to the Malicious website and many more.1.1.5Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/357Framadate crashed on poll creation when PHPMailer send mail to localhost serv...2018-07-30T14:12:24ZChristian P. MOMONchristian.momon@devinsy.frFramadate crashed on poll creation when PHPMailer send mail to localhost server which is no TLS**Context**
* Framadate 1.1.7
* PHPMail 6.0.5
* local SMTP Server with NO TLS on Debian Stretch
* config.php :
* 'use_smtp' => true,
* 'smtp_options' => [
* 'host' => 'localhost',
* 'auth' => false,
* 'username' => '',
...**Context**
* Framadate 1.1.7
* PHPMail 6.0.5
* local SMTP Server with NO TLS on Debian Stretch
* config.php :
* 'use_smtp' => true,
* 'smtp_options' => [
* 'host' => 'localhost',
* 'auth' => false,
* 'username' => '',
* 'password' => '',
* 'secure' => false,
* 'port' => 25,
**Problem**
On last step of poll creation, Framadate crashed (empty page in browser) when sending mails.
Apache logs:
```
PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: SMTP Error: Could not connect to SMTP host. in /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php:1900
Stack trace:
#0 /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php(1725): PHPMailer\\PHPMailer\\PHPMailer->smtpConnect(Array)
#1 /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php(1481): PHPMailer\\PHPMailer\\PHPMailer->smtpSend('Date: Sun, 29 J...', 'This is a multi...')
#2 /var/www/date.chapril.org/vendor/phpmailer/phpmailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()
#3 /var/www/date.chapril.org/app/classes/Framadate/Services/MailService.php(58): PHPMailer\\PHPMailer\\PHPMailer->send()
#4 /var/www/date.chapril.org/create_date_poll.php(226): Framadate\\Services\\MailService->send('cmomon@april.or...', '[date.chapril][...', 'Ce message ne d...')
#5 {main}
th
```
Syslog:
```
Jul 29 15:30:07 lamp postfix/smtpd[32461]: connect from localhost[127.0.0.1]
Jul 29 15:30:07 lamp postfix/smtpd[32461]: lost connection after STARTTLS from localhost[127.0.0.1]
Jul 29 15:30:07 lamp postfix/smtpd[32461]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=1 commands=2
```
The problem seems to come from PHPMailer configuration.
Watching PHPMailer.php file at line 270:
```
/**
* Whether to enable TLS encryption automatically if a server supports it,
* even if `SMTPSecure` is not set to 'tls'.
* Be aware that in PHP >= 5.6 this requires that the server's certificates are valid.
*
* @var bool
*/
public $SMTPAutoTLS = true;
```
Watching PHPMailer.php file at line 1898:
```
//Automatically enable TLS encryption if:
// * it's not disabled
// * we have openssl extension
// * we are not already using SSL
// * the server offers STARTTLS
if ($this->SMTPAutoTLS and $sslext and 'ssl' != $secure and $this->smtp->getServerExt('STARTTLS')) {
$tls = true;
}
if ($tls) {
if (!$this->smtp->startTLS()) {
throw new Exception($this->lang('connect_host'));
}
// We must resend EHLO after TLS negotiation
$this->smtp->hello($hello);
}
```
So, the PHPMailer comments say that TLS is used if available, and so we hope/wait that it will work without TLS if it is not available. But the source code throws an exception if the TLS try failed. There is no alternative: TLS or throw. Why force TLS?
Is-it a PHPMailer bug???
The consequence is: **Framadate + SMTP localhost server + NO TLS => FAILED**.
**Suggestions**
First, open an issue on the PHPMailer project.
Second, add an option parameter in config.php file to make possible to set the `$mail->SMTPAutoTLS = false` in MailService.php file.
Currently, I have to modify the Framadate MailService.php file to force SMTPAutoTLS to false:
```
private function configureMailer(PHPMailer $mailer) {
$mailer->isSMTP();
$mailer->SMTPAutoTLS = false; // <-- Temporary fix from Cpm 2018-07-29
```https://framagit.org/framasoft/framadate/framadate/-/issues/369Template syntax error when creating a poll2018-09-11T13:51:42ZMarc KarassevTemplate syntax error when creating a pollError:
`Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/var/www/framadate/tpl/create_poll_step_3.tpl" on line 36 "<p>{__('Step 3', 'Once you have confirmed the creation of your poll, you will automatically be ...Error:
`Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:/var/www/framadate/tpl/create_poll_step_3.tpl" on line 36 "<p>{__('Step 3', 'Once you have confirmed the creation of your poll, you will automatically be redirected to the poll's administration page.')}</p>" - Unexpected "s", expected one of: "","" , ")" <-- thrown in /var/www/framadate/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 36`
Steps to reproduce:
- checkout ´develop´ branch
- run `docker-compose up`
- go to `localhost`
- create whatever poll type
- go to poll creation step 3https://framagit.org/framasoft/framadate/framadate/-/issues/371Mobile version damaged on develop2018-11-05T15:25:53ZMarc KarassevMobile version damaged on developI tried to open in my mobile browser my running framadate instance but got the following output:![Screenshot_20180912-175326_Firefox](/uploads/be2591b7635a5bad12fae88c29ce3c3e/Screenshot_20180912-175326_Firefox.jpg)
whereas the output i...I tried to open in my mobile browser my running framadate instance but got the following output:![Screenshot_20180912-175326_Firefox](/uploads/be2591b7635a5bad12fae88c29ce3c3e/Screenshot_20180912-175326_Firefox.jpg)
whereas the output is normal on my computer's browser.
I'm using Firefox for Android 62.0.1 and got the same problem with Chrome for Android.
Steps to reproduce:
- clone the repository
- checkout the `develop` branch
- run `docker-compose up`
- access from your mobile browser to your running instance
Am I missing something?1.2.0https://framagit.org/framasoft/framadate/framadate/-/issues/384Lors d'ajout de colonne, les virgules sont transformées en tiret dans le titre2019-04-15T13:16:50ZThierry MunozLors d'ajout de colonne, les virgules sont transformées en tiret dans le titreBonjour,
J'ai remarqué que lorsque je rajoute une colonne à un sondage existant (sondage classique), le texte initial a les virgules transformées en tirets. Ceci n'arrive pas lors de la création.
Voici par exemple le titre que j'insère ...Bonjour,
J'ai remarqué que lorsque je rajoute une colonne à un sondage existant (sondage classique), le texte initial a les virgules transformées en tirets. Ceci n'arrive pas lors de la création.
Voici par exemple le titre que j'insère : `[Samedi 17/11/2018 : Sortie 8, Lagrasse-Ribaute, 1/2 journée](https://ornaisonskayak.com/event/sortie-8-lagrasse-%e2%9e%aa-ribaute)`
Et voici ce qui apparaît :![Sélection_812](/uploads/de69dea95ca97b076fc9c1e264ce06f6/Sélection_812.png)
En rouge sont entourés les tirets qui auraient dû être des virgules.
Cordialement,
Thierryhttps://framagit.org/framasoft/framadate/framadate/-/issues/388Mail delivery without authentication and encryption not working2018-11-12T07:49:50Zmt7479Mail delivery without authentication and encryption not workingI have a local installation of postfix configured to relay mail.
I've modified my config like this:
```
'auth' => false, // Enable SMTP authentication
'username' => '', // SMTP usern...I have a local installation of postfix configured to relay mail.
I've modified my config like this:
```
'auth' => false, // Enable SMTP authentication
'username' => '', // SMTP username
'password' => '', // SMTP password
'secure' => false, // Enable encryption (false, tls or ssl)
'port' => 25,
```
but Framadate still tries to send the mail with encryption:
```
cat /var/log/mail.log
Nov 11 21:52:15 xxx postfix/smtpd[7125]: lost connection after STARTTLS from localhost[127.0.0.1]
Nov 11 21:52:15 xxx postfix/smtpd[7125]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=1 commands=2
```
I tried enclosing false in quotes without success.https://framagit.org/framasoft/framadate/framadate/-/issues/416Problème encodage mail de notification de suppression2019-04-16T11:16:09Zb_bProblème encodage mail de notification de suppressionSalut, dans la lignée de #126 & #375 il reste un problème d'encodage dans le mail envoyé à la personne qui a créé le sondage lors de la suppression de celui-ci, exemple avec le titre de sondage suivant `test accentué ÉÀÇÈéàçè` on obtient...Salut, dans la lignée de #126 & #375 il reste un problème d'encodage dans le mail envoyé à la personne qui a créé le sondage lors de la suppression de celui-ci, exemple avec le titre de sondage suivant `test accentué ÉÀÇÈéàçè` on obtient ceci dans le mail `Quelqu'un·e vient de supprimer votre sondage "test accentu� ��������".`
Je me demande s'il ne faudrait pas remplacer `Utils::htmlEscape($poll->title))` par `$poll->title` ici https://framagit.org/framasoft/framadate/framadate/blob/develop/app/classes/Framadate/Services/NotificationService.php#L73, vos avis ?https://framagit.org/framasoft/framadate/framadate/-/issues/420Encoding issues2019-04-16T10:01:46ZThomasthomas.citharel@framasoft.orgEncoding issuesList of issues
- https://framagit.org/framasoft/framadate/framadate/issues/416
- https://framagit.org/framasoft/framadate/framadate/issues/126
Maybe https://framagit.org/framasoft/framadate/framadate/issues/384List of issues
- https://framagit.org/framasoft/framadate/framadate/issues/416
- https://framagit.org/framasoft/framadate/framadate/issues/126
Maybe https://framagit.org/framasoft/framadate/framadate/issues/384https://framagit.org/framasoft/framadate/framadate/-/issues/426Navigation clavier sur le formulaire de vote2019-04-17T15:03:31ZAyMNavigation clavier sur le formulaire de voteLors du vote il n’est pas possible de sélectionner au clavier les boutons radio oui/no/si nécessaire parce que l’input par défaut n’est pas défini.
Ça fonctionne en revanche lorsque on modifie un vote existant.
Démo (observer le focus c...Lors du vote il n’est pas possible de sélectionner au clavier les boutons radio oui/no/si nécessaire parce que l’input par défaut n’est pas défini.
Ça fonctionne en revanche lorsque on modifie un vote existant.
Démo (observer le focus clavier lorsqu’il n’y a pas d’action à la souris) :
![framadate-keyboard-navigation](/uploads/24a68558a9ece42aa7108133c6b09da7/framadate-keyboard-navigation.gif)
Le bug a probablement été introduit lorsqu’il est devenu possible de ne pas sélectionner de choix (cases bleues vides).https://framagit.org/framasoft/framadate/framadate/-/issues/429When submitting a vote, an "Notice: Undefined property: stdClass::$uniqId in ...2019-04-18T13:58:47ZPierre de La MorinerieWhen submitting a vote, an "Notice: Undefined property: stdClass::$uniqId in Services/PollService.php on line 260" error occursThe vote is properly registered, but there is a nasty error message polluting the page.The vote is properly registered, but there is a nasty error message polluting the page.https://framagit.org/framasoft/framadate/framadate/-/issues/430When posting a Comment, the page is not reloaded2019-04-19T10:26:31ZPierre de La MorinerieWhen posting a Comment, the page is not reloaded1. Write a comment
2. Click on "Send comment"
3. Nothing happens. The page is not reloaded.
The comment is actually posted, but nothing shows it.1. Write a comment
2. Click on "Send comment"
3. Nothing happens. The page is not reloaded.
The comment is actually posted, but nothing shows it.https://framagit.org/framasoft/framadate/framadate/-/issues/431Handle poll end date properly2019-04-19T12:05:03ZThomasthomas.citharel@framasoft.orgHandle poll end date properly- [ ] Parse date correctly
- [ ] Use a [DateInterval](https://secure.php.net/manual/en/class.dateinterval.php)
The following discussion from !383 should be addressed:
- [ ] @tcit started a [discussion](https://framagit.org/framasoft/fr...- [ ] Parse date correctly
- [ ] Use a [DateInterval](https://secure.php.net/manual/en/class.dateinterval.php)
The following discussion from !383 should be addressed:
- [ ] @tcit started a [discussion](https://framagit.org/framasoft/framadate/framadate/merge_requests/383#note_401567):
> This way of handling dates is absolutely disgusting. 🤢https://framagit.org/framasoft/framadate/framadate/-/issues/436CSV export: non answered is reported as "No"2019-09-06T07:12:38ZJackDesBwaCSV export: non answered is reported as "No"CSV export do not differentiate between an negative answer and an absence of answer. This make it unpracticable to analyze the poll with these exported results.
Procedure to reproduce: Create a poll, add an incomplete line (some choices...CSV export do not differentiate between an negative answer and an absence of answer. This make it unpracticable to analyze the poll with these exported results.
Procedure to reproduce: Create a poll, add an incomplete line (some choices answered, some not answered), export as CSV
Observed: the dates/choices whose user has not answered are reported as "No"
Expected: these choices should be different than "No", for example "Not answered"
Version: Seen on framadate.org, 2019-05-12 (do not know which version it is)
Example: https://framadate.org/SF4ilvJp9G9WQJxo (valid until 2019-12-31)https://framagit.org/framasoft/framadate/framadate/-/issues/437Remove collect_users_mail in 1.1.x versions2020-12-14T17:03:02ZThomasthomas.citharel@framasoft.orgRemove collect_users_mail in 1.1.x versionsWrongly backported from https://framagit.org/framasoft/framadate/framadate/merge_requests/352
Gives
```
PHP Notice: Undefined property: Framadate\Form::$collect_users_mail
```Wrongly backported from https://framagit.org/framasoft/framadate/framadate/merge_requests/352
Gives
```
PHP Notice: Undefined property: Framadate\Form::$collect_users_mail
```1.1.11https://framagit.org/framasoft/framadate/framadate/-/issues/446Rephrase expiration poll step2019-07-02T10:17:07ZGhost UserRephrase expiration poll stepPlease add an option to *delete* polls instead of archiving them. Consider even making "delete" the default.
Currently polls are archived after some time - which means they stay "forever". But often polls don't need to be archived, esp....Please add an option to *delete* polls instead of archiving them. Consider even making "delete" the default.
Currently polls are archived after some time - which means they stay "forever". But often polls don't need to be archived, esp. those for scheduling an event. These can simply be delete after being closed.
Additionally, the GDPR requires a retention policy, which means: For those who are subject of GDPR there has to be an way to delete the poll.https://framagit.org/framasoft/framadate/framadate/-/issues/448PHPMailer crash after unsuccessful email dispatch2019-07-02T09:53:11ZCryptGoatPHPMailer crash after unsuccessful email dispatchOS: Debian 9
FramaDate ver: 1.1.10
The PHPMailer crashes and the poll cannot be created if an email address is used that PHPMailer/FramaDate cannot send a mail to (mail server response: "554 5.7.0 Reject, id=22658-03 - spam"). Moving on...OS: Debian 9
FramaDate ver: 1.1.10
The PHPMailer crashes and the poll cannot be created if an email address is used that PHPMailer/FramaDate cannot send a mail to (mail server response: "554 5.7.0 Reject, id=22658-03 - spam"). Moving on from step 3 during the poll creating process then results in a blank page with out error message (after "Removal date and confirmation (3 of 3)"). See attached log file.
[framasoft_bug_apache_error.log](/uploads/84eaf07b84143114733241c15f3c4839/framasoft_bug_apache_error.log)https://framagit.org/framasoft/framadate/framadate/-/issues/457Bad escapment of e-mail subject2023-03-13T09:11:07ZNils Van ZuijlenBad escapment of e-mail subjectThe date name is HTML-escaped in the mail subject.
For example, I received a message whose subject was
`[Framadate][Pour diffusion aux sondés] Sondage: R&eacute;union bureau BDI`
when it should have been
`[Framadate][Pour diffusion aux ...The date name is HTML-escaped in the mail subject.
For example, I received a message whose subject was
`[Framadate][Pour diffusion aux sondés] Sondage: Réunion bureau BDI`
when it should have been
`[Framadate][Pour diffusion aux sondés] Sondage: Réunion bureau BDI`1.1.20Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/465Translate unknown answer in produced CSV2021-12-21T09:55:59ZThomasthomas.citharel@framasoft.orgTranslate unknown answer in produced CSVThe following discussion from !413 should be addressed:
- [ ] @tcit started a [discussion](https://framagit.org/framasoft/framadate/framadate/merge_requests/413#note_468298):
> Needs to be translated as well (and typo fixed).The following discussion from !413 should be addressed:
- [ ] @tcit started a [discussion](https://framagit.org/framasoft/framadate/framadate/merge_requests/413#note_468298):
> Needs to be translated as well (and typo fixed).1.1.18https://framagit.org/framasoft/framadate/framadate/-/issues/474smtp use, error2020-02-05T15:41:00ZDavidsmtp use, errorBonjour,
Mon instance : https://sondage.retzien.fr tourne bien mais j'ai dû désactivé l'utilisation du SMTP. Parce que quand je l'active j'ai une erreur dans les logs :
```
[Thu Nov 21 20:38:00.817072 2019] [proxy_fcgi:error] [pid 475...Bonjour,
Mon instance : https://sondage.retzien.fr tourne bien mais j'ai dû désactivé l'utilisation du SMTP. Parce que quand je l'active j'ai une erreur dans les logs :
```
[Thu Nov 21 20:38:00.817072 2019] [proxy_fcgi:error] [pid 4750] [client 109.190.200.24:53602] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught PHPMailer\\PHPMailer\\Exception: SMTP Error: Could not connect to SMTP host. in /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php:1898\nStack trace:\n#0 /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php(1725): PHPMailer\\PHPMailer\\PHPMailer->smtpConnect(Array)\n#1 /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php(1481): PHPMailer\\PHPMailer\\PHPMailer->smtpSend('Date: Thu, 21 N...', 'This is a multi...')\n#2 /var/www/sondage/vendor/phpmailer/phpmailer/src/PHPMailer.php(1320): PHPMailer\\PHPMailer\\PHPMailer->postSend()\n#3 /var/www/sondage/app/classes/Framadate/Services/MailService.php(58): PHPMailer\\PHPMailer\\PHPMailer->send()\n#4 /var/www/sondage/create_date_poll.php(237): Framadate\\Services\\MailService->send('david@mercereau...', '[Sondage / Rend...', 'Ce message ne d...')\n#5 {main}\n thrown in /var/www/sondage/vendo...\n', referer: https://sondage.retzien.fr/create_date_poll.php
```
Cette erreur se produit à la dernière étape de la création du sondage (après ajout de la date d'expiration) sur la page create_date_poll.php.
Version framadate : 1.1.10
PHP : 7.0
Debian 9
Ma config :
```
$config = [
/* general config */
'use_smtp' => false, // use email for polls creation/modification/responses notification
'smtp_options' => [
'host' => 'localhost', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator
'auth' => false, // Enable SMTP authentication
'username' => '', // SMTP username
'password' => '', // SMTP password
'secure' => '', // Enable encryption (false, tls or ssl)
'port' => 25, // TCP port to connect to
],
```
Je précise que le serveur SMTP fonctionne bien sur le port 25... :
> telnet localhost 25
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> 220 srvweb.retzien.net ESMTP Postfix (Debian/GNU)
Est-ce que vous avez une idée qui me permettrai d'avancé ?
Belle journée,
David
P.S. J'ai testé avec la vesrion 1.2 mais sans plus de succès, je n'ai pas cette erreur mais je ne reçois aucun mail... rien dans les log de mails donc même pas une tentative de connexion... (et j'ai remarqué d'autres bug étrange dans la 1.2, certainement dû au côté Alpha...)https://framagit.org/framasoft/framadate/framadate/-/issues/486Fork i18n lib in 1.1.x to fix some issues2020-12-14T17:02:24ZThomasthomas.citharel@framasoft.orgFork i18n lib in 1.1.x to fix some issuesFork it here and patch things like https://github.com/olivierperez/o80-i18n/pull/8Fork it here and patch things like https://github.com/olivierperez/o80-i18n/pull/81.1.11https://framagit.org/framasoft/framadate/framadate/-/issues/492Missing input form in create_poll.php when using RemoteUser env var2020-01-30T17:52:51ZPatrickMissing input form in create_poll.php when using RemoteUser env varHello,
I use REMOTE_USER which is correctly set (LOG apache2 show this and a PHP test too) but create pool form is not displayed !
see attached screenshot : [framadate-REMOTE_USER](/uploads/093fce6544e6e53a3c6d79f1028de54f/framadate-...Hello,
I use REMOTE_USER which is correctly set (LOG apache2 show this and a PHP test too) but create pool form is not displayed !
see attached screenshot : [framadate-REMOTE_USER](/uploads/093fce6544e6e53a3c6d79f1028de54f/framadate-REMOTE_USER.PNG)
And I do not understand where env VAR REMOTE_USER is read in the source code, it's just tested once to check it exist, but I do not see anywhere it's used :
`create_poll.php:$useRemoteUser = USE_REMOTE_USER && isset($_SERVER['REMOTE_USER']);`
many thanks for your helphttps://framagit.org/framasoft/framadate/framadate/-/issues/532L'option "il n'est plus possible de voter" provoque une erreur 500 / Error 50...2021-03-08T17:53:39ZspfL'option "il n'est plus possible de voter" provoque une erreur 500 / Error 500 for "Votes and comments are locked"Pour reproduire :
1. créer un Framadate
1. changer l'option de vote pour **Il n'est plus possible de voter**
1. cliquer sur l'icône pour enregistrer le changement
1. erreur 500
Testé sur https://framadate.org/ et https://date.chapril.o...Pour reproduire :
1. créer un Framadate
1. changer l'option de vote pour **Il n'est plus possible de voter**
1. cliquer sur l'icône pour enregistrer le changement
1. erreur 500
Testé sur https://framadate.org/ et https://date.chapril.org/
---
Steps to reproduce:
1. create Framadate
1. change option to **Votes and comments are locked**
1. click icon to save
1. error 500
Tested on https://framadate.org/ and https://date.chapril.org/1.1.13https://framagit.org/framasoft/framadate/framadate/-/issues/536Emoji Support2022-10-17T04:43:04ZAndreas KosmowiczEmoji SupportHave you ever tried to enter emojis in your "name" field?
Actually I did try it. At least entering 1 emoji as my name led to a 500 on the system `https://nuudel.digitalcourage.de/`.
Might be a general issue in framadate?Have you ever tried to enter emojis in your "name" field?
Actually I did try it. At least entering 1 emoji as my name led to a 500 on the system `https://nuudel.digitalcourage.de/`.
Might be a general issue in framadate?https://framagit.org/framasoft/framadate/framadate/-/issues/546XSS in markdown parsing in /create_poll.php2021-03-23T02:17:33ZmartgilXSS in markdown parsing in /create_poll.phpThere was an XSS on the current version of the framadate.
Prerequisite:
A local installation of framadate instance is needed.
Markdown Payload :
```
[Click Me](http://onclick=setTimeout`prompt\u0028document.domain\u0029`//)
```
Steps...There was an XSS on the current version of the framadate.
Prerequisite:
A local installation of framadate instance is needed.
Markdown Payload :
```
[Click Me](http://onclick=setTimeout`prompt\u0028document.domain\u0029`//)
```
Steps to reproduce:
1. Visit https://localhost/create_poll.php?type=date
2. Enter payload above.
3. Click on the preview. Then click the text link.
4. Javascript will execute.
Ps; Many websites are suffering with this XSS. I have reach you guys so It could be fixed really soon as It was suggested to me by those websites that are affected.
```
Hey,
- First of all, the website is running open source software that is developed by others, we are just using it. To have the biggest impact with your report, I suggest you notify the developers directly. Their website is at <https://framadate.org/>, their development is done here <https://framagit.org/framasoft/framadate>. This way, your report would be processed at the source of all installations.
Thanks again
```
I hope this could be fixed soon;
Best,1.1.15https://framagit.org/framasoft/framadate/framadate/-/issues/553Creating Date Poll results in "white screen"2024-03-11T08:47:49Zkangaroo72Creating Date Poll results in "white screen"Dear all,
Apologize, but I'm not an expert with these things, but I would be very happy to get it back to work...
I'm running nginx 1.21 on Ubuntu 20.04LTS with PHP 8.0.5.
I can configure the poll, but when I confirm, nginx logs the foll...Dear all,
Apologize, but I'm not an expert with these things, but I would be very happy to get it back to work...
I'm running nginx 1.21 on Ubuntu 20.04LTS with PHP 8.0.5.
I can configure the poll, but when I confirm, nginx logs the following...
`2021/06/27 00:22:13 [error] 2725624#2725624: *12724 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Undefined constant "PHPMailer\PHPMailer\FILTER_FLAG_HOST_REQUIRED" in /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php:3599
Stack trace:
#0 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(3565): PHPMailer\PHPMailer\PHPMailer::isValidHost()
#1 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(2304): PHPMailer\PHPMailer\PHPMailer->serverHostname()
#2 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(1421): PHPMailer\PHPMailer\PHPMailer->createHeader()
#3 /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php(1316): PHPMailer\PHPMailer\PHPMailer->preSend()
#4 /var/www/framadate/app/classes/Framadate/Services/MailService.php(58): PHPMailer\PHPMailer\PHPMailer->send()
#5 /var/www/framadate/create_date_poll.php(239): Framadate\Services\MailService->send()
#6 {main}
thrown in /var/www/framadate/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 3599" while reading response header from upstream, client: 93.215.83.135, server: date.escher.cc, request: "POST /create_date_poll.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "date.escher.cc"`
Maybe someone can help me troubleshooting??
Thanks a lothttps://framagit.org/framasoft/framadate/framadate/-/issues/555erreur d'affichage d'images2022-05-12T21:47:38Zmatthieu3135erreur d'affichage d'images1. **Français**
Bonjour,
Actuellement nous utilisons (l'entreprise où je travaille) la dernière version stable (1.1.16). Après une série de test nous nous sommes aperçus d'un problème avec l'affichage des images dans les sondages cla...1. **Français**
Bonjour,
Actuellement nous utilisons (l'entreprise où je travaille) la dernière version stable (1.1.16). Après une série de test nous nous sommes aperçus d'un problème avec l'affichage des images dans les sondages classiques. Lorsqu'une image fait partie des choix, elle s'affiche dans les choix, mais pas lorsque l'on affiche le graphique ni les meilleurs choix.
![image](/uploads/f029336430195e760ed62d8ef6533ed0/image.png)
Je me permets aussi d'ajouter qu'il est possible de rajouter des choix depuis la page administrateur. cependant, seulement du texte peut être ajouté et non un url ou une image comme on le pouvait lors de la création du sondage.
Pouvez vous me dire comment régler ces deux problèmes, ou m'expliquer comment supprimer la possibilité de mettre un url et une image svp (le fait de supprimer ces options simplifierait le problème et serait plus sécuritaire car cela éviterait les accès depuis l'extérieur de l'entreprise)
Je vous remercie d'avance pour votre temps et votre considération
Matthieu
2. **English**
Hello,
Currently we (the company where I work) are using the latest stable version (1.1.16). After a series of tests we noticed a problem with the display of images in the classic polls. When an image is part of the choices, it is displayed in the choices, but not when displaying the graph or the top choices.
I would also like to add that it is possible to add choices from the admin page. However, only text can be added and not an url or an image as it was possible when creating the poll.
Could you explain me how to fix both points please? Or how to remove the possibility to use an image (or an URL) as a choice please?
Thank you in advance for your time and consideration
best regards,
Matthieuhttps://framagit.org/framasoft/framadate/framadate/-/issues/562use_sendmail = true gets ignored2021-10-20T17:37:31Zbavramoruse_sendmail = true gets ignoredI'm using parameter 'use_sendmail' => true in /app/inc/config.php og v.1.1.17 but the system ignores it and uses SMTP instead. In older versions it was working fine.I'm using parameter 'use_sendmail' => true in /app/inc/config.php og v.1.1.17 but the system ignores it and uses SMTP instead. In older versions it was working fine.https://framagit.org/framasoft/framadate/framadate/-/issues/571CSV export : some columns are empty2022-04-14T06:45:27ZMarc LangevinCSV export : some columns are emptyIf some choices contain comma(s), the CSV is messed up, because the values rows are correctly quoted, but not the first headers row.If some choices contain comma(s), the CSV is messed up, because the values rows are correctly quoted, but not the first headers row.1.1.20https://framagit.org/framasoft/framadate/framadate/-/issues/573Warning: Attempt to read property "value" on null2022-04-14T06:48:54ZHuidae ChoWarning: Attempt to read property "value" on nullI'm using Framadate 1.1.19.
When in the admin mode, viewing an old poll shows this warning at the bottom:
```
Warning: Attempt to read property "value" on null in /home/user/public_html/framadate/tpl_c/d115c226b0501afc289dde584cfc52ee5f...I'm using Framadate 1.1.19.
When in the admin mode, viewing an old poll shows this warning at the bottom:
```
Warning: Attempt to read property "value" on null in /home/user/public_html/framadate/tpl_c/d115c226b0501afc289dde584cfc52ee5f4bf799_0.file.comments_list.tpl.php on line 28
```
In line 27 of that file,
```php
<form action="<?php if ((isset($_smarty_tpl->tpl_vars['admin']->value))) {
```
`$_smarty_tpl->tpl_vars['admin']->value` is set (`isset()` true), but it is empty for some reason (`isset()` still true). **It can be set to a falsy value, so it shouldn't be enough to just check if it is set.** In line 28,
```php
echo smarty_function_poll_url(array('id'=>$_smarty_tpl->tpl_vars['admin_poll_id']->value,'admin'=>true),$_smarty_tpl);
```
`$_smarty_tpl->tpl_vars['admin_poll_id']` is not defined (null) and reading "value" on this null triggers the above warning.
## Version 1.1.10
In version 1.1.10, line 27 was
```php
<form action="<?php if ($_smarty_tpl->tpl_vars['admin']->value) {
```
so a set-but-empty `$_smarty_tpl->tpl_vars['admin']->value` was false and `$_smarty_tpl->tpl_vars['admin_poll_id']` was never evaluated.
## Probably
Line 27 was meant to be
```php
<form action="<?php if (isset($_smarty_tpl->tpl_vars['admin']->value) && $_smarty_tpl->tpl_vars['admin']->value) {
```
or even just like in version 1.1.10
```php
<form action="<?php if ($_smarty_tpl->tpl_vars['admin']->value) {
```1.1.20Thomasthomas.citharel@framasoft.orgThomasthomas.citharel@framasoft.orghttps://framagit.org/framasoft/framadate/framadate/-/issues/578Invalid localization of dates in Czech2022-04-28T10:34:03ZJakub FreywaldInvalid localization of dates in CzechI am using an English localization by default, but being situated in the Czech Republic, I have the option to switch to Czech.
I created some options in the timetable in English, but when I switched to Czech, the dates did not translate ...I am using an English localization by default, but being situated in the Czech Republic, I have the option to switch to Czech.
I created some options in the timetable in English, but when I switched to Czech, the dates did not translate properly. (see screenshots) Also month names did not translate at all.
![English](/uploads/519f4b84adfaae3451c6542e38a1e3bb/Screenshot_2022-04-28_at_12.20.15.png)
![Czech](/uploads/21a0391402030193cd1da26c20e9ad43/Screenshot_2022-04-28_at_12.20.52.png)1.1.20https://framagit.org/framasoft/framadate/framadate/-/issues/590Undefined array keys2022-09-26T16:18:16Zcdr60Undefined array keysThere is a lot of warning like this :
PHP Warning: Undefined array key "admin_poll_id" in
./tpl_c/_0920244f2281cd9bf30b37879f8cbde183ad42fa_0_________.file.comments_list.tpl.php on line 28
When would you fixe this ?
For information ...There is a lot of warning like this :
PHP Warning: Undefined array key "admin_poll_id" in
./tpl_c/_0920244f2281cd9bf30b37879f8cbde183ad42fa_0_________.file.comments_list.tpl.php on line 28
When would you fixe this ?
For information : I must use Php 8.1 because of other sites in other virtualhost and I don't want to use multiple php version
At least : where can I set log_error php value to False in framadate (without changing phph.ini)