Commit Graph
100 Commits
Author SHA1 Message Date
Jérémie Astori 1daad45f11 Use the new logo for favicons, notifications badges, and homescreen app icons 2018-04-28 12:14:41 -04:00
Jérémie AstoriandPavel Djundik 8618af2ee0 Run Travis CI against Node v10 2018-04-28 11:46:44 +03:00
Jérémie AstoriandGitHub 92c4df6e9c Merge pull request #2390 from thelounge/xpaw/network-uuid
Remove network ids and use uuids everywhere
2018-04-27 01:23:49 -04:00
Jérémie AstoriandGitHub 4ff5995617 Merge pull request #2386 from thelounge/xpaw/quits-parts
Count quits as parts in condensed messages to reduce information density
2018-04-25 21:24:58 -04:00
Jérémie AstoriandGitHub c5564f6bff Merge pull request #2383 from thelounge/xpaw/condensed-join-part
Make condensed joins and parts shorter
2018-04-25 21:03:56 -04:00
Jérémie AstoriandGitHub d202eaa267 Merge pull request #2384 from thelounge/greenkeeper/lodash-4.17.9
Update lodash to the latest version 🚀
2018-04-24 19:55:58 -04:00
Jérémie AstoriandGitHub 73b1293522 Merge pull request #2379 from thelounge/xpaw/unsafe-perm
Document npm's unsafe-perm
2018-04-24 01:22:06 +00:00
Jérémie AstoriandGitHub 3d56e0aad0 Merge pull request #2381 from thelounge/xpaw/autocomplete-nick
Fix your own nick in auto completion
2018-04-24 01:21:29 +00:00
Jérémie AstoriandGitHub 8e2cce5b43 Merge pull request #2376 from thelounge/greenkeeper/webpack-cli-2.0.15
Update webpack-cli to the latest version 🚀
2018-04-21 22:20:43 +02:00
Jérémie AstoriandGitHub ccb01d964c Merge pull request #2355 from Jay2k1/Jay2k1-opvoice
Add 'op' and 'voice' user context menu items
2018-04-21 22:12:41 +02:00
Jérémie AstoriandGitHub 49c5e6a502 Merge pull request #2369 from thelounge/astorije/show-older-msg-btn
Make "Show older messages" style consistent with other buttons
2018-04-20 19:04:52 +02:00
Jérémie AstoriandGitHub bb260c4c04 Merge pull request #2368 from thelounge/astorije/window-header
Remove header border on non-chat windows and reduce top margin a bit more
2018-04-20 19:04:20 +02:00
Jérémie Astori ec8e4fc458 Make sure the channel list button stays always visible 2018-04-20 17:05:53 +02:00
Jérémie Astori 1762db8bd4 Make "Show older messages" style consistent with other buttons
Also store the loading text in a `data` attribute instead of duplicate in template + JS, in order to help with future internationalization
2018-04-18 00:12:24 +02:00
Jérémie Astori c9dc323bcc Remove header border on non-chat windows and reduce top margin a bit more 2018-04-17 23:36:30 +02:00
Jérémie Astori 235a3dad92 Quick-fix tooltips not being loaded by Webpack 2018-04-17 23:07:12 +02:00
Jérémie Astori 0661b4aa37 Fix user list scroll area expanding behind the message input on mobile 2018-04-17 00:27:36 +02:00
Jérémie AstoriandGitHub 31646f2a28 Merge pull request #2337 from thelounge/xpaw/remove-nick-edit
Remove nick editor
2018-04-16 19:53:17 +02:00
Jérémie AstoriandGitHub 7ed8188f54 Merge pull request #2358 from thelounge/greenkeeper/yarn-1.6.0
Update yarn to the latest version 🚀
2018-04-16 19:37:45 +02:00
Jérémie AstoriandGitHub 0797cfad84 Merge pull request #2361 from thelounge/astorije/version
Add project version in outputs that mention source SHA
2018-04-16 16:22:39 +02:00
Jérémie Astori 2006902b8a Check if working directory is a git repo itself before getting commit hash 2018-04-16 16:16:52 +02:00
Jérémie Astori 3cf4e2105e Ignore stderr of git version check instead of redirecting it to /dev/null 2018-04-16 15:50:24 +02:00
Jérémie AstoriandGitHub 62917d3d1f Merge pull request #2363 from thelounge/xpaw/fix-2362
Fix nicks with special characters being colored incorrectly in messages
2018-04-16 15:24:53 +02:00
Jérémie Astori 34f4d0abf4 Add project version in outputs that mention source SHA 2018-04-16 00:19:25 +02:00
Jérémie AstoriandGitHub a242fb15a3 Merge pull request #2356 from thelounge/xpaw/placeholder
Update placeholder rules for modern browsers
2018-04-14 17:22:28 -04:00
Jérémie AstoriandGitHub 81188e8ef6 Merge pull request #2354 from thelounge/greenkeeper/mocha-5.1.0
Update mocha to the latest version 🚀
2018-04-12 23:41:30 -04:00
Jérémie AstoriandGitHub 5a9233c426 Merge pull request #2349 from thelounge/astorije/fix-previews
Fix previews on Morning (and others)
2018-04-12 09:27:50 -04:00
Jérémie Astori ee6fb8c619 Fix color of "More" preview button in Morning 2018-04-12 00:52:05 -04:00
Jérémie Astori 2b051194c8 Fix preview text color overriding inherited color
This messes up dark themes, or really any theme that does not use #222 as body color...
2018-04-12 00:45:49 -04:00
Jérémie AstoriandGitHub b08b23d59e Merge pull request #2328 from thelounge/astorije/local-themes
Local themes
2018-04-12 00:23:11 -04:00
Jérémie AstoriandGitHub 39ca8f74ae Merge pull request #2272 from thelounge/astorije/improve-previews
Improve UI of previews
2018-04-12 00:21:38 -04:00
Jérémie AstoriandGitHub 6f3c88663a Merge pull request #2317 from creesch/syncDefault
Enable sync on empty localstorage, force sync, sync on both load and reconnect.
2018-04-11 01:30:03 -04:00
Jérémie AstoriandGitHub 7d1af273d1 Merge pull request #2344 from thelounge/xpaw/client-guid
Replace client ids with guids
2018-04-11 00:13:30 -04:00
Jérémie Astori bb16b3e30b Simplify showing/hiding "More" button of a new preview on active channel 2018-04-09 21:39:41 -04:00
Jérémie Astori d55420faae Bind a single resize event, debounced, instead of one handler per preview 2018-04-09 21:39:41 -04:00
Jérémie Astori ac02bd370b Do not compute preview "More" buttons on mobile 2018-04-09 21:39:40 -04:00
Jérémie Astori dbabdd83dc Lighten the "More" button handler when checks are not necessary 2018-04-09 21:39:40 -04:00
Jérémie Astori 8d255fc331 Only bind preview "More" buttons on link previews 2018-04-09 21:39:40 -04:00
Jérémie Astori 1ccdeb015c Trigger the correct event directly instead of resize when opening/closing a menu 2018-04-09 21:39:39 -04:00
Jérémie Astori 53a2101de3 Make sure preview "More" button computation does nothing when preview is collapsed 2018-04-09 21:39:39 -04:00
Jérémie Astori 5bff07f6f6 Fix handling preview More buttons on inactive channels 2018-04-09 21:39:38 -04:00
Jérémie Astori 527cac4c75 Debounce resize event to avoid performance bottleneck 2018-04-09 21:39:38 -04:00
Jérémie Astori 7355db94d6 Improve UI of previews
- Remove margins around thumbnails and images, increase radius, etc. for a fresher look overall
- Increase preview body contrast just enough to pass AA standards
- Add a `More`/`Less` button to expand previews that take more than one line. Button is added only when necessary
- Use a zoom-in cursor on hover for thumbnails
- Improve preview message errors
2018-04-09 21:39:38 -04:00
Jérémie AstoriandGitHub d28a9a9253 Merge pull request #2338 from thelounge/greenkeeper/webpack-dev-server-3.1.2
Update webpack-dev-server to the latest version 🚀
2018-04-07 13:23:57 -04:00
Jérémie AstoriandPavel Djundik bbb41a2b5b Fix yarn text:browser not loading any test 2018-04-06 12:52:53 +03:00
Jérémie AstoriandPavel Djundik d6e6dab565 Fix a forgotten npm reference 2018-04-06 12:52:53 +03:00
Jérémie Astori 4e8cc2e164 Update sinon to the latest version
No sure why Greenkeeper missed it but oh well.
2018-04-06 02:03:15 -04:00
Jérémie Astori 62fb5524ae Switch client to default theme when it is using a theme that has been removed 2018-04-02 23:51:59 -04:00
Jérémie Astori 4e5c924e5c Add CLI messages to help users transition their themes 2018-04-02 23:51:58 -04:00
Jérémie Astori be591d016a Rename Example theme 2018-04-02 23:51:57 -04:00
Jérémie Astori 7b13c6f076 Remove Crypto and Zenburn themes from the core codebase 2018-04-01 20:01:38 -04:00
Jérémie AstoriandGitHub 36a62fb365 Merge pull request #2321 from MaxLeiter/header-margin
Fix .container margins
2018-04-01 18:38:07 -04:00
Jérémie AstoriandGitHub 7591088982 Merge pull request #2290 from lol768/feature/join-alias-query-param
Add ?channels=x,y,z alias for ?join=x,y,z
2018-03-31 14:05:25 -04:00
Jérémie Astori 09a6c8b067 Fix autocomplete selection when hitting Enter 2018-03-29 22:04:08 -04:00
Jérémie AstoriandGitHub 153d9c6b2c Merge pull request #2309 from thelounge/xpaw/example-padding
Remove left padding from sidebar in example theme
2018-03-29 19:50:01 -04:00
Jérémie AstoriandGitHub 205fed6992 Merge pull request #2311 from thelounge/greenkeeper/socket.io-client-2.1.0
Update socket.io-client to the latest version 🚀
2018-03-29 19:46:59 -04:00
Jérémie AstoriandGitHub 86474bd535 Revert "Exclude Node v9.9 from Travis build, for now" 2018-03-29 19:46:05 -04:00
Jérémie AstoriandGitHub 5196c1ebad Merge pull request #2310 from thelounge/greenkeeper/socket.io-2.1.0
Update socket.io to the latest version 🚀
2018-03-29 19:36:51 -04:00
Jérémie AstoriandGitHub fe08547d6b Merge pull request #2289 from lol768/master
Add auto-prepend behaviour for unprefixed channel names
2018-03-29 01:19:45 -04:00
Jérémie AstoriandGitHub faf8e525b3 Merge pull request #2303 from tilde-team/master
catch stderr from yarn subprocess, addresses #2301
2018-03-29 00:25:38 -04:00
Jérémie AstoriandGitHub 45bdfe205a Merge pull request #2307 from thelounge/greenkeeper/istanbul-instrumenter-loader-3.0.1
Update istanbul-instrumenter-loader to the latest version 🚀
2018-03-29 00:18:11 -04:00
Jérémie Astori 12cdec3f2e 3.0.0-pre.5 2018-03-28 03:13:30 -04:00
Jérémie Astori ac4c857146 Add changelog entry for v3.0.0-pre.5 2018-03-28 03:13:11 -04:00
Jérémie Astori 7d057a9ca7 Fix bug preventing to click on channels/queries
This bug is present both in channel list, #channel in messages, etc.
2018-03-27 19:28:20 -04:00
Jérémie Astori 3d04afa4f6 3.0.0-pre.4 2018-03-27 19:17:11 -04:00
Jérémie Astori 9aa6f3f590 Add changelog entry for v3.0.0-pre.4 2018-03-27 19:16:36 -04:00
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 0a48b28d83 Exclude Node v9.9 from Travis build, for now 2018-03-25 17:23:00 -04:00
Jérémie AstoriandGitHub 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
Jérémie AstoriandGitHub 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
Jérémie AstoriandGitHub 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
Jérémie AstoriandGitHub 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
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
Jérémie AstoriandGitHub 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
Jérémie AstoriandGitHub 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
Jérémie AstoriandGitHub 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
Jérémie AstoriandGitHub 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 AstoriandGitHub 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 AstoriandGitHub 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
Jérémie AstoriandGitHub 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 AstoriandGitHub f6f8cd7a29 Merge pull request #2263 from thelounge/xpaw/hotkeys-input
Bind formatting hotkeys on input element
2018-03-20 19:22:31 -04:00
Jérémie AstoriandGitHub 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
Jérémie Astori 22725968e8 Fix yarn coverage script on Windows 2018-03-19 20:01:25 -04: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 AstoriandGitHub 8ecacc9978 Merge pull request #2186 from MaxLeiter/emoji-tip
Improve accessibility for emoji
2018-03-18 15:50:57 -04:00
Jérémie AstoriandGitHub 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
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 AstoriandGitHub 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 AstoriandGitHub 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 AstoriandGitHub 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
Jérémie AstoriandGitHub 97973d47f2 Merge pull request #2243 from birkof/master
Incorrect spelling
2018-03-16 19:17:46 -04:00
Jérémie AstoriandGitHub 9164f65693 Merge pull request #2238 from thelounge/greenkeeper/sqlite3-4.0.0
Update sqlite3 to the latest version 🚀
2018-03-16 03:03:28 -04:00
Jérémie AstoriandGitHub 640d8df487 Merge pull request #2236 from thelounge/xpaw/fix-2214
Rework how unread marker is moved when status messages are hidden
2018-03-16 02:15:43 -04:00