Commit Graph

945 Commits

Author SHA1 Message Date
Renovate Bot
8fffa6b03f
Update dependency moment to v2.22.2 2018-06-01 07:56:47 +00:00
Renovate Bot
d0d71b309e
Update dependency @fortawesome/fontawesome-free to v5.1.0-11 2018-06-01 04:10:49 +00:00
Renovate Bot
7037a58ca9
Update dependency nyc to v12 2018-06-01 00:48:10 +00:00
Renovate Bot
ab29a7ba74
Update dependency webpack to v4.10.2 2018-05-30 08:39:32 +00:00
Renovate Bot
20d36a0502
Update dependency webpack to v4.10.1 2018-05-29 19:30:32 +00:00
Renovate Bot
df006845ae
Update dependency webpack to v4.10.0 2018-05-28 23:32:58 +00:00
Renovate Bot
d4b028556a
Update dependency webpack to v4.9.2 2018-05-28 21:11:42 +00:00
Pavel Djundik
07fcccbda5 Remove urijs and upgrade lockfile 2018-05-28 13:54:24 +03:00
Pavel Djundik
0de90daa64
Merge pull request #2366 from thelounge/xpaw/refactor-userlog
Refactor userLog to be the same as sqlite logger
2018-05-26 23:53:17 +03:00
Jérémie Astori
19cce592c8
Merge pull request #2397 from thelounge/xpaw/linkify-it
Switch to `linkify-it` for url detection in messages
2018-05-26 16:44:18 -04:00
Jérémie Astori
0277ac1a73
3.0.0-pre.6 2018-05-26 02:22:41 -04:00
Renovate Bot
979eb5c6ca
Update dependency webpack to v4.9.1 2018-05-25 21:35:48 +00:00
Renovate Bot
3c110a7d30
Update dependency web-push to v3.3.1 2018-05-24 13:16:13 +00:00
Pavel Djundik
d5e1211e28
Merge pull request #2465 from thelounge/renovate/yarn-1.x
Update dependency yarn to v1.7.0
2018-05-24 16:15:49 +03:00
Renovate Bot
aa7c7c16e5
Update dependency sinon to v5.0.10 2018-05-24 08:19:12 +00:00
Renovate Bot
d2e47c5d86
Update dependency yarn to v1.7.0 2018-05-24 02:42:10 +00:00
Renovate Bot
87553a4531
Update dependency webpack to v4.8.3 2018-05-23 18:12:40 +00:00
Renovate Bot
ce2c58848b
Update dependency webpack-cli to v2.1.4 2018-05-23 16:25:40 +00:00
Pavel Djundik
5cfec76d3a Refactor userLog to be the same as sqlite logger
Fixes #1392
2018-05-23 16:56:18 +03:00
Pavel Djundik
42344302de Bump required node version to 6.13.0 2018-05-23 16:31:02 +03:00
Pavel Djundik
58ec2768ec Use linkify-it 2018-05-23 16:31:02 +03:00
Renovate Bot
b07ea86034
Update dependency package-json to v5 2018-05-22 15:40:18 +00:00
Pavel Djundik
8982dd556c
Merge pull request #2455 from thelounge/renovate/sinon-5.x
Update dependency sinon to v5.0.7
2018-05-22 17:15:30 +03:00
Renovate Bot
ea9961f9f6
Update dependency stylelint to v9.2.1 2018-05-22 14:00:00 +00:00
Renovate Bot
636edf500c
Update dependency sinon to v5.0.7 2018-05-22 13:59:50 +00:00
Pavel Djundik
9267ae99cb
Merge pull request #2457 from thelounge/renovate/socket.io-client-2.x
Update dependency socket.io-client to v2.1.1
2018-05-22 16:59:07 +03:00
Renovate Bot
2f44cab13f
Update dependency socket.io-client to v2.1.1 2018-05-22 13:32:39 +00:00
Renovate Bot
d4f42255b3
Update dependency socket.io to v2.1.1 2018-05-22 12:33:49 +00:00
Pavel Djundik
173b831cf7
Merge pull request #2449 from thelounge/renovate/babel-preset-env-1.x
Update dependency babel-preset-env to v1.7.0
2018-05-22 15:28:43 +03:00
Pavel Djundik
62e4077e93
Merge pull request #2450 from thelounge/renovate/fs-extra-6.x
Update dependency fs-extra to v6.0.1
2018-05-22 15:28:37 +03:00
Pavel Djundik
9bc1860345
Merge pull request #2451 from thelounge/renovate/mocha-5.x
Update dependency mocha to v5.2.0
2018-05-22 15:28:28 +03:00
Pavel Djundik
f93c00cd1a
Merge pull request #2452 from thelounge/renovate/nyc-11.x
Update dependency nyc to v11.8.0
2018-05-22 15:28:07 +03:00
Pavel Djundik
22a32f19eb
Merge pull request #2453 from thelounge/renovate/primer-tooltips-1.x
Update dependency primer-tooltips to v1.5.4
2018-05-22 15:27:45 +03:00
Renovate Bot
8a5d6bb340
Update dependency request to v2.87.0 2018-05-22 11:29:18 +00:00
Renovate Bot
c3bd6f5e8e
Update dependency primer-tooltips to v1.5.4 2018-05-22 11:29:08 +00:00
Renovate Bot
f56c8fbbf1
Update dependency nyc to v11.8.0 2018-05-22 10:38:11 +00:00
Renovate Bot
0fa43eec4b
Update dependency mocha to v5.2.0 2018-05-22 10:37:57 +00:00
Renovate Bot
43b5cc190e
Update dependency fs-extra to v6.0.1 2018-05-22 09:32:23 +00:00
Renovate Bot
4a732c01e5
Update dependency babel-preset-env to v1.7.0 2018-05-22 09:32:10 +00:00
greenkeeper[bot]
17680b130e chore(package): update nyc to version 11.7.3 2018-05-10 00:50:20 +00:00
greenkeeper[bot]
8899446fe3 chore(package): update nyc to version 11.7.2 2018-05-09 00:43:25 +00:00
greenkeeper[bot]
1e454ae5ed chore(package): update sinon to version 5.0.5 2018-05-07 06:44:05 +00:00
Jérémie Astori
c169a9e1b8
Merge pull request #2425 from thelounge/greenkeeper/webpack-cli-2.1.3
Update webpack-cli to the latest version 🚀
2018-05-07 02:24:01 -04:00
greenkeeper[bot]
db83d96527 chore(package): update npm-run-all to version 4.1.3 2018-05-06 18:16:11 +00:00
greenkeeper[bot]
4c6cef76f5 chore(package): update webpack-cli to version 2.1.3 2018-05-06 15:22:46 +00:00
Pavel Djundik
4a9c3236aa
Merge pull request #2422 from thelounge/greenkeeper/ua-parser-js-0.7.18
Update ua-parser-js to the latest version 🚀
2018-05-05 14:35:36 +03:00
greenkeeper[bot]
d4d65b5377 chore(package): update graphql-request to version 1.6.0 2018-05-04 18:17:56 +00:00
greenkeeper[bot]
ea4b694ac3 fix(package): update ua-parser-js to version 0.7.18 2018-05-04 16:18:37 +00:00
Pavel Djundik
7fa67de9aa
Merge pull request #2421 from thelounge/greenkeeper/webpack-4.7.0
Update webpack to the latest version 🚀
2018-05-04 17:30:05 +03:00
greenkeeper[bot]
efa5b03cf8 chore(package): update webpack to version 4.7.0 2018-05-04 13:27:03 +00:00
Pavel Djundik
d4d516af1e Use new fontawesome package
Ref: b60cbbecb4/UPGRADING.md (50x-to-510)
2018-05-04 12:09:24 +03:00
greenkeeper[bot]
dbcf69206a chore(package): update webpack-dev-server to version 3.1.4 2018-05-02 21:52:37 +00:00
greenkeeper[bot]
cd34616339 chore(package): update sinon to version 5.0.3 2018-05-02 09:35:32 +00:00
Jérémie Astori
0c8765647a
Merge pull request #2410 from thelounge/greenkeeper/fs-extra-6.0.0
Update fs-extra to the latest version 🚀
2018-05-01 19:35:49 -04:00
Jérémie Astori
a71904a25e
Merge pull request #2411 from thelounge/greenkeeper/@fortawesome/fontawesome-free-webfonts-1.0.7
Update @fortawesome/fontawesome-free-webfonts to the latest version 🚀
2018-05-01 19:29:54 -04:00
greenkeeper[bot]
b6881c20d2 chore(package): update @fortawesome/fontawesome-free-webfonts to version 1.0.7 2018-05-01 20:39:17 +00:00
greenkeeper[bot]
d86fe768f3 fix(package): update fs-extra to version 6.0.0 2018-05-01 14:18:37 +00:00
greenkeeper[bot]
860e2607e4 chore(package): update sinon to version 5.0.2 2018-05-01 11:17:15 +00:00
greenkeeper[bot]
0346f2238f
chore(package): update webpack-cli to version 2.1.2 2018-05-01 00:57:16 -04:00
greenkeeper[bot]
0f4adedeab chore(package): update sinon to version 5.0.1 2018-04-30 09:43:33 +00:00
Pavel Djundik
fb1aef882a Upgrade lockfile to latest versions 2018-04-28 11:49:04 +03:00
greenkeeper[bot]
39d59edece chore(package): update graphql-request to version 1.5.2 2018-04-27 08:22:03 +00:00
greenkeeper[bot]
b4d5732a50 fix(package): update lodash to version 4.17.9 2018-04-24 18:19:47 +00:00
greenkeeper[bot]
590d0fc228 chore(package): update webpack-cli to version 2.0.15 2018-04-21 07:12:18 +00:00
Pavel Djundik
4fe53fc170
Merge pull request #2373 from thelounge/greenkeeper/mocha-5.1.1
Update mocha to the latest version 🚀
2018-04-19 13:11:24 +03:00
greenkeeper[bot]
b6ca2f08ff chore(package): update nyc to version 11.7.1 2018-04-19 08:15:06 +00:00
greenkeeper[bot]
2e9a8dfb0d chore(package): update mocha to version 5.1.1 2018-04-19 02:37:50 +00:00
greenkeeper[bot]
bfdd751db9 chore(package): update webpack to version 4.6.0 2018-04-18 10:23:22 +03:00
greenkeeper[bot]
2da5c270ff chore(package): update undate to version 0.3.0 2018-04-18 03:14:59 +00:00
greenkeeper[bot]
612a58eb2f fix(package): update chalk to version 2.4.0 2018-04-17 05:39:32 +00:00
greenkeeper[bot]
0dff676021 fix(package): update yarn to version 1.6.0 2018-04-15 13:30:26 +00:00
greenkeeper[bot]
f2e5511544 fix(package): update moment to version 2.22.1 2018-04-15 06:26:01 +00:00
greenkeeper[bot]
b67fdb7806 chore(package): update mocha to version 5.1.0 2018-04-13 02:40:17 +00:00
greenkeeper[bot]
d3efa6b82f chore(package): update @fortawesome/fontawesome-free-webfonts to version 1.0.6 2018-04-10 22:29:21 +00:00
greenkeeper[bot]
e83079eec4 chore(package): update webpack-dev-server to version 3.1.3 2018-04-08 09:04:46 +00:00
greenkeeper[bot]
b230358553 chore(package): update webpack-dev-server to version 3.1.2 2018-04-07 13:49:18 +00:00
Pavel Djundik
c28a5c25b9 Add css-loader 2018-04-06 12:52:53 +03:00
Pavel Djundik
0030f68831 Update to webpack4 WIP 2018-04-06 12:52:52 +03:00
Jérémie Astori
4e8cc2e164
Update sinon to the latest version
No sure why Greenkeeper missed it but oh well.
2018-04-06 02:03:15 -04:00
greenkeeper[bot]
6b263bf43d chore(package): update stylelint to version 9.2.0 2018-04-01 10:42:11 +00:00
Pavel Djundik
e94301b122
Merge pull request #2320 from thelounge/greenkeeper/textcomplete-0.17.1
Update textcomplete to the latest version 🚀
2018-03-31 20:53:52 +03:00
greenkeeper[bot]
084ed153e3 chore(package): update textcomplete to version 0.17.1 2018-03-31 01:32:08 +00:00
greenkeeper[bot]
46e7231bfa fix(package): update moment to version 2.22.0 2018-03-30 22:40:43 +00:00
greenkeeper[bot]
be85a7f224
chore(package): update socket.io-client to version 2.1.0 2018-03-29 19:38:29 -04:00
greenkeeper[bot]
e936233ead fix(package): update socket.io to version 2.1.0 2018-03-29 23:08:40 +00:00
greenkeeper[bot]
1f86ace5d8 chore(package): update istanbul-instrumenter-loader to version 3.0.1 2018-03-28 17:23:32 +00:00
Jérémie Astori
12cdec3f2e
3.0.0-pre.5 2018-03-28 03:13:30 -04:00
Pavel Djundik
27e715f4a4
Merge pull request #2302 from thelounge/greenkeeper/@fortawesome/fontawesome-free-webfonts-1.0.5
Update @fortawesome/fontawesome-free-webfonts to the latest version 🚀
2018-03-28 10:08:42 +03:00
Jérémie Astori
3d04afa4f6
3.0.0-pre.4 2018-03-27 19:17:11 -04:00
greenkeeper[bot]
5005d7a1f1 chore(package): update @fortawesome/fontawesome-free-webfonts to version 1.0.5 2018-03-27 20:41:24 +00:00
Pavel Djundik
18c82f2d06
Merge pull request #2283 from thelounge/greenkeeper/textcomplete-0.17.0
Update textcomplete to the latest version 🚀
2018-03-23 12:05:52 +03:00
greenkeeper[bot]
1672de266e chore(package): update textcomplete to version 0.17.0 2018-03-23 06:53:07 +00:00
greenkeeper[bot]
5ebd6e313b chore(package): update mocha to version 5.0.5 2018-03-23 04:31:37 +00:00
greenkeeper[bot]
31e97fdd0e chore(package): update eslint to version 4.19.1 2018-03-22 02:43:38 +00:00
greenkeeper[bot]
a0983ac2da
chore(package): update sinon to version 4.4.8 2018-03-21 20:21:27 -04:00
Jérémie Astori
dbe81f1e59
Merge pull request #2254 from thelounge/astorije/sign-out-settings
Empty local storage on sign out and move the sign out button to the settings
2018-03-20 21:06:44 -04:00
greenkeeper[bot]
810a6b8125 fix(package): update primer-tooltips to version 1.5.3 2018-03-20 19:58:33 +00:00
Pavel Djundik
453eab3a12
Merge pull request #2252 from thelounge/astorije/coverage-windows
Fix `yarn coverage` script on Windows
2018-03-20 09:45:14 +02:00
Jérémie Astori
d1548572d4
Move the sign out button to the settings and empty local storage on sign out
This change improves privacy/security by ensuring all local storage (which includes settings, etc.) is destroyed on sign out or when revoking a remote session. Because signing out is now more "risky", the button has been moved to the settings along with other existing sessions.

This commit:

- Removes the power/sign-out icon from the sidebar footer (gives additional room for when the admin panel gets added)
- Adds a "Sign out" button next to the current session info in the settings session list
- Renames "Disconnect" buttons into "Revoke" to better clarify the intent (I will admit that I borrowed the wording from Telegram)
- Fixes incorrect `localStorage.remove` method
- Uses Sinon.js to mock wrappers for `window.localStorage` and `window.location` (does not mock those themselves, in the "Do not mock what you do not own" fashion, mock our layer instead). I expect we will be able to test a bit more from the UI with this. A good next candidate will be the `mockLogger` things.
2018-03-20 01:52:22 -04:00
greenkeeper[bot]
85b7c01c2d fix(package): update commander to version 2.15.1 2018-03-20 01:52:14 +00:00
Jérémie Astori
22725968e8
Fix yarn coverage script on Windows 2018-03-19 20:01:25 -04:00
greenkeeper[bot]
7fd200db63 chore(package): update eslint to version 4.19.0 2018-03-17 00:02:12 +00:00
Pavel Djundik
60a8f61040 Update express to 4.16.3 2018-03-16 18:18:30 +02:00
greenkeeper[bot]
916ebcb1be fix(package): update sqlite3 to version 4.0.0 2018-03-15 15:51:56 +00:00
greenkeeper[bot]
b3f48cf926 chore(package): update stylelint to version 9.1.3 2018-03-14 19:24:13 +00:00
Pavel Djundik
8a7408097d
Merge pull request #2210 from thelounge/xpaw/undate
Use undate library to handle modifier keys
2018-03-14 09:05:39 +02:00
greenkeeper[bot]
70128e22b9 chore(package): update stylelint to version 9.1.2 2018-03-13 22:59:53 +00:00
Pavel Djundik
7e2edc2c9f Use undate library to handle modifier keys 2018-03-13 12:43:48 +02:00
greenkeeper[bot]
4b239a9c9c chore(package): update nyc to version 11.6.0 2018-03-13 07:04:12 +00:00
greenkeeper[bot]
e345bc8ac8 fix(package): update request to version 2.85.0 2018-03-12 14:44:27 +02:00
Jérémie Astori
c28fda6b28
Switch to Font Awesome 5 2018-03-11 15:57:35 -04:00
greenkeeper[bot]
71def026c9 chore(package): update copy-webpack-plugin to version 4.5.1 2018-03-09 13:27:11 +00:00
Pavel Djundik
5aa9d7e1dc
Merge pull request #1839 from thelounge/sqlite
Add sqlite logging and reloading messages
2018-03-09 09:06:25 +02:00
Jérémie Astori
fc7e8339b7
3.0.0-pre.3 2018-03-08 21:27:05 -05:00
Pavel Djundik
941849eaa8 Add message indexing 2018-03-08 20:23:29 +02:00
Pavel Djundik
731b29c059 Generate uuid per network 2018-03-08 20:23:29 +02:00
greenkeeper[bot]
8d6b3fa335 fix(package): update commander to version 2.15.0 2018-03-08 08:13:32 +00:00
greenkeeper[bot]
d4a068e2de chore(package): update mocha to version 5.0.4 2018-03-07 21:53:39 +00:00
greenkeeper[bot]
5c7f34bd48 chore(package): update mocha to version 5.0.3 2018-03-07 09:19:02 +00:00
Pavel Djundik
11eedc3ea1 Update chalk and lock file to latest version 2018-03-06 10:46:52 +02:00
greenkeeper[bot]
97ed29e1dd chore(package): update mocha to version 5.0.2 2018-03-06 05:06:03 +00:00
Jérémie Astori
9107f9e351
Merge pull request #2145 from thelounge/xpaw/chalk
Replace colors.js with chalk
2018-03-03 02:42:04 -05:00
Jérémie Astori
6aa5ab160d
Merge pull request #2147 from thelounge/greenkeeper/moment-2.21.0
Update moment to the latest version 🚀
2018-03-03 02:39:19 -05:00
Jérémie Astori
f909e096bc
3.0.0-pre.2 2018-03-03 00:49:56 -05:00
greenkeeper[bot]
f816a3972f fix(package): update moment to version 2.21.0 2018-03-03 01:17:08 +00:00
greenkeeper[bot]
8e6be8a4d4 chore(package): update eslint to version 4.18.2 2018-03-02 22:42:12 +00:00
Pavel Djundik
fee81e78e1 Replace colors.js with chalk 2018-03-02 20:28:54 +02:00
greenkeeper[bot]
46c58dcb8d
chore(package): update copy-webpack-plugin to version 4.5.0 2018-03-01 22:46:39 -05:00
Pavel Djundik
4cb6ec9eae
Merge pull request #2136 from thelounge/greenkeeper/graphql-request-1.5.1
Update graphql-request to the latest version 🚀
2018-03-01 17:29:03 +02:00
greenkeeper[bot]
e4bbefd0a5 chore(package): update stylelint-config-standard to version 18.2.0 2018-03-01 14:27:18 +00:00
greenkeeper[bot]
2a9525a860 chore(package): update graphql-request to version 1.5.1 2018-03-01 11:51:01 +00:00
greenkeeper[bot]
02593c51e2 chore(package): update textcomplete to version 0.16.1 2018-02-28 06:28:27 +00:00
greenkeeper[bot]
3acb14dac9 fix(package): update yarn to version 1.5.1 2018-02-27 09:06:03 +00:00
greenkeeper[bot]
9ba6b78726 fix(package): update yarn to version 1.5.0 2018-02-26 11:54:18 +00:00
Jérémie Astori
fe4f453a34
Re-order scripts alphabetically in package.json and replace start-dev with dev 2018-02-23 23:52:37 -05:00
Jérémie Astori
ecede860ef
Enable in-browser run of client testing
This gets us one step closer to cross-browser testing 🎉
2018-02-23 23:52:36 -05:00
Jérémie Astori
a9994656c3
Merge pull request #2112 from thelounge/greenkeeper/web-push-3.3.0
Update web-push to the latest version 🚀
2018-02-23 20:18:07 -05:00
Jérémie Astori
d798a0fe9b
Merge pull request #2105 from thelounge/greenkeeper/graphql-request-1.5.0
Update graphql-request to the latest version 🚀
2018-02-23 19:44:02 -05:00
Jérémie Astori
deac669532
Merge pull request #2097 from thelounge/greenkeeper/irc-framework-2.11.0
Update irc-framework to the latest version 🚀
2018-02-23 19:17:07 -05:00
greenkeeper[bot]
c07342b67b fix(package): update web-push to version 3.3.0 2018-02-23 21:02:25 +00:00
greenkeeper[bot]
7fcf683da3 chore(package): update copy-webpack-plugin to version 4.4.2 2018-02-23 19:41:28 +00:00
greenkeeper[bot]
fedb44435d chore(package): update graphql-request to version 1.5.0 2018-02-23 14:50:28 +00:00
greenkeeper[bot]
ca36da8280 fix(package): update irc-framework to version 2.11.0 2018-02-22 14:38:30 +00:00
Jérémie Astori
da0ab54292
Merge pull request #2091 from thelounge/rename-lounge-repo
Update all links to thelounge repository
2018-02-22 00:19:32 -05:00
Pavel Djundik
59ec07be87
Update all links to thelounge repository 2018-02-21 22:47:52 -05:00
greenkeeper[bot]
a121ada239 chore(package): update stylelint to version 9.1.1 2018-02-21 22:44:54 +00:00
greenkeeper[bot]
ab15fef282 chore(package): update stylelint to version 9.1.0 2018-02-21 11:22:07 +00:00
Jérémie Astori
8cfc7aae09
3.0.0-pre.1 2018-02-21 00:12:51 -05:00
greenkeeper[bot]
901b0eff7d chore(package): update eslint to version 4.18.1 2018-02-20 23:24:04 +00: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