Commit graph

23 commits

Author SHA1 Message Date
Saptak S
d5c25527ac
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
c0e7a4a0f4
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
2ef15395d4
Allow only ascii characters 2024-03-09 00:13:40 +05:30
Micah Lee
18bff0660c
Edit error message in ConnectionRefusedError error to be more generic 2024-03-08 09:40:43 -08:00
Saptak S
ad61786b0f
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
3ef52eb59b
Handle exceptions in chat mode's validate_username 2024-03-07 19:51:32 -08:00
Micah Lee
1b0979e6ed
Forcefully disconnect the user from socketio on disconnect event 2024-03-07 19:07:22 -08:00
Micah Lee
c8ea770223
Merge branch 'ros-fixes' into release-2.5 2022-01-17 09:51:25 -08:00
Micah Lee
ababc2de46
Update copyright year to 2022 2022-01-16 16:15:49 -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
b9d9f14916
Refuses connection if another session is already active 2021-11-14 23:44:16 +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
whew
3f4f5e22ec
fix typo 2021-05-31 12:23:32 +00:00
whew
56dd2d0b84
resolve conflict in chat_mode.py 2021-05-31 12:05:31 +00:00
whew
020e9a6a5a
Update chat_mode.py 2021-05-13 08:11:29 +00:00
Micah Lee
b5c68fa5ca
Add --title, and make it display the title in chat mode 2021-04-12 17:55:16 -04:00
Aksh Gupta
ea8d2cfdfe chore: refactor code quality issues 2021-03-10 22:59:47 +05:30
Micah Lee
2a7d9dbd51
Update copyright year to 2021 2021-02-22 13:35:14 -08:00
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
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
Renamed from onionshare/web/chat_mode.py (Browse further)