Commit Graph

47 Commits

Author SHA1 Message Date
Konstantina Galouni c39eb08555 Updating openaireLibrary 2024-09-11 15:53:47 +03:00
Konstantina Galouni 30f5d5e95b [main | DONE | FIXED] oaipmh-history.module.ts: Added on imports "AlertModalModule". 2024-09-11 15:52:55 +03:00
Konstantina Galouni a5178f74d7 Updating openaireLibrary & common-assets 2024-09-09 17:23:39 +03:00
Alex Martzios b950fdb308 [main | DONE | FIXED]: Fix import of library (openaire-library to openaireLibrary) 2024-07-26 11:39:49 +03:00
Konstantina Galouni 73acf5c476 [main | DONE | FIXED]: Fixing imports of library (openaire-library to openaireLibrary). 2024-07-26 11:20:51 +03:00
Alex Martzios f28c803281 Delete package-lock.json file 2024-07-26 10:04:13 +02:00
Konstantina Galouni 8172772834 Renamed 'src/app/openaire-library' to 'src/app/openaireLibrary'. 2024-07-25 18:48:05 +03:00
Konstantina Galouni 69b2ff7e41 Updating libraries 2024-07-25 18:42:36 +03:00
Konstantina Galouni 39e1e7acd2 [main | DONE | CHANGED]: Added sepatare modules & routing modules for each component | Updated Single record validator to look the same as oai pmh validator & changed endpoint from "/validate" to "/validateRecord" | Deleted single-record-validator.component.less, oaipmh-validator.component.less, oaipmh-analysis.component.less | Created AnalysisComponent (<app-analysis>) to be commonly called by SingleRecordValidatorComponent and OaipmhAnalysisComponent & created SettingsComponent (<app-settings>) to be commonly called by SingleRecordValidatorComponent and OaipmhValidatorComponent. 2024-07-25 18:41:59 +03:00
Katerina e08b72eec2 changes to match the summary table addition of the api 2023-11-21 15:21:24 +02:00
Konstantina Galouni df695da83f [Validator | main]: oaipmh-analysis.component.html: When no rule name, replaced - with [No title available] & added link in rule name | oaipmh-analysis.component.html: Commented option "all" for recordsNum & increased limit to 100 | oaipmh-validator.component.ts: [Bug fix] Added @ViewChild('customRecordsNum') customRecordsNum and in method updateRecordsNum(), if there is this input, mark it as checked & initialize form with this.recordsNum. 2023-11-13 21:13:43 +02:00
Konstantina Galouni 34a525f690 [Validator | angular-16]: oaipmh-validator.component.ts: Updated label of one guideline option "OpenAIRE Guidelines for Literature Repositories Profile v4 & OpenAIRE FAIR Guidelines for Literature Profile" - from now on, both profile v2 and fair guidelines are calculated together. 2023-10-17 13:51:00 +03:00
Konstantina Galouni b2cddcbfb6 [Validator]: Updates & improvements.
1. JobResult.ts: Added "set:string" and "exceptionMessage: string" fields.
2. RulePerJob.ts: Removed "rule_description" field and added fields "requirement_level: string, description: string, fair_principles: string, fair_principles_tooltip: string, link: string;".
3. oaipmh-analysis.component.html: Added cards on the right for base url and set | Added requirement level to the rule name, updated field for description, added fair principles.
4. oaipmh-analysis.component.ts: Added "requirementLevelMapping" and initialize tooltip of fair principles.
5. oaipmh-history.component.html: Updated table to show multiple validations | Updated columns of table - removed actions and updated status (view results - gets us to the analysis, in progress, stoppes, error, errors - opens a modal with the exception message).
6. oaipmh-history.component.ts: Added method "getJobResults()" and methods for error modal | Added a limit of 120 requests (10 minutes) for repetable requests of getting jobResult to update status when status is in progress.
7. oaipmh-validator.component.ts: Updated label for guidelines | Updated validation checks | Added exception catch in getSets().
8. oaipmh-validator.service.ts: Added method "getJobResults(limit: number = 200)".
9. topmenu.component.html: Removed jobId from history demo page.
10. package-lock.json: Updated uikit version.
2023-10-03 17:00:58 +03:00
Konstantina Galouni 894792daae Merge remote-tracking branch 'origin/right-col-temp' into main 2023-09-13 15:45:04 +03:00
Konstantina Galouni 175eb2fa26 Updating libraries 2023-09-13 15:44:53 +03:00
Konstantina Galouni ad94971ec1 Updating libraries 2023-09-13 15:43:24 +03:00
Konstantina Galouni 36833e9879 [Validator | right-col-temp]: [WIP] oaipmh-validator.component: Updates in right sidebar of validation page. 2023-09-13 15:42:24 +03:00
Konstantina Galouni e9c22bfe73 [Validator | right-col-temp]: [WIP] oaipmh-validator.component: Updates in right sidebar of validation page. 2023-09-13 15:04:18 +03:00
Konstantina Galouni e0aa075c3a Merge remote-tracking branch 'origin/main' into right-col-temp 2023-09-12 17:08:37 +03:00
Konstantina Galouni 259a5a8af6 [Validator | right-col-temp]: [WIP] oaipmh-validator.component.less: Added styling rules for right column of validation page | oaipmh-validator.component.html: Updated margins & paddings and added content to the right column of validation page. 2023-09-12 17:07:52 +03:00
Konstantina Galouni f6629441a1 Updated uikit version to 3.16.24 | In uk-sticky attribute replaced bottom with end 2023-08-25 15:46:45 +03:00
Konstantina Galouni 5ad74bceee WIP: Right-help column in validation options page 2023-08-25 12:02:46 +03:00
Konstantina Galouni 98ac3f8576 topmenu.component.html: Fix spelling error. 2023-08-25 12:00:13 +03:00
Konstantinos Triantafyllou 1a8cc9c51b Update material to angular 16. 2023-08-04 15:38:33 +03:00
Konstantinos Triantafyllou 0537ea55b8 Update angular to version 16 2023-08-04 15:37:23 +03:00
Konstantinos Triantafyllou d264e30476 Update Zone to 0.13.1. Add package-lock.json to ignorelist 2023-08-04 15:35:51 +03:00
Konstantinos Triantafyllou 697451dd54 Update material to angular 15. 2023-08-04 15:34:34 +03:00
Konstantinos Triantafyllou 28dd0063bc Migrate angular core and cli to version 15 and update dependencies to be compatible with the newer version. 2023-08-04 15:33:04 +03:00
Konstantinos Triantafyllou 9207d76e40 Update typescript to version 4.9.5 2023-08-04 15:32:04 +03:00
Konstantinos Triantafyllou a02f4dc3b3 Update libraries 2023-08-04 15:30:43 +03:00
Konstantina Galouni 401ce63989 oaipmh-analysis.component: Added methods public getKeys(map) and public getValues(map) to solve ExpressionChangedAfterItHasBeenCheckedError | oaipmh-history.component.html: [Bug fix] Changed <ng-container> with <span> because styling (class) was needed | oaipmh-history.component.ts: Updated method "getJobResult()" to repeat the query every 5 seconds until result.progress !== Progress.IN_PROGRESS. 2023-07-26 17:18:32 +03:00
Konstantina Galouni 7580f1b6e4 oaipmh-validator.component: Improvements, fixes and checks added & Added subscriptions and ngOnDestroy & Added real API call to validate | oaipmh-analysis.component.ts & oaipmh-history.component.ts & single-record-validator.component.ts: Added subscriptions and ngOnDestroy | oaipmh-validator.service.ts: In method "validate()" added real API call & if all sets are chosen, do not send the set parameter | topmenu.component.html: Added "Validate [demo]" option. 2023-07-25 16:58:41 +03:00
Konstantina Galouni a8937de064 Deleted shared/utils folder - openaire-library submodule is added instead 2023-07-25 13:48:19 +03:00
Konstantina Galouni e8db9428bf oaipmh-analysis.component.ts & oaipmh-history.component.ts & oaipmh-validator.component.ts & single-record-validator.component.ts & app.module.ts: Updated imports to get shared files from openaire-library | environment.ts: Added export let properties: EnvProperties | package.json & package-lock.json: Updated angular version from 14.1.0 to 14.2.3 and added dependency @angular/material": "^14.2.2". 2023-07-25 13:39:39 +03:00
Konstantina Galouni 6f6c832d1c Added openaire-library 2023-07-25 12:05:51 +03:00
Konstantina Galouni 04e9e455a4 oaipmh-validator.component: [WIP] Added Validator-first screen | oaipmh-validator.service.ts: Added methods "getSets()" and "validate()" | string-utils.class.ts: Added StringUtils file (from library). 2023-07-25 11:58:23 +03:00
Konstantina Galouni 157917ab0e validator-custom.less: Updated colors specifically for "validator", instead of "provide" | oaipmh-analysis.component: Added field "public guidelinesLabelToPrefix: Map<string, string>" to build correctly the record urls in warning/error modals. 2023-07-24 22:38:31 +03:00
Konstantina Galouni 17023974f2 oaipmh-analysis.component.ts: [Bug fix] Updated how job duration is calculated - negative numbers appeared. 2023-07-17 13:05:33 +03:00
Konstantina Galouni 32078e8732 Added validation history and validation analysis pages and updated validatorAPI to use the new version using camel. 2023-07-14 18:22:25 +03:00
Konstantina Galouni 32cbf775f9 [Validator]: XmlValidationResponse.ts: Added field "fairRules: RuleInfo[];" | single-record-validator.component.ts: In options updated label for Data to "Data Archive Guidelines V2 Profile & FAIR Data Guidelines Profile" | single-record-validator.component.html: Updated results view to be closer to the mocks & added fair score & separated results of fair and other guidelines. 2022-12-23 10:19:20 +02:00
Konstantina Galouni 4fd00cfe92 [Validator]: environment.ts: Updated validatorAPI - service runs as standalone. 2022-12-07 18:50:55 +02:00
Konstantina Galouni 48126ed4f1 [Validator]: validator-custom.less: [NEW] file for validator specific colors and rules | single-record-validator.component.html: Removed check icon from validate button | styles.less: Imported new validator-custom.less and moved custom rules to validator-custom.less. 2022-12-06 17:01:53 +02:00
Konstantina Galouni 96be40c911 [Validator]: Updated how results and guidelines are displayed | Added XmlValidationResponse class as structured response | Added validation score and fair score | Do not import dashboard.less and hide sidebar. 2022-12-06 01:54:45 +02:00
Konstantina Galouni 3ef3dcd590 [Validator]: Added fair guideline | Updated how results are displayed | Added RuleInfo class with structured response | Added icon and modal files in shared/utils | Added commented code for file uploading. 2022-12-01 12:19:29 +02:00
Konstantina Galouni c55af200ea [Validator]: First working version - user selects among 3 hardcoded guidelines, pastes an XML and validates it | Added utils folder for input component (copied by openaireLibrary). 2022-10-06 15:50:55 +03:00
Stefania Martziou ff07d28632 First commit for the single record validator 2022-08-03 13:33:02 +03:00
Stefania Martziou d9e11a6ac3 initial commit 2022-08-03 12:10:49 +03:00