Tom Hacohen
ab5495e221
Eslint: update rules and adjust code accordingly.
5 years ago
Tom Hacohen
11dd883f5f
lint: replace tslint with eslint and fix new warnings and errors.
5 years ago
Tom Hacohen
514f4ccddb
Login: show text about setting the encryption key on first login.
5 years ago
Tom Hacohen
21e7d7d822
Add missing img alt text.
5 years ago
Tom Hacohen
ad45ad3f83
Update tslint and fix warnings.
6 years ago
Tom Hacohen
7da0a6009b
More tslint fixes.
6 years ago
Tom Hacohen
7336fe5527
Change the max container width to 30rem.
6 years ago
Tom Hacohen
ae26e34eb4
Update react, typescript recompose and etc.
6 years ago
Tom Hacohen
ac31f7093f
Add a basic link about signed pages.
7 years ago
Tom Hacohen
5e59557335
Add a link to the etesync website from the login page.
7 years ago
Tom Hacohen
4833a98763
Split fetching credentials and key derivation.
7 years ago
Tom Hacohen
b769c18021
Show a shorter login form (only enc password) if already logged in.
...
This is extremely useful for iOS devices where a PWA's session storage
is deleted every time it's minimised, and it's also useful for people
having multiple tabs open.
7 years ago
Tom Hacohen
232ea823d0
LoinGate: rename the incorrectly named class name.
7 years ago
Tom Hacohen
8d3a06cdfd
Split the login credentials and the encryption key.
...
We do this so we can persist the login info to local storage, but
still keep the encryption key safe.
This version will fails if you clear the session storage. This will be
fixed in the next commit.
7 years ago
Tom Hacohen
a32002eabd
Replace the a tag with an ExternalLink component.
...
This lets us handle behaviour more consistently, for example by opening
external links in a new tab.
7 years ago
Tom Hacohen
441549f41d
Move LoginForm to the component dir.
7 years ago
Tom Hacohen
e710e89200
Remove server url awareness from LoginForm making it a cleaner component.
7 years ago
Tom Hacohen
6a586ac38f
Rename the Root to LoginGate because that's all it does.
7 years ago