Commit Graph

40 Commits

Author SHA1 Message Date
Micah Lee
1c8f22f31b
Make macOS tabs left-aligned, and manually add close button 2020-08-20 21:23:05 -07:00
Micah Lee
218f9a651c
Show chat mode server status widgets in the tab bar as well 2020-08-20 17:56:56 -04:00
Micah Lee
298cfa3d3f
Beautify new tab page 2020-08-20 15:33:56 -04:00
Saptak S
41681f82ec
Merge branch 'develop' of github.com:micahflee/onionshare into chat 2020-07-04 13:42:20 +05:30
Micah Lee
f65e50f399
Merge pull request #1133 from mig5/website_mode_autostart_scheduled_status
Set the server status indicator to 'Scheduled' when in Website Mode and autostart timer is in use, to match the other modes
2020-06-29 12:42:07 -07:00
Miguel Jacq
a93cba3504
Set the server status indicator to 'Scheduled' when in Website Mode and autostart timer is in use, to match the other modes 2020-06-07 15:29:27 +10:00
Saptak S
409f3f7fbe
Keep save button disabled if changed username invalid
- Disabled till username not changed
- On change, if username is empty, then disabled
- On change, if username is changed back to previous, then disabled
- Else allow saving
2020-05-10 01:55:31 +05:30
Miguel Jacq
a7856d5dcb
Fix logic that checks if auto-start timer setting is enabled, so that it checks real settings and not widget instantiation. Ensure the auto-start and auto-stop widgets show their datetime widget on start-up if the setting was already enabled. 2020-04-06 15:29:33 +10:00
Saptak S
819e406d46
Create GUI for onionshare chat mode with the tab workflow 2020-03-09 17:44:00 +05:30
Micah Lee
bea9dc009d
When settings change, only start the timer if a mode has been selected 2019-11-28 15:52:02 -08:00
Micah Lee
b80fc5be17
Only reload settings if a mode has been selected 2019-11-28 15:46:55 -08:00
Micah Lee
780340b3e4
Stop using set_server_active, because all it was used for was to hide the buttons at the top, and we don't need that now that there are tabs 2019-11-28 15:06:19 -08:00
Micah Lee
a0197e49d7
Cleanup tabs on cleanup 2019-11-28 14:58:04 -08:00
Micah Lee
8530321e5d
When Tor settings change, make sure the tabs know 2019-11-28 14:57:01 -08:00
Micah Lee
28bc37d16f
Start refactoring Onion to allow for managing a separate onion service for each tab 2019-11-10 17:55:07 -08:00
Micah Lee
f0fd0857ae
Fix bug when handling a broken tor connection 2019-11-08 21:36:54 +08:00
Micah Lee
6d75468aaa
Start writing tab tests, and figure out how to test the modal dialogs 2019-11-07 13:25:47 +08:00
Micah Lee
1787adabc7
Start writing tabs tests 2019-11-03 00:47:55 -07:00
Micah Lee
7819a894be
Make it so when you open the GUI, all of the persistent tabs automatically open as well 2019-11-02 22:55:22 -07:00
Micah Lee
a5f8fee065
Starting to make persistent tabs persistent 2019-11-02 21:45:55 -07:00
Micah Lee
1286dfa2f9
Change size of persistent image to 20x20 2019-11-02 19:10:41 -07:00
Micah Lee
c426cfceb2
Rename mode_settings_widget to be more clear, and fix one place that was still using tab_settings 2019-11-02 11:43:05 -07:00
Micah Lee
9534a44051
Make a new ModeSettings class in onionshare, and use this instead of tab_settings 2019-11-02 10:43:20 -07:00
Micah Lee
2984577f28
Get/set tab settings using a getter and setter function 2019-11-02 10:24:12 -07:00
Micah Lee
f2d4bddc23
When any setting is changed, update the tab settings dict 2019-11-02 10:15:18 -07:00
Micah Lee
b017b3268c
Make the persistent button an image label instead, and only show it whne the persistent checkbox is checked 2019-10-27 18:41:24 -07:00
Micah Lee
784d6e8144
Show settings at the top of each mode, both mode-specific settings and setting that exist for all mode types 2019-10-27 18:16:48 -07:00
Micah Lee
f4e3f92c7b
Fix a few issues related to opening settings and quitting 2019-10-27 16:36:32 -07:00
Micah Lee
a14464d834
Show the server status in the tab as an icon 2019-10-27 16:32:12 -07:00
Micah Lee
b7a095d64d
Show warning when quitting while any tabs are active 2019-10-27 16:18:56 -07:00
Micah Lee
654fccc009
Add warning about closing a persistent tab 2019-10-27 16:01:30 -07:00
Micah Lee
216fbd4e87
Add persistent pin 2019-10-27 15:52:45 -07:00
Micah Lee
656d3d1564
Add settings button to the status bar 2019-10-27 15:26:56 -07:00
Micah Lee
cb83fca6bc
Add purple headers to each mode 2019-10-27 15:21:46 -07:00
Micah Lee
df658a0e70
Allow closing tabs, and throw warning when trying to close tabs that contain an active server 2019-10-27 15:01:14 -07:00
Micah Lee
fd2046b976
After choosing the tab type, the title of the tab changes 2019-10-27 14:35:11 -07:00
Micah Lee
f83d88b29e
Make new tab button login in the QTabWidget instead of QTabBar 2019-10-27 14:21:40 -07:00
Micah Lee
144985b1c1
Tabs start out with new tab options, and remove the mode switcher from tabs 2019-10-26 21:56:57 -07:00
Micah Lee
6449e5183e
Add a single tab, and fix several issues with moving all the tab code into its own object 2019-10-26 21:14:47 -07:00
Micah Lee
c77db82e67
Move all of the normal onionshare logic into Tab, and make a new placeholder GUI for the main window 2019-10-20 22:08:47 -07:00