Commit Graph

372 Commits

Author SHA1 Message Date
Micah Lee
c8385a3416 Codesign .dylib files too, and properly delete unused PySide2 files 2022-01-16 13:25:05 -08:00
Micah Lee
c8745cd8dc Also codesign libevent-2.1.7.dylib 2022-01-16 11:44:30 -08:00
Micah Lee
eed494814a Completely rework the Mac app bundle so that it can get notarized 2022-01-16 11:25:15 -08:00
Micah Lee
7b975b86fb Closer, but notarization fails 2022-01-13 16:07:26 -08:00
Micah Lee
fde9ac5628 Finish packaging and code signing for Mac 2022-01-13 15:13:03 -08:00
Micah Lee
78e8c4fa36 One more license tweak 2022-01-13 10:24:37 -08:00
Micah Lee
4950dfc246 Change text in Windows installer license, add background image to installer 2022-01-13 10:18:56 -08:00
Micah Lee
0427572521 Add code signing and MSI packaging for Windows 2022-01-12 19:58:40 -08:00
Micah Lee
b5cac769bb
Merge branch 'cx_freeze-packaging' of github.com:micahflee/onionshare into cx_freeze-packaging 2021-12-23 11:58:31 -08:00
Micah Lee
159540f06b
Start adding cx_Freeze linux support 2021-12-23 11:58:07 -08:00
Micah Lee
07665a0109
Delete unused Qt5 files after Windows build 2021-12-23 11:49:43 -08:00
Micah Lee
8a04472022
Use cx_freeze for making macOS dmg 2021-12-22 14:04:34 -08:00
Micah Lee
ba5a746e93
Support cx_Freeze in macOS 2021-12-22 12:04:44 -08:00
Micah Lee
ec7fa4ef16
Solve obnoxious cx_Freeze issue that broke websockets by enforcing async_mode=gevent, and including the correct modules in the build 2021-12-21 16:55:59 -08:00
Micah Lee
f0d40beb77
Start implementing cx_Freeze 2021-12-21 14:16:10 -08:00
Micah Lee
bd12949652
Update python dependencies 2021-12-21 14:15:20 -08:00
Micah Lee
868b1fa2b6
Update release docs, and remove appimage script that didn't work 2021-12-19 17:42:11 -08:00
Micah Lee
1d53712544
Continue switching from briefcase to poetry 2021-12-19 17:33:11 -08:00
Micah Lee
8dfbba736d
Move the rest of the desktop files out of the src folder 2021-12-19 17:33:00 -08:00
Micah Lee
5aa5c9ebcc
Switch from briefcase to poetry 2021-12-19 17:17:54 -08:00
Micah Lee
709e4ae3c8
Move desktop code from desktop/src/onionshare to just desktop/onionshare 2021-12-19 17:17:04 -08:00
Micah Lee
b949234e49
Merge pull request #1491 from mig5/force_js_mimetype
Force javascript MIME type to work around silly operating system MIME databases
2021-12-19 16:08:09 -08:00
Hosted Weblate
43e59cd8c1
Translated using Weblate (Japanese)
Currently translated at 35.2% (6 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Japanese)

Currently translated at 11.7% (2 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 90.9% (30 of 33 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Russian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ru/

Co-authored-by: Alexander Tarasenko <alexound.login@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/ru/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Tor
2021-12-18 06:52:39 +01:00
Miguel Jacq
99023a8702
Test javascript MIME type in different modes 2021-12-17 17:59:34 +11:00
Micah Lee
4b18cb7d0f
Merge branch 'develop' of github.com:micahflee/onionshare into develop 2021-12-12 13:03:47 -08:00
Micah Lee
805998e962
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-12-12 13:03:32 -08:00
Miguel Jacq
be8a2a894f
Update our bridge templates with the latest built-in bridges in the get-tor scripts 2021-12-10 16:48:39 +11:00
Hosted Weblate
50a603ac02
Translated using Weblate (Japanese)
Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (8 of 8 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (Japanese)

Currently translated at 83.3% (25 of 30 strings)

Translated using Weblate (German)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (German)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (German)

Currently translated at 100.0% (57 of 57 strings)

Translated using Weblate (Swedish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sv/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

Translated using Weblate (Greek)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/el/

Translated using Weblate (French)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/

Co-authored-by: Gabriel Cardoso <g.cardoso@mailfence.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jannes Leßmann <janneslessmann@web.de>
Co-authored-by: M <mikael.hargbo+gitlab@gmail.com>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Co-authored-by: Venilson Carneiro <venilsoncarneiro@pm.me>
Co-authored-by: aezjrareareare <jeromechaland@riseup.net>
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/ja/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_BR/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Sphinx
Translation: OnionShare/Doc - Tor
2021-12-10 03:52:16 +01:00
Micah Lee
a71a4f9baa
Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -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
Micah Lee
c8ba508d26
Merge branch 'develop' into 1470_tempfiles 2021-12-01 20:37:45 -08:00
Micah Lee
8ec9a24af1
Explicitly cleanup temp files and dirs 2021-12-01 20:34:54 -08:00
Hosted Weblate
a4741a73d4
Translated using Weblate (German)
Currently translated at 98.2% (56 of 57 strings)

Translated using Weblate (Catalan)

Currently translated at 25.0% (2 of 8 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Catalan)

Currently translated at 28.5% (2 of 7 strings)

Translated using Weblate (Catalan)

Currently translated at 6.6% (2 of 30 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (25 of 25 strings)

Translated using Weblate (Serbian (latin))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sr_Latn/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: fadelkon <fadelkon@posteo.net>
Co-authored-by: ilumium <weblate@penfrat.net>
Co-authored-by: tics tics <ticse@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ca/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/sr_Latn/
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Tor
2021-11-28 20:16:51 +01:00
Hosted Weblate
206d021cf6
Translated using Weblate (Galician)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/gl/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 20.0% (6 of 30 strings)

Translated using Weblate (Serbian (latin))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sr_Latn/

Translated using Weblate (Portuguese (Portugal))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_PT/

Translated using Weblate (German)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/

Added translation using Weblate (Hungarian)

Added translation using Weblate (Punjabi)

Added translation using Weblate (Czech)

Added translation using Weblate (Bulgarian)

Added translation using Weblate (Bengali)

Added translation using Weblate (Esperanto)

Added translation using Weblate (Lithuanian)

Added translation using Weblate (Galician)

Added translation using Weblate (Gujarati)

Co-authored-by: 4s3ti <4s3ti@4s3ti.net>
Co-authored-by: Blax <blacxbloc@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jo W. Burner <g0dk8pip@duck.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Xosé M <xosem@disroot.org>
Co-authored-by: tics tics <ticse@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/zh_Hans/
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Sphinx
2021-11-26 19:53:28 +01:00
Hosted Weblate
ef1be43bd8
Translated using Weblate (Turkish)
Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (33 of 33 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (60 of 60 strings)

Translated using Weblate (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/uk/

Translated using Weblate (Japanese)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ja/

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

Translated using Weblate (Icelandic)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/is/

Translated using Weblate (Turkish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Co-authored-by: Zuhualime Akoochimoya <zakooch@protonmail.ch>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/tr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/uk/
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Tor
2021-11-25 16:52:57 +01: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
Micah Lee
e1b89652cc
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-11-23 20:29:44 -08:00
Micah Lee
a4985e7029
Support sending a custom Content-Security-Policy header in Website mode 2021-11-23 18:44:14 -08:00
Miguel Jacq
19072503a9
Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them 2021-11-23 15:28:40 +11:00
Micah Lee
236bc33bc8
Don't try adding a folder if the user clicks cancel, and add additional logging 2021-11-16 18:15:07 -08:00
Micah Lee
f09bb66425
Snap successfully builds meek-client, and WIP getting tor to connect 2021-11-14 17:52:40 -08:00
Micah Lee
0f63c89a59
Detect Flatpak via environment variable 2021-11-14 17:16:21 -08:00
Micah Lee
6b521c152e
Show the alert on the the dragEnterEvent 2021-11-14 16:11:39 -08:00
Micah Lee
ab800c577a
More thoroughly remove drag and drop to prevent the drop label from getting created 2021-11-14 16:00:00 -08:00
Micah Lee
ad9cacd44a
Drag and drop string does not use filename 2021-11-14 15:49:30 -08:00
Micah Lee
3eb912bf5a
Move drag and drop logic into dropEvent 2021-11-14 15:46:20 -08:00
Micah Lee
bfce4b005c
Disable drag and drop in flatpak 2021-11-14 15:08:06 -08:00
Micah Lee
94c588d0ce
Make the FileSelection widget use native file browser widgets under Flatpak in order to enable the sandbox 2021-11-14 14:24:02 -08:00
Micah Lee
365ddc5e34
Merge branch 'develop' into 1459_linux_packaging 2021-11-14 13:28:45 -08:00
Saptak Sengupta
182b6bb67b
Merge pull request #1454 from Max1Truc/fix-bad-locale
Fix "KeyError: 'fr'" in desktop strings.py
2021-11-14 19:05:14 +05:30