Commit Graph

6126 Commits

Author SHA1 Message Date
dependabot[bot]
37dc741415 Merge pull request #3686 from nextcloud/dependabot/composer/phpunit/phpunit-9.5.20 2022-04-02 02:06:25 +00:00
dependabot[bot]
d92fc77787 build(deps-dev): Bump phpunit/phpunit from 9.5.19 to 9.5.20
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.19 to 9.5.20.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.19...9.5.20)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 01:01:33 +00:00
Clemens Sonnleitner
0bee828773 Fix wording to represent the code behavior
Signed-off-by: Clemens Sonnleitner <clemens.sonnleitner@web.de>
2022-04-01 23:17:58 +02:00
Nextcloud bot
2b57924fe2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-31 02:41:38 +00:00
Nextcloud bot
0527749291 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-30 02:39:29 +00:00
Nextcloud bot
d9542ada7f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-29 02:39:50 +00:00
Nextcloud bot
d2f2b5ebf5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-28 02:38:57 +00:00
dependabot[bot]
48b42a3951 Merge pull request #3675 from nextcloud/dependabot/npm_and_yarn/minimist-1.2.6 2022-03-26 08:05:25 +00:00
dependabot[bot]
d6313a908d build(deps): Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 05:27:09 +00:00
dependabot[bot]
ec89fd8186 Merge pull request #3673 from nextcloud/dependabot/github_actions/shivammathur/setup-php-2.18.0 2022-03-26 05:26:10 +00:00
dependabot[bot]
0c3128b5dc build(deps): Bump shivammathur/setup-php from 2.17.1 to 2.18.0
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.17.1 to 2.18.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.17.1...2.18.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 03:02:09 +00:00
dependabot[bot]
c553771137 Merge pull request #3672 from nextcloud/dependabot/npm_and_yarn/master/nextcloud/vue-5.2.1 2022-03-26 03:01:31 +00:00
dependabot[bot]
c28f8079d3 build(deps): Bump @nextcloud/vue from 5.1.1 to 5.2.1
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v5.1.1...v5.2.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 02:02:43 +00:00
Nextcloud bot
4399f4d14c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-25 03:07:25 +00:00
Tobias Speicher
daf6442c13 Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-24 15:47:29 +01:00
Nextcloud bot
bba6e48257 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-24 02:38:32 +00:00
Valdnet
b10dbf8097 Merge pull request #3666 from nextcloud/Valdnet-patch-1
l10n: Delete space
2022-03-23 09:10:33 +01:00
Valdnet
7a5eca2dee l10n: Delete space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-03-23 08:49:58 +01:00
Julius Härtl
b9e428807d Merge pull request #3560 from Ben-Ro/master
Sort boards non case sensitive
2022-03-22 09:42:51 +01:00
Julius Härtl
48cd27594f Merge pull request #3650 from nextcloud/bugfix/3649
Handle description shortening more gracefully
2022-03-22 09:02:40 +01:00
ben
62d68edc17 fixes nextcloud/deck#3410
Signed-off-by: ben <git@rott.io>
2022-03-22 08:51:53 +01:00
Julius Härtl
48db989781 Handle description shortening more gracefully
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:48:32 +01:00
Julius Härtl
4027f407f7 Merge pull request #2496 from nextcloud/transfer-ownership
Transfer ownership
2022-03-22 08:43:17 +01:00
Julius Härtl
c6aef45d8c Adjust documentaion wording
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:30 +01:00
Julius Härtl
23f0b16a5a Handle board exceptions more gracefully
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:30 +01:00
Julius Härtl
3f29cd97db Cover case where the owner is preserved
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:30 +01:00
Luka Trovic
9f1dbd137c fix: feedback
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 08:23:29 +01:00
Luka Trovic
bf9a51d167 feat: add api endpoint and UI to transfer a board to a different user
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 08:23:29 +01:00
Julius Härtl
3a4ec07103 fix: test cases using generator
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:29 +01:00
Julius Härtl
4f13977851 Reuse single board transfer for all user boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:29 +01: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
a032287cb5 cleanup test cases
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
b774090032 fix: Psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:28 +01:00
Julius Härtl
72134e6e95 fix: unit tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:28 +01:00
Luka Trovic
e4551bde15 feat: add integration test for transferring board ownership with data
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 08:23:28 +01:00
Luka Trovic
4615926e3b fix: integration tests
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 08:23:28 +01:00
Luka Trovic
afbbdf0c1b fix: unit test & psalm static code analysis issues
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 08:23:28 +01:00
Max
b6340e54c3 fix: queries with the new base mapper in BoardMapper
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 08:23:28 +01:00
Max
4d3dabb94e fix: Assignment is the new AssignedUsers
Signed-off-by: Max <max@nextcloud.com>
2022-03-22 08:23:27 +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
Julius Härtl
3e7d0d3d72 Use proper description of what gets transferred
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:27 +01:00
Julius Härtl
ba7cadf9d5 Fix card mapper query for transfer
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
8b45495214 Check type before transfer card participants ownership
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>

temp
2022-03-22 08:23:26 +01:00
Sergey Shliakhov
e3750a709d Fix wrong class name
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 08:23:26 +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
3d269e28f4 Add tests
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 08:23:26 +01:00