Commit Graph

3100 Commits

Author SHA1 Message Date
Jérémie Astori
27b6849678
Merge pull request #1799 from thelounge/xpaw/nick-postfix
Insert user-configurable string when autocompleting nicks
2017-12-17 20:22:30 -05:00
Pavel Djundik
b5ad495c6d Insert user-configurable string when autocompleting nicks
Fixes #1176
2017-12-17 21:15:47 +02:00
Pavel Djundik
7dd4603d3c
Merge pull request #1849 from thelounge/astorije/fix-special-chans
Fix UI issues with special channels
2017-12-17 19:37:18 +02:00
Pavel Djundik
41014cdf05
Merge pull request #1848 from thelounge/greenkeeper/moment-2.20.0
Update moment to the latest version 🚀
2017-12-17 19:35:27 +02:00
Jérémie Astori
af4f322bf9
Fix UI issues with special channels
As a reminder, "special" channels right now are banlists and channel lists.

- Remove that bottom margin that was causing things to hide behind the message input. This was probably relevant before the whole UI was flexbox-based and was not removed when switching.
- Do not align to bottom on special channels
- Hide unread and date markers on special channels
- Make sure table headers in special channels are not truncated, which was for example the case with "Users" being broken up ("User" and "s" on 2 different lines)
2017-12-17 01:14:11 -05:00
greenkeeper[bot]
5d08578a74 fix(package): update moment to version 2.20.0 2017-12-17 01:24:17 +00:00
Jérémie Astori
bf602db991
Merge pull request #1844 from thelounge/astorije/mousetrap-mod
Use cross-platform modifier shortcut for Mousetrap when possible
2017-12-16 16:26:44 -05:00
Jérémie Astori
cd606b8c28
Use cross-platform modifier shortcut for Mousetrap when possible
See https://craig.is/killing/mice#api.bind.combo
2017-12-16 16:14:12 -05:00
Jérémie Astori
ffe8f2899b
Merge pull request #1787 from thelounge/xpaw/messages-bottom
Align message container to the bottom
2017-12-15 22:27:04 -05:00
Jérémie Astori
80f6171bd2
2.7.0-pre.3 2017-12-15 21:32:23 -05:00
Jérémie Astori
721170283c
Add changelog entry for v2.7.0-pre.3 2017-12-15 21:28:34 -05:00
Jérémie Astori
0a333ad84d
Merge pull request #1829 from thelounge/astorije/better-icons
Use better icons for channel/query list and context menu actions
2017-12-15 19:27:19 -05:00
Jérémie Astori
861d6b6642
Use better icons for channel/query list and context menu actions 2017-12-15 19:09:15 -05:00
Pavel Djundik
d68c2caa26
Merge pull request #1841 from thelounge/greenkeeper/stylelint-8.4.0
Update stylelint to the latest version 🚀
2017-12-15 11:32:14 +02:00
greenkeeper[bot]
15acab80d4 chore(package): update stylelint to version 8.4.0 2017-12-15 08:44:55 +00:00
Jérémie Astori
ec9abe49b2
Merge pull request #1837 from thelounge/greenkeeper/copy-webpack-plugin-4.3.0
Update copy-webpack-plugin to the latest version 🚀
2017-12-15 01:59:41 -05:00
greenkeeper[bot]
4d2b550cf8 chore(package): update copy-webpack-plugin to version 4.3.0 2017-12-14 09:20:26 +00:00
Al McKinlay
b9f1b9fd4d
Merge pull request #1832 from MaxLeiter/media
Rename thumbnail/image option to more general `media`
2017-12-14 09:05:40 +00:00
Al McKinlay
8b52825d51
Merge pull request #1817 from MaxLeiter/videos
Support video file previews
2017-12-14 08:56:58 +00:00
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
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
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