Commit Graph

38 Commits

Author SHA1 Message Date
pitchum 6d8c60c88b Fix ability to update an existing poll (6122) 2023-03-26 11:15:46 +02:00
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
Clermonté fd91b558a3 Merge tag '1.1.9' into chapril-1.1.8 to create chapril-1.1.9. 2019-05-10 18:31:03 +02:00
Thomas Citharel 46338cc078 Set $rowDatetime to int for comparison
Closes #379
2018-11-05 16:22:04 +01:00
Didier Clermonté 13c2543a7a Updated AdminPollService to correct bug on end_date 2018-08-13 12:19:06 +02:00
Didier Clermonté 4fe0b2097f Updated AdminPollService to limit end_date (#3206). 2018-08-08 22:56:34 +02:00
Thomas Citharel 3157d6a590 Run php-cs-fixer with a custom config. This may break a lot of things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-19 19:43:30 +01:00
Olivier Perez fa5014de32
Fixed expiry date edition 2016-06-30 20:48:30 +02:00
Olivier PEREZ 276f732def Fix #145 and #146 - Sort slots before check slots hash 2016-03-02 23:55:12 +01:00
Olivier PEREZ bde59fe974 Fix the position computation to insert default vote when adding column 2016-02-22 23:51:50 +01:00
Olivier PEREZ 5750a36172 Rename add_slot by add_column 2015-11-30 20:38:53 +01:00
Antonin 4cb189299f Merge branch 'fix/Issue114_delete_last_column' into 'master'
Fixes #114 - Can't delete last column anymore

Correction de la règle qui vérifie que la colonne à supprimer n'est pas la dernière.

`strpos` ne retourne jamais `-1` mais `false`

See merge request !82
2015-11-05 22:32:02 +01:00
Olivier Perez acbf7db8b5 Fixes #114 - Can't delete last column anymore 2015-11-04 12:37:53 +01:00
Olivier PEREZ c3b48b885d Refactor something :-) 2015-11-03 21:17:00 +01:00
Olivier PEREZ 40f2a1729c Better message when fail to create column 2015-11-03 21:15:47 +01:00
Olivier PEREZ 49a5350f90 Fix #83 Stop sorting moments at new slot insertion 2015-10-12 23:25:51 +02:00
Olivier PEREZ d17ba242d3 Add log when adding a slot manually 2015-10-05 23:54:50 +02:00
Olivier PEREZ b61f60155e Fix the check for deleting the last slot 2015-10-05 23:50:00 +02:00
Olivier PEREZ 44928b0572 Dont sort classic polls 2015-05-30 23:36:04 +02:00
Antonin fa111ab04e Prevent from deleting the last slot
- Also fix the corresponding translation when a problem arise.
2015-05-29 18:53:09 +02:00
Olivier PEREZ b47c153aae More Splitting between Services and Repositories 2015-04-03 00:11:36 +02:00
Olivier PEREZ 612e47ffa3 Create CommentRepository 2015-04-02 23:32:24 +02:00
Olivier PEREZ b051dd59f8 Implement purge in 2 steps
First: Block the poll (no more modification)
Second: Delete the poll 60 days after the expiration date (configurable)
2015-02-28 19:18:59 +01:00
Olivier PEREZ 924bd1ed1a Issue #26 Poll admin can change expiration date 2015-01-08 22:18:27 +01:00
Olivier PEREZ f399b9e543 admin: fix deleteion a slot from a classical poll 2014-12-30 17:03:43 +01:00
Olivier PEREZ 1ca7502216 Translate database names (table+columns) to English + Reorganize some columns 2014-12-30 01:41:25 +01:00
Olivier PEREZ dcb711dccc Implements purge methods 2014-12-29 21:54:07 +01:00
Olivier PEREZ 98f14c487a Enable poll deletion + improve random generator 2014-12-25 01:11:14 +01:00
Olivier PEREZ 5d8e5362f9 admin: Add some logging on important actions (delete poll, clean votes, clean comments, drop column) 2014-12-24 22:42:50 +01:00
Olivier PEREZ a5d1305535 LogService : WIP 2014-12-24 09:40:41 +01:00
Olivier PEREZ b5fc415edc admin: Add availability to delete a poll 2014-12-23 09:48:58 +01:00
Olivier PEREZ f50b244568 Return true when deleting a slot. 2014-12-23 01:01:09 +01:00
Olivier PEREZ 288ddd2efc admin: Add availability to add a slot to a poll 2014-12-23 00:30:05 +01:00
Olivier Perez [a570709] 94e87a3182 WIP> admin: Add availability to add a slot to a poll 2014-12-22 14:18:33 +01:00
Olivier PEREZ dec9e24530 admin: Implement the removal of a slot. 2014-12-21 23:48:22 +01:00
Olivier PEREZ 1a062a2a69 admin: Add availability to delete a vote. 2014-12-21 00:25:00 +01:00
Olivier PEREZ 8d46ec6c33 Move all admin method from PollService to AdminPollService 2014-12-20 23:59:44 +01:00