Commit Graph

2749 Commits

Author SHA1 Message Date
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
Micah Lee
23e7765b9c
Version bump to 2.1, updated changelog, and fixed typo in a comment 2019-05-06 15:46:51 -07:00
Micah Lee
6e877692ff
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into weblate 2019-05-06 15:31:20 -07:00
Hosted Weblate
f24d3aa1ef
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
fed8e0b656
Merge branch 'develop' of github.com:weblate/onionshare-weblate into weblate-github 2019-05-06 14:45:44 -07:00
Micah Lee
ad5e9c5e79
Missed commas in list 2019-05-06 14:31:56 -07:00
Micah Lee
6d7bd5c746
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
4dc726fa73
Merge branch 'develop' of https://hosted.weblate.org/projects/onionshare/translations into weblate 2019-05-06 13:53:25 -07:00
Micah Lee
e557133b0a
Update macOS build instructions 2019-05-06 11:23:46 -07:00
Hosted Weblate
8643f5b911
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
hiro
8f7e52e4ee Add version for Flask-HTTPAuth 2019-05-03 19:29:58 +02:00
Hosted Weblate
42869da6b3
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/
2019-05-02 00:15:28 +02:00
Hosted Weblate
4b5b363c5f
Translated using Weblate (Irish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ga/
2019-05-01 22:24:11 +02:00
Hosted Weblate
f1581fefe1
Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/
2019-05-01 22:15:04 +02:00
Hosted Weblate
f468b54778
Translated using Weblate (Italian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/it/
2019-05-01 21:30:48 +02:00
Hosted Weblate
af0717eb8e
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-01 18:03:02 +02:00
hiro
357374c147 Fix merge conflicts with upstream 2019-04-23 16:20:33 +02:00
hiro
0c6dbe4c8a Clean ui, add strings, fix web listing logic 2019-04-23 16:11:14 +02:00
hiro
391c82f2a6 Add gui for website sharing and listing 2019-04-23 16:09:40 +02:00
hiro
2d43588a3b Add website sharing and directory listing cli-only 2019-04-23 16:08:14 +02:00
emma peel
3ad8367cb0
Merge remote-tracking branch 'origin/develop' into HEAD 2019-04-23 10:00:22 +00:00
Hosted Weblate
67eee94845
Translated using Weblate (Georgian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ka/
2019-04-23 11:56:15 +02:00
Micah Lee
925cd47187
Merge branch 'develop' of github.com:weblate/onionshare-weblate into weblate 2019-04-22 16:10:44 -07:00
Micah Lee
1b59a5151b
Weblate (#970)
* Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

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

Added translation using Weblate (Malay)

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/

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

Merge branch 'origin/develop' into Weblate.

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

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

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

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

* 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 (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

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

* Translated using Weblate (Finnish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fi/

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

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

* Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/

* Translated using Weblate (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/id/

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

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

* Translated using Weblate (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/id/

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

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

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

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

Added translation using Weblate (Hindi)

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

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

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

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

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/
2019-04-22 16:06:07 -07:00
Micah Lee
c15d3fbb52
Write script to build source package 2019-04-22 15:32:34 -07:00