Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Feb 11, 2025

Backport of #50693

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.

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 requested review from artonge and sorbaugh February 11, 2025 19:25
@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Feb 11, 2025
@artonge artonge requested a review from nfebe February 12, 2025 11:22
@artonge artonge changed the title [stable28] [stable29] enh: Fix display default expire date, add tests & tiny refactors [stable28] enh: Fix display default expire date, add tests & tiny refactors Feb 12, 2025
@nfebe nfebe force-pushed the backport/50693/stable28 branch from 8a86f05 to 6c9032c Compare February 12, 2025 11:24
@nfebe nfebe marked this pull request as ready for review February 12, 2025 11:24
@nfebe
Copy link
Contributor

nfebe commented Feb 12, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@AndyScherzinger AndyScherzinger merged commit f47653b into stable28 Feb 12, 2025
55 of 56 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/50693/stable28 branch February 12, 2025 12:23
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