7c1f449bce
Add "verify" field to request to not save image
...
This makes it easy for the user to debug authentication.
2020-09-05 18:55:56 -05:00
0dbcc0e380
Change file extension check to be case-insensitive
2020-09-05 16:21:50 -05:00
b8b5a2518c
Change abort() calls to JSON responses
...
This makes the responses more consistent. Now, all responses are JSON.
2020-09-05 15:43:36 -05:00
6f64890e34
Remove unused imports from imgupload.py
2020-09-04 15:24:49 -05:00
9d9b93a9ee
Add proper shebangs and block comments
2020-09-04 10:47:20 -05:00
565a91e4ec
Remove uploadkeys encryption features
...
It doesn't really make sense to encrypt the keys, but store the secret
literally in the same directory. uploadkeys will now be stored in
plaintext. The branch `legacy` has the old code from before this commit.
2020-09-03 21:44:58 -05:00
841bb513d3
Allow easy customization of filename generation
...
Added a new file called functions.py which contains user-customizable
functions, instead of requiring the user to edit imgupload.py.
2020-09-02 17:14:28 -05:00
a5a22b7c88
Remove UPLOADKEYS_CHMOD option due to keygen.py
...
Since keygen.py is run as root, uploadkeys is owned by root. This causes
issues when imgupload.py tries to chmod the uploadkeys file since it
doesn't have permissions to chmod it.
Solution: remove UPLOADKEYS_CHMOD option
2020-08-31 21:14:09 -05:00
ItHertzSoGood
3d1304b3b0
added encryption to uploadkeys and added a key generator
2020-08-31 17:12:39 -07:00
4b624f3fed
Ignore settings.py and add settings.py.default
2020-08-31 18:48:22 -05:00
e6dcb814fb
Added files (v0.1)
...
Added the Python files so now the repository actually has something.
This will probably become v0.1 without any changes.
2020-08-31 17:29:54 -05:00