Commit Graph

20 Commits

Author SHA1 Message Date
TheAMM b60ec9ec0a Failsafe in API for explicit nulls/Nones 2017-05-24 11:32:51 +03:00
nyaadev 1b76eaea35 fix race condition? 2017-05-23 15:18:17 +02:00
katnyaa aa0d7f702f api: Invalid JSON is a client-side error 2017-05-23 13:19:07 +01:00
TheAMM f04c3e1cf3 Remove v1 upload api and update notice 2017-05-22 22:57:37 +03:00
katnyaa 159d5a5d9e Fix lint errors 2017-05-22 15:12:17 +01:00
TheAMM 7066fb258e Wait, that was no dict at all! Fix v1 api default 2017-05-22 16:54:02 +03:00
TheAMM 0e57378359 API: default to trusted, properly pass CSRF to UploadForm 2017-05-22 16:51:03 +03:00
TheAMM a1c024a342 Re-enable CSRF token for upload & fix API CSRF handling 2017-05-22 16:29:14 +03:00
nyaadev 0a258d59e1 temporary ghetto import, will be removed once importing is done. 2017-05-22 01:49:02 +02:00
TheAMM 740be1a40a Fix upload api handler: default to '' to conform better to WTForm 2017-05-21 12:41:34 +03:00
TheAMM 5408f3e7c4 Update upload api V2 + script for is_trusted 2017-05-21 12:28:37 +03:00
nyaadev 2a1f8fab87 pep8 2017-05-19 14:36:33 +02:00
kyamiko e582c74efa Fixed possible crash in api_handler.py 2017-05-18 00:31:28 -04:00
TheAMM e5fce168a0 Upload API V2 2017-05-18 16:46:07 +03:00
aldacron 67758e1eef updated example again 2017-05-18 00:27:27 -07:00
kyamiko 785a8db0c8 Updated api/upload 2017-05-17 23:56:36 -04:00
sharkykh a3be6ee89f PEP8 api_handler.py (E501)
E501 line too long
2017-05-16 12:43:33 +03:00
sharkykh b0325bc681 PEP8 api_handler.py (E265, E266)
E265 block comment should start with '# '
E266 too many leading '#' for block comment
2017-05-16 12:43:33 +03:00
sharkykh a79c0f8a93 PEP8 (a run of lint.sh) 2017-05-16 12:42:12 +03:00
nyaadev 00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00