Commit Graph

130 Commits

Author SHA1 Message Date
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
Olivier PEREZ
7837c01ba0 Fix form control when editing vote 2014-12-17 13:23:32 +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
ad5ea9c6ff Display list of comments + Display form to add a comment 2014-12-15 13:49:25 +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
FramaJosephK
ef8eaafd27 Ajout d'horaires en taille sm + titre meilleur choix 2014-11-18 18:38:00 +01:00
Bob Le Bricodeur
293d813b62 warning correction :
Warning: max(): Array must contain at least one element in "studs.php" on line 615
2014-11-15 02:47:30 +01:00
Bob Le Bricodeur
c1c337142c several warning displayed : A non well formed numeric value encountered in "studs.php"
remove all displayed warning by splitting day and hour in $current variable
2014-11-15 02:41:20 +01:00
FramaJosephK
bf33a4db07 description en h3 sur studs 2014-11-14 17:41:31 +01:00
FramaJosephK
307f36ae64 fix a11y + reprise config.inc + bug date_format win 2014-11-14 17:35:22 +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
FramaJosephK
83b5848689 Compilation .po, fix a11y, issue #15 2014-11-06 15:20:03 +01:00
Jeremy Carrier
660390efdd Fix misspelling of poll 2014-10-27 18:51:39 +01:00
FramaJosephK
5d9b33d6ab Fix #9, #10, bug récap liste des choix, « email adress » 2014-10-22 15:42:35 +02:00
FramaJosephK
2790ccccbb Validation W3C 2014-10-21 11:33:39 +02:00
FramaJosephK
051575fa64 The big one 2014-10-21 01:31:26 +02:00
FramaJosephK
a9c7914d31 Fix sondage date sans horaire + a11y studs/adminstuds + README Gitlab 2014-09-29 16:33:15 +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
FramaJosephK
67a9fa1e8b Accessibilité et ergonomie sur choix_date, adminstuds - remplacement bouton de langue par un select - Fix export CSV - découpage chaines de langue pour enlever le code html - Fix // et port dans get_server_name 2014-07-04 11:21:31 +02:00
FramaJosephK
07450ecb22 Accessibilité : title contextualisé selon l'étape ou les erreurs du formulaire - attribut lang sur <html> et liens du pied de page - aria-describeby pour les msg d'erreur - fix points de validation W3C - fix issue #45 2014-06-11 19:19:17 +02:00
pyg77
75e21b48e6 ./studs.php 2013-05-24 13:55:13 +02:00
pyg77
0d2f39aa40 FIX : regression sur classement des dates ajoutées a posteriori 2013-03-20 14:21:03 +01:00
pyg77
40ae347412 FIX : les dates ajoutées a posteriori etaient mal classees 2013-03-19 12:47:01 +01:00
pyg77
6c58f774d0 ajout d'un bouton de validation si on a plus de 8 colonnes 2013-03-14 15:30:28 +01:00
pyg77
d5c1081b98 Meilleur affichage du cadre de rappel 2013-03-14 14:24:58 +01:00
pyg77
ccacf1a072 ajout d'un placeholder pour le nom 2013-03-14 14:12:09 +01:00
pyg77
4c6fc65603 Merge pull request #40 from fevrier/optional_REMOTE_USER
Rend optionnelle l'utilisation de la variable REMOTE_USER
2013-02-27 05:44:41 -08:00
Jean-Philippe Guérard
bebfc4b4e7 Headers separation fix
Fix the header separating character (needs to be \r\n).
Merge header creation with sendEmail.
2012-01-11 20:34:37 +01:00
Jean-Philippe Guérard
f8f277e929 Fix encoding of the From header 2012-01-09 02:18:25 +01:00
Jean-Philippe Guérard
848dcc5370 Fix encoding for To and Subject headers 2012-01-09 01:26:44 +01:00
Jean-Philippe Guérard
23464be59b Add an option to disable the use of REMOTE_USER 2011-12-29 20:32:33 +01:00
framatools
52f954ed5e UTF 8 error while fix issue #19 : damn issue... 2011-07-04 22:24:38 +02:00
framatools
b033b8121d Fix really issue #19 :-) 2011-07-04 22:08:39 +02:00
Simon Leblanc
be16c63fd7 First try for issue #13 : OK with Firefox and IE>=8 but not with Webkit 2011-07-04 21:33:58 +02:00
Simon Leblanc
7ec1a2fc8e fix issue #19 : convert html entities in the mail send 2011-07-04 11:36:31 -07:00
Simon Leblanc
022b96e5fa Modification de la feuille de style d'impression 2011-06-27 01:34:06 +02:00
Simon Leblanc
9e350b5869 Le formulaire prend maintenant l'url complète du sondage pour une meilleure lisibilité lors de la validation du formulaire 2011-06-27 00:39:58 +02:00
Simon Leblanc
8f05ffe463 Correction dans l'URL affichée (problème lorsque OpenSondage n'est pas à la racine du site 2011-06-27 00:37:17 +02:00
Simon Leblanc
0ceb48915d Autoriser un utilisateur a pouvoir mettre des commentaires pour d'autres utilisateurs 2011-06-27 00:34:04 +02:00
Simon Leblanc
497e72bf1f Autoriser un utilisateur a pouvoir remplir le sondage pour d'autres utilisateurs 2011-06-27 00:26:31 +02:00
pyg77
a6086a5c39 regression sur envoi email 2011-06-25 11:23:59 +02:00
pyg77
18f7bf8b1b correction bug envoi mail 2011-06-25 01:06:15 +02:00
pyg77
06a388283e nombreuses modifs : cf changelog 22 et 23 juin 2011-06-23 16:52:10 +02:00
pyg77
588b0e4688 Nombreuses modifs de forme (CSS, graphisme) et qq modifs de fond 2011-06-23 01:21:56 +02:00
Simon Leblanc
2bfca20c1a support line break in comment (poll and user) 2011-05-22 02:39:49 +02:00
Simon Leblanc
7d5c2a6fb8 Delete php warning and secure SQL 2011-05-21 18:46:44 +02:00
Simon Leblanc
c56e3b3b4d Clean URL and add title of poll in head 2011-05-20 02:52:22 +02:00
Simon Leblanc
4f380d8f8d clean code (identation, if with {) 2011-05-15 03:56:54 +02:00
Simon Leblanc
475556c0e3 STUdS fork 2011-05-15 01:32:47 +02:00