Commit Graph

141 Commits

Author SHA1 Message Date
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 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 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 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 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 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
Baptiste Lemoine d8b745a1d1 comment anti flood policy 2020-01-21 10:32:56 +01:00
Baptiste Lemoine 6969ff9818 comment data in get poll by id 2020-01-20 17:27:59 +01:00
Baptiste Lemoine 2d69b4a18d start email to owner listing polls 2020-01-02 16:34:23 +01:00
Baptiste Lemoine 518373f591 ugly way to retrieve poll properties because of jsmserializer config not working as expected 2019-12-01 15:36:31 +01:00
Baptiste Lemoine cfb6b9f65b return modifier token when creating a voting stack 2019-11-28 17:09:07 +01:00
Baptiste Lemoine 087fbafd6a 🐛 fix vote stack adding 2019-11-28 17:00:17 +01:00
Baptiste Lemoine fceb2be35d protect config with password 2019-11-28 16:48:35 +01:00
Baptiste Lemoine 6c0ba2ddd6 create poll with choices to create 2019-11-28 16:18:41 +01:00
Baptiste Lemoine fc40302aa4 advance on choice create 2019-11-28 14:16:56 +01:00
Baptiste Lemoine 010f07230d valid schema 2019-11-28 11:51:25 +01:00
Baptiste Lemoine a0842f3b7c continue newVoteStackAction 2019-11-27 21:46:35 +01:00
Baptiste Lemoine 6dd7b46e7a 📖 some doc and start to create a vote 2019-11-27 20:55:59 +01:00
Baptiste Lemoine 2c113e9e23 routine deletion 2019-11-20 11:24:54 +01:00
Baptiste Lemoine e2846a6c73 hop 2019-11-12 17:26:56 +01:00
Baptiste Lemoine 216d1902cc add vote action started, changed some routes 2019-11-12 12:04:38 +01:00
Baptiste Lemoine 130cd313c0 add comment action with a new owner 2019-11-12 11:52:09 +01:00
Baptiste Lemoine f3d7b0773d delete actions and responses codes 2019-11-12 11:44:09 +01:00
Baptiste Lemoine d6fe2a6285 advance on posting a comment on a poll 2019-11-06 15:01:39 +01:00
Baptiste Lemoine 7e79048b59 expose config for poll 2019-11-06 14:54:04 +01:00
Baptiste Lemoine 9123faf3f1 add choices and votes links in DB 2019-11-06 14:35:07 +01:00
Baptiste Lemoine 7340b020ec creation from an existing user works 2019-11-06 12:49:30 +01:00
Baptiste Lemoine 6b4994b35a can create poll 2019-11-06 12:27:46 +01:00
Baptiste Lemoine 13cd182f3c start creation endpoint 2019-11-06 11:23:43 +01:00
Baptiste Lemoine 2c2c24b1bb start to expose fields of poll 2019-11-05 17:31:07 +01:00
Baptiste Lemoine 452083c74c fixture with polls and owner 2019-11-05 17:22:30 +01:00
Baptiste Lemoine 85f643bcce more endpoints 2019-11-05 16:31:27 +01:00
Baptiste Lemoine 8aa8be308e basic conf for endpoints and local webserver to run 2019-11-05 12:16:16 +01:00
Baptiste Lemoine 7fcca42673 Add initial set of files 2019-10-24 13:06:51 +02:00