Jérémie Astori
5738642d44
Fix/Improve some nick fallbacks
...
- Rename a forgotten `lounge-user`
- Generate nick fallbacks when already in use by appending 0-9 instead of 10-98 (?!).
- Generate nick fallbacks when invalid similarly to our config default instead of random string. This is to make it less confusing when fallback gets used.
2018-03-26 03:00:46 -04:00
Jérémie Astori
fab237d373
Merge pull request #2292 from thelounge/xpaw/tests
...
Fix lint issue on master; increase timeout globally on CI
2018-03-25 17:11:15 -04:00
Pavel Djundik
a222dc9237
Ensure sqlite tests are serialized
2018-03-25 16:00:48 +03:00
Pavel Djundik
1ddc617b79
Fix lint issue
2018-03-24 22:53:02 +02:00
Jérémie Astori
d8eed4d15e
Merge pull request #2282 from thelounge/astorije/accessible-nick-colors
...
Reduce lightness of low contrast nick colors to reach AA level of WCAG 2.0
2018-03-24 15:42:35 -04:00
Pavel Djundik
80c6e48b98
Merge pull request #2287 from thelounge/xpaw/accept
...
Send `Accept` header when fetching links
2018-03-24 16:58:00 +02:00
Jérémie Astori
13768a7d28
Merge pull request #2285 from thelounge/xpaw/consistent-as-needed
...
quote-props: consistent-as-needed
2018-03-24 02:29:13 -04:00
Jérémie Astori
0d9eb5d198
Reduce lightness of low contrast nick colors to reach AA level of WCAG 2.0, for Zenburn theme
2018-03-24 02:05:08 -04:00
Pavel Djundik
beb2af73b7
Merge pull request #2284 from thelounge/xpaw/fix-2209
...
Hide autocompletion menu when input is submitted
2018-03-23 22:40:59 +03:00
Pavel Djundik
ca96d09a23
Send Accept header
...
Closes #2277
2018-03-23 20:17:03 +02:00
Pavel Djundik
f82edcd7e7
quote-props: consistent-as-needed
2018-03-23 16:15:59 +02:00
Pavel Djundik
3afc38efcb
Merge pull request #2275 from thelounge/xpaw/autocomplete-brackets
...
Autocomplete bracket and quote characters like in a modern IDE
2018-03-23 12:21:37 +03:00
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