Commit Graph

389 Commits

Author SHA1 Message Date
James Cole
5846431b34 Various code coverage changes and code updates. 2018-07-12 21:32:58 +02:00
James Cole
5665f127aa Improve code quality. 2018-07-09 19:24:08 +02:00
James Cole
d05a1e0260 Specify return types. 2018-07-08 12:28:42 +02:00
James Cole
b315882f58 Various code cleanup. 2018-07-08 12:08:53 +02:00
James Cole
2f2f907ffe Various code optimalisations. 2018-07-08 07:59:58 +02:00
James Cole
ddc1d81665 Fix tests, improve coverage. 2018-06-02 06:11:13 +02:00
James Cole
cde9c4a2bc
Update copyright statements. 2018-05-11 10:08:34 +02:00
James Cole
e126427809
Improve code quality and fix test coverage. 2018-04-28 10:27:33 +02:00
James Cole
13b78bdc20
Code cleanup 2018-04-28 06:23:13 +02:00
James Cole
6f0e1c79ac
Fix #1353 2018-04-28 05:42:47 +02:00
James Cole
246cb36836
Expand support for trusted proxies configuration. 2018-04-27 07:01:03 +02:00
James Cole
592901b143
Code for @1346 2018-04-21 20:36:42 +02:00
James Cole
1a8293d9ef
Fix view for transaction controller. 2018-04-16 19:25:33 +02:00
James Cole
a3c34e6b3c
Code cleanup 2018-04-02 15:10:40 +02:00
James Cole
be5c44af61
Update some code, add security txt file. 2018-03-28 19:37:59 +02:00
James Cole
6a6482dc7f
Finish up bunq import routine. 2018-03-24 18:55:02 +01:00
James Cole
6a1d39d5f8
Add newlines and strict type declarations. 2018-03-19 13:23:26 +01:00
James Cole
b12872e5de
Various code cleanup. 2018-03-11 16:24:07 +01:00
James Cole
aad0864018
Various code cleanup [skip ci] 2018-03-10 22:38:20 +01:00
James Cole
dd2f3c861b
Optimize imports. 2018-03-10 20:30:09 +01:00
James Cole
648a6dca42
Expand install routine. 2018-03-10 07:17:05 +01:00
James Cole
f68a307eeb
Fix file names, ignore installer in test env 2018-03-07 21:04:10 +01:00
James Cole
82e7479cfe
Force fresh config var [skip ci] 2018-03-07 21:01:46 +01:00
James Cole
d8ac817c91
Middleware log. [skip ci] 2018-03-07 20:56:52 +01:00
James Cole
0a056ad02d
Upgrade to Laravel 5.6 #1221 2018-03-07 20:37:00 +01:00
James Cole
fb5323c283
Code to facilitate #1123 2018-03-07 20:21:36 +01:00
James Cole
d52d8d7970
Expand exception code and fix demo user redirect. 2018-03-07 05:51:51 +01:00
James Cole
a97bfc92e1
Add newlines and strict types 2018-03-05 19:35:58 +01:00
James Cole
7542175258
Improve test coverage. 2018-03-03 17:16:47 +01:00
James Cole
9475fef8f6
Implement user API and first tests. 2018-03-03 08:12:18 +01:00
James Cole
2e61bb7375
Fix tests. 2018-02-10 09:22:04 +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
c460419166
Final fixes for API binder. 2018-02-09 15:01:22 +01:00
James Cole
d2a8819dd4
Merge branch 'apifix' into develop
* apifix:
  Fix issues with API authentication.

# Conflicts:
#	app/Api/V1/Controllers/BillController.php
#	app/Http/Middleware/HttpBinder.php
#	app/Transformers/AttachmentTransformer.php
#	app/Transformers/BillTransformer.php
#	app/Transformers/NoteTransformer.php
#	routes/api.php
2018-02-09 14:57:39 +01:00
James Cole
d393c693de
Fix issues with API authentication. 2018-02-09 14:47:37 +01:00
James Cole
eacc1da157
Implement multi purpose binder 2018-02-07 11:13:04 +01:00
James Cole
fae7dabbc2
Split binder in api and http binder 2018-02-07 10:49:06 +01:00
James Cole
1ef28cbc02
Changes to repair API auth 2018-02-04 13:41:59 +01:00
James Cole
f50550d79c
Fix unit tests 2018-01-25 20:38:50 +01:00
James Cole
49a95a08fe
More friendly demo user message. 2018-01-25 19:02:14 +01:00
James Cole
7c70732247
Some light refactoring. No changes. 2018-01-25 18:41:27 +01:00
James Cole
e881bb55a7
Improve code coverage. 2017-12-26 17:34:59 +01:00
James Cole
9e3f31f2f0
Improve testing of middleware. 2017-12-26 17:33:53 +01:00
James Cole
08b743ddcb
Expand test coverage. 2017-12-23 17:42:07 +01:00
James Cole
8bd76d1ff0
Various code cleanup. 2017-12-22 18:32:43 +01:00
James Cole
4b869f0d9e
Middleware does not fire when user is not logged in. 2017-12-21 19:55:28 +01:00
James Cole
a69aad878e
Fix #1056 2017-12-19 19:25:50 +01:00
James Cole
1f6e42afd9
Update copyright [skip ci] 2017-12-17 14:44:05 +01:00
James Cole
78335e5814
Expand tests, do code cleanup. 2017-12-17 14:30:53 +01:00
James Cole
b08af77c98
Fixed a lot of tests and associated code. 2017-12-17 14:06:14 +01:00
James Cole
1d58d519a0
Unrelated code cleanup. 2017-12-16 19:48:31 +01:00
James Cole
089214709f
Remove wrong copyright blocks [skip ci] 2017-12-10 08:56:11 +01:00
James Cole
f7b1168e7c
Code cleanup for scrutinizer. 2017-11-25 08:54:52 +01:00
James Cole
781ca052d8
Code cleanup. 2017-11-22 21:12:27 +01:00
James Cole
3cb3c7f60f
Code for 2fa 2017-11-22 20:20:57 +01:00
James Cole
e8e0a44cca
Fix for #1002 2017-11-18 16:30:45 +01:00
James Cole
ffca858b8d
Code clean up. 2017-11-15 12:25:49 +01:00
James Cole
649dca77f5
Code clean up. 2017-11-15 10:52:29 +01:00
James Cole
8707bc6612
Code cleanup. 2017-11-08 09:05:10 +01:00
James Cole
d2ab03061f
Various code cleanup. 2017-11-05 19:49:20 +01:00
James Cole
654b9d2022
Various code cleanup. 2017-10-29 20:02:34 +01:00
James Cole
d3c34ca155
Update service provider. 2017-10-28 07:31:12 +02:00
James Cole
7f26b4e7a7
Overrule Laravel middleware [skip ci] 2017-10-27 18:56:38 +02:00
James Cole
1a325f4978
Some code cleanup. 2017-10-22 20:13:02 +02:00
James Cole
0358d45614
Make new Sandstorm user an admin. 2017-10-21 21:51:09 +02:00
James Cole
ac461d64a8
New copyright notice. 2017-10-21 08:40:00 +02:00
James Cole
e68594a93b
Various code cleanup. 2017-10-05 11:49:06 +02:00
James Cole
ebcd8dbd7c
Set trusted proxies value from config if present. #882 2017-10-02 18:19:17 +02:00
James Cole
91e96aa4b9
New code for email address change in profile. See #857 2017-09-26 08:52:16 +02:00
James Cole
5e900736f8
Various code cleanup. 2017-09-14 17:40:02 +02:00
James Cole
768c7e53b4
Show message when locale is invalid. 2017-09-14 16:12:07 +02:00
James Cole
436017baee
Introduce version to template. Rename Javascript URI 2017-09-12 19:57:41 +02:00
James Cole
8823666aa9
CSRF middleware separated. 2017-09-09 22:03:54 +02:00
James Cole
c40be5299c
Kernel middleware in separate commit. 2017-09-09 22:02:20 +02:00
James Cole
595596d73f
Apparently this is changed in PHPStorm’s formatting templates so there you go [skip ci]. 2017-04-09 07:44:22 +02:00
James Cole
222b3008d5
Expanded test coverage. 2017-03-24 11:07:38 +01:00
James Cole
8c6972d12d
Various code cleanup. 2017-02-25 05:57:01 +01:00
James Cole
201db34936
Update various sandstorm files. [skip ci] 2017-02-22 21:27:39 +01:00
James Cole
f7642beb7c Better 2fa handling 2017-02-17 20:15:17 +01:00
James Cole
65a899bf25 Clean up session code 2017-02-17 20:14:22 +01:00
James Cole
5d0cdc4ffa
Various code cleanup. 2017-02-17 06:42:36 +01:00
James Cole
4ff5f526ba
Add new lines to files. 2017-02-16 22:33:32 +01:00
James Cole
ec146d4cbe
Make sure the /javascript/ url’s are ignored. 2017-02-12 16:50:35 +01:00
James Cole
959a1a08f0
Tell view whether we’re in Sandstorm.IO mode. 2017-02-05 08:27:23 +01:00
James Cole
dc348a72c8
Various new scripts to improve sandstorm.io experience. 2017-02-04 08:42:06 +01:00
James Cole
e67709e339
Make index significantly simpler. 2017-01-10 18:25:03 +01:00
James Cole
19990f49b0
Update amount thing, simpler code (I hope). Includes config for negative values. 2017-01-08 17:54:52 +01:00
James Cole
8208d44466
This should fix locale information for specific languages. It’s not perfect yet though. 2017-01-08 16:55:02 +01:00
James Cole
daf3a95db0
Updated laravel, removed GitHub move announcement. 2017-01-04 09:28:49 +01:00
James Cole
eb8f5512c5
Charts will respect decimal places #506 2016-12-30 11:51:58 +01:00
James Cole
f44336f7aa
Remove a lot of stuff that deals with user activation. 2016-12-28 17:07:44 +01:00
James Cole
b6aa79bb38
Various code cleanup. Removed executable flags, added newlines. 2016-12-22 19:42:45 +01:00
James Cole
653692ade0
Try to test for confirmation errors. 2016-12-09 07:20:48 +01:00
James Cole
efe290d96c
This fixes the tests. 2016-12-07 20:45:26 +01:00
James Cole
f4887bbbf7
More routes and pages fixed. 2016-12-06 08:15:53 +01:00
James Cole
bebfbf0b90 Fixing routes 2016-12-06 06:52:17 +01:00
James Cole
43c32abfe8 Various code cleanup. 2016-11-26 13:02:44 +01:00
James Cole
8c9f90f1b4
Some code cleanup. 2016-11-26 09:01:00 +01:00
James Cole
1ba35f73e1
Fixed a test 2016-11-19 16:00:20 +01:00
James Cole
f653bc5f6e Expand firefly config. 2016-11-07 18:49:35 +01:00
James Cole
21fb426524 Make sure date is localised. 2016-10-28 18:16:30 +02:00
James Cole
a7e5fcc806 Move some stuff over to AJAX thing. 2016-10-25 18:53:54 +02:00
James Cole
b355c18e0c Some code cleanup and copyright cleanup. [skip ci] 2016-10-05 06:52:15 +02:00
James Cole
a95099fa46 Update FF configuration. 2016-09-18 19:57:21 +02:00
James Cole
d25d0454fc Code clean up 2016-09-16 12:15:58 +02:00
James Cole
63fb435002 Expand code. 2016-09-16 10:50:19 +02:00
James Cole
d00fbe4eb3 More code for 5.3 2016-09-16 06:48:38 +02:00
James Cole
5c4d010bde Code cleanup. 2016-08-12 15:10:03 +02:00
James Cole
617a5c0606 Fix date range. 2016-06-23 08:01:15 +02:00
James Cole
ec18165698 Fixed #267 2016-06-11 07:38:30 +02:00
James Cole
307e6a2337 Renamed fields #267 2016-06-11 06:36:46 +02:00
James Cole
b80d8cf774 Move date picker stuff to new method. 2016-06-11 06:33:51 +02:00
James Cole
a74a646777 Code cleanup. Moving closer to new release. 2016-05-20 17:53:03 +02:00
James Cole
5c7df5c04d
Copyright notices. [skip ci]
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-05-20 12:41:23 +02:00
James Cole
3c3a83330d More moving stuff around. 2016-05-20 11:02:07 +02:00
James Cole
66d7fd7d4c Declare strict types. 2016-05-20 08:57:45 +02:00
James Cole
3344bb7263 Code cleanup. 2016-05-02 20:49:19 +02:00
James Cole
a9c026884d Fix null pointer. 2016-04-10 21:31:00 +02:00
James Cole
ad402021ed Basic user admin. 2016-04-03 07:07:17 +02:00
James Cole
3277858c5a Code cleanup. [skip ci] 2016-04-01 16:44:46 +02:00
James Cole
c6ac81dcf6 Some more confirmation things. 2016-03-29 13:52:51 +02:00
James Cole
742f2c8d9f New middle ware for user activation. 2016-03-29 11:55:49 +02:00
James Cole
6602b1587a Some scrutiniser related code cleanup. 2016-03-20 16:46:26 +01:00
James Cole
ef6ef57e67 Various code cleanup things. 2016-03-19 16:51:52 +01:00
James Cole
dc172476e1 Make sure the two factor auth pages are not accessible when already authenticated using two factor. 2016-03-19 16:29:01 +01:00
James Cole
83f200f5a2 This is the two factor middleware. #219 2016-03-19 16:23:09 +01:00
James Cole
ababdacf89 Some code cleanup
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-03-14 20:53:56 +01:00
James Cole
b22774a599 Logout blocked accounts. 2016-02-07 07:36:31 +01:00
James Cole
ca3b0a2ab1 It's called a route [skip ci] 2016-02-06 22:16:59 +01:00
James Cole
62f76d08ad It's called a route [skip ci] 2016-02-06 22:16:30 +01:00
James Cole
92bff24d43 It's called a route [skip ci] 2016-02-06 22:15:16 +01:00
James Cole
eddd3e508f Force blocked users to logout. 2016-02-06 22:14:51 +01:00
James Cole
8f7f263a48 Declare strict type. 2016-02-05 12:08:25 +01:00
James Cole
7343304284 Code cleanup. 2016-02-04 07:28:39 +01:00
James Cole
e5b4a55d8e Some code cleanup things courtesy of SensioLabs. 2016-01-28 21:33:45 +01:00
James Cole
167c057e8a Removed executable rights. 2016-01-28 21:22:26 +01:00
James Cole
3d69dc786d Some minor code cleanup. 2016-01-27 21:52:21 +01:00
James Cole
e6db49c20c Some tests. 2016-01-17 15:48:18 +01:00
James Cole
7bf75128a8 Some cleaning up courtesy of PHPStorm. 2016-01-15 23:12:52 +01:00
James Cole
41f200e630 Some code cleanup. 2016-01-15 13:08:25 +01:00
James Cole
2003d37a9a Fix for php 5.6 thing. 2016-01-09 16:10:12 +01:00
James Cole
caa1ff120a Built more binders. 2016-01-09 15:53:11 +01:00
James Cole
d439dceac1 New middleware. 2016-01-09 15:39:02 +01:00
James Cole
2980860377 Did some code cleanup. Comments and headers mostly. 2016-01-09 08:20:55 +01:00
James Cole
9fcb00f10b Fixed some date range problems. 2016-01-09 07:46:11 +01:00
James Cole
e622774775 Move to better spot 2016-01-08 20:48:34 +01:00
James Cole
ba32a665f1 Update middleware after upgrade to Laravel 5.2 2016-01-08 16:00:57 +01:00
James Cole
265dd37212 Cleanup and add various warnings. 2016-01-02 16:31:14 +01:00
James Cole
e892c9a824 Followed up on some inspections. 2016-01-01 21:49:27 +01:00
James Cole
635b9f9dba instance check. 2015-12-28 07:39:48 +01:00
James Cole
51b45b4ed4 Code cleanup. 2015-12-28 07:12:47 +01:00
James Cole
a6d71988f2 Replaced some language calls. 2015-12-24 08:35:08 +01:00
James Cole
9b40cc6881 Fix locale setting for Carbon. 2015-12-20 08:19:26 +01:00
James Cole
c1ba591b26 Rename languages. 2015-12-19 20:54:27 +01:00
James Cole
ac61dfae6b File reformatting. 2015-12-18 16:38:50 +01:00
James Cole
791d12fbb4 Fix for issue #123 2015-11-22 11:25:15 +01:00
James Cole
9f992f003d Fix redirect loop. 2015-11-01 08:03:41 +01:00
James Cole
f4ade470df Remove if statements. 2015-07-25 18:48:48 +02:00
James Cole
9b83974bff Improve the cron controller. Force blocked users to logout. 2015-07-24 13:17:47 +02:00
James Cole
faa128d41e Made a cron controller. 2015-07-22 19:09:17 +02:00
James Cole
774d4844a9 Another try to fix csrf 2015-07-22 17:58:06 +02:00
James Cole
c00bcd78cc Some dependency clean up. 2015-07-07 19:09:45 +02:00
James Cole
a465cb2191 Remove all references to reminders. 2015-06-22 21:31:12 +02:00
James Cole
40b3097374 Lots of cleanup and stuff. 2015-06-06 23:09:12 +02:00
Scrutinizer Auto-Fixer
58859eb35a Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-06-05 08:40:26 +00:00
James Cole
3a06a6ac07 Removed unnecessary code. 2015-06-05 09:51:52 +02:00
James Cole
d483005219 Expanded some tests. 2015-06-05 07:49:07 +02:00
James Cole
cc7c2e952c Code cleanup [skip ci] 2015-06-03 21:25:11 +02:00
James Cole
409ec2e086 Should fix tests. 2015-06-03 21:15:52 +02:00
James Cole
a7f6848e53 Lots of stuff gets cached now. 2015-06-03 18:22:47 +02:00
James Cole
2ace7c3ca0 Some code cleanup [skip ci] 2015-05-27 07:27:05 +02:00
Scrutinizer Auto-Fixer
14a7cd05b1 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-05-26 18:57:31 +00:00
Scrutinizer Auto-Fixer
571cac6644 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-05-26 17:50:09 +00:00
James Cole
39f2de6b90 Cleanup code [skip ci] 2015-05-25 22:04:24 +02:00
James Cole
74f098e718 Some new translations [skip ci] 2015-05-25 21:39:05 +02:00
James Cole
60f7f1fc16 New build routine. 2015-05-24 21:07:22 +02:00
James Cole
b7433683d8 Cleanup cleanup [skip ci] 2015-05-24 20:57:27 +02:00
James Cole
61930b5b51 Code cleanup [skip ci] 2015-05-24 15:03:45 +02:00
James Cole
11a494cacf Remove some middleware, fix cleanup [skip ci] 2015-05-24 12:53:47 +02:00
James Cole
ff3c9676b5 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 09:05:08 +02:00
James Cole
055f97dab1 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 09:03:52 +02:00
James Cole
8a867e71a1 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 09:02:27 +02:00
James Cole
b8275b4734 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 09:01:38 +02:00
James Cole
36b951b146 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 09:01:07 +02:00
James Cole
c5a5f17643 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 09:00:11 +02:00
James Cole
16b909c4df Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 08:59:23 +02:00
James Cole
92b7648e03 Encrypt more stuff in the cleanup routine [skip ci] 2015-05-23 08:58:21 +02:00
James Cole
ca46ebe3b2 Encrypt bill amounts [skip ci] 2015-05-23 08:57:02 +02:00
James Cole
676e48254a Whoops [skip ci] 2015-05-23 08:55:16 +02:00
James Cole
b15b55227d Add another cleanup routine. [skip ci] 2015-05-23 08:54:25 +02:00
James Cole
1c2cbd5b40 New stuff for encrypted amounts. 2015-05-23 07:47:36 +02:00
James Cole
54c6ca9f45 Expanded some tests. 2015-05-22 20:25:12 +02:00
James Cole
c10efbb170 Also encrypt meta data for reminders. 2015-05-22 19:19:18 +02:00
James Cole
a496ad5814 Simple routine to encrypt entries which were not encrypted yet. 2015-05-22 19:18:00 +02:00
James Cole
ffb11b01a6 Some new translations. 2015-05-21 07:44:44 +02:00
James Cole
95ef691077 Fixed some more reports and charts. [skip ci] 2015-05-20 07:07:46 +02:00
James Cole
01cd3333e4 Fixing tests. 2015-05-17 10:36:11 +02:00
James Cole
63050907b9 Code cleanup. 2015-05-17 10:30:18 +02:00
James Cole
6b8194261f Clean up and simplify code. 2015-05-17 10:01:47 +02:00