Commit Graph

294 Commits

Author SHA1 Message Date
Olivier PEREZ
dcb711dccc Implements purge methods 2014-12-29 21:54:07 +01:00
Olivier PEREZ
10c409e29e LogService: Change date format to "Ymd His" 2014-12-29 21:52:44 +01:00
Olivier PEREZ
23ec39adb2 Create PurgeService 2014-12-28 23:43:47 +01:00
Olivier PEREZ
53048e8488 Fix display of best choices on classic polls 2014-12-27 00:23:56 +01:00
Olivier PEREZ
60ae6bc364 Display a diffrent table if poll is a classic one 2014-12-27 00:00:14 +01:00
Olivier PEREZ
9a067e00ef Fix creation of classic polls 2014-12-26 23:32:53 +01:00
Olivier PEREZ
98f14c487a Enable poll deletion + improve random generator 2014-12-25 01:11:14 +01:00
Olivier PEREZ
9ed0043569 Some cleaning in poll creation 2014-12-25 00:55:52 +01:00
Olivier PEREZ
2f3831d997 Add const LOG_FILE to constants.php.template 2014-12-24 23:44:40 +01:00
Olivier PEREZ
31f62cd62d LogService: Add a line break at the en of lines 2014-12-24 23:38:44 +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
4818d7977a Update constants.php.template 2014-12-23 09:33:00 +01:00
Olivier PEREZ
70ad15aa97 Add 'id' column to sujet_studs table. 2014-12-23 09:29:30 +01:00
Olivier PEREZ
f50b244568 Return true when deleting a slot. 2014-12-23 01:01:09 +01:00
Olivier PEREZ
d4d483edfd Messages displayed on the top of pages are now dismissable. 2014-12-23 00:59:56 +01:00
Olivier PEREZ
8109b11b70 Move mail sending to class \Framadate\Service\MailService 2014-12-23 00:58:00 +01:00
Olivier PEREZ
d942f82b0a admin: No need to send a mail to the admin when modifying on the admin page 2014-12-23 00:31:13 +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
21ce86e2b7 WIP 2014-12-22 09:53:18 +01:00
Olivier PEREZ
dec9e24530 admin: Implement the removal of a slot. 2014-12-21 23:48:22 +01:00
Olivier PEREZ
3166752410 admin: Display buttons to add or remove choice. 2014-12-21 00:45:39 +01:00
Olivier PEREZ
ff61cf6b91 admin: Copy fonctionnalities from studs.php 2014-12-21 00:29:51 +01:00
Olivier PEREZ
1a062a2a69 admin: Add availability to delete a vote. 2014-12-21 00:25:00 +01:00
Olivier PEREZ
b8d0110263 Remove code from old_adminstuds that is already refactored. 2014-12-21 00:14:56 +01:00
Olivier PEREZ
ce548da367 Rename delete_comment.tpl to delete_comments.tpl 2014-12-21 00:05:52 +01:00
Olivier PEREZ
26b0c08128 Fix filter_input call 2014-12-21 00:04:41 +01:00
Olivier PEREZ
45716d15c1 Display confirmation page before to delete all votes of one poll. 2014-12-21 00:04:23 +01:00
Olivier PEREZ
8d46ec6c33 Move all admin method from PollService to AdminPollService 2014-12-20 23:59:44 +01:00
Olivier PEREZ
94a125ca2b Display confirmation page before to delete all comments of one poll. 2014-12-19 00:59:27 +01:00
Olivier PEREZ
3829402a69 Display a confirmation page before delete the poll (confirmation does nothing for now) 2014-12-19 00:47:56 +01:00
Olivier PEREZ
07d5a336fb Add availability to delete all comments of one poll.
+ Simplify call to remove all votes of one poll
2014-12-19 00:36:09 +01:00
Olivier PEREZ
3d18c208ca Check the number and the max of votes before displaying the best moments. 2014-12-19 00:30:43 +01:00
Olivier PEREZ
14727bd94c admin: Add availability to delete all votes of a poll. 2014-12-19 00:30:33 +01:00
Olivier PEREZ
1b01bcc6b6 admin: Add availability to delete comments one by one. 2014-12-19 00:13:21 +01:00
Olivier PEREZ
178208380f Change color of text-danger. 2014-12-19 00:12:19 +01:00
Olivier PEREZ
187c84074e Display a different hint pane on admin page. 2014-12-18 23:57:38 +01:00
Olivier PEREZ
446bbece58 Add a missing $ 2014-12-18 23:57:00 +01:00
Olivier PEREZ
8e15a008fe adminstuds.php: Realize the update of poll in database 2014-12-18 13:57:25 +01:00
Olivier PEREZ
716efd6d58 UI : Add availability to edit poll status 2014-12-18 13:23:47 +01:00
Olivier PEREZ
04a60e5c57 Add shadow under the text on submit button 2014-12-18 13:12:28 +01:00
Olivier PEREZ
cf207052f5 UI : Add availability to edit poll description + admin mail 2014-12-18 13:08:30 +01:00
Olivier PEREZ
94380c6182 UI : Add availability to edit poll title 2014-12-18 12:47:51 +01:00
Olivier PEREZ
410d2127ce admin: Add some work to poll information pane. 2014-12-17 23:43:06 +01:00
Olivier PEREZ
844315ada4 Recreate adminstuds.php with Smarty style (Work in progress) 2014-12-17 23:20:12 +01:00
Olivier PEREZ
7c5ba2eb17 Split parts of studs.tpl into severals sub-templates. 2014-12-17 23:12:05 +01:00
Olivier PEREZ
ceb6ae3bca Remove old code + Add doc 2014-12-17 13:52:52 +01:00
Olivier PEREZ
9284a5d62b Add licence informations on classes 2014-12-17 13:48:03 +01:00