Carl Schwan
5cf486150a
refactor: Fix psalm issues
...
- Add typing for most of the services, controllers and mappers
- Add api doc for mappers
- Use vendor-bin for psalm
- Use attributes for controllers
- Fix upload of attachments
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-09-28 11:49:06 +02: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
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
b4de6a8f96
fix: Chunk in-queries to 1000 items
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:43 +01:00
Julius Härtl
ba3cab1036
perf: Combine fetching acls for boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:26 +01:00
Julius Härtl
c739d543c2
chore: Fix new psalm errors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-12-30 14:08:31 +01:00
Julius Härtl
76fd901062
Handle circle deletion event and add cleanup job
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-11-11 10:24:02 +01:00
Carl Schwan
44481e1c2a
Switch from OC::$server->get to OCP\Server::get
...
And add a bit more typing to some classes + psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2022-05-12 10:55:36 +02:00
Raul
0c5b1a88a6
Run cs:fix
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-04-13 12:43:00 +02:00
Raul
815b8597d1
Use numeric typehint instead of int to allow for numeric strings to be passed to find methods. Fixes the psalm check.
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-04-13 12:39:39 +02:00
Raul
53e3a7ae7f
Removed redundant phpDoc block from constructors
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-04-13 10:43:14 +02:00
Raul
04974d37d6
Replace rowCount() with explicit count primitive function. This is necessary due to sqlite driver always returning 0 on rowCount (this is documented behaviour: https://www.php.net/manual/en/pdostatement.rowcount.php )
...
Signed-off-by: Raul <raul@nextcloud.com >
2022-04-13 10:38:32 +02:00
Raul Ferreira Fuentes
8399b00a10
Fix Entity class in AclMapper
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-11 19:46:05 +02:00
Raul Ferreira Fuentes
9244adee30
Various small fixes in mapper queries
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-11 18:44:27 +02:00
Raul Ferreira Fuentes
ec602f3e15
Update DeckMapper to extend QBMapper instead of deprecated Mapper
...
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com >
2022-04-11 18:24:41 +02:00
Julius Härtl
c2144373d9
fix: Properly handle limited scope for remapping users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
a45e46f80a
Allow transfer of single boards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:29 +01:00
Julius Härtl
e8ada52c37
Make queries work with the new base mapper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
fix: conflicts
2022-03-22 08:23:27 +01:00
Julius Härtl
fa7fcef470
Just cleanup old ACL rules, there are none for the board owner so nothing to cleanup or persist there
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
6106066460
Fix coding styles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
Signed-off-by: Max <max@nextcloud.com >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
7df4b7c4bf
Transfer deck ownership even if target user already participant of a board
...
https://github.com/nextcloud/deck/pull/1955#issuecomment-640392715
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:27 +01:00
Sergey Shliakhov
b45c454ce2
Fix code style
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
19a2aeb5e5
Update docs
...
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com >
fix: conflicts
2022-03-22 08:23:26 +01:00
Julius Härtl
b657967cac
Fix ParamNameMismatch occurences
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-06-10 08:01:27 +02:00
Julius Härtl
2de43a6725
Properly handle if the related board cannot be found in mappers
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-13 15:45:31 +01:00
Julius Härtl
f031717a54
Type hint IPermissionMapper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-10 15:25:25 +01: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
Julius Härtl
6901314382
Remove unused code
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-10-17 01:17:37 +02:00
Julius Härtl
a6b6842e2b
No not fail on nonexisting acl users/groups
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-05-03 13:25:58 +02:00
Julius Haertl
3e304a9ff2
Use display name for users and groups
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-04-27 13:08:10 +02:00
Scrutinizer Auto-Fixer
c01bfb5e44
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-01-31 13:01:52 +00:00
Scrutinizer Auto-Fixer
094aa6d636
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-01-31 09:28:59 +00:00
Julius Haertl
f936afd972
Rename permissions in backend
2017-01-19 11:03:33 +01:00
Julius Haertl
f0aa3777b2
Remove IDb occurences
2017-01-09 21:32:40 +01:00
Julius Haertl
c0c4010cf1
Check permissions in frontend
2016-11-06 22:07:37 +01:00
Julius Haertl
1faa3481f8
Cleanup mostly use statements
2016-10-28 00:04:08 +02:00
Julius Haertl
1167ca14a8
Fix not found acls and cleanup mappers
2016-10-28 00:03:00 +02:00
Julius Haertl
29c907ab7f
Various fixes
2016-10-14 14:25:26 +02:00
Julius Haertl
5388f2af69
Fix board ordering on rename
2016-08-24 01:58:54 +02:00
Julius Haertl
2deffacd98
Add SharingMiddleware for permission checks and small fixes
2016-08-24 01:22:45 +02:00
Julius Haertl
33e99b9e7c
move to PSR-4
2016-08-19 18:10:07 +02:00