29 Commits

Author SHA1 Message Date
Trenton Holmes
5ed4597a4f Fixes Document public filename so it will use the local date instead of UTC date 2022-05-13 09:10:36 -07:00
Trenton Holmes
f62193099c Runs pyupgrade to Python 3.8+ and adds a hook for it 2022-05-06 09:04:08 -07:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler
8196208632 fix test case 2021-02-12 01:31:50 +01:00
jonaswinkler
c89be92127 added ASN to filename format #519 2021-02-09 23:03:07 +01:00
jonaswinkler
7cdc867307 archive filenames are now stored in the database and checked for collisions just as original filenames as well, unified method for archive version checking 2021-02-09 19:46:19 +01:00
jonaswinkler
133fd05049 fix for #511 2021-02-08 19:59:14 +01:00
jonaswinkler
e5a7dc0cc7 rework most of the logging 2021-02-05 01:10:29 +01:00
jonaswinkler
f1d15561f6 some bug fixes and tests 2021-01-18 14:16:32 +01:00
jonaswinkler
bee7a06e41 fix bugs and test cases 2021-01-02 15:37:27 +01:00
jonaswinkler
70b64f06cb path sanitation 2020-12-15 14:11:05 +01:00
jonaswinkler
b012086dd8 prevent usage of {tags} directly. 2020-12-14 03:01:50 +01:00
jonaswinkler
972c8baae9 fixes #117 2020-12-14 02:46:46 +01:00
jonaswinkler
bf4370fb81 fixes #130 2020-12-14 02:19:53 +01:00
jonaswinkler
638113864f fixes #90 2020-12-08 13:54:49 +01:00
jonaswinkler
41755c509e codestyle 2020-12-06 19:04:32 +01:00
jonaswinkler
655ce81cb6 changes to filename generation, partially addresses #90 2020-12-06 16:13:37 +01:00
jonaswinkler
1f90d50833 some more tests. 2020-12-01 14:15:43 +01:00
jonaswinkler
f08d494f1b filename handling for archive files. 2020-11-30 21:38:42 +01:00
Jonas Winkler
a10f516fe9 todo note. 2020-11-25 14:51:00 +01:00
Jonas Winkler
a532200d10 code cleanup 2020-11-21 15:34:00 +01:00
Jonas Winkler
afc3753e58 code cleanup 2020-11-21 14:03:45 +01:00
Jonas Winkler
f976a0b4ba mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
8c40c54421 codestyle 2020-11-18 22:41:14 +01:00
Jonas Winkler
b195d17158 add exception handler for invalid filename formats. 2020-11-13 20:31:51 +01:00
Jonas Winkler
e2270c2ba2 added some more fields for document file naming. 2020-11-12 11:12:39 +01:00
Jonas Winkler
23eae9a3f1 This is how the original filenames were generated. Keep it this way for compatibility. 2020-11-12 10:42:18 +01:00
Jonas Winkler
8b8a2af053 fixed the file handling implementation. The feature is cool, but the original implementation had so many small flaws it wasn't even funny. 2020-11-11 14:21:33 +01:00