Commit Graph

818 Commits

Author SHA1 Message Date
Tom Bloor 30c80679be Move to single login page instead of seperate admin login 2017-04-08 14:25:06 +01:00
Tom Bloor a78de6ea8e Added admin test and logout function 2017-04-08 13:38:54 +01:00
Tom Bloor b10daa469a Added token administration page set 2017-04-08 02:32:13 +01:00
Tom Bloor 61d609861a Added initial admin login page and backend page with authentication 2017-04-07 00:33:50 +01:00
Tom Bloor 998259f0ae Move api authentication to under command, add Authentication plugin 2017-04-06 23:12:28 +01:00
Tom Bloor f2f2a543fa Moved all API endpoints under /api, fixed all tests 2017-04-06 22:43:27 +01:00
Tom Bloor dbc2c59461 Moved all api endpoints to /api/* and added root controller 2017-04-06 22:19:36 +01:00
Tom Bloor 8bda8dba73 Refactored more helpers to use DBIC 2017-04-06 00:19:20 +01:00
Tom Bloor ce038fd46d Fix bind mismatch of adding \n to a number 2017-04-06 00:01:01 +01:00
Tom Bloor eba73ca903 Refactor various parts in root app module 2017-04-05 23:20:42 +01:00
Tom Bloor a6e282ebb5 Refactor schema into attribute 2017-04-05 22:43:08 +01:00
Tom Bloor 1b55fbeeca Fix search to user uppercase saerch in database 2017-04-05 00:45:08 +01:00
Tom Bloor 85444b1c70 Make endpoints under /api apart form in testing 2017-04-05 00:44:49 +01:00
Tom Bloor affa51d1e6 Added documentation of Upload endpoint 2017-04-04 22:22:22 +01:00
Tom Bloor b6064cc985 Added header for use during dev 2017-04-04 22:21:57 +01:00
Tom Bloor 3a08894641 Added SQL::Translator dependency for deploy_db 2017-04-04 22:20:38 +01:00
Tom Bloor 7f3a36a561 Ignore Vim swapfiles 2017-04-04 22:20:22 +01:00
Tom Bloor 744e20b510 Moved init script into scripts folder 2017-04-04 22:19:44 +01:00
Tom Bloor c1b999c3ed Added simple script for deploying the database 2017-04-04 22:19:23 +01:00
Paul Dill f6d2fe9ce3 Correct comments. 2017-03-10 19:07:23 +00:00
Paul Dill e284b14fff Make upload test use the JSON response value for the unvalidated organisation id. 2017-03-10 17:36:41 +00:00
Paul Dill 15d474d4d1 Add debug log message to admin-approve API which had been missed. 2017-03-09 17:00:27 +00:00
Paul Dill fd05760943 More helpful blank login page. 2017-03-09 16:48:49 +00:00
Paul Dill 345edaa5d6 Add semi-colon to admin table in schema. 2017-03-08 20:34:35 +00:00
Paul Dill 5a8b5ecc2d Update config and tests so deployment and testing use separate databases. 2017-03-08 18:52:04 +00:00
Paul Dill 1cd9cc8721 User history API for how much they have spent tested and implemented. 2017-03-08 18:50:25 +00:00
Paul Dill c27e8d80fc Added admin-merge API and test. 2017-03-06 03:35:49 +00:00
Paul Dill cc0da394a7 Added more tests to the admin-approval API and aesthetic changes to the test. 2017-03-05 19:07:32 +00:00
Paul Dill ac2563237a Add return JSON value to upload API when adding a new organisation, fix admin-approve test and fix admin-approve bug. 2017-03-05 17:32:38 +00:00
Paul Dill 5ddf707367 Aesthetic changes and change in test. admin-approve test still broken. 2017-03-05 16:01:44 +00:00
Paul Dill 7bfa65f4c3 Code cleanup 2017-03-02 15:46:35 +00:00
Paul Dill 1eafaf4ab1 Moved to full Mojolicious app. 2017-02-24 19:27:43 +00:00
Paul Dill 2828998a32 Admin approve API is done but test is broken. 2017-02-24 17:09:37 +00:00
Paul Dill cf0940f5f3 When submitting a transaction for a new organisation catenate the values for easier later retrieval. 2017-02-20 05:25:52 +00:00
Paul Dill ed5bbda6db Added search API and tests. 2017-02-20 04:23:14 +00:00
Paul Dill 67d764638a Added upload functionality and tests. 2017-02-19 00:36:41 +00:00
Paul Dill 92bb78faba Added log in/log out session functionality, added tests, updated schema and amended old tests. 2017-02-13 16:54:35 +00:00
Paul Dill 31fcb1bde8 Added more tests for the register api. 2017-02-01 12:07:51 +00:00
Paul Dill fc8b74fe13 Update register api, add testing for the register api, remove token api as this is now in register and add the database schema. 2017-01-31 15:15:46 +00:00
Paul Dill 74ccca28e2 Added basic is server online test. 2017-01-31 13:53:24 +00:00
Finn ba53a035e4 Update foodloopserver.pl 2016-10-31 16:19:58 +00:00
Finn 47d09d6215 Changed DB column names where relevant 2016-09-26 17:36:52 +01:00
piratefinn bf9cc55869 Added a more sensible server running message 2016-09-19 12:51:22 +01:00
piratefinn 1f23c616f7 Added debug code 2016-09-15 18:08:33 +01:00
Tom Bloor c967098d05 Added some log endpoints 2016-09-15 16:56:04 +01:00
Tom Bloor 8e5906f3de Added log folder and gitignore config 2016-09-15 16:55:27 +01:00
piratefinn d0865548ad Fixed an if statement 2016-09-12 12:27:07 +01:00
piratefinn b33757dfd8 Corrected some sub to helper 2016-09-08 17:29:56 +01:00
piratefinn 0682669823 Merge branch 'master' of https://github.com/Pear-Trading/Foodloop-Server 2016-09-05 17:53:24 +01:00
piratefinn 3eb310fc26 Added success calls to file upload 2016-09-05 17:52:45 +01:00