[Trunk | Admin Tools Library]:1. pom.xml: a. Added timestamp in properties. b. In <build> added <resources> with filtering set to true.2. GlobalVars.java: Added GlobalVars class for date of deploy & date of build.3. UoaAdminToolsLibraryApplication.java: In @EnableConfigurationProperties added GlobalVars.class....
[Trunk | Admin Tools Library]: Added properties.put("mail.smtp.ssl.protocols", "TLSv1.2"); if(mailConfig.getHost().equals("smtp.gmail.com")) (only for dev).
[Trunk | Admin Tools Library]: DivHelpContentService.java: Updated default footer div helptext for new communities and added default footer div helptext for new monitor dashboards and other portals.
[Trunk | Admin Tools Library]: DivHelpContentService.java: In method "addDivHelpContentsInPortal()" (when creating a new portal), added default footer div help content for divId with name "footer".
[Trunk | Admin Tools Library]:1. AdminToolsLibraryCheckDeployController.java: a. In "hello()" method added @RequestMapping (except for existing ""), "/health_check". b. Added method "checkEverything()" (/health_chech/advanced) only accessible by PORTAL ADMINS which checks connection with db and prints properties....
[Trunk | Admin Tools Library]: AdminPortalRelationsController.java: a. Uncomment method "getDivHelpContent()" ({portalType}/{pid}/divhelpcontent/{id}) (used by portal).b. Update method "List<DivHelpContent> getDivHelpContentsByPageId()" to "List<DivHelpContentResponse> getDivHelpContentsByPageId()" to return full objects for DivHelpContents.
[Trunk | Admin Tools Library]: AdminToolsLibraryCheckDeployController.java: [NEW] Controller added with @RequestMapping("/admin-tools-library") and "hello()" method (@RequestMapping(value = "", method = RequestMethod.GET)) which just prints and returns a greeting message.
[Trunk | Admin Tools Library]:1. DivHelpContentDAO.java & MongoDBDivHelpContentDAO.java: [Bug fix] Remove method "findByPortalAndPage()" as there is no "page" field in "DivHelpContent" class.2. DivHelpContentService.java: [Bug fix] In method "getDivHelpContentsBasic()" change the way parameter "pageId" is used to filter results - find page in "DivId" not "DivHelpContent"....
[Trunk | Admin Tools Library]:1. PageHelpContentDAO.java & MongoDBPageHelpContentDAO.java: Added method "findByPortalAndPageOrderByPlacementAscOrderAsc()" to get page help contents for a specific portal and page.2. PageHelpContentService.java: Added method "getPageHelpContentsBasic()"....
[Trunk | Admin Tools Library]:1. pom.xml: Added in dependency for spring security and and for uoa-authorization-library.2. UoaAdminToolsLibraryApplication.java: import "AuthorizationConfiguration.class".3. RolesUtils.java: Added folder handlers/utils and file handlers/utils/RolesUtils.java to get roles and info of user from authorization library....
[Trunk | Admin Tools Library]:1. GenericPortalController.java: Added Generic portal controller for handling all portals without type limitation.2. SimpleErrorController.java: Added /error request mapping, to format all error that are not explicitly handled....
[Trunk | Admin tools Library]: PortalType.java: In enum PortalType add "aggregator".
[Trunk | Admin tools Library]:1. Portal.java & PortalResponse.java & PortalService.java: New field "piwik".2. PortalType.java: Added "funder", "ri", "project", "organization" values in PortalType enum for monitor Stakeholder types.
[use-UoaAdminToolsLibrary | Admin Tools Library]: pom.xml & UoaAdminToolsApplication.java: Commit commented configuration for spring secutiry and "uoa-authorization-library".
[Trunk | Admin Tools Library]:1. AdminPortalRelationsController.java: In "getDivIdsFull()" (/{pid}/div/full) set RequestParam page as NOT required (bug fix in admin portal).2. EntityService.java: [Bug fix] a. In "deleteEntities()", delete entity, after all relations with it have been deleted....
[Trunk | Admin Tools Library]:1. DivHelpContentController.java & PageHelpContentController.java: Comment every method (not used anymore by portals) (changed and moved to AdminPortalRelationsController.java - portal specific).2. DivIdController.java & EntityController.java & PageController.java: Comment methods not used by portals (some of them changed and moved to AdminPortalRelationsController.java - portal specific)....
[Trunk | Admin Tools Library Service]: [Bug fix] PageService.java: Error (by accident) in name of "getPageByPortalTypeAndRoute()" method.
[Trunk | Admin Tools Library Service]:1. DivHelpContentController.java: In "getDivHelpContents()" (/divhelpcontent) method rename parameter "div" to "divId" | Delete unnecessary method "addDivHelpContentsInPortal()".2. PageHelpContentController.java: In "getPageHelpContents()" (/pagehelpconent) method add request parameter "portalType"....
[Trunk - Admin tools library Service]: Commit r58031 was not completed. DivIdService.java, PageService.java: In all controllers/services use methods only from services (except for entity's DAO).
[Trunk - Admin tools library Service]: Rename Porrtal > "alias" to "type" and Page/ DivId > "dashboardAlias" to "portalType".
[Trunk - Admin tools library Service]:1. Created services for all entities: PortalService.java, PageService.java, EntityService.java, DivIdService.java, PageHelpContentService.java, DivHelpContentService.java.2. PortalController.java: Deleted from library. Each service will have its own portal controllers, that will use methods from PortalService.java....
[Trunk | Admin tools library Service]: Rename "Community" to "Portal".1. Entity "Community" renamed to "Portal" - Files renamed accordingly.2. PageHelpContent.java & DivHelpContent.java & PageHelpContentResponse.java & DivHelpContentResponse.java: Rename "community" field to "portal"....
[Trunk | Admin tools library service]: 1. Community.java: Add field "alias" (now it will be: openaire/explore (to be decided), connect, community, monitor) - it may be renamed again to: type.2. Page.java & DivId.java & CommunityPage.java & DivIdResponse.java: Remove fields: "connect", "communities", "openaire" and add field: "dashboardAlias"....
[Trunk | Admin tools library Service]: Initial commit of project - Common files & methods copied from admin tools service.1. Entities: common entities are Community, Entity, Page, DivId, PageHelpContent, DivHelpContent (+ fullEntities), email: Email, EmailRecaptcha, GoogleResponse....
Creating "trunk" and "branches" folders.
Creating folder for uoa-admin-tools-library service (e.g. helptexts).