Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable31] enh: Fix display default expire date, add tests & tiny refactors #50695

Merged
merged 6 commits into from
Feb 6, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 6, 2025

Backport of #50655

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

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

nfebe added 4 commits February 6, 2025 12:55
Since `ShareEntryLink` component is used to both create and display/list the share links,
we should only set default expiration date on `share.expireDate` when we know is a new share.

Otherwise, we overidding data from the backend.

Signed-off-by: nfebe <[email protected]>
@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Feb 6, 2025
@backportbot backportbot bot added this to the Nextcloud 31 milestone Feb 6, 2025
@nfebe nfebe force-pushed the backport/50655/stable31 branch from 9097446 to 08f50dc Compare February 6, 2025 13:12
@nfebe
Copy link
Contributor

nfebe commented Feb 6, 2025

/compile

@nfebe nfebe marked this pull request as ready for review February 6, 2025 13:13
Signed-off-by: nextcloud-command <[email protected]>
@AndyScherzinger AndyScherzinger merged commit b9b2d7b into stable31 Feb 6, 2025
186 of 187 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/50655/stable31 branch February 6, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants