Commit Graph

28 Commits

Author SHA1 Message Date
konstantina.galouni b6f936868e [Trunk | Library]: (Changes needed for community background in connect portal)
1. directLinking.component.html & myClaims.component.ts & errorPage.component.ts: Move 'uk-margin-small-top' class inside id="tm-main".
2. linkingGeneric.component.html: Add class 'white-box-with-border uk-padding-small'.
3. depositFirstPage.component.ts: Remove class 'communityBackground' | Move helptext inside <div class="uk-section">.
4. searchDataprovidersToDeposit.component.ts: Remove 'communityBackground' class | Remove 'uk-margin-top' from tag with class 'communityPanelBackground'.
5. dataProvider.component.html & organization.component.html & project.component.html & resultLanding.component.html: Remove 'uk-margin-small-top' class from id="tm-main" | Add 'uk-margin-medium-top' in container.
6. newSearchPage.component.html & searchPageTableView.component.html: Remove class 'communityBackground'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58649 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 17:20:33 +00:00
konstantina.galouni a040fc6bdb [Trunk | Library]:
1. configuration.service.ts:
        a. Mark unused methods as "deprecated".
        b. isRouteEnabled.guard.ts --> isPageEnabled() method: Extract page_route from url in service.
2. helper.service.ts:
        a. Mark unused methods as "deprecated".
        b. searchPageTableView.component.ts & searchPage.component.ts & newSearchPage.component.ts & advancedSearchPage.component.ts &
           resultLanding.component.ts & project.component.ts & organization.component.ts & dataProvider.component.ts & htmlProjectReport.component.ts &
           depositFirstPage.component.ts & linkingGeneric.component.ts & displayClaims.component.ts:
                "properties" as first parameter in methods.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58417 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-07 11:15:28 +00:00
argiro.kokogiannaki 7a7fd23d32 [Library|Trunk]
Dashboard Sidebar: add badge


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57962 d315682c-612b-4755-9ff5-7f18f6832af3
2020-01-09 14:33:34 +00:00
konstantina.galouni 90f748f8e6 [Trunk | Library]:
1. error.module & errorPage.component: Set canonical url to '/error'.
2. dataProvider.component & organization.component & project.component & resultLanding.component: Use 'location.path(true)' for page parameter in error navigation.
3. organization.service: [Bug fix]: Initialize 'objIdentifier' field only when an organization was found.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57536 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-07 09:51:09 +00:00
konstantina.galouni 97cd06cce7 [Trunk | Library]: [Bug fix]: error.module.ts: import RouterModule for navigation.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57498 d315682c-612b-4755-9ff5-7f18f6832af3
2019-11-02 01:08:28 +00:00
konstantina.galouni 9a6031d28e [Trunk | Library]:
1. landingPages/: When no id is specified or id is not found (search service returns 404), redirect to /error with more specific message.
2. error/errorPage.component.ts: When the error was caused by landing pages, add more specific message - suggest to search again.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57494 d315682c-612b-4755-9ff5-7f18f6832af3
2019-10-31 11:39:23 +00:00
k.triantafyllou bee36bfc13 [Library]: Add http error codes on errorPage and loginUser.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57438 d315682c-612b-4755-9ff5-7f18f6832af3
2019-10-22 10:06:44 +00:00
k.triantafyllou 1d64ec947a [Trunk|Library]: Refactor isRouteEnabled to check if a page is enable on portals too. Add on deposit first page bottom content.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56630 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-18 16:02:01 +00:00
konstantina.galouni a0b9e62c00 [Trunk | Library]:
approved.component & connectSubscriber.guard & mailPrefs.component & isRouteEnabled.guardisRouteEnabled.guard & helper.componenthelper.component: 
	Priority to get communityId from domain (if not exists, check url parameter)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56330 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-03 10:14:24 +00:00
konstantina.galouni e31c446e1a [Trunk | Library]: error/isRouteEnabled.guard.ts: Bux fix: Priority to get communityId from domain (if not exists, check url parameter or data)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56236 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-27 13:28:47 +00:00
konstantina.galouni 726a9e2f10 [Trunk | Library]: error/isRouteEnabled.guard.ts: Priority to get communityId from domain (if not exists, check url parameter or data)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56179 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-24 11:05:24 +00:00
argiro.kokogiannaki 779be7dd43 [Library|Trunk ]
... pass properties as parameter (error/isRouteEnabled.guard.ts)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55997 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-05 13:55:35 +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
k.triantafyllou 10051a303e [Trunk|Library]: connectCommunityGuard has been added it for check if type is community. Change community error page message
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54965 d315682c-612b-4755-9ff5-7f18f6832af3
2019-03-07 15:43:54 +00:00
k.triantafyllou ac0c8181e3 [Trunk|Library]: Fix CanLoad guards to get community from document(Can be used only in browser platform)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54960 d315682c-612b-4755-9ff5-7f18f6832af3
2019-03-04 13:23:01 +00:00
argiro.kokogiannaki 8edba0b65c git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54948 d315682c-612b-4755-9ff5-7f18f6832af3 2019-03-01 11:29:52 +00:00
k.triantafyllou 5d5f39be19 [Trunk|Library]: 1. Add static function to find community from url path. 2. Community guards can now be used as CanLoad guards using functionality of getCommunityFromPath(look at 1).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54915 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-27 10:39:13 +00:00
k.triantafyllou bc9801aeb0 [Trunk|Library]: isRouteEnabled
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54913 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-26 15:35:09 +00:00
k.triantafyllou 0bddc14435 [Trunk|Library]: All guards implement CanLoad. Need to be tested! CanActivate is now enabled
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54906 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-26 13:57:04 +00:00
argiro.kokogiannaki 668304da29 Change environment-specific.service.ts to be able to read properties in server side. Had to add a property serverUrl - change it in every deployment
add check for server side before use document in isRouteEnabled.guard.ts & environment-specific.service.ts



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52449 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-12 10:40:51 +00:00
argiro.kokogiannaki fb8d203f41 Add guard for subscribers, remove unused property properties from guards, read properties properly from guard
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51826 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-16 11:49:35 +00:00
sofia.baltzi 41056150fc Remove this._meta.updateTag({content:url},property=og:url);
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51760 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 14:09:11 +00:00
sofia.baltzi d47951c5fc Replace Meta service Import and use with Meta and Title from angular/platform-browser for errorPage.component and error.module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51759 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 14:06:36 +00:00
argiro.kokogiannaki dee73981fc Change isRouteEnabled to get admintools API from properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51331 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-19 14:33:08 +00:00
argiro.kokogiannaki 3200554a1d Fixing insert claims for direct linking| isRouteEnable checks for community also in parameters, if no community avaiable load the page normally
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51198 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-13 16:02:22 +00:00
argiro.kokogiannaki 5c641d6386 Refactoring - change file name of Meta service & module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50684 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-12 13:38:30 +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