Commit graph

48 commits

Author SHA1 Message Date
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
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
Micah Lee
6d9dc33b9e Merge pull request #1447 from tladesignz/develop
Fixed send.js table sorting.
2021-11-18 20:14:14 -08:00
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
Kcchouette
32fdea2f33 Adding class to have old style 2021-03-08 17:29:45 +01:00
Micah Lee
63fe021dcb Version bump to 2.3.1 2021-02-22 13:37:21 -08:00
Saptak S
97c97696d9 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
ff512b528a 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
9bb853756a Stop passing status_url_path to render denied template, to avoid exception 2020-12-13 10:48:16 -08:00
Micah Lee
e950cc5fe8 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
2a454c8156 Makes username input blur on pressing enter 2020-11-10 20:14:23 +05:30
Saptak S
c873391a20 Improves the logic of updating both flask session and socket session with new nickname 2020-11-10 20:01:11 +05:30
Saptak S
ac1557fc8f 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
31bcff169d Version bump to 2.3.dev2, and update Linux installation in docs 2020-11-08 20:45:54 -08:00
Micah Lee
0f1b155bb7 Change version back to 2.3.dev1 2020-10-14 20:15:58 -07:00
Micah Lee
a54f99adf6 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