Commit Graph

326 Commits

Author SHA1 Message Date
obitanz
36681dcdea 23-12-2021
- Remove the X-Mailer header in e-mails, as this causes some email servers to see emails sent by Framadate as spam
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEExMITpfxOHHCvHn8FoGG53eDKB3MFAmHElvwACgkQoGG53eDK
 B3PO3w/+LyyC4Y7fDtl4hm9ClIswp62ozhxlIzRDJbza2S2S37A0ssXJMYCf2VOR
 ak+vWFUs9xj3o6G3oGlhLF1KMpWJ/nFVhyhCGgV1mQmUHSX2gnn6S9PBFenOGc9w
 zD2onJhVhJ/tbCJbF0Yl6zPitkfiucJI3FFIauByhkZ8wI3MPIYo/2m+H7KeVwLp
 YgJU0VqUQNMYl1clC+9Vu6gpSk/f6RklEVzJfEgV4MWMfoM6hLFqo0F6IDyWmgKp
 eNi1KHmFBGKFIexQeI+AvDyJyYsZH7uJrB0F7bV4wJGS7MTPOJlOJG5MXlLDcJgK
 EKNFUqrb9pQT5TWkO5FbJjfHwbP5bhO7TAEEvdIzhFqziR6gqdr2uXi+HiwG7yHO
 21YzDMnRZPqiYTBJuP0XIhsJrgpIBQDuQ3u9XJTs4pfyxQDSR8m9sHdiPSEZySRN
 p7XJSsDyLhcjjAobdodLuZLSWqOvZfaHzXEEKZO3HdQmccbwRHvniXDEy0FHEt2A
 L7LVvd4Qpa4wi6T2b3UIK4ubuC4xYdtYBfpzOklcti5TwDT2jbSTJRbv5oGAPX1b
 HfMzMoi/os3ZDSnPPRUaBxxrbjFQ9bX4bdxfQZeC2XIBWMBOcF3SeSbC1vVlcu+3
 bgwo3mehLvBCY0uMCGrjdymcAQq2IwX5Df8dGS7jFWUS5rAUi7s=
 =OVGk
 -----END PGP SIGNATURE-----

Merge tag '1.1.19' into chapril-1.1.19
2023-02-25 12:11:22 +01:00
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
ff62406853 Added version number (#4871). 2021-08-28 18:44:20 +02:00
eed7da32bd Merge tag '1.1.16' into chapril-1.1.16 2021-08-28 15:59:04 +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
f1587f7b36 Ajout d'un test pour éliminer les colonnes choices vides dans la table fd_vote (#4617) 2020-08-26 12:00:37 +02:00
d0ffcd0dba Suppressed comment in index.tpl 2020-03-10 16:52:08 +01:00
23f933595b Removed list of web browers (#3626) 2019-03-25 17:09:06 +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