Commit Graph

2723 Commits

Author SHA1 Message Date
hiro
66e85497ef Revert "Generate a new static_url_path each time the server is stopped and started again"
This change creates problems with how website mode renders assets.
This reverts commit 50b2311409.
2019-06-13 22:56:48 +02:00
hiro
4d733c224a Refactor directory_listing function 2019-06-13 21:47:49 +02:00
hiro
9805919fc7 Move directory_listing function 2019-06-13 12:41:12 +02:00
hiro
5c0839a557 Refactor set_file_list between website and share mode 2019-06-13 12:34:27 +02:00
hiro
0f40e9589c Start code sharing between WebsiteMode and ShareMode 2019-06-13 12:34:27 +02:00
wh1t3fang
b6b576bddb
Added python-flask-httpauth depend
added flask httpauth depend to the install instructions for debian.  Otherwise, this exception appears.

ImportError: No module named 'flask_httpauth'
2019-06-12 05:10:24 +00:00
Micah Lee
9a327f26ea
Merge pull request #1000 from micahflee/989_noscript_xss_is_all_good
Strip NoScript XSS warning
2019-05-30 17:56:56 -07:00
Micah Lee
726f174dea
Remove old noscript css styles 2019-05-30 17:55:58 -07:00
Micah Lee
c3ba542ecb
Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed 2019-05-29 19:27:21 -07:00
Micah Lee
12392378d1
Merge pull request #996 from micahflee/basic_auth_everywhere
Switch from slugs to HTTP basic auth
2019-05-29 19:15:40 -07:00
Micah Lee
50b2311409
Generate a new static_url_path each time the server is stopped and started again 2019-05-29 18:21:53 -07:00
x80486
074ae56e64 Update/Tweak AppStream Metadata XML and Desktop Entry according to the latest standard(s) 2019-05-29 20:48:48 -04:00
Micah Lee
c53ecb0a03
Merge branch 'develop' into basic_auth_everywhere 2019-05-24 18:13:44 -07:00
Micah Lee
dc556d89f5
Make GuiReceiveTest.upload_test use basic auth when identical_files_at_once is True 2019-05-24 18:07:57 -07:00
Micah Lee
15d66c1a6f
Fix tests 2019-05-24 17:59:14 -07:00
Micah Lee
9785be0375
Replace URLs that have slugs with basic auth in tests 2019-05-24 13:38:41 -07:00
Micah Lee
35c373b5a3
Merge pull request #961 from hiromipaw/static-websites
Static websites
2019-05-24 10:21:34 -07:00
hiro
f56b148ddb Resolve bugs from initial PR 2019-05-24 10:08:51 +02:00
Micah Lee
18961fea2d
Fix web tests to use basic auth and passwords instead of slugs 2019-05-23 09:53:18 -07:00
Micah Lee
4df989dc77
Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Micah Lee
44431becc1
Give xvfb-run a screen to floods of Qt logs in CircleCI tests, so the test output is readable 2019-05-22 20:46:23 -07:00
Micah Lee
7ac81e6b7e
Allow static resources without basic auth 2019-05-22 20:15:49 -07:00
Micah Lee
41be429b91
Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00
Micah Lee
91238366b1
Don't need BaseShareMode yet 2019-05-22 19:55:55 -07:00
Micah Lee
63ced56250
Update ReceiveMode to no longer rely on slugs 2019-05-21 10:18:40 -07:00
Micah Lee
97b5984aff
Fix building the URL in CLI mode, and removing the slug from the download button in share mode 2019-05-21 10:08:54 -07:00
Micah Lee
7d89f80f20
Rename "slug" to "password" 2019-05-20 22:18:49 -07:00
Micah Lee
fe64a5a059
Make the shutdown get request use the onionshare user for basic auth 2019-05-20 22:02:43 -07:00
Micah Lee
3229211422
Make shutdown slug use http basic auth also, so the shutdown command doesnt fail with a 401 2019-05-20 20:01:14 -07:00
Micah Lee
b667fcc4f8
Fix onionshare URLs non-public mode is always http basic auth 2019-05-20 19:22:03 -07:00
Micah Lee
29abfd8f87
This should be an elif, not an if, because otherwise the share mode stop button says "Stop Receive Mode" 2019-05-20 19:14:04 -07:00
Micah Lee
7fe733e9fc
Simplify share and receive mode so they no longer need to worry about slug_candidates 2019-05-20 19:11:24 -07:00
Micah Lee
79b87c3e30
Add an error 401 handler, and make it start counting invalid password guesses instead of 404 errors for rate limiting 2019-05-20 19:04:50 -07:00
Micah Lee
2a50bbc3bc
Move HTTP basic auth logic from WebsiteMode to Web, so it applies to all modes 2019-05-20 17:59:20 -07:00
Hosted Weblate
8083fd4929
Translated using Weblate (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/hu/

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/

Translated using Weblate (Telugu)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/te/

Translated using Weblate (Swahili)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sw/

Translated using Weblate (Malay)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ms/

Translated using Weblate (Greek)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/el/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Added translation using Weblate (Swahili)
2019-05-16 17:49:23 +02:00
Micah Lee
915ff0f4f3
Remove references to self.web.website_mode.download_filesize because that variable no longer exists 2019-05-10 14:57:41 -07:00
Micah Lee
ab930011ad
Fix bugs in how self.file was building the dictionary, so now browsing works 2019-05-10 14:52:07 -07:00
Micah Lee
818f2bac2c
Make it so directory listings work, including root directory listing 2019-05-10 14:04:13 -07:00
Micah Lee
65a7a1790c
Starting to refactor website sharing so set_file_info builds a dict of all files, and path_logic will display any arbitrary file, or directory listing if no index.html is present 2019-05-10 13:43:46 -07:00
Micah Lee
c378a32c51
Merge branch 'static-websites' of https://github.com/hiromipaw/onionshare into hiromipaw-static-websites 2019-05-10 09:46:54 -07:00
Hosted Weblate
814a3fd403
Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Added translation using Weblate (Swahili)
2019-05-08 12:06:06 +02:00
emma peel
e0db894481
Merge branch 'develop' of github.com:weblate/onionshare-weblate into develop 2019-05-08 10:04:34 +00:00
Hosted Weblate
543744d81d
Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/
2019-05-08 07:52:17 +00:00
Hosted Weblate
574a0c3953
Translated using Weblate (Romanian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ro/

Translated using Weblate (Italian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/it/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Translated using Weblate (Dutch)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nl/

Translated using Weblate (Catalan)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ca/

Translated using Weblate (Romanian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ro/

Translated using Weblate (Italian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/it/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/

Translated using Weblate (Greek)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/el/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/

Translated using Weblate (Arabic)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ar/

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/
2019-05-08 09:42:39 +02:00
hiro
abc30b315c Clean code and fix UI bugs 2019-05-08 00:04:09 +02:00
Hosted Weblate
a352dbe9ff
Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/
2019-05-07 23:16:35 +02:00
Allan Nordhøy
4648d1801a
Fix typos in changelog 2019-05-07 23:07:18 +02:00
Micah Lee
849a084266
Update build instructions, and fix typo in changelog 2019-05-07 12:12:49 -07:00
Micah Lee
9e9c29b189
Update screenshots 2019-05-06 17:51:37 -07:00
Miguel Jacq
d9ce92bba0 Remove hardcoded 'seconds' from the autostop timer countdown string, now that we use a human-friendly time (#979) 2019-05-06 17:35:28 -07:00