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
43fc531a6f
Fix join and part icons
2018-03-12 17:37:57 +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
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
Al McKinlay
1a9ad1a7e3
Add advanced toggle and hide certain settings by default
2018-03-11 17:47:47 +00:00
Pavel Djundik
b01e01bc19
Convert most of the layout to flexbox, make sidebar an overlay
2018-03-11 00:23:43 +02:00
creesch
6d4fb93e6b
Don't access "Notification" if the browser does not support it.
2018-03-10 20:21:30 +01:00
Pavel Djundik
c86c4f0362
Remove contain
as it's causing rendering issues
2018-03-09 13:01:02 +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
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
653b46e2f4
Always hide horizontal overflow in chat
2018-03-09 09:31:58 +02: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
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
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
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
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
bb066ecb02
Do not listen to touch events until client is initialized
...
Fixes #2148
2018-03-07 10:02:02 +02:00
Pavel Djundik
8b417fe97a
Fix chat and userlist not scrolling
2018-03-06 20:21:00 +02:00
Pavel Djundik
85efebc6be
Merge pull request #2150 from thelounge/xpaw/chat-flexbox
...
Cleanup chat/userlist to use flexbox, fix a couple of bugs
2018-03-06 16:23:16 +02:00
Pavel Djundik
9188943261
Fix rejectUnauthorized
2018-03-06 11:42:06 +02:00
Pavel Djundik
e719e4ff81
Cleanup chat/userlist to use flexbox, fix a couple of bugs
2018-03-05 18:17:13 +02:00
Pavel Djundik
eab823ba66
Allow setting rejectUnauthorized per network
2018-03-04 12:45:48 +02:00
Al McKinlay
04046719c1
Merge pull request #1867 from thelounge/yamanickill/867-collapsible-network
...
Add support for collapsing networks
2018-03-03 20:01:33 +00:00
Alistair McKinlay
894d6f162d
Hide collapse button if no channels
2018-03-03 14:51:06 -05:00
Pavel Djundik
276266e24f
Center loading screen
2018-03-03 09:45:24 +02:00
Jérémie Astori
8deb056ecf
Merge pull request #1842 from thelounge/astorije/userlist-up-down
...
Move the user list client code to its own file and make it possible to navigate with keyboard
2018-03-03 02:32:09 -05:00
Jérémie Astori
49f2721908
Tweak collapse/expand icon design
...
- Animate the caret similarly to previews and status messages
- Tweak margins to center things a bit
- Remove unused CSS attributes
2018-03-02 08:57:12 +00:00
Al McKinlay
7fec928ba8
Make networks collapsable
2018-03-02 08:57:12 +00:00
Pavel Djundik
2bf4416aec
Bring back line-height on messages
...
Was removed in c051b70537
, but this affected line height on mobile view due to increased font size
2018-03-02 10:56:55 +02:00
Al McKinlay
8bbca05ad6
Merge pull request #2133 from thelounge/yamanickill/alt-up-down
...
Change ctrl/command up/down to alt/option up/down to align with other apps
2018-03-01 10:03:00 +00:00
Alistair McKinlay
9c5147ae09
Change ctrl/command up/down to alt/option up/down to align with other apps
2018-03-01 09:07:36 +00:00
William Boman
15dbbf4efc
client/themes: make code blocks more readable in darker themes
2018-03-01 09:34:29 +01:00
Pavel Djundik
00681e876f
Merge pull request #1669 from edbrannin/edbrannin/autocomplete-chat-names-1459
...
add autocompleted names to private chats
2018-02-28 18:54:44 +02:00
Pavel Djundik
20a6133d73
Remove unintentionally included lodash in client build
2018-02-28 17:19:33 +02:00
Ed Brannin
4e67e55a7d
add autocompleted names to private chats
...
Fix #1459
https://github.com/thelounge/lounge/issues/1459
Add rawNicks() to more easily get the list of nicks for the current
channel or chat without overly complicating its caller.
2018-02-28 14:25:01 +02:00
Pavel Djundik
14ef881d17
Merge pull request #1907 from thelounge/xpaw/accessible-messages-log
...
Add log role to message container
2018-02-27 13:19:46 +02:00
Pavel Djundik
59ec0348b6
Merge pull request #1930 from thelounge/astorije/ctcp-request
...
Let user know someone is making a CTCP request against their nick
2018-02-27 13:15:27 +02:00
Pavel Djundik
c051b70537
Refactor channel titles to use flexbox
2018-02-26 22:40:43 +02:00
Pavel Djundik
22b02dff31
Merge pull request #2122 from thelounge/revert-1910-xpaw/user-scalable
...
Revert "Allow scaling the page"
2018-02-26 10:35:35 +02:00
Jérémie Astori
615353c582
Make sure a previously highlighted nick in the user list is highlighted when the list is refreshed
...
List is refreshed when there is a change in the channel (join/part/quit/nick).
2018-02-26 01:36:36 -05:00
Jérémie Astori
3070ae098a
Mark the first user list result as active for convenience
...
This _also_ reproduces behavior of autocompletion dropdown.
2018-02-26 01:36:36 -05:00
Jérémie Astori
81e1d15ee9
Override mouse position when clicking on user in userlist to open dropdown at correct position
2018-02-26 01:36:36 -05:00
Jérémie Astori
ee7272305a
Adjust user list scroll when active item is outside of the visible area
2018-02-26 01:36:35 -05:00
Jérémie Astori
bfc8959bb9
Share highlighting behavior of userlist between mouse hover and keyboard selection
...
This effectively reproduces the behavior of the autocomplete menu.
2018-02-26 01:36:35 -05:00
Jérémie Astori
649d60c119
Allow navigating through userlist results from keyboard
2018-02-26 01:36:35 -05:00
Jérémie Astori
25517f3ad7
Move the user list client code to its own file
2018-02-26 01:36:34 -05:00
Jérémie Astori
02b35ab367
Revert "Allow scaling the page"
2018-02-26 01:15:00 -05:00
christer88
5d9a123827
Make channel leave button tooltip correspond with context menu
2018-02-25 02:29:05 +01:00
Jérémie Astori
2dbb150463
Merge pull request #2109 from thelounge/xpaw/fix-stuck-rendering
...
Fix "rendering..." getting stuck on first connection
2018-02-23 20:27:56 -05:00
Jérémie Astori
f18a7b2fe6
Merge pull request #2107 from thelounge/xpaw/correct-scroller
...
Always correctly trigger sticky scroll on .chat container
2018-02-23 19:38:57 -05:00
Jérémie Astori
964da1487a
Merge pull request #2101 from thelounge/xpaw/prefetch-error
...
Word prefetch errors differently
2018-02-23 19:29:19 -05:00
Pavel Djundik
bd2907c13f
Use document.body when wrapping it in a jquery object
2018-02-23 21:22:05 +02:00
Pavel Djundik
7ce1f1cf9e
Fix "rendering..." getting stuck on first connection
2018-02-23 21:18:42 +02:00
Pavel Djundik
63828b95e0
Always correctly trigger sticky scroll on .chat container
...
`.chat` has the overflow on it, and not `.messages` so stuff like scrollTop only works on `.chat`
2018-02-23 18:21:42 +02:00
Pavel Djundik
3efd888727
Word prefetch errors differently
2018-02-23 13:47:55 +02:00
Jérémie Astori
e03694b49c
Let user know someone is making a CTCP request against their nick
2018-02-22 00:42:33 -05:00
Pavel Djundik
59ec07be87
Update all links to thelounge repository
2018-02-21 22:47:52 -05:00
Al McKinlay
c09f06fccc
Change isOpInChannel to allow multiple different user roles
2018-02-21 15:05:02 +00:00
Pavel Djundik
37c61e2413
Report server errors when preview fetch fails
2018-02-20 11:33:42 +02:00
Pavel Djundik
1ce2792fc4
Merge pull request #1920 from thelounge/xpaw/more-eslint
...
Enforce padding-line-between-statements
2018-02-20 09:41:40 +02:00
Pavel Djundik
c733e72e7a
Auto-fix code for padding-line-between-statements rule
2018-02-20 09:28:04 +02:00
Pavel Djundik
a2195c15e4
Add titles to all windows
2018-02-20 09:19:20 +02:00
Pavel Djundik
7724762c14
Fix active class not being removed when switching channels
2018-02-19 21:05:05 +02:00
Jérémie Astori
bdb6064c76
Add logo to README, and make intro it look a little nicer
2018-02-19 13:21:06 -05:00
Pavel Djundik
c97352905d
Merge pull request #1962 from thelounge/xpaw/no-var
...
Enable no-var rule
2018-02-19 20:12:31 +02:00
Pavel Djundik
9ecb776760
Merge pull request #2031 from thelounge/astorije/irc-monospace
...
Improve monospace formatting in messages
2018-02-19 20:09:04 +02:00
Pavel Djundik
8886459be9
Merge pull request #2049 from thelounge/xpaw/ui-network-status
...
Sync network status and security to client UI
2018-02-19 19:57:36 +02:00
Jérémie Astori
53fe991407
Merge pull request #1980 from thelounge/astorije/website
...
Replace reference to website with new URL
2018-02-19 12:56:08 -05:00
Pavel Djundik
a3e448acf5
Enable no-var rule
...
Fixes #1961
2018-02-19 19:49:39 +02:00
Jérémie Astori
8403d277b4
Replace reference to website with new URL
2018-02-19 12:23:41 -05:00
Jérémie Astori
ab982ecc3c
Remove deprecated support for CSS filenames in theme configuration
2018-02-19 19:17:45 +02:00
Pavel Djundik
742929280d
Merge pull request #1919 from thelounge/yamanickill/image-size-error
...
Show error if image is greater than max prefetch size
2018-02-19 18:49:18 +02:00
Pavel Djundik
b82ceb162b
Merge pull request #2059 from thelounge/xpaw/motd
...
Render MOTD with a single message
2018-02-19 18:42:16 +02:00
Pavel Djundik
0044be266e
Merge pull request #1727 from thelounge/astorije/node-6
...
Switch to Node v6 as the minimal supported version
2018-02-19 18:41:23 +02:00
Pavel Djundik
558a6fba0a
Merge pull request #1915 from thelounge/xpaw/aria-tablist
...
Turn channel list into an accessible tablist
2018-02-19 18:33:28 +02:00
Jérémie Astori
416f45d1e3
Use some ES6/Node v4-only syntax when possible
2018-02-19 18:30:00 +02:00
Pavel Djundik
13a53706f0
Merge pull request #1760 from thelounge/astorije/rm-object.assign-polyfill
...
Get rid of `Object.assign` polyfill
2018-02-19 18:29:45 +02:00
Pavel Djundik
b57830b859
Sync network status and security to client UI
...
Co-Authored-By: Jérémie Astori <astorije@users.noreply.github.com>
2018-02-19 13:12:01 +02:00
Pavel Djundik
e448dc711c
Turn channel list into an accessible tablist
2018-02-18 09:58:44 +02:00
Pavel Djundik
23b59ece45
Allow scaling the page
2018-02-18 01:45:57 -05:00
Pavel Djundik
38bc8e6782
Display password field when displayNetwork is false
...
Fixes #509
2018-02-17 10:23:01 +02:00
Pavel Djundik
d1e5a8f492
Render MOTD with a single message
2018-02-14 11:00:46 +02:00
Pavel Djundik
116a73c8d0
Remove actionTypes and check templates directly
2018-02-14 11:00:45 +02:00
Pavel Djundik
f7449c565f
Fix border after nickname not taking full height
...
Fixes #2054
2018-02-13 12:37:10 +02:00
Pavel Djundik
12bbaef4ab
Unbind image events after the image is loaded
2018-02-08 14:54:57 +02:00
Pavel Djundik
339f65295d
Make sure packages can be referenced in subfolders
2018-02-08 10:57:57 +02:00
Pavel Djundik
85cb039426
Still render link previews if image fails to load
2018-02-07 17:40:15 +02:00
Pavel Djundik
a9198b1cf6
Fix duplicate chat containers and unread markers when reconnecting
...
Fixes #1721
2018-02-06 11:10:11 +02:00
Pavel Djundik
60777b9b1f
Fix default theme not being correct
2018-02-04 19:54:07 +02:00
Jérémie Astori
003ae7131b
Improve monospace formatting in messages
...
This effectively styles it just like to `code` syntax used in the Help window, such as in the list of available commands.
2018-02-03 12:53:33 -05:00
Pavel Djundik
51d5a4eff4
Fix #2028 - Messages are not condensed correctly
2018-02-03 10:43:39 +02:00
Jérémie Astori
91e3ca88bb
UI for "Image too large" errors
2018-02-01 21:14:37 -05:00
Al McKinlay
335bd803af
Show error if image is greater than max prefetch size
2018-02-01 21:09:45 -05:00
Pavel Djundik
6d6b5cb2a9
Remove deprecated jQuery calls
...
Fixes #2011
2018-02-01 12:15:51 +02:00
Pavel Djundik
1904e9b0ab
Merge pull request #2013 from thelounge/xpaw/fix-1959
...
Fix #1959 : Do not block /join command from being sent
2018-02-01 10:08:22 +02:00
Pavel Djundik
b4951b1f86
Fix auto-open media option not working
...
Bug introduced in ffa9685b41
2018-02-01 09:57:15 +02:00
Pavel Djundik
b765abcb65
Fix textcomplete reference in autocompletion.disable
2018-01-31 21:06:29 +02:00
Pavel Djundik
ffa9685b41
Merge pull request #1925 from thelounge/xpaw/img-preview-preload
...
Preload preview images before appending them to DOM
2018-01-31 10:07:20 +02:00
Jérémie Astori
dcdc1d150f
Merge pull request #1979 from thelounge/astorije/index
...
Do not statically serve the index template prior to rendering it
2018-01-30 19:21:07 -05:00
Pavel Djundik
869e978a99
Fix #1959 : Do not block /join command from being sent
2018-01-30 11:14:17 +02:00
Pavel Djundik
4f5807b8fe
Merge pull request #1856 from MaxLeiter/close-channel-tooltip
...
Add tooltip to channel close button
2018-01-30 11:12:30 +02:00
Jérémie Astori
8d124dd2a2
Merge pull request #1924 from thelounge/xpaw/img-decoding
...
Set decoding=async on image previews
2018-01-30 00:22:22 -05:00
Jérémie Astori
ff9dd3833e
Merge pull request #1993 from milindl/feat/chan-auto-current
...
Show channels for only active server in autocomplete
2018-01-30 00:12:45 -05:00
Pavel Djundik
43aceccb41
Set start_url in manifest.json
2018-01-29 19:46:54 +02:00
Max Leiter
8057c416fb
Add tooltip to close channel/leave query button on sidebar
2018-01-29 09:36:09 -08:00
Jérémie Astori
15ea2db31b
Merge pull request #1999 from thelounge/astorije/fix-timestamp-tooltip
...
Fix timestamp tooltips not aligning correctly with timestamps
2018-01-29 01:07:55 -05:00
Jérémie Astori
2640c2a15e
Merge pull request #1955 from thelounge/xpaw/fix-touch-select
...
Prevent user contextmenu from opening while selecting text
2018-01-29 01:07:36 -05:00
Jérémie Astori
ede37b9cb6
Merge pull request #1931 from thelounge/astorije/build-views
...
Build template list at Webpack time instead of manually keeping this in sync with the views folders
2018-01-29 01:04:06 -05:00
Alistair McKinlay
0b83ba6a40
Stop expanding condensed messages on /expand
2018-01-26 08:52:51 +00:00
Jérémie Astori
5722bd9845
Allow timestamp tooltips to expand beyond message boundaries
2018-01-24 00:22:18 -05:00
Jérémie Astori
6bfd6ed473
Fix timestamp tooltips not aligning correctly with timestamps
2018-01-23 00:49:17 -05:00
milindl
d6d54c2c56
Show channels for only active server in autocomplete
...
Fix #1381 .
2018-01-20 18:24:21 +05:30
Jérémie Astori
33d82287be
Do not statically serve the index template prior to rendering it
...
Without this, going to `https://thelounge.example.com/index.html ` would return the raw file. This now excludes it from the `public` folder so it cannot be rendered as is.
Renaming the file is for good measure, to indicate that this HTML file must be templated. Because it is a straight rename with no modification, rebasing PRs on it should not be to painful, as git re-applies changes on renamed files.
2018-01-14 13:02:27 -05:00
Jérémie Astori
40aadf7c95
Merge pull request #1619 from thelounge/1447-css-plugin
...
Allow custom css from plugins
2018-01-10 21:44:47 -05:00
Pavel Djundik
31c33e43d5
Provide correct timestamp to browser notifications
2018-01-09 18:47:13 +02:00
Pavel Djundik
e77de3315a
Prevent user contextmenu from opening while selecting text
2018-01-09 18:16:20 +02:00
Al McKinlay
3510094665
Allow custom css from plugins
2018-01-05 17:40:47 +00:00
William Boman
dfe4b2f6d6
fix animation jitter when clicking join channel button
2018-01-04 10:53:07 +01:00
Jérémie Astori
313a321918
Merge pull request #1916 from williamboman/fix/no-autocomplete-channel-join
...
views/join_channel: disable autocompletion of form inputs
2018-01-04 00:29:52 -05:00
Jérémie Astori
a122ed5b7f
Build template list at Webpack time instead of manually keeping this in sync with the views folders
2018-01-02 01:38:57 -05:00
Pavel Djundik
f38fa9b98e
Set decoding=async on image previews
2017-12-29 21:57:52 +02:00
Pavel Djundik
e98291dd3f
Preload preview images before appending them to DOM
2017-12-29 12:30:15 +02:00
Jérémie Astori
04fee16fec
Fix CSS currently failing Stylelint checker
2017-12-28 17:07:08 -05:00
William Boman
f3b64958cb
views/join_channel: disable autocompletion of form inputs
2017-12-28 13:51:28 +01:00
Pavel Djundik
069cb6192f
Mute disabled inputs
2017-12-28 10:44:37 +02:00
Jérémie Astori
322987a204
Merge pull request #1906 from thelounge/xpaw/aria-label-input
...
Set aria-label on main input
2017-12-28 00:13:52 -05:00
Pavel Djundik
3cd99816b8
Add screen reader label for custom css textarea
2017-12-27 22:48:03 +02:00
Pavel Djundik
48ebde6008
Add log role to message container
...
Fixes #936
2017-12-27 22:43:21 +02:00
Pavel Djundik
bd9e219d92
Set aria-label on main input
2017-12-27 22:34:19 +02:00
Pavel Djundik
349136f172
Do not match nicknames incorrectly as part of a bigger word
...
Fixes #1776
Fixes #1885
2017-12-27 20:44:59 +02:00
Pavel Djundik
d16b18de78
Open context menu inside of chats on sidebar item
2017-12-26 20:40:02 +02:00
Jérémie Astori
a392b9f35f
Improve a bit window loading on init
2017-12-25 18:19:12 -05:00
Jérémie Astori
1fc2051c1d
Merge pull request #1897 from thelounge/astorije/improve-version-checker
...
Improve the version checking and changelog features
2017-12-25 17:57:27 -05:00
Jérémie Astori
f725e944dd
Add (semi-working) image viewer support for images shown in changelogs
...
Semi-working because this does not support Preview/Next. The existing image viewer is very custom to in-channel message previews and expects a certain markup, that needs rework tobe more generic.
2017-12-25 17:44:55 -05:00
Jérémie Astori
3eb429dde3
Make sure all links will open a new tab instead of exiting the application
2017-12-25 17:44:55 -05:00
Jérémie Astori
238e894377
Improve the version checking part of the changelog feature
...
- There is no client caching of the changelog/version anymore. Instead, server returns the expiration date of its cache, and that is used by the client as well.
- There is now a "Check now" button on the client that appears when data is stale. This means that info is fetched only once and never refreshed (it was refreshed every hour before) unless the user explicitly wants to check latest version, which in turn is as stale as server info is, i.e. 15 minutes max.
- Button style is shared with the "Join a channel" feature, `.btn-small` (not `.btn-sm` to be explicit that this is not a Bootstrap thing).
- Version checker content is now centralized in the `version_checker` template, instead of being partially in the checker template, partially in the Help template, and partially in the code.
- A "Try again" button lets user attempt to fetch info instead of forcing them to reload the page.
- Use Flexbox to display a nicer version checker: icon is slightly bigger, and button is always aligned on the right.
- Changelog logic has been removed from `lounge.js` and moved into the component file.
- Changelog template is only passed what it needs instead of everything the server gives us.
- Public version now displays version checker, since server is caching things.
- Cleaner code overall.
2017-12-25 17:44:53 -05:00
Pavel Djundik
3c8fcadfe8
Merge pull request #1895 from thelounge/xpaw/sw-notification-focus
...
Open and focus correct channel when clicking on push notifications
2017-12-25 11:59:47 +02:00
Pavel Djundik
80c11f2bde
Fix error not showing up in failed push subscription
2017-12-24 22:12:36 +02:00
Jérémie Astori
12dd11bd10
Merge pull request #1889 from thelounge/astorije/fix-window-on-load
...
Display the correct window on page reload
2017-12-24 14:47:13 -05:00
Pavel Djundik
f81f083b24
Open and focus correct channel when clicking on push notifications
...
Affects all notifications sent via service workers
Fixes #1550
2017-12-24 16:06:23 +02:00
Jérémie Astori
7f165a7593
Fix slideout not closing on mobile when hitting a footer icon
...
Introduced by 9691df67e3 (diff-e5178f7b74fe45f2cfe1baf9aa1ef6faR347)
.
Seriously...
2017-12-24 02:51:58 -05:00
Jérémie Astori
d1c2f0df72
Display the correct window on page reload
...
This commit packs 2 fixes:
- Reloading the page while viewing the settings or help window would now send you to a channel window. This was broken when fixing an issue with the "Join a channel..." form
- Reloading the page while viewing the changelog would also send you to a channel window. This is because, on reload, the click emitted was restricted to sidebar and footer, while it had to be emitted from the help page. It is yet another aspect of our wonky window management and hopefully we can make this much more robust with a better overall solution.
2017-12-23 20:46:43 -05:00
Pavel Djundik
7c2422ee19
Merge pull request #1881 from thelounge/astorije/fix-join-channel-load
...
Fix join channel UI opening by itself
2017-12-23 23:17:21 +02:00
Jérémie Astori
32a95c4d75
Merge pull request #1327 from thelounge/xpaw/view-changelog
...
Changelog viewer and updater checker in the client
2017-12-23 16:13:29 -05:00