add AuthorizationHandler in API configuration: checks
1. update_db.js: Add 'addDefaultHtmlToHtmlPagesForCommunity()' function for adding hmtl contents (/about and /organizations routes) to 'Clarin' community.2. CommunityController.java: Add htmlPageContents when a community is created | delete htmlPageContents, statistics, communitySubscribers when a community is deleted.
change mail controller method names, mail sender returns boolean to check if mail send or not
Add ORP for statistics: in init/ update scripts | add the entity in creation of a community
1. Update pom's and scripts' version to 1.1.12. init_db.js: Add missing 'notifications' collection.3. update_db.js: Add 'createNotificationsCollection()' function and 'addDivHelpContentsForCommunity()' function for adding class contents to 'Clarin' community....
Fix configuration update method not creating duplicates, add check for no user information
Update init_db.js to include 'Other Research Products'.
uncomment values in properties file - fixing previous commit issue with deploy
add deployments info fileremove content page from init scriptupdate names of communitiesupdate html for pages with htmlPageContent
Subscribers: don't subscribe again if already subscribedNotifications: add entity, DAO, controllerAdd Email entity
Change emailSender to be more generic
1. Change email subject in EmailSender.2. update_db.js: Create function for inserting "Other Research Products" entity and relevant pages in database for all communities.
1. Update version in scripts and pom.2. Bug fix in 'init_db' script (remove a new line).3. Functionality for sending an email to a parametrized list of users added (EmailSender.java).4. Add a POST method in API that gets a list of recipients and sends them an email (/invite - EmailController.java)....
Bug fixes in HtmlPageContentController.java (concurrency issues).
1. 'Monitor' and 'Content' pages of type: other in init and update script.2. 'About' and 'Organizations' pages of type: html in init and update script.3. Default html content of pages with type html for every community in init and update script.4. 'AGINFRA+' and 'Clarin' communities in init script....
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