Commit Graph

7655 Commits

Author SHA1 Message Date
Jérémie Astori
74521225ba
Merge pull request #1751 from thelounge/greenkeeper/stylelint-8.3.1
Update stylelint to the latest version 🚀
2017-11-27 13:32:01 -05:00
Jérémie Astori
b53f1719eb
Merge pull request #1749 from thelounge/astorije/avoid-escape-quotes
Avoid escaping quotes whenever possible
2017-11-27 12:57:55 -05:00
Jérémie Astori
e5862a9303
Merge pull request #1752 from thelounge/xpaw/simple-build-cmd
Avoid using npm-run-all for build
2017-11-27 12:57:21 -05:00
Jérémie Astori
39e99fcd29
Merge pull request #1753 from thelounge/xpaw/webp
Detect image/webp as an image
2017-11-27 12:55:27 -05:00
Pavel Djundik
5855099d5b Do not keep sign-in and loader references in memory 2017-11-27 19:39:16 +02:00
Pavel Djundik
4e2eed2023
Merge pull request #1709 from MaxLeiter/master
Link nicks mentioned in messages
2017-11-27 19:31:36 +02:00
Max Leiter
3d31fa4686 Link nicks mentioned in messages 2017-11-27 09:10:56 -08:00
Pavel Djundik
4e45820235
Detect image/webp as an image 2017-11-27 15:50:35 +02:00
Pavel Djundik
ba002cca64
Merge pull request #1708 from thelounge/astorije/thelounge
Switch CLI tool from `lounge` to `thelounge`, deprecate `lounge`
2017-11-27 13:58:46 +02:00
Pavel Djundik
6fc812d272
Merge pull request #1748 from MaxLeiter/highlights
Fix text highlighting when clicking on condensed message toggles
2017-11-27 11:48:03 +02:00
Pavel Djundik
0dbdd4732b
Avoid using npm-run-all for build 2017-11-27 11:45:58 +02:00
Pavel Djundik
52f8934d9b
Merge pull request #1750 from thelounge/astorije/parallelize-npm-test
Parallelize `npm test`
2017-11-27 11:44:51 +02:00
greenkeeper[bot]
2fcb89a779 chore(package): update stylelint to version 8.3.1 2017-11-27 08:59:26 +00:00
Jérémie Astori
b25884c5bd
Make stylelint report unncessary disables
From the man:

```
    --report-needless-disables, --rd

      Report stylelint-disable comments that are not blocking a lint warning.
      If you provide the argument "error", the process will exit with code 2
      if needless disables are found.
```
2017-11-26 17:57:14 -05:00
Jérémie Astori
2a8feaa454
Parallelize npm test
After this, tests run in ~7s locally vs. ~14s without. ¯\_(ツ)_/¯
One caveat is that coloring must be forced now. Hope this looks okay on Travis.
2017-11-26 17:54:58 -05:00
Jérémie Astori
287c3a8223
Avoid escaping quotes whenever possible
Our `.eslintrc.yml` configuration file already allows for avoiding escape (see [ESLint doc for `avoidEscape`](https://eslint.org/docs/rules/quotes#avoidescape)) so we might as well use it. We already use this in a few places I believe.
2017-11-26 17:34:28 -05:00
Jérémie Astori
823ed0153f
Merge pull request #1747 from thelounge/astorije/fix-parse
Fix duplicate text generated when sending channel and link together
2017-11-26 17:23:32 -05:00
Max Leiter
d9d4672d75 Fix text highlighting when clicking on condensed message toggles 2017-11-26 14:05:23 -08:00
Jérémie Astori
ddc7ace78d
Bring test from ircmessageparser
See https://github.com/Bonuspunkt/ircmessageparser/pull/12/files#diff-e6c9a6bca996bc454cc244d17bfeda5c for reference (same test, linted)
2017-11-26 17:02:57 -05:00
Bonuspunkt
0e52b133af Sending channel and link together generates duplicate text 2017-11-26 21:33:27 +02:00
Jérémie Astori
d9efaef369
Merge pull request #1746 from thelounge/xpaw/fix-preview-keep-to-bottom
Trigger keep to bottom for previews correctly
2017-11-26 12:35:08 -05:00
Jérémie Astori
7f16ad649d
Merge pull request #1745 from thelounge/greenkeeper/stylelint-8.3.0
Update stylelint to the latest version 🚀
2017-11-26 12:33:08 -05:00
Pavel Djundik
6862c2e6b0 Trigger keep to bottom for previews correctly 2017-11-26 15:49:31 +02:00
Pavel Djundik
e3515d2ea1 Update stylelint rules 2017-11-26 14:28:33 +02:00
greenkeeper[bot]
645b3c13b3 chore(package): update stylelint-config-standard to version 18.0.0 2017-11-26 14:06:27 +02:00
greenkeeper[bot]
c5a530fe31 chore(package): update stylelint to version 8.3.0 2017-11-26 10:54:28 +00:00
Pavel Djundik
5ffeb04343
Merge pull request #1739 from thelounge/xpaw/inactive-scroll
Do not keep scroll to bottom in inactive channels
2017-11-26 11:40:50 +02:00
Pavel Djundik
eaeb3375db
Merge pull request #1738 from thelounge/xpaw/extra-msg-trims
Trim channel messages in active channel and when switching channels
2017-11-26 11:40:31 +02:00
Jérémie Astori
9a3c9a7ab0
Merge pull request #1744 from thelounge/greenkeeper/eslint-4.12.0
Update eslint to the latest version 🚀
2017-11-26 00:21:54 -05:00
greenkeeper[bot]
f092c2393c chore(package): update eslint to version 4.12.0 2017-11-26 04:09:23 +00:00
Jérémie Astori
d99030aff5
Merge pull request #1743 from MaxLeiter/patch-3
Fix whois template parsing real name field
2017-11-25 16:13:51 -05:00
Max Leiter
9eb79d675c
Fix whois template parsing real name field
Links and etc will now render correctly
2017-11-25 12:23:03 -08:00
Jérémie Astori
553c24c909
Merge pull request #1742 from thelounge/xpaw/fetch-error-callback
Call callback on fetch error
2017-11-25 15:17:03 -05:00
Pavel Djundik
727021be68 Call callback on fetch error 2017-11-25 20:59:12 +02:00
Jérémie Astori
8585dbc6c4
Merge pull request #1736 from thelounge/greenkeeper/commander-2.12.0
Update commander to the latest version 🚀
2017-11-25 02:38:09 -05:00
Jérémie Astori
14f08ea271
Merge pull request #1737 from thelounge/greenkeeper/copy-webpack-plugin-4.2.2
Update copy-webpack-plugin to the latest version 🚀
2017-11-23 13:27:31 -05:00
Pavel Djundik
2f84b01427 Do not keep scroll to bottom in inactive channels 2017-11-23 19:33:19 +02:00
Pavel Djundik
15a52ccec3 Trim channel messages in active channel and when switching channels
Fixes #1461
2017-11-23 16:23:32 +02:00
greenkeeper[bot]
2fefe0e4f3 fix(package): update commander to version 2.12.1
Closes #1736
2017-11-23 10:24:28 +00:00
greenkeeper[bot]
5c6c34de83 chore(package): update copy-webpack-plugin to version 4.2.3
Closes #1737
2017-11-23 10:11:34 +00:00
Jérémie Astori
7fb92fee64
Merge pull request #1717 from thelounge/astorije/thelounge_home-env-var
Deprecate `LOUNGE_HOME` env var in favor of `THELOUNGE_HOME`, `.lounge_home` file in favor of `.thelounge_home`
2017-11-22 16:39:02 -05:00
Jérémie Astori
aca23257ed
Switch CLI tool from lounge to thelounge and deprecate lounge
This is in preparation of The Lounge v3 which will make `thelounge` uniform across the entire project. No more confusion!
2017-11-22 16:37:26 -05:00
Jérémie Astori
643a8222a6
Merge pull request #1731 from thelounge/xpaw/fix-1413
Handle hex colours when cleaning string
2017-11-22 16:29:08 -05:00
Pavel Djundik
c053011611 Make regex in cleanIrcMessage const 2017-11-22 16:06:32 +02:00
Pavel Djundik
28b084af69 Fix #1413 - Handle hex colours when cleaning string 2017-11-22 16:03:59 +02:00
Pavel Djundik
ca389c914f
Merge pull request #1491 from realies/master
Focus a channel by joining it, refactor user commands #1189
2017-11-22 15:42:32 +02:00
Jérémie Astori
a10f147c36
Merge pull request #1720 from thelounge/xpaw/fix-new-user-obj
Access new nick attribute in user object
2017-11-21 19:28:37 -05:00
keegan
f73132e226
Stop LDAP Auth from succeeding without password 2017-11-21 19:19:24 -05:00
Pavel Djundik
3f06acfa6e
Merge pull request #1681 from creesch/whois
Include all available whois info
2017-11-21 21:26:10 +02:00
Pavel Djundik
c268d91b4e Access new nick attribute in user object
This was broken in #1698
2017-11-21 13:54:12 +02:00