Commit Graph

10 Commits

Author SHA1 Message Date
Emi Simpson 60db7938c8
Remove vestigial database model
mia/0x0#72 (comment)
2022-11-28 16:43:34 -05:00
Emi Simpson 55ee3740b0
Coalesce updates to the database during migration
mia/0x0#72 (comment)
2022-11-28 16:28:22 -05:00
Emi Simpson 19d989b696
More efficiently filter to unexpired files when migrating
mia/0x0#72 (comment)
2022-11-28 16:24:39 -05:00
Emi Simpson 74b6f986ee
Remove vestigial warning about legacy files 2022-11-28 16:21:03 -05:00
Emi Simpson 64ddfdb702
Don't crash when upgrading a fresh database 2022-11-28 16:20:43 -05:00
Emi Simpson d14713d077
Use automap in place of an explicit file map in migration 2022-11-28 16:14:31 -05:00
Ember Hearth f507de8256 Improve the migration script, removing the need for --legacy 2022-11-26 21:24:00 -05:00
Emi Simpson 6d036eeb7d
Add support for expiring files
SUPPLEMENTALLY:
- Add an `expiration` field to the `file` table of the database
- Produce a migration for the above change
- Overhaul the cleanup script, and integrate into fhost.py
  (now run using FLASK_APP=fhost flask prune)
- Replace the old cleanup script with a deprecation notice
- Add information about how to expire files to the index
- Update the README with information about the new script
2022-11-22 16:15:50 -05:00
Martin Herkt 7bbeb2d144
Add NSFW detection 2017-10-27 05:28:45 +02:00
Martin Herkt 56f0295be2
init 2016-11-01 05:25:58 +01:00