Commit Graph

3694 Commits

Author SHA1 Message Date
Miguel Jacq
330e602694
Update the Content-Security-Policy: remove style-src and script-src which are inherited by default-src. Add frame-ancestors, form-action and base-uri which do not inherit default-src 2021-04-29 10:09:44 +10:00
Micah Lee
0de27f9775
WIP: Starting to make messages in receive mode work in GUI 2021-04-28 19:10:26 -04:00
Micah Lee
ffe820398d
Level up the ASCII art 2021-04-28 16:08:20 -07:00
Saptak Sengupta
059a4425bd
Merge pull request #1327 from micahflee/1306_customization
Allow custom title for each onion service
2021-04-28 14:43:10 +05:30
Miguel Jacq
fe64d40e45
Use XDG_CONFIG_HOME environment variable if it is present, otherwise fall back to ~/.config 2021-04-28 15:45:37 +10:00
Micah Lee
ee3761af6c
Move graphical banner into common, and display it in GUI too 2021-04-26 19:29:18 -07:00
Micah Lee
2acdea5229
Allow sending messages as well as uploading files in receive mode 2021-04-25 20:46:06 -04:00
Micah Lee
dac508d06e
Prettier ASCII art 2021-04-25 19:23:10 -04: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
Micah Lee
e48878e558
Rename "Title" to "Custom title", move it into advanced settings, and make whitespace title default to not setting a title 2021-04-25 17:49:06 -04:00
Micah Lee
2e44dfbbda
Merge pull request #1330 from SaptakS/chat-socket-fix
Force shutdowns the socket server on closing chat server
2021-04-25 17:41:41 -04:00
Micah Lee
6ef93c764f
Merge pull request #1332 from whew/patch-2
Use socks5h instead of socks5
2021-04-25 17:41:09 -04:00
Hosted Weblate
a3bd161416
Translated using Weblate (Bengali)
Currently translated at 9.0% (1 of 11 strings)

Translated using Weblate (Bengali)

Currently translated at 100.0% (2 of 2 strings)

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

Added translation using Weblate (Bengali)

Added translation using Weblate (Bengali)

Added translation using Weblate (Bengali)

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

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Oymate <dhruboadittya96@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/bn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/bn/
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Security
2021-04-25 01:31:52 +02:00
whew
2d28dc9a5e
Update __init__.py 2021-04-24 10:01:33 +00:00
whew
161f20c1d6
Use socks5h instead of socks5
With `socks5h` the proxy server resolves the domain name, which avoids leaking DNS requests.
2021-04-24 09:59:53 +00:00
Saptak S
a4ae37d203
Force shutdowns the socket server on closing chat server 2021-04-19 02:59:22 +05:30
Micah Lee
3c76f3403d
Add tooltips to tabs, so you can tell what even long titles are 2021-04-13 18:28:00 -04:00
Micah Lee
6772431220
Put the title and persistent options at the top of the options widget, above mode-specific options 2021-04-13 18:18:44 -04:00
Micah Lee
3c85a8dae1
Add custom title to GUI 2021-04-13 18:06:29 -04:00
Micah Lee
1543bb38d2
Show the custom title in all modes 2021-04-12 18:15:51 -04:00
Micah Lee
b5c68fa5ca
Add --title, and make it display the title in chat mode 2021-04-12 17:55:16 -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
Saptak Sengupta
e01c72b6a0
Merge pull request #1325 from micahflee/1322_webhooks
Webhook notifications for receive mode
2021-04-13 02:36:29 +05:30
Micah Lee
5cf8ef180e
Fix log tests 2021-04-12 15:42:16 -04:00
Micah Lee
cf1debbf3c
Make verbose output prettier with terminal colors 2021-04-12 15:36:08 -04:00
Saptak S
729cf2ef86
Fixes content-length for the range requests logic 2021-04-12 22:57:11 +05:30
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
Micah Lee
839b23f87a
Improve webhook label in GUI, improve webhook message that gets POSTed, and display webhook errors without verbose mode 2021-04-12 09:08:47 -07:00
Micah Lee
eb628ad093
Save state when unchecking webhook checkbox 2021-04-12 07:53:14 -07:00
Micah Lee
c3327f5cc1
Merge branch 'develop' into 1322_webhooks 2021-04-11 21:38:49 -07:00
Micah Lee
960dd35b43
Stop using deepsource in favor of CodeQL 2021-04-11 21:38:38 -07:00
Micah Lee
91308bf51b
Add receive mode webhook to GUI 2021-04-11 21:16:18 -07:00
Micah Lee
84958ef7f3
Oops, webhook not websocket 2021-04-11 13:49:51 -07:00
Micah Lee
29970d38ff
Implement receive mode webhooks in CLI 2021-04-11 13:33:58 -07:00
Micah Lee
f4d71182d6
Update poetry deps, and add requests[socks] 2021-04-11 13:25:40 -07:00
Micah Lee
a08a12d855
Merge pull request #1317 from akshgpt7/chore-refactor-issues
Refactor code quality issues
2021-04-11 11:37:42 -07:00
Micah Lee
eb51b138cb
Create codeql-analysis.yml 2021-04-11 11:14:48 -07:00
Micah Lee
ef097913fe
Merge branch 'develop' of github.com:micahflee/onionshare into develop 2021-04-11 11:10:45 -07:00
Micah Lee
6d1df22c1e
Merge pull request #1324 from RayBB/patch-1
update brew install command
2021-04-11 11:08:25 -07:00
Micah Lee
cd966424b6
Merge branch 'fix_rendezvous_typo' of https://github.com/mig5/onionshare into mig5-fix_rendezvous_typo 2021-04-11 11:02:47 -07:00
Raymond Berger
0a28565479
update brew install command 2021-04-10 19:46:27 -10:00
Micah Lee
4e858a5f0a
Enable docs in Russian, and rebuild docs 2021-04-10 21:38:07 -07:00
Micah Lee
e75b4b47fe
Merge branch 'develop' of https://hosted.weblate.org/git/onionshare/translations into develop 2021-04-10 21:29:08 -07:00
Hosted Weblate
d9f9e21aee
Translated using Weblate (Italian)
Currently translated at 63.6% (14 of 22 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Italian)

Currently translated at 96.7% (30 of 31 strings)

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

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

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

Translated using Weblate (Russian)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (29 of 29 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

Translated using Weblate (Croatian)

Currently translated at 66.6% (6 of 9 strings)

Translated using Weblate (Croatian)

Currently translated at 24.1% (7 of 29 strings)

Translated using Weblate (French)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (French)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (French)

Currently translated at 67.7% (21 of 31 strings)

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

Translated using Weblate (French)

Currently translated at 67.7% (21 of 31 strings)

Translated using Weblate (French)

Currently translated at 67.7% (21 of 31 strings)

Translated using Weblate (French)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

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

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

Translated using Weblate (Serbian (latin))

Currently translated at 50.0% (1 of 2 strings)

Translated using Weblate (Serbian (latin))

Currently translated at 100.0% (2 of 2 strings)

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

Added translation using Weblate (Sinhala)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (22 of 22 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (52 of 52 strings)

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

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Agnes de Lion <belocurry@pm.me>
Co-authored-by: Alexander Tarasenko <alexound.login@gmail.com>
Co-authored-by: Eduardo Addad de Oliveira <duduaddad@gmail.com>
Co-authored-by: Elton Viana Gonçalves da Luz <eltongoncalves94@hotmail.com>
Co-authored-by: Eric Camellini <eric.camellini@gmail.com>
Co-authored-by: Filipovic Dragan <filipovic@tutanota.com>
Co-authored-by: HelaBasa <R45XvezA@protonmail.ch>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jonatan Nyberg <jonatan.nyberg.karl@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: george k <norhorn@gmail.com>
Co-authored-by: rc <coluccini.riccardo@gmail.com>
Co-authored-by: x <hardwired1.0@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/hr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/hr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/it/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/it/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/ru/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/sr_Latn/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/it/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/ru/
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-04-09 21:26:45 +02:00
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Saptak Sengupta
dd8742535f
Merge pull request #1316 from mig5/fix_cli_autostart_timer
Fix the call to start_onion_service in CLI mode when using autostart timer
2021-03-10 11:53:10 +05:30
Miguel Jacq
5b5c3ad87a
Fix the call to start_onion_service in CLI mode when using autostart timer, which had out of date positional args. Fix Tor exception handlers which were also out of date with the start_onion_service function 2021-03-10 15:04:22 +11:00