1764 Commits

Author SHA1 Message Date
Micah Lee
9bb28c743a Work in progress commit, moving the timer_callback logic from ShareMode into Mode so ReceiveMode can use it as well 2018-04-28 12:03:10 -07:00
Micah Lee
7a47570e18 Fixed crash when starting recieve mode server 2018-04-27 23:19:46 -07:00
Micah Lee
0c5886fd7c Change the URL description in receive mode 2018-04-27 23:02:04 -07:00
Micah Lee
7665296189 Connect the right signals and slots for recieve mode, and now the receive mode server starts 2018-04-27 22:32:20 -07:00
Micah Lee
fd397f3b7c Fix server status indicator 2018-04-27 22:20:12 -07:00
Micah Lee
6899dc4942 Make Web's the REQUEST_ constants static attributes 2018-04-26 11:00:59 -07:00
Micah Lee
df603a31d9 Make OnionShareGui use the proper web object 2018-04-26 10:59:38 -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
931a582d90 When you start receive mode, it now runs OnionShareGui.set_server_active, to hide the appropriate mode switchers buttons 2018-04-25 23:03:57 -07:00
Micah Lee
a24bb75b66 Split out customization of Mode into _custom() functions, and implement those customizations in ShareMode 2018-04-25 22:59:26 -07:00
Micah Lee
f59fc79939 Move a lot of logic from ShareMode into generic Mode 2018-04-25 22:14:23 -07:00
Micah Lee
def2c9b984 Make ShareMode and ReceiveMode inherit from the same class, Mode 2018-04-25 21:54:28 -07:00
Micah Lee
15d42cb6a4 Add receive mode warning 2018-04-25 20:50:56 -07:00
Micah Lee
5a1d649e88 Forgot to change args passed into ServerStatus 2018-04-25 20:22:29 -07:00
Micah Lee
8d03f83b88 Make different strings for start server button for different modes 2018-04-25 20:14:27 -07:00
Micah Lee
d6810da736 Add ServerStatus to ReceiveMode, and update the server status indicator to have receive statuses too 2018-04-25 09:46:49 -07:00
Micah Lee
1ad2afb859 Bugfix, settings was throwing an error and quitting when Tor was authenticated, not when it was not authenticated 2018-04-25 09:13:05 -07:00
Micah Lee
4d4e9c6800 Bugfix, TorConnectionDialog was getting instatiated with the wrong arguements 2018-04-25 09:08:50 -07:00
Micah Lee
11869a9d0d Move more logic from OnionShareGui into ShareMode, when reloading settings 2018-04-25 08:49:43 -07:00
Micah Lee
74509c5a13 Allow changing downloads_dir from SettingsDialog 2018-04-25 08:43:40 -07:00
Micah Lee
aa372ce585 Make ShareMode and ReceiveMode directories, and move ShareMode modules into its dir 2018-04-24 17:26:54 -07:00
Micah Lee
3b150f0cb4 Merge branch 'receiver-mode' into receiver-mode-gui 2018-04-24 17:22:06 -07:00
Micah Lee
0e41eff4a6 Typo 2018-04-24 17:18:33 -07:00
Micah Lee
86247b7456 In CLI recieve mode, tell the user where to look for uploaded files 2018-04-24 17:18:18 -07:00
Micah Lee
52fa4f3485 Update GPL copyright year 2018-04-24 10:07:59 -07:00
Micah Lee
dd5e5ec247 Remove the desktop notification setting -- everyone gets them now 2018-04-24 09:26:06 -07:00
Micah Lee
f83a224299 Move the share-related event logic from OnionShareGui.event_callback into ShareMode methods, and other various bugfixes related to the refactor 2018-04-24 09:21:23 -07:00
Micah Lee
5e737c8d23 Hide Receive Files button while share server is active 2018-04-24 08:51:39 -07:00
Micah Lee
bec339f718 Fix crash when canceling while compressing files, and also prevent canceled share from starting when compressing finishes 2018-04-24 08:48:17 -07:00
Micah Lee
3566c2fcb3 Moving more of the logic into ShareMode, but still have much more testing to do 2018-04-23 22:08:51 -07:00
Micah Lee
26c1bb1d06 Move a lot of code from OnionShareGui into ShareMode, but none of it runs yet 2018-04-23 21:34:29 -07:00
Micah Lee
cb6301f29d Add empty ShareMode and ReceiveMode widgets, and show and hide them when switching modes 2018-04-23 21:24:12 -07:00
Micah Lee
77bc7b9841 Fix small --local-only bug that causes a crash when canceling settings 2018-04-23 21:16:10 -07:00
Micah Lee
4cf44444f7 Flip between modes when clicking mode buttons, and some css 2018-04-23 21:15:30 -07:00
Micah Lee
f9224355e7 Remove the margin from the mode switcher 2018-04-23 21:08:03 -07:00
Micah Lee
2d2d93ae47 Begin to add the mode switcher (between "Share Files" and "Receive Files", with the settings button) 2018-04-23 19:51:51 -07:00
Micah Lee
6e3b1496ab Merge branch 'develop' into receiver-mode 2018-04-23 12:53:35 -07:00
Micah Lee
95d93111d0 Merge branch 'comradekingu-patch-1' into develop 2018-04-23 12:51:09 -07:00
Micah Lee
1808b45ca7 Merge branch 'patch-1' of https://github.com/comradekingu/onionshare into comradekingu-patch-1 2018-04-23 12:51:03 -07:00
Micah Lee
cf98fc2e13 Merge branch 'develop' into receiver-mode 2018-04-23 08:52:48 -07:00
Allan Nordhøy
0634edb57b Spellign: - not, expire 2018-04-23 04:21:37 +02:00
Miguel Jacq
7932c345f6 Merge pull request #682 from micahflee/rearrange_settings
Rearrange settings
2018-04-23 10:55:00 +10: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
ec08349a18 Put test Tor button in a so it can be left-aligned 2018-04-22 17:20:58 -07:00
Micah Lee
a1fd22e255 Rearrange some widgets in the settings dialog, specifically move the bridge options above the test Tor settings button 2018-04-22 17:15:15 -07:00
Micah Lee
ede9c696d3 Merge branch 'hide_primary_action_on_tor_disconnection' of https://github.com/mig5/onionshare into develop 2018-04-22 16:09:32 -07:00
Micah Lee
fc0beb50b6 Merge branch 'mig5-local_only_gui' into develop 2018-04-22 15:43:25 -07:00
Micah Lee
0cff5e4229 Merge branch 'local_only_gui' of https://github.com/mig5/onionshare into mig5-local_only_gui 2018-04-22 15:41:10 -07:00
Micah Lee
142c0aee60 Merge branch 'mig5-657_meek_warning' into develop 2018-04-22 15:32:46 -07:00