Commit Graph

1578 Commits

Author SHA1 Message Date
Micah Lee
f83aa3cffb
Merge branch 'receive_mode_styling' of https://github.com/mig5/onionshare into mig5-receive_mode_styling 2018-09-02 23:01:06 -07:00
Micah Lee
62c443f2fd
Merge branch 'mig5-fix_spelling_grammar_receiver_mode' into receiver-mode-gui 2018-09-02 22:59:13 -07: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
936a90c62c
Merge branch 'mig5-707_fix_receive_mode_on_tor_disconnect' into receiver-mode-gui 2018-09-02 22:57:43 -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
Micah Lee
a160ab041a
Merge branch 'mig5-receiver-mode-gui' into receiver-mode-gui 2018-09-02 22:51:26 -07:00
Miguel Jacq
e37dbb3efb
Only show the 'I'm Finished Sending' button if the user actually already sent (or tried to send) anything 2018-07-17 11:53:55 +10:00
Miguel Jacq
4092a65e0c
Improve styling of flash() messages by using categories, and style the closed.html. Replace references to 'Uploading' with 'Sending' for consistency 2018-07-17 11:45:14 +10: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
f5ccfcf2cc
Merge branch 'develop' into receiver-mode-gui 2018-05-21 23:00:41 -07:00
Micah Lee
8658589b2d
Merge branch 'mig5-fix_python_setup' into develop 2018-05-21 23:00:10 -07:00
Micah Lee
4fd93636da
Remove TODO comment 2018-05-20 15:33:13 -07:00
Micah Lee
96a680e05d
Improve the CLI output for receive mode 2018-05-20 15:20:21 -07:00
Micah Lee
f5ce069031
Make it so the open folder button works in Linux, with nautilus 2018-05-20 14:40:27 -07:00
Micah Lee
b20ba6fc86
Rename uploaded files 2018-05-20 14:12:53 -07:00
Micah Lee
451e07269f
Fixed "RuntimeError: dictionary changed size during iteration" exception while updating upload progress 2018-05-20 14:05:34 -07:00
Micah Lee
d6ce902eb6
Only mark a file upload complete when it closes, which makes the open folder button appear 2018-05-20 13:13:06 -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
9857d9fce8
Make the receive.html template not use slugs if receive_public_mode is True, and fix some bugs with receive routes 2018-05-20 11:16:09 -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
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
caf87b8d96
Fix bug where ReceiveModeRequest was not recognizing an upload request if the POST included a slug when receive_public_mode == True 2018-05-19 21:20:51 -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
c23ab77a58
Move downloads dir validation into Common 2018-05-19 20:51:01 -07:00
Micah Lee
a787a5af1e
Start building File/Upload/Uploads GUI 2018-05-08 14:28:02 -07:00
Micah Lee
841e47b234
ReceiveModeRequest should only deal with upload_ids for upload requests, not for other requests 2018-05-08 13:35:50 -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
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
c77eba7f23
Tweak language of receive mode options 2018-05-04 17:33:18 -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
7b25ae1d6b
Remove --shutdown-timeout as an option for onionshare_gui, since GUI options are set in the settings dialog. Also fixed a bug where --local-only and --shutdown-timeout were not compatible in onionshare CLI 2018-05-04 16:43:30 -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
dcea459580
Start building Uploads widget 2018-05-04 16:26:54 -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
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
3cdd546bd3
Ignore __pycache__ folders 2018-05-04 15:40:22 -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
65dff32702
Make clicking the mode switcher buttons properly adjust the size of the window 2018-05-03 09:14:16 -07:00
Miguel Jacq
97d42492e5
Fix python setup process for share/static dir contents 2018-05-02 14:41:15 +10:00
Micah Lee
c0904b1b8d
Fix issue in test that flake discovered 2018-04-30 10:01:23 -07:00
Micah Lee
86f1fb223e
Add a few receive mode web tests, to test the receive_allow_receiver_shutdown and receive_public_mode settings 2018-04-29 18:19:00 -07:00