Pavel Djundik
b501d648e3
Ignore events on the server if incorrect data is supplied
2018-02-21 13:17:56 +02:00
Jérémie Astori
f6c76ff9bd
Merge pull request #2087 from thelounge/astorije/npmignore-webpack-test
...
Do not publish Webpack config for test env
2018-02-21 02:50:29 -05:00
Jérémie Astori
25c6cb4f6f
Merge pull request #2086 from thelounge/astorije/node-readme
...
Update Node version required in README
2018-02-21 02:50:11 -05:00
Jérémie Astori
599568a428
Merge pull request #2085 from thelounge/astorije/readme-nitpick
...
Fix badge links in README going over the images
2018-02-21 02:47:34 -05:00
Jérémie Astori
75dda78b9c
Do not publish Webpack config for test env
2018-02-21 01:19:16 -05:00
Jérémie Astori
4fe946d791
Update Node version required in README
2018-02-21 00:57:05 -05:00
Jérémie Astori
8cfc7aae09
3.0.0-pre.1
2018-02-21 00:12:51 -05:00
Jérémie Astori
32d98c327d
Add changelog entry for v3.0.0-pre.1
2018-02-21 00:12:03 -05:00
Jérémie Astori
8d8ab049cd
Fix badge links in README going over the images
2018-02-20 23:56:02 -05:00
Jérémie Astori
0602a9495a
Merge pull request #2036 from thelounge/xpaw/prefetch-errors
...
Report server errors when preview fetch fails
2018-02-20 22:21:39 -05:00
Jérémie Astori
ddfd942e66
Merge pull request #2084 from thelounge/greenkeeper/eslint-4.18.1
...
Update eslint to the latest version 🚀
2018-02-20 19:50:27 -05:00
greenkeeperio-bot
70a5fb99d4
chore(package): update lockfile
...
https://npm.im/greenkeeper-lockfile
2018-02-20 23:26:23 +00:00
greenkeeper[bot]
901b0eff7d
chore(package): update eslint to version 4.18.1
2018-02-20 23:24:04 +00:00
Pavel Djundik
f9ca608ad5
Merge pull request #1726 from thelounge/astorije/mocha-webpack
...
Instrument client code before running tests
2018-02-20 15:38:56 +02:00
Jérémie Astori
9c4ea85041
Instrument client code before running tests
...
Despite being a bit gross to look at, this brings a few advantages:
- Tests are now closer to what actually runs, so more likely to find broken stuff.
- We can start using things that were so far Webpack-only or browser-only, like ES6 imports, loading Handlebars templates, etc.
- We open ourselves to browser testing (there is some work to do, but that would be a necessary step).
- We improve the client/server separation, by making it possible to run them independently
I do some extra steps around coverage: now we have 2 reports (client + server), so I have an extra step to combine them (the `nyc report` part). This is strictly to keep feature parity (the coverage report of this code is effectively the same as before), but in the near future, we might want to keep both reports separate, for example to continue separating client/server. Another reason would be to use something like Codecov, which I believe has the ability to have multiple reports. This is down the road though, our coverage is not good enough to make hosting them somewhere be useful (I think).
A few extras with this commit:
- Coverage summary is displayed when tests are run (this is not slowing down tests)
- Tests check for leaks (see https://mochajs.org/#--check-leaks )
- Tests now output with the `dot` reporter. This is nice as `npm test` runs in parallel, the whole output holds in a few lines instead of spanning over multiple screens.
2018-02-20 15:32:30 +02:00
Pavel Djundik
f8e53d5f72
Merge pull request #1987 from thelounge/yarn
...
Switch from npm to yarn
2018-02-20 12:27:01 +02:00
Pavel Djundik
37c61e2413
Report server errors when preview fetch fails
2018-02-20 11:33:42 +02:00
Pavel Djundik
2bcb9bcca1
Update readme to suggest using yarn
2018-02-20 11:28:14 +02:00
Pavel Djundik
913e88185e
Change (un)install commands to use locally installed yarn
2018-02-20 11:28:14 +02:00
Pavel Djundik
f646fbbd4f
Add yarn.lock, update CI services to run yarn
2018-02-20 11:28:14 +02:00
Pavel Djundik
1ce2792fc4
Merge pull request #1920 from thelounge/xpaw/more-eslint
...
Enforce padding-line-between-statements
2018-02-20 09:41:40 +02:00
Jérémie Astori
feb5071786
Merge pull request #2080 from thelounge/astorije/travis-dist-tag
...
Deal with npm's `dist-tag` at Travis deploy time
2018-02-20 02:36:30 -05:00
Jérémie Astori
477e2f9cd1
Merge pull request #2079 from thelounge/xpaw/fix-master-v2
...
Add titles to all windows
2018-02-20 02:36:09 -05:00
Pavel Djundik
c733e72e7a
Auto-fix code for padding-line-between-statements rule
2018-02-20 09:28:04 +02:00
Pavel Djundik
1453e262d1
Enforce padding-line-between-statements in eslint
2018-02-20 09:27:32 +02:00
Pavel Djundik
a2195c15e4
Add titles to all windows
2018-02-20 09:19:20 +02:00
Jérémie Astori
4e63ef9764
After deploying a stable release, clean up the next
tag
2018-02-20 00:59:47 -05:00
Jérémie Astori
288e8148fd
Tag npm releases with latest or next depending on stable/pre-release
2018-02-20 00:58:43 -05:00
Jérémie Astori
7975f4debc
Merge pull request #1928 from thelounge/xpaw/ctcp-resp
...
Rewrite ctcp handling
2018-02-20 00:12:30 -05:00
Pavel Djundik
7330dc9553
Rewrite ctcp handling
2018-02-19 14:43:58 -05:00
Jérémie Astori
95abf830cd
Merge pull request #2078 from thelounge/xpaw/fix-master-after-no-var
...
Fix active class not being removed when switching channels
2018-02-19 14:27:29 -05:00
Pavel Djundik
7724762c14
Fix active class not being removed when switching channels
2018-02-19 21:05:05 +02:00
Pavel Djundik
6c7ddd0f47
Merge pull request #1734 from thelounge/astorije/thelounge_home
...
Switch default home location to `~/.thelounge`
2018-02-19 20:54:57 +02:00
Jérémie Astori
a94d3f1b6d
Merge pull request #2003 from thelounge/astorije/logo-readme
...
Add logo to README, and make intro it look a little nicer
2018-02-19 13:46:08 -05:00
Pavel Djundik
51684f7a2a
Switch default home location to ~/.thelounge
and remove support of .lounge_home
2018-02-19 20:43:53 +02:00
Jérémie Astori
c7ad6d9d3d
Merge pull request #2077 from thelounge/astorije/rm-lounge-cli
...
Remove support for the `lounge` CLI (which was replaced with `thelounge`)
2018-02-19 13:27:47 -05:00
Jérémie Astori
ca8df65dfd
Link npm version to the package page on Yarn
2018-02-19 13:21:06 -05:00
Jérémie Astori
bdb6064c76
Add logo to README, and make intro it look a little nicer
2018-02-19 13:21:06 -05:00
Jérémie Astori
69a4207ea4
Remove support for the lounge
CLI (which was replaced with thelounge
)
2018-02-19 13:14:14 -05:00
Pavel Djundik
c97352905d
Merge pull request #1962 from thelounge/xpaw/no-var
...
Enable no-var rule
2018-02-19 20:12:31 +02:00
Pavel Djundik
9ecb776760
Merge pull request #2031 from thelounge/astorije/irc-monospace
...
Improve monospace formatting in messages
2018-02-19 20:09:04 +02:00
Pavel Djundik
8886459be9
Merge pull request #2049 from thelounge/xpaw/ui-network-status
...
Sync network status and security to client UI
2018-02-19 19:57:36 +02:00
Jérémie Astori
53fe991407
Merge pull request #1980 from thelounge/astorije/website
...
Replace reference to website with new URL
2018-02-19 12:56:08 -05:00
Jérémie Astori
26fa60f475
Merge pull request #1730 from thelounge/astorije/rm-css-theme-deprecation
...
Remove deprecated support for CSS filenames in theme configuration
2018-02-19 12:55:38 -05:00
Pavel Djundik
a3e448acf5
Enable no-var rule
...
Fixes #1961
2018-02-19 19:49:39 +02:00
Pavel Djundik
0d068f34a8
Merge pull request #1966 from thelounge/xpaw/no-session-convert
...
Remove session token hash conversion
2018-02-19 19:33:42 +02:00
Jérémie Astori
8403d277b4
Replace reference to website with new URL
2018-02-19 12:23:41 -05:00
Jérémie Astori
ab982ecc3c
Remove deprecated support for CSS filenames in theme configuration
2018-02-19 19:17:45 +02:00
Pavel Djundik
2685f46669
Merge pull request #1834 from thelounge/astorije/rm-deprecated-options
...
Remove deprecated options for `thelounge start`
2018-02-19 19:10:14 +02:00
Pavel Djundik
3ccdee6f00
Merge pull request #1927 from thelounge/astorije/fix-ctcp
...
Fix CTCP commands always sent upper-case
2018-02-19 19:06:08 +02:00