Commit Graph

105 Commits

Author SHA1 Message Date
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
e4b61ff54b Don't redirect to studs when you edit a vote from adminstuds 2015-04-11 17:03:10 +02:00
Olivier PEREZ
201d5168fe Refactor the input filter system 2015-04-11 16:02:07 +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
Antonin
bd00cf1915 From double quote to simple quote 2015-04-07 17:40:20 +02:00
Antonin
16143d4ac8 Changed defaut edition option 2015-04-06 14:06:47 +02:00
Antonin
1e39eae056 Changed the file header to framadate license 2015-04-06 12:54:18 +02:00
Antonin
a135f74383 Hidden results option is taken into account.
- Also added possibility for the poll's maker to edit this hidden results option.
2015-04-06 12:40:59 +02:00
Antonin
0c2ba20bfa Added option of poll with hidden results. 2015-04-05 18:36:43 +02:00
Antonin
a3f5763edd New edition possibility is taken into account
- Also added Framadate\Message à link attribute
	- Added local anchor #edit with vote edition
	- For now, when the poll owner check the new edit option (ie: "Votes are editable solely by their owner"), users get their update link on vote creation
2015-04-05 17:44:29 +02:00
Antonin
1f55167e2c Added new editable possibility at poll creation 2015-04-05 15:41:19 +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
Antonin
c4cc36b076 Using more secure token 2015-04-02 12:03:28 +02:00
Olivier Perez
d8c70a5f77 Fix back links to create_poll.php + Use values in session if _post is not present 2015-03-31 00:02:37 +02:00
Olivier PEREZ
da2cdeda12 Smartysize infos_creation, and rename it to create_poll 2015-03-29 22:13:22 +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
0efc3d4bcc Fix the update of poll infos 2015-03-18 00:46:19 +01:00
Olivier PEREZ
1d5a33b560 Remove the notion of 0.9.1, replace it with 0.9 2015-03-05 21:30:33 +01:00
Olivier PEREZ
778a03f802 Fix usage of preg_replace 2015-03-05 13:22:55 +01:00
Olivier PEREZ
b3bc68bbe6 Fix pb when host on domain name starting with 'admin'
* Do str_replace only on the $dirname variable
2015-03-05 00:02:45 +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
6e442e02e3 Complete the fix of accent problem during migration 2015-02-26 23:03:49 +01:00
Olivier PEREZ
3aa3ee486c Admin: Fix the number of polls + Set to 30 the number of polls displayed per page 2015-02-26 22:29:24 +01:00
Olivier PEREZ
a4dd36d1bc Convert accent from html to utf8 when migrating 2015-02-26 21:29:30 +01:00
Olivier PEREZ
d30b6d6f7b Fix and improve performance for migration from 0.8 to 0.9 2015-02-26 10:44:49 +01:00
Olivier PEREZ
8a0c8bd8d3 Make language selection work better 2015-01-20 00:05:43 +01:00
Olivier PEREZ
cbad43614d Re-add count of votes in polls admin page 2015-01-18 16:30:02 +01:00
Olivier PEREZ
f6a7a1c7bb Issue #18 Install pagination on polls admin page 2015-01-18 16:14:45 +01:00
Olivier PEREZ
80be71d382 Improve management of errors in infos_sondage page 2015-01-17 16:25:12 +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
6f7c911bae Issue #26 Admin can change the name of initiator of the poll 2015-01-08 22:18:28 +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
98018de541 Fix some things after cherry-picking 2015-01-04 18:49:57 +01:00
FramaJosephK
f71326f496 Keep polls with bad expiration date in database
(cherry picked from commit c15ce049ad)

Conflicts:
	app/classes/Framadate/Utils.php
2015-01-04 18:33:31 +01:00