mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Polish for Release (#2663)
This commit is contained in:
parent
930aa35bfe
commit
bfc4f17e05
@ -147,7 +147,6 @@ public class ExternalMetadataService : IExternalMetadataService
|
|||||||
|
|
||||||
|
|
||||||
// Recommendations
|
// Recommendations
|
||||||
|
|
||||||
externalSeriesMetadata.ExternalRecommendations ??= new List<ExternalRecommendation>();
|
externalSeriesMetadata.ExternalRecommendations ??= new List<ExternalRecommendation>();
|
||||||
var recs = await ProcessRecommendations(series, user, result.Recommendations, externalSeriesMetadata);
|
var recs = await ProcessRecommendations(series, user, result.Recommendations, externalSeriesMetadata);
|
||||||
|
|
||||||
@ -165,7 +164,11 @@ public class ExternalMetadataService : IExternalMetadataService
|
|||||||
{
|
{
|
||||||
Recommendations = recs,
|
Recommendations = recs,
|
||||||
Ratings = result.Ratings,
|
Ratings = result.Ratings,
|
||||||
Reviews = result.Reviews
|
Reviews = result.Reviews.Select(r =>
|
||||||
|
{
|
||||||
|
r.IsExternal = true;
|
||||||
|
return r;
|
||||||
|
})
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
catch (FlurlHttpException ex)
|
catch (FlurlHttpException ex)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<form [formGroup]="registerForm" (ngSubmit)="submit()">
|
<form [formGroup]="registerForm" (ngSubmit)="submit()">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="username" class="form-label">{{t('username-label')}}</label>
|
<label for="username" class="form-label">{{t('username-label')}}</label>
|
||||||
<input id="username" class="form-control" formControlName="username" type="text"
|
<input id="username" class="form-control" formControlName="username" type="text" autocomplete="username"
|
||||||
[class.is-invalid]="registerForm.get('username')?.invalid && registerForm.get('username')?.touched" aria-describedby="username-validations">
|
[class.is-invalid]="registerForm.get('username')?.invalid && registerForm.get('username')?.touched" aria-describedby="username-validations">
|
||||||
<div id="username-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
<div id="username-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
||||||
<div *ngIf="registerForm.get('username')?.errors?.required">
|
<div *ngIf="registerForm.get('username')?.errors?.required">
|
||||||
@ -21,7 +21,7 @@
|
|||||||
<span class="visually-hidden" id="email-help">
|
<span class="visually-hidden" id="email-help">
|
||||||
<ng-container [ngTemplateOutlet]="emailTooltip"></ng-container>
|
<ng-container [ngTemplateOutlet]="emailTooltip"></ng-container>
|
||||||
</span>
|
</span>
|
||||||
<input class="form-control" type="email" inputmode="email" id="email" formControlName="email" required aria-describedby="email-help"
|
<input class="form-control" type="email" inputmode="email" id="email" autocomplete="email" formControlName="email" required aria-describedby="email-help"
|
||||||
[class.is-invalid]="registerForm.get('email')?.invalid && registerForm.get('email')?.touched">
|
[class.is-invalid]="registerForm.get('email')?.invalid && registerForm.get('email')?.touched">
|
||||||
<div id="email-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
<div id="email-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
||||||
<div *ngIf="registerForm.get('email')?.errors?.required">
|
<div *ngIf="registerForm.get('email')?.errors?.required">
|
||||||
@ -39,7 +39,7 @@
|
|||||||
{{t('password-validation')}}
|
{{t('password-validation')}}
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<span class="visually-hidden" id="password-help"><ng-container [ngTemplateOutlet]="passwordTooltip"></ng-container></span>
|
<span class="visually-hidden" id="password-help"><ng-container [ngTemplateOutlet]="passwordTooltip"></ng-container></span>
|
||||||
<input id="password" class="form-control" maxlength="32" minlength="6" pattern="^.{6,32}$" formControlName="password"
|
<input id="password" class="form-control" maxlength="32" minlength="6" pattern="^.{6,32}$" formControlName="password" autocomplete="new-password"
|
||||||
type="password" aria-describedby="password-help" [class.is-invalid]="registerForm.get('password')?.invalid && registerForm.get('password')?.touched">
|
type="password" aria-describedby="password-help" [class.is-invalid]="registerForm.get('password')?.invalid && registerForm.get('password')?.touched">
|
||||||
<div id="password-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
<div id="password-validations" class="invalid-feedback" *ngIf="registerForm.dirty || registerForm.touched">
|
||||||
<div *ngIf="registerForm.get('password')?.errors?.required">
|
<div *ngIf="registerForm.get('password')?.errors?.required">
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
<div class="card-text">
|
<div class="card-text">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="username" class="form-label visually-hidden">{{t('username')}}</label>
|
<label for="username" class="form-label visually-hidden">{{t('username')}}</label>
|
||||||
<input class="form-control custom-input" formControlName="username" id="username"
|
<input class="form-control custom-input" formControlName="username" id="username" autocomplete="username"
|
||||||
type="text" autofocus [placeholder]="t('username')">
|
type="text" autofocus [placeholder]="t('username')">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
<label for="password" class="form-label visually-hidden">{{t('password')}}</label>
|
<label for="password" class="form-label visually-hidden">{{t('password')}}</label>
|
||||||
<input class="form-control custom-input" formControlName="password" name="password"
|
<input class="form-control custom-input" formControlName="password" name="password" autocomplete="current-password"
|
||||||
id="password" type="password" [placeholder]="t('password')">
|
id="password" type="password" [placeholder]="t('password')">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<form [formGroup]="passwordChangeForm">
|
<form [formGroup]="passwordChangeForm">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="oldpass" class="form-label">{{t('current-password-label')}}</label>
|
<label for="oldpass" class="form-label">{{t('current-password-label')}}</label>
|
||||||
<input class="form-control custom-input" type="password" id="oldpass" formControlName="oldPassword"
|
<input class="form-control custom-input" type="password" id="oldpass" formControlName="oldPassword" autocomplete="current-password"
|
||||||
[class.is-invalid]="passwordChangeForm.get('oldPassword')?.invalid && passwordChangeForm.get('oldPassword')?.touched">
|
[class.is-invalid]="passwordChangeForm.get('oldPassword')?.invalid && passwordChangeForm.get('oldPassword')?.touched">
|
||||||
<div id="inviteForm-validations" class="invalid-feedback" *ngIf="passwordChangeForm.dirty || passwordChangeForm.touched">
|
<div id="inviteForm-validations" class="invalid-feedback" *ngIf="passwordChangeForm.dirty || passwordChangeForm.touched">
|
||||||
<div *ngIf="passwordChangeForm.get('oldPassword')?.errors?.required">
|
<div *ngIf="passwordChangeForm.get('oldPassword')?.errors?.required">
|
||||||
@ -36,6 +36,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="new-password">{{t('new-password-label')}}</label>
|
<label for="new-password">{{t('new-password-label')}}</label>
|
||||||
<input class="form-control" type="password" id="new-password" formControlName="password" aria-describedby="new-password-validations"
|
<input class="form-control" type="password" id="new-password" formControlName="password" aria-describedby="new-password-validations"
|
||||||
|
autocomplete="new-password"
|
||||||
[class.is-invalid]="passwordChangeForm.get('password')?.invalid && passwordChangeForm.get('password')?.touched">
|
[class.is-invalid]="passwordChangeForm.get('password')?.invalid && passwordChangeForm.get('password')?.touched">
|
||||||
<div id="new-password-validations" class="invalid-feedback" *ngIf="passwordChangeForm.dirty || passwordChangeForm.touched">
|
<div id="new-password-validations" class="invalid-feedback" *ngIf="passwordChangeForm.dirty || passwordChangeForm.touched">
|
||||||
<div *ngIf="password?.errors?.required">
|
<div *ngIf="password?.errors?.required">
|
||||||
@ -46,6 +47,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="confirm-password">{{t('confirm-password-label')}}</label>
|
<label for="confirm-password">{{t('confirm-password-label')}}</label>
|
||||||
<input class="form-control" type="password" id="confirm-password" formControlName="confirmPassword" aria-describedby="confirm-password-validations"
|
<input class="form-control" type="password" id="confirm-password" formControlName="confirmPassword" aria-describedby="confirm-password-validations"
|
||||||
|
autocomplete="new-password"
|
||||||
[class.is-invalid]="passwordChangeForm.get('confirmPassword')?.invalid && passwordChangeForm.get('confirmPassword')?.touched">
|
[class.is-invalid]="passwordChangeForm.get('confirmPassword')?.invalid && passwordChangeForm.get('confirmPassword')?.touched">
|
||||||
<div id="confirm-password-validations" class="invalid-feedback" *ngIf="passwordChangeForm.dirty || passwordChangeForm.touched">
|
<div id="confirm-password-validations" class="invalid-feedback" *ngIf="passwordChangeForm.dirty || passwordChangeForm.touched">
|
||||||
<div *ngIf="!passwordsMatch">
|
<div *ngIf="!passwordsMatch">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"name": "GPL-3.0",
|
"name": "GPL-3.0",
|
||||||
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
|
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
|
||||||
},
|
},
|
||||||
"version": "0.7.13.7"
|
"version": "0.7.13.9"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user