Commit Graph

3992 Commits

Author SHA1 Message Date
greenkeeper[bot]
70128e22b9 chore(package): update stylelint to version 9.1.2 2018-03-13 22:59:53 +00:00
Pavel Djundik
351a203acd Fix some URLs not being sent as-is to the client 2018-03-13 22:08:19 +02:00
Pavel Djundik
120953773e
Merge pull request #2213 from thelounge/xpaw/theme-repaint
Do not repaint theme on page load
2018-03-13 18:26:52 +02:00
Pavel Djundik
a56ad36a42 Do not repaint theme on page load 2018-03-13 17:38:01 +02:00
Pavel Djundik
74220d8a24 Allow hiding channel list on desktop
Fixes #17
2018-03-13 17:00:02 +02:00
Pavel Djundik
7e2edc2c9f Use undate library to handle modifier keys 2018-03-13 12:43:48 +02:00
Pavel Djundik
0260bcbf3b
Merge pull request #2208 from thelounge/greenkeeper/nyc-11.6.0
Update nyc to the latest version 🚀
2018-03-13 09:38:49 +02:00
greenkeeperio-bot
44d6c1cf6d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-13 07:07:49 +00:00
greenkeeper[bot]
4b239a9c9c chore(package): update nyc to version 11.6.0 2018-03-13 07:04:12 +00:00
Jérémie Astori
288aaac465
Merge pull request #2152 from thelounge/yamanickill/sort-channels-on-join
Insert channel/user into channel list at alphabetically sorted point, not just the end
2018-03-13 00:37:59 -04:00
Pavel Djundik
0dc76e773f
Merge pull request #2185 from thelounge/xpaw/flexbox-viewport
Convert the entire viewport to use flexbox
2018-03-12 23:07:48 +02:00
Pavel Djundik
6a6789a3c7
Merge pull request #2202 from thelounge/greenkeeper/request-2.84.0
Update request to the latest version 🚀
2018-03-12 19:28:57 +02:00
Pavel Djundik
be69f88ef6
Merge pull request #2205 from thelounge/xpaw/fa5-join
Fix join and part icons
2018-03-12 17:45:12 +02:00
Pavel Djundik
43fc531a6f Fix join and part icons 2018-03-12 17:37:57 +02:00
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