Skip to content

fix(SharingEntryLink): Show default password before create if any - #49115

Merged
nfebe merged 2 commits into
masterfrom
fix/48860/stop-silent-expiry-date-addition-on-link-shares
Nov 8, 2024
Merged

fix(SharingEntryLink): Show default password before create if any#49115
nfebe merged 2 commits into
masterfrom
fix/48860/stop-silent-expiry-date-addition-on-link-shares

Conversation

@nfebe

@nfebenfebe commented Nov 6, 2024

Copy link
Copy Markdown
Contributor

Prevent silent addition of expiration date to shares.

Resolves : #48860

Screenshots

No default expiration setExpiration enforcedDefault expiration set BUT not enforced
Screenshot from 2024-11-07 06-25-03Screenshot from 2024-11-07 06-19-48Screenshot from 2024-11-07 06-18-49

@nfebe
nfebeforce-pushed the fix/48860/stop-silent-expiry-date-addition-on-link-shares branch 3 times, most recently from 28c9676 to 808f07aCompareNovember 7, 2024 05:27
@nfebe
nfebe marked this pull request as ready for review November 7, 2024 05:32
@joshtrichards

Copy link
Copy Markdown
Member

Looks good!

Related: #46837 (not sure if this fixes that too)

Prevent silent addition of expiration date to shares.
Prevent silent addition for password to shares.
Both now have a `shareRequiresReview` check
Resolves : #48860
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@nfebe
nfebeforce-pushed the fix/48860/stop-silent-expiry-date-addition-on-link-shares branch from 808f07a to 6d3f5d3CompareNovember 8, 2024 09:07
@nfebe
nfebe enabled auto-merge November 8, 2024 09:07
@nfebe

nfebe commented Nov 8, 2024

Copy link
Copy Markdown
ContributorAuthor

Related: #46837 (not sure if this fixes that too)

Not exactly might require a separate PR. Took it.

@nfebe

nfebe commented Nov 8, 2024

Copy link
Copy Markdown
ContributorAuthor

/compile

@nfebe

nfebe commented Nov 8, 2024

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

@nfebe

nfebe commented Nov 8, 2024

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

@nfebe

nfebe commented Nov 8, 2024

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe
nfebe merged commit 2ec74f9 into masterNov 8, 2024
@nfebe
nfebe deleted the fix/48860/stop-silent-expiry-date-addition-on-link-shares branch November 8, 2024 10:21
@backportbot

Copy link
Copy Markdown

The backport to stable29 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable29
git pull origin stable29
# Create the new backport branch
git checkout -b backport/49115/stable29
# Cherry pick the change from the commit sha1 of the change against the default branch# This might cause conflicts, resolve them
git cherry-pick 6d3f5d39 1f17b2f8
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/49115/stable29

Error: Failed to push branch backport/49115/stable29: fatal: could not read Username for 'https://github.com': No such device or address


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@skjnldsv

Copy link
Copy Markdown
Member
VM1567 core-common.js:150691 [Vue warn]: Error in mounted hook: "TypeError: Cannot set properties of null (setting 'expireDate')"
found in
---> <SharingEntryLink> at apps/files_sharing/src/components/SharingEntryLink.vue
<SharingLinkList> at apps/files_sharing/src/views/SharingLinkList.vue
<SharingTab> at apps/files_sharing/src/views/SharingTab.vue
<NcAppSidebarTab>
<SidebarTab> at apps/files/src/components/SidebarTab.vue
<NcAppSidebarTabs>
<NcAppSidebar>
<Root>

@skjnldsv

skjnldsv commented Nov 8, 2024

Copy link
Copy Markdown
Member

@DanScharon

Copy link
Copy Markdown

the backport to stable29 has not made the cut, correct? Can you retry backporting please?

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ☑️ Done

6 participants

@nfebe@joshtrichards@skjnldsv@DanScharon@susnux@nextcloud-command