Commit Graph

21 Commits

Author SHA1 Message Date
Alex Martzios b93dff4f1b Fix all Promises with type <any> to type <void> 2022-12-15 12:44:38 +02:00
Konstantina Galouni 5b732fea7b [Library | Trunk]: ISVocabularies.service.ts: Make url to vocabularies sdg.json and fos.json absolute with domain prefix. 2022-03-29 17:14:00 +03:00
argirok 74c6b529d9 update the values of fos/sdg vocabulary 2022-03-24 12:57:33 +02:00
argirok 95b56039e4 add fos/sdg in advanced search, add autocomplete methods, add initial json files 2022-03-18 13:14:07 +02:00
argirok 00db2024b8 fixing type autocomplete 2022-01-13 16:47:33 +02:00
k.triantafyllou 08bf703186 [Library]: Move angular 11 to trunk. Remove no needed files. Delete angular upgrade branches
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@61381 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-14 11:19:57 +00:00
argiro.kokogiannaki 1d5c753ff6 [Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from  the component that uses them (clearSubscriptions())




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59816 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-11 14:43:13 +00:00
k.triantafyllou 07783fa92e [Library | Trunk]: Add on error for some subjects calls.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59245 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-11 12:16:50 +00:00
konstantina.galouni 15d4fc5398 [Trunk | Library]: community.service.ts & ISVocabularies.service.ts: Removed prints for debugging.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59156 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-21 13:50:31 +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
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
argiro.kokogiannaki 0f7349ce6f [Library|Trunk]
Search Pages:

        Change scroll behaviour after query is submitted. Scroll under form if filters or page changes, scroll to top when keyword changes
        Hide filters and range filters when there are no results
        Autocomplete for Result type vocabulary: combine publications and dataset vocabularies: 

Filters:
 Results: 
        Remove Collected From Filter "collectedfrom","collectedfrom"    
        Project appears when funder is selected
Repositories: add Collected From Filter "collectedfromname"



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58739 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-21 13:17:28 +00:00
konstantina.galouni 5bdb42f471 [Trunk | Library]:
1. entitiesAutoComplete.component.ts: [Bug fix] Add missing encoding in autocomplete term (problem when query uses cache).
2. newSearchPage.component.ts: 
	a. [Bug fix] Add missing keyword encoding for simple search form (problem when query uses cache).
	b. [Bug fix] In advanced search, when "all fields" (field id="q") is added more than once in form, add both values (params "+=" and not "=" in "getSearchAPIQueryForAdvancedSearhField()" method).
3. searchAll.component.ts: Decode keyword parameter from url (to show it properly in search form).
4. searchAll.component.ts:
	a. [Bug fix] Add missing encoding in search term, used by datacite, crossref and orcid search services (problem when query uses cache).
	b. In methods of crossref service pass properties, instead of url - url will be built in service.
5. searchCrossref.service.ts:
	a. In all methods, pass properties, instead of url.
	b. Use cache when available.
6. ISVocabularies.service.ts: [Bug fix]: Return "accessMode.json" vocabulary when: entity == "result" (case added in if statement).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58497 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-15 18:54:56 +00:00
k.triantafyllou 8b6b61f9c3 [Library | Trunk]: 1. New view for search results. 2. Add highlight component but currently is not enabled. 3. Change access mode value from classid to classname
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58064 d315682c-612b-4755-9ff5-7f18f6832af3
2020-02-07 13:05:07 +00:00
argiro.kokogiannaki e38db36e3e [Library|Trunk]
Search Fields: use country field for organizations instead of organizationcountryname
	Advanced Search: Country autocomplete use country code instead of name



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56161 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-21 12:17:47 +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 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
konstantina.galouni 4b7b13f8c7 1. env-properties.json: Add 'searchLinkToOrp', 'searchLinkToOrps', 'searchLinkToAdvancedOrps' for Other Research Products.
2. Add 'Other Research Products' in menu.
3. Add routing paths for landing, search, advanced search page of Other Research Products.
4. Add 'Other Research Products' tab in '/search/find'.
5. searchResult.component.ts, refineFieldResults.service.ts, searchFields.ts, ISVocabularies.service.ts: Add cases for 'Other Research Products'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52816 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-25 13:27:22 +00:00
argiro.kokogiannaki 970b8f2a36 Software advanced page issue: Return empty vocabulary for software type - temporal solution until a vocabulary is created
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51404 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-22 12:13:48 +00:00
argiro.kokogiannaki 91b7c11f0a USe a json file to read properties | replace openaire Properties | parameterize menu (use params, community, ) | parameterize search pages (hide community information)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50586 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-05 13:14:59 +00:00
argiro.kokogiannaki 86e750754b Commiting first draft of openaire library for angular portals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50169 d315682c-612b-4755-9ff5-7f18f6832af3
2017-12-19 12:53:46 +00:00