Commit graph

1172 commits

Author SHA1 Message Date
Tom Bloor
6940006b06 Strip down deploy db script to basics 2017-06-12 23:22:22 +01:00
Tom Bloor
e2a56227c8 Add command to create leaderboards 2017-06-12 22:41:17 +01:00
Tom Bloor
1642b27c23 Removed other sql file for removing schema 2017-06-12 22:04:05 +01:00
Tom Bloor
2e0d705ca0 Removed old schema files which are useless now 2017-06-12 22:03:35 +01:00
Tom Bloor
9c27e74608 Updated README with better build status for devlepment and master branch 2017-06-12 22:03:17 +01:00
Tom Bloor
701b264801 Merge pull request #10 from Pear-Trading/TBSliver/Fix-Deploy-Script
Fix deploy script to set correct columns on deploy dev script
2017-06-12 21:43:58 +01:00
Tom Bloor
09526a80e4 Fix deploy script to set correct columns on deploy dev script 2017-06-12 21:42:53 +01:00
Finn
a366bff121 Merge pull request #8 from Pear-Trading/TBSliver/User-Name-Fix
Many Fixes and Improvements
2017-06-08 16:20:05 +01:00
Tom Bloor
9cd9f8079e Add leaderboard stats endpoint and trends 2017-06-06 22:30:02 +01:00
Tom Bloor
daeeac811c Change leaderboards to only follow customers 2017-06-05 22:59:31 +01:00
Tom Bloor
5e06f0a69b Added resultset for leaderboard for more consice code 2017-06-05 22:34:48 +01:00
Tom Bloor
7e11fc50bd Added get_latest and test for it on leaderboard 2017-06-05 22:15:27 +01:00
Tom Bloor
2e3bc489ea Finish tests for leaderboard schema output 2017-05-23 23:16:56 +01:00
Tom Bloor
bc12dbf8b0 Added leaderboard first pass stuff 2017-05-23 23:06:07 +01:00
Tom Bloor
00e98f874a Get sums to show 0 instead of undef for no data 2017-05-22 22:21:05 +01:00
Tom Bloor
9586d1a637 Add more stats to default stat set 2017-05-16 22:45:49 +01:00
Tom Bloor
a680d7b9df Remove today_avg as redundant due to other data 2017-05-16 21:46:44 +01:00
Tom Bloor
86955c0d1c Started with basic today stats 2017-05-16 21:30:38 +01:00
Tom Bloor
22abc4e464 Fix postcode issue on upload 2017-05-15 22:43:31 +01:00
Tom Bloor
6d86389768 Fix missed part from customer display name change 2017-05-08 20:54:50 +01:00
Finn
233d5d3371 Merge pull request #6 from Pear-Trading/TBSliver/Basic-CORS
Added Basic CORS for api endpoints, as well as other fixes
2017-04-27 13:05:06 +01:00
Tom Bloor
56fc868786 missed failout return from email validator 2017-04-26 20:58:24 +01:00
Tom Bloor
7614b7bc2e Possible fix for postcode validator not working all the time 2017-04-26 20:53:27 +01:00
Tom Bloor
ae6884202a Fixed issue with postcode validator 2017-04-25 23:33:35 +01:00
Tom Bloor
aed22d1c98 Change to having display_name and full_name for customers 2017-04-25 21:44:13 +01:00
Tom Bloor
286ecf11e1 Fixed issue with validator for postcodes 2017-04-25 20:50:34 +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
Tom Bloor
f3ec371388 Merge pull request #5 from Pear-Trading/finnk/fixes
Did test and routing fixes and dependency fix
2017-04-24 18:20:11 +01:00
piratefinn
a4ce60407e Did test and routing fixes and dependency fix 2017-04-24 17:42:07 +01:00
Finn
2acee95d86 Merge pull request #4 from Pear-Trading/TBSliver/Major-Rework
Major Rework
2017-04-24 13:00:16 +01:00
Tom Bloor
98f15a67af Added organisations page to admin interface 2017-04-24 12:49:18 +01:00
Tom Bloor
25c0d06211 Add specific include for fileparse in validators 2017-04-23 17:23:35 +01:00
Tom Bloor
fad90980f6 Removed unnecessary code and test 2017-04-23 17:02:01 +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
6fac2058bc Fixed deploy_db script after db changes 2017-04-23 14:01:50 +01:00
Tom Bloor
1d1b4aa1cf Change registration to be the same as the api docs 2017-04-22 19:35:19 +01:00
Tom Bloor
7e5211b7b7 Added basic readme file 2017-04-21 23:48:37 +01:00
Tom Bloor
7a555c040e Added travis CI file 2017-04-21 23:46:13 +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
00b0687136 Fixed token administration 2017-04-21 22:48:47 +01:00
Tom Bloor
17dacd83c3 Added bootstrapping for basic database stuff 2017-04-21 22:33:06 +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
dd7862d93d Refactored AccountToken table 2017-04-21 21:28:50 +01:00
Tom Bloor
f69b06bda2 Refactored customer table and fixed all tests form that 2017-04-21 21:20:47 +01:00
Tom Bloor
d0cbb215d8 refactor user table and setup timestamp auto setting 2017-04-21 20:52:14 +01:00