Commit Graph

22 Commits

Author SHA1 Message Date
Micah Lee
9e99ad8b8d
Merge branch 'develop' of github.com:onionshare/onionshare into ros-fixes 2022-01-16 15:49:33 -08:00
Micah Lee
a71a4f9baa
Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop 2021-12-04 20:34:07 -08:00
Saptak S
98f6f3b7d7
Checks if username is ASCII string else throw an error 2021-11-30 01:19:29 +05:30
Saptak S
2a68b5bce1
Removes invisible whitespace characters from username in chat 2021-11-19 15:25:10 +05:30
Saptak S
8ec28da4fe
Fixes typo 2021-11-15 19:53:02 +05:30
Saptak S
6429392a40
Adds username validation for socketio event handler as well 2021-11-14 23:28:17 +05:30
Saptak S
2a7c3d6867
Renames message event to chat_message 2021-11-14 21:06:47 +05:30
Saptak S
f4ade1ba8d
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
f3f25166d4 Fixed send.js table sorting. Looks like it stopped working a long time ago. 2021-10-22 12:21:22 +02: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
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
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
Micah Lee
6a9878a33e
Fix javascript bug in receive mode when files is disabled 2021-05-03 17:43:39 -07:00
Micah Lee
2acdea5229
Allow sending messages as well as uploading files in receive mode 2021-04-25 20:46:06 -04: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
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
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