Commit Graph

196 Commits

Author SHA1 Message Date
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
tykayn 4176922500 update send to user 2020-04-17 12:04:37 +02:00
Baptiste Lemoine cd74469ced dynamic mail title 2020-04-16 18:16:55 +02:00
Baptiste Lemoine f40eb596b4 add other mails 2020-04-16 18:14:59 +02:00
Baptiste Lemoine f6da68997d create a poll sends a mail to owner 2020-04-16 18:06:43 +02:00
Baptiste Lemoine fe59537bc6 use twig renderer 2020-04-16 18:03:09 +02:00
Baptiste Lemoine bfd938d190 tpl engine 2020-04-16 17:51:49 +02:00
Baptiste Lemoine 79c4bd2519 testing stuff 2020-04-16 17:40:00 +02:00
Baptiste Lemoine e235986483 other 2020-04-16 17:22:33 +02:00
Baptiste Lemoine bdd0325c82 try to send example template html 2020-04-16 17:11:01 +02:00
Baptiste Lemoine 8f8eda6109 update test send 2020-04-16 16:43:30 +02:00
Baptiste Lemoine 84f271ff5a refacto generic email send 2020-04-16 16:35:06 +02:00
tykayn 5187674167 tpl 2020-04-16 11:28:46 +02:00
tykayn 88da8b824a send mailer without swift 2020-04-16 11:24:56 +02:00
tykayn ac09cab3a0 more testing 2020-04-14 18:39:29 +02:00
tykayn 00fe90b66b remove date diff 2020-04-14 18:16:09 +02:00
tykayn 81b27811c2 hop email template 2020-04-14 18:13:48 +02:00
tykayn 9b7f2ebd32 send html template 2020-04-14 18:09:03 +02:00
tykayn 00f6fe6a10 content type mail 2020-04-13 17:35:57 +02:00
Kayn Ty a90fe5dd1a Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-04-12 16:19:19 +00:00
Baptiste Lemoine c133b1af99 test all emails 2020-04-12 18:04:10 +02:00
Baptiste Lemoine 7c9b97ac58 more emails 2020-04-12 17:50:25 +02:00
Baptiste Lemoine ca7dcceda7 test templates 2020-04-12 17:41:06 +02:00
Baptiste Lemoine 1e9c5074b2 mail service start 2020-04-12 17:35:57 +02:00
Baptiste Lemoine da39373a98 mail having containers 2020-04-12 17:28:30 +02:00
Baptiste Lemoine c796db6d7c action de test pour template de mail 2020-04-10 18:02:52 +02:00
Baptiste Lemoine 3f2ac02b65 send mail to owner added, return response 200 2020-04-10 17:21:31 +02:00
Baptiste Lemoine 61cdafe3b8 refacto email designs 2020-04-10 17:19:18 +02:00
Kayn Ty 582a4b7da1 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-02-04 14:24:37 +00:00
Baptiste Lemoine c2995e9799 handle modifier token 2020-02-04 12:38:07 +01:00
Kayn Ty f091781c54 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-30 12:53:08 +00:00
Baptiste Lemoine 158a795446 more stack fixtures 2020-01-30 12:25:58 +01:00
Baptiste Lemoine b3bdeb0d4a better fixtures 2020-01-30 11:49:36 +01:00
Baptiste Lemoine 7566c75af8 🐛 fix imports 2020-01-30 11:31:23 +01:00
Baptiste Lemoine 39722aba29 split controllers 2020-01-30 11:28:24 +01:00
Baptiste Lemoine 510e5303be enrich computed data 2020-01-30 11:19:36 +01:00
Kayn Ty 1341b06478 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-29 16:31:02 +00:00
Baptiste Lemoine 58c28474f8 fill missing ids in stacks 2020-01-29 17:26:16 +01:00
Baptiste Lemoine 86fe1d5720 compute vote counts in get poll config 2020-01-28 20:43:16 +01:00
Kayn Ty a17967c1f6 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-24 11:15:34 +00:00
Baptiste Lemoine 64a770d99a return polls as a poll field, not data 2020-01-24 12:15:20 +01:00
Kayn Ty 647c2d2716 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-24 11:08:47 +00:00
Baptiste Lemoine bead44c6bd admin key and found owner token 2020-01-24 12:08:39 +01:00
Kayn Ty 5be94cc1c1 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-24 11:07:05 +00:00
Baptiste Lemoine 69ccb84832 send admin key after a vote 2020-01-24 12:06:59 +01:00
Kayn Ty 222ffba0bf Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-24 11:01:29 +00:00
Baptiste Lemoine 6408adcb9d create choices for all the same time range start 2020-01-23 17:36:38 +01:00
Kayn Ty e9bfa38413 Merge branch 'master' of https://framagit.org/tykayn/date-poll-api 2020-01-23 15:19:17 +00:00
Kayn Ty e98ac442c8 hop 2020-01-23 15:19:07 +00:00
Baptiste Lemoine 4ff254d54a cration of poll up answers possible 2020-01-23 15:13:51 +01:00
Baptiste Lemoine 4de3dd7ca3 handle vote stack 2020-01-23 14:47:26 +01:00
Baptiste Lemoine 06f2a40e04 send email infos to a poll creator 2020-01-22 14:09:01 +01:00
Baptiste Lemoine 2c919610f7 global base url var, add swift mailer 2020-01-22 12:17:49 +01:00
Baptiste Lemoine 9d4a20783d url support in choices 2020-01-22 10:22:36 +01:00
Baptiste Lemoine 150dc50003 return arrays as such 2020-01-21 12:55:03 +01:00
Baptiste Lemoine a98f830800 fill more data in response of a get poll config 2020-01-21 11:10:18 +01:00
Baptiste Lemoine 585bdc9f19 display vote stack data in new vote 2020-01-21 10:46:29 +01:00