hiro
391c82f2a6
Add gui for website sharing and listing
2019-04-23 16:09:40 +02:00
Miguel Jacq
2c5a1d0365
Fix crash when clicking Help in Systray
2019-04-22 09:10:00 +10:00
Miguel Jacq
a7bbe818bf
Unlocalize CLI strings
2019-04-20 10:31:34 +10:00
Miguel Jacq
ee3a14a025
Standardise all startup_timer, scheduled_start attributes as 'autostart_timer'
2019-03-25 15:28:31 +11:00
Miguel Jacq
c411e8d61a
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer'
2019-03-25 15:05:54 +11:00
Miguel Jacq
dae3e23652
Fix unsetting autostart timer after reloading settings
2019-03-24 18:16:29 +11:00
Miguel Jacq
31c360b44d
Add a Startup Timer feature (scheduled start / dead man's switch)
2019-03-05 10:28:27 +11:00
Micah Lee
0ef0659e2f
Merge branch 'develop' into 866_receive_mode_crash
2019-01-20 15:42:09 -08:00
Micah Lee
b75757ee49
- Refactor the Web.ShareMode client_cancel variable to be Web.stop_q, a thread-safe queue that communicates to both share and receive mode when the user stops the server. In share mode this still stops sending the file. In receive mode, if there's a transfer in progress, it cancels it in the middle, and doesn't end up saving that file
...
- In receive mode, make the receive mode dir right before saving a file (so if it doesn't complete, don't make an empty dir)
- Minor UX tweak: resizing the window stretches the History widget first
2019-01-20 15:25:36 -08:00
Micah Lee
6e3b103ef5
Rename receive mode "downloads_dir" to the OnionShare "data_dir"
2019-01-20 11:46:20 -08:00
Micah Lee
3bbff7e85a
Finish removing web event REQUEST_CLOSE_SERVER, which used to be a receive mode feature to allow the Tor Browser user to close the server, but we removed
2019-01-19 20:43:25 -08:00
Micah Lee
65b4afeba3
Communicate the receive mode dir to the GUI, so clicking the open folder button opens the file manager to the correct directory
2018-10-25 21:38:20 -07:00
Micah Lee
6233487ecd
Receive mode puts files in a directory based on the timestamp of the upload
2018-10-25 21:13:16 -07:00
Micah Lee
ac10b8899f
Merge branch '780_improved_ui' into 690_language_dropdown
2018-10-10 18:32:01 -07:00
Micah Lee
753380663b
Final few tweaks to make this look perfect in macOS
2018-10-10 18:16:08 -07:00
Miguel Jacq
85de803fda
Raise minimumHeight again to account for overlap issues on MacOS caused by Mac's Qt widget padding
2018-10-10 16:49:42 +11:00
Micah Lee
b982a9a248
Actually, the window needs to be taller
2018-10-09 21:15:42 -07:00
Micah Lee
6227c6cbc5
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
5a2ca669a1
Rip out all of the adjust size logic and let Qt just handle it
2018-10-07 22:07:19 -07:00
Miguel Jacq
49e371d503
adjust widget sizes when switching mode
2018-10-07 21:47:28 -07:00
Micah Lee
801d8b965c
Move ShareMode and ReceiveMode into Mode module
2018-10-07 14:54:51 -07:00
Micah Lee
a1f5b5964a
Remove the useless gui=True arg getting passed intro strings._ all over the place
2018-09-30 17:47:10 -07:00
Micah Lee
c4f776c42a
Set OnionShare language based on the locale stored in settings, and prompt user to restart OnionShare after changing their language
2018-09-30 17:06:29 -07:00
Micah Lee
39dd0862d4
Increase minimum window with to 460, and store it in a variable to stop repeating myself
2018-09-29 15:12:05 -07:00
Micah Lee
8ca34fadd9
Fix crash when clicking Help from the systray
2018-09-29 14:49:06 -07:00
Micah Lee
08ac4137c7
Process Qt events once more, to prevent weird size issues before adjusting size
2018-09-28 16:06:14 -07:00
Micah Lee
35065106ef
Refactor receive mode into using an info widget too
2018-09-28 16:00:22 -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
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
Miguel Jacq
201f351279
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
Micah Lee
5a96bcc77b
Remove adjustSize that was causing issues
2018-09-19 20:17:23 -07:00
Micah Lee
beeebce631
Set minimum width for whole application
2018-09-19 19:39:59 -07:00
Micah Lee
4777c45ad8
Fix suppressing the shutdown_slug message
2018-09-16 13:50:30 -07:00
Miguel Jacq
7bd897d19e
Don't show the Flash shutdown slug route in the status bar as if it were an unexpected 404 route
2018-09-16 15:15:40 +10:00
Micah Lee
eb0419f2d9
Merge branch 'fix_spelling_grammar_receiver_mode' of https://github.com/mig5/onionshare into mig5-fix_spelling_grammar_receiver_mode
2018-09-02 22:59:06 -07:00
Micah Lee
e1976fdca0
Merge branch '707_fix_receive_mode_on_tor_disconnect' of https://github.com/mig5/onionshare into mig5-707_fix_receive_mode_on_tor_disconnect
2018-09-02 22:56:39 -07:00
Miguel Jacq
69ae29272c
Fix minor spelling/grammar issues
2018-07-14 16:43:21 +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
Miguel Jacq
a4f0b5e8f8
Remove duplicate line
2018-07-13 15:50:17 +10: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
8939d279e3
Only show other_page_loaded message on actual 404s
2018-05-20 11:04:45 -07:00
Micah Lee
7a571764ef
Allow file uploads to finish, and improve uploads styling
2018-05-19 22:58:55 -07:00
Micah Lee
db7d5a6552
Move downloads_dir validation into the /upload request in Web, and display an error in both CLI and GUI
2018-05-19 21:11:57 -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
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
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
65dff32702
Make clicking the mode switcher buttons properly adjust the size of the window
2018-05-03 09:14:16 -07:00