Commit Graph

33 Commits

Author SHA1 Message Date
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
JosephK
3458b9b51a Charts + Addition + little fixes 2015-06-17 22:39:14 +02:00
Olivier PEREZ
60069b1151 Add hidden-print class on some alerts block 2015-05-29 11:48:47 +02:00
Olivier PEREZ
f21892dc26 Put i18n on aria-label 2015-05-24 23:41:08 +02:00
Olivier PEREZ
6d1f0ada0e Don't allow black title, name or comment 2015-04-11 17:13:16 +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
Olivier PEREZ
6d34631fbf Replace calls to __('Section\Key') with __('Section', 'Key') 2015-03-30 15:19:56 +02: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
119d0e01e1 Start changing the i18n system.
* Now works on windows servers
* Byebye .po/.mo, welcome .json
* Byebye old gettext library, welcome o80-i18n
2015-03-22 23:33:03 +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
08a3fe1b69 Escape html for all bound variables from .tpl files 2015-01-11 14:59:25 +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
d4d483edfd Messages displayed on the top of pages are now dismissable. 2014-12-23 00:59:56 +01:00
Olivier PEREZ
187c84074e Display a different hint pane on admin page. 2014-12-18 23:57:38 +01:00
Olivier PEREZ
94380c6182 UI : Add availability to edit poll title 2014-12-18 12:47:51 +01:00
Olivier PEREZ
7c5ba2eb17 Split parts of studs.tpl into severals sub-templates. 2014-12-17 23:12:05 +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
Olivier PEREZ
8604cacc62 studs.php: Move global form just around votes table 2014-12-17 13:22:09 +01:00
Olivier PEREZ
37735e8298 Fix radio button 'no' 2014-12-17 13:18:59 +01:00
Olivier PEREZ
80b06d65cd Some work on vote saving 2014-12-17 13:17:08 +01:00
Olivier PEREZ
e941cf1822 Add availability to edit a vote 2014-12-16 00:45:16 +01:00
Olivier PEREZ
db915b0bf1 Replace button to CSV export by a link 2014-12-16 00:02:34 +01:00
Olivier PEREZ
ad5ea9c6ff Display list of comments + Display form to add a comment 2014-12-15 13:49:25 +01:00
Olivier PEREZ
497762165f studs.tpl: Remove 4 spaces to global indentation 2014-12-15 13:36:26 +01:00
Olivier PEREZ
ecfcae580b Define base template : page.tpl 2014-12-15 13:33:39 +01:00
Olivier PEREZ
448a7c2d38 Clean tpl indentation 2014-12-15 13:29:27 +01:00
Olivier PEREZ
083c9eef2f Add the display of Best Choices listing 2014-12-15 13:27:04 +01:00
Olivier PEREZ
ea105960b4 Add line to add vote + Add line to show best choices 2014-12-14 00:16:49 +01:00
Olivier PEREZ
fafa5393ed studs.tpl : Add a Form convering the whole page 2014-12-12 13:51:13 +01:00
Olivier PEREZ
fcaea63b84 A big part of refactoring
* Use Smarty to split View and Controller on studs page (work in progress)
* Add field "active" to Poll
* And some other stuff...
2014-12-12 13:46:55 +01:00