Commit Graph

4751 Commits

Author SHA1 Message Date
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
greenkeeper[bot]
e1ff04174f chore(package): update webpack to version 2.3.3
https://greenkeeper.io/
2017-04-03 08:03:32 +00:00
Pavel Djundik
e211d948d7 Merge pull request #1006 from thelounge/greenkeeper/mousetrap-1.6.1
Update mousetrap to the latest version 🚀
2017-04-03 07:29:41 +03:00
Jérémie Astori
09eaf80f8c Fix page scroll glitch 2017-04-02 21:03:01 -04:00
greenkeeper[bot]
855092aa44 chore(package): update mousetrap to version 1.6.1
https://greenkeeper.io/
2017-04-02 19:46:29 +00:00
Pavel Djundik
78b17f37f9 Merge pull request #1005 from thelounge/greenkeeper/stylelint-7.10.1
Update stylelint to the latest version 🚀
2017-04-02 21:36:48 +03:00
greenkeeper[bot]
332047c0dc chore(package): update stylelint to version 7.10.1
https://greenkeeper.io/
2017-04-02 10:54:48 +00:00
Jérémie Astori
f11ee8eaf7 Merge pull request #1004 from thelounge/greenkeeper/stylelint-7.10.0
Update stylelint to the latest version 🚀
2017-04-01 15:43:35 -04:00
Jérémie Astori
1b32bf6820 Merge pull request #1003 from thelounge/channel-keys
Store channel keys
2017-04-01 15:35:56 -04:00
Pavel Djundik
2d9aa35c06 Implement pgup/pgdown keys 2017-04-01 22:35:07 +03:00
Pavel Djundik
c0e364e1c2 Store channel keys 2017-04-01 15:28:38 -04:00
Jérémie Astori
44f71bb93e Merge pull request #1002 from thelounge/xpaw/append-date-marker
Correctly append date marker when receiving a message
2017-04-01 12:59:24 -04:00
greenkeeper[bot]
4d592a6a40 chore(package): update stylelint to version 7.10.0
https://greenkeeper.io/
2017-04-01 16:14:00 +00:00
Pavel Djundik
110c0f0c87 Correctly append date marker when receiving a message 2017-04-01 11:06:01 +03:00
Pavel Djundik
152da11256 Merge pull request #985 from rockhouse/master
Switch to bcryptjs and make password comparison async
2017-04-01 10:09:13 +03:00
S
001f96035b Switch to bcryptjs and make password comparison async
- PasswordCompareAsync prevents timeouts on resource constraint devices
- All password.compare calls are now async
- Updated tests to accept async functions
2017-04-01 03:06:09 -04:00
Jérémie Astori
953325aca3 Merge pull request #523 from thelounge/PR/fix-msg-width
Remove table layout for chat messages (and fix layout issues yet again)
2017-04-01 02:40:03 -04:00
Jérémie Astori
e54cc451ce Merge pull request #998 from thelounge/greenkeeper/jquery-3.2.1
chore(package): update jquery to version 3.2.1
2017-03-31 19:54:30 -04:00