Commit Graph

2454 Commits

Author SHA1 Message Date
Alistair McKinlay
91ae814ead Merge pull request #858 from thelounge/xpaw/tweak-webpack
Do not uglify builds when running start-dev
2017-01-23 10:42:37 +00:00
Daniel Stancu
36893c6d7c Do not prefetch URLs unless they are messages or /me actions
ACTION & MESSAGE type messages should be prefetched by default
2017-01-23 01:42:54 -05:00
Jérémie Astori
bc8b699437 Add a basic check for bundled application when starting the server
Note that this will not detect if the client application was built with an old version of the repo.
2017-01-23 01:15:50 -05:00
Jérémie Astori
c7e80006b9 Add an extra Travis CI job to make sure production build succeeds and passes tests 2017-01-23 01:15:50 -05:00
Jérémie Astori
552fa3fae8 Make and document npm run build now a mandatory step of the install/build setup
This has several reasons, benefits and consequences:

- When running on root (which is not recommended anyway), `npm run build` was already necessary.
- This allows to not use the `prepublish` hook, whose behavior is going to change in npm v5 and again in npm v6.
- This allows to create both production and development builds when running from source.
- It makes `npm run build` compatible with Windows again for development environments (lost in previous commit).
- It uses the `prepublishOnly` hook added in npm v4. Since this hook is not available prior to that, deployment to npm from Travis has to be done on the Node.js v7 environment.
2017-01-23 01:15:50 -05:00
Alistair McKinlay
b67836ffe0 Merge pull request #883 from thelounge/greenkeeper/babel-core-6.22.1
Update babel-core to the latest version
2017-01-21 19:33:20 +00:00
greenkeeper[bot]
7d69648e11 chore(package): update babel-core to version 6.22.1
https://greenkeeper.io/
2017-01-20 03:15:42 +00:00
greenkeeper[bot]
05b11e7a3d chore(package): update nyc to version 10.1.0
https://greenkeeper.io/
2017-01-18 01:58:14 +00:00
Jérémie Astori
cca908f87f Merge pull request #875 from thelounge/greenkeeper/eslint-3.13.1
Update eslint to the latest version 🚀
2017-01-14 01:57:56 -05:00
Jérémie Astori
d8f1690904 Use Webpack configuration based on NODE_ENV instead of watch/no-watch
Also, move the `DedupePlugin` to the prod-specific section. [Webpack doc](https://webpack.github.io/docs/list-of-plugins.html#dedupeplugin) itself recommends to not run this outside of production.

Note that this currently breaks cross-OS support of `npm run build`. This will be fixed in a latter commit.
2017-01-10 13:07:27 -05:00
Pavel Djundik
a8dd136168 Do not uglify builds when running start-dev 2017-01-10 13:07:27 -05:00
greenkeeper[bot]
ba0b89d2bb chore(package): update eslint to version 3.13.1
https://greenkeeper.io/
2017-01-09 22:25:17 +00:00
Alistair McKinlay
0d8b58425e Merge pull request #855 from MaxLeiter/MaxLeiter/search
Fix searching for user in user list, closes #851
2017-01-04 11:15:14 +00:00
Alistair McKinlay
c8848ea7b1 Merge pull request #868 from thelounge/astorije/bold-log
Make log style when referring user consistent with other places
2017-01-04 11:13:30 +00:00
Jérémie Astori
3e82994ae2 Make log style when referring user consistent with other places 2017-01-04 02:17:15 -05:00
Jérémie Astori
df4b14d546 Merge pull request #783 from thelounge/xpaw/irc-raw-log
Option to log raw IRC traffic
2017-01-04 01:56:19 -05:00
Jérémie Astori
a5cb6abf72 Merge pull request #829 from thelounge/xpaw/incrase-contrast
Increase IRC colors contrast
2017-01-04 01:49:27 -05:00
Jérémie Astori
280d145502 Merge pull request #836 from thelounge/xpaw/slideout-width
Calculate menu width on touch start
2017-01-04 01:48:38 -05:00
Jérémie Astori
7108a412f1 Merge pull request #860 from thelounge/greenkeeper/npm-run-all-4.0.0
Update npm-run-all to the latest version 🚀
2017-01-03 19:12:16 -05:00
Jérémie Astori
d97b3ad414 Merge pull request #861 from thelounge/greenkeeper/stylelint-7.7.1
Update stylelint to the latest version 🚀
2017-01-03 19:12:08 -05:00
Jérémie Astori
e0e607f543 Merge pull request #862 from thelounge/greenkeeper/lodash-4.17.4
Update lodash to the latest version 🚀
2017-01-03 19:11:55 -05:00
Jérémie Astori
259a7d8973 Merge pull request #854 from thelounge/fix-jquery3
Fix stuff that breaks in jQuery 3
2017-01-02 17:59:50 -05:00
greenkeeper[bot]
4c4d9610f3 fix(package): update lodash to version 4.17.4
https://greenkeeper.io/
2016-12-31 22:37:27 +00:00
greenkeeper[bot]
3f4797f4a9 chore(package): update stylelint to version 7.7.1
https://greenkeeper.io/
2016-12-31 16:11:53 +00:00
greenkeeper[bot]
45bb0a7cf2 chore(package): update npm-run-all to version 4.0.0
https://greenkeeper.io/
2016-12-31 15:43:01 +00:00
Max Leiter
ba00738f1f Fix searching for user in user list, closes #851 2016-12-29 18:03:05 -10:00
Pavel Djundik
c75771f13d Fix stuff that breaks in jQuery 3 2016-12-29 23:43:10 +02:00
Jérémie Astori
d9cde04af6 Merge pull request #852 from thelounge/greenkeeper/irc-framework-2.5.3
Update irc-framework to the latest version 🚀
2016-12-29 16:14:26 -05:00
greenkeeper[bot]
8d0b75c674 fix(package): update irc-framework to version 2.5.3
https://greenkeeper.io/
2016-12-29 20:02:42 +00:00
Pavel Djundik
ac99828298 Merge pull request #838 from thelounge/xpaw/web-server-tests
Add web server tests
2016-12-29 13:31:32 +02:00
Pavel Djundik
3240faddc9 Merge pull request #850 from thelounge/astorije/fix-coverage
Switch istanbul CLI to more recent nyc one
2016-12-29 12:21:36 +02:00
Jérémie Astori
056aba8a9e Switch istanbul CLI to more recent nyc one
`nyc` is made by the Istanbul people and is meant to integrate nicely with Babel.
Note that at the moment this is just a drop-in replacement of what we currently have in order to fix broken `npm run coverage`, therefore it does not support our recent ES6 stuff.
2016-12-29 02:51:26 -05:00
Pavel Djundik
f65a5a8c89 Add web server tests 2016-12-28 03:31:33 -05:00
Jérémie Astori
e45edff613 Merge pull request #817 from thelounge/pr/640
Webpack
2016-12-28 03:27:52 -05:00
Pavel Djundik
8fd1d161ea Remove vendor client code 2016-12-27 19:15:31 +02:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00
Jérémie Astori
6466680a8e Merge pull request #840 from thelounge/greenkeeper/lodash-4.17.3
Update lodash to the latest version 🚀
2016-12-24 15:13:34 -05:00
greenkeeper[bot]
51aea5ff14 fix(package): update lodash to version 4.17.3
https://greenkeeper.io/
2016-12-24 14:28:57 +00:00
Jérémie Astori
c0fa58a8b0 Merge pull request #721 from thelounge/astorije/whois-idle
Add human-readable idle time in whois info
2016-12-23 03:42:46 -05:00
Jérémie Astori
da2e286ff8 Use double-nick in whois on query to get idle time
This queries server of the other user and not current user, which does
not know idle time.
See http://superuser.com/a/272069/208074.

Override is done before command is being sent to the server: if a
single argument is given to `/whois`, it is being repeated, otherwise
the command is sent as is.
2016-12-23 01:59:08 -05:00
Jérémie Astori
7ae11babcb Add human-readable idle time in whois info 2016-12-22 00:21:16 -05:00
Jérémie Astori
0489d0f2ae Merge pull request #832 from thelounge/astorije/context-aware-placeholder
Remind channel name or nick in input placeholder
2016-12-21 18:16:06 -05:00
Jérémie Astori
391f3cb59b Merge pull request #834 from thelounge/xpaw/active-window
Do not ignore window opens when considering active channels
2016-12-21 18:15:14 -05:00
Jérémie Astori
783c8d41a3 Merge pull request #822 from thelounge/xpaw/hexip-username
Hide username field when hexip is enabled
2016-12-21 18:12:53 -05:00
Pavel Djundik
3017e67f3a Calculate menu width on touch start
Fixes #831
2016-12-21 19:58:36 +02:00
Jérémie Astori
1d4fe979b1 Merge pull request #826 from thelounge/greenkeeper/update-all
Update dependencies to enable Greenkeeper 🌴
2016-12-21 09:24:12 -05:00
Pavel Djundik
4dd79af9bb Option to log raw IRC traffic 2016-12-21 13:22:18 +02:00
Pavel Djundik
555902bfba Do not ignore window opens when considering active channels 2016-12-21 12:38:50 +02:00
Jérémie Astori
3e6a3651e9 Merge pull request #830 from thelounge/xpaw/date-marker-margin
Remove margin on date marker on smallest screen size
2016-12-20 20:49:10 -05:00
Jérémie Astori
4501c9f4f1 Fix missing placeholder prefixes and make styles consistent for Morning and Zenburn 2016-12-20 20:42:08 -05:00