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

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

Merged
merged 5 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.

@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Feb 6, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.6 milestone Feb 6, 2025
Copy link
Contributor

@nfebe nfebe left a comment

Choose a reason for hiding this comment

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

Only some commits here can be backported, some changes are for the sidebar split which only starts from 31

@nfebe nfebe force-pushed the backport/50655/stable30 branch from 4d4c817 to c9e545b Compare February 6, 2025 13:31
@nfebe nfebe marked this pull request as ready for review February 6, 2025 13:32
@nfebe
Copy link
Contributor

nfebe commented Feb 6, 2025

/compile

@AndyScherzinger
Copy link
Member

@nfebe red CI check seems valid

nfebe and others added 5 commits February 6, 2025 22:14
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]>
Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe force-pushed the backport/50655/stable30 branch from 76bcac9 to baafbc4 Compare February 6, 2025 21:14
@nfebe
Copy link
Contributor

nfebe commented Feb 6, 2025

@nfebe red CI check seems valid

Indeed. I am not sure why the linting for master and 31 fails here (have not checked) but it should be fine now!

@AndyScherzinger AndyScherzinger merged commit e65409e into stable30 Feb 6, 2025
170 of 171 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/50655/stable30 branch February 6, 2025 22:01
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