thelounge/src/models
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
..
chan.js Do not store unnecessary information in user objects 2017-06-01 21:54:46 +03:00
msg.js Support multiple previews per message 2017-07-08 04:34:12 -04:00
network.js Add slug with command to unhandled messages 2017-04-16 12:31:32 +03:00
user.js Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00