Commit Graph

13 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 715069eabc Remove logs from reload. Add url variable in order to handle error from guards with the connect path. 2023-06-30 14:39:48 +03:00
argirok ef97747596 update datatransfer browse functionality
add new properties, add datatransferAPI in the error interceptor
2022-10-05 16:52:04 +03:00
Konstantinos Triantafyllou aae1a2a0d0 Add new methods in role-users and subscribers. 2021-09-17 20:13:35 +03:00
k.triantafyllou e6fd2f6655 [Library | Trunk]: Print timeout error request on error interceptor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60973 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-28 14:42:11 +00:00
k.triantafyllou 04f8e00242 [Library | Trunk]: Error interceptor let get methods of registry pass
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60624 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 12:55:59 +00:00
k.triantafyllou df2b04b51c [Library | Trunk]: Add verification urls in white auth list
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60593 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-04 18:06:13 +00:00
k.triantafyllou 53bb0839e7 [Library | Trunk]: Remove verification urls from white auth list
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60591 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-04 17:41:15 +00:00
k.triantafyllou 3a1ae30fe5 [Library | Trunk]: Fix custom error on input. Add verification urls on whitelist of error service interceptor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60585 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-04 14:30:31 +00:00
argiro.kokogiannaki ed5f31cb7b [Library|Trunk]
- Error interceptor add check for registry url
- landing canonical: keep  the canonical id (to be used in services like usage counts) and put the 1st pid for the canonical url



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60422 d315682c-612b-4755-9ff5-7f18f6832af3
2021-02-15 13:19:33 +00:00
konstantina.galouni eb4a1f13f6 [Trunk | Library]:
1. error-interceptor.service.ts: Add "properties.orcidAPIURL" in UNAUTHORIZED_WHITELIST.
2. resultLanding.component.html: If result has identifiers and user is logged in, call <orcid-work>.
3. resultLanding.module.ts: Import OrcidModule.
4. searchResult.component.ts: If user is logged in, call "orcidService.getPutCodes()" and set orcidPutCodes of previewResults.
5. searchResults.module.ts: Add "OrcidService" in providers.
6. searchResearchResults.service.ts: In method "parseResults()", call "this.parsingFunctions.parseIdentifiers(resData['pid'])" to set identifiers.
7. customOptions.class.ts: Change method return type: "public static registryOptions(): any" --> public static registryOptions(): {}". (caused problem in return type of services (e.g. HttpEvent<string> instead of string).
8. searchResult.ts: Add field "identifiers: Map<string, string[]>".
9. env-properties.ts: Add field "orcidAPIURL".
10. result-preview.component.html: 
	a. If result has identifiers and user is logged in, call <orcid-work>.
	b. In bottom line with impact factors and orcid, add class "result-preview-bottom" (set color to #747474 (like muted text) when not on hover).
11. result-preview.component.ts: Add field "loggedIn" and check on init if user is logged in (via Session).
12. result-preview.module.ts: Import OrcidModule.
13. result-preview.ts: Add field "orcidPutCodes" | In method "searchResultConvert()", set resultPreview.identifiers with all identifiers (not only dois).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60231 d315682c-612b-4755-9ff5-7f18f6832af3
2021-01-13 18:30:25 +00:00
k.triantafyllou 8d82140ab9 [Library | Trunk]: Fix error interceptor to logout only in 401. Fix navbar on mobiles to be transparent
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59967 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-25 17:32:20 +00:00
k.triantafyllou f2ff8cfe8a [Library | Trunk]: Add unauthorized whitelist to avoid logout in certain calls
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59965 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-25 16:45:41 +00:00
k.triantafyllou 6bc598a8ac [Library | Trunk]: Add Error interceptor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59856 d315682c-612b-4755-9ff5-7f18f6832af3
2020-11-16 13:36:12 +00:00