Skip to content

Add further expiration options#65

Open
manvari wants to merge 3 commits into
Tygs:masterfrom
manvari:master
Open

Add further expiration options#65
manvari wants to merge 3 commits into
Tygs:masterfrom
manvari:master

Conversation

@manvari
Copy link
Copy Markdown

@manvari manvari commented Apr 8, 2014

Resolves #58

@sametmax
Copy link
Copy Markdown
Contributor

sametmax commented Apr 8, 2014

Ok, I understand the value of the commit, but it needs some work. First, it's way too many options for a standard installation. We want the first experience to be simple. Secondly, if somebody has another taste than you, he will have to do what you did : edit the code.

Can you add a loop in the template, looping on the DURATIONS settings ? Human readable text can be extracted by splitting the dictionary key on the underscore.

@sametmax
Copy link
Copy Markdown
Contributor

sametmax commented Apr 8, 2014

You'll probably need to cast it to a tuple list with items(), sort it, json it then include it in the < head >

@sametmax
Copy link
Copy Markdown
Contributor

Any news on this ? It just need some configurability to be accepted.

@sametmax
Copy link
Copy Markdown
Contributor

If you don't feel like doing it, put it on another branch, make another PR, and I'll do it.

@sametmax
Copy link
Copy Markdown
Contributor

securitygeneration commented on 8 Apr

It's a month off or so. The calculation should be:

3600_24_365

Comment thread zerobin/paste.py
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

datetime.timedelta(minutes=10).seconds

@Mhowser
Copy link
Copy Markdown

Mhowser commented Mar 23, 2019

Any progress on this?

@sametmax
Copy link
Copy Markdown
Contributor

sametmax commented Apr 16, 2019 via email

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

Successfully merging this pull request may close these issues.

Add more expiration options

4 participants