Commit graph

41 commits

Author SHA1 Message Date
Micah Lee
de6320bd12 Update Copyright to 2020 everywhere, and assign to Micah Lee, et al. instead of just Micah Lee 2020-08-27 19:13:08 -04:00
Micah Lee
970a257792 Make macOS tabs left-aligned, and manually add close button 2020-08-20 21:23:05 -07:00
Micah Lee
1880aa34f2 Show chat mode server status widgets in the tab bar as well 2020-08-20 17:56:56 -04:00
Micah Lee
ab89e89aa5 Beautify new tab page 2020-08-20 15:33:56 -04:00
Saptak S
7b16e03b00 Merge branch 'develop' of github.com:micahflee/onionshare into chat 2020-07-04 13:42:20 +05:30
Micah Lee
8ba287216a 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
71164c16d0 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
7935d07bb3 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
be89606ae0 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
bc3df3319a Create GUI for onionshare chat mode with the tab workflow 2020-03-09 17:44:00 +05:30
Micah Lee
b473744d26 When settings change, only start the timer if a mode has been selected 2019-11-28 15:52:02 -08:00
Micah Lee
41071ff44d Only reload settings if a mode has been selected 2019-11-28 15:46:55 -08:00
Micah Lee
82c2f575b9 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
9529e06234 Cleanup tabs on cleanup 2019-11-28 14:58:04 -08:00
Micah Lee
eefa43d923 When Tor settings change, make sure the tabs know 2019-11-28 14:57:01 -08:00
Micah Lee
7dcc71c330 Start refactoring Onion to allow for managing a separate onion service for each tab 2019-11-10 17:55:07 -08:00
Micah Lee
2a1963a8f5 Fix bug when handling a broken tor connection 2019-11-08 21:36:54 +08:00
Micah Lee
b5043d72a0 Start writing tab tests, and figure out how to test the modal dialogs 2019-11-07 13:25:47 +08:00
Micah Lee
66aea71468 Start writing tabs tests 2019-11-03 00:47:55 -07:00
Micah Lee
b4e70bed57 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
960322a363 Starting to make persistent tabs persistent 2019-11-02 21:45:55 -07:00
Micah Lee
839070f879 Change size of persistent image to 20x20 2019-11-02 19:10:41 -07:00
Micah Lee
1b635b1646 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
61dc04a105 Make a new ModeSettings class in onionshare, and use this instead of tab_settings 2019-11-02 10:43:20 -07:00
Micah Lee
c42c11648c Get/set tab settings using a getter and setter function 2019-11-02 10:24:12 -07:00
Micah Lee
bfd8c4aae6 When any setting is changed, update the tab settings dict 2019-11-02 10:15:18 -07:00
Micah Lee
55840b0038 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
f00df6356c 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
9d1bd74fcc Fix a few issues related to opening settings and quitting 2019-10-27 16:36:32 -07:00
Micah Lee
3052c58d64 Show the server status in the tab as an icon 2019-10-27 16:32:12 -07:00
Micah Lee
9dc14e8f4e Show warning when quitting while any tabs are active 2019-10-27 16:18:56 -07:00
Micah Lee
79393faa3d Add warning about closing a persistent tab 2019-10-27 16:01:30 -07:00
Micah Lee
4f4a71a23c Add persistent pin 2019-10-27 15:52:45 -07:00
Micah Lee
c3330919f4 Add settings button to the status bar 2019-10-27 15:26:56 -07:00
Micah Lee
cc7c463e80 Add purple headers to each mode 2019-10-27 15:21:46 -07:00
Micah Lee
68310070a4 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
62d63a8e24 After choosing the tab type, the title of the tab changes 2019-10-27 14:35:11 -07:00
Micah Lee
985b2c4719 Make new tab button login in the QTabWidget instead of QTabBar 2019-10-27 14:21:40 -07:00
Micah Lee
6190de5c53 Tabs start out with new tab options, and remove the mode switcher from tabs 2019-10-26 21:56:57 -07:00
Micah Lee
ed25b44e84 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
1d903efeb2 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