framadate issueshttps://framagit.org/framasoft/framadate/framadate/-/issues2022-09-26T16:18:16Zhttps://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)https://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/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/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/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/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/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é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/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/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/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/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/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/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/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/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/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/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/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/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/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.