Commit Graph

1174 Commits

Author SHA1 Message Date
Konstantina Galouni 01ccbb9d68 [new-search-json | WIP | CHANGED]: Updated parsing according to new json schema.
1. dataProviderInfo.ts: Updated field "contentpolicy: string;" to "contentpolicies: string[];".
2. dataProvider.service.ts: Parse contentPolicies field as array.
3. dataProvider.component.html: Display contentpolicies array.
4. searchResearchResults.service.ts: Parse field "entityType" from header.recordType instead of result.resulttype.
5. resultLanding.service.ts: Parse field "entityType" from header.recordType instead of result.resulttype | Parse header.status (not yet available field) for under curation records | [BUG] Parse field externalReference instead of externalreference.
6. searchOrganizations.service.ts: [BUG] Get "pid" field from correct path.
7. parsingFunctions.class.ts: [BUG] Fix parsing of measures - unit is an array.
2024-10-29 14:08:54 +02:00
argirok 61c60eff60 [develop | ADDED| CHANGED ] add test search API, add local widget url 2024-10-29 13:19:26 +02:00
argirok 25bae3caeb [develop | CHANGED | DONE] add in properties new claims api with new json parse 2024-10-25 18:01:07 +03:00
Konstantina Galouni a8e2a509d5 [new-search-json | WIP | CHANGED]: Updated parsing according to new json schema.
1. dataProvider.service.ts: Parse jurisdiction (label instead of classname) according to new schema.
2. organization/deletedByInference/deletedByInference.service.ts & result/deletedByInference/deletedByInference.service.ts: Not used - added @deprecated annotation to methods "getDeletedByInferenceResults()" and "parseDeletedByInferenceResults()".
3. project.service.ts: Added @deprecated annotation to method "getHTMLInfo()".
4. result/deletedByInference/deletedByInference.component.ts: Updated parsing of versions (previously children, now links with relations "merges") according to new json schema.
5. resultLanding.component.html: In <deletedByInference> updated parameter [id]="resultLandingInfo.record['header']['id']".
6. resultLanding.service.ts: Exclude relation "merges" from the related research.
7. organization.service.ts: Updated parsing according to new json schema for methods "getOrganizationNameAndUrlById()" and "parseOrganizationNameAndUrl()".
8. searchDataproviders.service.ts: Updated parsing of "eosctype" field and added TODO comment to check if parsing is correct.
9. searchOrganizations.service.ts: Added @deprecated annotation to method "parseResultsForDeposit()".
10. searchProjects.service.ts: Removed a console.log.
11. entitiesAutoComplete.component.ts: Commented @Input() public depositType:string and everything related to it.
12. entitySearch.service.ts: Added @deprecated annotation to method "searchByDepositType()" | Updated parsing according to new json schema for methods "searchByType()", "fetchByType()", "parse()".
2024-10-21 15:30:44 +03:00
Konstantina Galouni ccdf2f16dc Merge remote-tracking branch 'origin/develop' into new-search-json 2024-10-17 14:56:41 +03:00
argirok 19b5225396 [develop | CHANGED | DONE] update dev properties to dl170 instances 2024-10-15 14:17:26 +03:00
Konstantinos Triantafyllou 1301b89ef0 [develop]: Update user management property in developement to dl170. 2024-10-14 12:16:21 +03:00
Konstantina Galouni 82e8551129 [new-search-json | WIP | CHANGED]: Updated parsing of organizations, projects (landing & search) and search data sources according to new JSON response schema. 2024-10-07 16:20:12 +03:00
Konstantina Galouni 2279420241 Merge remote-tracking branch 'origin/develop' into orcid-openaireId-claim 2024-09-23 13:18:18 +03:00
Konstantinos Triantafyllou a5178adefd Resolve conflict after merge 2024-09-20 15:42:28 +03:00
Konstantinos Triantafyllou 6873cd3887 Change login-service default property to dl170 for development. 2024-09-20 15:41:05 +03:00
Konstantina Galouni 13daf1b5d4 [develop | DONE | FIXED]: environment.ts: In commonDev properties changed property "vocabulariesAPI" to the production API (dev not working, beta returns CORS) | refineFieldResults.service.ts: [BUG] Fix advanced search requests - in methods "getRefineFieldResultsByFieldName()" and "fieldIncludesAnyOfTheKeywords()" added case for "service" entity type. 2024-09-20 10:51:41 +03:00
Konstantina Galouni 9fb0baa847 [orcid-openaireId-claim | DONE | FIXED]: orcid-work.component.ts & result-preview.component.ts & result-preview.component.html: Removed checks for development environment in ORCID claim - allow also ORCID claim with OpenAIRE ID. 2024-09-18 14:36:14 +03:00
Konstantina Galouni 8f668cd4ff [develop | DONE | FIXED]: orcid-work.component.ts & result-preview.component.html & result-preview.component.ts: Added checks not to allow ORCID claim for results with no PIDs when not on development environment (until new version of orcid service is deployed). 2024-09-18 11:50:12 +03:00
Konstantina Galouni 99caf5aacc [develop | DONE | CHANGED] Renamed property "eoscMarketplaceURL" to "openScienceCloudURL" and added new property "eoscMarketplaceURL" (new value) | Updated current domain and marketplace domain from eosc-portal.eu to eosc-beyond.eu.
1. env-properties.ts: Added property openScienceCloudURL?: string.
2. environment.ts: Renamed property "eoscMarketplaceURL" to "openScienceCloudURL" and set value for new property "eoscMarketplaceURL".
3. dataProviderInfo.ts: Use properties.openScienceCloudURL instead of properties.eoscMarketplaceURL.
4. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts: Updated method "eoscBackLink()" to use "properties.eoscMarketplaceURL" instead of static url "https://search.marketplace.eosc-portal.eu/".
5. parsingFunctions.class.ts: In eoscSubjects use "properties.eoscMarketplaceURL" instead of static url "https://search.marketplace.eosc-portal.eu/".
6. connectHelper.ts: In method "getCommunityFromDomain()", added check domain.indexOf('eosc-beyond.eu') != -1.
2024-09-11 21:04:03 +03:00
Konstantina Galouni e4bfed85ba [develop | DONE | FIXED]: showAuthors.component.ts: Typo fix in ORCID box (3rd party repositories, not 3d party). 2024-09-11 20:33:33 +03:00
Konstantina Galouni 4fe679af7b Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2024-09-09 22:06:42 +03:00
Alex Martzios ad17ffaf95 [develop | DONE | CHANGED] monitorServiceAPIURL, notificationsAPIURL, adminToolsAPIURL: add '/' at the end of these string properties and remove any unnecessary after them 2024-09-05 12:59:25 +03:00
Konstantina Galouni 8d6c45abe3 [develop | DONE | CHANGED]: fos/fos.component.html & fos/fos.component.ts & landing-utils/fos.component.ts & ISVocabularies.service.ts & resultLanding.service.ts: hide L3 & L4 FoS. 2024-08-01 14:06:12 +03:00
Konstantina Galouni 7f7b08b7af [develop | DONE | ADDED]: Added the option to claim works to ORCID without pids, but with OpenAIRE id.
1. myOrcidLinks.component.ts & orcid.service.ts: Added functionality for orcid claim with openaireId.
2. orcid-work.component.ts: Added functionality for orcid claim with openaireId & added (missing from previous commit) @Input() compactView to show or not the word "claim".
3. orcidWork.ts:  Set openaireId (relcanId) as external-id with "external-id-type": "source-work-id".
4. newSearchPage.component.ts: Added field public isLoggedIn: boolean = false; and initialize it by calling userManagementService.getUserInfo().
5. newSearchPage.component.html: In <search-result> set isLoggedIn parameter.
6. searchResult.component.ts: Added functionality for orcid claim with openaireId & Added field  @Input() isLoggedIn: boolean = false; and replaced Session check.
7. result-preview.component.ts & result-preview.component.html: Removed checks to orcid claim only when there are pids.
2024-07-23 02:17:45 +03:00
Konstantina Galouni dd4d785d96 [develop | DONE | CHANGED]: [Performance improvement] resultLanding.component: Added fields "impactClicked" and "altMetricsClicked", to initalize and show the relative content only on click | entity-actions.component.ts: Added field "addThisClicked" to call <addThis> only on click. 2024-07-18 15:48:20 +03:00
argirok ed7ee4b4a3 [develop | DONE | ADDED] Add Organization refine field in results for Connect 2024-07-17 13:25:44 +03:00
Konstantina Galouni 403fe375e7 [develop | DONE | ADDED]: Added compact view functionality on search pages.
1. newSearchPage.component.html: Increase left margin of download button | Added button for compact view | In <search-result> added parameter "compactView".
2. newSearchPage.component.html: Added class fields "@Input() hasCompactView: boolean = false;", to show compact button or not and "public compactView: boolean = false;" to show compact or expanded view of each result.
3. searchDownload.component.ts: Changed download <button> to <a> with class "custom-view-button" | Set visuallyHidden to icon.
4. searchResult.component.ts: Added class field "@Input() compactView: boolean = false;".
5. searchResult.component.html: In <result-preview added parameter "compactView".
6. entity-actions.component.ts: Added class field "@Input() compactView: boolean = false;" | When compactView is true, hide action labels - show only icons.
7. result-preview.component.ts: Added class field "@Input() compactView: boolean = false;".
8. result-preview.component.html: When compactView is true, make margins smaller, show 1 line in title, hide funder budget, identifiers, website url, oai-pmh url, description, action oa routes and metrics labels, and added "compactView" parameter in <entity-actions>.
2024-07-09 17:11:55 +03:00
Konstantina Galouni 0bd8667667 [develop | DONE | CHANGED]: dataProviderInfo.ts: Renamed "EOSC Service Catalogue" to "EOSC Resource Hub" | environment.ts: Updated "eoscMarketplaceURL" property. 2024-07-02 00:46:57 +03:00
Konstantina Galouni 85657ceb61 [develop | DONE | CHANGED]: Parse research products versions from "children" field of the record, instead of querying explicitly.
1. resultLandingInfo.ts: Added field "children".
2. resultLanding.service.ts: Set children field.
3. resultLanding.component.html: In <deletedByInference> add parameter children.
4. result/deletedByInference/deletedByInference.component.ts: Parse children to initialize resultsPreview: ResultPreview[] and show versions accordingly.
2024-07-02 00:25:35 +03:00
Konstantina Galouni a8c2b2d0a3 [develop | DONE | CHANGED]: Parse organization versions from "children" field of the record, instead of querying explicitly.
1. organizationInfo.ts: Added field "children".
2. organization.service.ts: Set children field.
3. organization.component.html: In <organizationsDeletedByInference> add parameter children.
4. organization/deletedByInference/deletedByInference.component.ts: Parse children to initialize resultsPreview: ResultPreview[] and show versions accordingly.
2024-07-02 00:15:21 +03:00
Konstantina Galouni de793ab3ad [develop | DONE | ADDED]: Added relation between products (research product landing) and services (data sources - exclude service type).
1. result-preview.ts: Define interface RelationDatasource and added method "relationDatasourceConvert()".
2. resultLandingInfo.ts: Added fields "relatedServices" and "relatedServicesClassFilters".
3. resultLanding.service.ts: Call parsing for relations "dnet:result_datasource_relations".
4. parsingFunctions.class.ts: Added method "parseDatasources()".
5. resultLanding.component: Follow same schema for related research products (relatedResults) and related services (relatedServices), initialize relation fields and show them.
2024-07-01 23:35:47 +03:00
Konstantinos Triantafyllou e463080109 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2024-06-28 11:51:17 +03:00
Konstantinos Triantafyllou 6b2e1c1025 [develop]: Fix import/export indicators tab title wasn't imported bug. 2024-06-28 11:51:09 +03:00
Konstantinos Triantafyllou 1747140063 [develop]: Add new types in portal types. 2024-06-27 15:36:38 +03:00
Konstantina Galouni 5faca0746c [develop | DONE | CHANGED]: dataProviderInfo.ts & organizationInfo.ts: Mark some fields as deprecated (not used anymore). 2024-06-20 15:28:22 +03:00
argirok 1b7179207d [develop | DONE | FIXED ] fix checks for deposit pages in explore 2024-06-13 10:57:19 +03:00
argirok beddd67d34 [pluginsFunctionality | DONE | CHANGED] clean up logs 2024-06-10 09:15:19 +03:00
argirok 4fffa9f06c Merge remote-tracking branch 'origin/develop' into plugins-functionality
# Conflicts:
#	utils/properties/environments/environment.ts
2024-06-10 09:11:08 +03:00
argirok d0adf442db [pluginsFunctionality | DONE | CHANGED] Deposit add page-enabled check to show links only if page is enabled, updates on the list of zenodo communities that contains master 2024-06-10 09:08:32 +03:00
Konstantina Galouni ca6f1fd751 [develop | DONE | FIXED]: result-preview.component.html: Added check, not to show acronym & title when they are the same. 2024-06-04 11:48:54 +03:00
Konstantinos Triantafyllou 3a6b01ebe8 [develop | DONE]: Add isBottomIntersecting in layoutService and use is when it is needed. Add capitalize all in order to capitalize all words with whitespace separator. 2024-06-03 17:12:52 +03:00
Konstantinos Triantafyllou f8186cb2ea [develop]: Fix check in belongsTo class. 2024-06-03 15:59:25 +03:00
Konstantinos Triantafyllou 2d9141d5c1 [master]: Update development monitor service. 2024-06-03 13:28:28 +03:00
Konstantinos Triantafyllou df2516f8f7 [develop | DONE]: Add belongs to all entities and add message in html. 2024-05-31 13:59:23 +03:00
Konstantinos Triantafyllou ead1c8f903 Merge remote-tracking branch 'origin/develop' into plugins-functionality 2024-05-30 14:47:11 +03:00
Konstantinos Triantafyllou 65a60ddad1 [Develop | ADDED]: Add belongsTo configuration for all entities and initialize it in results. 2024-05-29 13:05:04 +03:00
Konstantina Galouni 59fc73bf4d [develop | DONE | FIXED]: In search results, only 1000 relations are fetched and shown - show messages.
1. result-preview.component.html: Added input parameter "resultTitle" to <entity-metadata>.
2. entity-metadata.component.ts: Added @Input() resultTitle: string = null; | When more than 1000 projects or organizations, show +more projects/partners and in modal, show message "Only 1000 Projects/ Partners of {result title} are shown here."
2024-05-28 16:34:16 +03:00
Konstantina Galouni cc6b5aeffe [develop | DONE | CHANGED]: Excluded (filter out) unidentified projects from search.
1. searchProjects.service.ts: Added filter &fq=(projectcode<>"unidentified") in methods "getProjectsforDataProvider()", "advancedSearchProjects()", "getProjectsForOrganizations()", "numOfSearchProjects2()".
2. organization.component.ts: In method call "searchProjectsService.getProjectsForOrganizations()" updated parameter for funder to be in fq instead of keyword query.
3. projects-in-modal.component.ts: In method "updateFilters()", format filterQuery to be in fq instead of keyword query.
4. entitySearch.service.ts: In method "search()", for type "project", added in the query &fq=(projectcode<>"unidentified").
2024-05-28 15:27:33 +03:00
Konstantinos Triantafyllou 1ac4365e05 [develop | DONE]: Add Role Utils with naming variables for roles 2024-05-28 12:21:37 +03:00
Konstantina Galouni 43990dc582 [develop | DONE | FIXED]: [BUG FIX] showAuthors.component.ts: Remove non existing field from the condition. 2024-05-23 18:16:07 +03:00
Konstantina Galouni 632d11c82c [develop | DONE | FIXED]: showAuthors.component.ts: On destroy of component, delete all elements with "orcid-dropdown" class from "modal-container". 2024-05-22 16:50:58 +03:00
argirok 79b723e75c [develop | DONE | ADDED ] add coins icon 2024-05-22 14:40:42 +03:00
argirok e7bbe7a359 [plugins-functionality | DONE | ADDED ] add and delete custom plugins, edit plugin in distinct route, add prompt to go back to plugins list 2024-05-22 11:09:18 +03:00
Konstantina Galouni 633f3250ac Merge remote-tracking branch 'origin/develop' into on-push-strategy 2024-05-21 13:10:36 +03:00