Micah Lee
|
4aed7c0f9d
|
Use correct variable name for Downloads
|
2018-09-29 12:00:22 -07:00 |
|
Micah Lee
|
709eeeac5f
|
Starting to implement the new Uploads UI, but not done
|
2018-09-28 22:03:48 -07:00 |
|
Micah Lee
|
e87263353f
|
Added an indicator count for share mode
|
2018-09-28 19:54:46 -07:00 |
|
Micah Lee
|
9a05eef494
|
Slightly improve Downloads progress bar style, but still needs spacing
|
2018-09-28 19:05:26 -07:00 |
|
Micah Lee
|
71149c2937
|
Refactor Downloads to use an internal QListWidget to list the progess bars
|
2018-09-28 18:48:12 -07:00 |
|
Micah Lee
|
a5b549770a
|
Got empty Downloads looking good
|
2018-09-28 18:30:32 -07:00 |
|
Micah Lee
|
c0e6968b2b
|
Attempting to redesign Downloads
|
2018-09-28 17:01:48 -07:00 |
|
Micah Lee
|
35065106ef
|
Refactor receive mode into using an info widget too
|
2018-09-28 16:00:22 -07:00 |
|
Micah Lee
|
f056ce576e
|
Refactor share mode info widget into its own file and custom class, and run .show_more() and .show_less() instead of .show() and .hide()
|
2018-09-28 15:47:49 -07:00 |
|
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
|
edbbe9377c
|
Add a toggle downloads button to share mode, and add new toggle upload and download images
|
2018-09-28 13:24:44 -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 |
|
Miguel Jacq
|
d34364530d
|
Analyse the right file size to determine if the download has finished in the UI (in order to decide whether to stop server yet)
|
2018-09-25 14:40:10 +10:00 |
|
Micah Lee
|
09ccbf4a60
|
Dynamically figure out the total size of the download based on the whether or not the client making the http request accepts gzip
|
2018-09-21 16:22:37 -07:00 |
|
Micah Lee
|
2a309af680
|
If only sharing one file, compress it with gzip, and serve it with gzip compression if the browser supports it
|
2018-09-21 12:29:23 -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
|
81fa5e052c
|
Only add the download_filename to cleanup_filenames (which get deleted) if the file is zipped up. Otherwise, OnionShare deletes the original file
|
2018-09-20 23:18:17 -07:00 |
|
Micah Lee
|
ea938e2439
|
Change more references to web.zip_filesize to be refer to web.download_filesize
|
2018-09-20 12:25:07 -07:00 |
|
Micah Lee
|
324538bdd3
|
When there is only 1 file being shared, don't zip it
|
2018-09-20 09:14:56 -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
|
28674bf023
|
Add 'clear history' button to downloads and uploads windows
|
2018-09-19 14:37:07 +10:00 |
|
Miguel Jacq
|
62804dfdce
|
Merge pull request #758 from micahflee/665_cancel_compression
Fix zip progress bar not canceling problem
|
2018-09-19 10:59:11 +10:00 |
|
Micah Lee
|
72f76bf659
|
We shouldn't call CompressThread.cancel() there because it's already called in a signal
|
2018-09-18 13:39:09 -07:00 |
|
Micah Lee
|
174de57405
|
Refactor all of the threading.Threads into QThreads, and quit them all when canceling the server. When canceling the compression thread, specifically mass a cancel message into the Web and ZipWriter objects to make the bail out on compression early
|
2018-09-17 20:55:54 -07:00 |
|
Miguel Jacq
|
d54b52691c
|
Fix the auto-scrolling to bottom of Download and Upload windows
|
2018-09-18 12:59:01 +10:00 |
|
Micah Lee
|
9d557d4aa0
|
Renamed Mode.handle_request_download to handle_request_started
|
2018-05-07 22:16:45 -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
|
996f6c0725
|
Create an Upload class within Uploads, and add methods to Uploads to add, update, cancel, and reset
|
2018-05-07 16:38: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
|
a0db6d0ee7
|
Rename Downloads method names to remove the word "download"
|
2018-05-04 18:08:23 -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
|
3f624a4a27
|
Refactor ShareMode and Downloads to remove the Downloads container widget, and make Downloads itself the QScrollArea
|
2018-05-04 16:57:17 -07:00 |
|
Micah Lee
|
e32e850548
|
Fix stay_open regression bug. Before, it was closing automatically even when the setting wasn't set. Also, remove the --stay-open option from the GUI, since GUI settings are set in the settings dialog not cli args
|
2018-05-04 16:35:32 -07:00 |
|
Micah Lee
|
30c9f50d2e
|
Refactor ReceiveMode and Downloads, to push more download-related logic into Downloads
|
2018-05-04 16:06:24 -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
|
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
|
0996e8c064
|
Change the URL description in receive mode
|
2018-04-27 23:02:04 -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
|
4a1995ef55
|
Move a lot of logic from ShareMode into generic Mode
|
2018-04-25 22:14:23 -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
|
81382318dc
|
Forgot to change args passed into ServerStatus
|
2018-04-25 20:22:29 -07:00 |
|
Micah Lee
|
996f1d3a81
|
Make different strings for start server button for different modes
|
2018-04-25 20:14:27 -07:00 |
|