framadate issueshttps://framagit.org/groups/framasoft/framadate/-/issues2020-10-24T02:25:29Zhttps://framagit.org/framasoft/framadate/framadate/-/issues/520uniqId is not populated when reading votes from PostgreSQL2020-10-24T02:25:29ZhaslersnuniqId is not populated when reading votes from PostgreSQLUnfortunately it seems like DBAL always creates lower case column names when using PostgreSQL, even if we supply capital letters. Therefore the `uniqId` column is actually created as `uniqid`. Consequently the `uniqId` property is not po...Unfortunately it seems like DBAL always creates lower case column names when using PostgreSQL, even if we supply capital letters. Therefore the `uniqId` column is actually created as `uniqid`. Consequently the `uniqId` property is not populated when reading votes from the DB in [VoteRepository.php line 17](https://framagit.org/framasoft/framadate/framadate/-/blob/bc964e87a7b41f12180ae9d9840d8cc233d8c4ff/app/classes/Framadate/Repositories/VoteRepository.php#L17).https://framagit.org/framasoft/framadate/framadate/-/issues/521csv export : values should be different for choices "red" and "grey"2020-10-30T10:20:30Zdivers_csv export : values should be different for choices "red" and "grey"In the csv export, the values are "Non" (french version) when the choise is "red" or "grey".
Values should be different.
Usage : data analysis, with distinctive computing when the user's choice is "red" or "grey".
I suggest the value t...In the csv export, the values are "Non" (french version) when the choise is "red" or "grey".
Values should be different.
Usage : data analysis, with distinctive computing when the user's choice is "red" or "grey".
I suggest the value to be :
- "?" when the choice is "grey"
- "Non" when the choice is "red"https://framagit.org/framasoft/framadate/framadate/-/issues/522APP_URL is not correctly handled when behind a reverse proxy with a different...2020-10-30T22:37:50ZYmageAPP_URL is not correctly handled when behind a reverse proxy with a different portFramadate is served on port 8080 with a reverse proxy exposing it on 80 or 443.
But APP_URL is handled only for domain name. Scheme and port are overridden.Framadate is served on port 8080 with a reverse proxy exposing it on 80 or 443.
But APP_URL is handled only for domain name. Scheme and port are overridden.https://framagit.org/framasoft/framadate/funky-framadate-front/-/issues/91The shared link on facebook messenger displayed an ugly logo2023-07-12T05:57:27ZRecontactThe shared link on facebook messenger displayed an ugly logoI think this error can be found everywhere we shared the framadate/front (Slack, Messenger)
![Capture_d_écran_2020-12-01_à_13.34.46](/uploads/6a6618713d280e5daf0dc598361bbdc0/Capture_d_écran_2020-12-01_à_13.34.46.png)I think this error can be found everywhere we shared the framadate/front (Slack, Messenger)
![Capture_d_écran_2020-12-01_à_13.34.46](/uploads/6a6618713d280e5daf0dc598361bbdc0/Capture_d_écran_2020-12-01_à_13.34.46.png)version 1 bêtahttps://framagit.org/framasoft/framadate/framadate/-/issues/523Framadate docker-compose issue: Prestissimo2020-12-07T11:24:38ZHenri CookFramadate docker-compose issue: Prestissimo# Problem
Trying to run `docker-compose up` from a fresh clone of the framadate `develop` branch I get this error at step 11:
```
Step 11/18 : RUN set -eux; composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progre...# Problem
Trying to run `docker-compose up` from a fresh clone of the framadate `develop` branch I get this error at step 11:
```
Step 11/18 : RUN set -eux; composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --classmap-authoritative; composer clear-cache
---> Running in cab9bbaa1556
+ composer global require hirak/prestissimo:^0.3 --prefer-dist --no-progress --no-suggest --classmap-authoritative
Changed current directory to /root/.composer
You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
[RuntimeException]
No composer.json present in the current directory, this may be the cause of the following exception.
[InvalidArgumentException]
Package hirak/prestissimo at version ^0.3 has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...
ERROR: Service 'framadate' failed to build: The command '/bin/sh -c set -eux; composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --classmap-authoritative; composer clear-cache' returned a non-zero code: 1
```
# Workaround
I investigated this and found that **prestissimo is unnecessary since the launch of composer 2**. So my 'workaround' was to change one thing in the `Dockerfile`:
`COPY --from=composer:latest /usr/bin/composer /usr/bin/composer`
to
`COPY --from=composer:1.10 /usr/bin/composer /usr/bin/composer`
Downgrading to composer 1.10
# Solution idea
Someone who knows PHP and composer better than me could remove the prestissimo dependency entirely and keep composer 2, which the community actually says results in faster builds: https://github.com/hirak/prestissimo/issues/233https://framagit.org/framasoft/framadate/framadate/-/issues/524Framadate docker-compose issue: PHP Version2020-12-07T11:24:38ZHenri CookFramadate docker-compose issue: PHP VersionThe framadate docker compose uses php:apache - which installs latest stable PHP.
I found that when I tried to create a poll all I got was a blank page after submitting the final step of the form.
# Workaround
Change `FROM php:apache`...The framadate docker compose uses php:apache - which installs latest stable PHP.
I found that when I tried to create a poll all I got was a blank page after submitting the final step of the form.
# Workaround
Change `FROM php:apache` in your Dockerfile to `FROM php:7-apache`
This is a workaround because it's bad to peg an app to an old version of PHP, but it fixes the problem.
# Solution idea
Figure out why this page crashes in php > 7 and fix ithttps://framagit.org/framasoft/framadate/framadate/-/issues/525Field 'id' doesn't have a default value2020-12-07T21:28:55ZTealkField 'id' doesn't have a default valueHello,
I currently get the following error message, where does it come from?
I use 1.1.10
```
2020/12/07 22:14:43 [error] 13229#13229: *605317 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000...Hello,
I currently get the following error message, where does it come from?
I use 1.1.10
```
2020/12/07 22:14:43 [error] 13229#13229: *605317 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value in /app/classes/Framadate/Repositories/SlotRepository.php:53
Stack trace:
#0 /app/classes/Framadate/Repositories/SlotRepository.php(53): PDOStatement->execute()
#1 /app/classes/Framadate/Services/PollService.php(153): Framadate\Repositories\SlotRepository->insertSlots()
#2 /create_date_poll.php(219): Framadate\Services\PollService->createPoll()
#3 {main}
thrown in /app/classes/Framadate/Repositories/SlotRepository.php on line 53" while reading response header from upstream, client: 93.212.26.45, server: DOMAIN, request: "POST /create_date_poll.php HTTP/2.0", upstream: "fastcgi://unix:/var/lib/fastcgi/1-anzah-DOMAIN-php-fpm.socket:", host: "DOMAIN", referrer: "https://DOMAIN/create_date_poll.php"
```https://framagit.org/framasoft/framadate/framadate/-/issues/526Missing Catalan language option after updating framadate.org2021-01-25T10:09:09ZJoan MontanéMissing Catalan language option after updating framadate.orgHi,
Some weeks ago Catalan was available at framadate.org, I have links to old created polls (currently at old.framadate.org) with Catalan, but if I go to framadate.org Catalan language option is missing today.
I guess framadate.org ha...Hi,
Some weeks ago Catalan was available at framadate.org, I have links to old created polls (currently at old.framadate.org) with Catalan, but if I go to framadate.org Catalan language option is missing today.
I guess framadate.org has been update some days ago. And Catalan language has gone.
Catalan is 100% translated at Weblate.
Please, check language options at current framadate.org deploying and add Catalan language.
More language can be affected.
Thanks,
Joan Montanéhttps://framagit.org/framasoft/framadate/framadate/-/issues/527Ajout de la possibilité qu'un votant s'inscrive uniquement dans une colonne2021-01-11T12:26:36ZLafricainAjout de la possibilité qu'un votant s'inscrive uniquement dans une colonneBonjour,
En ce moment nous utilisons (hélas) google form pour les inscriptions à une activité limité à 15 personnes. Je souhaiterais pouvoir le faire sur framadate. Il y a déjà la possibilité d'avoir plusieurs colonnes et c'est génial, c...Bonjour,
En ce moment nous utilisons (hélas) google form pour les inscriptions à une activité limité à 15 personnes. Je souhaiterais pouvoir le faire sur framadate. Il y a déjà la possibilité d'avoir plusieurs colonnes et c'est génial, ce qui manque c'est la possibilité qu'un votant ne puisse s'inscrire que dans une colonne pour ne pas prendre la place d'une autre personne.
Un autre truc qui serait bien c'est qu'en fasse de l'horaire on puisse ajouter un titre. Par exemple notre activité en question à lieu à deux endroits en même temps, à la même heure. IL y a des intervenants différents. Donc si on a une colonne avec titre:
11H: Chapiteau
11H: Grande salle
Merci!https://framagit.org/framasoft/framadate/framadate/-/issues/528Unable to install on postgres2021-03-08T17:41:35ZAndré JohanssonUnable to install on postgresUnable to install on ``PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit``
Error:
```
2021/01/14 23:14:26 [error] 66591#66591: *2220 FastCGI sent in stderr: "PHP message: PH...Unable to install on ``PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit``
Error:
```
2021/01/14 23:14:26 [error] 66591#66591: *2220 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to access array offset on value of type null in /var/www/<my domain>/vendor/o80/i18n/src/o80/i18n/JsonProvider.php on line$
Stack trace:
#0 /var/www/<my domain>/app/classes/Framadate/FramaDB.php(48): PDO->query()
#1 /var/www/<my domain>/admin/migration.php(61): Framadate\FramaDB->allTables()
#2 {main}
thrown in /var/www/<my domain>/app/classes/Framadate/FramaDB.php on line 48" while reading response header from upstream, client: 62.20.144.30, server: <my domain>, request: "GET /admin/migration.php HTTP/2.0", upstre$
```
Any ideas?https://framagit.org/framasoft/framadate/framadate/-/issues/529Typo in the wiki2021-01-21T17:21:33ZFerdinando TraversaTypo in the wiki[https://framagit.org/framasoft/framadate/framadate/-/wikis/translating](The Wikipage about translating) reports:
```
We recommend to not change files directly !
If you have changes to make, or adding a new language, head over to https:/...[https://framagit.org/framasoft/framadate/framadate/-/wikis/translating](The Wikipage about translating) reports:
```
We recommend to not change files directly !
If you have changes to make, or adding a new language, head over to https://trad.framasoft.orgproject/view/framadate (all is explained on the homepage).
```
with a wrong URL, which is https://trad.framasoft.orgproject/view/framadate instead of https://trad.framasoft.org/project/view/framadate (note the slash between org and project.https://framagit.org/framasoft/framadate/framadate/-/issues/530Erreur 500 - nom de l'auteur du sondage trop long2022-07-04T14:03:30ZLapineigeErreur 500 - nom de l'auteur du sondage trop longBonjour,
En essayant de créer un sondage, j'ai remarqué un problème qui génère une erreur 500 au moment de la confirmation (ou de l'édition) du sondage, si:
- le nom est trop long (environ >50 caractères)
- le nom contient une apostroph...Bonjour,
En essayant de créer un sondage, j'ai remarqué un problème qui génère une erreur 500 au moment de la confirmation (ou de l'édition) du sondage, si:
- le nom est trop long (environ >50 caractères)
- le nom contient une apostrophe
Je n'ai pas eu le temps de vérifier quel cas était problématique (désolé…), mon problème venait d'un nom long comportant une apostrophe.1.1.14https://framagit.org/framasoft/framadate/framadate/-/issues/531Backup-Issue with mysqldump??2021-01-26T08:45:32Zkangaroo72Backup-Issue with mysqldump??Hi,
I've upgraded hardware, made a backup with mysqldump and did the import also with mysqldump.
But my polls aren't visible.
Can someone help?
Cheers, TomHi,
I've upgraded hardware, made a backup with mysqldump and did the import also with mysqldump.
But my polls aren't visible.
Can someone help?
Cheers, Tomhttps://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/533Change "Vote under reserve" to a better translation2021-01-29T10:39:10ZspfChange "Vote under reserve" to a better translationIn english, **(✔️)** option hover is translated "Vote under reserve". It would be better to replace by: "If necessay", or "If required", "if need be"…In english, **(✔️)** option hover is translated "Vote under reserve". It would be better to replace by: "If necessay", or "If required", "if need be"…https://framagit.org/framasoft/framadate/framadate/-/issues/534Missing English translation key in email2021-02-03T14:45:59ZBenjamin BouvierMissing English translation key in emailThe email title was `[Framadate][[missing key: Mail.Participant link]] Poll: XXX`. The content started with `This is the message to forward to the poll participants.`; this is the email that is to be forwarded to participants.The email title was `[Framadate][[missing key: Mail.Participant link]] Poll: XXX`. The content started with `This is the message to forward to the poll participants.`; this is the email that is to be forwarded to participants.https://framagit.org/framasoft/framadate/framadate/-/issues/535Sorting of Columns2022-12-23T09:14:30ZGhost UserSorting of ColumnsWhen adding a new time slot to a already created poll, the new column ends up at the last column of the the respective day. Instead the column should be placed according to the time it shows.
Actual behavior:
| 08:00 | 12:00 | 10:00
...When adding a new time slot to a already created poll, the new column ends up at the last column of the the respective day. Instead the column should be placed according to the time it shows.
Actual behavior:
| 08:00 | 12:00 | 10:00
| ------ | ------ |------|
| yes | no |yes|
| no | yes |maybe|
What it should look like:
| 08:00 | 10:00 | 12:00
| ------ | ------ |------|
| yes | yes |no|
| no | maybe |yes|https://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/537Missing translation key for Unknown (4th) vote option2021-02-11T09:03:45ZNícolas F. R. A. PradoMissing translation key for Unknown (4th) vote optionWhen hovering the mouse over the 4 different vote options in a poll, the last one, which is the default, the Unknown option, is always shown as "Ne pas se prononcer" independently of the chosen language.
I tried searching for that strin...When hovering the mouse over the 4 different vote options in a poll, the last one, which is the default, the Unknown option, is always shown as "Ne pas se prononcer" independently of the chosen language.
I tried searching for that string in the code but weirdly enough didn't find any match...
In any case, looking around the code, I noticed that [tpl/part/vote_table_date.tpl](https://framagit.org/framasoft/framadate/framadate/-/blob/develop/tpl/part/vote_table_date.tpl) declares the 4th option, sometimes called "hide" and other times "unknown", without a label with an appropriate translated string. For example, the "yes" option has (on line 137):
```
<label class="btn btn-default btn-xs" for="y-choice-{$k}" title="{t('Poll results', 'Vote "yes" for')|html} {$slots_raw[$k]}">
```
where the unknown option is the only one that doesn't have one. So I think that the fix would be to include something like that for the unknown option and then update the .po files to give an appropriate translation for the string in each language.
I'm still confused where that french string is coming from though...
I still didn't make these changes as I have no web knowledge and therefore am not sure that would be the right fix, and also because I wasn't sure how to test this locally afterwards. If I could get some pointers in the right direction I'd be happy to send a PR for it :).https://framagit.org/framasoft/framadate/framadate/-/issues/538HTTP error 500 when setting "Votes and comments are locked" for the poll2021-02-22T09:28:15ZMaxim FainbergHTTP error 500 when setting "Votes and comments are locked" for the pollI create a simple poll on https://framadate.org/
Try to set "Votes and comments are locked" on the admin page.
Every time error 500 Internal Server Error generated.
Other statuses can be saved normally.I create a simple poll on https://framadate.org/
Try to set "Votes and comments are locked" on the admin page.
Every time error 500 Internal Server Error generated.
Other statuses can be saved normally.