Commit Graph

320 Commits

Author SHA1 Message Date
Thomas Citharel
7603bed6d9
Modernize project
- Use PHP typings
- Update some front-end libraries

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-21 10:31:07 +01:00
Thomas Citharel
dffd7edf42
Improve metadata on poll pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-17 15:14:29 +01:00
Thomas Citharel
3de07eb565
Activate Catalan language
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-17 14:58:46 +01:00
Thomas Citharel
2c3148fe9e
Fix some HTML structure and JS formatting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-17 14:54:06 +01:00
Thomas Citharel
9c969f8896
Cleanup some invalid HTML
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-12-17 14:09:52 +01:00
Thomas Citharel
61a63c55bd
CSS and a11y improvements for export to ics feature
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 16:50:51 +02:00
Thomas Citharel
02229c671b
Fix an XSS in the result graph
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-19 11:17:00 +02:00
Michael Schär
709b48f293 Allow downloading ics/ical files for best choices
Backported to 1.1.x by Kevin Kofler.
2021-04-21 19:43:57 +02:00
Thomas Citharel
36cef8cc39
Actually enforce the length limitation on the poll creator name
Show a nice error message if it's too long (not on the edit page because
there's no support for this right now)

mbstring is now a required extension

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-22 19:04:44 +01:00
Thomas Citharel
c266373344
Add DOMPurify to sanitize markdown
Closes #546

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-22 15:56:09 +01:00
Thomas Citharel
2ce6e56f8a
Add a maxlength attribute for the author name
Closes #530

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-08 18:52:14 +01:00
Thomas Citharel
69e69efe32
Fix leftovers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-18 17:37:21 +01:00
Thomas Citharel
dcd30e0974
Fix translation keys missing into emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-18 17:37:21 +01:00
Thomas Citharel
5ffd4361e4 Fix #358, #355 and #342
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 14:06:23 +02:00
Thomas Citharel
cad9dac189 Fix an issue with smarty filters and priority
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 12:17:59 +02:00
Thomas Citharel
be128e8158 Handle XSS issue on date poll slots
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 10:56:09 +02:00
m
15e78ba070 Better handle undefined config values
https://framagit.org/framasoft/framadate/issues/322
2018-07-09 10:26:06 +02:00
Thomas Citharel
367b239549
Provide Fork-Awesome and add an option to disable it (should be useful on installations with Framanav)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Use fork-awesome minified css

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-15 12:21:27 +02:00
m
a80602e3d5
bug/error-on-empty-choices 2018-04-15 11:30:28 +02:00
Thomas Citharel
d72cf4ce24
Fix link sent by email to voters
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-11 15:50:07 +02:00
m
852c2c0d2a HTML 5 and fixes 2018-04-08 10:46:46 +02:00
m
445dac2e51 Ne pas effacer les sélections après l'erreur "Vous avez déjà voté"
https://framagit.org/framasoft/framadate/issues/194
2018-04-06 12:19:15 +02:00
Thomas Citharel
2cf458960e
Improve the vote link reminder function
Move the link to a clickable button that copies the link inside the clipboard, and triggers a 2 sec popover to tell it to the user
If the clipboard API fails, the user should be redirected directly to the link

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-06 11:44:11 +02:00
m
d2268e8543 Donner le lien d'édition d'un vote lorsqu'on est administrateur
https://framagit.org/framasoft/framadate/issues/209
2018-04-01 17:40:45 +02:00
Thomas Citharel
7134581535
Fix ValueMax validation and improve error messages for username format
Closes #295
New translation strings
Check that ValueMax is >= 1
Show details if error in advanced settings
Correctly show error message for ValueMax
Make email field an email one
Make username, email (if smtp of course) and title required html inputs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-29 12:54:48 +02:00
Thomas Citharel
7d7f39190f
Add MaxLength attribute on comment name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-29 11:03:17 +02:00
Thomas Citharel
ebbee26a59
Remove autocomplete on date fields
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-29 11:00:08 +02:00
Thomas Citharel
ce16034c84
Add back parenthesis for ifneedbe vote
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-29 10:49:08 +02:00
Thomas Citharel
991f51aac0 Fix left editing button always shown
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-21 15:29:14 +01:00
Thomas Citharel
ea3e391b87 Fix datepicker locale path
Closes #279

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-19 18:01:19 +01:00
Thomas Citharel
bf753480dd fix ui stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 19:29:40 +01:00
Thomas Citharel
801bc08a81 Merge branch 'develop' 2018-02-20 19:05:24 +01:00
Thomas Citharel
d106d3ba41 update jquery
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 18:00:27 +01:00
Marjolaine Vé
efda4e97b0 [Responsive] List of polls for admins with scrollbar 2018-02-20 17:04:11 +01:00
Marjolaine Vé
b29bbb5c9a Create a button for "Back to administration" link 2018-02-20 17:04:11 +01:00
Marjolaine Vé
02fdf05786 Change place of arrows on poll results 2018-02-20 17:04:11 +01:00
Marjolaine Vé
ea575522a9 Add viewport to test responsive online 2018-02-20 17:04:11 +01:00
Thomas Citharel
76b19ee9ba fix votes wrongly calculated because of type check
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 15:17:14 +01:00
Erwan TERTRAIS
64ff414900 ValueMax : limit the number of voters per option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 14:15:18 +01:00
Thomas Citharel
70f296377f Move some style to css files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 12:42:27 +01:00
Erwan TERTRAIS
95c4737953 edit button classic poll 2018-02-20 12:09:56 +01:00
Erwan TERTRAIS
2b25d8c301 edit button if slot >7 2018-02-20 12:09:56 +01:00
Erwan TERTRAIS
c95c13e069 bouton edit à droite du nom 2018-02-20 12:09:56 +01:00
DAVID Titouan
1740a1d949 issue 240 desactivation checkbox resultat public
changement du nom de l'option "resultat visible" dans password en "seul les votes sont proteges"

correction de l'ajout du js pour issue240

correction test pour desactivation dynamique du champ
2018-02-20 10:58:30 +01:00
Pierre Rudloff
2f2378a80f Add description meta tag 2018-01-16 14:04:02 +01:00
Pierre Rudloff
3642bf87d4 Add favicon path to config 2017-02-22 21:16:09 +01:00
François B
fd3526c9c7 Fix typos 2017-02-05 04:19:04 +01:00
Olivier Perez
61e3d0735f Merge branch 'feature/piwik' into 'develop'
New tracking_code setting that inserts HTML code in the footer of every page

See merge request !163
2016-12-30 15:59:40 +01:00
Olivier Perez
df2576445d Merge branch 'feature/admin_add_slot_on_enter' into 'develop'
Submit slot when hitting enter key

See merge request !162
2016-12-28 02:17:54 +01:00
Antonin
e17abed619 Get back the NL locale from master. 2016-12-26 16:32:07 +01:00