hardlounge/test
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
..
client/js/libs/handlebars Support multiple previews per message 2017-07-08 04:34:12 -04:00
commands Add mode command test suite 2016-10-15 14:23:39 +03:00
fixtures Add web server tests 2016-12-28 03:31:33 -05:00
models Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
plugins Support multiple previews per message 2017-07-08 04:34:12 -04:00
tests Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
mocha.opts Add a simple (first) test for localetime Handlebars helper 2016-10-20 01:49:34 +02:00
server.js Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
util.js Support multiple previews per message 2017-07-08 04:34:12 -04:00