Commit graph

126 commits

Author SHA1 Message Date
Finn
813f4af63f New routes added 2017-09-19 14:41:11 +01:00
Finn
78964d7297 Made endpoints org only 2017-09-18 17:31:29 +01:00
Finn
e388d360ac Changed endpoints in API 2017-09-18 17:26:35 +01:00
Finn
b224182e61 Merge branch 'development' into finn/OrgDataAPI 2017-09-18 15:39:14 +01:00
Finn
9cb4f7c782 Added error rewrites and added feedback test 2017-09-18 13:31:30 +01:00
Tom Bloor
4176c61c00 Remove post user/day, and reformat validators 2017-09-08 12:46:54 +01:00
Finn
662219fc6e Initial API for submission added 2017-09-08 11:41:21 +01:00
Tom Bloor
05c20b9e85 Added new snippets endpoints 2017-09-07 16:03:01 +01:00
Finn
edac93bef5 Changed deletion method to POST and working test 2017-09-07 13:20:53 +01:00
Finn
416ac6343a Added ability to delete transactions successfully 2017-09-07 12:53:01 +01:00
Finn
06858fc005 Added outgoing transaction list API 2017-09-05 16:37:31 +01:00
Finn
e7631dd90e Code for viewing single transaction added 2017-09-05 13:44:58 +01:00
Tom Bloor
4cc8aad367 Fix admin user test for entity upgrade 2017-08-31 16:38:03 +01:00
Tom Bloor
92afe1c531 Fix admin organisation management tests 2017-08-31 14:52:45 +01:00
Tom Bloor
3ae8a43df4 Added organisation graph endpoint and tests 2017-08-29 12:42:27 +01:00
Tom Bloor
e886eb2ce6 Remove explicit undef returns 2017-08-25 14:44:36 +01:00
Finn
4c7836c9f6 Initial server code added for updating user account 2017-08-23 16:50:04 +01:00
Finn
a1b6dd8d2a Add Organisation Code 2017-08-21 15:10:33 +01:00
Finn
36a5fdf2e3 Fixed code and added test for reading and editing Organisations 2017-08-18 16:46:49 +01:00
Finn
db2dc9fc0f Can now edit valid and pending organisations 2017-08-18 12:56:14 +01:00
Finn
c6726682d4 Leaderboards corrected and fixes 2017-08-14 16:10:14 +01:00
Finn
b44a256434 Updated DB and added more DateTime 2017-08-14 12:45:54 +01:00
Finn
9affdbf08e Removed redundant file and fixed user updat e+ added tests 2017-07-27 14:18:22 +01:00
Finn
2b3c13518b Added API endpoints and user info retrieval 2017-07-26 18:28:14 +01:00
Tom Bloor
4644f9217e Added pagination to organisation pages 2017-07-25 15:44:16 +01:00
Tom Bloor
1df31d79a0 Merge pull request #20 from Pear-Trading/TBSliver/Organisation-Approve
Fix organisation approving, Closes #7
2017-07-25 14:42:49 +01:00
Tom Bloor
9dd808c547 Fix issue with approving organisations. 2017-07-25 14:33:11 +01:00
Tom Bloor
01c7db6844 Removed admin api endpoint as unused 2017-07-25 14:23:03 +01:00
Tom Bloor
b44cb5fe1d Fix issue with turning quote_names on with case insensitive search 2017-07-25 14:14:30 +01:00
Finn
09f9cf9d48 Feedback HTML views added and fixes made 2017-07-24 15:21:10 +01:00
Finn
d38758ac90 New Feedback API endpoint added 2017-07-24 13:20:22 +01:00
Tom Bloor
6f5e0fb31e Remove unneccessary endpoint for AgeRanges 2017-06-13 21:45:23 +01:00
Tom Bloor
e2a56227c8 Add command to create leaderboards 2017-06-12 22:41:17 +01:00
Tom Bloor
9cd9f8079e Add leaderboard stats endpoint and trends 2017-06-06 22:30:02 +01:00
Tom Bloor
9586d1a637 Add more stats to default stat set 2017-05-16 22:45:49 +01:00
Tom Bloor
86955c0d1c Started with basic today stats 2017-05-16 21:30:38 +01:00
Tom Bloor
e31ec73934 Forgot to define $c in CORS endpoints 2017-04-25 20:19:41 +01:00
Tom Bloor
0292ac7e2e Improve CORS to cover all api routes, including get and post 2017-04-25 20:13:34 +01:00
Tom Bloor
fed62641ad Change to * rule for CORS 2017-04-25 19:48:29 +01:00
Tom Bloor
1cd92d1e12 Added a basic CORS options for api/* 2017-04-25 19:47:50 +01:00
piratefinn
a4ce60407e Did test and routing fixes and dependency fix 2017-04-24 17:42:07 +01:00
Tom Bloor
98f15a67af Added organisations page to admin interface 2017-04-24 12:49:18 +01:00
Tom Bloor
1598909958 Started on user day entry 2017-04-23 16:59:35 +01:00
Tom Bloor
b03b7ccc5f Added error flag to validation errors and added age_range api endpoint 2017-04-23 14:02:10 +01:00
Tom Bloor
a097db2017 Fix home page upload to use json api instead of seperate upload code 2017-04-21 23:38:12 +01:00
Tom Bloor
261751886b Remove final unused helper 2017-04-21 22:13:41 +01:00
Tom Bloor
3be6289fc3 Finish major rework of schema 2017-04-21 22:12:53 +01:00
Tom Bloor
d0cbb215d8 refactor user table and setup timestamp auto setting 2017-04-21 20:52:14 +01:00
Tom Bloor
6bfd516d76 Remove more old helpers and deprecate db helper 2017-04-21 20:03:51 +01:00
Tom Bloor
4c5f27976c Change proof storage to have a settable folder 2017-04-21 19:54:28 +01:00
Tom Bloor
c40a480361 Refactored Pending and Valid orgs and admin-approve test 2017-04-21 14:14:51 +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
94583f61bf Refactored entire api auth code, and upload endpoint 2017-04-20 01:27:18 +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
98d4309b67 Move use statement and refactor register to use mojo validators 2017-04-18 12:38:39 +01:00
Tom Bloor
1466ea84eb Initial user admin page 2017-04-18 10:44:07 +01:00
Tom Bloor
0a32b05b6c Started working on registration page on website, with validation 2017-04-08 18:25:34 +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
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
85444b1c70 Make endpoints under /api apart form in testing 2017-04-05 00:44:49 +01:00
Tom Bloor
b6064cc985 Added header for use during dev 2017-04-04 22:21:57 +01: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
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