386 Commits

Author SHA1 Message Date
Miguel Jacq
69fc0e522a On a fresh share, delete any download progress bars of previous shares, and re-hide the downloads container 2017-05-31 17:35:16 +10:00
Miguel Jacq
17f18e9a8d Ensure the self.filenames list is sorted internally.
This is important because even though the QListWidget UI is sorted
automatically, the list is not necessarily. Drag-drop events, depending
on the order in which items were highlighted before being dragged,
can result in a different or reversed order. This has implications for
popping the list later (e.g on delete events)
2017-05-31 11:17:15 +10:00
Micah Lee
4a6862cd9e Merge branch 'single_add_button' of https://github.com/mig5/onionshare into mig5-single_add_button 2017-05-30 12:21:03 -07:00
Micah Lee
0a04955f6f Merge branch 'status_bar_no_borders' of https://github.com/mig5/onionshare into mig5-status_bar_no_borders 2017-05-30 12:12:52 -07:00
Micah Lee
71e2824936 Merge branch 'pretty_progress_bar' of https://github.com/mig5/onionshare into mig5-pretty_progress_bar 2017-05-30 12:07:49 -07:00
Micah Lee
4b324be60d Merge branch 'delete_multiple_items' of https://github.com/mig5/onionshare into mig5-delete_multiple_items 2017-05-30 12:05:35 -07:00
Miguel Jacq
a4fec7b181 Revert "Make the tor connection progressBar similarly style as the others"
This reverts commit 538476ca0cba05d6014d2e86750770bb2eb61978.
2017-05-29 15:46:28 +10:00
Miguel Jacq
538476ca0c Make the tor connection progressBar similarly style as the others 2017-05-29 15:44:04 +10:00
Miguel Jacq
192fe7057f reinstate the caption call 2017-05-29 13:50:46 +10:00
Miguel Jacq
d0216e0310 Fix file dialog by subclassing/overriding it, which allows for single selection of a file or folder, as well as multiple 2017-05-29 13:47:05 +10:00
Miguel Jacq
18bec095d3 Make adding of files/folders a single button 2017-05-29 10:22:16 +10:00
Miguel Jacq
09550ad50b Improve the Zip progressbar style a little bit 2017-05-29 09:14:23 +10:00
Miguel Jacq
8d82c01e2a Remove border around items in the QStatusBar 2017-05-27 20:38:46 +10:00
Miguel Jacq
10a546edf9 Style a prettier progress bar 2017-05-27 19:53:30 +10:00
Miguel Jacq
8087cebb10 Make it possible to delete multiple items from the list with a shift-select 2017-05-27 17:27:57 +10:00
Miguel Jacq
88bd86a5c9 Adds Settings and Help menu items to the systray 2017-05-27 17:14:59 +10:00
Micah Lee
2f5fbe2d3f Remove the extra instances of the Settings object, and only use OnionShareGui.settings 2017-05-22 17:11:41 -07:00
Micah Lee
83b2b9a025 Reload Settings whenever the settings get saved in SettingsDialog 2017-05-22 17:08:05 -07:00
Micah Lee
19e9cfbd2c Merge branch 'fix_stay_open' of https://github.com/mig5/onionshare into mig5-fix_stay_open 2017-05-22 17:03:01 -07:00
Micah Lee
4460c4e414 Merge branch 'add_help_button' of https://github.com/mig5/onionshare into mig5-add_help_button 2017-05-22 16:44:10 -07:00
Micah Lee
c0daea953f Add a grayscale OnionShare logo for the systray icon in macOS 2017-05-22 16:23:19 -07:00
Micah Lee
552c9eeb50 Make systray exit action call OnionShareGui.close() instead of sys.exit(), to give OnionShare a chance to warn users of open servers, and to gracefully shut down 2017-05-22 16:19:44 -07:00
Miguel Jacq
38107404ee get settings from self rather than instantiate a new Settings object 2017-05-23 09:15:52 +10:00
Micah Lee
d1512dcd9c Merge branch '285_systray_notifications' of https://github.com/mig5/onionshare into mig5-285_systray_notifications 2017-05-22 16:15:06 -07:00
Micah Lee
06f08ab51b Use non-native QFileDialog for file selection as well as directory selection, to have a consistent UI 2017-05-22 16:10:55 -07:00
Micah Lee
d4e6fbb584 Merge branch 'select_multiple_folders' of https://github.com/mig5/onionshare into mig5-select_multiple_folders 2017-05-22 16:04:56 -07:00
Miguel Jacq
57e7bae86c Refactor help button to use QDesktopServices.openUrl() 2017-05-23 08:30:24 +10:00
Micah Lee
5d0a651cb8 Merge branch 'fix_double_slash_in_update_checker_url' of https://github.com/mig5/onionshare into mig5-fix_double_slash_in_update_checker_url 2017-05-22 14:00:50 -07:00
Miguel Jacq
5a166e9fc1 Add desktop notification messages on download events (via systray) 2017-05-22 16:47:23 +10:00
Miguel Jacq
d9e882cbdc Make it possible to select multiple folders by using non-native QFileDialog 2017-05-21 16:14:32 +10:00
Miguel Jacq
c5dfeffd4e Send stay_open variable in the right place, so that it really does stay open if we said so 2017-05-20 16:59:13 +10:00
Miguel Jacq
b29b9949f3 move the help button to the left 2017-05-20 14:04:52 +10:00
Miguel Jacq
b3bde7083f Add help button to settings dialog, which takes user to the wiki 2017-05-20 13:56:20 +10:00
Miguel Jacq
a08ac9c8ab Fix double slash in URL of UpdateChecker debug message 2017-05-19 10:33:55 +10:00
Micah Lee
2e7b099029 Move the readable file check from FileSelection to FileList, so files you drag-and-drop into OnionShare get checked as well 2017-05-18 10:55:10 -07:00
Micah Lee
fd02f843d9 Merge branch '345_file_readability_fix' of https://github.com/mig5/onionshare into mig5-345_file_readability_fix 2017-05-18 10:43:29 -07:00
Miguel Jacq
5f92e3d606 #345 - validate the readability of files before adding them 2017-05-18 18:09:49 +10:00
Miguel Jacq
e7fa1283f1 #386 - put the connection radio buttons into their own group, which by default forces autoExclusive, thus preventing them from being all unset 2017-05-18 17:10:47 +10:00
Micah Lee
a26e611bec Display tor connection percent when testing bundled tor in settings 2017-05-17 12:09:56 -07:00
Micah Lee
ec7c893d9e Fix bug with displaying error message 2017-05-17 11:36:32 -07:00
Micah Lee
f12cbe7f46 Make settings button flat 2017-05-16 17:36:53 -07:00
Micah Lee
8b8e57e9f7 Oops, set the TorConnectionDialog window title back 2017-05-16 17:30:54 -07:00
Micah Lee
f72d5872f7 Fix UpdateChecker and UpdateThread to work with refactor, now it pops up an update reminder 2017-05-16 17:29:02 -07:00
Micah Lee
26ef0863dc Split SettingsDialog into two columns, because the layout didn't fit on my Mac 2017-05-16 17:02:00 -07:00
Micah Lee
41f4b666e7 When saving settings, if Tor settings changed or if Tor isn't connected, reboot the Onion object, so that it's always connected to Tor when using the app 2017-05-16 16:50:33 -07:00
Micah Lee
2cc8f7de99 Disable settings while an OnionShare server is active 2017-05-16 15:41:35 -07:00
Micah Lee
cc4ac170c7 Remove the menu bar, and replace it with a settings button owned by the OnionShareGui object 2017-05-16 15:24:14 -07:00
Micah Lee
b7a9574490 Fixed signal/slot/thread issue in TorConnectionDialog and TorConnectionThread, and updated the language of bundled Tor error messages 2017-05-16 13:09:27 -07:00
Micah Lee
2d2a6eb31f Fixed typo in signal name, error_connecting_to_tor instead of error_connection_to_tor 2017-05-16 11:50:13 -07:00
Micah Lee
226b608cff Move connecting to Tor into its own separate thread 2017-05-16 11:44:34 -07:00