Commit Graph

49 Commits

Author SHA1 Message Date
Micah Lee
a5f97b6c88
Version bump to 2.4.1 2022-01-16 16:06:29 -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
Micah Lee
a71a4f9baa
Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -08: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
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
1d0d30458c
Merge pull request #1447 from tladesignz/develop
Fixed send.js table sorting.
2021-11-18 20:14:14 -08:00
Benjamin Erhart
f3f25166d4 Fixed send.js table sorting. Looks like it stopped working a long time ago. 2021-10-22 12:21:22 +02:00
Micah Lee
2ffd15ae82
Move ClientTransportPlugin into normal torrc file, and fix snowflake support 2021-10-15 09:17:03 -07:00
a1346054
cea34725f1
Fix whitespace issues
* make sure files contain a final newline
* use consistent indentation
* trim excess whitespace
* trim trailing whitespace
2021-10-14 21:48:12 +00:00
a1346054
601e215565
Fix spelling 2021-10-14 21:48:12 +00:00
Micah Lee
39d624e923
Allow selecting a snowflake bridge, and make it try to use the snowflake bridge 2021-10-13 21:11:56 -07:00
Micah Lee
5de48bba6e
Change all version to 2.4, update languages, rebuild docs, update tor from Tor Browser 2021-09-26 11:41:01 -07:00
Micah Lee
f454c58c57
Change version to 2.4.dev1, to make a dev release 2021-09-10 13:38:00 -07:00
Micah Lee
9e4df9c8e0
Bump version to 2.4 in cli and docs 2021-09-09 19:50:02 -07:00
Saptak S
3620bf3a0c
Updates send.html to use file link instead of basename 2021-09-04 19:17:30 +05:30
Miguel Jacq
0bf8f53d30
ClientAuthV3 fixes
* Remove Client Auth as an explicit option (it's on by default).
 * Update wording about Public mode
 * Fix tuple error when raising TorTooOldStealth exception in CLI
 * Move Private Key button next to URL button in GUI
 * Replace visual references of ClientAuth to Private Key
 * Remove HTTPAuth Flask dependency and remove a lot of code to do with password generation,
   401 auth triggers/invalid password rate limit detection etc
 * Test updates
 * Remove obsolete locale keys
2021-08-27 15:52:29 +10:00
Micah Lee
f71e320ca3
Version bump to 2.3.3 2021-08-20 13:13:39 -07:00
BotMaster3000
a509bbae5b Set the word-break to break-word for the message-class, and removed the max-width again
As said by SaptakS, I applied the word-break to the message-Class. Since this breaks the line for long words without Spaces, as well as longer sentences, this is the better solution.
Since the max-width now is redundant, it got removed again, as to not cause any future confusion.
2021-06-07 22:29:40 +02:00
BotMaster3000
5c4558ace5 Set the Max-Width of the Chat-Window to 80%
Too long single-line messages can cause the ChatUser-Panel to disappear.
Allowing the windows of the Chat to be only 80% of width will cause a automatic linebreak in such a case.
2021-06-07 20:15:10 +02:00
Micah Lee
08d15fd3f1
Update version strings, docs, and release.md for version 2.3.2 2021-05-31 10:36:07 -07:00
Micah Lee
c682b7ec01
Merge branch 'fix_405_error_and_other_methods' of https://github.com/mig5/onionshare into mig5-fix_405_error_and_other_methods 2021-05-25 16:27:26 -07:00
Miguel Jacq
b66b5eca4d
Use label tag for chat username label, and rename javascript function to checkUsernameTooLong to better reflect its purpose 2021-05-17 08:17:45 +10:00
Miguel Jacq
00473eaef6
Prevent usernames in Chat mode of length 128 chars or more 2021-05-14 10:44:14 +10:00
Miguel Jacq
a066c871a9
Merge branch 'develop' into fix_405_error_and_other_methods 2021-05-11 08:15:35 +10:00
Miguel Jacq
2618e89eda
Register the 405 error handler properly. Enforce the appropriate methods for each route (GET or POST only, with OPTIONS disabled). Add tests for invalid methods. Add a friendlier 500 internal server error handler 2021-05-10 11:23:44 +10:00
Miguel Jacq
296f480b8c
Remind the user to submit contact info if they want a response to a message in Receive Mode 2021-05-07 10:53:13 +10:00
Micah Lee
b6d86a8e12
Change version to 2.3.2.dev1 2021-05-04 20:21:10 -07:00
Micah Lee
5d4966cd09
Version bump to 2.3.2 and update changelog, and upgrade PySide to 5.15.2 2021-05-03 18:50:01 -07:00
Micah Lee
ef81895243
Merge branch 'develop' into 1305_receive_messages 2021-05-03 18:13:04 -07:00
Micah Lee
6a9878a33e
Fix javascript bug in receive mode when files is disabled 2021-05-03 17:43:39 -07:00
Miguel Jacq
cd62b08b5e
Update obfs4 built-in bridges to match those of Tor Browser's 2021-05-03 09:57:33 +10:00
Micah Lee
343e1be3d0
Merge branch 'develop' into 1305_receive_messages 2021-04-29 16:58:33 -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
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
Kcchouette
a15ac4bc60
Change style to use flex
inspired by PR #1140
2021-03-08 18:56:26 +01:00
Kcchouette
83cafcc9ff
Revert: Adding class to have old style 2021-03-08 18:53:56 +01:00
Kcchouette
d7623d9fd7
Adding class to have old style 2021-03-08 17:29:45 +01:00
Micah Lee
89c1b14a8c
Version bump to 2.3.1 2021-02-22 13:37:21 -08:00
Saptak S
c88fba59e5
Updates socket.io client to 3.1.1 with the latest Socket.IO and Engine.IO protocols 2021-02-22 22:52:35 +05:30
Micah Lee
54eb4d682a
Version bump from 2.3.dev2 to 2.3, and build the latest docs, in the latest languages 2021-02-15 15:31:22 -08:00
Micah Lee
c949a731bb
Stop passing status_url_path to render denied template, to avoid exception 2020-12-13 10:48:16 -08:00
Micah Lee
abca27cb58
Allow directory listing work with or without trailing slash (removing trailing slash by default), and make directory listing links absolute instead of relative 2020-11-23 14:52:52 -08:00
Saptak S
e7de93cd84
Makes username input blur on pressing enter 2020-11-10 20:14:23 +05:30
Saptak S
d1cada0f7e
Improves the logic of updating both flask session and socket session with new nickname 2020-11-10 20:01:11 +05:30
Saptak S
7ab10a0a57
Forces socket io to use websocket instead of polling
SocketIO uses the last successful method of transport to communicate. But we
have eventlet in our dependency which allows for websocket, and we ideally
want communications to be over websocket. So specified the transport method
as websocket in socket io connect.
2020-11-10 19:57:51 +05:30
Micah Lee
0154c8477c
Version bump to 2.3.dev2, and update Linux installation in docs 2020-11-08 20:45:54 -08:00
Micah Lee
415618b74a
Change version back to 2.3.dev1 2020-10-14 20:15:58 -07:00
Micah Lee
f4abcf1be9
Add onionshare CLI to cli folder, move GUI to desktop folder, and start refactoring it to work with briefcase 2020-10-12 22:40:55 -07:00