2564 Commits

Author SHA1 Message Date
hiro
e6f114c677 Refactor directory_listing function 2019-06-13 21:47:49 +02:00
hiro
324c6579c2 Move directory_listing function 2019-06-13 12:41:12 +02:00
hiro
4551716a9e Refactor set_file_list between website and share mode 2019-06-13 12:34:27 +02:00
hiro
30dc17df27 Start code sharing between WebsiteMode and ShareMode 2019-06-13 12:34:27 +02:00
Micah Lee
9a4477ad09 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
f979bbe97c Remove old noscript css styles 2019-05-30 17:55:58 -07:00
Micah Lee
e4b0f04504 Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed 2019-05-29 19:27:21 -07:00
Micah Lee
69eb7f81a3 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
ae110026e7 Generate a new static_url_path each time the server is stopped and started again 2019-05-29 18:21:53 -07:00
Micah Lee
4fd8a95853 Merge branch 'develop' into basic_auth_everywhere 2019-05-24 18:13:44 -07:00
Micah Lee
eb6909e33a Make GuiReceiveTest.upload_test use basic auth when identical_files_at_once is True 2019-05-24 18:07:57 -07:00
Micah Lee
e820a0d00d Fix tests 2019-05-24 17:59:14 -07:00
Micah Lee
1efc3d6278 Replace URLs that have slugs with basic auth in tests 2019-05-24 13:38:41 -07:00
Micah Lee
f480ac2c11 Merge pull request #961 from hiromipaw/static-websites
Static websites
2019-05-24 10:21:34 -07:00
hiro
1c05ccb611 Resolve bugs from initial PR 2019-05-24 10:08:51 +02:00
Micah Lee
7e5bcf8662 Fix web tests to use basic auth and passwords instead of slugs 2019-05-23 09:53:18 -07:00
Micah Lee
cec63daf3a Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Micah Lee
6d057c0078 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
3578e7d540 Allow static resources without basic auth 2019-05-22 20:15:49 -07:00
Micah Lee
b2b72a6b31 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
b2c155991e Don't need BaseShareMode yet 2019-05-22 19:55:55 -07:00
Micah Lee
403125f844 Update ReceiveMode to no longer rely on slugs 2019-05-21 10:18:40 -07:00
Micah Lee
3ab99dbf3b 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
7dce7eec45 Rename "slug" to "password" 2019-05-20 22:18:49 -07:00
Micah Lee
5aceb5ad2c Make the shutdown get request use the onionshare user for basic auth 2019-05-20 22:02:43 -07:00
Micah Lee
71c2ae80ec 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
1c09ed5596 Fix onionshare URLs non-public mode is always http basic auth 2019-05-20 19:22:03 -07:00
Micah Lee
c03a294f45 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
6442baf4dd 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
c39705f978 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
e0e7250244 Move HTTP basic auth logic from WebsiteMode to Web, so it applies to all modes 2019-05-20 17:59:20 -07:00
Micah Lee
1f81f90726 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
5522e2a3f0 Fix bugs in how self.file was building the dictionary, so now browsing works 2019-05-10 14:52:07 -07:00
Micah Lee
ae54ef076e Make it so directory listings work, including root directory listing 2019-05-10 14:04:13 -07:00
Micah Lee
2299059304 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
c12230b9b1 Merge branch 'static-websites' of https://github.com/hiromipaw/onionshare into hiromipaw-static-websites 2019-05-10 09:46:54 -07:00
hiro
b3a87f6354 Clean code and fix UI bugs 2019-05-08 00:04:09 +02:00
Allan Nordhøy
dbd54761ca Fix typos in changelog 2019-05-07 23:07:18 +02:00
Micah Lee
fcd6a93ea2 Update build instructions, and fix typo in changelog 2019-05-07 12:12:49 -07:00
Micah Lee
3db5e4dea1 Update screenshots 2019-05-06 17:51:37 -07:00
Miguel Jacq
5c167ff20e 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
Micah Lee
b872ac1152 Version bump to 2.1, updated changelog, and fixed typo in a comment 2019-05-06 15:46:51 -07:00
Micah Lee
02cf28e356 Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into weblate 2019-05-06 15:31:20 -07:00
Hosted Weblate
45a7320bfd Translated using Weblate (Telugu)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/te/

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

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

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

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

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

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

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 (Finnish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fi/

Translated using Weblate (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hant/

Translated using Weblate (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hant/

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

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

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

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

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

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

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

Added translation using Weblate (Ukrainian)

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

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

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/

Added translation using Weblate (Central Khmer)

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

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

Added translation using Weblate (Telugu)

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

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

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

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

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 (Georgian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ka/

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

Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/
2019-05-07 00:03:42 +02:00
Micah Lee
981d5cad70 Merge branch 'develop' of github.com:weblate/onionshare-weblate into weblate-github 2019-05-06 14:45:44 -07:00
Micah Lee
d00562e553 Missed commas in list 2019-05-06 14:31:56 -07:00
Micah Lee
8d9b3d7bcc Update available_locales in settings, and rename no.json to nb.json (Norwegian Bokmål) 2019-05-06 14:31:11 -07:00
Micah Lee
1b45cbeda5 Merge branch 'develop' of https://hosted.weblate.org/projects/onionshare/translations into weblate 2019-05-06 13:53:25 -07:00
Micah Lee
b10eb1d630 Update macOS build instructions 2019-05-06 11:23:46 -07:00
Hosted Weblate
bfe98b36ab Translated using Weblate (Telugu)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/te/

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

Added translation using Weblate (Ukrainian)

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

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

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/

Added translation using Weblate (Central Khmer)

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

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

Added translation using Weblate (Telugu)

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

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

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/

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

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

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 (Georgian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ka/

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

Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/
2019-05-05 16:04:39 +02:00