Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f42c822
Add deck:transfer-ownership command
matchish May 21, 2020
c93aaeb
Update docs
matchish May 25, 2020
1189597
Add tests
matchish Jun 7, 2020
b8b3ac3
Fix code style
matchish Jun 7, 2020
d9b086f
Fix wrong class name
matchish Jun 8, 2020
a0f93a8
Check type before transfer card participants ownership
matchish Jun 9, 2020
bdf4631
Transfer deck ownership even if target user already participant of a …
matchish Jul 18, 2020
cfbc18d
Fix coding styles
matchish Jul 18, 2020
53386a7
Fix card mapper query for transfer
juliusknorr Nov 3, 2020
d742bc0
Use proper description of what gets transferred
juliusknorr Nov 10, 2020
f66c71e
Just cleanup old ACL rules, there are none for the board owner so not…
juliusknorr Nov 10, 2020
0d9cdc5
Make queries work with the new base mapper
juliusknorr Nov 10, 2020
9338ebb
fix: Assignment is the new AssignedUsers
max-nextcloud Feb 9, 2022
9de5f12
fix: queries with the new base mapper in BoardMapper
max-nextcloud Feb 9, 2022
989db47
fix: unit test & psalm static code analysis issues
luka-nextcloud Mar 4, 2022
c7c9302
fix: integration tests
luka-nextcloud Mar 8, 2022
f2456d7
feat: add integration test for transferring board ownership with data
luka-nextcloud Mar 10, 2022
975af7c
fix: unit tests
juliusknorr Mar 14, 2022
f573abe
fix: Psalm
juliusknorr Mar 14, 2022
a52664e
Allow transfer of single boards
juliusknorr Mar 14, 2022
376c7c7
cleanup test cases
juliusknorr Mar 14, 2022
c5d83e6
fix: Properly handle limited scope for remapping users
juliusknorr Mar 14, 2022
74e0149
Reuse single board transfer for all user boards
juliusknorr Mar 14, 2022
3bb99a9
fix: test cases using generator
juliusknorr Mar 14, 2022
691abb0
feat: add api endpoint and UI to transfer a board to a different user
luka-nextcloud Mar 14, 2022
9403fb1
fix: feedback
luka-nextcloud Mar 16, 2022
9fbdafb
Cover case where the owner is preserved
juliusknorr Mar 21, 2022
6e5fd9e
Handle board exceptions more gracefully
juliusknorr Mar 22, 2022
5408d4f
Adjust documentaion wording
juliusknorr Mar 22, 2022
3e6a80e
Fix tests and move to 7.3 as a min php version
juliusknorr Mar 22, 2022
658d358
Skip unavailable cache
juliusknorr Mar 22, 2022
2bd12ed
lint: fix eslint
juliusknorr Mar 22, 2022
71b78e8
Remove unused argument
juliusknorr Apr 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4']
php-versions: ['7.3', '7.4']

name: php${{ matrix.php-versions }} lint
steps:
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ ifeq (, $(shell which phpunit 2> /dev/null))
php $(build_tools_directory)/phpunit.phar -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
php $(build_tools_directory)/phpunit.phar -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
else
phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
phpunit -c tests/phpunit.integration.xml --testsuite=integration-database --coverage-clover build/php-integration.coverage.xml
endif

test-integration:
Expand Down
1 change: 1 addition & 0 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</background-jobs>
<commands>
<command>OCA\Deck\Command\UserExport</command>
<command>OCA\Deck\Command\TransferOwnership</command>
</commands>
<activity>
<settings>
Expand Down
1 change: 1 addition & 0 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
['name' => 'board#updateAcl', 'url' => '/boards/{boardId}/acl/{aclId}', 'verb' => 'PUT'],
['name' => 'board#deleteAcl', 'url' => '/boards/{boardId}/acl/{aclId}', 'verb' => 'DELETE'],
['name' => 'board#clone', 'url' => '/boards/{boardId}/clone', 'verb' => 'POST'],
['name' => 'board#transferOwner', 'url' => '/boards/{boardId}/transferOwner', 'verb' => 'PUT'],

// stacks
['name' => 'stack#index', 'url' => '/stacks/{boardId}', 'verb' => 'GET'],
Expand Down
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@
"email": "jus@bitgrid.net"
}
],
"config": {
"platform": {
"php": "7.3"
}
},
"require": {
"cogpowered/finediff": "0.3.*"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "^21@dev",
"phpunit/phpunit": "^9",
"christophwurst/nextcloud": "^22@dev",
"phpunit/phpunit": "^8",
"nextcloud/coding-standard": "^0.5.0",
"symfony/event-dispatcher": "^4.0",
"vimeo/psalm": "^4.3",
Expand Down
Loading