2443 Commits

Author SHA1 Message Date
Miguel Jacq
b4abf0fcd0 include years in the dates from CLI, in case it's a very long timer or perhaps we're crossing into a new year 2019-03-25 15:33:00 +11:00
Miguel Jacq
57952dba8b CLI flags to contain requested hyphens 2019-03-25 15:30:34 +11: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
907787028b Fix unsetting autostart timer after reloading settings 2019-03-24 18:16:29 +11:00
Miguel Jacq
b90d45bbb2 Fixes for displaying autostart timer countdown 2019-03-24 18:16:12 +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
febcae7f4d Show the URL description label whenever we are showing the URL itself 2019-03-24 16:48:56 +11:00
Miguel Jacq
f9458ec640 Remove newlines from strings 2019-03-24 16:38:01 +11:00
Miguel Jacq
2dcda9d473 Don't allow setting an auto-stop timer that is shorter than the auto-start timer 2019-03-24 16:35:53 +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
06731ce56a Merge pull request #935 from mig5/fix_receive_mode_folder_collision
On a folder name collision, make sure we update the self.receive_mode_dir attribute
2019-03-22 17:50:33 -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
Miguel Jacq
d7ba11ef0c Don't force connect timeout of 150 when using Bridges if a user-supplied connect timeout has been passed in already 2019-03-12 15:36:49 +11: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
Micah Lee
543919e7a7 Merge pull request #931 from palob/launcher-fix
Unhardcode GNU/Linux launcher icon
2019-03-10 13:59:18 -07:00
Micah Lee
54fbe82d10 Merge pull request #926 from mig5/fix_settings_in_web_test
Use a custom Settings object in test_onionshare_web.py, rather than potentially load non-ephemeral settings
2019-03-10 13:58:11 -07:00
Micah Lee
67c3c7fec7 Merge pull request #914 from mig5/sender_close_test_obsolete
Remove obsolete test for sender closing a Receive Mode service via the web interface
2019-03-10 12:32:36 -07:00
Miguel Jacq
58f5d4ceb0 Remove unnecessary attribute from OnionShare object 2019-03-10 09:06:27 +11:00
Miguel Jacq
188281e8d2 On a folder name collision, make sure we update the self.receive_mode_dir attribute after creating a unique folder with a suffix. Adjust Receive Mode tests to test for this 2019-03-08 12:54:10 +11:00
Miguel Jacq
eae049d46a Fix a minor corner case related to server status button when canceling a scheduled share. Leverage scheduled shares in order to test 'cancel' action in local mode for better test coverage 2019-03-08 11:03:37 +11:00
Miguel Jacq
f124ccab7c Prevent a scheduled share from starting after the scheduled time has passed. Add a test for this 2019-03-06 16:49:32 +11:00
Miguel Jacq
5deb9c460d Test that the web server is stopped when it's scheduled for a later start 2019-03-05 16:59:13 +11:00
Miguel Jacq
26d262ccfc Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Vincent Bermel
6a6b97b23d Unhardcode linux launcher icon 2019-03-02 09:06:15 +01:00
Miguel Jacq
74e44f71b7 Use a custom Settings object in test_onionshare_web.py, rather than potentially load non-ephemeral settings 2019-02-26 11:10:09 +11:00
Miguel Jacq
7e4efc39e5 remove unnecessary bit of css 2019-02-25 14:26:29 +11:00
Miguel Jacq
db6ba60973 Move the noscript warning to top of page and make it appear less of an error, per more recommendations (and with supplied svg) from @ninavizz 2019-02-24 10:22:44 +11:00
ZeroDot1
ba3c509a15 Add asynchronous functions to the templates to reduce page load times.
Asynchronous functions for CSS and JS.
2019-02-23 19:37:56 +01:00
Miguel Jacq
18962ab41a Make progress, noscript warning, and flashes appear above the form, but beneath the logo 2019-02-23 13:16:06 +11:00
Miguel Jacq
5e37565783 remove actual sender_closed test function 2019-02-22 16:53:51 +11:00
Miguel Jacq
f1ec7d9381 Remove obsolete test for sender closing a Receive Mode service via the web interface 2019-02-22 16:50:40 +11:00
Micah Lee
d86b13d91c Remove python3-distutils from BUILD.md as well 2019-02-21 10:12:56 -08:00
Micah Lee
1f1aa6fd52 Tweak readme install language 2019-02-20 10:55:01 -08:00
Micah Lee
1e2fba5d76 Merge branch 'patch-1' of https://github.com/pahakalle/onionshare into pahakalle-patch-1 2019-02-20 10:52:00 -08:00
Micah Lee
f524679be0 Remove python3-distutils as a dependency because it isn't in every debian, and also doesn't seem necessary; and change the default suite to cosmic to make the PPA release simpler 2019-02-20 10:51:33 -08:00
Kalle Laine
39e492dae1 Add homebrew install option
also discussed sort of in #863
2019-02-19 19:14:08 +02:00
Micah Lee
5e983936eb Add python3-requests as a Build-Depends, which is required to make PPA releases 2019-02-18 16:22:59 -08:00
Miguel Jacq
7690a63935 Always reset the slug to an empty string when the web server stops 2019-02-19 08:37:32 +11:00
Micah Lee
6a658982a0 Prevent crashing when cleaning up file, if file is still in use 2019-02-18 12:28:02 -08:00
Micah Lee
2220281e80 Fix minor bugs: When making the ajax POST request, strip the trailing slash from window.location.pathname so the URL works in public mode; and add a newline before printing message when receiving file 2019-02-18 10:57:20 -08:00
Micah Lee
b5730f1e45 Update share mode screenshots too 2019-02-17 21:37:15 -08:00