thelounge/src
Jérémie Astori b90c224a99
Define a raw logger to avoid using console.log, use it in extra help for environment variables, and add a test for this
This has multiple benefits:

- Respects the "Do not mock what you do not own" principle, instead we mock `log.raw` when necessary
- Lets us not re-assign `console.log`, which breaks as Mocha uses `console.log` as well
- Save and restore initial `log.raw` in test hooks (before/after), otherwise this would break Mocha/Chai
2017-12-11 23:48:51 -05:00
..
command-line Define a raw logger to avoid using console.log, use it in extra help for environment variables, and add a test for this 2017-12-11 23:48:51 -05:00
models Merge pull request #1778 from thelounge/xpaw/lazy-init 2017-12-05 12:03:01 +02:00
plugins Add whois and conversation as action to user contextmenu 2017-12-11 23:04:29 -05:00
client.js Merge pull request #1778 from thelounge/xpaw/lazy-init 2017-12-05 12:03:01 +02:00
clientManager.js Only use helpers and not shared variables around path helpers 2017-12-07 23:02:32 -05:00
helper.js Warn if user configuration being loaded is empty 2017-12-10 01:03:00 -05:00
identification.js Avoid escaping quotes whenever possible 2017-11-26 17:34:28 -05:00
log.js Define a raw logger to avoid using console.log, use it in extra help for environment variables, and add a test for this 2017-12-11 23:48:51 -05:00
server.js Merge pull request #1811 from thelounge/astorije/improve-helper 2017-12-08 21:53:14 -05:00
userLog.js Write correct timestamp to user log 2017-09-14 10:42:21 +03:00