Commit Graph

38 Commits

Author SHA1 Message Date
Micah Lee
cddc8c06d4
Modes now get to choose a new minimum window width when resizing 2018-09-28 15:30:37 -07:00
Micah Lee
e29bb99f16
OnionShareGui.adjust_size now recursively runs adjustSize() on all widgets 2018-09-28 15:05:43 -07:00
Micah Lee
4bec79f494
Toggle showing uploads and downloads for both share and receive modes 2018-09-28 13:43:10 -07:00
Micah Lee
ddcbed451c
Hide the uploads and downloads by default, and make the mode switcher hide before showing, to prevent weird window resizing 2018-09-28 13:18:18 -07:00
Micah Lee
fc1902c1ee
Refactor how Mode layouts work, so the downstream Mode has more control over the UI 2018-09-28 12:51:30 -07:00
Micah Lee
28fd67cbcc
Move more mode-specific logic out of the Web class and into the approprate mode web classes 2018-09-21 11:36:19 -07:00
Micah Lee
cc9f646f8b
Refactor web even more to all of the share and receive web logic into ShareModeWeb and ReceiveModeWeb classes 2018-09-21 11:14:32 -07:00
Micah Lee
871135cc75
Only add a stretch at the bottom of the layout in receive mode, not share mode 2018-09-19 19:38:29 -07:00
Micah Lee
1314ddf1be
Remove upload/download toggle buttons 2018-09-19 19:36:16 -07:00
Micah Lee
499f7b1638
Always show uploads and downloads 2018-09-19 19:00:12 -07:00
Miguel Jacq
c8fd40c3b0
Increment/decrement the upload counters 2018-09-18 11:19:20 +10:00
Miguel Jacq
953727419c
Use the term 'upload' rather than 'download' in the Receive mode tooltip icons 2018-09-17 18:48:22 +10:00
Miguel Jacq
89e341c8ec
#707 Hide/show the primary action in Receive Mode when tor connection is lost/regained 2018-07-14 16:19:16 +10:00
Micah Lee
4fd93636da
Remove TODO comment 2018-05-20 15:33:13 -07:00
Micah Lee
b20ba6fc86
Rename uploaded files 2018-05-20 14:12:53 -07:00
Micah Lee
18573ba49c
Remove REQUEST_UPLOAD_NEW_FILE_STARTED event, because it's not actually needed 2018-05-20 12:07:15 -07:00
Micah Lee
7a571764ef
Allow file uploads to finish, and improve uploads styling 2018-05-19 22:58:55 -07:00
Micah Lee
ee9c0d0abb
Refactor uploads GUI so that each upload POST has one progess bar, and a list of files, with partial styling 2018-05-19 22:36:08 -07:00
Micah Lee
eb3d6f2171
Start making Web events actually put Upload objects into Uploads 2018-05-07 23:07:11 -07:00
Micah Lee
591e97a57a
Make receive mode events just like share mode, and rename REQUEST_DOWNLOAD to REQUEST_SHARE 2018-05-07 22:15:29 -07:00
Micah Lee
4d5f1a34cd
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
23821ebae6
Make ReceiveMode start using Uploads 2018-05-07 15:44:04 -07:00
Micah Lee
be36f3a4b6
Rename some images to reuse in ReceiveMode, and make new upload window button images 2018-05-04 17:57:30 -07:00
Micah Lee
dcea459580
Start building Uploads widget 2018-05-04 16:26:54 -07:00
Micah Lee
ed28fdf123
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
07152ad969
Start creating the information widget for receive mode, and refactor for share mode 2018-05-03 09:29:54 -07:00
Micah Lee
9a076635c5
Make the "download page loaded" and "upload page loaded" messages displayed as systray notifications instead of in the status bar, and make it work for Receive Mode 2018-04-29 16:41:05 -07:00
Micah Lee
6cfb7026da
Display desktop notification to the user when the receiver closes the server, and finish up closing the server 2018-04-29 15:49:18 -07:00
Micah Lee
c1413ad7da
ReceiveMode was overloading timer_callback instead of timer_callback_custom 2018-04-28 13:41:15 -07:00
Micah Lee
74a799f0c1
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
406515085e
Fixed crash when starting recieve mode server 2018-04-27 23:19:46 -07:00
Micah Lee
9e9f65572b
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
4c6b379889
Split out customization of Mode into _custom() functions, and implement those customizations in ShareMode 2018-04-25 22:59:26 -07:00
Micah Lee
691db6343d
Make ShareMode and ReceiveMode inherit from the same class, Mode 2018-04-25 21:54:28 -07:00
Micah Lee
df346ad0ab
Add receive mode warning 2018-04-25 20:50:56 -07:00
Micah Lee
81382318dc
Forgot to change args passed into ServerStatus 2018-04-25 20:22:29 -07:00
Micah Lee
2fc4330ee4
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
a017af0748
Make ShareMode and ReceiveMode directories, and move ShareMode modules into its dir 2018-04-24 17:26:54 -07:00