Commit Graph

167 Commits

Author SHA1 Message Date
Nicolas Vigier
10a13e3fac
Remove gnupg_import_ok_pattern from torbrowser_launcher/common.py (#12)
According to https://github.com/torproject/torbrowser-launcher/pull/716
the definition of `gnupg_import_ok_pattern` in
`torbrowser_launcher/common.py` is causing some warnings.

But it looks like it is not being used since
83fa1d38c4, so we can remove it.

Thanks to meator for reporting the issue.
2024-01-11 13:33:31 +01:00
Nicolas Vigier
e5b82a62c7
Update Copyright lines (#11) 2024-01-10 09:47:10 +01:00
Nicolas Vigier
7b9b5b9cb0
Update self.min_version to 13.0 (#9) 2024-01-08 13:53:33 +01:00
Nicolas Vigier
f4d2e314bf
Set the TORBROWSER_LAUNCHER environment variable (#8)
Set an environment variable to make it easier for Tor Browser to see
that torbrowser-launcher is being used.
2024-01-08 11:32:06 +01:00
Nicolas Vigier
e1e16dbb02
Update git repository URL (#7) 2023-11-23 16:36:58 +01:00
asciiwolf
1a0562ba2f Fix TBB archive name format 2023-10-13 15:04:09 +00:00
Micah Lee
7472ff6b37
Return early in torbrowser_12_rename_old_tbb() if the TBB path does not exist yet 2022-12-13 18:19:17 -08:00
Micah Lee
7cbc6c9d84
Rename old tor-browser folder with a locale, if it exists 2022-12-12 18:25:16 -08:00
Micah Lee
398badbc8b
Format with black 2022-12-12 18:14:27 -08:00
Micah Lee
c8c39cea9a
Update min_version to 12.0, because this is the current version of Tor Browser 2022-12-12 18:12:49 -08:00
Micah Lee
8c69da13a7
Pass integers into gui.move() 2022-12-12 18:11:45 -08:00
Sergey Popov
006f498b1f Make code language-agnostic
since TBB provides now a single multi-lingual distribution
2022-12-08 12:39:41 +02:00
Micah Lee
2b429297bd
Merge pull request #586 from micahflee/wkd-requests
Download the Tor Browser signing key using requests instead of gnupg
2021-06-20 23:16:26 -04:00
Micah Lee
224baddcb8
Do not refresh the key each run 2021-06-20 20:12:40 -07:00
Micah Lee
83fa1d38c4
Download Tor Browser Developers signing key using requests instead of gnupg, and make a new common.proxies() method for downloading WKD key over Tor 2021-06-20 20:08:45 -07:00
Roger Shimizu
0faefb65f2 Rebuild paths in case force_en-US was set 2021-06-21 02:59:49 +02:00
Micah Lee
e0fdbbfbeb
Revert "Use correct sys prefix"
This reverts commit fd30adfbe7.
2021-06-18 19:35:04 -04:00
Micah Lee
1d7bb13147
Fix gpg path 2021-06-18 18:54:54 -04:00
Micah Lee
fd30adfbe7
Use correct sys prefix 2021-06-18 18:52:27 -04:00
Micah Lee
11a4f19402
Merge branch 'master' of github.com:micahflee/torbrowser-launcher 2021-06-18 18:47:04 -04:00
Micah Lee
ad55f02bfb
Format all python with black, and add a .vscode folder 2021-06-18 18:26:55 -04:00
Micah Lee
2635b26ad0
Merge branch 'fix-hk-language-fallback' of https://github.com/yookoala/torbrowser-launcher into yookoala-fix-hk-language-fallback 2021-06-18 17:58:27 -04:00
Micah Lee
28eec05b03
Update copyright to 2021 2021-06-18 17:48:34 -04:00
Micah Lee
d218e57b11
Merge pull request #537 from FliegendeWurst/patch-1
Do not require the home directory to be writable
2021-06-18 17:45:16 -04:00
Leo
a85a899702
Add 'my' translation 2021-05-23 14:41:44 +03:00
Leonidas P
b8a519eb71
Update available languages for torbrowser 2021-03-31 16:24:29 +03:00
FliegendeWurst
d6aff5fc7e
Do not require the home directory to be writable
Missing permissions can be handled later.
2020-10-21 12:02:52 +02:00
Karl-Johan Karlsson
5206d46148
Set language from LC_MESSAGES, not LC_CTYPE
Calling `locale.getlocale()` checks LC_CTYPE, which is not meant for
UI strings. Change the call to check LC_MESSAGES instead.

Also call `locale.setlocale()` first to import the locale settings
from the environment. This is not needed for LC_CTYPE due to
https://bugs.python.org/issue6203 but is required for LC_MESSAGES.

Closes #361
2020-10-12 18:17:00 +02:00
Micah Lee
aa94672255
Stop hardcoding gpg2 path 2020-10-06 16:40:13 -07:00
Micah Lee
6d9ccda4ed
Merge branch 'patch-1' of https://github.com/mentha/torbrowser-launcher into mentha-patch-1 2020-10-06 16:35:19 -07:00
Micah Lee
fae91193ca
Merge branch 'develop' into expired_key 2020-10-06 16:26:02 -07:00
Micah Lee
83e24e2385
Reformat all python code using black 2020-10-06 15:59:15 -07:00
Micah Lee
7fc81ca92f
Switch to a version comparison library so that "10" is not less than "9" 2020-10-06 15:58:48 -07:00
Micah Lee
12ac68ecd8
Download key using web key directory from torproject.org instead of keyservers 2020-10-06 15:58:22 -07:00
mentha
de73d53636
Fix #462 DNS leak when “downloading over tor” 2020-09-23 16:03:14 +08:00
Koala Yeung
e92e11e6d7 Fix language fallback for Chinese (Hong Kong)
* Add a way to manually override the language detection
  for some of the languages.
* Add manual language overriding for zh-HK (to zh-TW).
2020-04-22 21:54:34 +08:00
Tilo Spannagel
208d0a29b2 Use XDG_*_HOME vars 2019-09-03 12:25:30 +02:00
Micah Lee
d6343012b4
Remove sks keyserver CA, and also remove unnecessary keyserver options 2019-07-19 17:49:17 -07:00
marieismywaifu
af427c1d17
Use non-vulnerable key server 2019-07-04 13:01:21 +00:00
Micah Lee
e57f1a2219
Actually hide TBL window 2018-09-27 11:32:10 -07:00
Micah Lee
3c47a30e53
Fix SHARE so that it works to run without installing 2018-09-27 11:09:14 -07:00
Micah Lee
b50706b7da
Merge branch 'locale-fix' into develop 2018-09-14 15:32:13 -07:00
Micah Lee
e6069cfe56
Remove extra print statement 2018-09-14 15:11:33 -07:00
Micah Lee
e886c20142
Update list of languages that Tor Browser is available in 2018-09-14 15:04:55 -07:00
Micah Lee
b828bdfafe
Properly detect the system's locale 2018-09-14 15:00:41 -07:00
Carl Joseph Hirner III
bd9e67c293
Add files via upload 2018-07-29 12:40:46 -07:00
Carl Joseph Hirner III
4e4bbd6722
Delete launcher.py 2018-07-29 12:40:21 -07:00
Micah Lee
826efbec74
Fixed various issues related to sig verification. Now if the verification fails, it saves a backup. And it uses gpg2 to refresh the keyring instead of gpg1, which did nothing. 2018-03-23 15:42:11 -07:00
Micah Lee
7cc2611edc
Center the window 2018-03-23 14:50:12 -07:00
Micah Lee
b8453e35e5
Must retain a reference to the QMainWindow, or Qt never shows it 2018-03-23 14:43:08 -07:00