Commit Graph

38 Commits

Author SHA1 Message Date
Madeorsk f168daf94d Do not show HTML for items labels. 2019-05-04 11:53:21 +02:00
Madeorsk 4c3241349e Add poll question in page title. 2019-02-24 14:52:23 +01:00
Madeorsk bf94ab7e1c JSON API: Add link to the result image. 2019-02-24 14:49:29 +01:00
Madeorsk 0db54c0446 Allow HEAD method for polls endpoints. 2019-02-24 14:36:44 +01:00
Madeorsk 9455338080 Merge branch 'tagada' 2019-02-24 14:16:41 +01:00
Madeorsk 3b24ecbb01 Add votes number in results image. 2019-02-24 14:02:09 +01:00
Madeorsk c41d9fdd07 Add link to the code in the footer. 2019-02-24 13:57:50 +01:00
Madeorsk f213622196 Mention the new webroot directory in README. 2019-02-24 13:55:35 +01:00
Madeorsk 73d932173a Moved index and static files in a webroot directory.
* Security improvement: index.php and static files are now in a webroot directory. The webserver should point to this directory instead of the one containing all the code and the configuration.
2019-02-24 13:50:50 +01:00
Madeorsk e4851eba92 Remove debug log from javascript. 2019-02-24 13:33:31 +01:00
Madeorsk dccf0a960c Add required PHP extensions in composer.json 2019-02-24 13:31:51 +01:00
Tagadda ec29bfe947 WIP: OpenGraph implementation 2018-08-28 10:47:20 +02:00
Madeorsk 1caad26fb9 Fixed division by zero. 2018-08-26 12:06:30 +02:00
Madeorsk 67efb77b0d Subdirectory handling. 2018-08-26 12:04:29 +02:00
Madeorsk d9395a0eb2 Reorganized poll formatting. 2018-08-26 11:11:48 +02:00
Madeorsk א fd5ea9044e Update README 2018-08-16 14:26:05 +02:00
Madeorsk 401adb726b Updated README and API documentation. 2018-08-16 14:16:50 +02:00
Madeorsk 7b0a619b0e Multiple choices and redirections
+ Now possible to allow multiple choices;
* Add partial settings support;
* Fixed and moved some redirections to appropriate pages;
* CSS adjustments.
2018-08-16 14:09:37 +02:00
Madeorsk b7ece5cdad General improvements.
+ Add a way to configure the db handler (default DB : BerkeleyDB 4);
+ Add a way to launch a database optimization on delete;
* Designed Multiple votes checkbox;
* Others minor improvements.
2018-08-16 12:56:53 +02:00
Tagadda 24f385d12d IP: Unique_ip is working!
+ Fix a ugly bug

TODO: Some style
2018-08-14 21:08:02 +02:00
Tagadda a6e986fb16 WIP: unique_ip ! do not merge
+ Unique_ip check
+ Checkbox

TODO: Add some style
TODO: Fix a bug when you vote
2018-08-14 19:20:01 +02:00
Madeorsk b763b1d9e6 Better results page, CSS organization, responsive design.
* Moved colors to $VERLAINE configuration variable.
* Colors in the options table result.
* Organized CSS in several files.
+ Responsive design!
2018-08-13 21:25:14 +02:00
Madeorsk f738330baf Merge remote-tracking branch 'origin/tagada' 2018-08-13 17:08:09 +02:00
Madeorsk ec3a86cc33 Result view & pie chart generation
+ Result view;
+ Pie chart generation (TODO: Add values for each color).

TODO: Organize JSON results.
2018-08-13 17:02:06 +02:00
Tagadda a0333c7065 WIP: DELETE Redirect on error 2018-08-13 16:22:35 +02:00
Tagadda 9469ffb88b DELETE: Change HTTP Status Code to 204 2018-08-13 15:23:26 +02:00
Tagadda 7a29c6265b Delete a Poll 2018-08-13 15:20:39 +02:00
Tagadda d5ab16135d Remove id from Option 2018-08-13 15:20:15 +02:00
Tagadda d0f1ffc456 Some more documentaion 2018-08-13 15:20:15 +02:00
Madeorsk e0b4db74c9 Merge branch 'master' of https://git.cant.at/Madeorsk/PollVerlaine 2018-08-13 14:51:52 +02:00
Madeorsk 4ca767b730 Vote handling for form and JSON. 2018-08-13 14:51:21 +02:00
Madeorsk א 559b9e19ac Merge branch 'tagada' of Madeorsk/PollVerlaine into master 2018-08-13 11:08:09 +00:00
Tagadda 57648296b5 206 Created 2018-08-13 13:02:25 +02:00
Tagadda a031045f66 Betterize the README, Set the Good email and some format 2018-08-13 13:02:09 +02:00
Madeorsk 9c4add0217 Poll visualisation.
Finished poll visualisation. TODO: Buttons now need to do things.
2018-08-12 22:18:31 +02:00
Madeorsk 5ac9b5d0e4 End of Home page, begin of Poll page and Configuration
* Finished Home page behavior;
* Started Poll (just the title for now);
* Changed POST /polls return code to 206 (CREATED);
+ Add a configuration file (only app_url inside of it for now).
2018-08-12 19:29:13 +02:00
Madeorsk cbb85097e3 Initial commit 2018-08-12 14:30:38 +02:00
Madeorsk א 89b496b23c Initial commit 2018-08-12 12:20:32 +00:00