aboutsummaryrefslogtreecommitdiff
path: root/cli/onionshare_cli/web/share_mode.py
AgeCommit message (Collapse)Author
2023-05-30Removed some deprecation warnings spotted in pytest output. Harden waitressMiguel Jacq
2023-05-29Switch to Waitress and Flask-Compress in lieu of werkzeug serverMiguel Jacq
2022-01-16Update copyright year to 2022Micah Lee
2021-12-21Fix permission denied error in Windows, which was introduced using ↵Micah Lee
tempfile.NamedTemporaryFile, by using a TemporaryDirectory instead
2021-12-01Fix CLI testsMicah Lee
2021-12-01Explicitly cleanup temp files and dirsMicah Lee
2021-12-01Use NamedTemporaryFile instead of TemporaryFile, to fix crash when sharing ↵Micah Lee
one file
2021-11-18Use high level tempfile classes that clean up after themselvesMicah Lee
2021-09-04Removes trailing slash from directories inside directoriesSaptak S
2021-09-04Merge pull request #1399 from easyteacher/developSaptak Sengupta
Make last_modified and if_date timezone-aware (Fix #1398)
2021-09-03Make last_modified and if_date timezone-awareFushan Wen
Fix #1398
2021-05-31Merge branch 'develop' into add_security_headerswhew
2021-05-13Update share_mode.pywhew
2021-05-10Register the 405 error handler properly. Enforce the appropriate methods for ↵Miguel Jacq
each route (GET or POST only, with OPTIONS disabled). Add tests for invalid methods. Add a friendlier 500 internal server error handler
2021-05-04Remove unnecessary cleanup_filenames appending in the CompressThread. Ensure ↵Miguel Jacq
we also remove the temp dir that a Zip file is made within, by setting the temp dir in ZipWriter as a variable
2021-05-04Move the cleanup() function from Onionshare class to Web class, so that the ↵Miguel Jacq
list of files to be cleaned up is always available (needed for website temp files)
2021-04-29Fix flake8 issues found in cliMicah Lee
2021-04-28Merge pull request #1327 from micahflee/1306_customizationSaptak Sengupta
Allow custom title for each onion service
2021-04-12Show the custom title in all modesMicah Lee
2021-04-12Fixes content-length for the range requests logicSaptak S
2021-04-12Fixes parameters in the test functionSaptak S
2021-04-12Reviving the old range request PRSaptak S
This commit basically just adds the codes from the PR https://github.com/micahflee/onionshare/pull/804/commits on the newly structured and refactored code and also fixes import dependencies and changed any code that was relevant with the new code of onionshare
2021-02-22Update copyright year to 2021Micah Lee
2021-02-21Set content-disposition to attachment for /download, to always force a downloadMicah Lee
2021-01-31Updates the unicode logic in share_mode code as wellSaptak S
2020-12-22list.sort intsead of sorted(list)whew
2020-12-13Stop passing status_url_path to render denied template, to avoid exceptionMicah Lee
2020-10-12Add onionshare CLI to cli folder, move GUI to desktop folder, and start ↵Micah Lee
refactoring it to work with briefcase