Commit Graph

35 Commits

Author SHA1 Message Date
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
Pavel Djundik
e719e4ff81 Cleanup chat/userlist to use flexbox, fix a couple of bugs 2018-03-05 18:17:13 +02:00
Al McKinlay
7fec928ba8 Make networks collapsable 2018-03-02 08:57:12 +00:00
Jérémie Astori
8403d277b4
Replace reference to website with new URL 2018-02-19 12:23:41 -05:00
Pavel Djundik
737c75638e Remove Inconsolata 2017-10-01 12:22:04 +03:00
Pavel Djundik
05fc00d9be Display all the status changes in UI 2017-09-19 11:45:22 +03:00
Jérémie Astori
ad8ec4b1e6
Remove the "Stay signed in" checkbox at login
This option is less and less the norm on modern webapps, it is fair to assume this is the default behavior. In fact, we were making it the default.

But more importantly, coming soon is the ability of remotely logging out of your other sessions, which is well handled through token deletion. That means we need to know about said tokens, which are not sent in no-"Stay signed in" version.
2017-08-31 23:07:43 -04:00
Jérémie Astori
5d77bcb7c8
Use double-colon on pseudo elements to get closer to stylelint standard config 2017-08-21 02:18:33 -04:00
Jérémie Astori
1ba8f10440
Fix too big line height previews text on Crypto 2017-07-04 13:15:55 -04:00
Jérémie Astori
0f9b12f2b8 Add a help window within the app
This brings commands and keyboard shortcuts from the website, after a massive overhaul. It comes as part of the big documentation rewrite that I am currently doing.

`kbd` design inspiration from GitHub, `code` design inspiration from Bootstrap.

This help page is accessible from an icon in the sidebar, near the Settings icon.
2017-03-10 20:23:45 -05:00
Jérémie Astori
c20813609b Style connection error message consistently with the rest of the app, above the message input 2016-12-13 01:58:05 -05:00
Pavel Djundik
b28bba6dd4 Remove svg and ttf font formats 2016-10-09 15:21:04 -04:00
Max Leiter
565e37e873 Fix unhandled message color in Crypto theme 2016-10-03 10:20:06 -07:00
Pavel Djundik
62ee13833b Move Shout theme borders to example theme 2016-09-24 00:16:00 +03:00
Jérémie Astori
6d72f023fa Fix wrong loading of Crypto font
Turns out, this theme probably never loaded its font right, fail...
`GET https://.../themes/fonts/inconsolatag.woff` --> 404
2016-09-06 01:11:31 -04:00
Jérémie Astori
34036a4b7a Allow ourselves to have decent looking select elements in the settings 2016-09-06 01:11:31 -04:00
Maxime Poulin
7f6dfe1652 Merge pull request #572 from thelounge/astorije/fix-radiuses-again
Move border-radius from #main to .window elements to fix radius once and for all
2016-09-03 20:16:17 -04:00
Jérémie Astori
b66c538a45 Merge pull request #562 from thelounge/astorije/css-redundancy-fix-2
Remove font family redundancy, fix missed fonts, remove Open Sans
2016-09-02 22:37:45 -04:00
Jérémie Astori
f509e9fe5a Move border-radius from #main to .window elements to fix radius once and for all
https://github.com/thelounge/lounge/pull/537 only fixed it on chat windows,
but for some browser-specific display bug/reason not on settings, login, ...
2016-08-19 01:34:42 -04:00
Jérémie Astori
f2a0bc5d23 Remove font family redundancy, fix missed fonts, remove Open Sans 2016-08-14 17:28:47 -04:00
Jérémie Astori
e99bf9ac0a Make sure body fonts are used for tooltips 2016-08-03 01:11:10 -04:00
Maxime Poulin
4336699b49 Fix themes for new textarea
Fixes #530
2016-07-31 17:50:42 -04:00
Jérémie Astori
3cddbbce6e Improve styling of the unread marker 2016-07-05 15:32:41 -04:00
Jérémie Astori
1af00d30c5 Invert no-colors CSS class and rename option
This will reset users' preference regarding colored nicknames but it's to make
it more specific than just "colors".
2016-05-15 15:56:48 -04:00
Jérémie Astori
aad757e50a Fix missing colors in action messages 2016-05-10 19:40:09 -04:00
Jérémie Astori
7c41133a12 Fix wrong CSS for disabled colored nicknames on themes 2016-05-10 19:27:31 -04:00
Maxime Poulin
1c877a71ab Fix built-in themes broken by #75.
Fixes #101
2016-02-25 02:29:51 -05:00
Pavel Djundik
ad6b4e8939 Update css files to confront stylelint rules 2016-02-20 19:32:23 +02:00
Jérémie Astori
fd2c157cc7 Update project name in additional themes 2016-02-10 06:20:05 +00:00
Pavel Djundik
bb98be475a Render user actions separately 2016-01-24 16:59:13 +02:00
Mattias Erming
eb608611d5 Fix Crypto theme top margin 2015-04-16 01:09:34 -07:00
Mattias Erming
71846dbadc Revert fonts 2015-04-16 01:07:13 -07:00
aynik
a5ee8e1cf4 switched Droid Sans Mono for Inconsolata-g, defined Leto under different weights 2015-04-15 11:54:03 +02:00
aynik
53453f2ee3 fixed top margin 2015-04-14 21:43:50 +02:00
aynik
37ec35c3a9 created 2015-04-14 21:43:50 +02:00