23 Commits

Author SHA1 Message Date
Saptak S
38f63e5bd8 Merge branch 'main' of github.com:onionshare/onionshare-ghsa-wh24-f3hg-r3h2 into release-2.6.2 2024-03-15 12:38:54 +05:30
Saptak S
41e7623898 Merge branch 'main' of github.com:onionshare/onionshare-ghsa-r78w-rpvr-g57q into release-2.6.2 2024-03-15 12:36:18 +05:30
Saptak S
b4be26ab53 Allow only ascii characters 2024-03-09 00:13:40 +05:30
Micah Lee
0681c751c7 Edit error message in ConnectionRefusedError error to be more generic 2024-03-08 09:40:43 -08:00
Saptak S
31a5d5141c Allows only specific unicode characters for username
Added a function to remove all characters apart from characters which
fall under the unicode categories of letters and numbers. Also added a
list of allowed special characters.
2024-03-08 21:00:19 +05:30
Micah Lee
25d0d2c9f8 Handle exceptions in chat mode's validate_username 2024-03-07 19:51:32 -08:00
Micah Lee
8c25ad8317 Forcefully disconnect the user from socketio on disconnect event 2024-03-07 19:07:22 -08:00
Micah Lee
4988734396 Merge branch 'ros-fixes' into release-2.5 2022-01-17 09:51:25 -08:00
Micah Lee
ba1fde54a9 Update copyright year to 2022 2022-01-16 16:15:49 -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
132bbb0db9 Refuses connection if another session is already active 2021-11-14 23:44:16 +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
whew
81fc11ef74 fix typo 2021-05-31 12:23:32 +00:00
whew
da1e6eb866 resolve conflict in chat_mode.py 2021-05-31 12:05:31 +00:00
whew
64b6abdf64 Update chat_mode.py 2021-05-13 08:11:29 +00:00
Micah Lee
024cc83943 Add --title, and make it display the title in chat mode 2021-04-12 17:55:16 -04:00
Aksh Gupta
6805f6acae chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
4f5f75cc25 Update copyright year to 2021 2021-02-22 13:35:14 -08:00
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
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