62 Commits

Author SHA1 Message Date
Micah Lee
72bdb4a9e6 Merge branch 'develop' into upgrade-flask 2022-03-28 19:34:18 -07:00
Micah Lee
054e5616db Update socket.io.min.js to latest version 2022-03-28 18:21:18 -07:00
Micah Lee
67cdd101d8 Fix built-in bridge detection, and update built-in bridges. Also update README after setting up Windows dev environment 2022-03-27 12:44:41 -07:00
Micah Lee
649ebc202f Update flask to 2.0.3, flask-socketio to 5.1.1, update socketio js, and the rest of the pip deps 2022-03-06 11:35:01 -08:00
Micah Lee
4988734396 Merge branch 'ros-fixes' into release-2.5 2022-01-17 09:51:25 -08:00
Micah Lee
128ccb45fb Actually bump version to 2.5 2022-01-17 09:51:04 -08:00
Micah Lee
b0bad75e64 Version bump to 2.4.1 2022-01-16 16:06:29 -08:00
Micah Lee
3d880afe7a Merge branch 'develop' of github.com:onionshare/onionshare into ros-fixes 2022-01-16 15:49:33 -08:00
Miguel Jacq
9d63d0ee9b 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
16c6a9f89d Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -08:00
Saptak S
4df863ce4d Checks if username is ASCII string else throw an error 2021-11-30 01:19:29 +05:30
Miguel Jacq
57bec79c61 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
80276fce8d Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them 2021-11-23 15:28:40 +11:00
Saptak S
b525a190e9 Removes invisible whitespace characters from username in chat 2021-11-19 15:25:10 +05:30
Micah Lee
6d9dc33b9e Merge pull request #1447 from tladesignz/develop
Fixed send.js table sorting.
2021-11-18 20:14:14 -08:00
Saptak S
32eb062c51 Fixes typo 2021-11-15 19:53:02 +05:30
Saptak S
e9e2afe2ee Adds username validation for socketio event handler as well 2021-11-14 23:28:17 +05:30
Saptak S
6031f36185 Renames message event to chat_message 2021-11-14 21:06:47 +05:30
Saptak S
7f846ae2fd Removed room from chat
- Uses the global room instead of adding and leaving room for users
- Removes the joining event and triggers connection status from
server as soon as a connection event is received in server side
2021-11-14 20:58:21 +05:30
Benjamin Erhart
4055f9d16e Fixed send.js table sorting. Looks like it stopped working a long time ago. 2021-10-22 12:21:22 +02:00
Micah Lee
451107e9fb Move ClientTransportPlugin into normal torrc file, and fix snowflake support 2021-10-15 09:17:03 -07:00
a1346054
869a36ad82 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
f56f3ae95f Fix spelling 2021-10-14 21:48:12 +00:00
Micah Lee
3ea92d6bad Allow selecting a snowflake bridge, and make it try to use the snowflake bridge 2021-10-13 21:11:56 -07:00
Micah Lee
ed631a3b17 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
27aa747e3c Change version to 2.4.dev1, to make a dev release 2021-09-10 13:38:00 -07:00
Micah Lee
f148ecad85 Bump version to 2.4 in cli and docs 2021-09-09 19:50:02 -07:00
Saptak S
b696b427fd Updates send.html to use file link instead of basename 2021-09-04 19:17:30 +05:30
Miguel Jacq
5d9554438f 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
dc6409a111 Version bump to 2.3.3 2021-08-20 13:13:39 -07:00
BotMaster3000
f7a5852300 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
6eec8da657 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
1de419b590 Update version strings, docs, and release.md for version 2.3.2 2021-05-31 10:36:07 -07:00
Micah Lee
8e284f1027 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
70593b0b87 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
1e5e886577 Prevent usernames in Chat mode of length 128 chars or more 2021-05-14 10:44:14 +10:00
Miguel Jacq
8967470f95 Merge branch 'develop' into fix_405_error_and_other_methods 2021-05-11 08:15:35 +10:00
Miguel Jacq
92027345d0 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
5e2128106d 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
ba56cd37b1 Change version to 2.3.2.dev1 2021-05-04 20:21:10 -07:00
Micah Lee
60732a0f56 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
bc7c95f514 Merge branch 'develop' into 1305_receive_messages 2021-05-03 18:13:04 -07:00
Micah Lee
665242a2e2 Fix javascript bug in receive mode when files is disabled 2021-05-03 17:43:39 -07:00
Miguel Jacq
b23b0af8f1 Update obfs4 built-in bridges to match those of Tor Browser's 2021-05-03 09:57:33 +10:00
Micah Lee
754c7d96dd Merge branch 'develop' into 1305_receive_messages 2021-04-29 16:58:33 -07:00
Micah Lee
b343d391b3 Allow sending messages as well as uploading files in receive mode 2021-04-25 20:46:06 -04:00
Micah Lee
3d9ca3f1ec Show the custom title in all modes 2021-04-12 18:15:51 -04:00
Micah Lee
024cc83943 Add --title, and make it display the title in chat mode 2021-04-12 17:55:16 -04:00
Kcchouette
5261fe2aa7 Change style to use flex
inspired by PR #1140
2021-03-08 18:56:26 +01:00
Kcchouette
99d7406676 Revert: Adding class to have old style 2021-03-08 18:53:56 +01:00