Micah Lee
3085e4ee0f
Fix syntax errors
2019-10-20 17:59:12 -07:00
Micah Lee
db48e04e65
Replace .format with python 3.6 f-strings in onionshare_gui module
2019-10-20 10:30:16 -07:00
Micah Lee
88e151d414
Format all code using black
2019-10-12 21:01:25 -07:00
Micah Lee
a946420646
Hide the system tray icon before closing
2019-09-20 18:42:40 -07:00
Miguel Jacq
da355ed8f9
Source string suggestions from the translators on Weblate
2019-09-16 17:58:15 +10:00
Micah Lee
37a2f6369c
Start making IndividualFileHistoryItem widgets appear in the history, and make non-GET requests return 405 Method Not Allowed
2019-09-03 21:46:32 -07:00
Micah Lee
4fd8a95853
Merge branch 'develop' into basic_auth_everywhere
2019-05-24 18:13:44 -07:00
hiro
1c05ccb611
Resolve bugs from initial PR
2019-05-24 10:08:51 +02:00
Micah Lee
7dce7eec45
Rename "slug" to "password"
2019-05-20 22:18:49 -07:00
Micah Lee
c39705f978
Add an error 401 handler, and make it start counting invalid password guesses instead of 404 errors for rate limiting
2019-05-20 19:04:50 -07:00
hiro
ef6db20674
Add gui for website sharing and listing
2019-04-23 16:09:40 +02:00
Miguel Jacq
63d8688098
Fix crash when clicking Help in Systray
2019-04-22 09:10:00 +10:00
Miguel Jacq
62e668addd
Unlocalize CLI strings
2019-04-20 10:31:34 +10:00
Miguel Jacq
eb823042bb
Standardise all startup_timer, scheduled_start attributes as 'autostart_timer'
2019-03-25 15:28:31 +11:00
Miguel Jacq
a4c8865dcd
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer'
2019-03-25 15:05:54 +11:00
Miguel Jacq
907787028b
Fix unsetting autostart timer after reloading settings
2019-03-24 18:16:29 +11:00
Miguel Jacq
26d262ccfc
Add a Startup Timer feature (scheduled start / dead man's switch)
2019-03-05 10:28:27 +11:00
Micah Lee
9d6f9dd61a
Merge branch 'develop' into 866_receive_mode_crash
2019-01-20 15:42:09 -08:00
Micah Lee
053d0ed615
- 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
303a2f9f34
Rename receive mode "downloads_dir" to the OnionShare "data_dir"
2019-01-20 11:46:20 -08:00
Micah Lee
cc857a39bb
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
0bab7be444
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
2c45f6851e
Receive mode puts files in a directory based on the timestamp of the upload
2018-10-25 21:13:16 -07:00
Micah Lee
5db8bd36b9
Merge branch '780_improved_ui' into 690_language_dropdown
2018-10-10 18:32:01 -07:00
Micah Lee
6d448b7cde
Final few tweaks to make this look perfect in macOS
2018-10-10 18:16:08 -07:00
Miguel Jacq
ff00007db3
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
acf40c4c26
Actually, the window needs to be taller
2018-10-09 21:15:42 -07:00
Micah Lee
93d21c6041
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
d73acb1258
Rip out all of the adjust size logic and let Qt just handle it
2018-10-07 22:07:19 -07:00
Miguel Jacq
331d7bf9c7
adjust widget sizes when switching mode
2018-10-07 21:47:28 -07:00
Micah Lee
b0b5b6c79e
Move ShareMode and ReceiveMode into Mode module
2018-10-07 14:54:51 -07:00
Micah Lee
e6302f3ba4
Remove the useless gui=True arg getting passed intro strings._ all over the place
2018-09-30 17:47:10 -07:00
Micah Lee
8d44c0f729
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
cae9ca4b72
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
f9568caf81
Fix crash when clicking Help from the systray
2018-09-29 14:49:06 -07:00
Micah Lee
42a91d23e4
Process Qt events once more, to prevent weird size issues before adjusting size
2018-09-28 16:06:14 -07:00
Micah Lee
6bbb918380
Refactor receive mode into using an info widget too
2018-09-28 16:00:22 -07:00
Micah Lee
75f0f55dd8
Modes now get to choose a new minimum window width when resizing
2018-09-28 15:30:37 -07:00
Micah Lee
7bd5f686a9
OnionShareGui.adjust_size now recursively runs adjustSize() on all widgets
2018-09-28 15:05:43 -07:00
Micah Lee
e1bd0b5bab
Toggle showing uploads and downloads for both share and receive modes
2018-09-28 13:43:10 -07:00
Micah Lee
b9409795c8
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
3294cd8b10
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
5dcb06ae1e
Remove adjustSize that was causing issues
2018-09-19 20:17:23 -07:00
Micah Lee
15cb534dc7
Set minimum width for whole application
2018-09-19 19:39:59 -07:00
Micah Lee
868d1ac2f8
Fix suppressing the shutdown_slug message
2018-09-16 13:50:30 -07:00
Miguel Jacq
1a3d2b88d1
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
54c98f0b57
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
fc5af35b33
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
cb47c34942
Fix minor spelling/grammar issues
2018-07-14 16:43:21 +10:00
Miguel Jacq
757a6bac59
#707 Hide/show the primary action in Receive Mode when tor connection is lost/regained
2018-07-14 16:19:16 +10:00