Commit Graph

67 Commits

Author SHA1 Message Date
sofia.baltzi 49d3794598 Remove MetaService import from library's app.module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51843 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-17 14:07:28 +00:00
sofia.baltzi 3475cf97f5 Comment out MetaService
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51842 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-17 14:03:15 +00:00
sofia.baltzi 9d2a28db41 Comment out MetaService
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51841 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-17 14:02:00 +00:00
argiro.kokogiannaki 5c25acb63b Add a module for safeHTMLPipe
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51839 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-17 13:46:17 +00:00
sofia.baltzi 881ea5443d Replace meta service import and use with meta and title from angular/platform-browser for user, publication, claimAdmin,claimsByToken, directLinking, linkingGeneric, myClaims, depositBySubject, depositBySubjectResult, deposit, depositResult, dataProvider, htmlProjectReport, organization, project, software, search, advancedSearchPage, searchPage and searchPageTableView component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51835 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-17 13:00:23 +00:00
konstantina.galouni 8ac980308a 1. Add safeHtml pipe in helper component to enable view as html of tags and classes added by community managers.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51834 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-17 10:41:28 +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 e8df63c34e Add title in meta in communityErrorPage.component
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51762 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 15:20:27 +00:00
sofia.baltzi 68e52678fe Replace Meta service Import and use with Meta and Title from angular/platform-browser for dataset.component and dataset.module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51761 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 15:09:23 +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
konstantina.galouni 11cc80be32 1. In searchPage and searchPageTableView bug fixing in widths and help texts.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51757 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 13:52:51 +00:00
sofia.baltzi a44efefd78 Replace Meta service Import and use with Meta and Title from angular/platform-browser for communityErrorPage.component and communityError.module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51752 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 13:05:36 +00:00
argiro.kokogiannaki 46a7803fd9 add piwikSiteId in properties | pass it as input in all components | in piwik service use it either from parameter pass if available or from properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51746 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-11 08:59:01 +00:00
myrto.koukouli 8f08e6a5b8 added statisticsEntities.ts
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51681 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-05 08:02:11 +00:00
konstantina.galouni 8c8e9ca79c 1. Change the way variable of type 'EnvProperties' is accessed in guards.
2. Add <ng-content> in modal of openaireLibrary. (e.g. for nested component)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51672 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-04 16:01:57 +00:00
konstantina.galouni 30f9ee87a7 1. Pass argument of type: EnvProperties in connect services (used for cache).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51662 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-04 14:05:26 +00:00
konstantina.galouni b830fb2a78 1. Add searchDataproviders.service and searchProjects.service in openaireLibrary/connect.
2. Remove connect/approvedByCommunity/approved.service.ts: Duplicate of searchDataproviders.service.
3. approved.component: Use searchDataproviders.service from openaireLibrary/connect/contentProviders/ folder.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51659 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-04 12:35:31 +00:00
argiro.kokogiannaki 815c5cd3ee Don't save user in localstorage - use always cookie | remove check for expiration cookie - expires when cookie expires in 4 hours
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51641 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 12:33:27 +00:00
argiro.kokogiannaki fa56fe4d30 Using new AAI, update some properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51636 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 08:45:46 +00:00
argiro.kokogiannaki 61ac85dce4 showOptions in bottom menu for social buttons, menu, etc
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51634 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 08:39:17 +00:00
argiro.kokogiannaki 439eb2ec62 Add portal class in menu
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51633 d315682c-612b-4755-9ff5-7f18f6832af3
2018-04-03 08:37:50 +00:00
konstantina.galouni 11d936d51b 1. approved.component.ts: component to check and show approval of content providers in share result pages by current community.
2. searchResult.component.html: approved.component moved to openaireLibrary: 'connect/approvedByCommunity/'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51580 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-29 14:15:47 +00:00
konstantina.galouni 51cbc6e01f 1. searchResult.component.html: component from 'utils/approvedByCommunity/approved.component.ts' is called to show if a content provider is approved by current community.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51578 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-29 13:44:55 +00:00
argiro.kokogiannaki 5548116a88 parameterize claims admin to show proper link, title for connect - remove extra unclosed divs
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51567 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-29 08:34:44 +00:00
argiro.kokogiannaki f8f2270a78 move Connect helper in the library| change help service to get communityId by parameter/domain (for connect or properties for explore) | add helper before/after option in search/advanced/table pages
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51565 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-29 08:23:36 +00:00
konstantina.galouni 4bd5470468 1. env-properties.ts: 'baseOpenaireLink' field added, which is base url for OpenAIRE portal.
2. searchResult.ts: 'subjects' and 'englishname' fields added (used by dataproviders).
3. searchDataproviders.service.ts: parse 'englishname'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51558 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-28 14:00:42 +00:00
konstantina.galouni 5dbf849a32 1. Columns changed from 4 to 3 for 'Search Projects' in community portals ('Acronym' and 'Name' merged to 'Project').
2. Links added to 'Search Projects' and 'Search Content Providers' in community portals.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51537 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-27 14:35:05 +00:00
argiro.kokogiannaki 5139077569 add function for separeate roles in Session| add isCommunityRI method in community service and RIGuard || change admin guard to be only administrator | add claims curator guard|
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51526 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-27 08:22:55 +00:00
sofia.baltzi f4c10e12c0 Add and parse type field in CommunityInfo
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51511 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-26 14:13:28 +00:00
argiro.kokogiannaki 2248346582 Fixing menu that gets invisible| add id in user session| add miningBackendURL in properties class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51506 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-26 08:54:29 +00:00
argiro.kokogiannaki 22aba716dd Fixing bug with community in menu | add changes for root items in navigationBar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51415 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-22 16:01:06 +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 eb762038c2 environment-specific.servic: use document location to get absolute url for server mode
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51347 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-20 13:46:05 +00:00
konstantina.galouni c77e5ee374 1. Bug fixes in "searchResult.component.html" and "tabResult.component.html"
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51345 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-20 12:11:27 +00:00
sofia.baltzi cf7e67c967 Add headers and options in post request for community-edit-form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51344 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-20 12:09:51 +00:00
sofia.baltzi 202c7253e6 Add updateCommunity method to community.service
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51342 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-20 11:40:39 +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 af9c537025 In project landing page read also grantId and funder parameter and query based on them
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51318 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-16 15:56:35 +00:00
konstantina.galouni 09017aee04 1. Change of SearchResult field for funders (used for project results):
instead of funders: {"funderShortname": string, "funderName": string}[]
	now: funderShortname: string // only 1 funder per project and we don't use the full name
2. Addition of SearchResult field for project results: acronym: string, code: string
3. Parsing of funders changed (searchProjects.service): when more than 1 funders in 'fundingtree', keep 'shortname' of the first one
4. Parsing of project's acronym and code parsed and stored in corresponding fields (not in the title.name)
5. Adjust new fields display in 'tabResult.component' and 'searchResult.component'



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51317 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-16 14:54:44 +00:00
argiro.kokogiannaki 15ace3ca00 add communityId in claims url when it is provided
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51304 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-16 12:28:19 +00:00
argiro.kokogiannaki 4f90bffe50 Context to community in display claims| showMenu Input for naviation Bar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51294 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-16 08:56:42 +00:00
sofia.baltzi aa9fd97f5d Declare communitiesAPI in env-properties
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51271 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-15 13:40:10 +00:00
argiro.kokogiannaki fbcec793bc Add a mathod in community service to check if a user is a manager of a community| change connectAdminLoginGuard to really ask for a community manager| correct some links in properties json
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51261 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-15 09:53:07 +00:00
sofia.baltzi 1d9daca041 Add communites folder,Move communities.service to openaireLibrary and Change imports
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51228 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-14 13:29:53 +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
sofia.baltzi abc97c5abc Add connect/community and results directories, Move community.service, communityInfo and resultInfo in openaireLibrary
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51076 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-07 11:08:03 +00:00
sofia.baltzi 919ff85846 Add /connect/community folder
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51058 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-06 15:51:59 +00:00
konstantina.galouni 1a3179acf3 1. 'searchPageTableView' component updated: column's 'official name' contents for content providers gotten by community API added.
2. searchPageTableView: if no filters exist, do not contain this section in html template. (datatable expands)


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51013 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-02 12:57:52 +00:00
argiro.kokogiannaki 9daf669a37 add statistics API and charts url in properties file
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50996 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-01 16:11:31 +00:00