Commit Graph

360 Commits

Author SHA1 Message Date
Olivier PEREZ
d37200addd Change version number to 0.9 2014-12-30 18:15:04 +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
2f3831d997 Add const LOG_FILE to constants.php.template 2014-12-24 23:44:40 +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
4818d7977a Update constants.php.template 2014-12-23 09:33:00 +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
410d2127ce admin: Add some work to poll information pane. 2014-12-17 23:43:06 +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
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
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
ea105960b4 Add line to add vote + Add line to show best choices 2014-12-14 00:16:49 +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
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
Bob Le Bricodeur
0239dd0735 Add environment variable to be able to switch between languages using Windows 2014-11-15 00:46:55 +01:00
Bob Le Bricodeur
7cee54901f Adaptation setlocale en fonction de l'environnement (Windows) 2014-11-14 22:35:19 +01:00
FramaJosephK
307f36ae64 fix a11y + reprise config.inc + bug date_format win 2014-11-14 17:35:22 +01:00
FramaJosephK
6cc5fa3a13 purge auto limitée à 20 pour 1 créé 2014-11-13 21:58:03 +01:00
FramaJosephK
e0ff6ec0e7 liens et images autorisés par défaut + purge auto limitée à 50 pour 1 créé 2014-11-13 21:33:20 +01:00
Bob Le Bricodeur
a716ef8c47 delete configuration option $show_language_bar_selection
condition is based on the number of languages configured
2014-11-12 21:28:27 +01:00
Bob Le Bricodeur
eb5677e451 new parameter '$use_smtp' to disable email notification if needed
bug correction on email notification (using '$dsondage->titre' in adminstuds.php)
2014-11-12 21:17:52 +01:00
Bob Le Bricodeur
52a783fba2 MAJ https://github.com/framasoft ==> https://git.framasoft.org/framasoft/framadate 2014-11-12 11:44:57 +01:00
Bob Le Bricodeur
e24c74c93b deplace config.inc.php file from root to app/inc dir. Allow access from anywhere and not only from a file present in root dir. 2014-11-12 11:10:36 +01:00
Bob Le Bricodeur
4edf3b308f Modification des appels de function.inc.php (ajout dans init) pour être accessible par toutes les pages 2014-11-11 12:33:17 +01:00
Bob Le Bricodeur
0db5daa371 ajout fonction pour récupérer des options dans un fichier de configuration 2014-11-10 19:27:18 +01:00
JosephK
5993579238 Oublié les sauts de ligne 2014-11-06 15:37:03 +01:00
FramaJosephK
83b5848689 Compilation .po, fix a11y, issue #15 2014-11-06 15:20:03 +01:00
FramaJosephK
051575fa64 The big one 2014-10-21 01:31:26 +02:00
FramaJosephK
7f87858ff7 Mise à jour du dépôt avec la dernière version sur Github 2014-09-04 17:52:18 +02:00