Commit Graph

448 Commits

Author SHA1 Message Date
Tom Bloor 99ef319c3b Started refactoring pending orgs table 2017-04-21 12:42:31 +01:00
Tom Bloor 6596fd10aa Refactor Organisation table to easier column names 2017-04-20 22:17:13 +01:00
Tom Bloor e2cf58c895 Add reporting of pending orgs and transactions in admin section 2017-04-20 22:16:44 +01:00
Tom Bloor d1add8ee7c Added ability to upload a receipt from the user page 2017-04-20 17:33:59 +01:00
Tom Bloor 2cc670b58f Improve failed upload error 2017-04-20 14:02:30 +01:00
Tom Bloor e9f4888a8c Added filetype validation for upload 2017-04-20 13:58:45 +01:00
Tom Bloor 7f18aa7173 Refactor upload API to easier to read variables 2017-04-20 12:33:56 +01:00
Tom Bloor 94583f61bf Refactored entire api auth code, and upload endpoint 2017-04-20 01:27:18 +01:00
Tom Bloor 110a051a4e Fixed upload test and controller after updates to session key usage 2017-04-18 23:43:49 +01:00
Tom Bloor 5a1c6b0015 Removed all unneeded helpers from main codebase and removed deprecated
test
2017-04-18 22:44:59 +01:00
Tom Bloor 68b66d431c Reworked api login to just need a session_key for everything 2017-04-18 22:31:08 +01:00
Tom Bloor 1d02854c96 Initial work on Admin users page 2017-04-18 19:03:03 +01:00
Tom Bloor 13d1f8d4a7 Refactor session helper 2017-04-18 18:31:10 +01:00
Tom Bloor ddba771415 Update schema relationship name 2017-04-18 18:29:30 +01:00
Tom Bloor cf8154169b Refactor to use standard $c instead of $self 2017-04-18 17:38:58 +01:00
Tom Bloor a8b917808f Refactor dbh items in api register to dbic 2017-04-18 17:36:37 +01:00
Tom Bloor 98d4309b67 Move use statement and refactor register to use mojo validators 2017-04-18 12:38:39 +01:00
Tom Bloor 10738d7adc Move use statement to where its actually used 2017-04-18 10:59:30 +01:00
Tom Bloor 1466ea84eb Initial user admin page 2017-04-18 10:44:07 +01:00
Tom Bloor 36e8cfe1d0 Modified admin interfaces, factored common css out 2017-04-18 10:43:23 +01:00
Tom Bloor 208e45082f Fix issue with registration that was missed, fixed relationship name 2017-04-09 14:21:36 +01:00
Tom Bloor 1bb483bb5a Final minor pass of a full registration form on the website 2017-04-09 14:17:12 +01:00
Tom Bloor 704f429fa5 Added postcode validation and test for validators 2017-04-09 12:50:50 +01:00
Tom Bloor 0a32b05b6c Started working on registration page on website, with validation 2017-04-08 18:25:34 +01:00
Tom Bloor cb9819aa2e Added validation on Token adding and editing 2017-04-08 15:10:05 +01:00
Tom Bloor 58ab852f4c Added extra redirects and basic pages for getting between admin and user
side
2017-04-08 14:34:22 +01:00
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
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 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 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 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