Commit Graph

5937 Commits

Author SHA1 Message Date
Max Leiter
d4ad60c11d Support video file previews 2017-12-13 17:52:07 -08:00
Max Leiter
fdd8ef3e6a
Rename thumbnail/image option to more general 'media' 2017-12-13 20:03:12 -05:00
Jérémie Astori
b67e7ee3ef
Merge pull request #1835 from thelounge/greenkeeper/textcomplete-0.15.0
Update textcomplete to the latest version 🚀
2017-12-13 18:58:07 -05:00
Pavel Djundik
ccd37aba8f
Merge pull request #1725 from keegan/master
Stop LDAP Auth from succeeding without password
2017-12-13 20:20:10 +02:00
greenkeeper[bot]
d68a2fa872 chore(package): update textcomplete to version 0.15.0 2017-12-13 15:15:02 +00:00
Pavel Djundik
7dcab09516
Merge pull request #1806 from MaxLeiter/sound
Support audio file previews
2017-12-13 11:03:04 +02:00
Jérémie Astori
96d3e58734
Remove deprecated options for thelounge start
This was replaced with the `--config` option.
2017-12-13 01:33:25 -05:00
Jérémie Astori
234c4a8bac
Merge pull request #1831 from thelounge/xpaw/extended-colors
Add styling for 16-98 colors
2017-12-12 20:28:39 -05:00
Max Leiter
ad1114ccfe Support audio file previews 2017-12-12 11:29:13 -08:00
Pavel Djundik
ccd0a6559b Add styling for 16-98 colors 2017-12-12 20:14:05 +02:00
Pavel Djundik
e1ae339190 Add test for extended colors 2017-12-12 20:06:37 +02:00
Jérémie Astori
9a8cde189d
Remove autoload deprecation notice 2017-12-12 02:58:17 -05:00
Jérémie Astori
deaf803467
Remove deprecated support for debug as a boolean in the configuration file 2017-12-12 02:57:39 -05:00
Jérémie Astori
826482bb5b
Remove deprecated support for the --home option and $LOUNGE_HOME environment variable 2017-12-12 02:54:50 -05:00
Jérémie Astori
3e708f9c0b
Get rid of Object.assign polyfill
As far as I know, this is only required for IE at this point, and we have already made changes that removed support of any version of IE.
2017-12-12 02:42:59 -05:00
Jérémie Astori
d0f5d5025e
Merge pull request #1820 from thelounge/astorije/config-options
Deprecate existing options of `thelounge start` and add a generic `--config` override
2017-12-12 00:48:59 -05:00
Jérémie Astori
d89112173d
Fix command line index parsing options (--home and --config) twice 2017-12-11 23:53:51 -05:00
Jérémie Astori
6547d18e7f
Color all references to deprecations in bold red 2017-12-11 23:48:52 -05:00
Jérémie Astori
07a01b0547
Deprecate existing options of thelounge start in favor or -c, --config 2017-12-11 23:48:52 -05:00
Jérémie Astori
df2787d3e9
Add a --config / -c option to the start CLI command to arbitrarily override any configuration key
The biggest caveat is that JS code (such as functions) will not be interpreted as such, on purpose, for security precautions. If such thing is needed, then a configuration file must be used.
2017-12-11 23:48:52 -05:00
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
Jérémie Astori
6077a1ae67
Merge pull request #1828 from thelounge/greenkeeper/eslint-4.13.1
Update eslint to the latest version 🚀
2017-12-11 23:24:25 -05:00
Jérémie Astori
aa66f284e7
Merge pull request #1826 from thelounge/greenkeeper/fs-extra-5.0.0
Update fs-extra to the latest version 🚀
2017-12-11 23:23:55 -05:00
Jérémie Astori
aeb8f66f30
Merge pull request #1722 from creesch/contextMenu
Add actions to user context menu
2017-12-11 23:14:54 -05:00
Erik Vosseberg
33d865501d
Add whois and conversation as action to user contextmenu
Add Op specific actions to contextMenu

Show context menu when left clicking user

Switch to using data attributes as selectors

remove ban as possible action

Move `isOpInChannel()` to utils.js

Capitalize strings

use CSS.escape for `ownNick`

use string interpolation

properly point to findCurrentNetworkChan

Move context menu item actions to command pattern

add icons for context menu actions

Make list in context menu always list.

remove empty lines in style.css

use info circle instead of question circle

change context menu labels.

change contextMenuActions.execute to more explicit method.
2017-12-11 23:04:29 -05:00
greenkeeper[bot]
6fb09048f6 chore(package): update eslint to version 4.13.1 2017-12-11 23:51:07 +00:00
greenkeeper[bot]
e652ff6c7d fix(package): update fs-extra to version 5.0.0 2017-12-11 17:42:23 +00:00
Pavel Djundik
9b75b5727a
Merge pull request #1824 from thelounge/astorije/icons
Improve user and channel icons in channel list and context menu
2017-12-11 13:22:56 +02:00
Pavel Djundik
4be5ed693c
Merge pull request #1822 from thelounge/greenkeeper/moment-2.19.4
Update moment to the latest version 🚀
2017-12-11 11:24:59 +02:00
Jérémie Astori
ce2adb4b8d
Use hashtag icon for channel instead of the sad file icon :) 2017-12-11 01:20:28 -05:00
Jérémie Astori
9436ba9301
Make sure user icon matches in network list, window context menu, and nick context menu 2017-12-11 01:19:50 -05:00
greenkeeper[bot]
493a5407a2 fix(package): update moment to version 2.19.4 2017-12-11 01:21:14 +00:00
Jérémie Astori
c0869b05a3
Merge pull request #1807 from thelounge/astorije/users-commands
Do not load user commands or display them on `--help` if public mode or using LDAP
2017-12-10 14:24:55 -05:00
Pavel Djundik
4e6a29db35
Merge pull request #1797 from grissly-man/master
#1793 - implement reverse style
2017-12-10 16:15:40 +02:00
Pavel Djundik
40af84b653
Merge pull request #1818 from thelounge/astorije/improve-tests
Remove dead code in tests, and fix a link test
2017-12-10 11:55:59 +02:00
Pavel Djundik
ca22da28a7
Merge pull request #1821 from thelounge/astorije/empty-conf-warning
Warn if user configuration being loaded is empty
2017-12-10 11:55:14 +02:00
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