Commit Graph

98 Commits

Author SHA1 Message Date
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
k.triantafyllou 826e084a2e [Trunk|Library]: 1. Change Subscribed badge text to small and add manage button.
2. muted text if showResultsCount is true and value.number is zero, or isDisabled is true.

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55211 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-07 15:52:15 +00:00
k.triantafyllou 2eef731273 [Trunk|Library]: 1. Create Community Search Results
2. Add in Search Page  a new method for query params and lastIndex parameter with default value true 
3. Add a new sorting field for communities in search sorting 
4. Add parameter to modal-alert for position of okButton
5. Add COMMUNITIES_SEARCH_FIELDS in searchFields and searchLinkToCommunities in properties

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55209 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-05 17:21:23 +00:00
konstantina.galouni 780c5c15bd [Trunk|Library]:
1. [new] #4216: Create component for 'Other Versions' (deleted by inference) in research results (currently available only in Publication Landing Page).
2. publicationInfo.ts: Add field 'deletedByInferenceIds' (will be removed later possibly).
3. env-properties.json: change environment to 'development' and search service to 'rudie' local development machine.
4. publication.component: Add 'Other Versions' tab (section).
5. tabResult.component.html: Changes in css style and sequence of details in tab results according to search results.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54962 d315682c-612b-4755-9ff5-7f18f6832af3
2019-03-05 09:45:42 +00:00
konstantina.galouni 50c3d7db44 [Trunk|Library]: searchResult.component.html: Remove <approved-by-community> tag. This is useful only in deposit result page.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54919 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-27 12:03:16 +00:00
konstantina.galouni bb24192b47 [Trunk|Library]: searchPageTableView.component.html: Bug fix: Format html to remove space aften opening and before closing parenthesis.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54889 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-22 12:31:25 +00:00
argiro.kokogiannaki 01a945b226 [Trunk|Library]
Server Side errors: Add missing checks before using document, fix SEO rel canonical issue 


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54829 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-15 15:03:48 +00:00
konstantina.galouni 8c25f2bd27 [trunk]: Library:
1. Fix error logs in Landing, Deposit and Search Pages.
2. errorMessages.component: Add method to check status of response and return error code according to 'ErrorCodes' class.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54825 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-15 12:50:24 +00:00
konstantina.galouni f980a6cbe3 [trunk]: Explore: bug fixes for previous commit (remove logs)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54779 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 10:52:06 +00:00
konstantina.galouni c96508cc15 [trunk]: Library + Explore: Remove unnecessary logs.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54778 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 10:44:30 +00:00
konstantina.galouni c6b84c171e [trunk]: Remove unnecessary logs from library.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54775 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 10:15:44 +00:00
argiro.kokogiannaki 19877b3295 [Library] Search paging: add portal color in total results and pages numbers
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54774 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-14 09:57:47 +00:00
konstantina.galouni 93b760143a [trunk]: searchPage.component.ts: Case for keyword search by DOI in software and other research data pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54762 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-12 14:33:00 +00:00
konstantina.galouni f57ad6940a [trunk]: Merging branch 'changeDeposit' into trunk for revisions 54355:54751
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54755 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-12 11:15:21 +00:00
argiro.kokogiannaki dfdc601812 [Library] update SEO service: rel canonical tag work also for server side| update method signature
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54748 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-11 15:03:38 +00:00
argiro.kokogiannaki 8cf5067803 Update meta descriptions in landing pages
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54737 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-08 12:19:26 +00:00
konstantina.galouni 13b8e99e91 Simple & Advanced Search pages: in sorting functionality for Date, rename 'oldest' with 'least recent' and 'newest' with 'most recent'.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54204 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-07 09:35:20 +00:00
konstantina.galouni ca1e2b49cb 1. Simple & Advanced Search pages:
in sorting functionality for Date, add ascending (oldest) and descending (newest) options.
        remove margin between paging and search results.
        show and hide sorting and results per page functionalities (like paging) according to results and loading.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54075 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-03 12:32:33 +00:00
konstantina.galouni 8f926329c3 Move 'sorting' and 'results per page' options before 'paging' in simple search, advanced search and search table view pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54011 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-28 10:34:30 +00:00
konstantina.galouni eb6b2ee67c 1. Add 'sorting' option by 'relevance' or 'date' in advanced search pages for results (publications, datasets, software, orps).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53937 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-23 12:32:28 +00:00
konstantina.galouni 0886a26ac9 1. Add 'sorting' option by 'relevance' or 'date' in simple search pages for results (publications, datasets, software, orps).
2. Add 'results per page' option in all simple search, advanced search and search table view pages.
3. Add 'sortBy' field in 'searchUtils.class'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53919 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 15:28:38 +00:00
konstantina.galouni d17ca55f06 Add 'searchResultsPerPage' and 'searchSorting' components to be used in search pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53918 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-21 15:24:14 +00:00
argiro.kokogiannaki f17d4735ea Search/find
Add communityId 
	add community filter in search queries
advanced search - autocomplete
	add acronym and grant id in autocomplete for projects


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53860 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-19 10:15:13 +00:00
argiro.kokogiannaki 78d4bb3f7d JSONLD:
add jsonld in all pages (advance, table view, link, deposit)
	for search pages assign SearchResultsPage representation
	for other pages assign Website

SEO service:
	add a service that updates the rel canonical url (in client side)
	call the service in each page



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53740 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-14 10:38:53 +00:00
argiro.kokogiannaki ae21b00172 JSON-LD:
expand Dataset to use issn, headline, alternativeHeadline for dataset subtitle
	fix Dataset issue to get the proper value when title is array
	Add jsonld in search pages with potentialAction search to each page



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53733 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-13 13:01:38 +00:00
konstantina.galouni 2ef3d1b2cd searchDownload.component: CSV Download changed for search pages - link (<a> tag) added in document when service request succeeds.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53675 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-08 15:27:19 +00:00
argiro.kokogiannaki 49952604f4 SearchPageTableViewComponent: Add a try catch in ngOnDestroy, ngAfterViewInit to avoid crash in server mode
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53642 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-07 09:11:20 +00:00
konstantina.galouni 604b1235be Project Entity (landing & search): Add 'Open Access Mandate' information for Research Data (field 'ecarticle29_3') & specify when 'Open Access Mandate' refers to Publications or Datasets.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53543 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-23 13:11:25 +00:00
konstantina.galouni fc82a3719a 1. Add 'lastIndexInformationLink', 'showLastIndexInformationLink', 'widgetLink' properties.
2. depositPublications.component, dataProvider.component, project.component: Use 'statisticsFrameAPIURL' for map and statistics tab instead of raw url.
3. project.component: Use 'widgetLink' for dynamic html in appbox instead of raw url.
4. Add 'lastIndexInformationLink' button when 'showLastIndexInformationLink' is true in search pages (Search Find, Search {Entity}, Advanced Search {Entity}, Search table view).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@53475 d315682c-612b-4755-9ff5-7f18f6832af3
2018-10-16 11:21:56 +00:00