Commit Graph

161 Commits

Author SHA1 Message Date
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
Micah Lee
a7f166953c
Only try refreshing the keyring when necessary 2018-03-23 13:45:33 -07:00
Micah Lee
45e6c01628
Allow ctrl-c to work again (see https://stackoverflow.com/questions/5160577/ctrl-c-doesnt-work-with-pyqt) 2018-03-23 13:40:44 -07:00
Micah Lee
df33b47382
Fix flake8 style issues 2018-03-23 13:36:37 -07:00
Micah Lee
f1473aaec6
Fix ampersand 2018-03-23 13:00:10 -07:00
Micah Lee
055a26ca51
Give more intelligence errors if connection error while using socks proxy 2018-03-23 12:56:32 -07:00
Micah Lee
0195e48991
Make downloading over Tor work 2018-03-23 12:49:52 -07:00