Ember pushed to default-config at Ember/0x0 2022-11-28 17:58:59 +01:00
32118c2cc8 Move the default config to a .example.py file
Ember commented on pull request mia/0x0#72 2022-11-28 17:52:48 +01:00
Support user-specified expiration times

Makes sense! I'll implement it when I get out of classes later today.

Ember commented on pull request mia/0x0#72 2022-11-28 17:48:50 +01:00
Support user-specified expiration times

I deliberately chose not to do that here because I'm worried that the query will become too large, and I wasn't sure whether or not sqlalchemy has provisions built in to handle that case.

I've…

Ember commented on pull request mia/0x0#72 2022-11-28 17:47:07 +01:00
Support user-specified expiration times

Ooooooo! I hadn't heard of that before! Thanks for bringing it up, I'll take a look!

Ember commented on pull request mia/0x0#72 2022-11-28 17:46:47 +01:00
Support user-specified expiration times

Noted! Will do! I think I'll leave out the fancy progress bar because I expect that this script (or at least the part of it that does more than add a new column to an empty database) will run a…

Ember pushed to default-config at Ember/0x0 2022-11-27 05:10:14 +01:00
da2357183c Update the README to reflect the existence of the config file
Ember created pull request mia/0x0#73 2022-11-27 05:08:49 +01:00
Add a default configuration file
Ember pushed to default-config at Ember/0x0 2022-11-27 05:02:03 +01:00
103993c7a0 Update the README to reflect the existence of the config file
Ember created branch default-config in Ember/0x0 2022-11-27 04:57:17 +01:00
Ember pushed to default-config at Ember/0x0 2022-11-27 04:57:17 +01:00
86d9ba5487 Add a default configuration file
b5f0cfdf6f README: Clarify why serving file requests from the app is bad
4ba18146e1 README: Clarify how to change configuration
Compare 3 commits »
Ember commented on pull request mia/0x0#72 2022-11-27 03:36:13 +01:00
Support user-specified expiration times

f507de8 adds support for calculating an expiration date for files during the migration. It's quite a bit jenky and I think it might violate some of the principles of alembic's migration system,…

Ember pushed to expiration at Ember/0x0 2022-11-27 03:24:29 +01:00
f507de8256 Improve the migration script, removing the need for --legacy
Ember commented on pull request mia/0x0#72 2022-11-26 23:48:10 +01:00
Support user-specified expiration times

Alright so I thought about this a little bit, and I think you were right that there's a dilemma with the reupload case. Specifically, I'm thinking of this case, where a re-upload comes shortly…

Ember commented on pull request mia/0x0#72 2022-11-23 00:18:28 +01:00
Support user-specified expiration times

I'm not entirely sure I follow? Bad actors could theoretically extend expiration dates, but they wouldn't be able to shorten it, which is the same current behaviour anyway.

I guess if a user…

Ember commented on pull request mia/0x0#72 2022-11-22 23:21:23 +01:00
Support user-specified expiration times

That makes sense! I'll see if I can figure it out!

I'll do my best to figure out populating database fields! I originally considered it, but got scared off because I wasn't entirely sure how…

Ember pushed to expiration at Ember/0x0 2022-11-22 23:17:12 +01:00
bed8c1d047 Show correct times on the index page graph
Ember pushed to expiration at Ember/0x0 2022-11-22 22:52:24 +01:00
78b8a73ea5 Add a note explaining that expired files aren't immediately removed
Ember created pull request mia/0x0#72 2022-11-22 22:47:23 +01:00
Support user-specified expiration times
Ember deleted branch master from Ember/0x0 2022-11-22 22:29:13 +01:00
Ember created branch expiration in Ember/0x0 2022-11-22 22:28:41 +01:00