Miguel Jacq
b1aa36e805
remove unnecessary import of IndividualFileHistoryItem from share_mode/__init__.py
2019-09-09 16:43:09 +10:00
Micah Lee
dee9e40051
Rename a few more count variables to cur_history_id
2019-09-03 22:20:52 -07:00
Micah Lee
644b47082a
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
Miguel Jacq
09f2f57298
Reset the ToggleHistory indicator count/label when a share starts. Add a test for this
2019-09-03 17:02:29 +10:00
Miguel Jacq
273b893946
Don't show the IndividualFile History item if we are not in 'stay open' mode, or else 404 requests create History noise
2019-09-03 12:35:30 +10:00
Miguel Jacq
173b2d3f5e
Register a history item when an individual file is viewed that does not match a 'reserved' path
2019-09-02 18:01:56 +10:00
Micah Lee
973db941ec
Move all mode-specific code out of SendBaseModeWeb and into inherited methods in WebsiteModeWeb and ShareModeWeb
2019-09-01 18:44:44 -04:00
Micah Lee
7d89f80f20
Rename "slug" to "password"
2019-05-20 22:18:49 -07:00
Micah Lee
79b87c3e30
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
391c82f2a6
Add gui for website sharing and listing
2019-04-23 16:09:40 +02:00
Miguel Jacq
c411e8d61a
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer'
2019-03-25 15:05:54 +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
b8f0d78954
Change many more strings to stop using 'download'/'upload' language
2019-01-19 20:56:09 -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
862a0dc067
Rename images to remove upload/download references, and update more strings
2019-01-19 19:00:41 -08:00
Micah Lee
3ae1e04c0a
Updated language on key share/receive mode strings to remove the confusing upload and download words
2019-01-19 18:30:13 -08:00
Micah Lee
3a0c8dc323
In macOS, split "Add" button into "Add Files" and "Add Folder" buttons
2018-11-27 12:10:16 -08:00
Miguel Jacq
325980eede
Remove second arg from two calls to strings()
2018-10-15 17:33:21 +11: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
Micah Lee
18f83589aa
Merge in develop
2018-10-09 21:32:28 -07:00
Micah Lee
90172c913b
Stop hiding the share mode info label when tor breaks
2018-10-09 21:18:26 -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
Micah Lee
bc573209d9
Delete Info widget, and move completed and in progress widgets into the header of history
2018-10-07 18:09:02 -07:00
Micah Lee
484c33902f
Make ShareMode just use a History object directly, instead of defining its own Downloads class
2018-10-07 17:35:15 -07:00
Micah Lee
5a8cb2ac9d
In ShareMode, remove the ShareModeInfo widget and replace with a customized ToggleHistory widget
2018-10-07 15:20:22 -07:00
Micah Lee
801d8b965c
Move ShareMode and ReceiveMode into Mode module
2018-10-07 14:54:51 -07:00