Commit Graph

152 Commits

Author SHA1 Message Date
tykayn 2733c1f2a3 enable cors 2021-04-28 16:12:44 +02:00
tykayn 9781c2be2c update resp of poll display 2021-04-28 15:05:20 +02:00
Tykayn f4ce7056cd nullable ip 2021-04-27 12:52:17 +02:00
Tykayn 4bf2625908 cleanup src 2021-04-27 12:51:21 +02:00
Tykayn 94c02be927 use trait timestamp and replace 2021-04-27 12:51:10 +02:00
Tykayn ecdbf3fb33 format date string for choices in poll of date kind 2021-04-27 11:26:54 +02:00
Tykayn 8c2ad610a5 compute answers in choices 2021-04-27 11:17:41 +02:00
Tykayn 665cf6d173 enrich stats for choices 2021-04-27 11:11:34 +02:00
Tykayn 6831d8d1ae add ip on stack of vote 2021-04-27 10:41:21 +02:00
Tykayn eaee01838d uniform creation key created_at and format C 2021-04-27 10:30:45 +02:00
Tykayn 7f7265c851 reformat src folder 2021-04-27 10:22:16 +02:00
Tykayn 56c8b0a5c4 add timestamp trait 2021-04-27 10:21:21 +02:00
Tykayn 30c99568dd remove duplicate data 2021-04-26 15:43:33 +02:00
Tykayn 1d72bfe684 enrich display config of a poll 2021-04-26 15:21:19 +02:00
Tykayn 7c1fbf7347 reorganize displays 2021-04-26 15:14:25 +02:00
Tykayn dd1de88635 update fixtures 2021-04-26 13:47:44 +02:00
Tykayn 6626241ce8 make unique custom url for polls 2021-04-21 11:47:06 +02:00
Tykayn 2d2607d30b get protected pass route works 2021-04-21 11:44:06 +02:00
Tykayn 1570a1cf0f add dependency on fixtures 2021-04-21 11:30:22 +02:00
Tykayn 108cc473e4 advance on fixtures 2021-04-21 11:22:50 +02:00
Tykayn b6ca330826 advance on fixtures 2021-04-21 11:22:01 +02:00
Tykayn 8bc01198b8 globals twig support and website 2021-04-21 11:04:54 +02:00
tykayn aab2d74b19 Revert "add graphql bundle"
rearrange controllers for api and no api

This reverts commit 8fbd5462
2021-04-21 11:02:24 +02:00
Tykayn 21c594a2fd upgrade all, add migration from framadate v1 2021-04-20 16:14:34 +02:00
Tykayn 1e3f8d1c4a fix check slug 2021-02-24 10:59:31 +01:00
Tykayn a89a2dbf46 route for protected pass 2021-02-24 10:57:56 +01:00
Tykayn f540c6a640 return poll found by curstomUrl only, restrict access with pass protection, add default pass to fixture 2021-02-24 10:30:00 +01:00
Tykayn d1aa07aca6 up assets and homepage 2021-02-12 15:53:28 +01:00
Tykayn 0ba9617a23 link to base config 2021-02-05 15:33:38 +01:00
tykayn 8fbd546205 add graphql bundle 2020-10-28 15:46:39 +01:00
tykayn d286d6291e head and foot 2020-10-26 11:39:04 +01:00
Baptiste Lemoine 31dec906ea start migration admin action 2020-06-11 16:21:44 +02:00
Baptiste Lemoine cce2319a10 fix #18 env infos 2020-06-11 15:55:05 +02:00
Sébastien Touzé da0078e547 Add test on Comment, test on DELETE does not work as how route works is unclear, fix requirement constraint name on CommentController. 2020-05-23 18:35:45 +02:00
Sébastien Touzé 63ed7949a2 Add test for admin, fix issue on admin token parameter. 2020-05-23 16:31:59 +02:00
Sébastien Touzé 275a836464 Add tests for Pool, some are not fully working. Fix a crash on new_poll when request is incorrect. 2020-05-23 16:00:31 +02:00
Sébastien Touzé 4bd70f0fc7 Fix serialization with JMS Serializer for remainitn controllers anc methods. 2020-04-26 13:04:29 +02:00
Sébastien Touzé 1605754a63 Fix serialization of entities using JMS Serializer, done for PollController. 2020-04-26 12:33:11 +02:00
tykayn c5c3af3474 hop 2020-04-24 14:11:39 +02:00
tykayn 742bd5b093 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-04-24 14:02:31 +02:00
tykayn 835fbea23c change base route for api index to see the app.php page 2020-04-24 14:02:19 +02:00
Baptiste Lemoine ba0f803f2d slug null content answers, just code 2020-04-21 18:26:38 +02:00
Baptiste Lemoine 124439ee3c slug codes and null content 2020-04-21 18:21:03 +02:00
Baptiste Lemoine 2c609e2f09 change slug answers 2020-04-21 18:11:39 +02:00
Baptiste Lemoine ed59c30961 up slug path 2020-04-21 18:03:18 +02:00
Baptiste Lemoine 2836ccb137 create owner controller, change some route to be more RESTly 2020-04-21 17:59:58 +02:00
Baptiste Lemoine c251eac2fb success for updating a poll 2020-04-17 16:12:59 +02:00
Baptiste Lemoine 33a71d05e4 call to update a poll with a token 2020-04-17 16:12:35 +02:00
Baptiste Lemoine 603abc5332 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-04-17 16:02:32 +02:00
Baptiste Lemoine fdee3f07fe add call to check for uniq slug 2020-04-17 16:02:23 +02:00