Uh oh!
There was an error while loading. Please reload this page.
Implement expiration date for federated shares - #25320
Conversation
59c1599 to
72e2c0aCompare4ffd5e5 to
aa75e33ComparePVince81
commented
Mar 16, 2021
been lucky so far, the missing bit was reading expiration date from the DB. |
PVince81
commented
Mar 16, 2021
PVince81
commented
Mar 16, 2021
attempt at fixing CS on master, as a result of running |
16691c6 to
cac7062ComparePVince81
commented
Mar 16, 2021
I've also tested remote group share and made adjustment, it works and expires properly too |
cac7062 to
d872821ComparePVince81
commented
Mar 16, 2021
Implementation is done, here are topics to discuss before I move forward with unit tests:
|
|
53ea4a8 to
553afe1ComparePVince81
commented
Mar 26, 2021
rebased for CI |
skjnldsv
commented
Mar 26, 2021
failure unrelated |
PVince81
commented
Apr 12, 2021
rebased and recompiled |
553afe1 to
eb5aefeComparePVince81
commented
Apr 12, 2021
the random failure was supposed to be fixed but is still happening: #26314 |
rullzer
left a comment
There was a problem hiding this comment.
Didn't fully test but looks good
PVince81
commented
Apr 14, 2021
/compile amend / |
Add expiration date field in UI. Save expiration date when creating or updating federated share. Read expiration date from DB in federated share provider. Applies to both federated user and group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
eb5aefe to
af61486ComparePVince81
commented
Apr 15, 2021
manual rebase + recompile |
Ref nextcloud/server#25320 for Nextcloud 22
Ref nextcloud/server#25320 for Nextcloud 22
Ref nextcloud/server#25320 for Nextcloud 22
Ref nextcloud/server#25320 for Nextcloud 22

Fixes issue that the UI checkbox for expiration date was not being saved for federated share.
Todos
(can't test due to another bug)Notes
I do wonder if that checkbox was added by mistake in the UI through recent refactorings.The more I dig, the more it looks like this feature was never implemented.
We removed it here #25933 and will add it back in this PR.
@rullzer