97 Commits

Author SHA1 Message Date
Miguel Jacq
c9ce040e4b Fix call to Alert() when an autostop timer has run out before starting the share 2018-10-17 10:47:55 +11:00
Micah Lee
5db8bd36b9 Merge branch '780_improved_ui' into 690_language_dropdown 2018-10-10 18:32:01 -07:00
Micah Lee
6d448b7cde Final few tweaks to make this look perfect in macOS 2018-10-10 18:16:08 -07:00
Micah Lee
93d21c6041 Set min width and height so everything always looks good, and change onion address to monospace font 2018-10-09 20:51:10 -07: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
Miguel Jacq
3294cd8b10 Pass --local-only down to the ServerStatus and Mode so that we can set shorter timeouts for local GUI tests. Update the tests to use a very short timeout 2018-09-27 15:43:59 +10:00
Miguel Jacq
10771de2f8 Fix conflicts 2018-09-16 13:37:22 +10:00
Miguel Jacq
2aa6a72ba4 Only wrap the v3 onion if the window is too small to show it unwrapped 2018-08-28 09:33:49 +10:00
Miguel Jacq
5252d5d94a Introduce v3 onion support 2018-08-21 19:31:02 +10:00
Miguel Jacq
e89a74729b Expand 'public mode' (optional slugs) to be possible for sharing too, not just receiving, with no rate-limiting/self-destruct on invalid routes. 2018-07-21 17:06:11 +10: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
b35bd976d7 Make receive mode info widget show when server is stated, hide when it is not started 2018-05-04 15:53:34 -07:00
Micah Lee
a51e75bf01 Add support for receive mode's "public mode", which doesn't use a slug. Still needs more testing 2018-04-29 16:33:48 -07:00
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
0c5886fd7c Change the URL description in receive mode 2018-04-27 23:02:04 -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
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
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
aa372ce585 Make ShareMode and ReceiveMode directories, and move ShareMode modules into its dir 2018-04-24 17:26:54 -07:00
Micah Lee
52fa4f3485 Update GPL copyright year 2018-04-24 10:07:59 -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
a5219c0a77 Add ability to cancel a share 2018-02-25 17:44:27 +11:00
Miguel Jacq
a6fe2a1c8a Revert the cancel feature that causes issues at least on macOS (#637) 2018-02-25 12:31:32 +11:00
Miguel Jacq
236525f332 Re-work the UI widgets to make it smaller on Macbook Pro and other smaller screens 2018-02-24 15:38:45 +11:00
Miguel Jacq
609404d7fe merge ux-update in, and fix conflict 2018-02-20 07:47:21 +11:00
Micah Lee
bc2b717907 Fix bug where persistent tooltips were not displaying 2018-02-13 17:50:10 -08:00
Micah Lee
1707cc2025 Merge branch 'url_label_tooltips' of https://github.com/mig5/onionshare into mig5-url_label_tooltips 2018-02-13 17:31:25 -08:00
Micah Lee
eb7b3e34e9 Merge branch 'clear_messages_on_server_button_click' of https://github.com/mig5/onionshare into mig5-clear_messages_on_server_button_click 2018-02-13 17:28:03 -08:00
Micah Lee
642b70a433 Switch to 12 hour clock 2018-02-13 17:20:10 -08:00
Miguel Jacq
e65a605631 Set URL label tooltips 2018-02-11 18:32:18 +11:00
Miguel Jacq
6d82811898 Clear statusBar messages when the server button is clicked 2018-02-11 17:32:45 +11:00
Miguel Jacq
6efee70194 Adjust width of window to fit status bar messages, unwrapped, to avoid squishing widgets.
Add pluralisation of filemanager total file(s)

Use 'timer expired' rather than 'timeout reached'
2018-02-11 17:16:59 +11:00
Miguel Jacq
9a2b206dcd Merge branch 'ux-update' of https://github.com/micahflee/onionshare into ux_update_fix_shutdown_timer 2018-02-11 17:15:52 +11:00
Miguel Jacq
b13fb41555 Allow the user to cancel a share that is still starting up 2018-02-09 18:43:57 +11: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
629887e625 Friendlier datetime format for the shutdown timer 2018-02-08 11:53:56 +11:00
Miguel Jacq
8b03dee0b2 Fix shutdown timer and insert larger messages as word-wrapped widgets into the Status Bar 2018-02-08 11:32:34 +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
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
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
53c94411cc Stylize the server button 2018-02-05 09:44:17 -08:00
Micah Lee
62ad400cfa Move autostop timer checkbox below the start sharing button 2018-02-05 09:29:28 -08:00
Miguel Jacq
e8a4d513b4 Save the slug when using a persistent private key 2018-01-15 10:01:34 +11:00
Miguel Jacq
339eb09b57 Add a 'persistent URL' label when re-using a private key 2018-01-14 18:41:54 +11:00