-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Conversation
There was a problem hiding this 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
4d4c817
to
c9e545b
Compare
/compile |
@nfebe red CI check seems valid |
Signed-off-by: nfebe <[email protected]>
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]>
…reate share Signed-off-by: nfebe <[email protected]>
Signed-off-by: nfebe <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
76bcac9
to
baafbc4
Compare
Indeed. I am not sure why the linting for master and 31 fails here (have not checked) but it should be fine now! |
Backport of #50655
Warning, This backport's changes differ from the original and might be incomplete⚠️
Todo
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.