Micah Lee
|
aac77ef425
|
Merge branch '991_sharing_code' of github.com:mig5/onionshare into 991_sharing_code
|
2019-09-02 19:46:05 -07:00 |
|
Micah Lee
|
c86ad56a56
|
When downloading individual files in either share or website mode, gzip the file if needed, and stream the file in such a way that a progress bar is possible
|
2019-09-02 19:45:14 -07:00 |
|
Miguel Jacq
|
04eabbb833
|
Check for the (absence of) hyperlink in page markup before we move on to trying to download the individual file
|
2019-09-03 12:38:20 +10:00 |
|
Miguel Jacq
|
174dc79a25
|
Test to make sure that we *can't* download an individual file when not in stay_open mode, not just that the hyperlink is not present in the page markup
|
2019-09-03 12:36:05 +10:00 |
|
Miguel Jacq
|
0bde2e9148
|
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
|
608e0eccc6
|
Extend coverage of website mode tests
|
2019-09-03 12:23:27 +10:00 |
|
Miguel Jacq
|
f4a6c2de01
|
Aww. Adjust the website test html code since my easter egg didn't work
|
2019-09-03 12:00:23 +10:00 |
|
Miguel Jacq
|
6da58edcda
|
remove unnecessary import from GuiWebSiteTest class
|
2019-09-03 11:53:17 +10:00 |
|
Miguel Jacq
|
93a63098de
|
Add a basic website test
|
2019-09-03 11:51:59 +10:00 |
|
Miguel Jacq
|
0abac29b09
|
Add tests to check that hyperlink to a shared file exists when in stay_open mode (and that the file is downloadable individually when so), and not if not
|
2019-09-03 11:19:42 +10:00 |
|
Miguel Jacq
|
bd329c487c
|
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
|
113cd7eb4b
|
Remove the "Allow downloading individual files" setting altogether, and make it just automatically enabled if "Stop sharing..." is disabled
|
2019-09-01 21:22:59 -07:00 |
|
Micah Lee
|
1232eb1072
|
Merge SendBaseModeWeb.build_file_list into SendBaseModeWeb.set_file_info function
|
2019-09-01 20:53:21 -07:00 |
|
Micah Lee
|
833fd04ef0
|
Fix TestSettings.test_init test
|
2019-09-01 20:46:27 -07:00 |
|
Micah Lee
|
9604ee3881
|
Load default settings in CLI mode, of config is not passed in
|
2019-09-01 20:45:19 -07:00 |
|
Micah Lee
|
fdb94eba0c
|
Only allow downloading of individual files if it is enabled in settings, and stop sharing automatically isn't
|
2019-09-01 20:36:30 -07:00 |
|
Micah Lee
|
1ceaaaf533
|
Add new "Allow downloading of individual files" checkbox to share settings, and only allow it to be enabled when "Stop sharing after files have been sent" is unchecked
|
2019-09-01 20:15:30 -07:00 |
|
Micah Lee
|
77d5b29c76
|
Clear the file list every time a share starts
|
2019-09-01 19:59:00 -07:00 |
|
Micah Lee
|
15e8ec4321
|
Change link style for directory listing
|
2019-09-01 16:13:05 -07:00 |
|
Micah Lee
|
2143d7016e
|
Add Web.generate_static_url_path back, so each share has its own static path
|
2019-09-01 16:03:57 -07:00 |
|
Micah Lee
|
1e83a1bfd6
|
Oops, need to call directory_listing with filesystem_path
|
2019-09-01 16:02:10 -07:00 |
|
Micah Lee
|
bffbc1930d
|
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
|
f2bd2e943d
|
Rename BaseModeWeb to SendBaseModeWeb, because this code is only actually shared by send modes (Share and Website, not Receive)
|
2019-09-01 18:05:53 -04:00 |
|
Micah Lee
|
e9e0302fd6
|
Merge branch 'share-code' of https://github.com/hiromipaw/onionshare into hiromipaw-share-code
|
2019-09-01 17:49:22 -04:00 |
|
Micah Lee
|
651f4425b3
|
Merge pull request #1011 from torbsd/torbsd
DragonFly is *BSD; bringing back #716
|
2019-09-01 13:44:35 -07:00 |
|
Micah Lee
|
287eddd003
|
Merge pull request #1012 from emmapeel2/translation_updates
weblate translation updates
|
2019-09-01 12:45:39 -07:00 |
|
Micah Lee
|
4ae26b3623
|
Change package in build instructions from python-flask-httpauth to python3-flask-httpauth
|
2019-09-01 12:38:13 -07:00 |
|
emma peel
|
a66f8e1a6a
|
weblate translation updates
|
2019-07-27 08:01:35 +00:00 |
|
Vinicius Zavam
|
b0b5907566
|
DragonFly is *BSD; bringing back #716
|
2019-07-23 15:09:11 +00:00 |
|
hiro
|
5c0c45a6de
|
Clean up rendering logic between share and website mode
|
2019-06-14 18:21:12 +02:00 |
|
hiro
|
7b8a83854d
|
Remove reset of web app path in receive mode
|
2019-06-13 22:58:33 +02:00 |
|
hiro
|
347b25d5a0
|
Revert "Generate a new static_url_path each time the server is stopped and started again"
This change creates problems with how website mode renders assets.
This reverts commit ae110026e72bc7bd38aa515f52fb52aa3236e8b1.
|
2019-06-13 22:56:48 +02:00 |
|
hiro
|
e6f114c677
|
Refactor directory_listing function
|
2019-06-13 21:47:49 +02:00 |
|
hiro
|
324c6579c2
|
Move directory_listing function
|
2019-06-13 12:41:12 +02:00 |
|
hiro
|
4551716a9e
|
Refactor set_file_list between website and share mode
|
2019-06-13 12:34:27 +02:00 |
|
hiro
|
30dc17df27
|
Start code sharing between WebsiteMode and ShareMode
|
2019-06-13 12:34:27 +02:00 |
|
wh1t3fang
|
dd8e9d37ae
|
Added python-flask-httpauth depend
added flask httpauth depend to the install instructions for debian. Otherwise, this exception appears.
ImportError: No module named 'flask_httpauth'
|
2019-06-12 05:10:24 +00:00 |
|
Micah Lee
|
9a4477ad09
|
Merge pull request #1000 from micahflee/989_noscript_xss_is_all_good
Strip NoScript XSS warning
|
2019-05-30 17:56:56 -07:00 |
|
Micah Lee
|
f979bbe97c
|
Remove old noscript css styles
|
2019-05-30 17:55:58 -07:00 |
|
Micah Lee
|
e4b0f04504
|
Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed
|
2019-05-29 19:27:21 -07:00 |
|
Micah Lee
|
69eb7f81a3
|
Merge pull request #996 from micahflee/basic_auth_everywhere
Switch from slugs to HTTP basic auth
|
2019-05-29 19:15:40 -07:00 |
|
Micah Lee
|
ae110026e7
|
Generate a new static_url_path each time the server is stopped and started again
|
2019-05-29 18:21:53 -07:00 |
|
Micah Lee
|
4fd8a95853
|
Merge branch 'develop' into basic_auth_everywhere
|
2019-05-24 18:13:44 -07:00 |
|
Micah Lee
|
eb6909e33a
|
Make GuiReceiveTest.upload_test use basic auth when identical_files_at_once is True
|
2019-05-24 18:07:57 -07:00 |
|
Micah Lee
|
e820a0d00d
|
Fix tests
|
2019-05-24 17:59:14 -07:00 |
|
Micah Lee
|
1efc3d6278
|
Replace URLs that have slugs with basic auth in tests
|
2019-05-24 13:38:41 -07:00 |
|
Micah Lee
|
f480ac2c11
|
Merge pull request #961 from hiromipaw/static-websites
Static websites
|
2019-05-24 10:21:34 -07:00 |
|
hiro
|
1c05ccb611
|
Resolve bugs from initial PR
|
2019-05-24 10:08:51 +02:00 |
|
Micah Lee
|
7e5bcf8662
|
Fix web tests to use basic auth and passwords instead of slugs
|
2019-05-23 09:53:18 -07:00 |
|
Micah Lee
|
cec63daf3a
|
Rename slugs to passwords in the tests
|
2019-05-22 20:55:31 -07:00 |
|