15 Commits

Author SHA1 Message Date
Micah Lee
3d880afe7a Merge branch 'develop' of github.com:onionshare/onionshare into ros-fixes 2022-01-16 15:49:33 -08:00
Saptak S
4df863ce4d Checks if username is ASCII string else throw an error 2021-11-30 01:19:29 +05:30
Saptak S
b525a190e9 Removes invisible whitespace characters from username in chat 2021-11-19 15:25:10 +05:30
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
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
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
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
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