diff --git a/CHANGELOG.md b/CHANGELOG.md
index 04c5add2e..f5621425e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,19 @@
+## v2.107.1 - 2024-10-30
+
+[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.107.0...v2.107.1)
+
+## v2.107.0 - 2024-10-30
+
+[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.106.12...v2.107.0)
+
+## v2.106.12 - 2024-10-28
+
+[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.106.11...v2.106.12)
+
+## v2.106.11 - 2024-10-21
+
+[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.106.10...v2.106.11)
+
## v2.106.10 - 2024-10-17
[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.106.9...v2.106.10)
diff --git a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html
index 8e10b020d..025cd4393 100644
--- a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html
+++ b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html
@@ -134,7 +134,11 @@
: email.sourceName || email.source
"
[isEmailOrDomain]="true"
- [date]="email.verificationDate | monthDayYearDateToString"
+ [date]="
+ email.verificationDate
+ | monthDayYearDateToString
+ | verificationDateCutoff
+ "
[isLastItem]="true"
>
@@ -312,7 +316,11 @@
class="orc-font-small-print"
[name]="orcidEmailValidation"
[isEmailOrDomain]="true"
- [date]="domain.createdDate | monthDayYearDateToString"
+ [date]="
+ domain.createdDate
+ | monthDayYearDateToString
+ | verificationDateCutoff
+ "
[isLastItem]="true"
>
diff --git a/src/app/cdk/side-bar/side-bar/side-bar.component.html b/src/app/cdk/side-bar/side-bar/side-bar.component.html
index ec95bbbff..c8d875f19 100644
--- a/src/app/cdk/side-bar/side-bar/side-bar.component.html
+++ b/src/app/cdk/side-bar/side-bar/side-bar.component.html
@@ -147,7 +147,11 @@
: email.sourceName || email.source
"
[isEmailOrDomain]="true"
- [date]="email.verificationDate | monthDayYearDateToString"
+ [date]="
+ email.verificationDate
+ | monthDayYearDateToString
+ | verificationDateCutoff
+ "
[isLastItem]="true"
>
@@ -187,7 +191,11 @@
*ngIf="emailsOpenState"
[name]="orcidEmailValidation"
[isEmailOrDomain]="true"
- [date]="domain.createdDate | monthDayYearDateToString"
+ [date]="
+ domain.createdDate
+ | monthDayYearDateToString
+ | verificationDateCutoff
+ "
[isLastItem]="true"
>
diff --git a/src/app/constants.ts b/src/app/constants.ts
index ac796d58f..15522e070 100644
--- a/src/app/constants.ts
+++ b/src/app/constants.ts
@@ -80,6 +80,8 @@ export const ITEM_ACTION_SELECT = 'select'
export const ITEM_ACTION_EXPAND = 'expand'
export const ITEM_ACTION_COLLAPSE = 'collapse'
+export const VERIFICATION_DATE_CUTOFF = new Date('2024-10-28')
+
export const ApplicationRoutes = {
myOrcid: 'my-orcid',
twoFactor: '2fa-signin',
diff --git a/src/app/shared/pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe.spec.ts b/src/app/shared/pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe.spec.ts
new file mode 100644
index 000000000..b078ffc3d
--- /dev/null
+++ b/src/app/shared/pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe.spec.ts
@@ -0,0 +1,8 @@
+import { VerificationDateCutoffPipe } from './verification-date-cutoff.pipe'
+
+describe('VerificationDateCutoffPipe', () => {
+ it('create an instance', () => {
+ const pipe = new VerificationDateCutoffPipe()
+ expect(pipe).toBeTruthy()
+ })
+})
diff --git a/src/app/shared/pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe.ts b/src/app/shared/pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe.ts
new file mode 100644
index 000000000..10fb40747
--- /dev/null
+++ b/src/app/shared/pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe.ts
@@ -0,0 +1,17 @@
+import { Pipe, PipeTransform } from '@angular/core'
+import { VERIFICATION_DATE_CUTOFF } from 'src/app/constants'
+
+@Pipe({
+ name: 'verificationDateCutoff',
+})
+export class VerificationDateCutoffPipe implements PipeTransform {
+ transform(value: string): string | null {
+ if (typeof value === 'string') {
+ const date = new Date(value)
+ if (date >= VERIFICATION_DATE_CUTOFF) {
+ return value
+ }
+ }
+ return null
+ }
+}
diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts
index a2fffd957..5807f3340 100644
--- a/src/app/shared/shared.module.ts
+++ b/src/app/shared/shared.module.ts
@@ -50,6 +50,7 @@ import { AffiliationLabelPipe } from './pipes/affiliation-label.pipe'
import { AffiliationTypePipe } from './pipes/affiliation-type/affiliation-type.pipe'
import { ScopePathTypePipe } from './pipes/scope-path-type/scope-path-type.pipe'
import { AppPanelsSortByAriaLabelPipe } from './pipes/app-panels-sort-by-aria-label/app-panels-sort-by-aria-label.pipe'
+import { VerificationDateCutoffPipe } from './pipes/verification-date-cutoff-pipe/verification-date-cutoff.pipe'
@NgModule({
imports: [
CommonModule,
@@ -60,6 +61,7 @@ import { AppPanelsSortByAriaLabelPipe } from './pipes/app-panels-sort-by-aria-la
],
declarations: [
MonthDayYearDateToStringPipe,
+ VerificationDateCutoffPipe,
OfflineMessageComponent,
CopyOnClickDirective,
CopyOnClickComponent,
@@ -107,6 +109,7 @@ import { AppPanelsSortByAriaLabelPipe } from './pipes/app-panels-sort-by-aria-la
MatProgressSpinner,
MatExpansionModule,
MonthDayYearDateToStringPipe,
+ VerificationDateCutoffPipe,
OfflineMessageComponent,
MatPaginatorModule,
CopyOnClickDirective,
diff --git a/src/locale/properties/developer-tools/developer-tools.ru.properties b/src/locale/properties/developer-tools/developer-tools.ru.properties
index 53a13c3fd..9feccbb47 100644
--- a/src/locale/properties/developer-tools/developer-tools.ru.properties
+++ b/src/locale/properties/developer-tools/developer-tools.ru.properties
@@ -18,7 +18,7 @@ developerTools.readThePublicApisDocumentation=Ознакомиться с док
developerTools.fillOutMoreAobutTheDifferences=Подробнее о разнице между общедоступным API и API для подписчиков…
developerTools.orcidPublicClientTermsOfService=Условия использования общедоступного API ORCID
developerTools.theOrcidPublicApiAllowsYouToRequestPermission=Общедоступный API ORCID предоставляется бесплатно физическим лицам для некоммерческих целей согласно
-developerTools.publicClientTermsOfService=Условиям использования общедоступного API.
+developerTools.publicClientTermsOfService=его Условиям использования.
developerTools.youMustAcceptThePublicClientTermsOfService=Перед регистрацией для получения данных общедоступного API примите условия использования сервиса.
developerTools.haveReadAndAgreeToTheOrcidPublicClientTermsOfService=Я принимаю Условия использования общедоступного API ORCID
developerTools.registerForYourOrcidPublicApiCredentials=Чтобы получить данные общедоступного API ORCID, пройдите регистрацию
diff --git a/yarn.lock b/yarn.lock
index e60c20fca..5d259bd8b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9850,9 +9850,9 @@ http-proxy-agent@^7.0.0:
debug "^4.3.4"
http-proxy-middleware@^2.0.3:
- version "2.0.6"
- resolved "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz"
- integrity sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==
+ version "2.0.7"
+ resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz#915f236d92ae98ef48278a95dedf17e991936ec6"
+ integrity sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==
dependencies:
"@types/http-proxy" "^1.17.8"
http-proxy "^1.18.1"