Commit Graph

5770 Commits

Author SHA1 Message Date
Jérémie Astori
e37ae0c559
Merge pull request #2265 from thelounge/greenkeeper/primer-tooltips-1.5.3
Update primer-tooltips to the latest version 🚀
2018-03-20 19:44:04 -04:00
Jérémie Astori
bb4740ba76
Merge pull request #2259 from thelounge/xpaw/keybind-scroll
Scroll channel list only when using keybinds
2018-03-20 19:40:14 -04:00
Pavel Djundik
528d2b5fb7
Scroll channel list only when using keybinds 2018-03-20 19:27:07 -04:00
Jérémie Astori
d7d8a51332
Merge pull request #2262 from realies/master
stop propagation, prevent input history call when alt is involved
2018-03-20 19:23:22 -04:00
Jérémie Astori
f6f8cd7a29
Merge pull request #2263 from thelounge/xpaw/hotkeys-input
Bind formatting hotkeys on input element
2018-03-20 19:22:31 -04:00
greenkeeperio-bot
69cc8b3c89 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-20 20:01:00 +00:00
greenkeeper[bot]
810a6b8125 fix(package): update primer-tooltips to version 1.5.3 2018-03-20 19:58:33 +00:00
realies
72af0a4947 stop propagation, prevent input history call when alt is involved 2018-03-20 21:00:03 +02:00
Pavel Djundik
3c1db1d7d6 Bind formatting hotkeys on input element
And bind only one event for all of the hotkeys
2018-03-20 20:57:19 +02:00
Pavel Djundik
453eab3a12
Merge pull request #2252 from thelounge/astorije/coverage-windows
Fix `yarn coverage` script on Windows
2018-03-20 09:45:14 +02:00
Pavel Djundik
e4e570381c
Merge pull request #2255 from MaxLeiter/ctcp_abbr
Fix typo in CTCP request
2018-03-20 09:42:19 +02:00
Max Leiter
817141a781 Fix typo 2018-03-20 13:35:54 +07:00
Jérémie Astori
97a9f7c8ff
Merge pull request #2253 from thelounge/greenkeeper/commander-2.15.1
Update commander to the latest version 🚀
2018-03-20 02:08:48 -04:00
Jérémie Astori
c86ea9463d
Use Sinon to stub the logger instead of manual stubbing 2018-03-20 01:54:04 -04:00
Jérémie Astori
d1548572d4
Move the sign out button to the settings and empty local storage on sign out
This change improves privacy/security by ensuring all local storage (which includes settings, etc.) is destroyed on sign out or when revoking a remote session. Because signing out is now more "risky", the button has been moved to the settings along with other existing sessions.

This commit:

- Removes the power/sign-out icon from the sidebar footer (gives additional room for when the admin panel gets added)
- Adds a "Sign out" button next to the current session info in the settings session list
- Renames "Disconnect" buttons into "Revoke" to better clarify the intent (I will admit that I borrowed the wording from Telegram)
- Fixes incorrect `localStorage.remove` method
- Uses Sinon.js to mock wrappers for `window.localStorage` and `window.location` (does not mock those themselves, in the "Do not mock what you do not own" fashion, mock our layer instead). I expect we will be able to test a bit more from the UI with this. A good next candidate will be the `mockLogger` things.
2018-03-20 01:52:22 -04:00
greenkeeperio-bot
5804af2082 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-20 01:56:41 +00:00
greenkeeper[bot]
85b7c01c2d fix(package): update commander to version 2.15.1 2018-03-20 01:52:14 +00:00
Jérémie Astori
22725968e8
Fix yarn coverage script on Windows 2018-03-19 20:01:25 -04:00
Pavel Djundik
5d6ea4f32e
Merge pull request #2251 from thelounge/xpaw/canplay
Render video and audio previews only after canplay event fires
2018-03-19 20:08:14 +02:00
Pavel Djundik
7554600dd4
Merge pull request #2221 from thelounge/astorije/shortcut-help
Improve readability and styling of shortcut keys in the Help section
2018-03-19 20:00:37 +02:00
Pavel Djundik
77a98bfd14 Render video and audio previews only after canplay event fires 2018-03-19 12:47:36 +02:00
Jérémie Astori
883b6dbef2
Improve readability and styling of shortcut keys in the Help section 2018-03-19 01:45:48 -04:00
Jérémie Astori
8ecacc9978
Merge pull request #2186 from MaxLeiter/emoji-tip
Improve accessibility for emoji
2018-03-18 15:50:57 -04:00
Pavel Djundik
430d48434c
Merge pull request #2248 from MaxLeiter/underline-strikethrough
Support strikethrough and underline at same time
2018-03-18 21:49:16 +02:00
Max Leiter
9053a0bb6a Strikethrough and underline support 2018-03-18 12:37:53 -07:00
Max Leiter
01753a814c Improve accessibility for emoji 2018-03-18 12:13:48 -07:00
Al McKinlay
e43c591890
Merge pull request #2195 from thelounge/mcinkay/collapse-state
Save collapsed state to localstorage
2018-03-18 16:41:00 +00:00
Al McKinlay
6195e5d8f6 Save collapsed state to localstorage 2018-03-18 16:12:10 +00:00
Pavel Djundik
039c12266a
Merge pull request #2246 from thelounge/astorije/sidebar-overlay
Add a semi-opaque overlay when channel list is open on mobile
2018-03-18 18:00:23 +02:00
Jérémie Astori
1632ae27d0
Merge pull request #2247 from thelounge/xpaw/failed-login-log
Print failed login attempts to console
2018-03-18 11:14:00 -04:00
Jérémie Astori
8d72cb1416
Remove transition on box-shadow as it affects performance (and is not _that_ noticeable) 2018-03-18 03:00:49 -04:00
Jérémie Astori
8100f98d6b
Handle scrolls 0-45° as horizontal (opening the menu); 45-90° as vertical (chat scroll) 2018-03-18 01:18:43 -04:00
Jérémie Astori
6828cd1075
Fix transitions of sidebar overlay 2018-03-17 21:08:08 -04:00
Pavel Djundik
84f460d9b8 Make slideout work anywhere on the screen
Also makes touchmove event passive
2018-03-17 11:40:15 +02:00
Pavel Djundik
5bb0b198e6 Disable scrolling through sidebar overlay 2018-03-17 11:35:33 +02:00
Pavel Djundik
ed4b6e85ac Print failed login attempts to console 2018-03-17 10:09:59 +02:00
Jérémie Astori
1e8c0547ec
Add a semi-opaque overlay when channel list is open on mobile 2018-03-17 03:13:43 -04:00
Jérémie Astori
cf49a3427e
Ensure links in chats cannot be opened by accident when closing the channel list 2018-03-17 03:12:30 -04:00
Jérémie Astori
4c0479fe3d
Merge pull request #2244 from thelounge/greenkeeper/eslint-4.19.0
Update eslint to the latest version 🚀
2018-03-17 00:03:23 -04:00
Jérémie Astori
c395e74e64
Merge pull request #2235 from thelounge/xpaw/store-sidebar-visibility
Store visibility status of sidebar menus
2018-03-16 23:57:24 -04:00
Jérémie Astori
4c62b0d50c
Merge pull request #2225 from thelounge/mcinkay/2224-collapse-select-lobby
Select lobby of network when collapsing network
2018-03-16 21:49:16 -04:00
greenkeeperio-bot
5339f529aa chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-17 00:04:33 +00:00
greenkeeper[bot]
7fd200db63 chore(package): update eslint to version 4.19.0 2018-03-17 00:02:12 +00:00
Jérémie Astori
97973d47f2
Merge pull request #2243 from birkof/master
Incorrect spelling
2018-03-16 19:17:46 -04:00
Daniel STANCU
bf4d55564c Incorrect spelling 2018-03-17 00:44:19 +02:00
Pavel Djundik
0858938eea
Merge pull request #2242 from thelounge/xpaw/fix-master
Keep input reference as jquery object
2018-03-16 18:56:34 +02:00
Pavel Djundik
d3d4dce54d
Merge pull request #2241 from thelounge/stop-slacking-greenkeeper
Update express to 4.16.3
2018-03-16 18:37:49 +02:00
Pavel Djundik
fdd321311e Keep input reference as jquery object 2018-03-16 18:37:12 +02:00
Pavel Djundik
e987917c64
Merge pull request #2215 from thelounge/xpaw/out-of-focus-typing
Do not aggressively focus input when clicking anywhere and handle typing out of focus
2018-03-16 18:25:38 +02:00
Pavel Djundik
60a8f61040 Update express to 4.16.3 2018-03-16 18:18:30 +02:00