Commit graph

47 commits

Author SHA1 Message Date
Finn
5b3ef1bf27 Tests fixed 2017-09-18 12:05:30 +01:00
Tom Bloor
25511ced69 Fix calculation mistake on leadearboard display 2017-09-15 12:54:36 +01:00
Tom Bloor
1ffabb3e94 Updated all endpoints to use new transaction value multiple 2017-09-13 16:07:23 +01:00
Tom Bloor
ffd9b43231 Remove tests against removed endpoint 2017-09-08 13:22:49 +01:00
Tom Bloor
6de616584a Add customer_range graph 2017-09-08 12:47:20 +01:00
Tom Bloor
ff466b4ed8 Added basic test for snippets data 2017-09-07 16:06:51 +01:00
Finn
8034844cec Merge pull request #50 from Pear-Trading/finn/TransactionViewAPI
Transaction API added
2017-09-06 17:52:56 +01:00
Tom Bloor
2c718e4337 Fix layout issue in upload test and change to using pure json 2017-09-06 16:13:00 +01:00
Finn
4e7c8bbfae Created test and fixed things
Still needs to spit out timezone on the datetime
2017-09-05 17:24:04 +01:00
Tom Bloor
cae2806ad2 Merge pull request #44 from Pear-Trading/finn/StopSameOrgPurchase
Stopped Orgs from buying for themselves & added to test
2017-09-05 12:20:25 +01:00
Finn
a463b99fa9 Stopped Orgs from buying for themselves & added to test 2017-09-05 12:03:49 +01:00
Tom Bloor
4d21de7bae Improved Graphs and added sales and purchase data graphs.
Includes an API change for development.
2017-09-04 17:29:28 +01:00
Tom Bloor
cca27b5475 Fix org graphs test for entity upgrade 2017-08-31 19:12:13 +01:00
Tom Bloor
dd6e21eb50 Fix upload tests for entity upgrade 2017-08-31 19:03:49 +01:00
Tom Bloor
e91863a3d7 Fixed stats endpoint for leaderboards on entity upgrade 2017-08-31 18:31:42 +01:00
Tom Bloor
8d205d62c2 Refactor stats test to use fixtures and fix stats endpoints for entity
update
2017-08-31 18:04:51 +01:00
Tom Bloor
2980fd129f Fix search test for entity upgrade 2017-08-31 17:54:25 +01:00
Finn
72813ff2a3 Made image upload optional 2017-08-31 11:41:38 +01:00
Tom Bloor
3bb18103c9 Remove debug items from graphs test 2017-08-29 12:43:13 +01:00
Tom Bloor
3ae8a43df4 Added organisation graph endpoint and tests 2017-08-29 12:42:27 +01:00
Tom Bloor
df7f1de1a6 Merge pull request #37 from Pear-Trading/TBSliver/Login-Info
Added extra info to login return
2017-08-25 16:15:16 +01:00
Finn
6cdc8891c3 Tests fixed 2017-08-25 15:47:54 +01:00
Tom Bloor
deba59dc00 Add test for showing display name and user type correctly 2017-08-25 15:17:12 +01:00
Tom Bloor
768cc38410 Refactor api login test 2017-08-25 15:14:43 +01:00
Finn
6f01bf2661 Fixed validation removing redundant code 2017-08-23 16:47:29 +01:00
Finn
efbcdbce84 Added system redundancy 2017-08-14 16:21:06 +01:00
Finn
c6726682d4 Leaderboards corrected and fixes 2017-08-14 16:10:14 +01:00
Finn
65d5bab444 Fixed errors and tests and updated DB 2017-08-14 15:04:24 +01:00
Finn
f9703b6561 Updated tests to include receipt datetime submission 2017-08-14 11:55:52 +01:00
Finn
9affdbf08e Removed redundant file and fixed user updat e+ added tests 2017-07-27 14:18:22 +01:00
Tom Bloor
5713f03cf2 Fix test
Needed to initialise a leaderboard for monthly stats
2017-07-20 16:41:35 +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
2bf595d135 fIx final few tests for age_range to year_of_birth change 2017-06-13 21:28:42 +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
9cd9f8079e Add leaderboard stats endpoint and trends 2017-06-06 22:30:02 +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
aed22d1c98 Change to having display_name and full_name for customers 2017-04-25 21:44:13 +01:00
Tom Bloor
1598909958 Started on user day entry 2017-04-23 16:59:35 +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
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
68b66d431c Reworked api login to just need a session_key for everything 2017-04-18 22:31:08 +01:00