Commit Graph

20 Commits

Author SHA1 Message Date
Liquidsoul
aa61f40d51
Use Services factory everywhere to initialize variables 2019-04-19 20:37:35 +02:00
Thomas Citharel
bc964e87a7
[Big] Move displaying dates from libc to PHP-intl / ICU
* Make sure we always work only with DateTimes
* Support slots again under SQLite
* Small fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-19 20:29:32 +02:00
Paul B
9dd1a6ecf9
refacto: factorise code between date_poll and classic_poll creation
The last confirmation step during poll creation flow is identical
between date polls and classical polls.

This commit moves the code in the `PollService` to be used in both
creation poll controllers.
2019-04-19 15:52:28 +02:00
Cyril Roelandt
f626d29843 CSV export: add UTF-8 BOM header.
When exporting a poll to CSV, no BOM character is written. Most applications can
properly detect the required encoding, but some do not, and might find it
helpful to be able to read a BOM character.

--
Comment added 2019-04-16, nico@bou.io:

The issue is specifically with Excel that assumes Latin-1 by default, but switches to utf-8 if a BOM is present. On the other hand, LibreOffice and other apps seem to behave correctly with a BOM.
2019-04-16 11:32:42 +02:00
Luc Didry
6b3c5f0610
WIP Working on locales 2018-08-14 14:35:08 +02:00
Olivier PEREZ
73de6199fa Password protected polls cannot be exported 2016-10-06 22:42:57 +02:00
Olivier PEREZ
d980571a74 Disable export when results are invisibles 2016-10-06 21:13:01 +02:00
Olivier Perez
651289ec2d Merge branch 'bugfix/typo-in-comment-header' into 'develop'
Correcting comment typo in file header

Fix #190 

See merge request !144
2016-08-04 22:26:50 +02:00
Olivier PEREZ
44928b0572 Dont sort classic polls 2015-05-30 23:36:04 +02:00
Olivier PEREZ
cb0864f8fd Fix a lot of things 2015-05-29 18:11:12 +02:00
Olivier PEREZ
8b3eaac717 Fixes after merge 2015-04-07 23:17:26 +02:00
Olivier PEREZ
593d39c9cb Fix missing keys 2015-04-07 20:06:24 +02:00
Olivier PEREZ
547a186f60 Translate message 'This poll doesn't exist' 2015-02-02 21:00:42 +01:00
Olivier PEREZ
073bc9048d Admin: Fix the admin page 2015-01-06 23:52:52 +01:00
Olivier PEREZ
985842edf3 CSV Export: Implements export for classical polls 2015-01-03 19:06:03 +01:00
FramaJosephK
051575fa64 The big one 2014-10-21 01:31:26 +02:00
FramaJosephK
7f87858ff7 Mise à jour du dépôt avec la dernière version sur Github 2014-09-04 17:52:18 +02:00
FramaJosephK
67a9fa1e8b Accessibilité et ergonomie sur choix_date, adminstuds - remplacement bouton de langue par un select - Fix export CSV - découpage chaines de langue pour enlever le code html - Fix // et port dans get_server_name 2014-07-04 11:21:31 +02:00
Simon Leblanc
4f380d8f8d clean code (identation, if with {) 2011-05-15 03:56:54 +02:00
Simon Leblanc
475556c0e3 STUdS fork 2011-05-15 01:32:47 +02:00