Commit Graph
100 Commits
Author SHA1 Message Date
James Cole 211caa07dc Update edit and submit routines for transactions. 2018-02-24 14:31:20 +01:00
James Cole ac66e89edb Expand some tests. 2018-02-24 09:18:01 +01:00
James Cole 6fe5b50410 Expand view + JS for view to cope with new factory 2018-02-24 09:17:48 +01:00
James Cole 166cdad58b Some intermittent changes to storing journals. 2018-02-24 09:17:15 +01:00
James Cole 1a721ac6b5 Fix transactions. 2018-02-23 16:59:21 +01:00
James Cole 6591fa9fb4 Small adjustments to fix tests. 2018-02-23 16:21:28 +01:00
James Cole d804093f8b Expand destroy routine. 2018-02-23 15:13:30 +01:00
James Cole 5261b784b0 New validation 2018-02-23 15:13:23 +01:00
James Cole 5a188ceca3 Remove triggers 2018-02-23 15:13:16 +01:00
James Cole ce56cc538d Remove bad method. 2018-02-23 15:13:09 +01:00
James Cole 269433bf00 Refactor reconciliation routine 2018-02-23 15:13:01 +01:00
James Cole dae3371c69 Move common methods to traits 2018-02-23 15:12:47 +01:00
James Cole 38c1d332e2 Removed a lot of old spaghetti code. Now have to rewrite it 2018-02-22 20:13:00 +01:00
James Cole b627d42160 Code removal. The code removed from these classes must move to respective services. 2018-02-22 20:07:14 +01:00
James Cole 4e923057ae Clean up repository. 2018-02-21 21:11:44 +01:00
James Cole 35d0bd1985 Factory seems to work for update and create 2018-02-21 21:06:59 +01:00
James Cole 085eb650e7 Code cleanup. 2018-02-21 20:34:48 +01:00
James Cole b4157e8ce0 Build account update service. 2018-02-21 20:34:24 +01:00
James Cole 81221038f0 Expand services. 2018-02-21 18:42:15 +01:00
James Cole 9f37bf5875 Fix budget controller tests. 2018-02-21 09:23:20 +01:00
James Cole 140a5b20db Update transactions, delete splits. 2018-02-21 08:58:06 +01:00
James Cole e9b6b45fc4 Expand code to be able to handle updates. 2018-02-21 08:51:30 +01:00
James Cole f16760d607 Expand API validation. 2018-02-20 18:03:02 +01:00
James Cole 9d457787f7 Specify times for SQLite database. #1192 2018-02-20 17:17:14 +01:00
James Cole 4e6afd5afc Remove todo items [skip ci] 2018-02-19 20:32:44 +01:00
James Cole 36354c3846 Fix for #1111 2018-02-19 20:32:33 +01:00
James Cole 9f63dfb9cb Fix #1178 [skip ci] 2018-02-19 20:17:37 +01:00
James Cole cae4faad0a Expand tests. 2018-02-19 20:02:27 +01:00
James Cole e389d0f7fa Expand tests 2018-02-19 19:45:13 +01:00
James Cole 6b32213735 make findByName nullable. 2018-02-19 19:44:58 +01:00
James Cole b3fe24b713 Expand and refactor factories. 2018-02-19 19:44:46 +01:00
James Cole 5bb7530642 Expand tests. 2018-02-18 20:40:32 +01:00
James Cole 0b61c16eb0 Expand test cases for transaction creation through the API. 2018-02-18 19:55:35 +01:00
James Cole 77aced6734 Test every happy path for journal creation. 2018-02-18 16:35:26 +01:00
James Cole 94a7b6b9bd First create basic objects. Then, enhance. 2018-02-18 10:52:56 +01:00
James Cole f8bf6c163f Add some factory stuff before another refactoring. 2018-02-18 10:49:42 +01:00
James Cole eb0da038fb Expand tests and API code. 2018-02-18 10:31:15 +01:00
James Cole 6cda9f2900 Expand tests for account API. 2018-02-17 19:56:45 +01:00
James Cole ecd4a862ff Tests for API controllers 2018-02-17 14:46:12 +01:00
James Cole 632d50a0d0 Fix all tests. 2018-02-17 14:14:26 +01:00
James Cole 0f1cc46b71 Fix JSON tests 2018-02-17 12:33:42 +01:00
James Cole 60b225d61c Fix use of transformer. 2018-02-17 12:24:29 +01:00
James Cole 23e540a57a Fix missing methods in account controller test 2018-02-17 10:50:47 +01:00
James Cole 1998412a3c Remove API tests for the time being. 2018-02-17 10:48:31 +01:00
James Cole 7bbfb692de Move code to repository. 2018-02-17 10:47:32 +01:00
James Cole c6da990748 Expand decryption routine. 2018-02-17 10:47:18 +01:00
James Cole 049e57d578 New tests for object transformers. 2018-02-17 10:47:06 +01:00
James Cole 78ba0f749c tests for bill and attachment transformers. 2018-02-16 22:47:08 +01:00
James Cole 9cc1bfb4b5 Improve code for test coverage 2018-02-16 22:14:53 +01:00
James Cole 278b7ac52b First tests for transformers. 2018-02-16 22:14:34 +01:00
James Cole 645a29e22b Add API test suite 2018-02-16 22:14:08 +01:00
James Cole b22d30bc65 Add method to mark journals as completed. 2018-02-16 16:58:08 +01:00
James Cole 2ee0490141 Remove debug info. 2018-02-16 16:57:54 +01:00
James Cole 1fd783de69 Remove debug info. 2018-02-16 16:57:46 +01:00
James Cole 8073896965 Add request data for tags. 2018-02-16 16:57:35 +01:00
James Cole 8a26e43c40 Fix display for new transaction store. 2018-02-16 16:57:27 +01:00
James Cole a302aba3ab Expand journal repos 2018-02-16 16:45:03 +01:00
James Cole 0458058cb1 Update piggy bank transformer 2018-02-16 16:44:52 +01:00
James Cole 999bb5ed49 Add new transaction type repository 2018-02-16 16:44:21 +01:00
James Cole c9f4a1eb7b Add route binder to transaction 2018-02-16 16:43:57 +01:00
James Cole 45aa76afce Expand collector to return single journals. 2018-02-16 16:43:48 +01:00
James Cole e89a77efb1 New factories for the creation of journals and associated meta data. 2018-02-16 16:43:25 +01:00
James Cole 8f930d6dd5 Transaction request with full validation 2018-02-16 16:43:00 +01:00
James Cole 9d62b4c70d Add return types 2018-02-16 16:42:23 +01:00
James Cole 834032f58e Updated transaction controller 2018-02-16 16:42:13 +01:00
James Cole 33db99ffd3 Update find methods to return null 2018-02-16 15:19:19 +01:00
James Cole 28b00f6507 New routes for transaction 2018-02-16 15:18:07 +01:00
James Cole 6559076c48 New strings for validation 2018-02-16 15:17:55 +01:00
James Cole 60f6311e00 Rule to validate if object belongs to submitting user. 2018-02-16 15:17:36 +01:00
James Cole 574a5630e0 Add binder for transactions 2018-02-16 14:52:16 +01:00
James Cole d3294be1bc Add method that makes sure that URL's are expanded for page navigation/ 2018-02-16 14:51:59 +01:00
James Cole 22fdc81de2 Refactor transactions. 2018-02-13 21:04:15 +01:00
James Cole 370e9b25d1 Expand API. 2018-02-13 18:24:06 +01:00
James Cole 30f821af3e About controller for basic site info 2018-02-13 18:23:26 +01:00
James Cole 7a5aa1c39b Update and restructure YAML file for Docker. [skip ci] 2018-02-11 20:53:30 +01:00
James Cole f674df4422 Fix empty title. 2018-02-11 20:45:48 +01:00
James Cole c2da5931ec Expanded API code, wrote a bunch new transformers as well. 2018-02-11 20:45:33 +01:00
James Cole 94f6bd34c7 Fix some issues with semi-colon delimiters, see #1172 2018-02-11 15:52:24 +01:00
James Cole e066a6421c Fix #1172 2018-02-11 15:36:16 +01:00
James Cole ef338e2515 Fix #1174 2018-02-11 15:27:28 +01:00
James Cole dcf549261c Fix for #1175 2018-02-11 15:24:19 +01:00
James Cole 8b868b426a First API routes for accounts. 2018-02-11 08:08:08 +01:00
James Cole 2ef1022c92 Make sure bills API is consistent. 2018-02-11 07:46:34 +01:00
James Cole 9b3abd3b19 Expand transformers to include other objects. 2018-02-10 10:58:06 +01:00
James Cole db02fefcf4 Update composer. 2018-02-10 09:58:06 +01:00
James Cole 523ae83811 Show proper 404 page for JSON. 2018-02-10 09:57:56 +01:00
James Cole 4eb010f807 Use correct CSS in 404 page. 2018-02-10 09:57:47 +01:00
James Cole 4958f28052 Allow API to work with bills. 2018-02-10 09:57:31 +01:00
James Cole 7e727b63ed Use built-in PHPUnit in tests. 2018-02-10 09:57:05 +01:00
James Cole 138c38fbb5 Clean up code in validator. 2018-02-10 09:22:13 +01:00
James Cole 2e61bb7375 Fix tests. 2018-02-10 09:22:04 +01:00
James Cole fce4c9174d Fix for #1154 2018-02-10 08:21:35 +01:00
James Cole 2220963899 Remove guard from user model. 2018-02-10 08:21:20 +01:00
James Cole e69e6c1ce8 Would be nice to remove the references as well... 2018-02-09 19:28:16 +01:00
James Cole 0f09a9db4d Remove reference to guard from other bind support classes. 2018-02-09 19:24:30 +01:00
James Cole 53a6c10ada Remove reference to guard from models. 2018-02-09 19:24:15 +01:00
James Cole 14772469ed Remove reference to guard from binder 2018-02-09 19:23:31 +01:00
James Cole 55f13ef121 Code cleanup in 2FA middleware. 2018-02-09 19:12:46 +01:00
James Cole 95648c37b3 Various code cleanup. 2018-02-09 19:11:55 +01:00
James Cole ac98822a55 Fix for issue #1167 2018-02-09 16:47:01 +01:00