aboutsummaryrefslogtreecommitdiff
path: root/cli/onionshare_cli/resources/static/js/chat.js
AgeCommit message (Collapse)Author
2022-01-16Merge branch 'develop' of github.com:onionshare/onionshare into ros-fixesMicah Lee
2021-11-30Checks if username is ASCII string else throw an errorSaptak S
2021-11-19Removes invisible whitespace characters from username in chatSaptak S
2021-11-15Fixes typoSaptak S
2021-11-14Adds username validation for socketio event handler as wellSaptak S
2021-11-14Renames message event to chat_messageSaptak S
2021-11-14Removed room from chatSaptak S
- 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-10-14Fix whitespace issuesa1346054
* make sure files contain a final newline * use consistent indentation * trim excess whitespace * trim trailing whitespace
2021-10-14Fix spellinga1346054
2021-05-17Use label tag for chat username label, and rename javascript function to ↵Miguel Jacq
checkUsernameTooLong to better reflect its purpose
2021-05-14Prevent usernames in Chat mode of length 128 chars or moreMiguel Jacq
2020-11-10Makes username input blur on pressing enterSaptak S
2020-11-10Improves the logic of updating both flask session and socket session with ↵Saptak S
new nickname
2020-11-10Forces socket io to use websocket instead of pollingSaptak S
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-10-12Add onionshare CLI to cli folder, move GUI to desktop folder, and start ↵Micah Lee
refactoring it to work with briefcase