Commit Graph

39 Commits

Author SHA1 Message Date
Luka Trovic
b15254f1ed feat: update default content
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-02-13 14:18:47 +01:00
Julius Knorr
86cb011a5c style: Fix php-cs issues
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-12-17 09:22:00 +01:00
dependabot[bot]
ba3e97b73d Chore(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.2.1...v1.2.3)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 08:14:42 +02:00
Ferdinand Thiessen
beb563e74e refactor: Migrate away from deprecated ILogger interface to PSR-3
Mostly replace `ILogger` with `LoggerInterface` and some minor cleanup (constructor property promotion).
Some places used the deprecated `logException` this is easy to migrate by simply use the appropriate loglevel on the logger
and place the exception under the `exception` key in the context.
Also the manual checking of the configured log level is not needed, as this is already done by the logger.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-19 14:09:13 +02:00
Andy Scherzinger
be11113d32 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-07 15:51:49 +02:00
Julius Härtl
0985f24f57 chore: Fix php-cs-fixer errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-05 22:26:08 +02:00
Faraz Samapoor
b8566a3a0d Converts 'strpos()' calls to improve code readability.
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-05-10 08:55:42 +03:30
Côme Chilliet
f166552de0 Remove uses of Util:: loglevel constants removed from server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-02 13:54:56 +02:00
Julius Härtl
83fc4323f4 Keep exceptions http response generic and return the request ID for further tracing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-05 17:41:11 +01:00
Julius Härtl
0fc220baef Always log generic exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-25 11:05:53 +02:00
Julius Härtl
b4277ab28d Do not handle exceptions from page controller in the ExceptionMiddleware
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-11 10:37:32 +02:00
Julius Härtl
52febb396c Fix php cs issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-22 19:57:19 +02:00
Jakob Röhrl
725f99d8b8 update attachment
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2020-03-11 12:08:04 +01:00
Julius Härtl
fb06cac246 Move to OCS routes for new comments api
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-10 11:16:38 +01:00
Julius Härtl
257665c27a Move to middleware
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-26 12:41:24 +01:00
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