Commit graph

116 commits

Author SHA1 Message Date
Micah Lee
f4abcf1be9
Add onionshare CLI to cli folder, move GUI to desktop folder, and start refactoring it to work with briefcase 2020-10-12 22:40:55 -07:00
Micah Lee
4c4323a772
Update Copyright to 2020 everywhere, and assign to Micah Lee, et al. instead of just Micah Lee 2020-08-27 19:13:08 -04:00
Saptak S
380cf94856
Merge branch 'develop' into chat 2020-05-02 02:49:49 +05:30
Micah Lee
097f5f6047
Merge branch 'develop' into 1064_tabs 2020-03-22 11:23:24 -07:00
Saptak S
2c938fd777
Create web UI and socket code for the chat interface 2020-03-08 14:51:43 +05:30
Micah Lee
b00260afeb
Change colors 2020-03-08 12:38:25 +05:30
Sam
7b81f6f6b3 Added ascii-logo 2020-01-03 14:21:31 -05:00
Micah Lee
76d109747e
Move private_key, hidservauth_string, and password from "persistent" mode settings to "onion" mode settings; and make it so the onion settings are always saved in each tab, even if the tab is not persistent, so if you stop and start a service in the same tab it has the same onion address and password 2019-12-08 10:13:56 -08:00
Micah Lee
849176ac54
Fix typos in comments 2019-11-28 19:30:48 -08:00
Micah Lee
3fe6d43d9d
If running from onionshare CLI, use a new temporary tor data dir, and if running onionshare-gui, always use the same tor data dir 2019-11-28 14:02:00 -08:00
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
1b36fe4036
Make ModeSettings be able to save and load 2019-11-02 21:00:23 -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
9f0e031c8b
Refactor onionshare CLI to accept and use all mode settings 2019-11-02 15:37:21 -07:00
Micah Lee
b8f1299496
Fix CLI to work with mode settings 2019-11-02 14:56:40 -07:00
Micah Lee
b9a7361d9c
Replace .format with python 3.6 f-strings in onionshare module 2019-10-20 10:15:16 -07:00
Micah Lee
3037727890
Format all code using black 2019-10-12 21:01:25 -07:00
Micah Lee
b000ef3099
Validate filenames, and require filenames be passed in, in website mode as well as share mode 2019-09-15 17:06:03 -07:00
Micah Lee
dee9e40051
Rename a few more count variables to cur_history_id 2019-09-03 22:20:52 -07:00
Micah Lee
bf20085c4a
Load default settings in CLI mode, of config is not passed in 2019-09-01 20:45:19 -07:00
Micah Lee
c53ecb0a03
Merge branch 'develop' into basic_auth_everywhere 2019-05-24 18:13:44 -07:00
hiro
f56b148ddb Resolve bugs from initial PR 2019-05-24 10:08:51 +02: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
b667fcc4f8
Fix onionshare URLs non-public mode is always http basic auth 2019-05-20 19:22:03 -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
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
Miguel Jacq
a7bbe818bf
Unlocalize CLI strings 2019-04-20 10:31:34 +10: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
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
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
31c360b44d
Add a Startup Timer feature (scheduled start / dead man's switch) 2019-03-05 10:28:27 +11:00
Micah Lee
6e3b103ef5
Rename receive mode "downloads_dir" to the OnionShare "data_dir" 2019-01-20 11:46:20 -08:00
Miguel Jacq
d3b5e1e256
Merge develop branch and fix conflicts 2018-11-13 14:45:40 +11:00
Micah Lee
6233487ecd
Receive mode puts files in a directory based on the timestamp of the upload 2018-10-25 21:13:16 -07:00
Miguel Jacq
875b538347
Make auto-stop timer work on CLI when an upload is still in progress on expiry 2018-10-02 15:41:29 +10:00
Miguel Jacq
7e8a76be8a
Load default settings before parsing for any alternate config. Reload strings if an alternate config was passed in after 2018-10-01 15:32:53 +10:00
Micah Lee
c4f776c42a
Set OnionShare language based on the locale stored in settings, and prompt user to restart OnionShare after changing their language 2018-09-30 17:06:29 -07:00
Micah Lee
017a4ebe31
Merge branch 'develop' into 663_zip_away 2018-09-21 16:23:49 -07:00
Micah Lee
eac4e44dc5
Remove no_filenames string, and instead display CLI usage if you don't specify filenames 2018-09-21 13:58:42 -07:00
Micah Lee
2a309af680
If only sharing one file, compress it with gzip, and serve it with gzip compression if the browser supports it 2018-09-21 12:29:23 -07:00
Micah Lee
28fd67cbcc
Move more mode-specific logic out of the Web class and into the approprate mode web classes 2018-09-21 11:36:19 -07:00