Micah Lee
|
3f7c4a4e25
|
Remove method from IndividualFileHistoryItem, and only display these widgets on 200 and 404 requests, not all of the others
|
2019-09-08 09:35:44 -07:00 |
|
Micah Lee
|
c2011e6915
|
Make the IndividualFileHistoryItem widgets have color
|
2019-09-03 22:31:13 -07:00 |
|
Micah Lee
|
dee9e40051
|
Rename a few more count variables to cur_history_id
|
2019-09-03 22:20:52 -07:00 |
|
Micah Lee
|
ffe12bdead
|
Rename download_count/download_id, upload_count/upload_id, and visit_count/visit_id to simply cur_history_id/history_id, and make all errors create IndividualFileHistoryItem widgets
|
2019-09-03 22:18:30 -07:00 |
|
Micah Lee
|
655bb5bad1
|
Show IndividualFileHistoryItem widgets for directory listings
|
2019-09-03 21:59:49 -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 |
|
Micah Lee
|
c55925c1ce
|
Make it so all of the state variables, including self.file_info get reset in SendBaseModeWEeb.set_file_info, which fixes the bug where old files you were sharing would end up in new zip files
|
2019-09-03 20:52:59 -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 |
|
Micah Lee
|
f118ebcb09
|
Merge branch '991_sharing_code' of github.com:mig5/onionshare into 991_sharing_code
|
2019-09-02 19:46:05 -07:00 |
|
Micah Lee
|
0aa5a89ade
|
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
|
cb439743ff
|
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
|
f6eb80d5b5
|
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
|
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
|
9ae98eb7cb
|
Extend coverage of website mode tests
|
2019-09-03 12:23:27 +10:00 |
|
Miguel Jacq
|
458a0fb1d0
|
Aww. Adjust the website test html code since my easter egg didn't work
|
2019-09-03 12:00:23 +10:00 |
|
Miguel Jacq
|
f4f7b984e5
|
remove unnecessary import from GuiWebSiteTest class
|
2019-09-03 11:53:17 +10:00 |
|
Miguel Jacq
|
5defd4a10b
|
Add a basic website test
|
2019-09-03 11:51:59 +10:00 |
|
Miguel Jacq
|
ef78a9c7ed
|
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
|
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
|
877a73ab59
|
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
|
d7a7538686
|
Merge SendBaseModeWeb.build_file_list into SendBaseModeWeb.set_file_info function
|
2019-09-01 20:53:21 -07:00 |
|
Micah Lee
|
70619dd142
|
Fix TestSettings.test_init test
|
2019-09-01 20:46:27 -07:00 |
|
Micah Lee
|
bf20085c4a
|
Load default settings in CLI mode, of config is not passed in
|
2019-09-01 20:45:19 -07:00 |
|
Micah Lee
|
6561d71edd
|
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
|
1c465b40fe
|
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
|
1e1243c8b6
|
Clear the file list every time a share starts
|
2019-09-01 19:59:00 -07:00 |
|
Micah Lee
|
df568d648e
|
Change link style for directory listing
|
2019-09-01 16:13:05 -07:00 |
|
Micah Lee
|
e7959f9ae6
|
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
|
a0759cedcd
|
Oops, need to call directory_listing with filesystem_path
|
2019-09-01 16:02:10 -07: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
|
7b2b8c2284
|
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
|
328b1500ab
|
Merge branch 'share-code' of https://github.com/hiromipaw/onionshare into hiromipaw-share-code
|
2019-09-01 17:49:22 -04:00 |
|
Micah Lee
|
4dd26f6d16
|
Merge pull request #1011 from torbsd/torbsd
DragonFly is *BSD; bringing back #716
|
2019-09-01 13:44:35 -07:00 |
|
Micah Lee
|
61e6ecdf8c
|
Merge pull request #1012 from emmapeel2/translation_updates
weblate translation updates
|
2019-09-01 12:45:39 -07:00 |
|
Micah Lee
|
7cd69ae188
|
Change package in build instructions from python-flask-httpauth to python3-flask-httpauth
|
2019-09-01 12:38:13 -07:00 |
|
emma peel
|
5818932674
|
weblate translation updates
|
2019-07-27 08:01:35 +00:00 |
|
Vinicius Zavam
|
04acf849d6
|
DragonFly is *BSD; bringing back #716
|
2019-07-23 15:09:11 +00:00 |
|
hiro
|
2604ef52b5
|
Clean up rendering logic between share and website mode
|
2019-06-14 18:21:12 +02:00 |
|
hiro
|
35b524439f
|
Remove reset of web app path in receive mode
|
2019-06-13 22:58:33 +02:00 |
|
hiro
|
66e85497ef
|
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 50b2311409 .
|
2019-06-13 22:56:48 +02:00 |
|
hiro
|
4d733c224a
|
Refactor directory_listing function
|
2019-06-13 21:47:49 +02:00 |
|
hiro
|
9805919fc7
|
Move directory_listing function
|
2019-06-13 12:41:12 +02:00 |
|
hiro
|
5c0839a557
|
Refactor set_file_list between website and share mode
|
2019-06-13 12:34:27 +02:00 |
|
hiro
|
0f40e9589c
|
Start code sharing between WebsiteMode and ShareMode
|
2019-06-13 12:34:27 +02:00 |
|
wh1t3fang
|
b6b576bddb
|
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
|
9a327f26ea
|
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
|
726f174dea
|
Remove old noscript css styles
|
2019-05-30 17:55:58 -07:00 |
|
Micah Lee
|
c3ba542ecb
|
Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed
|
2019-05-29 19:27:21 -07:00 |
|
Micah Lee
|
12392378d1
|
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
|
50b2311409
|
Generate a new static_url_path each time the server is stopped and started again
|
2019-05-29 18:21:53 -07:00 |
|