Commit Graph

5878 Commits

Author SHA1 Message Date
greenkeeper[bot]
e345bc8ac8 fix(package): update request to version 2.85.0 2018-03-12 14:44:27 +02:00
Al McKinlay
5ce67ba093 Insert channel/user into channel list at alphabetically sorted point, not just the end
Don't sort queries/users after special chans


Set all users in tests to be of type query


Add test for not inserting infront of lobby


Break after finding the index, otherwise it always adds it to the end


Add checking for lobby in first test


Fix off-by-one error on the frontend


Fix utterly idiotic issue adding a duplicate of the channel we are on rather than the new user when we query


Check that we always insert before first special chan
2018-03-12 12:42:59 +00:00
Al McKinlay
191f8429c3
Merge pull request #2194 from thelounge/astorije/font-awesome-5
Upgrade to Font Awesome 5
2018-03-12 09:19:07 +00:00
Jérémie Astori
e9e440a625
Merge pull request #2201 from thelounge/astorije/rm-mailto
Remove `mailto:` part of security email address
2018-03-12 04:05:08 -04:00
Jérémie Astori
f2e5bd1b3c
Remove mailto: part of security email address
This actually displays `send us your report at mailto:security@thelounge.chat.`. Also, it's optional and Markdown renderer adds it when rendering to a `<a>` link.
2018-03-12 03:54:10 -04:00
Jérémie Astori
da5a876f93
Use warning icon for insecure connections 2018-03-11 15:57:35 -04:00
Jérémie Astori
c28fda6b28
Switch to Font Awesome 5 2018-03-11 15:57:35 -04:00
Jérémie Astori
35e5ff2fc7
Merge pull request #2196 from thelounge/astorije/rm-config-cli
Remove `thelounge config` from the CLI
2018-03-11 15:54:30 -04:00
Jérémie Astori
2954afd77d
Remove thelounge config from the CLI 2018-03-11 14:36:57 -04:00
Al McKinlay
ab2bb2881f
Merge pull request #1860 from thelounge/yamanickill/advanced
Add advanced toggle and hide certain settings by default
2018-03-11 18:14:23 +00:00
Al McKinlay
1a9ad1a7e3 Add advanced toggle and hide certain settings by default 2018-03-11 17:47:47 +00:00
Jérémie Astori
bd619220d0
Merge pull request #2190 from thelounge/xpaw/fix-2178
Close sqlite database when user quits
2018-03-10 17:34:26 -05:00
Pavel Djundik
b01e01bc19 Convert most of the layout to flexbox, make sidebar an overlay 2018-03-11 00:23:43 +02:00
Pavel Djundik
a15e922e27 Close sqlite database when user quits
Fixes #2178
2018-03-11 00:21:47 +02:00
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