Commit Graph

16 Commits

Author SHA1 Message Date
Micah Lee
d61fc45862
Make it so passing in --persistent [filename] in the CLI, with no other args, will load that persistent mode settings file and start the server, without needing to do other validations like passing in a list of filenames 2019-11-02 23:32:44 -07:00
Micah Lee
ed1c3e1bc8
Refactor ServerStatus to use mode settings 2019-11-02 17:39:27 -07:00
Micah Lee
87918c5d89
Fix CLI tests, and also fix bug related to autostop_sharing that the tests found 2019-11-02 17:01:47 -07:00
Micah Lee
3037727890
Format all code using black 2019-10-12 21:01:25 -07:00
Micah Lee
50b2311409
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
7d89f80f20
Rename "slug" to "password" 2019-05-20 22:18:49 -07:00
Miguel Jacq
ee3a14a025
Standardise all startup_timer, scheduled_start attributes as 'autostart_timer' 2019-03-25 15:28:31 +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
dc0fe4f7b1
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
31c360b44d
Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Micah Lee
286979952a
Merge branch 'send_public_mode_arg_to_web_start' of https://github.com/mig5/onionshare into mig5-send_public_mode_arg_to_web_start 2018-09-19 18:39:07 -07:00
Micah Lee
fc7afecb7b
Choose a port *before* starting the web service 2018-09-19 18:14:42 -07:00
Miguel Jacq
8b704a0070
Start the WebThread earlier than the Onion service. This gives it a chance to generate its slug before the Onion Service finishes starting up, which can otherwise lead to a crash 2018-09-19 15:07:04 +10:00
Miguel Jacq
20c97a61ab
Send the public_mode argument to web.start in the WebThread 2018-09-19 14:40:30 +10:00
Micah Lee
d63808f419
Import onion exceptions that were missing 2018-09-18 17:44:54 -07:00
Micah Lee
174de57405
Refactor all of the threading.Threads into QThreads, and quit them all when canceling the server. When canceling the compression thread, specifically mass a cancel message into the Web and ZipWriter objects to make the bail out on compression early 2018-09-17 20:55:54 -07:00