Commit Graph

872 Commits

Author SHA1 Message Date
konstantina.galouni 411b4fa3a6 [Trunk | Library]: New file "cache-interceptor.service.ts" added - redirects default refine queries in cache - currently, Explore Portal specific.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59153 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 13:19:27 +00:00
argiro.kokogiannaki 3828670514 [Library|Trunk]
JSONLD:
-Home page: 
-Add description in Website with search action
-In every search page add description based on the filters
-In (project, content provider, organization) landing add description if available otherwise use the title
-In project add id in funder entity

Autocomplete: create event emitter to update entity or refine result label (used in jsonld)

	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59152 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 12:41:08 +00:00
k.triantafyllou 048e3b99b5 [Library | Trunk]: Fix types on landing header. Add message if result summary does not exist
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59150 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 09:17:50 +00:00
k.triantafyllou e3a33ba2b5 [Library | Trunk]: Project Landing: Add message insead of - if no summary is available
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59144 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-17 13:19:57 +00:00
k.triantafyllou 775de0cd6b [Library | Trunk]: Projects: 1. Rename organizations to partners. Keep organizations on the right side of the page always, despite the summary is empty
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59143 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-17 09:32:05 +00:00
k.triantafyllou 0965dff176 [Library | Trunk]: Remove Content Provider type from search and landing. (before Title). Change organizations tp partners in search results
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59142 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-17 09:29:57 +00:00
konstantina.galouni 0a1576d618 [Trunk | Library]:
1. community.service.ts: 
	a. Add BehaviorSubject for community.
	b. Method "isCommunityManager" replaced by "isCommunityManagerByState" (filtering applied in community stored in BehaviorSubject).
        c. Method "isRIType" replaced by "isRITypeByState" (filtering applied in community stored in BehaviorSubject).
        d. Method "isCommunityType" replaced by "isCommunityTypeByState" (filtering applied in community stored in BehaviorSubject).
2. connectAdminLoginGuard.guard.ts: 
	a. Get properties from environment (no service needed).
	b. Call method "isCommunityManagerByState" of CommunityService.
	c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
3. connectCommunityGuard.guard.ts: 
        a. Get properties from environment (no service needed).
        b. Call method "isCommunityTypeByState" of CommunityService.
        c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
4. connectRIGuard.guard.ts:
        a. Get properties from environment (no service needed).
        b. Call method "isRITypeByState" of CommunityService.
        c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
5. isRouteEnabled.guard.ts: Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
6. curator.service.ts: [Undo change of r59073] Use "useCache" property, not "useLongCache" for curators.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59140 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-16 23:08:10 +00:00
konstantina.galouni 04badde256 [Trunk | Library]: configuration.service.ts: In "initCommunityInformation" when community parameter is null do not query for /communityFull.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59137 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 14:14:40 +00:00
konstantina.galouni 2163105f9a [Trunk | Library]:
1. newSearchPage.component.html: Do not show "Filters" label when no results and no selected filters | [Bug fix] Check "filter.values" not "filter.values.lenght" - change detection error.
2. searchFilter.component.ts: [Bug fix] Set filter.radioValue also in ngOnChanges - filter value did not seem selected even if it was.
3. searchPageTableView.component.html: Show "Filters" label when there are filters (not only selected filters).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59136 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 14:11:49 +00:00
argiro.kokogiannaki fd27e88386 [Library|Trunk]
JSONLD changes: 
	Add id in every jsonld
	Home page: 
		remove search action from Organization
		Add description in Organization
		Add Website with search action
	Add Organization and Website in every page
	In every search page add is part of the Website
	In result landing (Type Dataset) when there is no description add title in description
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59134 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 13:59:09 +00:00
konstantina.galouni 2e045b95d3 [Trunk | Library]: Removed old, unused folders "deposit/datasets", "deposit/publications" and files "deposit.component", "deposit.module" | Removed references to deleted files from app.module and app-routing.module.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59131 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 11:59:16 +00:00
k.triantafyllou 716a8cb5af [Library | Trunk]: Update annotation list if something changes on the iframe
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59125 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 11:32:03 +00:00
konstantina.galouni 72eeff6561 [Trunk | Library]:
1. parsingFunctions.class.ts: [ticket #3796] When hostedby name is "Unknown repository" or "other resources" show part or url as name.
2. organization.service.ts & searchOrganizations.service.ts: [ticket #5753] Compatibility limitation in landing page removed | Compatibility "openaire-cris_1.1" added in search organizations.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59124 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 11:25:17 +00:00
konstantina.galouni 2c99a4a657 [Trunk | Library]: isRouteEnabled.guard.ts: Remove print message for debugging.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59123 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 10:36:03 +00:00
argiro.kokogiannaki 150efc1cfb [Connect|Trunk]
Connect Helper: read community from domain for production

Add extra properties file for real production environment (environment.prop.prod.ts)

Add new piwik ids



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59121 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-15 08:19:35 +00:00
argiro.kokogiannaki ed9b39dfb6 [Library | Trunk]
Search Filter - radio input:
	make it work for radio and make unique selection
	add field radioValue
	initiate it (in parse refine results) and clear it properly (from new search page)
	


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59117 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 15:18:14 +00:00
konstantina.galouni a7e07d8f7e [Trunk | Library]:
1. advancedSearchForm.component.html & searchPaging.component.ts & pagingFormatter.component.ts 
   & searchResultsPerPage.component.ts & searchSorting.component.ts & searchFilter.component.html & rangeFilter.component.html:
	Update/ impove "disabled" view (when results/ filters are loading).
2. searchFilter.component.html: [Bug fix] When selecting a radio button, all values of filter seemed to be selected --> name is value.id not filter.filterId.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59115 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 13:13:44 +00:00
k.triantafyllou 1c71fcfe8c [Library | Trunk]: Add onchanges function on search filter
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59113 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 12:41:09 +00:00
k.triantafyllou d6135ec6b8 [Library | Trunk]: Change organization meta tag title
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59108 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 10:18:40 +00:00
k.triantafyllou 3fe78d9e86 [Library | Trunk]: Add checkbox and radio class on view more filters
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59107 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 10:09:16 +00:00
k.triantafyllou 4ba22261aa [Library | Trunk]: Change organization parsing. Remove unknown countries
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59105 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-14 09:57:11 +00:00
konstantina.galouni b8d949976e [Trunk | Library]: newSearchPage.component.html: Show label "Filters" always in filters left column.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59099 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 22:22:23 +00:00
argiro.kokogiannaki 8b0554bfd2 [Library|Trunk]
NewSearchPage Component - Custom filter:
	add custom filter in selected filters if not hidden and there in not in the refine fields
	use parameter cf=true to enable the filter




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59093 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 15:23:20 +00:00
k.triantafyllou 0c31508f7a [Library | Trunk]: Result Landing fix organization url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59092 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 15:05:18 +00:00
k.triantafyllou 034a9e00a7 [Library | Trunk]: Replace static links with property url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59090 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 14:42:34 +00:00
konstantina.galouni b76db39510 [Trunk | Library]: parsingFunctions.class.ts: [Bug fix] Parsing for "pid" field updated - group identifiers by "classid" not "classname".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59087 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 11:48:22 +00:00
konstantina.galouni 0a23dd3d3b [Trunk | Library]:
configuration.service.ts & ISVocabularies.service.ts: [Bug fix] Inside promise, when subscribing to request, resolve in error case as well (otherwise it never returns).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59085 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 10:13:42 +00:00
k.triantafyllou 3927a6079e [Library | Trunk]: Add uikit classes on inputs
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59082 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 09:52:52 +00:00
argiro.kokogiannaki 3061455f8a [Library | Trunk]
Dashboard Sidebar: 
	pass query params for search
	add is activeURL method
	add mini_Title to be visible in mini_sidebar view

New Search page: include  changes for dashboard search
		- filters on the right
		- selected filters on top of the results
		- make selected filters an ng-template




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59078 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-13 09:15:00 +00:00
konstantina.galouni 5c9575ab7a [Trunk | Library]:
1. configuration.service.ts: Use "useLongCache" property for communityFull | Add BehaviorSubject for communityFull | Add filtering methods to check if route is enabled from communityFull info.
2. isRouteEnabled.guard.ts: Get properties from environment (no service needed) | Foreach route do not query API but check if enabled by communityFull info (BehaviorSubject).
3. search.component.ts & searchAll.component.ts & entitiesSelection.component.ts & quick-selections.component.ts & navigationBar.component.ts & bottom.component.ts: 
	Get communityFull info from state (call configurationService.communityInformationState) | Add subscriptions in array to unsubscribe in ngOnDestroy.
	quick-selections.component.ts: Add "uk-disabled" class when needed in <form> elements.
4. resultLanding.module.ts & navigationBar.module.ts & bottom.module.ts & entitiesSelection.module.ts & quick-selections.module.ts: 
	Remove ConfigurationService from providers (singleton service, providedIn: 'root').


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59074 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:19:30 +00:00
konstantina.galouni 0e26d955bc [Trunk | Library]:
1. curator.service.ts: Use "useLongCache" property for curators.
2. helper.service.ts: Use "useLongCache" property for helptexts.
3. env-properties.ts: Add "useLongCache" property.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59073 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:14:50 +00:00
konstantina.galouni 9f569ac4c4 [Trunk | Library]:
1. resultLanding.component.ts: Get provenanceAction vocabulary from ISVocabulariesService.
2. resultLanding.service.ts: Remove methods for "provenanceAction" vocabulary | [Bug fix] Do not stringify "dateofacceptance" when undefined.
3. ISVocabularies.service.ts: Add BehaviorSubjects for vocabularies | Add methods for provenanceAction vocabulary (called by result landing pages).
4. staticAutoComplete.module.ts: Remove ISVocabulariesService from providers (singleton service, providedIn: 'root').


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59072 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:10:43 +00:00
konstantina.galouni 05f3635d28 [Trunk | Library]:
1. showIdentifiers.component.ts: [Bug fix] Replace <li> tag with <div> (component is not inside <ul> element).
2. cookie-law.html: [Bug fix] Add missing closing <div> element.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59071 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-12 22:06:57 +00:00
k.triantafyllou 5317506680 [Library | Trunk]: Change organization link base on property, on Projects
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59068 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 11:29:39 +00:00
argiro.kokogiannaki 979921c536 [Library |Trunk]
Landing: metrics charts -- > change size to 200 values


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59063 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:48:33 +00:00
k.triantafyllou db7bd35f62 [Library | Trunk]: Changes for adding search and langing pages to monitor dashboard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59060 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:37:17 +00:00
argiro.kokogiannaki 9b15bdcd39 [Library|Trunk]
range filter component:
	min, max year can be passed as input
	both start/ end year can be mandatory
	add directive to check if both fields are filled


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59057 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-10 08:16:58 +00:00
argiro.kokogiannaki 6df293c0b8 [Library|Trunk]
Stakeholder:
- add filteredApplied in indicator path.
- add IndicatorFilterUtils

Sidebar: enable search




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59055 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-07 13:50:49 +00:00
konstantina.galouni 650964f962 [Trunk | Library]: resultLanding.component.html & project.component.html: [Bug fix] On modal for linking, when linking option was clicked, modal was not closing.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59049 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-06 17:46:11 +00:00
k.triantafyllou 31a6159ae8 [Library ]
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59044 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-03 14:20:51 +00:00
argiro.kokogiannaki eb1f91160a [Library|Trunk]
Search: createKeywordQuery() add properly the operator when it is needed.

LAnding result: set properly the type when the route changes and it is result.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59042 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 15:53:43 +00:00
k.triantafyllou 34fbdcf44b [Library | Trunk]: Revert parameter to user Info back
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59041 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 15:02:14 +00:00
k.triantafyllou 885999c8ad [Library | Trunk]: Remove parameter from userInfo.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59040 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 14:51:58 +00:00
konstantina.galouni 09fa6aa94b [Trunk | Library]: availableOn.component.ts & result-preview.component.html: Improve view for hostedby elements (Download from section in landing page & result preview - e.g. in versions).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59039 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-02 09:54:36 +00:00
konstantina.galouni 71c1206619 [Trunk | Library]:
1. result-preview.ts & resultLanding.service.ts & deletedByInference.service.ts: Add "icon" field in HostedByCollectedFrom interface.
2. availableOn.component.ts: Access mode icons set at parsing (not here).
3. result-preview.component.html: Add access mode icon & remove external link functionality for collected from (provider).
4. parsingFunctions.class.ts: 
	a. When instance.hostedby has no name (or "Unknown Repository" or "other resources") and no name from "source" found, set url (first 30 chars) as name.
	b. Access mode icons set at parsing for HostedByCollectedFrom interface.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59038 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-01 12:11:57 +00:00
argiro.kokogiannaki 5157c3614c [Library|Trunk]
Result Landing: Fix issue reading the parameter id when the type changes. Read it based on the param name instead of the type.



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59037 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-01 09:11:58 +00:00
argiro.kokogiannaki 2979275c17 [Library|Trunk]
communities:
	add const prodReadyCommunities 
	communities search results: in production show link to beta or prod based on the list of prodReadyCommunities


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59028 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-30 15:56:56 +00:00
k.triantafyllou 1a2d78e3ee [Library | Trunk]: Fix all content bug not shown
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59011 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 14:19:19 +00:00
argiro.kokogiannaki 80158a5249 [Library|Trunk]
Sidebar:
	add search link


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59010 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 13:35:49 +00:00
k.triantafyllou d07a30b5ca [Library | Trunk]: 1. Contact us css changes. 2. Search for monitor. 3. Landing for monitor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59007 d315682c-612b-4755-9ff5-7f18f6832af3
2020-06-29 13:15:52 +00:00