Commit Graph

192 Commits

Author SHA1 Message Date
argirok f27b8e11f7 [angular-16-irish-monitor | WIP] logService and properties 2023-11-28 18:42:21 +02:00
Konstantinos Triantafyllou 752baad8de [angular-16-irish-monitor]: Merge from develop(2) 2023-11-16 11:52:46 +02:00
Konstantinos Triantafyllou 552f1ed43a [angular-16-irish-monitor]: Merge from develop 2023-11-16 11:47:50 +02:00
argirok 5b0c207150 [develop | DONE | FIXED] : re-add properties for services 2023-11-15 17:39:03 +02:00
Konstantinos Triantafyllou a8c91dc04c [angular-16-irish-monitor | DONE]: Change dev upload to mpagasas. 2023-11-14 16:10:55 +02:00
Konstantinos Triantafyllou e80f73f9a9 [angular-16-irish-monitor | WIP]: Add base components for stakeholder, indicators and sidebar. Deprecated StakeholderEntities. 2023-11-13 15:00:05 +02:00
argirok 293be5e1d2 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/openaire-library into develop 2023-11-13 13:34:48 +02:00
Konstantina Galouni 7f9117eccb [develop | DONE | CHANGED]: data sources landing: Get and parse number of collected fulltexts from a new stats api.
1. env-properties.ts: Added property pdfStatisticsAPIURL?: string;
2. environment.ts: Added pdfStatisticsAPIURL property in all environments.
3. dataProvider.service.ts: Uncomment method "getCollectedFulltexts()".
4. dataProvider.component.ts: Call method "getCollectedFulltexts()" instead of "getDataProviderAggregationStatus()".
2023-11-10 19:44:15 +02:00
Konstantina Galouni 3aff9ee76e [develop | DONE | ADDED] openaireLibrary - environment.ts: Added common properties searchLinkToService, searchLinkToServices, searchLinkToAdvancedServices. 2023-11-07 13:32:05 +02:00
argirok 3e656de39c [develop | WIP] : Properties: add again clientManagementUrl property 2023-11-02 09:19:24 +02:00
argirok 0c0ef48b49 [develop | WIP] : Properties: remove wrong import, add more properties related to admin portal 2023-11-01 17:49:01 +02:00
argirok 59d64b74e7 [develop | WIP] :update common properties - add connect related ones + claims api url 2023-11-01 16:35:46 +02:00
argirok 7399cd9ea6 [develop | WIP] add common properties in library file, delete unused properties 2023-11-01 14:27:54 +02:00
argirok 6ce2b75ee6 [develop | WIP | UPDATED] add common properties in library file, delete unused properties 2023-11-01 14:26:09 +02:00
Konstantina Galouni 5184ffad19 [angular-16 | DONE | ADDED] env-properties.ts: Added "faircore4eosc" in type Dashboard and type PortalType. 2023-10-30 11:22:20 +02:00
Konstantina Galouni f6e927f4c2 [angular-16 | WIP | REMOVED] Removed files environment.all.ts, environment.beta.ts, environment.prod.ts, environment.test.ts and define and export all properties from environment.ts. 2023-10-19 14:49:14 +03:00
Konstantina Galouni c29488545e [Library & Explore | develop]: Added in openaireLibrary environment files for common properties (environment.all.ts: Common properties among all portals, regardless environment, environment.-/test/beta/prod.ts: Common properties per environment among all portals) | environments/: Build and export properties by merging local properties and common properties. 2023-10-10 17:42:40 +03:00
Konstantina Galouni 445441572d [Library & Explore | develop]: Added software heritage as pid for research products.
1. environments/: Added in all environments, property: swhURL: "https://archive.softwareheritage.org/".
2. env-properties.ts: Added property swhURL?: string;
3. string-utils.class.ts: Added method "isValidSwhId()" and swhid in checks and definitions.
4. resultLandingInfo.ts: Added swhid in accepted types of interface Id.
5. resultLanding.component.ts: Added check for swhid in "getReferenceIdName()" and "getReferenceUrl()".
6. parsingFunctions.class.ts: Added pid[i].classid == "swhid" check in "parseIdentifiers()".
7. showIdentifiers.component.ts: Added "swhid" in display of pids.
2023-10-06 12:22:00 +03:00
Konstantina Galouni edf8ae835c [Library | develop] fos/fos.component.ts & landing-utilts/fos.component.ts & searchFields.ts: Restored checks for environment to use fos or foslabel field - foslabel not yet introduced in current prod index. 2023-10-02 13:13:22 +03:00
Konstantina Galouni e6bdbb2c81 [Library | develop]: searchFields.ts: In RESULT_REFINE_FIELDS, query "foslabel" (instead of fos) field in all environments. 2023-09-04 15:45:06 +03:00
Konstantinos Triantafyllou 5645deec97 Change portal client-management to developers 2023-07-13 18:39:26 +03:00
Konstantinos Triantafyllou 76cb586ebd Add foslabel in searchFiles only for beta, dev. Change eoscifguidelines to refine. Input fix double icon in select with many values. 2023-07-06 12:53:37 +03:00
Konstantina Galouni a6dee41979 Merging 'develop' branch into explore-redesign. 2023-07-05 11:40:43 +03:00
Konstantinos Triantafyllou 7d2eb68914 Add refreshToken and accessToken in userInfo. Add property for clientManagementAPI. Create jsonValidator 2023-06-26 11:31:22 +03:00
Konstantina Galouni a0b4ccff23 Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-13 16:12:56 +03:00
Konstantinos Triantafyllou e6d4be5454 Add client-management-portal in Dasbboard values of properties. 2023-06-07 17:34:53 +03:00
Konstantina Galouni 9852bdeebf Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-07 14:52:05 +03:00
Konstantinos Triantafyllou 39a7ed58be Properties: add hasMachineCache in order to use cookie or not. 2023-05-25 16:37:12 +03:00
Konstantina Galouni e07891e4fa [Library | explore-redesign]: Moved <quick-selections> to the left as filter and re-arranged the order of the filters.
1. searchFields.ts:
   a. Added in HIDDEN_FIELDS, "instancetypename" (refine filter for research products).
   b. In DEPENDENT_FIELDS, set ["instancetypename"]: "type"
2. quick-selections.component.ts: Added again (as in the past), @Input() vertical: boolean=false and show types using <search-filter> if vertical is true.
3. searchAll.component.html: Changed medium top and bottom margins to uk-margin-top uk-margin-bottom.
4. newSearchPage.component.ts:
   a. In method "getFields()", check for HIDDEN_FIELDS, also dependencies to resultTypes.
   b. Added method "getFilterById()".
5. newSearchPage.component.html:
   a. Moved <quick-selections> to the left as filter (removed "include" line).
   b. Added <ng-template #search_filter> and re-arranged the order of the filters
2023-05-12 18:52:13 +03:00
Alex Martzios 2d8be41146 search page: group time filters (e.g projects -> startdate, enddate, activewithin) 2023-04-26 12:28:37 +03:00
Alex Martzios dd6f18db52 search page: simplify search bar - remove 2 steps 2023-04-21 11:04:43 +03:00
Alex Martzios beebd6c6d7 progress for landing pages redesign 2023-02-08 11:21:16 +02:00
Konstantina Galouni f3f395d15a [Library & EOSC Explore | angular-14]: environment.ts: Updated properties | searchFields.ts: Updated type of "eoscifguidelines" field to "keyword" from "refine" (to be discussed) | home.component: [Bug fix] Fixed after it has been checked error (disableSelectChange() method added). 2022-12-05 14:43:53 +02:00
Konstantina Galouni 05c950c60d [Library]: searchFields.ts: Changed "type" of "eoscifguidelines" field from "keyword" to "refine", to get dynamically the available values for the eosc subjects. 2022-11-29 14:05:53 +02:00
argirok 764b92ae66 Eosc data transfer:
- add and use separate property for login url
- use new API url
2022-11-11 11:20:02 +02:00
argirok ef97747596 update datatransfer browse functionality
add new properties, add datatransferAPI in the error interceptor
2022-10-05 16:52:04 +03:00
Konstantina Galouni a246608368 [Eosc Explore]: Updated some styles | Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" | Do not add hardcoded compatibility label "Not yet registered" | Bug fix in Access filter
1. styles.less: Renamed from styles.css and added imports of less files and portal-custom.css (to be updated).
2. angular.json: In styles configuration added styles.less.
3. index.html & beta/index.html: In beta badge, used background instead of background-color to css rules.
4. portal-custom.css: Added rule for .search-form to inherit color in background.
5. searchFields.ts:
   a. Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources refine filter "Type".
   b. In method "getResultAdvancedFields()" return always RESULT_ADVANCED_FIELDS without excluding "eoscifguidelines".
6. datasourcesHelper.class.ts: Replaced "datasourcetypeuiname" field with "eoscdatasourcetype" for datasources queries and used updated type names "Research Entity Registry" (old "Registry") and "Journal Archive" (old "Journal archive").
7. cache-interceptor.service.ts: Updated cachingRequests array, using new "eoscdatasourcetype" and its values.
8. dataProvider.component.html && result-preview.component.html: Do not add hardcoded compatibility label "Not yet registered" and updated checks.
9. resultLanding.service.ts & parsingFunctions.class.ts: Parse resultLandingInfo.eoscSubjects only by "eoscifguidelines" field not "subjects".
10. searchFilter.component.ts: [Bug fix] In Access filter, fixed bug in view all, when clearing the preselected value.

* Do not forget to add in package.json in devDependencies, "@types/express-serve-static-core": "4.17.28"
2022-09-30 14:51:00 +03:00
Konstantina Galouni 7ef47ab0ef [Library | new-theme]: Fixes in parsing of "eoscifguidelines" | Added EOSC Subject ("eoscifguidelines") in RESULT ADVANCED FIELDS (not in production for now).
1. resultLanding.service.ts: [Bug fix] Spelling error in parsing of "eoscifguidelines" field.
2. showSubjects.component.ts: [Bug fix] Do not show "EOSC" label in classified subjects, when no "eoscSubjects" parsed.
3. searchFields.ts: In RESULT_ADVANCED_FIELDS added "eoscifguidelines" | Added method "getResultAdvancedFields()", which does not include "eoscifguidelines" in "RESULT_ADVANCED_FIELDS" when environment == "production".
4. searchAll.component.ts & searchResearchResults.component.ts: Get searchFields.RESULT_ADVANCED_FIELDS from "getResultAdvancedFields()".
2022-09-09 00:46:44 +03:00
Konstantina Galouni 27d7c7c118 [Connect Admin | Library | new-theme]: Added call to purge browser cache when updating content of community.
1. env-properties.ts & environments/: Added property "deleteBrowserCacheUrl".
2. clear-cache.service.ts: Added method "purgeBrowserCache()" to purge browser cache for a specific community.
3. entities.component.ts & menu.component.ts & pages.component.ts & affiliations.component.ts & edit-community.component.ts add-content-providers.component.ts & remove-content-providers.component.ts & add-projects.component.ts & remove-projects.component.ts & subjects-edit-form.component.ts & personal-info.component.ts & customization.component.ts: Call "_clearCacheService.purgeBrowserCache()" when adding/updating/deleting content of a specific community.
4. connect-admin-customization.module.ts: Added CommunitiesService in providers.
5. connect-admin-customization.component.ts: Added button to purge browser cache for all communities and connect.
2022-08-11 12:58:20 +03:00
Konstantina Galouni 9c194a3a56 [Library | new-theme]: searchPages/: Set default value null to @Input() openaireLink | env-properties.ts: In Dashboard type added "eosc". 2022-08-08 17:45:31 +03:00
argirok 123766d46e update Customization Options
remove unused property portalBuildTime
2022-08-08 13:16:13 +03:00
Konstantina Galouni d43f576d40 [Explore | Library | new-theme]: Added more refine filters in Repositories, Journals, Registries pages | Search & Datasource landing: Show not compatible datasources | Result Landing: get relations names by relationsVocabulary (dnet:relation_relClass.json).
1. env-properties.ts & environments/: Removed old properties searchLinkToEntityRegistriesDataProvidersTable and searchLinkToJournalsTable.
2. fetchDataproviders.class.ts & searchDataproviders.service.ts: Removed old unused methods related to subjects/ tables/ csv.
3. searchFields.ts: Added more refine filters in Repositories, Journals, Registries pages (COMPATIBLE_DATAPROVIDER_FIELDS, ENTITY_REGISTRIES_FIELDS, JOURNAL_FIELDS).
4. result-preview.component.ts: Added field @Input() deposit: boolean = false;
5. result-preview.component.html:
   a. Added link to landing page even for not compatible datasources.
   b. Added class "uk-label-danger" when compatibility = "not available" only when deposit=true.
6. searchResultsInDeposit.component.html: In <result-preview> added parameter deposit="true".
7. dataProvider.component.html:
   a. Added class "uk-label-danger" when compatibility = "not available".
   b. Show custom "Not yet registered" compatibility label when compatibility = "not available".
8. ISVocabularies.service.ts: Added methods for getting relationsVocabulary (dnet:relation_relClass.json).
9. resultLanding.service.ts & parsingFunctions.class.ts: When parsing relations, get relationName from relationsVocabulary.
10. resultLanding.component.ts: Get relationsVocabulary and pass it to "getResultLandingInfo()".
11. orcid-work.component.ts: When calling "getResultLandingInfo()", added null parameter for relationsVocabulary.
12. configuration.service.ts: [Bug fix] Added more checks in method "isPageEnabledByStateAsync()".
2022-08-03 18:21:14 +03:00
argirok 17200edf21 Customization: updates for buttons customization
add property connectportalUrl - use it for preview and build css methods
2022-08-01 12:18:47 +03:00
argirok 8c6f74c5fe Customization changes: add suffix for connect and default css files, add css only in server, add property for build date 2022-07-25 17:03:42 +03:00
Konstantina Galouni 428a48223a [Library | new-theme]: Sorted Advanced filters alphabetically | Added "pid" in advanced filters for Datasource | Organization lannding: projects tab: Added number of selected values in funder filter.
1. projects-in-modal.component.ts: Added the missing number of selected values next to the filter name - on updateFilters() method, update filter.countSelectedValues.
2. searchFields.ts:
   a. Added pid in  DATASOURCE_ADVANCED_FIELDS.
   b. Added method "sortFieldsByName()" to sort fields by name and leave "q" filter (Any field) first.
3. searchAll.component.ts & searchDataProviders.component.ts & searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts: Added "this.searchFields.sortFieldsByName(this.fieldIds, this.fieldIdsMap);" to sort advanced fields alphabetically.
2022-06-23 17:30:45 +03:00
Konstantina Galouni 7dc4c5e664 [Library | new-theme]: Removed parsing and display of special clause 39 (esc39) | In parsing for open access mandate for datasets, added check if field is "projectoamandatedata" (ecarticle29_3 to be renamed to projectoamandatedata).
1. project.component.html & result-preview.component.html: Do not display label for "Special Clause 39".
2. project.service.ts:
   a. Removed parsing of ecsc39.
   b. For parsing of openAccessMandateDatasets, use projectoamandatedata or ecarticle29_3.
3. searchDataproviders.service.ts & searchOrganizations.service.ts & searchResearchResults.service.ts: Removed sc39 from "title" of SearchResult.
4. searchProjects.service.ts:
   a. Removed sc39 from "title" of SearchResult.
   b. Removed parsing of ecsc39.
   c. For parsing of openAccessMandateDatasets, use oamandatedata or ecarticle29_3.
5. organizationInfo.ts: Removed "sc39: string;" from OrganizationProject.
6. projectInfo.ts: Removed "specialClause39: string;" from ProjectInfo.
7. searchFields.ts: Removed "projectecsc39" and added "projectoamandatepublications" in PROJECT_REFINE_FIELDS.
8. result-preview.ts: Removed "sc39: string;" from ResultTitle and ResultPreview | Do not set sc39 in searchResultConvert().
2022-06-15 13:54:49 +03:00
argirok fbb86407c4 remove unused methods from metrics Service, remove metricsAPIURL property 2022-06-08 14:39:05 +03:00
Konstantinos Triantafyllou c69ff39d03 Search Page: Fix an error with expression change. Change in all fields with vocubulary or entity plus pid the equality operator to exact. 2022-06-02 17:44:56 +03:00
Konstantinos Triantafyllou c9c1aff2ff Change queries in advanced to support or not. Add different options for every equality operator. 2022-06-01 13:27:46 +03:00
Konstantina Galouni e9a2163136 [Library & openaire-theme & Explore | new-theme]: Beta indication in fos & sdgs (search, landing, dedicated pages) | Fixes in offcanvas and search all page for small screens.
1. badge.css: [NEW] Css file for uk-badge added.
2. import.css: Added @import "structure/badge.css";
3. fos.component.html & sdg.component.html: Added beta badge on top left of the title.
4. landing-utils/fos.component.ts & landing-utils/sdg.component.ts: Added [Beta] in title.
5. searchFields.ts: In sdg and fos RESULT_FIELDS, added [Beta] in their names.
6. offcanvas.css: [Bug fix] In rule .offcanvas .uk-offcanvas-bar added "max-width: 100vw", so that offcanvas does not exceed the screen width.
7. searchAll.component.html: Added some classes in <advanced-search-form> and uk-slider to be better displayed in small screens (form within page with some horizontal margins and arrows in slider).
2022-05-30 15:36:33 +03:00