Commit Graph

11 Commits

Author SHA1 Message Date
Konstantina Galouni 4f62befa74 [Admin Tools | log4j2]: Allow curators with profile to be invisible in the Gateway | Dynamically align custom menu.
1. Curator.java & CuratorResponse.java: Added field private boolean visible = true; to allow curators have a profile but not be visible in the Gateway.
2. CuratorService.java: In method "getCurators()" called by /{pid}/curator, return curators that have a profile and the profile is visible.
3. MenuAlignment.java: Enum created for menu alignment options.
4. Menu.java & MenuFull.java: Added field public MenuAlignment featuredAlignment = MenuAlignment.CENTER; to allow dynamic alignment of the Gateway custom menu.
5. MenuController.java: Added api method "alignMenu()" (/community/{pid}/menu/align), to change alignment of the custom menu.
6. MenuService.java: Added method "alignMenu()" | Set featuredAlignment field (default to "CENTER").
2022-12-09 15:01:00 +02:00
Konstantina Galouni 5af0f6a841 Updated parent in pom.xml and moved to log4j2 2022-10-07 13:38:56 +03:00
Konstantina Galouni b5de59ee75 [Admin Tools | Trunk]:
1. pom.xml: Increased version.
2. LayoutDAO.java & MongoDBLayoutDAO.java: Updated return type of "findByPortalPid()" to be List<Layout>.
3. LayoutService.java: Updated all usages of "findByPortalPid()" | In "save()" method, if there is one existing Layout for this pid already, set id to update layout instead of saving a new one.
4. CommunityController.java: Added method "deleteLayoutForCommunity()" (DELETE /community/{pid}/layout).
5. ConnectController.java: Added methods for "connect" and "default" pids: 
   "getLayoutForConnect()" (GET /connect/{pid}/layout - no authorization), "updateLayoutForConnect()" (POST /connect/{pid}/layout), "deleteLayoutForConnect()" (DELETE /connect/{pid}/layout).
2022-08-09 09:44:39 +00:00
Konstantina Galouni 99e01c7662 [Admin Tools | Trunk]: pom.xml: Increased version to 2.0.3 | ManagerService.java: Change response in method "getManagers()" to get them via role management instead of user management. 2022-07-29 09:45:45 +00:00
Konstantina Galouni a9cc44c443 [Trunk | Admin Tools]: Updated version of admin-tools-library | Updated structure of dynamic Menus.
1. pom.xml: Updated version of admin-tools-library to 1.0.5 (used to be 1.0.4).
2. Added Menu.java, MenuFull.java, MenuDAO.java, MongoDBMenuDAO.java.
3. CommunityController.java: On method "deleteCommunities()", delete also dynamic Menus for these pids.
4. Renamed MenuItemController.java to MenuController.java & added or updated methods to get/save/delete/toggle Menu structure instead of MenuItems.
5. Renamed MenuItemService.java to MenuService.java & added or updated methods to get/save/delete Menu structure instead of MenuItems.
6. MenuItem.java & MenuItemFull.java: Added field "String target;" (values _self or _blank) & field "Boolean isFeatured = false;".
7. UoaAdminToolsApplicationTests.java: Added test for sending email.
8. Layout.java: Added field "Date date".
2022-07-27 12:52:33 +00:00
Konstantinos Triantafyllou 834dcc26f0 Add get available layouts endpoint 2022-07-21 09:10:09 +00:00
Konstantina Galouni ad80551db7 [Trunk | Admin tools]: MenuItemController.java & MenuItemDAO.java & MongoDBMenuItemDAO.java & MenuItem.java & MenuItemFull.java & MenuItemService.java: Added dynamically configurable Menu Items for specific portal. 2022-02-09 12:22:28 +00:00
Konstantinos Triantafyllou 7466b04f4f [Admin Tools | Trunk]: Add get managers by Type. Get Curators base on AAI ID 2021-03-02 11:27:31 +00:00
Konstantinos Triantafyllou 6484343d2f [Admin Tools | Trunk]: Add get managers method. Delete no needed files. 2021-02-25 19:00:05 +00:00
Konstantina Galouni 5f2bc1fdfb [Trunk | Admin tools]:
1. NotificationsService.java: [NEW] service for notifications with updatePid and deleteByPid methods.
2. LayoutService.java & StatisticsService.java & SubscriberService.java: Logs added.
3. CommunityController.java: 
	a. [Bug fix] On "updateCommunity()" (/update) method update pid for related notifications, layout, statistics and subscribers (old_pid had the value of new_pid, not the old one).
	b. Add update pid for notifications when updating portal pid | Delete related notifications by pid when deleting a portal.
2020-12-04 09:56:36 +00:00
Konstantina Galouni f2ca4c4275 [Trunk | Admin Tools]: Merging branch 'use-UoaAdminToolsLibrary' into trunk for revisions 58365:59468 2020-09-24 12:02:39 +00:00