Antonin
22253b4e68
Cleaning useless code.
2015-10-29 11:52:13 +01:00
Antonin
0e0becb5c4
Replacing :: by NotificationService::
2015-10-26 16:26:22 +01:00
Antonin
2b38a7ddd6
Refactoring NotificationService
2015-10-13 01:03:41 +02:00
Antonin
de18f826f0
The name can be any value.
...
There is no reason to limit the caracters that can be used in the name.
Thus, removing the regex.
Fix #97
2015-10-12 21:26:13 +02:00
Olivier Perez
9daef4b09e
Use __f to format some messages
2015-09-23 13:47:35 +02:00
Paul van der Walt
b7dc0abc34
In English we don't surround colons (:) with spaces.
2015-09-15 18:20:13 +02:00
Olivier Perez [a570709]
7103cdebff
Fix part of #87 Use HTML tag for links in mails
2015-08-13 10:46:32 +02:00
Olivier PEREZ
44928b0572
Dont sort classic polls
2015-05-30 23:36:04 +02:00
Antonin
4ced550942
Merge remote-tracking branch 'upstream/release/0.9' into release/0.9
2015-05-29 18:59:09 +02:00
Olivier PEREZ
cb0864f8fd
Fix a lot of things
2015-05-29 18:11:12 +02:00
Olivier PEREZ
ad2b146c3c
Remove parameter from MailService::send
2015-05-29 17:49:01 +02:00
Antonin
4a9179ffea
Fix the poll's deletion date
2015-05-29 17:46:29 +02:00
Olivier PEREZ
278e478d1a
Write log when send a mail
2015-05-29 17:41:50 +02:00
Olivier PEREZ
be155aa2a1
MailService now manage the anti-flood system
2015-05-29 17:06:03 +02:00
Olivier PEREZ
1ec8db4c30
Check if vote name is already used + Fix missing key
2015-04-24 00:29:10 +02:00
Olivier PEREZ
45d14044f8
Factorize a little the mails
2015-04-14 22:32:41 +02:00
Olivier PEREZ
95328cb29c
Confidence becomes Trust
2015-04-14 22:06:07 +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
cfe653f144
Replace " by '
2015-04-07 22:00:48 +02:00
Olivier PEREZ
593d39c9cb
Fix missing keys
2015-04-07 20:06:24 +02:00
Antonin
84e3a93645
Add edit link with vote update
2015-04-07 17:58:45 +02:00
Antonin
fbf448c415
No space before ':' in english...
2015-04-07 17:46:30 +02:00
Antonin
213980e807
Remove POST['poll'] access
2015-04-07 17:39:57 +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
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
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
133dd203df
Forgot a useless assignment...
2015-03-26 17:12:31 +01:00
Antonin
b3d79da0a6
Changing message creation logic.
2015-03-26 17:09:52 +01:00
Antonin
e4ec0c8105
Passing message directly in template
2015-03-26 16:48:39 +01:00
Antonin
b66a47ef67
Added simple javascript check for the name.
...
- The goal here is to prevent the losing of the choices by having a bad name.
- This is a POC, there is probably some cleaning before merge
2015-03-26 16:33:11 +01:00
Olivier PEREZ
779af07c60
Fix expiration date check on studs.php
2015-03-13 12:56: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
547a186f60
Translate message 'This poll doesn't exist'
2015-02-02 21:00:42 +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
afd6079420
Issue #22 Enable vote name modification
2015-01-08 22:18:18 +01:00
Olivier PEREZ
c67a4c7c14
Add some security with strip_tags + Don't encode quotes
2015-01-07 23:16:42 +01:00
Olivier PEREZ
073bc9048d
Admin: Fix the admin page
2015-01-06 23:52:52 +01:00
Olivier PEREZ
985842edf3
CSV Export: Implements export for classical polls
2015-01-03 19:06:03 +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
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
9ed0043569
Some cleaning in poll creation
2014-12-25 00:55:52 +01:00
Olivier PEREZ
8109b11b70
Move mail sending to class \Framadate\Service\MailService
2014-12-23 00:58:00 +01:00
Olivier PEREZ
dec9e24530
admin: Implement the removal of a slot.
2014-12-21 23:48:22 +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
ceb6ae3bca
Remove old code + Add doc
2014-12-17 13:52:52 +01:00
Olivier PEREZ
ab5f9e013a
Implement comments functionnality
2014-12-17 13:47:14 +01:00
Olivier PEREZ
fcc478bb93
Add headers to th cells when editing vote
2014-12-17 13:39:12 +01:00