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

Allow expanding the demo expiration time #5

Open
paul121 opened this issue Nov 15, 2021 · 0 comments
Open

Allow expanding the demo expiration time #5

paul121 opened this issue Nov 15, 2021 · 0 comments

Comments

@paul121
Copy link
Owner

paul121 commented Nov 15, 2021

Would be great if the demo could live longer than 24hours. It might be hard to support this for all demos as a default (due to tugboat tier pricing + storage limits) but maybe a user could "request" that a demo expiration be expanded.

It seems that this can be accomplished in a PATCH to the preview by ID: https://api.tugboat.qa/v3#tag/Previews/paths/~1previews~1{id}/patch

Requiring users to manually copy/paste the preview ID into a form to expand the time seems like a reasonable "deturrent" to spamming of this feature. Perhaps an accompanying Drupal module could support this from within the farmOS site itself.

@paul121 paul121 changed the title Allow expanding the expires time Allow expanding the demo expiration time Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant