fix init_db.js: use community Id for creating Div Help Contents
set proper content for div contents | update init_db.js with lattest changes from update script
update_db.js: function to create and initialize one div help content per divId per community added.
1. Bug fix in entity/save (portal sends entity, not CommunityEntity).
1. Bug fix when getting pages of a community.2. Added 2 functions in update_db.js (updateTypeOfLandingPages, removeEntitiesFromSearchFindPage).
1. Bug fixes in updata_db.js.2. ExceptionsHandler.java: Handler added for NullPointerException.3. CommunityPage.java: 'connect' and 'openaire' fields (with getters and setters) added.4. PageController.java: in '/page' method, RequestParam 'pid' is not required....
create all communities method in init_db.js
organize init script with methods, add connect and openaire fields in Page, filter pages by pid depending on connect and openaire field | order page results by name | update update script with methods
1. Version changed to 1.0.11. DivIdis not related to any Community. All communities share the same divIds.2. DivHelpContent is related to a Community.3. Statistics' change operations fixed in init_db.js and update_db.js.4. pom.xml, init_db.js, update_db.js updated to the new version....
adding restricted in numbers of statistics , fix issues in update script
Change Statistics structure - add new classes | create add update script for statistics
Add ErrorController with cors
add the files for dnet override properties, change origin server to contains oly domain
Add subscribers collection, DAO and controller| add not found exception & handler | add authorization handler (disabled for now)
adding statistics dao in community controller
A first for statistics collection and methods
1. DivId is related with >=1 Pages (not just 1).2. Version changed to 1.0.0 (not backward compatible). 3. DivId creation added in mongo initializing script - version information added.
1. Added script to initialize mongo database with name "openaire_admin" - if database already exists nothing happens ('drop' variable set to false)
1. API to find divhelpcontents by div2. API to find div by name
Added missing files from previous commit about DivId and DivHelpContent
1. Added DivId class and API : special classes to be used by explore portal pages which have steps2. Added DivHelpContent class and API3. Added parameter 'div' (true/false) in '/community' to get communities related to some divIds4. Added parameter 'div' (true/false) in '/community/{pid}/pages' to get pages of a community, which are related to some divIds...
1. Change Community methods - use pid (community) to query (GET requests)2. community/{pid}/page/toggle & community/{pid}/entity/toggle - use pid to identify community3. New (/pagehelpcontent/save) and Update (/pagehelpcontent/update) APIs for helpcontents separated...
'pid' field added in entities and communities for queries by portal | page help contents ordered by placement and order when returned | api to get page help contents by community name or community id (again ordered): '/pagehelpcontent?community=' or '/pagehelpcontent?communityId=' | api to get specific page of community: '/community/{id}/pages?page_route='
new Community has enabled all pages and entities | Toggle multiple community pages/entities at once
Community and Entity class created | All Classes and APIs configured according to OpenAIRE (Community's APIs may change)
initial commit <3