Commit Graph

11 Commits

Author SHA1 Message Date
Miguel Jacq
97922d33d0
Fix HTTP return code for custom 500 internal server error handler 2021-05-10 15:57:23 +10:00
Miguel Jacq
2618e89eda
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
Miguel Jacq
04019389da
Move the cleanup() function from Onionshare class to Web class, so that the list of files to be cleaned up is always available (needed for website temp files) 2021-05-04 16:21:42 +10:00
Micah Lee
17966471ab
GUI displays "Read Message" button when a receive mode submission includes a message 2021-04-30 17:16:02 -07:00
Micah Lee
0a6056e5e6
Fix flake8 issues found in cli 2021-04-29 17:13:05 -07:00
Miguel Jacq
330e602694
Update the Content-Security-Policy: remove style-src and script-src which are inherited by default-src. Add frame-ancestors, form-action and base-uri which do not inherit default-src 2021-04-29 10:09:44 +10:00
Saptak S
a4ae37d203
Force shutdowns the socket server on closing chat server 2021-04-19 02:59:22 +05:30
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
2a7d9dbd51
Update copyright year to 2021 2021-02-22 13:35:14 -08:00
Tim Gates
02e67fc75c
docs: fix simple typo, progess -> progress
There is a small typo in cli/onionshare_cli/web/web.py.

Should read `progress` rather than `progess`.
2020-12-24 10:34:47 +11:00
Micah Lee
f4abcf1be9
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