Commit Graph

6268 Commits

Author SHA1 Message Date
Jérémie Astori
f16823393a Merge pull request #1053 from thelounge/astorije/coverage-exclude
Exclude Webpack config from coverage report
2017-04-19 10:13:19 -04:00
Jérémie Astori
f5dc6cc28f Merge pull request #1050 from metsjeesus/ssl_bundle
Fix to helper.expandhome to correctly resolve "" and undefined
2017-04-19 10:13:01 -04:00
Jérémie Astori
5a274f3316 Merge pull request #1045 from thelounge/495-disable-more-messages
Disable show more button when loading messages
2017-04-19 10:12:14 -04:00
Michael van Tricht
764ac831d4 Improve channels list.
- Set fixed width to channel and users column.
- Sort by number of users in channel.
- Executing /list multiple times wont show multiple tables.
- Channel list is not stickied to the bottom.
- Limit channels to 500. Scrolling through 1k is very slow on my system.
2017-04-19 12:02:15 +02:00
Jérémie Astori
8aa6f9c500 Exclude Webpack config from coverage report 2017-04-19 01:19:11 -04:00
Kyle Terrien
a900abc2a4 Issue 1019: Show MOTD by default 2017-04-18 19:48:14 -07:00
Metsjeesus
b750da3f9d Fix to helper.expandhome to correctly resolve "" and undefined 2017-04-18 17:36:43 +03:00
Alistair McKinlay
4938878d10 Disable show more button when loading messages 2017-04-17 10:35:27 +01:00
Jérémie Astori
fb04f9fcbf Merge pull request #1030 from thelounge/greenkeeper/webpack-2.4.0
Update webpack to the latest version 🚀
2017-04-16 12:27:25 -04:00
greenkeeper[bot]
955aada1cf chore(package): update webpack to version 2.4.1
https://greenkeeper.io/
2017-04-16 12:45:30 +03:00
Pavel Djundik
f185c86a47 Merge pull request #816 from DanielOaks/master+unhandled-slug
Add slug with command to unhandled messages
2017-04-16 12:37:32 +03:00
Daniel Oaks
5c336d3789 Add slug with command to unhandled messages 2017-04-16 12:31:32 +03:00
Jérémie Astori
53e419355d Merge pull request #575 from williamboman/feat/history
client: implement History Web API
2017-04-16 02:36:00 -04:00
William Boman
cc0962ba12 client: implement states using the History Web API 2017-04-15 22:34:14 +02:00
Jérémie Astori
6ae6600518 Merge pull request #1024 from metsjeesus/ssl_bundle
Add SSL CA bundle option
2017-04-15 14:46:23 -04:00
Jérémie Astori
5bc1be1f39 Merge pull request #1040 from thelounge/focusin-reset-notifications
Reset notification markers on document focus
2017-04-15 13:20:23 -04:00
Metsjeesus
fa51a2c281 Add CA bundle option in SSL 2017-04-15 19:12:21 +03:00
Pavel Djundik
d093a7f4c2 Reset notification markers on document focus
Fixes #837
2017-04-15 18:43:34 +03:00
Jérémie Astori
8627bbb713 Merge pull request #1032 from thelounge/userlist-sticky
Stick to bottom when opening user list
2017-04-15 01:51:44 -04:00
Jérémie Astori
ecb60e3c78 Merge pull request #1033 from thelounge/preload-scripts
Preload scripts as soon as possible
2017-04-15 01:35:38 -04:00
Jérémie Astori
3140c66b9e Merge pull request #1034 from thelounge/rel-opener
Add rel noopener to URLs in index.html
2017-04-14 20:46:43 -04:00
Pavel Djundik
1e2e8a82db Add rel noopener to URLs in index.html 2017-04-14 21:36:41 +03:00
Pavel Djundik
8020c3c817 Preload scripts as soon as possible 2017-04-14 21:29:40 +03:00
Pavel Djundik
507bf05d24 Remove referrer meta tag, we send Referrer-Policy header 2017-04-14 21:29:40 +03:00
Pavel Djundik
fce3d11e74 Stick to bottom when opening user list
Fixes #1031
2017-04-14 21:29:04 +03:00
Pavel Djundik
3e9678d9cf Merge pull request #1028 from thelounge/xpaw/cert-var
Use local variables to check length
2017-04-14 10:52:03 +03:00
Pavel Djundik
f645c32cb9 Use local variables to check length 2017-04-14 00:05:28 +03:00
Jérémie Astori
725d8431f7 Merge pull request #1027 from thelounge/astorije/rm-perspective
Remove invalid CSS perspective properties
2017-04-13 12:34:16 -04:00
Jérémie Astori
b7d353b620 Remove invalid CSS perspective properties
These are not valid without units per the CSS validator, which is confirmed in the Chrome dev tools. I could not trigger any consequences by removing these.
2017-04-13 02:30:36 -04:00
Jérémie Astori
5890a3def1 Merge pull request #824 from thelounge/xpaw/time-tooltip
Use css tooltips on time elements, ability to view time on mobile
2017-04-13 02:04:15 -04:00
Jérémie Astori
5b721c1b99 Update Primer tooltips to latest v0.5.3
This:

- Makes tooltips appear after timer instead of instantly, necessary for timestamp tooltips (see https://github.com/thelounge/lounge/pull/824#pullrequestreview-13676231)
- Uses Primer default animation (not sure if .2s transition was ours or theirs but here it is)
- Goes closer to default tooltips which will help to bump future versions and/or to streamline this in build process
2017-04-13 01:55:27 -04:00
Pavel Djundik
5d36b29aa8 Only disable touch tooltips on certain buttons 2017-04-13 01:55:27 -04:00
Pavel Djundik
c0a7ae9d92 Use css tooltips on time elements 2017-04-13 01:55:27 -04:00
Jérémie Astori
d2331558c3 Merge pull request #1020 from thelounge/greenkeeper/babel-preset-es2015-6.24.1
Update babel-preset-es2015 to the latest version 🚀
2017-04-08 11:26:55 -04:00
Jérémie Astori
bc16e716f7 Merge pull request #1021 from thelounge/greenkeeper/babel-core-6.24.1
Update babel-core to the latest version 🚀
2017-04-08 11:24:52 -04:00
Michael van Tricht
bcbd29cd22 Unread marker takes hidden messages into account. 2017-04-08 15:56:09 +02:00
greenkeeper[bot]
7c5f631319 chore(package): update babel-core to version 6.24.1
https://greenkeeper.io/
2017-04-07 17:11:52 +00:00
greenkeeper[bot]
ba2aa7a852 chore(package): update babel-preset-es2015 to version 6.24.1
https://greenkeeper.io/
2017-04-07 15:55:35 +00:00
Jérémie Astori
8c987e7a28 Merge pull request #1017 from swordbeta/list_command_styling
Fix Zenburn and Morning channel list font color.
2017-04-06 18:39:51 -04:00
Michael van Tricht
8744d754ff Fix Zenburn and Morning channel list font color. 2017-04-06 16:45:01 +02:00
Jérémie Astori
23981e8de0 Merge pull request #1015 from thelounge/astorije/referrer-policy
Use Referrer-Policy header instead of CSP referrer
2017-04-06 03:01:37 -04:00
Jérémie Astori
b8c49463a9 Merge pull request #524 from thelounge/PR/inline-preview
Improve inline previews for links and images
2017-04-06 03:00:54 -04:00
Jérémie Astori
fe7c570cc9 Use Referrer-Policy header instead of CSP referrer
According to MDN:

> referrer
>   Used to specify information in the referer (sic) header for links away from a page.
>   Use the Referrer-Policy header instead.

See:

- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/referrer
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
2017-04-06 02:25:43 -04:00
Pavel Djundik
bb24bc645c Merge pull request #1013 from awalgarg/patch-1
fix: count only message items for show-more
2017-04-06 06:43:29 +03:00
Jérémie Astori
2c8e7a8cab Merge pull request #955 from thelounge/xpaw/page-keys
Implement pgup/pgdown keys
2017-04-05 18:19:34 -04:00
Awal Garg
c066f25b17 fix: count only message items for show-more
the `messages` div contains a `date-marker` div and an `unread-marker` div. this causes the `count` variable to be 2 more than the expected value, which makes the show-more button skip two messages when loading history. this change filters the counted elements to fix this issue.
2017-04-06 00:45:28 +05:30
Jérémie Astori
dce42df050 Fix link preview title going underneath the user list
Also fix the preview description not respecting the ellipsis, and update the image size and margin to nicely align with text.
2017-04-04 02:31:44 -04:00
Jérémie Astori
d842517c4e Fix image preview talking full width
Bootstrap was taking over these declarations because they use `!important`.
2017-04-04 02:09:53 -04:00
Maxime Poulin
6a273d825a Improve inline previews for links and images 2017-04-04 01:40:51 -04:00
Pavel Djundik
10bafb8b5d Merge pull request #1007 from thelounge/greenkeeper/webpack-2.3.3
Update webpack to the latest version 🚀
2017-04-04 07:36:02 +03:00