Commit graph

444 commits

Author SHA1 Message Date
Tom Bloor
5713f03cf2 Fix test
Needed to initialise a leaderboard for monthly stats
2017-07-20 16:41:35 +01:00
Finn
16abfe34ea Fixed rank sending and added leaderboard creation script 2017-07-20 11:56:24 +01:00
Finn
4f09483f59 Front page stat sending added 2017-07-19 17:29:00 +01:00
Tom Bloor
7010825707 Merge branch 'TBSliver/Leaderboard-Position-Fix' into development 2017-06-13 23:15:29 +01:00
Tom Bloor
559e88d9e6 Fix issue with leaderboard position due to wrong calculation of trend 2017-06-13 23:15:10 +01:00
Tom Bloor
1fb247c675 Merge branch 'TBSliver/Dev-Script-Fix' into development 2017-06-13 22:01:49 +01:00
Tom Bloor
2c96131905 Fix Dev script to use correct id for seller_id 2017-06-13 22:01:22 +01:00
Tom Bloor
ac9041f02a Merge branch 'TBSiver/Year-Of-Birth' into development 2017-06-13 21:48:46 +01:00
Tom Bloor
41072acc07 Remove age_range_id setting from dev_data script 2017-06-13 21:46:30 +01:00
Tom Bloor
6f5e0fb31e Remove unneccessary endpoint for AgeRanges 2017-06-13 21:45:23 +01:00
Tom Bloor
9523db7684 Remove register controller as no use anymore 2017-06-13 21:33:47 +01:00
Tom Bloor
bba724bc3b Fix dev_data script 2017-06-13 21:30:32 +01:00
Tom Bloor
2bf595d135 fIx final few tests for age_range to year_of_birth change 2017-06-13 21:28:42 +01:00
Tom Bloor
c702956777 fix admin approve and merge tests 2017-06-13 21:23:19 +01:00
Tom Bloor
170a056f37 Fix schema tests from year_of_birth change 2017-06-13 21:11:54 +01:00
Tom Bloor
51617a8cbb Move and fix search test 2017-06-13 21:06:53 +01:00
Tom Bloor
cee5a00d18 Rename and fix upload test 2017-06-13 21:05:27 +01:00
Tom Bloor
d73ddb6ba2 Remove AgeRange table and first pass of fixing tests 2017-06-13 21:02:24 +01:00
Tom Bloor
a1a608ea44 Merge branch 'TBSliver/DB-Deployment-Fixtures' into development 2017-06-13 20:21:55 +01:00
Tom Bloor
de0b58814e Improved leaderboard to remove previous items for recalculation 2017-06-12 23:41:19 +01:00
Tom Bloor
392d7f3a7a Fixed issue with undefined env var, and bad reverse counting of days 2017-06-12 23:30:40 +01:00
Tom Bloor
606d5bffc2 added dev data and transaction creation scripts 2017-06-12 23:22:34 +01:00
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