549 Commits

Author SHA1 Message Date
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
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
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
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
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
8d9b3d7bcc Update available_locales in settings, and rename no.json to nb.json (Norwegian Bokmål) 2019-05-06 14:31:11 -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
hiro
8eeb043ee2 Fix merge conflicts with upstream 2019-04-23 16:20:33 +02:00
hiro
6cc1d90e92 Clean ui, add strings, fix web listing logic 2019-04-23 16:11:14 +02:00
hiro
ef6db20674 Add gui for website sharing and listing 2019-04-23 16:09:40 +02:00
hiro
50850ad679 Add website sharing and directory listing cli-only 2019-04-23 16:08:14 +02:00
emma peel
91272a187e Merge remote-tracking branch 'origin/develop' into HEAD 2019-04-23 10:00:22 +00:00
Hosted Weblate
e3cdd4c9cd Translated using Weblate (Georgian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ka/
2019-04-23 11:56:15 +02:00
Micah Lee
5beb0b2a34 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
13e908bfe5 Version bump to 2.1.dev1 and updated changelog 2019-04-21 14:13:43 -07:00
Micah Lee
9f68391a10 Remove version string 2019-04-21 13:21:57 -07:00
Micah Lee
fa7927725a Remove more CLI strings 2019-04-21 12:58:53 -07:00
Miguel Jacq
05cafb4878 Reintroduce more strings still used 2019-04-20 14:57:33 +10:00
Miguel Jacq
0af7184588 Re-insert strings that the strings checker script lied to me about 2019-04-20 14:51:03 +10:00
Miguel Jacq
62e668addd Unlocalize CLI strings 2019-04-20 10:31:34 +10:00
Micah Lee
4ea457ffe3 Merge pull request #959 from micahflee/958_verbose
Rename --debug to --verbose
2019-04-19 09:48:39 -07:00
Illia Volochii
a66377904d Upgrade jQuery to 3.4.0 2019-04-19 18:20:58 +03:00
Micah Lee
f7a62fe93a Rename "help_debug" string to "help_verbose" 2019-04-18 19:36:06 -07:00
Hosted Weblate
f7f55cd2c9 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-13 13:04:57 +02:00
Miguel Jacq
eb823042bb Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
a4c8865dcd Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
f6f5ff0b7e Fix conflicts 2019-03-25 13:43:08 +11:00
Miguel Jacq
b353db6997 rename CLI args for autostart/stop timers 2019-03-24 18:19:50 +11:00
Miguel Jacq
aa16cdec4e Human-friendly autostart/autostop countdown timers on server button, tooltips 2019-03-24 17:53:13 +11:00
Miguel Jacq
f9458ec640 Remove newlines from strings 2019-03-24 16:38:01 +11:00
Micah Lee
b62714628d Merge pull request #941 from mig5/configurable_connect_timeout
Allow the bundled Tor connection timeout to be configurable from the CLI
2019-03-22 18:00:05 -07:00
Micah Lee
395e9f7fe1 Fix css on receive.html as well 2019-03-22 15:27:23 -07:00
Micah Lee
9575ca556f Merge branch 'develop' of https://github.com/ZeroDot1/onionshare into ZeroDot1-develop 2019-03-22 15:23:53 -07:00
Micah Lee
f5833b67ad Merge pull request #917 from mig5/916_messaging_above_send_button
Make progress, noscript warning, and flashes appear above the form, but beneath the logo
2019-03-22 15:17:50 -07:00
Hosted Weblate
d925a8b7ed 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)
2019-03-17 14:54:22 +01:00
Miguel Jacq
726cb0ad9e Allow the bundled Tor connection timeout to be configurable from the CLI 2019-03-12 15:29:07 +11:00
Miguel Jacq
2666bb2dae Use png rather than svg for warning image. Concatenate flash messages with commas to reduce page height. Allow warning message to be wider 2019-03-11 17:27:17 +11:00
Miguel Jacq
84aa627d1f Various Startup Timer fixes for strings, bundled mode, stealth mode, startup/shutdown time clashes 2019-03-11 15:55:17 +11:00
ZeroDot1
e2d2da22ed Repair the css . . . 2019-03-11 05:33:28 +01:00
Micah Lee
c09c786fea Weblate merge (#940)
* 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 (Hindi)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/hi/

Added translation using Weblate (Hindi)
2019-03-10 15:07:38 -07:00
Jonatan Nyberg
9f2d11f0df Translated using Weblate (Swedish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sv/
2019-03-10 04:23:04 +01:00
Allan Nordhøy
9ac3fe42b1 Translated using Weblate (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/
2019-03-10 04:23:02 +01:00