Commit Graph

3864 Commits

Author SHA1 Message Date
Jérémie Astori
6857c5dd08
Merge pull request #2192 from creesch/settingSync
Don't access "Notification" if the browser does not support it
2018-03-10 15:24:54 -05:00
creesch
6d4fb93e6b Don't access "Notification" if the browser does not support it. 2018-03-10 20:21:30 +01:00
Jérémie Astori
38b8cdbb5e
Merge pull request #2189 from thelounge/xpaw/fix-2176
Allow overriding arrays in config, warn about incorrect types
2018-03-10 13:36:31 -05:00
Jérémie Astori
f2fb27f6a4
Merge pull request #2188 from thelounge/xpaw/no-blind-playback-cap
Only request znc.in/playback if sqlite logging is enabled
2018-03-10 13:31:08 -05:00
Pavel Djundik
ddb1a280cb Allow overriding arrays in config, warn about incorrect types
Fixes #2176
2018-03-10 13:59:24 +02:00
Pavel Djundik
5146686814 Only request znc.in/playback if sqlite logging is enabled 2018-03-10 13:25:56 +02:00
Jérémie Astori
1bf8c1578d
Merge pull request #2182 from thelounge/xpaw/no-contain
Remove `contain` as it's causing rendering issues
2018-03-09 18:59:07 -05:00
Jérémie Astori
50a9ef5b3a
Merge pull request #2183 from thelounge/greenkeeper/copy-webpack-plugin-4.5.1
Update copy-webpack-plugin to the latest version 🚀
2018-03-09 18:58:21 -05:00
greenkeeperio-bot
01857a50ee chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-09 13:31:07 +00: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
c86c4f0362
Remove contain as it's causing rendering issues 2018-03-09 13:01:02 +02:00
Pavel Djundik
08f2ebd373
Merge pull request #2180 from thelounge/xpaw/ci
Try to fix sqlite test failing on CI randomly
2018-03-09 12:43:55 +02:00
Pavel Djundik
20c9df39b1
Merge pull request #2181 from thelounge/xpaw/client-away-crash
Do not crash when awayMessage is set but IRC connection does not exist
2018-03-09 12:41:36 +02:00
Pavel Djundik
b2eb11b5ef
Merge pull request #1851 from creesch/settingSync
Optional syncing of client settings.
2018-03-09 12:37:17 +02:00
Pavel Djundik
b5b0ebe00d
Do not crash when awayMessage is set but IRC connection does not 2018-03-09 12:33:24 +02:00
Pavel Djundik
49046be361 Try to fix sqlite test failing on CI randomly 2018-03-09 11:41:30 +02:00
creesch
27393bb804 Offer optional syncing of client settings
Write synced settings to localstorage.

move settings and webpush init to init.js

stub for server sending clientsettings

get very basic setting sync working

Also update client.config.clientSettings on settings:set

Full setting sync with mandatory and excluded sync options

Actually check client preferences.

Further settings restructuring.

Refactor options.js make storage act in a sane manner.

Add new parameter to applySetting

Do not sync if the setting is stored as a result of syncing

General clean up, commenting and restructing.

sync from server on checking "sync"

offer initial sync

Better deal with DOM being ready and instances of inital sync showing

Don't try to disable autocompletion when not enabled.

Restructure option.js to seperate functions from settings.

More consistency in naming options vs settings

Switch processSetting and applySetting names reflecting their functionality better.

move options init back to configuration.

simplify how settings are synced around.

move options init after template building.

Remove unneeded hasOwnProperty

Use global for #theme and only apply theme in applySetting

Return when no server side clientsettings excist.

Autocompletion options to options.settings

Make nocss param in url work again.

Actually filter out empty highlight values.

Clarify alwaysSync comment.

Remove manual step for initial sync

change attr to prop in options.js

replace unbind with off in autocompletion.js

Do not sync settings when the lounge is set to public.

fix eslint error

Fix merge error

Do not show sync warning after page refresh when sync is enabled

Move setting sync label in actual label.

Improve server setting sync handling performance and failure potential.

Don't give impression that the desktop notificiation is off when the browser permission is denied.

Refine showing and hiding of notification warnings.

rename all setting socket events to singular setting.

add experimental note and icon to settingsync.

fix css linting error
2018-03-09 10:36:29 +01:00
Pavel Djundik
218e06fbd4
Merge pull request #2179 from thelounge/xpaw/push-colon
Do not include colon in push message for actions
2018-03-09 11:22:01 +02:00
Pavel Djundik
167101c3aa Do not include colon in push message for actions 2018-03-09 11:06:19 +02:00
Pavel Djundik
d66d5dc144
Merge pull request #2177 from thelounge/xpaw/no-horizontal-scroll
Always hide horizontal overflow in chat
2018-03-09 10:09:46 +02:00
Pavel Djundik
653b46e2f4
Always hide horizontal overflow in chat 2018-03-09 09:31:58 +02: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
Jérémie Astori
047c4d0a98
Add changelog entry for v3.0.0-pre.3 2018-03-08 21:27:00 -05:00
Jérémie Astori
f3c10bdd42
Merge pull request #2175 from thelounge/astorije/fix-tests
Ignore order of preview results in unicode link tests
2018-03-08 21:22:29 -05:00
Jérémie Astori
5e6e27d73f
Ignore order of preview results in unicode link tests 2018-03-08 21:01:57 -05:00
Jérémie Astori
4faf669348
Merge pull request #2169 from thelounge/greenkeeper/commander-2.15.0
Update commander to the latest version 🚀
2018-03-08 20:12:21 -05:00
Jérémie Astori
f105a11cd4
Merge pull request #2166 from dgw/2062-scroll-to-new-channels
Scroll to joined/activated channel
2018-03-08 19:59:05 -05:00
Jérémie Astori
c816bc9834
Merge pull request #2172 from williamboman/fix/stock-themes-user-hover
Fix background color when hovering users in user list (darker themes)
2018-03-08 19:39:41 -05:00
Jérémie Astori
7cad5063f2
Fix userlist search background/color in darker themes 2018-03-08 19:28:20 -05:00
William Boman
8d4475ff84
client/themes: fix background color when hovering users in the user list 2018-03-08 19:21:44 -05:00
Jérémie Astori
b8531e6070
Merge pull request #2171 from thelounge/xpaw/fix-unicode-urls
Normalize unicode URLs in link prefetcher
2018-03-08 19:06:37 -05:00
Jérémie Astori
d0ac101b0d
Merge pull request #2170 from thelounge/xpaw/optimize-notified
Optimized notification dot state
2018-03-08 19:04:51 -05:00
Pavel Djundik
dfc4cad712 Add test coverage for sqlite plugin 2018-03-08 20:23:29 +02:00
Pavel Djundik
8f59ca1bec Add support for znc.in/playback
Fixes #1768
2018-03-08 20:23:29 +02: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
Pavel Djundik
f475cc39ef Normalize unicode URLs in link prefetcher
Fixes #1644
2018-03-08 19:43:39 +02:00
dgw
e5a6417a82 Scroll to newly joined/activated channels
Add a new utility function for scrolling elements into view with the
same, consistent options, and use it for both the new channel scrolling
behavior and the existing userlist scroll code.

Implements & resolves #2062
2018-03-08 10:30:07 -06:00
Pavel Djundik
0fb462c88e Optimized notification dot state 2018-03-08 15:46:05 +02:00
greenkeeperio-bot
8dcdfbdffa chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-08 08:16:16 +00:00
greenkeeper[bot]
8d6b3fa335 fix(package): update commander to version 2.15.0 2018-03-08 08:13:32 +00:00
Pavel Djundik
d1648823c3
Merge pull request #2149 from thelounge/xpaw/sidebar-flex
Cleanup sidebar to use flexbox
2018-03-08 09:04:11 +02:00
Pavel Djundik
6fdd6d4f8e
Merge pull request #2161 from realies/patch-4
Add install command support for package version
2018-03-08 08:57:39 +02:00
Pavel Djundik
884984f9b4 Cleanup sidebar to use flexbox 2018-03-08 08:50:04 +02:00
Pavel Djundik
73755ce973 Remove .chanlist wrapper
Added in 04046719c1, but it's not necessary
2018-03-08 08:50:04 +02:00
Jérémie Astori
589d7a9811
Merge pull request #1838 from thelounge/xpaw/ogp-media
Try to find og:video and og:audio on html pages
2018-03-07 19:22:30 -05:00
Jérémie Astori
4a8aae1f1a
Merge pull request #2168 from thelounge/greenkeeper/mocha-5.0.4
Update mocha to the latest version 🚀
2018-03-07 19:11:13 -05:00
greenkeeperio-bot
68adda5821 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-07 21:56:41 +00:00
greenkeeper[bot]
d4a068e2de chore(package): update mocha to version 5.0.4 2018-03-07 21:53:39 +00:00