Commit Graph

34 Commits

Author SHA1 Message Date
Micah Lee
e168080b77
Merge branch 'develop' into censorship 2022-02-13 11:28:16 -08:00
Micah Lee
7b50d6ecb3
Update onionshare_cli poetry deps, and fix tests 2022-01-17 11:11:35 -08:00
Micah Lee
8fe54afe13
Merge branch 'censorship' into 1422_autodetect_location 2021-12-12 10:27:01 -08:00
Micah Lee
75d286386b
Merge branch 'censorship_automatically_attempt_and_reconnect' of https://github.com/mig5/onionshare into mig5-censorship_automatically_attempt_and_reconnect 2021-12-04 20:40:58 -08:00
Micah Lee
27ee69a220
Merge pull request #1478 from mig5/fetch-builtin-bridges
Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them
2021-12-04 20:28:04 -08:00
Saptak S
5ca7236f0c
Fixes CLI tests 2021-12-03 20:03:22 +05:30
Micah Lee
b3d53ca2f2
Fix CLI tests 2021-12-01 21:01:32 -08:00
Miguel Jacq
06a3599fe1
Built-in bridge refactoring.
Store the built-in bridges in OnionShare settings as a dict, and try writing those into the torrc if present.

If they aren't present in OnionShare settings, use the hardcoded templates instead.

Fetch the latest built-in bridges over Tor, once connected to Tor.

If we can't fetch the bridges over Tor, fall back to Meek (domain-fronting) and try again.

Then write those as the dict to the OnionShare settings, to take precedence next time.
2021-11-24 17:55:47 +11:00
Miguel Jacq
b727a9651f
Initial work on supporting the option to automatically attempt to fetch bridges based on the user's location if Tor fails to connect (censorship circumvention) 2021-11-11 17:33:19 +11:00
Micah Lee
9515fe6aaf
Remove all references to old settings 2021-10-26 21:07:38 -07:00
Micah Lee
2b3b6d7635
Update bridge related settings in Settings, and use those new settings in Onion 2021-10-26 21:06:05 -07:00
Miguel Jacq
1fa82818c3
Add meek_client stuff to CLI tests 2021-10-20 15:55:24 +11:00
Micah Lee
01b51e94bf
Save/load moat bridges to/from settings 2021-10-17 14:26:56 -07:00
Micah Lee
64973a00ec
Fix CLI tests 2021-10-15 09:21:58 -07:00
Kushal Das
e4178cff49
Fixes typos about Linux as platform name
It is `linux` not 'Linux' in sys.platform
2021-09-02 08:31:30 +05:30
Miguel Jacq
0bf8f53d30
ClientAuthV3 fixes
* Remove Client Auth as an explicit option (it's on by default).
 * Update wording about Public mode
 * Fix tuple error when raising TorTooOldStealth exception in CLI
 * Move Private Key button next to URL button in GUI
 * Replace visual references of ClientAuth to Private Key
 * Remove HTTPAuth Flask dependency and remove a lot of code to do with password generation,
   401 auth triggers/invalid password rate limit detection etc
 * Test updates
 * Remove obsolete locale keys
2021-08-27 15:52:29 +10:00
SIDDHANT DIXIT
58e16e29b0 Updated test cli settings
Added theme key in test_cli_settings.py.
2021-07-22 02:37:24 +05:30
Miguel Jacq
04019389da
Move the cleanup() function from Onionshare class to Web class, so that the list of files to be cleaned up is always available (needed for website temp files) 2021-05-04 16:21:42 +10:00
Micah Lee
b630a92d5e
Fix CLI tests in macOS 2021-05-02 15:51:39 -07:00
Micah Lee
21b4ae06f0
Remove deprecated pytest stuff 2021-05-02 15:33:42 -07:00
Micah Lee
3c36c4766c
Fix CLI tests in Windows 2021-05-02 15:32:45 -07:00
Micah Lee
8b9d9fcf46
Write receive mode CLI tests to confirm messages and files get uploaded, and when no files are uploaded an empty folder is not created 2021-05-02 12:42:56 -07:00
Micah Lee
0a6056e5e6
Fix flake8 issues found in cli 2021-04-29 17:13:05 -07:00
Micah Lee
470fb2bda3
Merge pull request #1321 from SaptakS/range-requests-revisited
Reviving the old range request PR
2021-04-25 18:07:35 -04:00
Saptak Sengupta
530f9547f5
Merge pull request #1326 from micahflee/pretty_verbose
Make verbose output prettier with terminal colors
2021-04-13 02:45:12 +05:30
Micah Lee
5cf8ef180e
Fix log tests 2021-04-12 15:42:16 -04:00
Saptak S
81700ecaea
Fixes tests for normal range requests, curl and wget 2021-04-12 22:57:10 +05:30
Saptak S
157ffc9ba5
Fixes parameters in the test function 2021-04-12 22:57:09 +05:30
Saptak S
4a7c062dbd
Reviving the old range request PR
This commit basically just adds the codes from the PR
https://github.com/micahflee/onionshare/pull/804/commits
on the newly structured and refactored code and also
fixes import dependencies and changed any code that was
relevant with the new code of onionshare
2021-04-12 22:57:08 +05:30
Micah Lee
09975fb0f1
Test webhook in CLI 2021-04-12 09:34:12 -07:00
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
af5dda0d4a
Fix start_onion_service test 2020-11-27 14:57:49 -08:00
Micah Lee
0d20cf2fec
Remove obsolete resource path tests 2020-11-08 14:51:45 -08:00
Micah Lee
f4abcf1be9
Add onionshare CLI to cli folder, move GUI to desktop folder, and start refactoring it to work with briefcase 2020-10-12 22:40:55 -07:00