19 Commits

Author SHA1 Message Date
Micah Lee
31bf763baa Remove cleanup_tempfiles altogether because they are not being used 2022-02-13 10:40:55 -08:00
Micah Lee
5d6e4ecd01 Use a TemporaryDirectory instead of NamedTemporaryFile to avoid opening an already open file in Windows 2022-02-09 18:19:50 -08:00
Micah Lee
ba1fde54a9 Update copyright year to 2022 2022-01-16 16:15:49 -08:00
Micah Lee
167f4a8cc1 Add temp file to cleanup list just once when its first created 2021-12-02 18:51:06 -08:00
Micah Lee
2ff5f53c69 Explicitly cleanup temp files and dirs 2021-12-01 20:34:54 -08:00
Micah Lee
c80303df35 Use a NamedTemporaryFile instead of TemporaryFile for streamed gzip files 2021-11-18 20:17:39 -08:00
Micah Lee
9663f78147 Use high level tempfile classes that clean up after themselves 2021-11-18 20:03:18 -08:00
whew
8c7e75f194 Merge branch 'develop' into add_security_headers 2021-05-31 12:13:58 +00:00
whew
a2ba9e5f1d Update send_base_mode.py 2021-05-13 08:14:33 +00:00
Miguel Jacq
aa7a6e321b Move the 'supports_file_requests' attribute into the actual modes rather than the Web class 2021-05-11 09:25:22 +10:00
Miguel Jacq
92027345d0 Register the 405 error handler properly. Enforce the appropriate methods for each route (GET or POST only, with OPTIONS disabled). Add tests for invalid methods. Add a friendlier 500 internal server error handler 2021-05-10 11:23:44 +10:00
Micah Lee
4f87088932 When building the self.files, use forward slashes instead of backslashes in Windows 2021-05-04 20:01:30 -07:00
Micah Lee
cfbf07b903 Fix flake8 issues found in cli 2021-04-29 17:13:05 -07:00
Aksh Gupta
6805f6acae chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
4f5f75cc25 Update copyright year to 2021 2021-02-22 13:35:14 -08:00
Kcchouette
1644e8691a use utf8 name too for file downloading 2021-01-31 16:37:45 +05:30
Kcchouette
588c117927 Update send_base_mode.py 2021-01-31 16:36:09 +05:30
Micah Lee
e950cc5fe8 Allow directory listing work with or without trailing slash (removing trailing slash by default), and make directory listing links absolute instead of relative 2020-11-23 14:52:52 -08:00
Micah Lee
a54f99adf6 Add onionshare CLI to cli folder, move GUI to desktop folder, and start refactoring it to work with briefcase 2020-10-12 22:40:55 -07:00