Commit Graph

110 Commits

Author SHA1 Message Date
Olivier PEREZ
45d14044f8 Factorize a little the mails 2015-04-14 22:32:41 +02:00
Olivier Perez
199e41ec93 Fix: description was required 2015-04-14 13:34:42 +02:00
Olivier PEREZ
942e2cb8d2 Merge branch 'feature/FindMyPolls' into develop
* A new page is available on index, it allows user to send by mail all the polls created by a given mail address
2015-04-13 23:55:40 +02:00
Olivier PEREZ
faca65b510 Fix problem with 'empty' function and some PHP versions 2015-04-11 17:23:37 +02:00
Olivier PEREZ
6d1f0ada0e Don't allow black title, name or comment 2015-04-11 17:13:16 +02:00
Olivier PEREZ
201d5168fe Refactor the input filter system 2015-04-11 16:02:07 +02:00
Olivier PEREZ
77234edc82 Add page where the users can ask to receive their polls by mail 2015-04-08 22:11:19 +02:00
Olivier PEREZ
8b3eaac717 Fixes after merge 2015-04-07 23:17:26 +02:00
Olivier PEREZ
663f08f607 Merge branch 'feature/Work_on_Service_and_Repository' into develop 2015-04-07 22:26:13 +02:00
Olivier PEREZ
593d39c9cb Fix missing keys 2015-04-07 20:06:24 +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
7d84ec1e73 Create SlotRepository + AbstractRepository 2015-04-02 23:23:34 +02:00
Olivier PEREZ
7ad74ae03a Create PollRepository + Extract creation poll code from Service to Repository 2015-04-02 23:10:41 +02:00
Olivier PEREZ
8f4c5122c3 Add protection not to generate 2 identical IDs 2015-04-02 22:56:31 +02:00
Antonin
4c137748b4 Editing vote by link with unique id
- Changed the smarty modifier poll_url to a function and added the vote_id parameter
	- Modified accordingly all poll_url occurence in templates
	- Added htaccess.txt to be sure to keep poll's URL changes up to date
	- Escaped some templates output in order to avoid to broke HTML
	- Using vote's uniqId instead of vote's id when it's needed
2015-04-02 16:56:52 +02:00
Antonin
86a89abf42 Added unique id to vote. 2015-04-02 12:03:38 +02:00
Olivier PEREZ
591c4dd1af Move some code from FramaDB to Service 2015-03-29 12:59:47 +02:00
Olivier PEREZ
40d707c96d Issue #18 Add search engine on admin polls list 2015-03-27 13:10:46 +01: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
f6a7a1c7bb Issue #18 Install pagination on polls admin page 2015-01-18 16:14:45 +01:00
Olivier PEREZ
87150cc97e Add column receiveNewComments to poll table, to send notification when a user wrote a comment. 2015-01-17 01:28:12 +01:00
Olivier PEREZ
1df48988a6 Use CSRF tokens on admin page 2015-01-10 16:35:21 +01:00
Olivier PEREZ
e7ebd55299 WIP Start implmenting CSRF 2015-01-09 09:22:31 +01:00
Olivier PEREZ
924bd1ed1a Issue #26 Poll admin can change expiration date 2015-01-08 22:18:27 +01:00
Olivier PEREZ
afd6079420 Issue #22 Enable vote name modification 2015-01-08 22:18:18 +01:00
Olivier PEREZ
2495a8002f Admin: The polls page now use Smarty template 2015-01-07 22:47:34 +01:00
Olivier PEREZ
073bc9048d Admin: Fix the admin page 2015-01-06 23:52:52 +01:00
Olivier PEREZ
1e2877e863 Don't encode to HTML value before storing it to database 2015-01-05 23:30:47 +01:00
Olivier PEREZ
985842edf3 CSV Export: Implements export for classical polls 2015-01-03 19:06:03 +01:00
Olivier PEREZ
1578703de6 Fix line breaks on mails sent 2015-01-01 01:17:53 +01:00
Olivier PEREZ
1111b86e2a Define a prefix for database table names. 2014-12-31 15:19:15 +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
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
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
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
f50b244568 Return true when deleting a slot. 2014-12-23 01:01:09 +01:00
Olivier PEREZ
8109b11b70 Move mail sending to class \Framadate\Service\MailService 2014-12-23 00:58:00 +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
b8d0110263 Remove code from old_adminstuds that is already refactored. 2014-12-21 00:14:56 +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
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
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
8e15a008fe adminstuds.php: Realize the update of poll in database 2014-12-18 13:57:25 +01:00
Olivier PEREZ
9284a5d62b Add licence informations on classes 2014-12-17 13:48:03 +01:00
Olivier PEREZ
ab5f9e013a Implement comments functionnality 2014-12-17 13:47:14 +01:00
Olivier PEREZ
80b06d65cd Some work on vote saving 2014-12-17 13:17:08 +01:00