onionshare/share/templates
Saptak S 89b112ea95
Refactors logic for chat user list and scroll
- Refactors server side code to use instance variable instead of
background thread to generate a list of connected users
- Send this user list anytime any change is made to the list. It can
be: join, update username, disconnect
- In js, render the entire user list everytime it is received.
- Scroll to the bottom of the chat, everytime the current user
sends a message
- Else, if already at the bottom of the chat, scroll to the bottom
after appending incoming status or chat message. But if the user
is scrolled up in the chat window, then do not scroll to the bottom
- When refreshed or close tab is clicked, default browser warning is
shown.
- On receiving disconnect, the browser removes user from room.
- If refreshed, it is shown as if the user left and joined again.
2020-05-04 03:47:13 +05:30
..
401.html Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00
403.html Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00
404.html Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00
405.html Start making IndividualFileHistoryItem widgets appear in the history, and make non-GET requests return 405 Method Not Allowed 2019-09-03 21:46:32 -07:00
chat.html Refactors logic for chat user list and scroll 2020-05-04 03:47:13 +05:30
denied.html Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00
listing.html Add breadcrumbs for website mode 2019-09-15 16:44:24 -07:00
receive.html Strip NoScript XSS warning, because the Tor Browser bug it addressed has been fixed 2019-05-29 19:27:21 -07:00
send.html Add breadcrumbs to share mode 2019-09-15 16:46:28 -07:00
thankyou.html Make static folder URL have a high-entropy random path, to avoid filename collisions with files getting shared 2019-05-22 20:07:35 -07:00