Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login with username and password #70

Merged
merged 29 commits into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
add681a
initial login UI
duncte123 Nov 11, 2023
fc4e31a
Login is taking shape
duncte123 Nov 12, 2023
54d81df
Normal login works
duncte123 Nov 14, 2023
8acaac5
Add way to check for expired tokens
duncte123 Nov 15, 2023
33ba59b
Add method to check if we should renew the token
duncte123 Nov 16, 2023
6a52284
MFA WORKS
duncte123 Nov 16, 2023
bddfbf1
translate 2fa modal
duncte123 Nov 16, 2023
c6cb0b0
Better 2fa input fields
duncte123 Nov 16, 2023
324924f
Merge branch 'master' into username-password-login
duncte123 Nov 16, 2023
08785ce
Better button title
duncte123 Nov 16, 2023
e50a00c
update translations
duncte123 Jan 29, 2024
662944c
Start on new sign-up page
duncte123 Jan 29, 2024
0e2cc99
Create component for pronouns input
duncte123 Jan 29, 2024
d017b5b
Create component for languages input
duncte123 Jan 29, 2024
79d9230
Add country input component
duncte123 Jan 29, 2024
57f21be
Finish register ui
duncte123 Jan 29, 2024
a5bd3bd
Add thank you section
duncte123 Jan 29, 2024
5499d86
Start on nag about verifying emails
duncte123 Jan 29, 2024
4f2a60d
Allow for re-sending verification email
duncte123 Jan 30, 2024
dfd9f83
translate message for email verification
duncte123 Jan 31, 2024
3e73ae1
WIP password resetting
duncte123 Jan 31, 2024
9e9fec8
Proxy api to make it more like prod
duncte123 Feb 8, 2024
1606b64
Translation update
duncte123 Feb 24, 2024
8075caf
Request password reset from user settings
duncte123 Feb 24, 2024
91316d6
Password reset from login system done
duncte123 Feb 24, 2024
9395cac
Cleanup and bugfixing
duncte123 Feb 24, 2024
4ef1199
Add types to sync handler
duncte123 Feb 25, 2024
6ca68df
Merge branch 'master' into username-password-login
duncte123 Feb 25, 2024
5f92746
Ensure youtube works in new settings page
duncte123 Feb 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Better 2fa input fields
  • Loading branch information
duncte123 committed Nov 16, 2023
commit c6cb0b0c01bfcc6143842b6305d6ae2af5c9f4ff
8 changes: 7 additions & 1 deletion src/app/auth/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ <h1 class="title">{{ 'login.title' | translate }}</h1>
<div class="field" *ngIf="mfaNeeded">
<label class="label">{{ 'login.2fa.label' | translate }}</label>
<div class="control">
<input class="input" type="text" placeholder="000000" name="2fa" [(ngModel)]="loginData.twoFactorCode" />
<input class="input"
type="text"
placeholder="000000"
inputmode="numeric"
pattern="[0-9]*"
name="2fa"
[(ngModel)]="loginData.twoFactorCode" />
</div>
</div>

Expand Down
3 changes: 2 additions & 1 deletion src/app/user/settings/mfa-modal/mfa-modal.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ <h5 class="title">{{ 'user.settings.mfa.modal.title' | translate }}</h5>
<br />
<input class="input"
type="number"
pattern="[0-9]{6}"
inputmode="numeric"
pattern="[0-9]*"
(keydown.enter)="saveMfa()"
[(ngModel)]="mfaCode"
name="mfaCode" style="margin-bottom: 1rem">
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n
Submodule i18n updated from 199bcc to 4a2645