Commit graph

3653 commits

Author SHA1 Message Date
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
realies a941fe97a6 Add install command support for package version 2018-03-07 19:59:03 +02:00
Pavel Djundik 58d9490c2a Try to find og:video and og:audio on html pages 2018-03-07 12:53:56 +02:00
Pavel Djundik fe51c6d7e7 Move video size to css 2018-03-07 12:53:28 +02:00
Pavel Djundik 20415a2edb
Merge pull request #2165 from thelounge/greenkeeper/mocha-5.0.3
Update mocha to the latest version 🚀
2018-03-07 12:01:34 +02:00
greenkeeperio-bot 2506feb1ea chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-07 09:23:17 +00:00
greenkeeper[bot] 5c7f34bd48 chore(package): update mocha to version 5.0.3 2018-03-07 09:19:02 +00:00
Pavel Djundik d5c9fb5536
Merge pull request #2158 from thelounge/xpaw/slideout
Do not listen to touch events until client is initialized
2018-03-07 10:13:50 +02:00
Pavel Djundik bb066ecb02 Do not listen to touch events until client is initialized
Fixes #2148
2018-03-07 10:02:02 +02:00
Pavel Djundik 6c6168e80a
Merge pull request #2164 from thelounge/xpaw/remove-maxlisteners
Remove setMaxListeners
2018-03-07 09:19:04 +02:00
Pavel Djundik c63c0f2ec8
Merge pull request #2163 from thelounge/xpaw/fix-2162
Apply ECDH curve fix only on affected version
2018-03-07 09:16:50 +02:00
Pavel Djundik 6fa48d3acf Remove setMaxListeners
Reverts 2cee0ea6ef as this no longer causes the EventEmitter warning due to `maxRedirects` being set to 5 on our end.

Ref: https://github.com/request/request/issues/311#issuecomment-153507416
2018-03-07 09:13:06 +02:00