Micah Lee
|
79f8465407
|
Delete lock file if it's stale
|
2020-08-20 18:37:20 -04:00 |
|
Micah Lee
|
d1143504ac
|
Delete the lock file on Ctrl-C
|
2020-04-06 20:19:35 -07:00 |
|
Micah Lee
|
d2517681af
|
Remove psutil dependency, and start using a lock file instead
|
2020-04-06 20:05:48 -07:00 |
|
Micah Lee
|
8955b2b6c6
|
In dev mode, when checking for existing onionshare, check for processes that start with python3 as well as python
|
2020-04-06 19:53:34 -07:00 |
|
Micah Lee
|
51268ff9f4
|
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
|
4d9625514c
|
If there is an existing onionshare-gui process, open a new tab and quit
|
2019-11-28 12:35:57 -08:00 |
|
Micah Lee
|
92a7dd364e
|
Support handling events by monitoring an events folder for changes
|
2019-11-28 12:24:26 -08:00 |
|
Micah Lee
|
0431374ef8
|
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
|
940b89a30b
|
Move more logic into GuiCommon and out of MainWindow
|
2019-10-20 21:36:30 -07:00 |
|
Micah Lee
|
b246f22e7a
|
Move Onion and OnionShare app objects into the main window
|
2019-10-20 20:11:45 -07:00 |
|
Micah Lee
|
bd832051e0
|
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
|
0e44020bb6
|
Rename OnionShareGui to MainWindow
|
2019-10-20 19:41:20 -07:00 |
|
Micah Lee
|
ef6c7e280e
|
Detect if another onionshare-gui process is running
|
2019-10-20 19:18:56 -07:00 |
|
Micah Lee
|
db48e04e65
|
Replace .format with python 3.6 f-strings in onionshare_gui module
|
2019-10-20 10:30:16 -07:00 |
|
Micah Lee
|
88e151d414
|
Format all code using black
|
2019-10-12 21:01:25 -07:00 |
|
Miguel Jacq
|
62e668addd
|
Unlocalize CLI strings
|
2019-04-20 10:31:34 +10:00 |
|
Micah Lee
|
d5c60f8f70
|
Rename debug to verbose in all relevant places
|
2019-04-18 19:53:21 -07:00 |
|
Miguel Jacq
|
1e3b32ebbb
|
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
|
e6302f3ba4
|
Remove the useless gui=True arg getting passed intro strings._ all over the place
|
2018-09-30 17:47:10 -07:00 |
|
Micah Lee
|
8d44c0f729
|
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
|
948b406c2a
|
Smoothly quit when Ctrl-C is pressed
|
2018-09-20 23:09:14 -07:00 |
|
Micah Lee
|
613c3dfbd6
|
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
|
7a71c4376a
|
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
|
87e8652c18
|
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
|
68cd470baf
|
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
|
74509c5a13
|
Allow changing downloads_dir from SettingsDialog
|
2018-04-25 08:43:40 -07:00 |
|
Micah Lee
|
52fa4f3485
|
Update GPL copyright year
|
2018-04-24 10:07:59 -07:00 |
|
Micah Lee
|
a930d7828d
|
Fix a few bugs that I missed when merging in develop
|
2018-04-22 17:46:14 -07:00 |
|
Micah Lee
|
1600fd8d3d
|
Merge branch 'develop' into receiver-mode
|
2018-04-22 17:38:28 -07:00 |
|
Micah Lee
|
2c3d66de44
|
Fix bug with validating filenames from args in GUI
|
2018-03-14 08:34:43 -07:00 |
|
Micah Lee
|
14d7921bb9
|
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
|
c1ff40b5b3
|
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
|
e137b9673f
|
#662 Allow local-only mode in GUI
|
2018-03-07 16:13:22 +11:00 |
|
Micah Lee
|
dfe62ff707
|
Refactor OnionShareGui to use new Web class
|
2018-03-06 00:56:40 -08:00 |
|
Micah Lee
|
5b29101c34
|
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
|
4ee3948908
|
Web needs to know about receive mode, not the OnionShare object
|
2018-03-05 08:48:04 -08:00 |
|
Micah Lee
|
7aa8c7f995
|
Add command line flag for receive mode
|
2018-03-05 07:45:10 -08:00 |
|
attila
|
76526b18a5
|
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
|
d6677060af
|
4096 byte dir check is not consistent across platforms, remove it for now
|
2018-01-02 09:46:00 +11:00 |
|
Miguel Jacq
|
4079704be5
|
Check the file is a valid file or dir (not just that it exists)
|
2018-01-02 09:36:57 +11:00 |
|
Miguel Jacq
|
bcb61f3627
|
Format the argparser output better, to deal with the longer argument names
|
2017-11-12 10:40:04 +11:00 |
|
Miguel Jacq
|
a4a4035e10
|
better metavar for --shutdown-timeout arg
|
2017-11-11 17:12:10 +11:00 |
|
Miguel Jacq
|
ee9dfb7a8b
|
No longer treating shutdown_timeout as a float, but an int of seconds
|
2017-11-09 19:50:50 +11:00 |
|
Miguel Jacq
|
c6f36e2086
|
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
|
e8304b861f
|
Make it possible to supply a custom json settings file from somewhere else
|
2017-06-01 17:35:27 +10:00 |
|
Miguel Jacq
|
5f92e3d606
|
#345 - validate the readability of files before adding them
|
2017-05-18 18:09:49 +10:00 |
|
Micah Lee
|
410a71b702
|
Add log() method to onionshare.common, which logs to stdout if in debug mode
|
2017-05-16 11:12:55 -07:00 |
|
Micah Lee
|
6b35a44d41
|
Renamed onionshare.helpers module to onionshare.common
|
2017-05-16 11:05:48 -07:00 |
|
Micah Lee
|
72e862124d
|
Pass debug into the Onion and OnionShareGUI objects
|
2017-05-16 10:57:59 -07:00 |
|
Micah Lee
|
f48e160816
|
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 |
|