Commit Graph

321 Commits

Author SHA1 Message Date
Alex Martzios bef6dda2c2 [develop | WIP | CHANGED] help-content.service.ts: mark some functions as unused - some moved to different services. TODO: deletion 2024-09-24 10:52:51 +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
Alex Martzios 8f646a883f [develop | DONE | ADDED] help-content.service.ts: add a function used in connect-admin, remove unused parameter from other functions 2024-09-19 10:49:03 +03:00
Alex Martzios 1593ea6ed9 [develop | DONE | CHANGED] adminToolsAPIURL: add property direclty on service file 2024-09-13 09:59:24 +03:00
Alex Martzios d298a10686 [develop | DONE | CHANGED] monitorServiceAPIURL, notificationsAPIURL, adminToolsAPIURL properties: moved to service files and not function parameters, remove duplicate '/' from stakeholder.service.ts 2024-09-12 10:49:03 +03:00
argirok 4727fb7a10 [develop | DONE | FIX ] delete portal, pass the portal type of the first one 2024-09-09 10:57:39 +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 853b072c62 [develop | DONE | FIXED]: searchProjects.service.ts: Added parameter excludeUnidentfied: boolean = true in method "advancedSearchProjects()" to add or not the basic query :&fq=(projectcode<>"unidentified") | claimProjectSearchForm.component.ts: In calls of projectService.advancedSearchProjects, set parameter "excludeUnidentfied" to false, not to exclude unidentified projects (irish funders were missing from the funders list). 2024-07-05 16:00:36 +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
Argiro Kokogiannaki ac25509dac Merge pull request 'plugins-functionality' (#43) from plugins-functionality into develop
Reviewed-on: #43
2024-06-13 09:14:21 +02:00
Konstantinos Triantafyllou 78b2f35c43 Merge remote-tracking branch 'origin/develop' into umbrella 2024-05-30 22:22:34 +03:00
Konstantinos Triantafyllou ead1c8f903 Merge remote-tracking branch 'origin/develop' into plugins-functionality 2024-05-30 14:47:11 +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
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
Konstantinos Triantafyllou 8774a79230 Merge remote-tracking branch 'origin/develop' into umbrella 2024-05-21 11:07:07 +03:00
Konstantinos Triantafyllou 8bb2ebef3e Add umbrella in stakeholder and adjust some admin pages. 2024-05-21 11:05:16 +03:00
Konstantina Galouni 2a28cd8ad5 [develop | DONE | CHANGED]: #9764 - searchOrganizations.service.ts: Parse and display organization legalname and legalshortname. 2024-05-20 15:59:32 +03:00
Konstantina Galouni d3746b28d0 [develop | DONE | CHANGED]: organization.service.ts & searchOrganizations.service.ts: Removed environment check for parsing organization pid. 2024-05-20 15:18:54 +03:00
argirok 01554f58f5 [pluginsFunctionality | DONE | CHANGED] remove cache from plugins, configuration and helper services 2024-05-09 10:18:20 +03:00
argirok 678908df5f Merge remote-tracking branch 'origin/develop' into plugins-functionality 2024-04-19 12:41:05 +03:00
argirok 68125b3577 [develop | DONE | CHANGED] Claims: keep both shortname and funderName, in cards show fundername. For unidentified, hide code and link 2024-04-19 12:09:00 +03:00
Konstantina Galouni eeb63a2de9 [develop | DONE | CHANGED]: In search projects results, show funder name by default, and if not available, show funder short name.
1. searchResult.ts: Added field funderName: string; in class SearchResult.
2. result-preview.ts: Added field funderName: string; in class ResultPreview & in method "searchResultConvert()" set resultPreview.funderName = result.funderName;
3. searchProjects.service.ts: Added parsing of funderName.
4. result-preview.component.html: Show funderName and if not available, show funderShortname.
5. entity-metadata.component.ts: Added check for funders display.
2024-04-16 11:47:12 +03:00
Konstantina Galouni 4b3e805d31 [develop | DONE | REVERTED]: searchProjects.service.ts: Revert parsing funder name if funder shortname is not available. 2024-04-16 11:36:45 +03:00
Konstantina Galouni 438075f8df [develop | DONE | FIXED]: Fixes on search projects for claims.
1. searchProjects.service.ts: Parse funder name if funder shortname is not available.
2. claimProjectSearchForm.component.ts:
   a. [BUG FIX] Set filter.countAllValues = filter.values.length; to show filter values without extra "view all" call
   b. [BUG FIX] Call projectService.advancedSearchProjects instead of projectService.searchProjects to get projects (/resources2 instead of /projects) to get 100 first values by default in facets.
2024-04-12 11:19:17 +03:00
argirok 9044ed174f [plugins-functionality | DONE | CHANGED ] Change the way the cache is cleared 2024-04-03 10:26:29 +03:00
argirok 750b279ed3 [plugins-functionality | WIP ] Plugins change background when preview in admin 2024-04-01 13:15:52 +03:00
argirok 25051df626 [plugins-functionality | DONE | CHANGED] update plugin service methods signatures to contain pid, to be able to apply authorization 2024-03-27 13:08:52 +02:00
argirok 8eba807906 [pluginsFunctionality | DONE | CHANGED] add property forceCacheReload, for requests that pass from cache (useLongCache=true) check and pass forceReload parameter, get from cache plugin requests 2024-03-27 09:29:07 +02:00
argirok 7d5b82e0dc [plugins-functionality | WIP] 2024-03-15 20:19:31 +02:00
argirok b91822db64 [plugins-functionality | WIP] more updates and fixes 2024-03-15 15:56:54 +02:00
argirok a50d5dc509 Merge remote-tracking branch 'origin/develop' into plugins-functionality 2024-03-13 13:19:38 +02:00
argirok 6b907fe97d [develop | DONE | ADDED] add method for grouped count queries that goes through the cache 2024-03-13 12:04:23 +02:00
argirok 2bb981c489 Merge branch 'develop' into plugins-functionality 2024-03-07 11:22:30 +02:00
Konstantina Galouni 6a41954109 [develop | DONE | CHANGED & ADDED]: env-properties.ts & environment.ts: Added properties "rorURL", "isniURL", "wikiDataURL", "fundRefURL" | organizationInfo.ts: Added identifiers | searchOrganizations.service.ts & organization.service.ts: Parse identifiers (pid) [BETA ONLY] | organization.module.ts: Import ResultLandingUtilsModule (to call <showIdentifiers> | organization.component: Removed old unused code & Added <showIdentifiers> & In mobile added country and website url | parsingFunctions.class.ts: Added parsing for organization pids | showIdentifiers.component.ts: Added cases for organization pids & check if pid value is a url, do not add prefix. 2024-03-04 13:14:09 +02:00
Konstantinos Triantafyllou 5195306ee6 [develop]: Add userInfoUrl variable in user management service. 2024-02-13 11:57:46 +02:00
Konstantinos Triantafyllou 6e2cf28aee [angular-16-irish-monitor]: Merge from develop 2024-02-12 14:53:07 +02:00
Konstantinos Triantafyllou 3d08ffeb52 [angular-16-irish-monitor]: Fix cancel invitation method of a user. Set rootClass only if it is changed.
(cherry picked from commit ba1a3b9e62)
2024-02-12 12:15:36 +02:00
Konstantinos Triantafyllou 87fb820421 [angular-16-irish-monitor | WIP]: Add role group before type of an entity.
(cherry picked from commit 65f8676a08)
2024-02-12 12:15:04 +02:00
Konstantina Galouni a7294685fb [develop | DONE | CHANGED]: refineFieldResults.service.ts & searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts & searchResearchResults.service.ts: Set cache for default refine queries (without keywords or filters) - not in deposit and datasource specific pages. 2024-02-08 18:05:27 +02:00
Konstantina Galouni fbe514b740 [grouped-queries | DONE | CHANGED] Added groupedRequests.service.ts & groupedRequestsService.module.ts to call endpoints for grouped queries of each page | numbers.component.ts: Replaced queries of numbers (in Home page) with grouped query for home page of EXPLORE | searchAll.component.ts: Replaced count queries of each entity (in Search page) with grouped query for Search page of EXPLORE 2024-02-07 22:50:13 +02:00
Konstantina Galouni 83de7adc09 Merging branch develop into angular-16-irish-monitor 2024-02-07 22:32:42 +02:00
Konstantina Galouni f45598b190 [develop | DONE | FIXED]: [BUG FIX] Moved checks for filtering out filter values in parsing phase.
1. refineResults.class.ts:
   a. Updated method "includeValue()" and include "null" (as a string) check | Call method "includeValue()" when creating filters.
   b. Set filter.countUnfilteredValues to the length of values returned by the service before filtering them out.
   c. Check if filters returned by service before trying to parse anything.
2. searchHelperClasses.class.ts: Added in Filter structure the field "public countUnfilteredValues?: number = 0;", to check if there are more values to be queried (show "view all" link or not).
3. searchFilter.component.ts: Updated check of hasMoreValues to show or not the "view all" link - check filter.countUnfilteredValues | Comment filtering out of filter values - moved to refineResults.class.ts.
2024-02-07 15:55:56 +02:00
Konstantina Galouni 75ecd0da5e Merge develop into angular-16-irish-monitor branch 2024-02-06 14:19:27 +02:00
argirok a260ed17bd [plugin-functionalities | WIP] : update plugin forms, add reording, filtering by position, create multiple templates per position, etc 2024-02-02 09:33:01 +02:00
Konstantina Galouni 243e736362 [develop | DONE | CHANGED]: Moved predefined query checks to "fq" field instead of "query" | Updated cachingRequests | Temporary bug fix in refine fields dependent to static refine fields.
1. searchOrganizations.service.ts: In method "numOfSearchOrganizations2()" and in method "advancedSearchOrganizations()" moved predefined query checks to "fq" field instead of "query".
2. entitySearch.service.ts: Mark method "searchByDepositType()" as @deprecated since it is not used anymore.
3. searchDataProviders.component.ts: In methods "_getFilters()" and "getResults()" updated parameters to set predefined query checks to "fq" field instead of "query" for repositories, journals, entity registries, but keep in "query" field for deposit search.
4. cache-interceptor.service.ts: Updated urls in cachingRequests table and checks in "checkForCachedRequests()" method.
5. searchFields.base.ts: [Bug fix] Temporarily removed from HIDDEN_FIELDS and "DEPENDENT_FIELDS" the "instancetypename" field - there is a bug with static refine fields, until the "angular-16-irish-monitor" branch is merged.
2024-02-01 19:46:34 +02:00
Konstantinos Triantafyllou 340dd96dc2 Merge branch 'angular-16-irish-monitor' of code-repo.d4science.org:MaDgIK/openaire-library into angular-16-irish-monitor 2024-01-24 20:13:13 +02:00
Konstantinos Triantafyllou a40f1431ed [angular-16-irish-monitor]: Fix overlay in indicators. Fix admin calls for managers/ivnitations. 2024-01-24 20:13:05 +02:00
Konstantina Galouni 134ab8240e Merge remote-tracking branch 'origin/develop' into angular-16-irish-monitor 2024-01-24 17:05:14 +02:00
Konstantina Galouni 0a47193bf3 [develop | DONE | FIXED]: searchResearchResults.service.ts & resultLanding.service.ts & deletedByInference.service.ts: #9425 - When an author (same name & rank) has 2 instances on the same record, keep orcid information if exists in at least one instance. 2024-01-24 17:03:15 +02:00
argirok adb4c86d2f [angular-16-irish-monitor | DONE | CHANGED] user management service: better clean up reload urls 2024-01-12 11:26:16 +02:00