Commit Graph

641 Commits

Author SHA1 Message Date
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
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
7837c01ba0 Fix form control when editing vote 2014-12-17 13:23:32 +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
d54f2e4759 Improve usage of namespace + Create PollService in /Framadate/Service namespace 2014-12-16 00:02:01 +01:00
Olivier PEREZ
2480d441d4 Remove code in comment 2014-12-15 13:55:46 +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
Olivier PEREZ
3743ad55f1 Make add vote working 2014-12-07 23:12:08 +01:00
Olivier PEREZ
3d0e167e77 Clean a lot of adminstuds.php 2014-12-07 16:47:35 +01:00
Olivier PEREZ
46ea697cb6 Refactor on choix_autre.php
* Utils::issetAndNoEmpty is now removed
* Use Form object to store value from page to page
2014-12-06 19:42:01 +01:00
Olivier PEREZ
de04d47434 Minor changes on "constants.php.template" 2014-12-05 01:09:14 +01:00
Olivier PEREZ
fae91f6f3e Refactor poll creation
* Rename fields in Sondage table
* Add field "editable" which tells when users can edit their votes
* PDO : Configure 2 options (FETCH_OBJ + ERRMODE_EX)
* "formatsondage" does contains "+" (or not) anymore
2014-12-05 01:08:38 +01:00
Olivier PEREZ
b41607a165 Redirect poll creator to administration of created poll 2014-12-04 20:53:16 +01:00
Olivier PEREZ
1437eaf47e Refactoring some code:
* Store all informations about forms into an object "Form" stored in $_SESSION['form']
* Replace connection to database by PDO object
* Check if database is ready in bandeaux.php file
2014-12-03 21:08:08 +01:00
JosephK
54ae3e3b9d && → AND 2014-12-03 19:00:33 +01:00
JosephK
c4f011ba97 Merge branch 'cleaning-polls' into 'master'
Keep polls with bad expiration date in database

related to issue #25

See merge request !29
2014-12-03 18:41:37 +01:00
FramaJosephK
c15ce049ad Keep polls with bad expiration date in database 2014-12-03 18:39:01 +01:00
JosephK
dcee9d4cd6 Produit l'erreur « PHP Parse error: syntax error, unexpected '') === true » 2014-12-03 15:04:12 +01:00
JosephK
887f48699a Merge branch 'bugfix' into 'master'
Nettoyage

- j'ai remis les double quote pour le texte envoyé par email (il y a des sauts de ligne)
- les fonctions dans Utils doivent être appelées avec `self::` en préfixe
- `throw new Exception` dans adminstuds produit une erreur
- j'ai remplacé les « OpenSondage » par « Framadate » dans install ; on garde un nom unique pour le service en ligne et pour le logiciel.

See merge request !28
2014-12-03 14:52:04 +01:00
FramaJosephK
6751a8a9cf Retouches après série de merges 2014-12-03 14:30:25 +01:00
FramaJosephK
811d525239 Merge branch 'RyDroid/framadate-studs.php' 2014-12-03 11:41:05 +01:00
FramaJosephK
a4f6851c65 merge studs RyDroid 2014-12-03 11:40:34 +01:00
FramaJosephK
f0872df179 Merge branch 'RyDroid/framadate-adminstuds.php' 2014-12-03 11:37:27 +01:00
FramaJosephK
d706fbcf85 merge adminstuds RyDroid 2014-12-03 11:36:43 +01:00