Commit Graph

24 Commits

Author SHA1 Message Date
Julius Härtl
0132dae215 Let ExceptionMiddleware properly return JSON on API related exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-22 13:41:03 +01:00
Julius Härtl
47a7e76a4d Catch DoesNotExistException to return proper API repsonses
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-15 21:15:23 +02:00
Ryan Fletcher
72aeb723a5 fixed up missing checks from labelService, BadRequestException is now extending StatusException
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-08-15 21:15:21 +02:00
Ryan Fletcher
d33dd3e0fc Moved BadRequestException checks to middleware, removed uneeded unit tests in BoardApiController
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
2018-08-15 21:15:20 +02:00
Scrutinizer Auto-Fixer
b633d82c5e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2018-05-12 11:10:23 +00:00
Julius Härtl
c45bb71084 Fix phpstorm inspection issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-10-17 01:17:37 +02:00
Julius Haertl
15e5a432b6 Improve logging of exceptions catched by SharingMiddleware 2017-02-27 11:27:49 +01:00
Julius Haertl
75168332e9 Cleanup Middleware 2017-01-13 16:47:15 +01:00
Julius Haertl
b0627d8979 Remove dark magic middleware and check permission in services 2017-01-13 16:36:36 +01:00
Julius Haertl
c0c4010cf1 Check permissions in frontend 2016-11-06 22:07:37 +01:00
Julius Haertl
7969f10761 More SharingMiddleware testing 2016-10-30 14:42:40 +01:00
Julius Haertl
83e2cb0a61 Add permission service 2016-10-30 13:20:21 +01:00
Julius Haertl
652ebd9c90 Add SharingMiddlewareTest 2016-10-29 15:15:18 +02:00
Julius Haertl
5d85771ac0 Disable ui elements if permissions are not sufficient 2016-10-29 02:08:28 +02:00
Julius Haertl
9bbe4b9137 PHPdoc and small fixes 2016-10-28 00:48:00 +02:00
Julius Haertl
1167ca14a8 Fix not found acls and cleanup mappers 2016-10-28 00:03:00 +02:00
Julius Haertl
df58d5627d Fix label assignment 2016-10-15 01:42:24 +02:00
Julius Haertl
29c907ab7f Various fixes 2016-10-14 14:25:26 +02:00
Julius Haertl
37681214f3 Fix label assignment 2016-09-03 10:52:20 +02:00
Julius Haertl
dacae044da Fix card creation 2016-09-01 11:56:43 +02:00
Julius Haertl
f4ac0c1b2f Add permission exception details and fix card view permissions 2016-08-31 14:05:50 +02:00
Julius Haertl
2deffacd98 Add SharingMiddleware for permission checks and small fixes 2016-08-24 01:22:45 +02:00
Julius Haertl
f58e544733 Add copyright statements 2016-08-16 13:53:50 +02:00
Julius Haertl
6a040f1470 Start implementing board sharing 2016-08-16 10:29:37 +02:00