Commit Graph

18 Commits

Author SHA1 Message Date
Julius Härtl
7786c86f47 fix: Properly handle limited scope for remapping users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:22:39 +01:00
Julius Härtl
525a14c428 Allow transfer of single boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 14:22:39 +01:00
Luka Trovic
981fc8e16f fix: integration tests
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 14:15:15 +01:00
Luka Trovic
b7f3c2d140 fix: unit test & psalm static code analysis issues
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 14:15:15 +01:00
Max
05dbf67531 fix: Assignment is the new AssignedUsers
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 14:15:14 +01:00
Julius Härtl
a8c22482f6 Make queries work with the new base mapper
Signed-off-by: Julius Härtl <jus@bitgrid.net>

fix: conflicts
2022-03-22 14:15:14 +01:00
Sergey Shliakhov
16413735d2 Fix coding styles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 14:15:14 +01:00
Sergey Shliakhov
e70e7128c0 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 14:15:14 +01:00
Sergey Shliakhov
36a9d2e95c Check type before transfer card participants ownership
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>

temp
2022-03-22 14:15:14 +01:00
Sergey Shliakhov
d52697823d Fix code style
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 14:15:13 +01:00
Sergey Shliakhov
fc9fa5dc25 Update docs
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>

fix: conflicts
2022-03-22 14:15:11 +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
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
a461699d42 Adjust rename in tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:36:55 +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
9b366857ab Rename find to findAll
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:25:25 +01:00
Julius Härtl
d66068cdcd Move AssignmentMapper to query builder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:25:24 +01:00
Julius Härtl
67fe250248 Refactor class names to Assignment
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:25:24 +01:00