Skip to content

[stable22] Transfer ownership - #3665

Merged
juliusknorr merged 33 commits into
stable22from
backport/stable22/2496
Apr 11, 2022
Merged

[stable22] Transfer ownership#3665
juliusknorr merged 33 commits into
stable22from
backport/stable22/2496

Conversation

@juliusknorr

@juliusknorrjuliusknorr commented Mar 22, 2022

Copy link
Copy Markdown
Member

Backport of #2496

  • Drop PHP 7.2 from CI/Composer as it is not supported on 22 server
  • Adjust cases where the query builder is used on master but not stable22
  • Manual test of occ and UI

matchishand others added 29 commits March 22, 2022 14:17
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
fix: conflicts
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
temp
…board
#1955 (comment)
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
…hing to cleanup or persist there
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
fix: conflicts
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorrjuliusknorr changed the title [stable23] Transfer ownership[stable22] Transfer ownershipMar 22, 2022
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@luka-nextcloud

Copy link
Copy Markdown
Contributor

Looks good to me! 👍

await this.$store.dispatch('transferOwnership', {
boardId: this.board.id,
newOwner,
})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transferOwnership action has been called with two params: boardId and newOwner, but the action expects 3 params: boardId, newOwner and owner.

Comment threadsrc/store/main.js Outdated
},
async transferOwnership({ commit }, { boardId, owner, newOwner }) {
await axios.put(generateUrl(`apps/deck/boards/${boardId}/transferOwner`), {
owner,

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Drop owner since it is not used by the backend anyways

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
juliusknorr merged commit 498ed9d into stable22Apr 11, 2022
@delete-merged-branch
delete-merged-branchBot deleted the backport/stable22/2496 branch April 11, 2022 16:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@juliusknorr@luka-nextcloud@matchish@max-nextcloud