| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-12 | README: Add note about StreamMaxLength in clamd.conf | Mia Herkt | |
| 2022-12-12 | Add support for ClamAV | Mia Herkt | |
| 2022-12-01 | index.html: Document appending file names | Mia Herkt | |
| 2022-12-01 | Add support for “secret” file URLs | Mia Herkt | |
| Closes #47 | |||
| 2022-12-01 | Fix 500 on invalid paths | Mia Herkt | |
| 2022-12-01 | Fix handling double file name extensions | Mia Herkt | |
| Long names would get truncated at the end, causing problems including unresolvable file URLs. Example with default settings: .package.lst → .package. Fixes #61 | |||
| 2022-11-30 | Add X-Expires to file response headers | Mia Herkt | |
| Tells clients when files will expire, in milliseconds since Unix epoch. Closes #50. | |||
| 2022-11-30 | Allow changing expiration date | Mia Herkt | |
| 2022-11-30 | templates/index: Remove unnecessary escaping | Mia Herkt | |
| 2022-11-30 | Allow management operations like deleting files | Mia Herkt | |
| This introduces the X-Token header field in the response of newly uploaded files as a simple way for users to manage their own files. It does not need to be particularly secure. | |||
| 2022-11-29 | nsfw_detect: Use PyAV instead of ffmpegthumbnailer | Mia Herkt | |
| 2022-11-29 | nsfw_detect: Use pathlib, fix deprecation warning | Mia Herkt | |
| Also fix glog suppression | |||
| 2022-11-29 | README: Also run db upgrade after git pull! | Mia Herkt | |
| 2022-11-29 | Add example systemd unit files for prune job | Mia Herkt | |
| 2022-11-29 | nsfw_detect: Tolerate score computation failure | Mia Herkt | |
| 2022-11-29 | Add support for expiring files | Emi Simpson | |
| 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 Squashed commits: Add a note explaining that expired files aren't immediately removed Show correct times on the index page graph Improve the migration script, removing the need for --legacy Use automap in place of an explicit file map in migration Remove vestigial `touch()` Don't crash when upgrading a fresh database Remove vestigial warning about legacy files More efficiently filter to unexpired files when migrating https://git.0x0.st/mia/0x0/pulls/72#issuecomment-224 Coalesce updates to the database during migration https://git.0x0.st/mia/0x0/pulls/72#issuecomment-226 Remove vestigial database model https://git.0x0.st/mia/0x0/pulls/72#issuecomment-261 prune: Stream expired files from the database (as opposed to collecting them all first) config.example.py: Add min & max expiration + description | |||
| 2022-11-28 | config.example.py: Clarify MIME ext mapping | Mia Herkt | |
| 2022-11-28 | Add example configuration file | Ember Hearth | |
| See #73. | |||
| 2022-11-20 | README: Clarify why serving file requests from the app is bad | Mia Herkt | |
| 2022-11-20 | README: Clarify how to change configuration | Mia Herkt | |
| 2022-08-19 | README: Warn users about URL fetch network security implications | Mia Herkt | |
| 2022-08-11 | Fix non-seekable file handles | Mia Herkt | |
| Closes #59 | |||
| 2022-08-01 | Open upload blacklist in text mode | Mia Herkt | |
| This wasn’t working since Flask opens files in bin mode by default. | |||
| 2022-01-01 | Fix mime splitting | Alexey Sakovets | |
| mime[:mime.find(";")] will remove last character if mime does not contain ";". Use mime.split(";") instead. | |||
| 2021-12-01 | remove short_url and add in-tree URLencoder (#53) | mia | |
| This PR removes the short_url dependency as per issue #41. This implementation is pretty much the same as in short_url except I've rewritten the enbase() function to be iterative instead of recursive. The only functions of the class are enbase() and debase() since those were the only functions being used by fhost. Co-authored-by: 7415963987456321 <hrs70@hi.is> Reviewed-on: https://git.0x0.st/mia/0x0/pulls/53 Co-authored-by: mia <mia@0x0.st> Co-committed-by: mia <mia@0x0.st> | |||
| 2021-08-06 | Fix some flake8 errors in cleanup and nsfw_detect | Nikolas Nyby | |
| Just some minor code cleanup | |||
| 2021-05-23 | Support instance templates | Mia Herkt | |
| 2021-05-23 | Add tests | Mia Herkt | |
| 2021-05-23 | Support client-defined names in file URL routing | Mia Herkt | |
| This allows requests like /j4Tf.bin/myfilename.dat to be served without having to rewrite URLs at the frontend server. | |||
| 2021-05-23 | Move storage to classes, support double suffixes | Mia Herkt | |
| 2021-05-23 | Use pathlib | Mia Herkt | |
| 2021-05-23 | Update README | Mia Herkt | |
| 2021-05-23 | Update requirements.txt | Mia Herkt | |
| 2021-05-23 | Drop Flask-Manager | Mia Herkt | |
| 2021-05-23 | Drop dump_urls endpoint | Mia Herkt | |
| who cares lol (originally added for issue #1 but they never archived 0x0) | |||
| 2021-05-23 | Use template responses | Mia Herkt | |
| 2021-05-23 | Support instance config | Mia Herkt | |
| 2021-05-23 | Add mailmap | Mia Herkt | |
| 2020-11-03 | Add text/plain exception for .log name extension | Mia Herkt | |
| Fixes #29 | |||
| 2020-11-03 | Change license to EUPL | Mia Herkt | |
| 2019-04-30 | Update requirements.txt | Martin Herkt | |
| 2018-12-22 | Disable NSFW detection by default | Martin Herkt | |
| See #11 | |||
| 2018-01-09 | add extension override for audio/flac | Martin Herkt | |
| 2017-12-22 | Add extension override for text/x-diff | Martin Herkt | |
| 2017-11-08 | Add command to delete all files uploaded by address | Martin Herkt | |
| 2017-11-08 | Fix indent error in querybl | Martin Herkt | |
| 2017-10-30 | store_url: only accept identity content encoding | Martin Herkt | |
| Some servers (like IPFS gateways) will use chunked transfer encoding on anything but identity content encoding. Also, probably fix a potential zip bomb vulnerability. | |||
| 2017-10-27 | Tweak NSFW threshold | Martin Herkt | |
| Of course it’ll have a few false positives, but this seems to work well with the 0x0.st dataset. | |||
| 2017-10-27 | Faster query commands, add removed query filter | Martin Herkt | |
| 2017-10-27 | Add NSFW filter to address query commands | Martin Herkt | |
