Micah Lee
|
e316af0e11
|
Open share tab if filenames are passed; and when detecting existing onionshare-gui processes, ignore zombies
|
2019-11-28 13:35:13 -08:00 |
|
Micah Lee
|
58bc258507
|
If there is an existing onionshare-gui process, open a new tab and quit
|
2019-11-28 12:35:57 -08:00 |
|
Micah Lee
|
e7c683528d
|
Support handling events by monitoring an events folder for changes
|
2019-11-28 12:24:26 -08:00 |
|
Micah Lee
|
598db21dcd
|
Remove custom config from GUI CLI args, because GUI users can configure OnionShare in the GUI
|
2019-11-02 15:39:12 -07:00 |
|
Micah Lee
|
b8dc0551d3
|
Move more logic into GuiCommon and out of MainWindow
|
2019-10-20 21:36:30 -07:00 |
|
Micah Lee
|
2a07a3572f
|
Move Onion and OnionShare app objects into the main window
|
2019-10-20 20:11:45 -07:00 |
|
Micah Lee
|
bba5286815
|
Make a new onionshare_gui.GuiCommon object, and move css from onionshare.Common into it
|
2019-10-20 20:01:09 -07:00 |
|
Micah Lee
|
4f2ce99417
|
Rename OnionShareGui to MainWindow
|
2019-10-20 19:41:20 -07:00 |
|
Micah Lee
|
30949cf196
|
Detect if another onionshare-gui process is running
|
2019-10-20 19:18:56 -07:00 |
|
Micah Lee
|
3a2cc8bdee
|
Replace .format with python 3.6 f-strings in onionshare_gui module
|
2019-10-20 10:30:16 -07:00 |
|
Micah Lee
|
3037727890
|
Format all code using black
|
2019-10-12 21:01:25 -07: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
|
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
|
a1f5b5964a
|
Remove the useless gui=True arg getting passed intro strings._ all over the place
|
2018-09-30 17:47:10 -07: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
|
5bc8e0a5e5
|
Smoothly quit when Ctrl-C is pressed
|
2018-09-20 23:09:14 -07:00 |
|
Micah Lee
|
4d5f1a34cd
|
Move all stylesheets definitions into Common, so now we no longer have blocks of css spread across the GUI code, and it's easier to re-use stylesheets
|
2018-05-07 16:21:22 -07:00 |
|
Micah Lee
|
7b25ae1d6b
|
Remove --shutdown-timeout as an option for onionshare_gui, since GUI options are set in the settings dialog. Also fixed a bug where --local-only and --shutdown-timeout were not compatible in onionshare CLI
|
2018-05-04 16:43:30 -07:00 |
|
Micah Lee
|
e32e850548
|
Fix stay_open regression bug. Before, it was closing automatically even when the setting wasn't set. Also, remove the --stay-open option from the GUI, since GUI settings are set in the settings dialog not cli args
|
2018-05-04 16:35:32 -07:00 |
|
Micah Lee
|
9e9f65572b
|
Instead of creating a Web object and passing it into OnionShareGui, now each mode creates its own separate Web object, instantiated in its own way
|
2018-04-26 09:30:53 -07:00 |
|
Micah Lee
|
dd7d97dbbb
|
Allow changing downloads_dir from SettingsDialog
|
2018-04-25 08:43:40 -07:00 |
|
Micah Lee
|
b6b61f753d
|
Update GPL copyright year
|
2018-04-24 10:07:59 -07:00 |
|
Micah Lee
|
91536ea571
|
Fix a few bugs that I missed when merging in develop
|
2018-04-22 17:46:14 -07:00 |
|
Micah Lee
|
8c89a05fd9
|
Merge branch 'develop' into receiver-mode
|
2018-04-22 17:38:28 -07:00 |
|
Micah Lee
|
929ad58ebd
|
Fix bug with validating filenames from args in GUI
|
2018-03-14 08:34:43 -07:00 |
|
Micah Lee
|
76d299a6c9
|
Move settings into the Common object, so the settings are available to all objects (including Web, which is required for receive mode)
|
2018-03-13 03:28:47 -07:00 |
|
Micah Lee
|
50409167d4
|
Completely refactor common to make a Common class, and pass that class down into all parts of the program
|
2018-03-08 10:18:31 -08:00 |
|
Miguel Jacq
|
46a9a2a0a1
|
#662 Allow local-only mode in GUI
|
2018-03-07 16:13:22 +11:00 |
|
Micah Lee
|
4a0c6e8dcd
|
Refactor OnionShareGui to use new Web class
|
2018-03-06 00:56:40 -08:00 |
|
Micah Lee
|
0cec696055
|
Refactor web.py to move all the web logic into the Web class, and refactor onionshare (cli) to work with it -- but onionshare_gui is currently broken
|
2018-03-05 11:06:59 -08:00 |
|
Micah Lee
|
cd1a1d9638
|
Web needs to know about receive mode, not the OnionShare object
|
2018-03-05 08:48:04 -08:00 |
|
Micah Lee
|
18ac830a9e
|
Add command line flag for receive mode
|
2018-03-05 07:45:10 -08:00 |
|
attila
|
ae494c8e33
|
Second attempt at patches for an OpenBSD port, this time based off of 1.2
and after feedback from the upstream and other contributors at
https://github.com/micahflee/onionshare/pull/489
|
2018-02-05 18:06:37 -05:00 |
|
Miguel Jacq
|
2e5b9b37a9
|
4096 byte dir check is not consistent across platforms, remove it for now
|
2018-01-02 09:46:00 +11:00 |
|
Miguel Jacq
|
9154faf351
|
Check the file is a valid file or dir (not just that it exists)
|
2018-01-02 09:36:57 +11:00 |
|
Miguel Jacq
|
624028e49f
|
Format the argparser output better, to deal with the longer argument names
|
2017-11-12 10:40:04 +11:00 |
|
Miguel Jacq
|
275f345604
|
better metavar for --shutdown-timeout arg
|
2017-11-11 17:12:10 +11:00 |
|
Miguel Jacq
|
f220058c63
|
No longer treating shutdown_timeout as a float, but an int of seconds
|
2017-11-09 19:50:50 +11:00 |
|
Miguel Jacq
|
32108dcca2
|
Implements a shutdown timer to stop a share automatically (downloaded or not) after N hours
|
2017-11-08 20:25:59 +11:00 |
|
Miguel Jacq
|
b19f8fce52
|
Make it possible to supply a custom json settings file from somewhere else
|
2017-06-01 17:35:27 +10:00 |
|
Miguel Jacq
|
8a1fad7a79
|
#345 - validate the readability of files before adding them
|
2017-05-18 18:09:49 +10:00 |
|
Micah Lee
|
7003349873
|
Add log() method to onionshare.common, which logs to stdout if in debug mode
|
2017-05-16 11:12:55 -07:00 |
|
Micah Lee
|
1591888863
|
Renamed onionshare.helpers module to onionshare.common
|
2017-05-16 11:05:48 -07:00 |
|
Micah Lee
|
219c4351e1
|
Pass debug into the Onion and OnionShareGUI objects
|
2017-05-16 10:57:59 -07:00 |
|
Micah Lee
|
2ca92c52db
|
Move owernship of the TorConnetionDialog objection from __init__.py into the OnionShareGUI class, and make it so when the Tor connection gets canceled, OnionShare quits
|
2017-05-14 18:30:45 -07:00 |
|
Micah Lee
|
dc23946fe8
|
Fixed various issues introduced by creating an singleton Onion object and passing it into the OnionShare object
|
2017-05-14 17:21:13 -07:00 |
|
Micah Lee
|
bcf2e518de
|
Made clicking Exit in the TorConnectionDialog exit the app
|
2017-04-17 20:49:50 -07:00 |
|
Micah Lee
|
71dc65edee
|
Began making a TorConnectionDialog, which handles connecting to the Tor network
|
2017-04-17 20:26:35 -07:00 |
|
Micah Lee
|
1519f3693d
|
Capitalize comments
|
2017-04-17 19:38:42 -07:00 |
|