Commit Graph

39 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 76f0407f78 [maven-release-plugin] prepare for next development iteration 2024-04-03 14:53:45 +03:00
Konstantinos Triantafyllou a5882649a8 [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.11 2024-04-03 14:53:41 +03:00
argirok 53edbf4b01 [maven-release-plugin] prepare for next development iteration 2024-04-03 14:47:09 +03:00
argirok 5bcef9ebcd [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.11 2024-04-03 14:47:05 +03:00
Konstantinos Triantafyllou 0c75baa89b [maven-release-plugin] prepare for next development iteration 2023-12-14 15:36:58 +02:00
Konstantinos Triantafyllou 4a171d647e [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.10 2023-12-14 15:36:54 +02:00
Konstantinos Triantafyllou 0a575fbcd2 Import IgnoreSecurityConfiguration instead of AuthorizationConfiguration and update authorization-library. 2023-12-14 15:36:35 +02:00
Konstantinos Triantafyllou cd59cc9ccc [maven-release-plugin] prepare for next development iteration 2023-11-14 13:19:52 +02:00
Konstantinos Triantafyllou 429a8495b3 [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.9 2023-11-14 13:19:49 +02:00
Konstantinos Triantafyllou b6f37397c4 [maven-release-plugin] prepare for next development iteration 2023-06-30 13:52:17 +03:00
Konstantinos Triantafyllou 0417af2f6f [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.8 2023-06-30 13:52:14 +03:00
Konstantina Galouni df34c2f3ca [maven-release-plugin] prepare for next development iteration 2023-05-03 12:48:00 +03:00
Konstantina Galouni 880681ee61 [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.7 2023-05-03 12:47:56 +03:00
Konstantina Galouni f50d434e1d [maven-release-plugin] prepare for next development iteration 2022-10-10 10:26:09 +03:00
Konstantina Galouni 09ac473aba [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.6 2022-10-10 10:26:03 +03:00
Konstantina Galouni 49b4e8dfe2 pom.xml: Updated versions of uoa-spring-boot-parent and uoa-authorization-library. 2022-10-10 10:18:56 +03:00
Konstantina Galouni 3bb2ead86e pom.xml: Updated scm from svn to git. 2022-10-10 10:16:26 +03:00
Konstantina Galouni 806a2365c3 Updated parent in pom.xml and moved to log4j2 2022-10-07 13:35:48 +03:00
Konstantina Galouni 91a6560fca [maven-release-plugin] prepare for next development iteration 2022-07-27 11:45:23 +00:00
Konstantina Galouni 8319480fde [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.5 2022-07-27 11:45:21 +00:00
Konstantinos Triantafyllou e2da303c98 [maven-release-plugin] prepare for next development iteration 2021-12-07 09:26:32 +00:00
Konstantinos Triantafyllou 507557cd9f [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.4 2021-12-07 09:26:31 +00:00
Konstantinos Triantafyllou 24cf96ac3f Update authorization library 2021-12-07 09:25:47 +00:00
Konstantinos Triantafyllou 5cc4834f5c [maven-release-plugin] prepare for next development iteration 2021-11-30 11:52:37 +00:00
Konstantinos Triantafyllou 0a3cc088a8 [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.3 2021-11-30 11:52:35 +00:00
Konstantinos Triantafyllou 121a72611d Update authorization library 2021-11-30 11:52:19 +00:00
Konstantinos Triantafyllou b2375fcdb7 [maven-release-plugin] prepare for next development iteration 2021-11-16 14:48:28 +00:00
Konstantinos Triantafyllou e26361cb38 [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.2 2021-11-16 14:48:27 +00:00
Konstantinos Triantafyllou c4134a9f41 Add version to global vars. Update authorization library 2021-11-16 14:48:05 +00:00
Konstantina Galouni 2bc3506cf3 [maven-release-plugin] prepare for next development iteration 2021-10-25 09:51:16 +00:00
Konstantina Galouni 0399381dea [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.1 2021-10-25 09:51:14 +00:00
Konstantina Galouni 3c8fb7d8b6 [maven-release-plugin] prepare for next development iteration 2021-10-12 10:59:13 +00:00
Konstantina Galouni 70f4a22954 [maven-release-plugin] prepare release uoa-admin-tools-library-1.0.0 2021-10-12 10:59:11 +00:00
Konstantina Galouni 056378c7a7 [Trunk | Admin Tools Library]: pom.xml: Added <scm> and commented <groupId>, to release this library to maven nexus repository. 2021-10-12 10:50:23 +00:00
Konstantina Galouni b27831abcf [Trunk | Admin Tools Library]: pom.xml:
a. Update parent from "spring-boot-starter-parent" to "dnet45-parent" ==> add <dependencyManagement>.
        b. For dependency "uoa-authorization-library", use version 1.0.0 (released version), not 1.0.0-SNAPSHOT.
2021-10-05 21:04:12 +00:00
Konstantina Galouni a7b07ad7e0 [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.
4. AdminToolsLibraryCheckDeployController.java: Added exposing date of deploy and date of build.
5. admintoolslibrary.properties: Added property admintoolslibrary.globalVars.buildDate=@timestamp@.
2021-09-15 21:58:27 +00:00
Konstantina Galouni 3b563eb5c2 [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.
4. AdminToolsLibraryExceptionsHandler.java: call setStatus of ExceptionResponse in handlers that status was not set | Use log.error instead of log.debug.
5. DivHelpContentService.java: Added checks and throw Exceptions in methods "deleteDivHelpContents()" and "toggleDivHelpContent()".
6. PageHelpContentService.java: Added checks and throw Exceptions in methods "deletePageHelpContents()" and "togglePageHelpContent()".
7. PortalService.java: Added checks and throw Exceptions in method "togglePage()".
8. EntityController.java: Added @PreAuthorize
	Portal Admins: methods "insertEntity()" (/entity/save), "updateEntity()" (/entity/update), "deleteEntities()" (/entity/delete).
9. DivIdController.java: Added @PreAuthorize
	Portal Admins: methods "insertDivId()" (/div/save), "updateDivId()" (/div/update), "deleteDivIds()" (/div/delete).
10. PageController.java: Added @PreAuthorize
        Portal Admins: methods "insertPage()" (/page/save), "updatePage()" (/page/update), "deletePages()" (/page/delete).
11. AdminPortalRelationsController.java:  
	a. Added checks and throw Exceptions in methods "getEntitiesForCommunity()", 
							"getDivHelpContent()", "saveDivHelpContent()", "updateDivHelpContent()", "deleteDivHelpContents()", "toggleDivHelpContent()",
							"togglePage()",
							"getPageHelpContent()", "savePageHelpContent()", "updatePageHelpContent()", "deletePageHelpContents()", "togglePageHelpContent()"
	b. Added @PreAuthorize
		Portals Admin - Curators - Managers: "toggleEntity()" (/{portalType}/{pid}/entity/toggle), 
						     "saveDivHelpContent()" (/{portalType}/{pid}/divhelpcontent/save), "updateDivHelpContent()" (/{portalType}/{pid}/divhelpcontent/update),
						     "deleteDivHelpContents()" (/{portalType}/{pid|/divhelpcontent/delete), "toggleDivHelpContent()"  (/{portalType}/{pid|/divhelpcontent/toggle),
						     "togglePage()" (/{portalType}/{pid}/page/toggle),
						     "savePageHelpContent()" (/{portalType}/{pid}/pagehelpcontent/save), "updatePageHelpContent()" (/{portalType}/{pid}/pagehelpcontent/update),
                                                     "deletePageHelpContents()" (/{portalType}/{pid|/pagehelpcontent/delete), "togglePageHelpContent()"  (/{portalType}/{pid|/pagehelpcontent/toggle)
2021-02-25 10:03:23 +00:00
Konstantina Galouni 2cf8fd5b8b [use-UoaAdminToolsLibrary | Admin Tools Library]: pom.xml & UoaAdminToolsApplication.java: Commit commented configuration for spring secutiry and "uoa-authorization-library". 2020-09-24 09:57:20 +00:00
Konstantina Galouni caaa5921ca [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.
2. DAOs: DAOs for common entities are CommunityDAO, EntityDAO, PageDAO, DivIdDAO, PageHelpContentDAO, DivHelpContentDAO (+MongoDBDAOs).
3. Controllers: controllers for common entities are CommunityController, EntityController, PageController, DivIdController, PageHelpContentController, DivHelpContentController 
	(comment references to community specific entities e.g. Statistics, Subscribers, Layout).
4. Configuration: common configuration files are GoogleConfig, MailConfig.
5. For email: emailSender/EmailSender.java & handlers/InvalidReCaptchaException.java & recaptcha/VerifyRecaptcha.java.
6. Resources: log4j.properties.
2020-01-23 16:05:17 +00:00