Commit graph

3251 commits

Author SHA1 Message Date
Jérémie Astori 206ded55ff
Warn if user configuration being loaded is empty 2017-12-10 01:03:00 -05:00
Jérémie Astori c2243ed7b4
Remove dead code in tests, and fix a link test
I used `npm run coverage` while *not* excluding the test folder to detect dead code in our test folder, it is actually pretty useful to do so (as a one-shot, not to do that in our config).
Only remaining unreached path is L40 in `test/plugins/auth/ldap.js`, but it does seem to me that it might be useful in case of failures, so I preferred to leave it there.
2017-12-09 18:56:05 -05:00
Jérémie Astori a8fb892873
Merge pull request #1816 from MaxLeiter/fix-network-context
Proper network icon in context menu
2017-12-09 18:17:38 -05:00
Pavel Djundik de98c2b13a
Merge pull request #1802 from MaxLeiter/chanlist
Add 'Channel list' to network context menu
2017-12-10 01:09:35 +02:00
Max Leiter 6311176f00 Proper network icon in context menu 2017-12-09 15:03:15 -08:00
Max Leiter fb5eb0664a Add 'Channel list' to network context menu 2017-12-09 14:34:33 -08:00
Jérémie Astori c21aee3d4a
Do not load user commands or display them on --help if public mode or using LDAP 2017-12-09 01:51:08 -05:00
Jérémie Astori c038935b96
Move user commands to their own subfolder 2017-12-09 01:38:52 -05:00
Jérémie Astori 844ca1fbe6
Merge pull request #1811 from thelounge/astorije/improve-helper
Clean up path helpers, expand defaults location in `thelounge --help`, add tests for `expandHome`
2017-12-08 21:53:14 -05:00
Jérémie Astori 22237658cb
Add some unit tests for Helper.expandHome 2017-12-08 19:50:32 -05:00
Jérémie Astori f32cd57bcb
Merge pull request #1814 from thelounge/xpaw/clean-extra
Clean monospace and strikethrough formatters
2017-12-08 19:05:04 -05:00
Jérémie Astori ebc2d7ecc5
Merge pull request #1815 from thelounge/greenkeeper/eslint-4.13.0
Update eslint to the latest version 🚀
2017-12-08 19:04:24 -05:00
greenkeeper[bot] c562c4fd58 chore(package): update eslint to version 4.13.0 2017-12-08 22:29:41 +00:00
Pavel Djundik b391b87e29 Clean monospace and strikethrough formatters 2017-12-08 21:09:23 +02:00
Jérémie Astori 52d5cb2311
Expand home shorthand in CLI help around THELOUNGE_HOME environment variable 2017-12-07 23:03:40 -05:00
Jérémie Astori 0482747781
Only use helpers and not shared variables around path helpers
This refactor has a few benefits, for example there cannot be a rogue update of `Helper.CONFIG_PATH` or something.
2017-12-07 23:02:32 -05:00
Jérémie Astori 7bbd3d61d5
Merge pull request #1810 from thelounge/xpaw/tweak-csp
Harden content security policy even further
2017-12-07 19:35:01 -05:00
Pavel Djundik fb0f68f8a5 Harden content security policy even further 2017-12-07 20:45:45 +02:00
Logan Griswold fb94ad4205 implement reverse formatting with tests
implement reverse formatting with tests
2017-12-07 18:27:59 +00:00
Pavel Djundik f9be519c2f
Merge pull request #1593 from RJacksonm1/reload-passwords-all-proper-like
Ensure passwords are reloaded when updated via CLI
2017-12-07 13:18:16 +02:00
Jérémie Astori b662764caa
Merge pull request #1800 from thelounge/xpaw/textcomplete
Update textcomplete library and rewrite tabcomplete
2017-12-06 18:29:49 -05:00
Pavel Djundik 65423eb8fd
Merge pull request #1380 from thelounge/xpaw/inline-notices
Show notices and errors inline
2017-12-06 18:06:40 +02:00
Pavel Djundik 5e48e04623 Show notices and errors inline 2017-12-06 17:58:52 +02:00
Jérémie Astori 3df1e9d731
Merge pull request #1804 from thelounge/xpaw/no-use-before-define
Enable no-use-before-define rule
2017-12-06 09:08:38 -05:00
Jérémie Astori 6ec1a2ee14
Merge pull request #1803 from thelounge/xpaw/merge-condensed
Merge condensed messages when loading more history
2017-12-06 09:07:33 -05:00
Pavel Djundik 20af04bca0 Enable no-use-before-define rule 2017-12-06 15:57:04 +02:00
Pavel Djundik e462ed6270 Rewrite tabcomplete 2017-12-06 15:47:30 +02:00
Pavel Djundik 1bdbb75d4c Merge condensed messages when loading more history 2017-12-06 14:07:43 +02:00
Pavel Djundik df703dc73a Upgrade to new textcomplete library 2017-12-06 12:06:57 +02:00
Rob Jackson 15f7f2e371
Ensure passwords are reloaded when updated via CLI (fixes #598) 2017-12-05 18:52:08 -05:00
Jérémie Astori db53f13865
Merge pull request #1794 from thelounge/xpaw/handle-js-errors
Handle javascript errors while loading
2017-12-05 18:33:11 -05:00
Jérémie Astori ee6ff6a5e5
Merge pull request #1798 from thelounge/greenkeeper/fs-extra-4.0.3
Update fs-extra to the latest version 🚀
2017-12-05 18:31:17 -05:00
greenkeeper[bot] 481b6fd336 fix(package): update fs-extra to version 4.0.3 2017-12-05 15:03:53 +00:00
Pavel Djundik 2afd4d7ec4 Hide error under details 2017-12-05 15:17:31 +02:00
Pavel Djundik 2d0ddfb2e8
Merge pull request #1778 from thelounge/xpaw/lazy-init
Heavily improve performance of "init" event
2017-12-05 12:03:01 +02:00
Pavel Djundik c5bda23548
Merge pull request #1578 from thelounge/ircv3/chghost
Handle `CHGHOST` cap
2017-12-05 11:18:58 +02:00
Pavel Djundik b5d39b96b9
Handle CHGHOST cap 2017-12-04 23:33:48 -05:00
Jérémie Astori b80710ed82
Merge pull request #1788 from PolarizedIons/PolarizedIons/actualip
Add actualip to the actualhost line in the whois output
2017-12-04 23:30:04 -05:00
Jérémie Astori 4b3f22701e
Merge pull request #1782 from thelounge/greenkeeper/irc-framework-2.10.0
Update irc-framework to the latest version 🚀
2017-12-04 23:29:01 -05:00
Jérémie Astori 915f1da190
Merge pull request #1796 from thelounge/greenkeeper/webpack-3.10.0
Update webpack to the latest version 🚀
2017-12-04 23:27:46 -05:00
greenkeeper[bot] 04f4bb1269 fix(package): update irc-framework to version 2.10.2 2017-12-04 20:53:20 +02:00
greenkeeper[bot] 3e1c96552d chore(package): update webpack to version 3.10.0 2017-12-04 18:21:21 +00:00
Jérémie Astori 683bc4ef60
Merge pull request #1792 from grissly-man/master
Implement strikethrough and monospace formatting
2017-12-03 15:15:19 -05:00
Logan Griswold f07c1bef69
#1755 - implement monospace formatting with keybinding, tests, and help section 2017-12-03 15:10:46 -05:00
Logan Griswold 0643d3b4a3
#1754 - implement strikethrough formatting, client keybinding, tests, and help section 2017-12-03 15:10:34 -05:00
Pavel Djundik e3823803aa Handle javascript errors while loading 2017-12-03 17:16:56 +02:00
Pavel Djundik 5fc70397a9 Make sure all joins send filtered clone 2017-12-03 16:31:37 +02:00
Pavel Djundik fe1c7612f5 Add tests for getFilteredClone methods 2017-12-03 16:31:37 +02:00
Pavel Djundik 552f3da67e Implement manual network/channel cloning for better performance 2017-12-03 16:31:37 +02:00
Pavel Djundik 41e121d270 Only emit a single message per channel on init 2017-12-03 16:13:18 +02:00