Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
Raul Ferreira Fuentes
270b03949c Run cs-fix
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com>
2022-04-05 18:30:56 +02:00
Raul Ferreira Fuentes
575b885a3a Catch specific exceptions (not the parent IMapperException) in StackMapper::findStackFromCardId()
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com>
2022-04-05 17:24:37 +02:00
Raul Ferreira Fuentes
ac5524efdf Optimise queries when preparing card related notifications
Signed-off-by: Raul Ferreira Fuentes <raul@nextcloud.com>
2022-04-05 14:46:37 +02: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
4e92faa517 Do not error on deprecated methods for now
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-28 14:48:52 +01: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
5536188892 Keep 18 compatibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-01 11:02:46 +02:00
Julius Härtl
6d2971a548 Force order by id as second sorting key
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-16 13:17:56 +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
Manuel Arno Korfmann
ef4ce31c47 refactoring and stack undo delete early wip
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

stack soft delete done

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

stack undo delete done

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>

stack undo: code review remarks and fixes

Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info>
2018-08-15 20:33:30 +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
c45bb71084 Fix phpstorm inspection issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-10-17 01:17:37 +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
Julius Haertl
6dc6f924cf Rename to RelationalEntity to avoid naming collission 2017-01-31 13:43:35 +01:00
Julius Haertl
b0dd73b811 Fix Entity for php 5.6 2017-01-31 13:39:25 +01: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
f0aa3777b2 Remove IDb occurences 2017-01-09 21:32:40 +01:00
Julius Haertl
5d85771ac0 Disable ui elements if permissions are not sufficient 2016-10-29 02:08:28 +02:00
Julius Haertl
d16c767017 Fix double board list loading 2016-10-28 22:31:32 +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
b82b1ef2f0 Delete linked objects 2016-10-15 12:05:27 +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