423 Commits

Author SHA1 Message Date
Micah Lee
5bf67cc5d1 Make the drop count adjust size based on its sizeHint 2018-02-10 18:36:38 -08:00
Micah Lee
705831f247 Designed file list items to look better, prevent scrolling horizintally, and ensuring the delete button does not overlap the filename 2018-02-10 18:15:44 -08:00
Micah Lee
def8289a8b Added an info label to file selection, to show the total count and size 2018-02-10 11:48:14 -08:00
Micah Lee
129f5be7a6 Instead of disabling the settings button when share is active, hide it, and show it again when the share stops 2018-02-10 10:59:01 -08:00
Micah Lee
f213769f89 Merge branch 'persistent_url_label_tooltip' of https://github.com/mig5/onionshare into mig5-persistent_url_label_tooltip 2018-02-10 10:46:03 -08:00
Miguel Jacq
fff27a07a2 Set the URL label to explicitly mention when persistent. Remove older Persistence warning to save clutter. Add ToolTip to explain what Persistence means 2018-02-09 07:55:22 +11:00
Miguel Jacq
33e9de0466 set MinimumSize on the word-wrapped QLabels in the SettingsDialog, which prevents them getting squished when parent is resized smaller 2018-02-08 16:02:00 +11:00
Micah Lee
d16021d34b Move auto-stop timer into settings, so its UI does not show up unless the user specifically enables that feature 2018-02-07 09:55:55 -08:00
Micah Lee
dc2ccbf5f8 Fix bug when stopping server 2018-02-07 09:48:34 -08:00
Micah Lee
7259232b23 Refactor what happens to FileList when the server starts or stops, and also prevent selections when the server starts 2018-02-07 09:16:55 -08:00
Micah Lee
74cb643fab Merge branch 'disable_delete_buttons_on_running_server' of https://github.com/mig5/onionshare into mig5-disable_delete_buttons_on_running_server 2018-02-07 09:05:40 -08:00
Miguel Jacq
d3c88988f4 Fix comment to reflect what we're doing with the file list buttons 2018-02-07 19:18:20 +11:00
Miguel Jacq
c28c384e97 Leave the FileList enabled, but hide the item buttons when the server is working or started 2018-02-07 17:34:36 +11:00
Miguel Jacq
37aad245da Set the File List widget to readonly while running, so items can't be deleted mid-share 2018-02-07 16:40:45 +11:00
Miguel Jacq
27e2323edc Call update_primary_action when server is stopped. Because it runs adjustSize(), it will shrink the window back down to a sane size once the URL label widgets get hidden, instead of growing the FileList widget to fill up the space 2018-02-07 16:00:48 +11:00
Miguel Jacq
6bbcd9130e allow word wrap of URL QLabels, and set MinimumHeight so they don't get shrunk in the layout 2018-02-07 15:59:13 +11:00
Micah Lee
2e2c3c275e Move server status indicator to the status bar at the bottom 2018-02-06 19:31:02 -08:00
Micah Lee
370b1bfc45 Move version label into settings dialog 2018-02-06 19:05:02 -08:00
Micah Lee
253aec55f2 Start with a narrower width 2018-02-06 18:35:35 -08:00
Micah Lee
8590797640 Improve the UI of the quit warning 2018-02-06 17:47:05 -08:00
Micah Lee
de027f0b5b Update color and style of progress bars 2018-02-06 17:10:42 -08:00
Micah Lee
453abb0e6d Give server button rounded corners. Change style of persistent URL label 2018-02-06 16:14:56 -08:00
Micah Lee
f9537c8e73 Increase minimum width, and remove word wrap, to fix QLabel squishing problem 2018-02-06 16:11:48 -08:00
Micah Lee
4790cef966 Make the server button and URL display much nicer, and replace string "URL" with "address" for usability 2018-02-06 16:01:59 -08:00
Micah Lee
0a945c60ba Progressively hide shutdown timer-related UI, so only relevant widgets are shown at any time 2018-02-05 18:20:09 -08:00
Micah Lee
138048c63b Increase minimum window width 2018-02-05 09:46:22 -08:00
Micah Lee
53c94411cc Stylize the server button 2018-02-05 09:44:17 -08:00
Micah Lee
06f2f01a23 Resize the window when adding new files 2018-02-05 09:33:31 -08:00
Micah Lee
62ad400cfa Move autostop timer checkbox below the start sharing button 2018-02-05 09:29:28 -08:00
Micah Lee
10f7a91c15 Show or hide primary action layout section the first time, in case filenames are passed in from the cli 2018-02-05 09:26:05 -08:00
Micah Lee
a24b1f7e00 Create a "primary action" layout, and only show it when there are files in the file list 2018-02-05 09:24:43 -08:00
Micah Lee
4958f3679c Add delete button back, but only show it when files are selected 2018-02-04 21:45:35 -08:00
Micah Lee
a60253d55c Remove delete button, use delete X's instead 2018-02-04 21:18:41 -08:00
Micah Lee
51019eabb2 Only do the fake item hack if there are items in the list 2018-02-04 20:50:24 -08:00
Micah Lee
de5e27e79d Move DropHereLabel and DropCountLabel classes out of FileList 2018-02-04 20:36:34 -08:00
Micah Lee
cb5bd78163 Give file items widgets, so they can soon contain working delete buttons 2018-02-04 20:09:51 -08:00
Micah Lee
ff6be2a451 When dragging files into the window, highlight the drop area in blue and show a count of files to be added 2018-02-04 19:28:42 -08:00
Micah Lee
9ec38b49fa Update drag and drop look and instructions 2018-02-04 13:13:38 -08:00
Micah Lee
605d709200 Merge branch '535_force_update_check_via_qthread' of https://github.com/mig5/onionshare into mig5-535_force_update_check_via_qthread 2018-01-30 21:28:25 -08:00
Miguel Jacq
7038404075 reinstate the emitted signals for invalid version/error checking for updates 2018-01-23 16:51:13 +11:00
Miguel Jacq
49d5a3f34a #535 do the forced update check via a (non-blocking) QThread 2018-01-23 16:32:14 +11:00
Miguel Jacq
4f4741138d stricter regex of IPv4 as well as IPv6 IPs in custom bridges 2018-01-22 16:24:26 +11:00
Miguel Jacq
8ff81721c7 Support for obfs4 in custom bridges 2018-01-19 15:31:11 +11:00
Micah Lee
e0e10c0531 Merge branch '435_support_bridges' of https://github.com/mig5/onionshare into mig5-435_support_bridges 2018-01-17 16:19:30 -08:00
Micah Lee
eb3204d45b Merge branch 'save_autoupdate_setting' of https://github.com/mig5/onionshare into mig5-save_autoupdate_setting 2018-01-17 16:02:03 -08:00
Miguel Jacq
04e8c3b15d Re-load the settings in the UpdateCheck thread before saving, in case settings have changed in between starting thread and saving, so we don't clobber them 2018-01-18 08:43:14 +11:00
Miguel Jacq
87b0b317d4 Save the use_autoupdate setting 2018-01-18 07:54:19 +11:00
Miguel Jacq
b07e299b0c Clarify that obfs4 bridges can't be used as custom bridges, and that obfs4proxy is needed for obfs4 bridges 2018-01-17 16:30:12 +11:00
Miguel Jacq
f14521af6a Fix conflicts arising from the reuse_private_key branch 2018-01-16 15:30:36 +11:00
Micah Lee
74c9f11ca0 Merge branch '528_disable_check_for_updates_if_disconnected' of https://github.com/mig5/onionshare into mig5-528_disable_check_for_updates_if_disconnected 2018-01-14 19:00:39 -08:00