Skip to content

Allow internal shares to have a default expiration date - #17725

Merged
rullzer merged 8 commits into
masterfrom
enh/share_exp_internal
Nov 28, 2019
Merged

Allow internal shares to have a default expiration date#17725
rullzer merged 8 commits into
masterfrom
enh/share_exp_internal

Conversation

@rullzer

@rullzerrullzer commented Oct 28, 2019

Copy link
Copy Markdown
Member

TODO:

  • Needs admin UI
    • basics
    • Fix the js so it opens etc.
  • Needs more checks
  • Expose variables
  • Need integration of enforcement and max date into the sidebar
  • Actually expire the share
  • Expose in capabilities

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

@rullzer

Copy link
Copy Markdown
MemberAuthor

Actually the new sidebar already enforces expiration dates. It just takes the link share one.
I guess it makes sense to make sure that this is split in link shares and others. (as links are somewhat special). @skjnldsv can you have a look?

Comment threadapps/settings/templates/settings/admin/sharing.php Outdated
@skjnldsv
skjnldsvforce-pushed the enh/share_exp_internal branch from 4c1af0b to 5f7070cCompareNovember 13, 2019 14:44
@skjnldsv

Copy link
Copy Markdown
Member

/compile /

@skjnldsvskjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Nov 13, 2019
@rullzer

Copy link
Copy Markdown
MemberAuthor

Time for the reviews and to get in!

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested enforced expiration.

Works nicely for new new shares. For existing ones the expiration checkbox is now checked, but now date is set. Bug?

Comment threadapps/settings/templates/settings/admin/sharing.php
@rullzer

Copy link
Copy Markdown
MemberAuthor

Tested enforced expiration.

Works nicely for new new shares. For existing ones the expiration checkbox is now checked, but now date is set. Bug?

I think that is the same on link shares.
So lets keep it for now 😉

@rullzer

Copy link
Copy Markdown
MemberAuthor

@ChristophWurst so... approve?

@ChristophWurstChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 15, 2019
@rullzerrullzer added 2. developing Work in progress and removed 4. to release Ready to be released and/or waiting for tests to finish labels Nov 17, 2019
@rullzer

Copy link
Copy Markdown
MemberAuthor

Ah shit failing CI.
I'll fix that..

rullzerand others added 5 commits November 27, 2019 14:33
* Needs admin UI
* Needs more checks
* Basics seem to work
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
rullzerand others added 3 commits November 27, 2019 14:33
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@skjnldsv@ChristophWurst