131 Commits (85e7af3d5f9e39b5f9c9de95a8de14579215269c)

Author SHA1 Message Date
Gabe Kangas e5735b8d6d Remove adding <br> tags to newlines 4 years ago
Gabe Kangas 3d09698355 Update test to reflect the newline -> br tag change 4 years ago
Gabe Kangas 3618a28240 Re-enable unsafe tags as they are needed for emoji 4 years ago
Gabe Kangas 8907566ed1 Fixing chat message formatting in #1315 4 years ago
Gabe Kangas 04bb97bffc Fix build error on FreeBSD. Closes #1243 4 years ago
Gabe Kangas 4ea416fdbe Update the user object name change time when changing name. Closes #1277 4 years ago
Gabe Kangas 6f57f570d2 Restore GeoIP support to now support chat users. Closes #1304 4 years ago
Gabe Kangas 6fb383d04b Only ignore messages 5min after disconnect. Part of fixing #1268 4 years ago
Gabe Kangas cf87f53da3 Do not send empty type when its not apropriate 4 years ago
Gabe Kangas 12cbe529de Fix incorrect handling of messages array. Closes #1287 4 years ago
Meisam 109d2669ab
better chat message sanitization (#1266) 4 years ago
Meisam 44f406caf0
reject user messages when offline (#1269) 4 years ago
Gabe Kangas fac06257ad Add in the optimization where multiple websocket events can exist within a single message 4 years ago
Gabe Kangas f20aa4478d Add a simple caching of chat history as an optimization 4 years ago
Gabe Kangas f85b54cfeb Pass along just the client id instead a reference to the entire client when unregistering the client 4 years ago
Meisam f07c9e2e00
consider <p></p> as an empty message (#1264) 4 years ago
Christian Muehlhaeuser 35a0c6fa14
Improve performance of retrieving chat history by avoiding double-sort and outer join (#1261) 4 years ago
Meisam e1c4b452e6
test emoji title and alt tag sanitization (#1244) 4 years ago
Meisam a8e93de134
Prevent remote image injection with /img/emoji/ in url (#1245) 4 years ago
Gabe Kangas 484098afda Some migration fixes and database optimizations 4 years ago
Meisam c4c1ecfc7b
Allow alt and title tags in chat emojis (#1241) 4 years ago
Gabe Kangas c3e8e78dad Centralize chan closure to be done in the client, not the server. Set chan size to max message size. 4 years ago
Gabe Kangas b6f68628c0
Chat refactor + persistent backing chat users (#1163) 4 years ago
Meisam 7361578412
style fix for error checking (#1170) 4 years ago
Gabe Kangas 3ad221665e Handle un-typed or un-parsable chat messages by throwing them away and not panicing. Closes #856 4 years ago
nebunez 80579c5e7e
implement custom welcome message (#820) 4 years ago
Gabe Kangas bf33d08384
Add support for disabling chat. Closes #472 (#799) 4 years ago
Gabe Kangas 6f545a905b
Support full html in system messages. Closes #747 (#814) 4 years ago
nebunez 7e0822b62d fix mismatched message ids when client first sends a message 4 years ago
Gabe Kangas de195f883e
Gek/disable remote images (#800) 4 years ago
Gabe Kangas 49bb899d51 Optimize/fix concurrency for chat 4 years ago
Gabe Kangas 4f833be80a Add ability to mark a message as ephemeral and set it with title changes 4 years ago
Gabe Kangas 0bfd9f8e1f Do not send user joined events to chat clients if stream is not active. Closes #750 4 years ago
Gabe Kangas 765dd7efe2 Fix chat history backlog query. Closes #748 4 years ago
Gabe Kangas bc2caadb74
0.0.6 -> Master (#731) 4 years ago
Fabian Siegel 4bfdf0e667
Fix codeblocks in chat (#676) 4 years ago
Gabe Kangas cf54be4b1d Stop logging rate limit messages 4 years ago
petersveter108 401995c52e
Websocket client errors as Warns, broken pipe errors as Trace (#656) 4 years ago
Gabe Kangas bda430f791 Cleanup some exported methods 4 years ago
Gabe Kangas 1dc25889ec Add inbound chat event rate limiting. Closes #484 4 years ago
Gabe Kangas bc4b6895be Fix error message 4 years ago
gingervitis 8a74af202d
Update chat message visibility for moderation (#524) 5 years ago
Gabe Kangas e558c549d7
Websocket fixes (#461) 5 years ago
Gabe Kangas 4d2066a76d
Start cleaning up linter errors. (#358) 5 years ago
Christian Muehlhaeuser 2e1f8d29b5
Fix godoc style comments (#356) 5 years ago
Christian Muehlhaeuser 8f921fbfde
Fix popular typos (#355) 5 years ago
Christian Muehlhaeuser cfb031a15c
Make sure we close DB statements to release resources (#354) 5 years ago
Gabe Kangas 4de2841659 Remove stale client purging. Use sockets to count clients. #323 5 years ago
Gabe Kangas 19e86b8c04
First pass at centralized database reference. Closes #282 (#289) 5 years ago
Gabe Kangas 7dcc89a841 Add system chat message support to messages query 5 years ago