framadate issueshttps://framagit.org/groups/framasoft/framadate/-/issues2021-10-08T13:42:29Zhttps://framagit.org/framasoft/framadate/framadate/-/issues/158Feature request: Timezone handling2021-10-08T13:42:29ZmuppethFeature request: Timezone handlingI've noticed framadate does not change times according to different timezones. I'm sharing sometimes polls with people located in different timezones and it would be great if the times could be calculated according to users local timezon...I've noticed framadate does not change times according to different timezones. I'm sharing sometimes polls with people located in different timezones and it would be great if the times could be calculated according to users local timezone.
I see that times are treated as just variables since there is no strict way of adding them (contrary to dates).1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/178Mettre en place une API2022-09-07T11:29:38ZAyMMettre en place une APIPour créer des sondages sans avoir à passer par le site (voilà [ce que fait Doodle](http://support.doodle.com/customer/en/portal/articles/664212-doodle-wizard-api)) et en récupérer les résultats.
Ce serait utile pour faciliter l'intégra...Pour créer des sondages sans avoir à passer par le site (voilà [ce que fait Doodle](http://support.doodle.com/customer/en/portal/articles/664212-doodle-wizard-api)) et en récupérer les résultats.
Ce serait utile pour faciliter l'intégration dans un CMS, des applis mobiles, etc…2.0https://framagit.org/framasoft/framadate/framadate/-/issues/24Deactiver le choix « Oui, si nécessaire » quand ce n'est pas nécessaire2023-10-23T06:57:07ZsbernardDeactiver le choix « Oui, si nécessaire » quand ce n'est pas nécessaire#### French
pour certain sondage le « Oui, si nécessaire » n'est pas très nécessaire :grin:
ça serait cool, si on pouvait le déactiver au moment de la création du sondage.
#### English :flag\_gb:
While the "if necessary" option is q...#### French
pour certain sondage le « Oui, si nécessaire » n'est pas très nécessaire :grin:
ça serait cool, si on pouvait le déactiver au moment de la création du sondage.
#### English :flag\_gb:
While the "if necessary" option is quite useful in lots of cases, in my experience people use it to say "I think I can come, but I might not".
However, sometimes you need to chose a date and know precisely who will be there (if you need to make a reservation, for example).
I think it would be really useful if among the optional parameters of the poll, the "if necessary" option could be disabled.1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/445Make input of email optional2019-07-01T18:34:36ZCryptGoatMake input of email optionalIn general we want to allow our users to provide as little data as possible. Currently there seems to be no way to create a poll in Framadate without specifying an email address. As a workaround we encourage our users to use an invalid m...In general we want to allow our users to provide as little data as possible. Currently there seems to be no way to create a poll in Framadate without specifying an email address. As a workaround we encourage our users to use an invalid mail address (e.g. xyz@invalid) to circumvent the mandatory email input box and get the administration link of the new poll anyway.
Please consider implementing a setting which allows to setup Framadate in way that makes email input box entirely optional.https://framagit.org/framasoft/framadate/framadate/-/issues/403Voting layout on mobile2023-04-23T16:03:09ZThomasVoting layout on mobileWould it be possible to change the layout for mobile when voting. Currently, it's in an array that can't be scrolled.
Maybe a vertical layout would help?
For instance, this pull need to be moved in desktop view from mobile device: https:...Would it be possible to change the layout for mobile when voting. Currently, it's in an array that can't be scrolled.
Maybe a vertical layout would help?
For instance, this pull need to be moved in desktop view from mobile device: https://framadate.org/fedilab-logohttps://framagit.org/framasoft/framadate/framadate/-/issues/49Compatibilité mobile2019-04-17T15:46:58ZAyMCompatibilité mobileOn nous a signalé plusieurs problème de mise en page sur les mobiles notamment sur iPhone et un bug bizarre concernant le clavier qui disparaît quand on veut saisi son nom pour voter.
Sur FirefoxOS, la page n'est pas centrée et se ret...On nous a signalé plusieurs problème de mise en page sur les mobiles notamment sur iPhone et un bug bizarre concernant le clavier qui disparaît quand on veut saisi son nom pour voter.
Sur FirefoxOS, la page n'est pas centrée et se retrouve comprimée vers la gauche. C'est utilisable mais laborieux.https://framagit.org/framasoft/framadate/framadate/-/issues/86Ajout de plusieurs nouvelles colonnes2020-06-20T12:51:21ZOlivier FAURAXAjout de plusieurs nouvelles colonnesBonjour,
Il serait agréable de pouvoir ajouter plusieurs colonnes à la fois.
Par exemple, lorsqu'un choix de dates est en train de se faire, si les 2-3 premiers utilisateurs ne sont déjà par d'accord, il est utile de pouvoir ajouter qu...Bonjour,
Il serait agréable de pouvoir ajouter plusieurs colonnes à la fois.
Par exemple, lorsqu'un choix de dates est en train de se faire, si les 2-3 premiers utilisateurs ne sont déjà par d'accord, il est utile de pouvoir ajouter quelques nouvelles dates.
Pour l'instant, il faut les ajouter une par une.
Cela serait utile de pouvoir en ajouter plusieurs à la fois (ex: 3 ou 4).https://framagit.org/framasoft/framadate/framadate/-/issues/60Fixer le nombre de votes maximum sur une colonne2019-01-22T12:50:19ZAyMFixer le nombre de votes maximum sur une colonneAjouter une option pour bloquer les votes sur une colonne une fois un certain nombre atteint.Ajouter une option pour bloquer les votes sur une colonne une fois un certain nombre atteint.1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/38Collecter les adresses emails des sondés2023-09-18T09:03:19ZPierre-Yves GossetCollecter les adresses emails des sondésJe trouverai interessant d'avoir la possibilité pour l'administrateur d'un sondage de collecter les adresses mail des sondés (visibles *uniquement* sur le formulaire admin). Un peu comme le nom/pseudo, mais cachés au sondés, donc. Afin d...Je trouverai interessant d'avoir la possibilité pour l'administrateur d'un sondage de collecter les adresses mail des sondés (visibles *uniquement* sur le formulaire admin). Un peu comme le nom/pseudo, mais cachés au sondés, donc. Afin de faciliter la vie de l'administrateur en cloture de sondage : parfois, on envoie un sondage à 200 personnes. Et on ne souhaite recontacter que les 20 qui ont répondu "OK".
C'était à la base une demande de Mozilla.https://framagit.org/framasoft/framadate/framadate/-/issues/487Make available choices in poll configurable2020-07-02T08:31:33ZGhost UserMake available choices in poll configurableI would like to suggest the following enhancement:
Currently when creating the poll you can choose to have in the poll the choices "yes, no, maybe" or only "yes, no".
It would be great to offer even more flexibility to choose the ava...I would like to suggest the following enhancement:
Currently when creating the poll you can choose to have in the poll the choices "yes, no, maybe" or only "yes, no".
It would be great to offer even more flexibility to choose the available choices for a poll.
Enable the user to select, which of "yes", "no", "maybe" he wants.
Then the user could select only "yes" or only "no" or "yes, maybe", etc.https://framagit.org/framasoft/framadate/framadate/-/issues/241groupe d'étudiant en charge de traitement d'issue2018-07-20T07:48:28ZDAVID Titouangroupe d'étudiant en charge de traitement d'issueBonjour,
moi, Titouan DAVID, et Erwan TERTRAIS, tout deux étudiants à l'Université de Technologie de Compiègne, allons dans le cadre de notre cursus traiter des issues sur Framadate jusqu'en janvier.
Nous mettrons ici notre avancé, afi...Bonjour,
moi, Titouan DAVID, et Erwan TERTRAIS, tout deux étudiants à l'Université de Technologie de Compiègne, allons dans le cadre de notre cursus traiter des issues sur Framadate jusqu'en janvier.
Nous mettrons ici notre avancé, afin de communiquer avec les autres personnes travaillant aussi sur ce logiciel et partager information, remarque ou astuces pour pouvoir travailler dans les meilleurs conditions.
Ce travail ayant un but pédagogique, nous sommes ouvert à toutes suggestions concernant les corrections apportées, comme par exemple la nécessité d'ajout de commentaire supplémentaire.
Merci à toushttps://framagit.org/framasoft/framadate/framadate/-/issues/59Permettre à un *votant* de suivre l'évolution du sondage par mail2018-04-06T14:50:41ZAyMPermettre à un *votant* de suivre l'évolution du sondage par mail1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/48Garder les lignes d'entête et la colonne des noms visibles2019-04-17T15:12:34ZAyMGarder les lignes d'entête et la colonne des noms visiblesLorsque le tableau est très grand, il faut scroller horizontalement et on ne sait pas à quel nom correspondent les votes.
Même chose concernant l'entête du tableau lorsqu'il y a un très grand nombre de votant.
(attention à l'accessib...Lorsque le tableau est très grand, il faut scroller horizontalement et on ne sait pas à quel nom correspondent les votes.
Même chose concernant l'entête du tableau lorsqu'il y a un très grand nombre de votant.
(attention à l'accessibilité dans la solution à mettre en œuvre)
1.3.0https://framagit.org/framasoft/framadate/framadate/-/issues/510PollRepository: FindAll mising DateTime creating (Admin Polls)2020-10-24T03:32:40ZMaschinenraumPollRepository: FindAll mising DateTime creating (Admin Polls)When visiting the `/admin/polls.php` I receive the following error while displaying the first element. After the column `Expiry Date` nothing is displayed.
````php
Fatal error: Uncaught TypeError: Argument 1 passed to smarty_modifier_da...When visiting the `/admin/polls.php` I receive the following error while displaying the first element. After the column `Expiry Date` nothing is displayed.
````php
Fatal error: Uncaught TypeError: Argument 1 passed to smarty_modifier_date_format_intl() must be an instance of DateTime or null, string given, called in /var/www/framadate/tpl_c/d808313ab2d98debbca31f5e2b2afa66614bb293_0.file.polls.tpl.php on line 206 and defined in /var/www/framadate/app/inc/smarty.php:134 Stack trace: #0 /var/www/framadate/tpl_c/d808313ab2d98debbca31f5e2b2afa66614bb293_0.file.polls.tpl.php(206): smarty_modifier_date_format_intl('2020-10-12 19:4...', 'd/m/Y') #1 /var/www/framadate/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_354260935ebecf2c1fd233_67430546->callBlock(Object(Smarty_Internal_Template)) #2 /var/www/framadate/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_354260935ebecf2c1fd233_67430546), Object(Smarty_Internal_Template)) #3 /var/www/framadate/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inhe in /var/www/framadate/app/inc/smarty.php on line 134
````
My Database table `fd_poll` looks this. The current migration `20191111110000` is applied.
````
+----------------------------+--------------+------+-----+---------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------------------+--------------+------+-----+---------------------+-------+
| id | varchar(64) | NO | PRI | NULL | |
| admin_id | varchar(255) | NO | | NULL | |
| title | longtext | NO | | NULL | |
| description | longtext | YES | | NULL | |
| admin_name | varchar(255) | NO | | NULL | |
| admin_mail | varchar(255) | YES | | NULL | |
| creation_date | datetime | NO | | 2020-05-15 19:16:13 | |
| end_date | datetime | YES | | NULL | |
| format | varchar(255) | YES | | NULL | |
| editable | int(11) | NO | | 0 | |
| receiveNewVotes | tinyint(1) | NO | | 0 | |
| active | tinyint(1) | NO | | 1 | |
| receiveNewComments | tinyint(1) | NO | | 0 | |
| hidden | tinyint(1) | NO | | 0 | |
| password_hash | varchar(255) | YES | | NULL | |
| results_publicly_visible | tinyint(1) | YES | | NULL | |
| ValueMax | smallint(6) | YES | | NULL | |
| collect_users_mail | tinyint(1) | NO | | 0 | |
| collect_users_mail_integer | smallint(6) | NO | | 0 | |
| value_max | smallint(6) | YES | | NULL | |
+----------------------------+--------------+------+-----+---------------------+-------+
````
I tracked down the issue to following template
```smarty
{if $poll->end_date > date_create()}
<td>{$poll->end_date|date_format_intl:'d/m/Y'}</td>
{else}
<td><span class="text-danger">{$poll->end_date|date_format_intl:'d/m/Y'}</span></td>
{/if}
```
https://framagit.org/framasoft/framadate/framadate/-/blob/develop/tpl/admin/polls.tpl#L96-100
And the corresponding function:
```php
function date_format_intl(?DateTime $date, $pattern = DATE_FORMAT_FULL, $forceLocale = null) {
global $locale;
$local_locale = $forceLocale ?? $locale;
$date = $date ?? new DateTime();
$dateFormatter = IntlDateFormatter::create(
$local_locale,
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
date_default_timezone_get(),
IntlDateFormatter::GREGORIAN,
$pattern
);
return $dateFormatter->format($date);
}
```
https://framagit.org/framasoft/framadate/framadate/-/blob/develop/app/inc/i18n.php#L52
It seems like the Convertion from String to DateTime, which is done for `findById`, is missing for the `findAll` function:
```php
/**
* Hack to make date a proper DateTime
*/
$poll->creation_date = Type::getType(Type::DATETIME)->convertToPhpValue($poll->creation_date, $this->connect->getDatabasePlatform());
$poll->end_date = Type::getType(Type::DATETIME)->convertToPhpValue($poll->end_date, $this->connect->getDatabasePlatform());
```
https://framagit.org/framasoft/framadate/framadate/-/blob/develop/app/classes/Framadate/Repositories/PollRepository.php#L57
FindAll
https://framagit.org/framasoft/framadate/framadate/-/blob/develop/app/classes/Framadate/Repositories/PollRepository.php#L159
I suggest, that either the template is adjusted or the DateTime creation is done for all Items in the `findAll` function.
```php
// app/classes/Framadate/Repositories/PollRepository.php
205 $polls = $prepared->fetchAll();
206
207 foreach ($polls as &$poll) {
208 $poll->creation_date = Type::getType(Type::DATETIME)->convertToPhpValue($poll->creation_date, $this->connect->getDatabasePlatform());
209 $poll->end_date = Type::getType(Type::DATETIME)->convertToPhpValue($poll->end_date, $this->connect->getDatabasePlatform());
210 }
211
212 return $polls;
```https://framagit.org/framasoft/framadate/framadate/-/issues/502Option to clone or copy existing poll2020-04-14T22:10:34ZFedja BeaderOption to clone or copy existing poll... to share to a different set of people or to create a similar new poll on which the old answers make no sense any longer.
Or have I missed the option to do so? Thanks.... to share to a different set of people or to create a similar new poll on which the old answers make no sense any longer.
Or have I missed the option to do so? Thanks.https://framagit.org/framasoft/framadate/framadate/-/issues/501Limit each voter to select only 1 option2021-01-11T12:26:36ZIlario NocentiniLimit each voter to select only 1 optionHello,
would be great an option for limiting each voter to select only 1 timeslot. This is very useful in combination with the maximum votes per timeslot (set to 1) to allow people to select available slots for 1 to 1 meetings.
The fe...Hello,
would be great an option for limiting each voter to select only 1 timeslot. This is very useful in combination with the maximum votes per timeslot (set to 1) to allow people to select available slots for 1 to 1 meetings.
The feature is already implemented on https://terminplaner4.dfn.de/create_poll.php?type=date , that is clearly based on Framadate.
Is this available? Can be implemented somehow.
Merci!
![framadate_DFN](/uploads/fbe1c87083d2b24bcd1111fe30a2d945/framadate_DFN.png)https://framagit.org/framasoft/framadate/framadate/-/issues/469suggestion: allow for deleting options with least amount of votes2020-01-09T10:22:45ZSander Van Balensuggestion: allow for deleting options with least amount of votesWould be nice if the poll admin could delete all votes with less than x votes. Useful for polls with a large number of options. Once sufficiently many people have submitted their votes, the poll can probably be shrunk.Would be nice if the poll admin could delete all votes with less than x votes. Useful for polls with a large number of options. Once sufficiently many people have submitted their votes, the poll can probably be shrunk.https://framagit.org/framasoft/framadate/framadate/-/issues/463Weired subject in e-mail confirmation after poll creation2021-05-28T15:58:07ZMichiFrWeired subject in e-mail confirmation after poll creationHi!
I've just installed Framadate from Git on my local Raspberry Pi, according to the installation instructions, and noticed that when creating a **new poll**, I get a confirmation e-mail that has some weired subject.
It seems that thi...Hi!
I've just installed Framadate from Git on my local Raspberry Pi, according to the installation instructions, and noticed that when creating a **new poll**, I get a confirmation e-mail that has some weired subject.
It seems that this is a kind of placeholder which is not correctly filled: ...[[missing key: Mail.Participant link]]....
Please see attached image ![framadate_-_weired_subject](/uploads/fc3a15786b6868c449ad4f1e93933534/framadate_-_weired_subject.png)
This even happens with the admin e-mail confirmation which contains a differenct placeholder as above: ...[[missing key: Mail.Message for the author]] Umfrage: Test 4...
Michaelhttps://framagit.org/framasoft/framadate/framadate/-/issues/462framadate is unfair to early pollers, please hide poll results until person v...2020-11-20T10:43:04ZBrian RUSSELLframadate is unfair to early pollers, please hide poll results until person votes.Most internet polls do **not** show you results until you have already answered. Indeed, psychologists advise against showing results of polls to pollees, as knowledge of early results skews later results, sometimes in drastic ways. Even...Most internet polls do **not** show you results until you have already answered. Indeed, psychologists advise against showing results of polls to pollees, as knowledge of early results skews later results, sometimes in drastic ways. Even worse, the last pollers have an unfair advantage in easily spotting (and killing) a tie if they have a preference, by modifying how they would have responded. People who use the system often know that it is stacked against early voters, and this doesn't encourage timely response or honesty when it's this easy to "game" the system.
Framadate offers two options - 1) only the admin gets to see results, or 2) the pollers get to see everything even before answering the poll. This second kind of transparency is poor practice. Pollers should not see how others voted *before* voting themselves. At most, they should see the names of those who voted so they can avoid double voting by accident. Once they vote, then show results, or if they have come back a second time they can click a button down at the bottom that says. "i already voted, just show me the results" to bypass voting again.https://framagit.org/framasoft/framadate/framadate/-/issues/300SAML2 login configuration2018-03-29T11:56:21ZAidin FanniSAML2 login configurationIs it possible to implement login through SAML2? Possible lib to use would be simplesamlphpIs it possible to implement login through SAML2? Possible lib to use would be simplesamlphp1.3.0