363 Commits

Author SHA1 Message Date
Saptak Sengupta
fdd9053ea5
Merge pull request #1988 from onionshare/mig/fix_censorship_circumvention
Only set Censorship Circumvention bridges if we actually received some. Iterate over list until we find a valid set of bridges.
2025-02-18 21:33:18 +05:30
Miguel Jacq
03515b6128
Improve the check for returned bridges from CensorShip Circumvention, so that we iterate over potential groups of bridges and break on the first valid set 2025-02-18 17:19:44 +11:00
Saptak Sengupta
0eb295a010
Merge pull request #1974 from onionshare/mig/fix-thread-segfault
Call t.join() to wait for the web thread to stop before cleaning up the onion. Seems to fix periodic race condition segfault
2025-02-17 19:25:06 +05:30
Saptak Sengupta
baee608ca8
Merge pull request #1979 from onionshare/mig/stop-properly-on-autostop-timer-cli-share-mode
Properly set the web 'done' state to True on loading the directory listing
2025-02-17 15:28:31 +05:30
Miguel Jacq
035c398f82
Only set Censorship Circumvention bridges if we actually received some 2025-02-16 10:59:16 +11:00
Saptak Sengupta
4fbe981c31
Merge pull request #1978 from onionshare/mig/handle-lack-of-gevent-for-socketio
Try to gracefully fall back to gevent-less SocketIO if it is not supported (#1510)
2025-02-14 11:32:35 +05:30
Miguel Jacq
1e2be5f204
Replace use of pkg_resources.resource_filename with importlib.resources 2025-02-14 09:49:39 +11:00
Miguel Jacq
32672077d0
Properly set the web 'done' state to True on loading the directory listing 2025-02-13 12:34:06 +11:00
Miguel Jacq
4f8fd81b0a
Try to gracefully fall back to gevent-less SocketIO if it is not supported (#1510) 2025-02-13 10:38:14 +11:00
Miguel Jacq
6a64f74791
Call t.join() to wait for the web thread to stop before cleaning up the onion. Seems to fix periodic race condition segfault 2025-02-13 10:13:28 +11:00
mig5
b14d54d9c5
Merge pull request #1963 from onionshare/mig/start-sharing-on-launch
Make it possible to automatically start a persistent share when OnionShare starts
2025-02-12 08:35:02 +11:00
Saptak Sengupta
162fc97302
Merge pull request #1957 from onionshare/mig/dependency-update-and-flatpak-rejig-for-pt
Dependency update and rejig Flatpak to install pluggable transports via our existing scripts, like other packaging/OS
2025-02-11 20:51:59 +05:30
Saptak Sengupta
0d8623c491
Merge pull request #1960 from onionshare/unquote-paths-in-log-filenames
Unquote path names in --log-filenames mode
2025-02-10 12:55:46 +05:30
Miguel Jacq
9a5bd1f177
Make it possible to automatically start a persistent share when OnionShare starts 2025-02-10 17:13:44 +11:00
Miguel Jacq
e425c643f5
Encode the file name when adding it to the 'link' attribute of each file.
This lets the file be downloaded if it has a special character e.g #.
2025-02-10 16:42:28 +11:00
Miguel Jacq
dfa316a791
Updating tor to 0.4.8.14 has changed the built-in meek azure bridges 2025-02-10 16:26:43 +11:00
Miguel Jacq
bd9c191666
Fastly stopped domain fronting for Moat - see https://gitlab.torproject.org/tpo/anti-censorship/team/-/issues/135 . Updating the front and back URLs per a851484370 2025-02-10 16:26:42 +11:00
Miguel Jacq
31e7664e53
Unquote path names in --log-filenames mode 2025-02-09 10:38:07 +11:00
mig5
6e05ee4426
Merge pull request #1932 from lamemakes/main
Added optional filename logging for individual file downloads
2025-02-08 16:54:20 +11:00
Miguel Jacq
d89956b2e4
Fix indentation 2025-02-08 16:37:04 +11:00
Miguel Jacq
d78556e8c5
Allow logging filenames in website mode as well 2025-02-08 16:35:58 +11:00
Miguel Jacq
c886a449ad
Fix file interpolation 2025-02-08 16:26:26 +11:00
Miguel Jacq
b7a2473c26
Log the path for the main 'Download Files' button too, for consistency 2025-02-08 16:19:35 +11:00
Miguel Jacq
249d7e5149
Log newline to stdout even if on Mac (the old issue #203 should no longer be relevant) 2025-02-08 16:11:46 +11:00
Miguel Jacq
c54d9f82c7
Allow logging even if autostop is enabled 2025-02-08 16:09:56 +11:00
Miguel Jacq
3bde77cd91
Replace distutils.version with packaging.version 2025-02-05 16:59:48 +11:00
mig5
7fddb6229b
Revert "Remove distutils" 2025-02-03 17:29:47 +11:00
Miguel Jacq
52c9544c8b
Strip non-semantic versioning before check 2025-02-03 17:12:42 +11:00
Miguel Jacq
17b8007514
merge main and fix conflicts 2025-02-03 17:10:32 +11:00
Miguel Jacq
3f55779d9c
Fix SyntaxWarning: invalid escape sequence '\s' in bridges matches (#1930) and update default bridges for meek and snowflake 2025-02-03 10:28:45 +11:00
Wes Appler
4128cad08f Added optional filename logging for individual file downloads 2024-10-08 23:00:17 -04:00
21CSM
7f6f0b46bc
Fix imports for packaging.version
Should not use the entire version module, just the Version class import
2024-07-19 18:35:05 -04:00
21CSM
1fb1a470df Remove distutils
The package distutils was depcrecated in Python 3.10 and remove in Python 3.12

Update poetry.lock
2024-07-09 14:01:10 -04:00
Saptak S
1d7c1c2cc4
Updates translation files 2024-03-15 13:57:16 +05:30
Saptak S
3a95001d1f
Updates version information 2024-03-15 12:48:52 +05:30
Saptak S
d5c25527ac
Merge branch 'main' of github.com:onionshare/onionshare-ghsa-wh24-f3hg-r3h2 into release-2.6.2 2024-03-15 12:38:54 +05:30
Saptak S
c0e7a4a0f4
Merge branch 'main' of github.com:onionshare/onionshare-ghsa-r78w-rpvr-g57q into release-2.6.2 2024-03-15 12:36:18 +05:30
Saptak S
f1cf52b166
Merge branch 'main' of github.com:onionshare/onionshare-ghsa-9mxm-qp84-xgx6 into release-2.6.2 2024-03-15 12:32:44 +05:30
Saptak S
03f89bfaa7
Merge branch 'advisory-fix-1' of github.com:onionshare/onionshare-ghsa-pmjc-j5gp-7hcj into release-2.6.2 2024-03-15 12:31:15 +05:30
Miguel Jacq
35670533d8
Set a maximum length of 524288 characters for text messages in Receive mode 2024-03-12 10:23:43 +11:00
Saptak S
2ef15395d4
Allow only ascii characters 2024-03-09 00:13:40 +05:30
Micah Lee
18bff0660c
Edit error message in ConnectionRefusedError error to be more generic 2024-03-08 09:40:43 -08:00
Saptak S
ad61786b0f
Allows only specific unicode characters for username
Added a function to remove all characters apart from characters which
fall under the unicode categories of letters and numbers. Also added a
list of allowed special characters.
2024-03-08 21:00:19 +05:30
Micah Lee
3ef52eb59b
Handle exceptions in chat mode's validate_username 2024-03-07 19:51:32 -08:00
Micah Lee
1b0979e6ed
Forcefully disconnect the user from socketio on disconnect event 2024-03-07 19:07:22 -08:00
Saptak S
1e3ec0d860
Updates list of languages and changelog 2024-02-20 02:26:48 +05:30
Saptak S
5aa4cc0957
Updates the version information 2023-12-28 16:14:36 +05:30
Saptak Sengupta
2a5b75ceb2
Merge pull request #1779 from onionshare/release-2.6.1
Release 2.6.1.dev1
2023-11-29 22:36:08 +05:30
Saptak S
b2f0444f57
Raise error from waitress if not shutdown 2023-10-21 18:41:02 +05:30
Micah Lee
51c8aa6687
Merge branch 'main' into release-2.6.1 2023-10-18 11:34:06 -07:00