thelounge/client/js/socket-events
Jérémie Astori 64ebe0f437
Support multiple previews per message
- Load up to 5 previews per message (to avoid abuse)
- Do not load multiple times the same URL
- Prepare preview containers per message instead of appending (to maintain correct order)
- Store an array of previews instead of a single preview in `Msg` objects
- Consolidate preview rendering for new messages and upon refresh/load history (when rendering entire channels)
- Update `parse` tests to reflect previous point
- Add test for multiple URLs
- Switch preview tests from `assert` API to `expect` API
2017-07-08 04:34:12 -04:00
..
auth.js Add modules for socket events 2017-06-20 07:22:58 +01:00
change_password.js Add modules for socket events 2017-06-20 07:22:58 +01:00
index.js Refactor link previews 2017-07-03 00:41:18 +03:00
init.js Add modules for socket events 2017-06-20 07:22:58 +01:00
join.js Add modules for socket events 2017-06-20 07:22:58 +01:00
more.js Add modules for socket events 2017-06-20 07:22:58 +01:00
msg.js Refactor link previews 2017-07-03 00:41:18 +03:00
msg_preview.js Support multiple previews per message 2017-07-08 04:34:12 -04:00
names.js Add modules for socket events 2017-06-20 07:22:58 +01:00
network.js Add modules for socket events 2017-06-20 07:22:58 +01:00
nick.js Add modules for socket events 2017-06-20 07:22:58 +01:00
open.js Add modules for socket events 2017-06-20 07:22:58 +01:00
part.js Add modules for socket events 2017-06-20 07:22:58 +01:00
quit.js Add modules for socket events 2017-06-20 07:22:58 +01:00
sync_sort.js Add modules for socket events 2017-06-20 07:22:58 +01:00
topic.js Add modules for socket events 2017-06-20 07:22:58 +01:00
users.js Add modules for socket events 2017-06-20 07:22:58 +01:00