1. init_db.js & update_db.js & pom.xml: Version changed to 2.0.0 2. init_db.js: Add new and missing page routes, reorganize routes, add page help contents in deposit/learn-how and in organizations page for communities (not openaire and connect) 3. update_db.js: methods: addMissingAndNewPages(), changePageRoutesAboutAndZenodo(), addDepositPoliciesHelpContentInAllCommunities(), moveOrganizationsDivHelpContentsToPageHelpContents(), deleteHomeDivHelpContents(), deleteHomeAndOrganizationsDivIds(), enableProjectReportPageInCommunities(), addPositionsInPages() 4. Page.java & CommunityPage.java: Add boolean fields: top, bottom, left, right 5. CommunityController.java: On saving a new community, make disabled by default '/curators' and '/organizations' pages, add default page help contents Add methods with paths '/community/{pid}/pagehelpcontent', '/community/{pid}/divhelpcontent' to get contents mapped in corresponding position. 6. PageController.java: Add method with path '/pageFull' to get entities as object, not just their ids | On updating a page, call 'deletePageHelpContentsForPositionsIfDisabled()' method.
1. init_db.js & update_db.js & pom.xml: Version changed to 2.0.0
2. init_db.js: Add new and missing page routes, reorganize routes, add page help contents in deposit/learn-how and in organizations page for communities (not openaire and connect)
3. update_db.js: methods:
addMissingAndNewPages(), changePageRoutesAboutAndZenodo(), addDepositPoliciesHelpContentInAllCommunities(),
moveOrganizationsDivHelpContentsToPageHelpContents(), deleteHomeDivHelpContents(),
deleteHomeAndOrganizationsDivIds(), enableProjectReportPageInCommunities(), addPositionsInPages()
4. Page.java & CommunityPage.java: Add boolean fields: top, bottom, left, right
5. CommunityController.java: On saving a new community, make disabled by default '/curators' and '/organizations' pages, add default page help contents
Add methods with paths '/community/{pid}/pagehelpcontent', '/community/{pid}/divhelpcontent' to get contents mapped in corresponding position.
6. PageController.java: Add method with path '/pageFull' to get entities as object, not just their ids | On updating a page, call 'deletePageHelpContentsForPositionsIfDisabled()' method.