Commit Graph

1291 Commits

Author SHA1 Message Date
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
greenkeeperio-bot
db07f2af57 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-05-04 13:35:45 +00:00
Pavel Djundik
d4d516af1e Use new fontawesome package
Ref: b60cbbecb4/UPGRADING.md (50x-to-510)
2018-05-04 12:09:24 +03:00
greenkeeperio-bot
a729d909a7 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-05-02 22:01:35 +00:00
greenkeeperio-bot
7f11af1c13 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-05-02 09:38:42 +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
greenkeeperio-bot
ddad808d88 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-05-01 20:41:57 +00:00
greenkeeperio-bot
44a94ea04d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-05-01 14:23:13 +00:00
greenkeeperio-bot
77dec4da01 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-05-01 11:21:07 +00:00
greenkeeper[bot]
0346f2238f
chore(package): update webpack-cli to version 2.1.2 2018-05-01 00:57:16 -04:00
greenkeeperio-bot
487d8c4a3d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-30 09:47:11 +00:00
Pavel Djundik
fb1aef882a Upgrade lockfile to latest versions 2018-04-28 11:49:04 +03:00
greenkeeperio-bot
a8b9d8d96c chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-27 08:24:16 +00:00
greenkeeperio-bot
dfdcb95a5d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-24 18:23:47 +00:00
greenkeeperio-bot
580e3c7675 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-21 07:15:40 +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
greenkeeperio-bot
619d49b669 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-19 08:18:31 +00:00
greenkeeperio-bot
8b4095c0cf chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-19 02:42:52 +00:00
greenkeeper[bot]
bfdd751db9 chore(package): update webpack to version 4.6.0 2018-04-18 10:23:22 +03:00
greenkeeperio-bot
a5802f492b chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-18 03:17:07 +00:00
greenkeeperio-bot
43c9665523 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-17 05:43:22 +00:00
greenkeeperio-bot
0793c35eb3 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-15 13:32:49 +00:00
greenkeeperio-bot
f49bf09261 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-15 06:30:05 +00:00
greenkeeperio-bot
fb49f468f1 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-13 02:42:44 +00:00
greenkeeperio-bot
8d755793f2 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-10 22:31:33 +00:00
greenkeeperio-bot
07ec00c33f chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-08 09:10:53 +00:00
greenkeeperio-bot
9380230614 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-07 13:54:28 +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
greenkeeperio-bot
260c0dd538 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-04-01 10:45:37 +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
greenkeeperio-bot
946d01a61b chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-31 01:33:21 +00:00
greenkeeperio-bot
d7f4a14bfe chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-30 22:44:25 +00:00
greenkeeperio-bot
357e010f39
chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-29 19:38:58 -04:00
greenkeeperio-bot
7054fe2bd2 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-29 23:10:31 +00:00
greenkeeperio-bot
d34d11fbb3 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-28 17:28:34 +00:00
greenkeeperio-bot
cce29fe2c5 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-27 20:43:49 +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
greenkeeperio-bot
2e7f6d4b6a chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-23 06:56:56 +00:00
greenkeeperio-bot
ab74fa6e2c chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-23 04:33:56 +00:00
greenkeeperio-bot
bf77cb57fd chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-22 02:46:35 +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
greenkeeperio-bot
69cc8b3c89 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-20 20:01:00 +00: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
greenkeeperio-bot
5804af2082 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-20 01:56:41 +00:00
greenkeeperio-bot
5339f529aa chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-17 00:04:33 +00:00
Pavel Djundik
60a8f61040 Update express to 4.16.3 2018-03-16 18:18:30 +02:00
greenkeeperio-bot
5bff3abd52 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-15 15:56:58 +00:00
greenkeeperio-bot
2c499c9f6d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-14 19:27:41 +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
greenkeeperio-bot
52fd311016 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-13 23:04:12 +00:00
Pavel Djundik
7e2edc2c9f Use undate library to handle modifier keys 2018-03-13 12:43:48 +02:00
greenkeeperio-bot
44d6c1cf6d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-13 07:07:49 +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
greenkeeperio-bot
01857a50ee chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-09 13:31:07 +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
Pavel Djundik
941849eaa8 Add message indexing 2018-03-08 20:23:29 +02:00
greenkeeperio-bot
8dcdfbdffa chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-08 08:16:16 +00:00
greenkeeperio-bot
68adda5821 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-07 21:56:41 +00:00
greenkeeperio-bot
2506feb1ea chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-07 09:23:17 +00:00
Pavel Djundik
11eedc3ea1 Update chalk and lock file to latest version 2018-03-06 10:46:52 +02:00
greenkeeperio-bot
9f503b6de9 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-06 05:08:51 +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
greenkeeperio-bot
5bca4b7323 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-03 01:21:30 +00:00
greenkeeperio-bot
0d02f49b9b chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-02 22:44:35 +00:00
Pavel Djundik
fee81e78e1 Replace colors.js with chalk 2018-03-02 20:28:54 +02:00
greenkeeperio-bot
b613be7761
chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
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
greenkeeperio-bot
f04b27b921 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-01 14:32:05 +00:00
greenkeeperio-bot
1e8ca56c65 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-01 11:52:49 +00:00
greenkeeperio-bot
9852eb072b chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-28 06:30:24 +00:00
greenkeeperio-bot
845b4a240a chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-27 09:09:07 +00:00
greenkeeperio-bot
be8cf925d8 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-26 11:56:29 +00: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
greenkeeperio-bot
0610784632 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-23 21:04:23 +00:00
greenkeeperio-bot
827e37f3d4 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-23 19:45:24 +00:00
greenkeeperio-bot
f78333a544 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-23 14:52:01 +00:00
greenkeeperio-bot
b91248719a chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-22 14:43:12 +00:00
greenkeeperio-bot
a3a5ce9aa4 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-21 22:49:21 +00:00
greenkeeperio-bot
b9df9d6981 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-21 11:29:40 +00:00
greenkeeperio-bot
70a5fb99d4 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-20 23:26:23 +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
Pavel Djundik
f646fbbd4f Add yarn.lock, update CI services to run yarn 2018-02-20 11:28:14 +02:00