Commit Graph

132 Commits

Author SHA1 Message Date
konstantina.galouni b1fb4e7a3e [Trunk | Library]:
1. searchFields.ts: Method 'getFieldOperator()' added, to return operator (and/or) for a given 'fieldId'.
2. refineResults.class.ts: Use 'getFieldOperator()' method of 'searchFields.ts' to fill value of 'filter.filterOperator'.
3. searchPage.component.ts: Use 'getFieldOperator()' method of 'searchFields.ts' to get operator (and/or) for a given 'fieldId' and use this operator in the search query.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57048 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-12 10:30:48 +00:00
konstantina.galouni 32b3c3f6c0 [Trunk | Library]: Delete all unnecessary files (simple search, advanced search, search service, landing entity-info, fetch class), after merging research results (publication, dataset, software, other).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57033 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-11 11:26:06 +00:00
konstantina.galouni cde4550dfc [Trunk | Library]:
Merge services, fetchClasses, simple and advanced search pages for research results (publications, datasets, software, other):

1. advancedSearchResearchResults.component & advancedSearchResearchResults.module: New common advanced search page for research results.
2. searchResearchResults.component & searchResearchResults.module: New common simple search page for research results.
3. fetchResearchResults.class: New common fetch class for research results.
4. searchResearchResults.service: Update existing service to satisfy merge of research results services.
5. app.module.ts: Import one common simple and one common advanced search page for search results.
6. claimResultSearchForm & directLinking &
        advancedSearchDatasets & advancedSearchOrps & advancedSearchPublications & advancedSearchSoftware &
        searchDatasets & searchOrps & searchPublications & searchSoftware &
        fetchDatasets.class & fetchOrps.class & fetchPublications.class & fetchSoftware.class: Use common service for research results (searchResearchResults.service).
7. datasetsTab & orpsTab & publicationsTab & softwareTab & relatedDatasourcesTab & statisticsTab:  Use common fetch class for research results (fetchResearchResults.class).
8. dataProvider & organization & project & search : Use common service and common fetch class for research results (searchResearchResults.service, fetchResearchResults.class).
9. linkingGeneric.component: Remove import of services for publications and datasets.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57027 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-11 09:45:54 +00:00
argiro.kokogiannaki 871e0559ba [Library|Trunk]
Search pages:
	change links hover colors
	advance page:  search button get portal color



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57024 d315682c-612b-4755-9ff5-7f18f6832af3
2019-09-10 13:14:40 +00:00
k.triantafyllou 8df218bff9 [Library]: Remove no filters available when results has not been loaded.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56892 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-26 10:42:57 +00:00
konstantina.galouni e03d75cb51 [Trunk | Library]: searchPage.component.ts: Remove a console.log message.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56882 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-08 11:19:45 +00:00
k.triantafyllou 390ab2b072 Library: Add showType parameter on search components for communities.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56845 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-05 10:30:19 +00:00
konstantina.galouni 30bc39aa22 [Trunk | Library]: Fix and add when missing: schema2jsonld, canonincal url, meta tags, piwik call.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56840 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-02 14:55:32 +00:00
k.triantafyllou 4ed1158758 [Library]: Fix modal on search communities result.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56813 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-30 15:24:32 +00:00
k.triantafyllou 36a9d1e672 [Library]: Modal: Add option to have a dont show message again checkbox. Add service to save on localStorage user's choices(only communityDireckLink now). Change search Communities result with new functionality.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56810 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-30 13:29:23 +00:00
k.triantafyllou de87c5506b [Library]: Modal: Add option to have a dont show message again checkbox. Add service to save on localStorage user's choices(only communityDireckLink now). Change search Communities result with new functionality.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56808 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-30 13:26:31 +00:00
k.triantafyllou a2b22fe48d Library: Change path of search icon in search pages base on new folder connect-assets.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56778 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-26 11:22:16 +00:00
k.triantafyllou 3e5c6bae88 [Trunk|Library]: Search Communities results: Change card of community to be like card on home page.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56748 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 12:23:30 +00:00
argiro.kokogiannaki 3cc7d3a98f [Library|Trunk]
new theme: more chnages regarding the margins
	Filters: fix filters for table view 
	LAyout service: remove unused import



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56682 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-23 08:05:04 +00:00
argiro.kokogiannaki 8101d3ef2a [Library|Trunk]
Layout Changes according to the new theme (containers margins, header fonts size)

Search: Update search filters layout: don't crop the text with css, but count the characters

LayoutService: create a mock method



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56677 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-22 14:15:23 +00:00
k.triantafyllou 46ca524ce5 [Trunk|Library]: Add help texts top and bottom on advanced search.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56649 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-22 11:05:39 +00:00
k.triantafyllou 11cf47ac5a [Trunk|Library]: Add Helper on search Page, landings and deposit first page.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56644 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-22 09:16:50 +00:00
konstantina.galouni e490cc81fe [Trunk | Library]: add background 'communityPanelBackground' in search Form in simple search pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56579 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-16 16:23:33 +00:00
konstantina.galouni f8f821c393 [Trunk | Library]: Bug fix in deposit pages: Get information for zenodo communities in connect components.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56570 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-16 11:24:13 +00:00
konstantina.galouni a4d51b6d7f [Trunk | Library]:
1. compatibleDataProviders.component & compatibleDataProvidersTable.component & entityRegistries.component & entityRegistriesTable.component & journals.component & journalsTable.component:
	Add 'valueIsUnique' field in 'Filter'.
2. searchFilter.component: Add case when filter has unique value (radio button) | Show more values either in modal or inline (new mocks for connect)
3. searchHelperClasses.class: Add 'valueIsUnique' field.
4. searchPage.component: 
	Add title in Filters & show download-map-table options above selected filters
	Keyword query in specific fields (defined in properties/searchFields) when used by new deposit pages
5. searchDataproviders.service: Add method 'searchDataprovidersForDepositSearch()'
6. refineResults.class: Fill "valueIsUnique" field of filter.
7. properties/searchFields: Add 'uniqueValue: boolean' (default false) field in 'FieldDetails' class and 'fieldHasUniqueValue()' function which checks 'fieldType' and 'usedBy'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56562 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-15 16:11:07 +00:00
k.triantafyllou adb0df10f4 [Trunk|Library]: Search page larger top section.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56336 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-03 13:32:01 +00:00
k.triantafyllou 931527e91d [Trunk|Library]: Remove grid small from gif slider.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56278 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-28 23:11:44 +00:00
k.triantafyllou d17f5f77dc [Trunk|Library]: 1. Search icon on communities search page. 2. Height match in gif slider texts.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56276 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-28 22:58:52 +00:00
k.triantafyllou 570f029cbc [Trunk|Library]: Search Communities results add community Card class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56190 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-24 20:10:23 +00:00
argiro.kokogiannaki ba31fb7b1c [Library|Trunk]
completing previous commit:
		add custom filter in advanced serach components for projects and datasources


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56092 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-14 13:12:34 +00:00
argiro.kokogiannaki f32cb4735a [Library|Trunk]
Custom Filter:
		pass custom filter in organizations, content providers and projects search pages
		search/find:
			for aggregators filter show also projects/ datasources/ organizations and pass the parameter for the query


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56091 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-14 13:06:58 +00:00
argiro.kokogiannaki f1a97a93a4 [Library|Trunk]
For connect search pages, replace  community Id with customFilter



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56070 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-13 12:31:39 +00:00
argiro.kokogiannaki 504fdfaa3c [Library|Trunk]
Changes for Aggregator portal:
	use a customFilter in search pages, and pass it through the components
	for landing  pages check if a route is available in order to add linking and deposit links



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56059 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-12 14:13:56 +00:00
argiro.kokogiannaki 64eebccc47 [Library|Trunk]
User info:
	add user information when user is logged in and there is no error or redirect parameters
	
Add spaces lost after ang 7 migration (funded by component, orcid dropdown, search results labels)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56056 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-12 11:50:48 +00:00
argiro.kokogiannaki f5d29ffc76 [Library|Trunk]
add cache in some services and pass properties as parameter

	initiate a searchResearchResultsService where it gets result type as parameter

	update navbar/bottom to get properties as parameter and remove attributes included in properties

	add spaces in search results & authors components



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55995 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-05 13:33:18 +00:00
konstantina.galouni cb691526c3 [Trunk | Library]: dateFilter.component: Bug fix: Do NOT set month of from date to getMonth()-1.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55979 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-03 16:06:23 +00:00
argiro.kokogiannaki f8913dfdbd [Library|Trunk]
Merge into trunk branch angular7 rev 55729




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55964 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-03 13:20:36 +00:00
konstantina.galouni adfd6b568d [Trunk | Library]:
1. Create 'authors' folder in 'utils' to show authors, including dropdown with their ORCID information if available (used by landing & search pages).
2. Landing & Search Pages (services): Parse ORCID information of authors (creators) & cut it, if prefix is included. 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55899 d315682c-612b-4755-9ff5-7f18f6832af3
2019-05-29 12:24:43 +00:00
konstantina.galouni bb4d406a8f [Trunk | Library]:
1. Add 'orcidURL' property
2. advancedSearchForm.component: Bug fix in definition of array
3. searchFields.ts: Add field in advanced search form of results to search by author's ORCID.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55898 d315682c-612b-4755-9ff5-7f18f6832af3
2019-05-29 12:20:18 +00:00
konstantina.galouni d7eca8aa77 [Trunk|Library]: advancedSearchForm & dateFilter: Add error messages in case an invalid date is selected.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55667 d315682c-612b-4755-9ff5-7f18f6832af3
2019-05-22 10:50:32 +00:00
konstantina.galouni c3ab3b18fa [Trunk|Library]: Use scroll function from 'HelperFunctions' class (utils folder).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55418 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-24 12:31:01 +00:00
konstantina.galouni 992a245ed0 [Trunk|Library]:
1. searchPage.component & advancedSearchPage.component: 
	goTo() function: use router.navigate instead of location.go (bug fix: error in paging because of false routerLinkActive class)
2. In all search (simple & dataproviders) and advanced search pages:
	In queryChanged() function do not call getResuls() functions which queries api (goTo() of searchPage/advancedSearchPage.component reloads the page anyway).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55371 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 23:32:07 +00:00
k.triantafyllou 0bfad9455c [Trunk|Library]: Communities Search Results: fix type when it is community
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55361 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 12:31:22 +00:00
k.triantafyllou 1e6df79b08 [Trunk|Library]: Add to usermenu navbar uk-position-top-right and make search-form width responsive
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55357 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 11:41:51 +00:00
k.triantafyllou 6af62973a8 [Trunk|Library]: Add at search page condition if total results in only an element change type to entityType
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55348 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 08:08:59 +00:00
k.triantafyllou 259dc565ff [Trunk|Library]: Add at search page hasPrefix parameter with default value true
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55343 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-15 07:47:36 +00:00
k.triantafyllou bb3a22be2b [Trunk|Librady]: 1. Change color of Okbutton(when is right) to portal button. 2. Add isSubscribed and isManager to CommunityInfo and removed all from SearchResults.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55339 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-13 18:26:46 +00:00
k.triantafyllou da10b4eea9 [Trunk|Library]: Private badge on the left and subscribed on the right
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55306 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-12 11:53:10 +00:00
k.triantafyllou c156ac3b8f [Trunk|Library]: 1. Compose email for request for new community. 2. Change community view on results
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55287 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-12 08:52:31 +00:00
k.triantafyllou 0c01cd65f7 [Trunk|Library]: 1. Add a new entity with fiels an email and recaptcha token. 2. Add a contact method on email service to send an email and recaptcha token to admin-tools
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55274 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-11 11:26:02 +00:00
argiro.kokogiannaki ed5556933f [Trunk|library]
Manage: 
add a parameter for button size

Fearch form:
add a parameter to put form in the center


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55270 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-11 09:36:31 +00:00
k.triantafyllou 36f169572d [Trunk|Library]: Community search results: Cut description on two lines
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55251 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-09 22:06:34 +00:00
k.triantafyllou 02fe5fb13e [Trunk|Library]: 1. Move manage in library. 2. change community search result View. 3. search filter cannot be disabled when they are selected.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55234 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-08 14:53:09 +00:00
k.triantafyllou b5998286a5 [Trunk|Library]: 1. Fix modal close button. 2. chance community search result view
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55223 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-08 12:43:04 +00:00
konstantina.galouni afc1cca4fa [Trunk|Library]: searchForm.component: 'link' input parameter type changed from 'boolean' to 'string'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55220 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-08 12:11:54 +00:00