Commit Graph

656 Commits

Author SHA1 Message Date
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
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
bea6e3878c
Remove more CLI strings 2019-04-21 12:58:53 -07:00
Miguel Jacq
d2281112b6
Fix loading custom config if provided 2019-04-20 14:43:04 +10:00
Miguel Jacq
a7bbe818bf
Unlocalize CLI strings 2019-04-20 10:31:34 +10:00
Micah Lee
e5366bdf0b
Merge pull request #959 from micahflee/958_verbose
Rename --debug to --verbose
2019-04-19 09:48:39 -07:00
Micah Lee
e3357192ba
Change a few more references of debug to verbose 2019-04-19 09:32:11 -07:00
Micah Lee
ed1ada9c06
Merge branch 'develop' into 918_old_linux 2019-04-18 19:57:46 -07:00
Micah Lee
758c640561
Rename debug to verbose in all relevant places 2019-04-18 19:53:21 -07:00
Miguel Jacq
3a2cd86ded
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
a465ac9700
CLI flags to contain requested hyphens 2019-03-25 15:30:34 +11:00
Miguel Jacq
ee3a14a025
Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +11:00
Miguel Jacq
c411e8d61a
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Miguel Jacq
49285e047c
Fix conflicts 2019-03-25 13:43:08 +11:00
Miguel Jacq
bd774ab448
rename CLI args for autostart/stop timers 2019-03-24 18:19:50 +11:00
Miguel Jacq
881b700b70
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
c1023647d1
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
a9f3accf69
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
Miguel Jacq
9a66e331b4
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
99505a4c7d
Allow the bundled Tor connection timeout to be configurable from the CLI 2019-03-12 15:29:07 +11:00
Miguel Jacq
f2314f24c7
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
365798b12f
Various Startup Timer fixes for strings, bundled mode, stealth mode, startup/shutdown time clashes 2019-03-11 15:55:17 +11:00
Miguel Jacq
040e7e4ca9
Remove unnecessary attribute from OnionShare object 2019-03-10 09:06:27 +11:00
Miguel Jacq
04fd65de11
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
31c360b44d
Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Micah Lee
436dd3052d
Add try/except block when stubbing flash's show_server_banner, in order to support older versions of flask 2019-02-24 18:11:13 -08:00
Miguel Jacq
3743d9a480
Always reset the slug to an empty string when the web server stops 2019-02-19 08:37:32 +11:00
Micah Lee
8e200cd8b0
Prevent crashing when cleaning up file, if file is still in use 2019-02-18 12:28:02 -08:00
Micah Lee
3e2901ad8c
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
aaa4e239de
Merge branch 'develop' into 899_send_files_ajax 2019-02-17 10:08:01 -08:00
Miguel Jacq
51e98f40e7
Update the GUI when the browser has canceled an upload in Receive Mode. Don't increment the completed counter 2019-02-17 15:49:37 +11:00
Micah Lee
e2c4ec1f6f
Make uploading over ajax, and ajax flash messages, work 2019-02-15 14:52:00 -08:00
Micah Lee
a22d21c222
Refactor upload_logic to work with both normal uploads and ajax uploads 2019-02-14 10:11:04 -08:00
Micah Lee
dd3f2d60b6
Update the noscript upload instructions on the receive mode upload page, and add separate page for instructions to disable NoScript XSS setting 2019-02-14 09:31:39 -08:00
Micah Lee
1dbd82f74a
Oops, was passing self.upload_error into the wrong close function 2019-02-12 16:02:19 -08:00
Micah Lee
e625d3b009
Catch more exceptions in ReceiveModeFile that trigger on a full disk 2019-02-12 15:54:25 -08:00
Micah Lee
09c2696c27
Gracefully handle exceptions while writing a file during a receive mode transfer (like out of disk space error) 2019-02-12 14:36:14 -08:00
Micah Lee
28eaf2f2be
Fix typo in comment 2019-02-12 14:30:41 -08:00
Micah Lee
dafe57cdef
When you hit an upload_error, alert the user 2019-02-11 23:23:31 -08:00
Micah Lee
5901866200
Call secure_filename on the filename first thing, so we don't end up working with multiple versions of the same filename 2019-02-11 23:05:51 -08:00
Micah Lee
9115ff89f3
Refactor receive mode to start saving files to data_dir with .part extension while they're downloading 2019-02-11 22:46:39 -08:00
Miguel Jacq
7c71aef15b
Support persistent v3 onions 2019-02-11 11:36:18 +11:00
Micah Lee
221518f0c4
Update available languages 2019-02-10 10:40:24 -08:00
Micah Lee
2a949802d2
Separete onion settings into their own group, and remove css that was breaking the look of the "Copy HidServAuth" button 2019-01-28 20:30:05 -08:00
Micah Lee
58844ba7c8
Merge branch 'develop' into 812_v3_tor_version 2019-01-28 17:22:02 -08:00
Micah Lee
f854b3ff37
Tests are failing because a receive mode dir already exists, so this makes them pass 2019-01-21 17:43:13 -08:00
Micah Lee
2fcedb8730
Oops, finish resolving merge conflict 2019-01-21 17:32:58 -08:00
Micah Lee
f4cd49e9dc
Merge branch 'develop' into 866_receive_mode_crash 2019-01-21 17:28:24 -08:00
Micah Lee
6822c7435f
Write test to confirm that submitting the receive mode form without selecting files doesn't change in_progress_count or completed_count 2019-01-21 17:11:58 -08:00