Commit Graph

749 Commits

Author SHA1 Message Date
argiro.kokogiannaki c762941623 Publication journal info: add check if it is number (>0)
Navigation Bar: set uk-navbar-left width to  uk-width-1-3 (When title is big it overlaps menu items)
Add subject in advanced search fields
Add emailValidator in string utils



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52717 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-09 12:07:54 +00:00
sofia.baltzi 456eb136e5 Move subscribe.service.ts to openaireLibrary
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52702 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-06 10:33:16 +00:00
konstantina.galouni fa78a1e6f9 1. claimsByToken.component: Show number of selected claims only when there is at least one selected.
2. dataProvider.component - #2514: HostedBy resources - display aggregator's name for "collected from a compatible aggregator".
3. dataProvider.component: in relatedDatasourcesTab query & results for software too.
4. compatibleDataProviders & compatibleDataProvidersTable: Added "Software Repository", "Software Repository Aggregator" values in 'Type' filter. 
5. compatibleDataProviders & entityRegistries & journals (+ table views): Added "collected from a compatible aggregator", "proprietary", "under validation" values in 'Compatibility' filter.
6. searchPageTableView.component: check exact match of a selected filter value with column value (filterData function).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52692 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-05 15:50:43 +00:00
argiro.kokogiannaki f3c0682eb2 Clean up utils/properties/searchFields.ts
Add operator for each parameter
change the way operators were produced: use 1st and 3rd letter if the operator is unique
Change the operator parameter in all pages that have links to advanced search



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52676 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-05 10:52:42 +00:00
sofia.baltzi 618b00dcc3 Addzenodo communities url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52662 d315682c-612b-4755-9ff5-7f18f6832af3
2018-07-03 10:27:29 +00:00
konstantina.galouni a180be6167 1. errorCodes.ts - errorMessages.component.ts: add code 'NOT_SAVED' and appropriate message when a save/update query fails.
2. Fix datatables of claimsByToken.component.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52622 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-29 13:24:49 +00:00
konstantina.galouni 2220677d99 1. Landing pages: before a request for the main content (e.g. publicationInfo) is executed, make this content null.
2. Landing pages: 'Available on' and 'Funded by' (Decapitalize first letter of second word).
3. Landing pages: Add 'Related identifiers' label for identifiers information.
4. Landing pages: 'OPEN', 'OPEN SOURCE', 'EMBARGO', 'RESTRICTED', 'Closed' accessmodes are acceptable for 'Available on' section. Otherwise show 'UNKNOWN ACCESSMODE'. 
5. Publication & Dataset & Software landing pages: remove url from title - use separate variable for best accessmode, add country information.
6. Software landing: Add 'programmingLanguage' information.
7. SearchResult & TabResult: Add country information for Publication & Dataset & Software type of results, add programmingLanguage for Software type. 
8. TabResult: Show language and types information.  
9. Bug fix in 'dateofacceptance' parsing for relates/similar research results (landing pages).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52606 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-28 14:52:45 +00:00
argiro.kokogiannaki 622ed57a8f Bottom: change classes for route links to be visible
env-properties.ts: add a new field for Community content


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52503 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-15 13:03:36 +00:00
argiro.kokogiannaki d5b745fc65 Single Sign On: Changing cookie names, format, remove unused methods
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52451 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-12 11:15:42 +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 303ef04cc6 Claims page: add message about newly added links
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52427 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-11 08:23:04 +00:00
konstantina.galouni 03b8781720 1. Landing pages: tabs changed to 'uk-accordion' with custom css.
2. Remove 'uk-animation-fade' class from tabResult.component.
3. When errorMessages.component is used in landing pages' tabs, remove 'uk-animation-fade' class and add 'uk-margin-top' class.
4. First tab with extra query is closed too -> count query first -> add method in fetchPublications.class and case in searchPublications.service.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52401 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-08 11:21:42 +00:00
argiro.kokogiannaki 51ec98b9c7 Metrics: add short version option
Dataprovider Landing: change tabs to accordion, changes dataProviderInfo and tabs info to work better with accordion view  


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52373 d315682c-612b-4755-9ff5-7f18f6832af3
2018-06-06 10:09:56 +00:00
argiro.kokogiannaki 25d1cd429d Linking: update the communities service and component to read from new Context API
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52272 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-29 14:58:51 +00:00
konstantina.galouni 91a19a0fcd 1. Bug fix in paging components (limit was not initialized).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52106 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-18 16:08:30 +00:00
konstantina.galouni f9aba210a1 1. Add EnvProperties in paging components (to get limit).
2. Add limit in pagingFormatterNoLoad.component when input property 'limitPaging' is true (default set to false).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52104 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-18 15:59:13 +00:00
konstantina.galouni acdb1cc6c7 1. #3662: For 'Similar Research Results' use 'similarity' field instead of 'trust' used in 'Related Research Results' (publication, dataset, software landing).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52103 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-18 15:56:15 +00:00
konstantina.galouni 16406f04d4 1. Add pipe for numbers.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52096 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-18 12:47:26 +00:00
argiro.kokogiannaki dacdc76ea1 add schemajsonld annotaion in result landing pages | requires installation of ngx-json-ld
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52061 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-17 08:29:22 +00:00
konstantina.galouni fb39dd1a19 1. publication.service: parse 'volume', 'start page', 'end page' info for journal.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52030 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-15 10:40:59 +00:00
argiro.kokogiannaki b60ae2d33c Change organization query for datasources with native compatibility #3577
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52016 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-14 11:42:38 +00:00
argiro.kokogiannaki 1cd923a372 change any component that uses path to assets, change loading.gif to be property in a class
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52004 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-11 11:33:50 +00:00
konstantina.galouni 787c81f4a6 1. bug fix in dataProvider.component.html to display properly 'Content Providers' tab.
2. bug fix in searchResult.component.html in 'Funder' label.
3. tabResult.component: show information the same way as searchResult.component.
4. 'getResultsForHome' function added in fetchDataproviders - currently not used, should be used by home.component of explore portal.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51996 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-10 14:36:33 +00:00
konstantina.galouni 54d857852f 1. API to get datasource aggregation information (for dataprovider landing) added in properties.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51976 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-09 09:50:37 +00:00
konstantina.galouni fb7532d5da 1. "fundedContent" and "indexRecords" information added in dataprovider landing page (collected from datasource api).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51973 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-08 15:20:51 +00:00
konstantina.galouni 82868c0b1d 1. Software tab added in dataprovider landing page.
2. 'softwarerepository', 'aggregator::softwarerepository' and 'orprepository' types added as dataprovider types (for landing page).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51972 d315682c-612b-4755-9ff5-7f18f6832af3
2018-05-08 12:59:30 +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
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
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 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
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
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
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 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
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
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
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
konstantina.galouni 1e4eab0ca6 1. Community API added in env properties.
2. 'columnNames' variable added in search table pages (e.g. OpenAIRE Journals Table) to describe column names of the datatable.
3. Input 'columnNames' variable added in 'searchPageTableView' compontent, its value comes from search table pages (e.g. OpenAIRE Journals Table).
4. 'searchPageTableView' component updated and parametrized, to have datatable's columns either for content providers gotten by search API, or for projects gotten by community API.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50991 d315682c-612b-4755-9ff5-7f18f6832af3
2018-03-01 12:03:40 +00:00
argiro.kokogiannaki 4fac0720b2 put the divids- helper for linking views, Fix the links in advanced search page, remove openaireProperties class change error codes path, add the
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50761 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-15 10:36:12 +00:00
konstantina.galouni 114c3b2004 1. Language parsed in 'Software' and 'Dataset' Landing
2. Added check if 'bestaccessright' is undefined in search pages and landing pages
3. Small fix in 'available on' component used by landing pages
4. Helper component and service updates - 'position' and 'before' inputs are for page contents, 'div' is for div contents
5. Search page gets page contents properly (check case if CSV button is shown)
6. Checks for functionality of div contents in 'claimContextSearchForm' component and 'claimProjectSearchForm' component


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50728 d315682c-612b-4755-9ff5-7f18f6832af3
2018-02-13 14:52:23 +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 27794606e8 Clear some files | use new version of datatables for dataproviders tables
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@50277 d315682c-612b-4755-9ff5-7f18f6832af3
2018-01-11 10:55:54 +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