Commit graph

130 commits

Author SHA1 Message Date
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
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
8c424c02d3 Fix web portal upload basic form 2017-04-21 17:33:50 +01:00
Tom Bloor
786b69f54d Fix and refactor search test 2017-04-21 17:23:41 +01:00
Tom Bloor
cf28556d2f Fix issue in lib decleration 2017-04-21 17:23:23 +01:00
Tom Bloor
16d3e7344b Fix deploy script as executable 2017-04-21 17:23:11 +01:00
Tom Bloor
4a379ed76d Fixed registration test after refactoring 2017-04-21 14:57:04 +01:00
Tom Bloor
b48edea9fb Fixed admin-merge test after refactoring 2017-04-21 14:54:19 +01:00
Tom Bloor
9bc38c85ea Fixed upload test after refactoring 2017-04-21 14:16:48 +01:00
Tom Bloor
c40a480361 Refactored Pending and Valid orgs and admin-approve test 2017-04-21 14:14:51 +01:00
Tom Bloor
99ef319c3b Started refactoring pending orgs table 2017-04-21 12:42:31 +01:00
Tom Bloor
718d5f002e Merge branch 'development' into TBSliver/Receipt-Upload 2017-04-20 22:17:58 +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
1819bdf740 Merge pull request #3 from Pear-Trading/Finnk/Test-Fixes
Finnk/test fixes
2017-04-20 18:18:07 +01:00
piratefinn
2ea55daf33 Fixed texts now with strict# Please enter the commit message for your changes. Lines starting 2017-04-20 18:15:34 +01:00
Tom Bloor
d1add8ee7c Added ability to upload a receipt from the user page 2017-04-20 17:33:59 +01:00
piratefinn
d732eef5a3 fixes 2017-04-20 16:40:24 +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
ab9bfdf221 Attempted fix for user-history, skipping tests as needs major refactor
of code
2017-04-20 02:18:01 +01:00
Tom Bloor
42a3103958 Fixed search test after session_key refactoring 2017-04-20 02:04:13 +01:00
Tom Bloor
9dcfea95d7 Fixed admin-merge test after upload and session_key refactor 2017-04-20 02:01:39 +01:00
Tom Bloor
7eec666141 Fixed admin-approve tests after upload updates 2017-04-20 01:49:34 +01:00
Tom Bloor
94583f61bf Refactored entire api auth code, and upload endpoint 2017-04-20 01:27:18 +01:00
Tom Bloor
9974e6f07e Fixed user-history test with session refactor 2017-04-19 00:20:39 +01:00
Tom Bloor
de5e812950 Fix search tests from session refactor 2017-04-19 00:10:14 +01:00
Tom Bloor
4f892d19e7 fix basic test 2017-04-19 00:06:30 +01:00
Tom Bloor
03dc114236 Fixed admin-merge test after session refactoring 2017-04-19 00:03:25 +01:00
Tom Bloor
576966ba4c Fix admin approve test after session key changes 2017-04-18 23:50:19 +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
f01a7a9439 Fixed admin login test after refactoring 2017-04-18 22:48:00 +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
d3dab84d06 Added helpers for checking test coverage under windows 2017-04-18 13:22:48 +01:00
Tom Bloor
6f544b1209 Change to using memory sqlite db and schema based populating 2017-04-18 13:14:35 +01:00