Commit Graph

4093 Commits

Author SHA1 Message Date
Pavel Djundik
3886c2a82f Hide autocompletion menu when input is submitted
Fixes #2209
2018-03-23 12:20:53 +03:00
Pavel Djundik
18c82f2d06
Merge pull request #2283 from thelounge/greenkeeper/textcomplete-0.17.0
Update textcomplete to the latest version 🚀
2018-03-23 12:05:52 +03:00
Pavel Djundik
051f6c5a7f Autocomplete bracket and quote characters like in a modern IDE 2018-03-23 12:03:36 +03:00
greenkeeperio-bot
2e7f6d4b6a chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-23 06:56:56 +00:00
Jérémie Astori
51696ed813
Merge pull request #2280 from thelounge/greenkeeper/mocha-5.0.5
Update mocha to the latest version 🚀
2018-03-23 02:53:31 -04:00
greenkeeper[bot]
1672de266e chore(package): update textcomplete to version 0.17.0 2018-03-23 06:53:07 +00:00
Jérémie Astori
43be85cee9
Reduce lightness of low contrast nick colors to reach AA level of WCAG 2.0 2018-03-23 01:19:43 -04:00
greenkeeperio-bot
ab74fa6e2c chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-23 04:33:56 +00:00
greenkeeper[bot]
5ebd6e313b chore(package): update mocha to version 5.0.5 2018-03-23 04:31:37 +00:00
Jérémie Astori
de59dc7d9f
Merge pull request #2258 from thelounge/xpaw/fix-2257
Unfocus input on touch devices to close the keyboard
2018-03-22 21:39:00 -04:00
Al McKinlay
8194433372
Merge pull request #2274 from thelounge/issue-template
Create issue template
2018-03-22 16:33:54 +00:00
Pavel Djundik
819f6c5ad2
Merge pull request #2273 from thelounge/xpaw/oidentd-order
Fix order in oidentd file
2018-03-22 18:30:49 +02:00
Pavel Djundik
69c7b32c1d Create issue template
[skip ci]
2018-03-22 17:32:58 +02:00
Pavel Djundik
95047ba695
Fix order in oidentd file
oident'd parser expects exact order and the man page is written incorrectly.
2018-03-22 13:44:43 +02:00
Pavel Djundik
6f47a78afd Unfocus input on touch devices to close the keyboard
Fixes #2257
2018-03-22 12:47:15 +02:00
Pavel Djundik
c8b5165618
Merge pull request #2268 from thelounge/xpaw/self-condensed
Do not condense actions that are performed or related to the user
2018-03-22 11:41:23 +02:00
Jérémie Astori
39a6ff8a2b
Merge pull request #2271 from thelounge/greenkeeper/eslint-4.19.1
Update eslint to the latest version 🚀
2018-03-22 01:30:09 -04:00
greenkeeperio-bot
bf77cb57fd chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-03-22 02:46:35 +00:00
greenkeeper[bot]
31e97fdd0e chore(package): update eslint to version 4.19.1 2018-03-22 02:43:38 +00:00
Jérémie Astori
96ea3accdf
Merge pull request #2269 from thelounge/greenkeeper/sinon-4.4.7
Update sinon to the latest version 🚀
2018-03-21 20:28:15 -04:00
greenkeeper[bot]
a0983ac2da
chore(package): update sinon to version 4.4.8 2018-03-21 20:21:27 -04:00
Pavel Djundik
0be544676b Do not condense actions that are performed or related to the user 2018-03-21 14:48:07 +02:00
Jérémie Astori
dbe81f1e59
Merge pull request #2254 from thelounge/astorije/sign-out-settings
Empty local storage on sign out and move the sign out button to the settings
2018-03-20 21:06:44 -04:00
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