Commit Graph

2846 Commits

Author SHA1 Message Date
Pavel Djundik
80ef01c180 Merge pull request #1572 from thelounge/xpaw/add-vapid-test
Add hardcoded vapid key and a test for it
2017-09-25 23:12:02 +03:00
Pavel Djundik
08edc434ca Merge pull request #1567 from dgw/preview-length-abort
Abort image prefetch if Content-Length exceeds limit
2017-09-25 23:11:20 +03:00
dgw
09cd9ce33a Abort img prefetch if Content-Length exceeds limit
If the Content-Length header is present in the response when an image
is prefetched, The Lounge can avoid wasting bandwidth (both for itself
and for the image's host) if the value of the header exceeds the
prefetch size limit by aborting the request immediately.
2017-09-25 05:31:21 -05:00
Pavel Djundik
7c9eedb820 Add hardcoded vapid key and a test for it
Hopefully fixes #1569
2017-09-25 11:46:15 +03:00
Jérémie Astori
90ae5dbefc Merge pull request #1566 from thelounge/astorije/mousetrap-preview
Use Mousetrap for image viewer shortcuts
2017-09-24 12:33:56 -04:00
Jérémie Astori
2c0fc67ab9
Use Mousetrap for image viewer shortcuts 2017-09-23 22:02:13 -04:00
Jérémie Astori
77714accca Merge pull request #1565 from thelounge/astorije/fix-menu
Fix wrongly positioned menu when opening it and switching to landscape
2017-09-23 13:07:36 -04:00
Jérémie Astori
5e4a4d1d0b
Fix wrongly positioned menu when opening it and switching to landscape
This could be reproduced on tablet or large phone (as long as portrait mode shows a collapsible menu and landscape mode shows normal menu) or when resizing the browser on desktop.
2017-09-23 12:21:31 -04:00
Jérémie Astori
8268eb03c6 Merge pull request #1561 from thelounge/astorije/font-size-fixes
Reduce message size on mobile and increase a bit UI text
2017-09-23 12:07:29 -04:00
Jérémie Astori
75b927b4a3
Remove event-stream dependency in favor of plain Buffers 2017-09-23 04:08:17 -04:00
Jérémie Astori
4dc3769b18
Make channel list links clickable on full width, simplify code
- Close button and badge are now positioned using the same method. Previously one was float and the other was absolutely positioned.
- Increase the close button size to match 2.4.0, as it was made smaller when moving to the native font stack.
- Removed link margins on left/right of the channel links, and the `1px` gap between links.
- Removed hack/fix for drag-and-drop now made unnecessary
2017-09-22 23:42:16 -04:00
Jérémie Astori
713d2c14e5
Reduce message size on mobile and increase a bit UI text 2017-09-22 21:59:45 -04:00
Pavel Djundik
f85686bcb2 Merge pull request #1468 from thelounge/xpaw/combine-notifications
Combine unread notifications into a single one
2017-09-22 21:04:04 +03:00
Pavel Djundik
b456ab997c Merge pull request #1503 from thelounge/astorije/image-preview-history
Handle browser history when opening/closing image preview
2017-09-22 21:03:50 +03:00
Pavel Djundik
cddeb51109 Merge pull request #1555 from thelounge/greenkeeper/eslint-4.7.2
Update eslint to the latest version 🚀
2017-09-22 10:24:52 +03:00
greenkeeper[bot]
203907f706 chore(package): update eslint to version 4.7.2 2017-09-21 19:49:06 +00:00
Pavel Djundik
ede56398f6 Merge pull request #1553 from thelounge/astorije/bigger-fonts
Increase font size on desktops and mobiles
2017-09-21 13:59:13 +03:00
Jérémie Astori
3eaf12cc36
Increase font size on desktops and mobiles 2017-09-21 03:26:30 -04:00
Jérémie Astori
e165d51e60 Merge pull request #1549 from thelounge/xpaw/fix-default-chan
Fix opening first channel on server start
2017-09-20 21:30:24 -04:00
Pavel Djundik
649e9c3192 Fix opening first channel on server start
Fixes #1547
2017-09-20 16:17:38 +03:00
Pavel Djundik
01eda0aac3 Merge pull request #1539 from thelounge/xpaw/install-command
Create lounge install command
2017-09-20 11:11:48 +03:00
Pavel Djundik
75555d90ee Merge pull request #1543 from thelounge/xpaw/remove-dupe-keybindings
Remove duplicate keybindings help
2017-09-20 11:09:58 +03:00
Pavel Djundik
416ebf97ff Create 'lounge install' command 2017-09-20 10:59:06 +03:00
Pavel Djundik
1c065ad1b6 Remove duplicate keybindings help 2017-09-20 10:57:43 +03:00
Pavel Djundik
8f275c6a55 Merge pull request #1546 from thelounge/greenkeeper/request-2.82.0
Update request to the latest version 🚀
2017-09-20 10:18:42 +03:00
Jérémie Astori
637949ea55 Merge pull request #1471 from thelounge/xpaw/client-reconnection
Automatic client reconnection
2017-09-20 00:05:37 -04:00
Jérémie Astori
d97b844e29 Merge pull request #1520 from iamstratos/master
Add touch-action to Messages, Sidebar and User list
2017-09-19 23:53:27 -04:00
Jérémie Astori
a181d79544 Merge pull request #1542 from thelounge/xpaw/move-theme-warning
Print compatibility theme setting only once warning on startup
2017-09-19 21:14:29 -04:00
Jérémie Astori
1dae995631 Merge pull request #1544 from thelounge/xpaw/fix-more-condensed
Fix history not loading if first message is condensed
2017-09-19 18:37:53 -04:00
greenkeeper[bot]
48cc810455 fix(package): update request to version 2.82.0 2017-09-19 19:57:56 +00:00
Pavel Djundik
6041e492ee Fix history not loading if first message is condensed 2017-09-19 18:01:02 +03:00
Pavel Djundik
21c9919fa1 Print compatibility theme setting warning on startup 2017-09-19 12:21:08 +03:00
Pavel Djundik
6cfe60e4d9 Group push notifications per target 2017-09-19 12:01:50 +03:00
Pavel Djundik
935c5b309a Force reconnect on server shutdown 2017-09-19 11:59:56 +03:00
Pavel Djundik
532f55cb86 Redraw channels 2017-09-19 11:59:56 +03:00
Pavel Djundik
cffa957e34 Only send messages newer than last seen id 2017-09-19 11:45:22 +03:00
Pavel Djundik
05fc00d9be Display all the status changes in UI 2017-09-19 11:45:22 +03:00
Pavel Djundik
0c0df1efc9 Force reload the page if socket reconnects and server restarted 2017-09-19 11:45:22 +03:00
Al McKinlay
c7433eca95 Merge pull request #1541 from thelounge/greenkeeper/eslint-4.7.1
Update eslint to the latest version
2017-09-19 08:57:09 +01:00
Jérémie Astori
26eba56ab8 Merge pull request #1540 from thelounge/xpaw/native-fonts
Use native font stack
2017-09-19 00:29:32 -04:00
Jérémie Astori
b844b0a782 Merge pull request #1283 from MaxLeiter/MaxLeiter/window-save
Add anchor tag to URL to signify open page for reloading
2017-09-18 19:01:23 -04:00
greenkeeper[bot]
55fe080eaa chore(package): update eslint to version 4.7.1 2017-09-18 21:57:40 +00:00
Pavel Djundik
4e776f7a5f Remove Lato 2017-09-18 13:33:04 +03:00
Pavel Djundik
3ac15f97f1 Use native font stack 2017-09-18 13:32:52 +03:00
Pavel Djundik
2ea57a4133 Merge pull request #1538 from thelounge/astorije/eslint-console
Enable `no-console` and `no-alert` ESLint rules
2017-09-18 13:06:44 +03:00
Jérémie Astori
aa377ee59b
Switch Font Awesome build script to use our logger 2017-09-17 22:20:20 -04:00
Jérémie Astori
82c4898715
Use explicit keywords instead of cryptic codes in ESLint config
Bikeshedding at its best, isn't it?
2017-09-17 22:04:29 -04:00
Jérémie Astori
64cc4927b3
Make sure we never ship with JS alerts by accident 2017-09-17 21:50:41 -04:00
Jérémie Astori
b8399471b3
Enable ESLint no-console rule to avoid future mistakes 2017-09-17 21:50:21 -04:00
Jérémie Astori
2e2e201784 Merge pull request #1266 from thelounge/yamanickill/1228-theme-management
Allow themes from npm
2017-09-17 20:05:59 -04:00