Commit Graph

106 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 8eb99c8ae1 Merge pull request 'Merge refactor code and change the implementation of reordering in order to transmit changes also in the children of a profile.' (#2) from new-model into master
Reviewed-on: #2
2024-04-10 14:42:38 +02:00
Konstantinos Triantafyllou dc383dda0d [new-model]: Add move indicator controller in order to move an indicator from a section to another. 2024-04-06 12:40:52 +03:00
Konstantinos Triantafyllou eee0814016 [new-model]: Reorder for move action for all entities. Doesn't work for added and removed, need a different implementation. 2024-04-02 22:26:57 +03:00
Konstantinos Triantafyllou c83dc441d4 Refactor reorder methods and save sections in bulk 2024-04-02 14:49:02 +03:00
Konstantinos Triantafyllou 8a56c3ad8b Save category, subcategory, section refactor. 2024-03-27 14:07:41 +02:00
Konstantinos Triantafyllou c3cc942332 Refactor save topic endpoint and fix change visibility. 2024-03-21 12:42:34 +02:00
Konstantinos Triantafyllou cf505bd214 Fix delete and change visibility methods for all entities. 2024-03-14 19:01:28 +02:00
Konstantinos Triantafyllou cb7780b84e [new-model]: Resolve merge from master 2024-03-13 00:23:44 +02:00
Konstantinos Triantafyllou 959d553ca4 [new-model]: Refactor all delete and change visibility methods. 2024-03-13 00:20:55 +02:00
Konstantinos Triantafyllou 94fe49e7b7 Fix manager condition in stakeholder service method. 2024-03-12 17:56:49 +02:00
Konstantinos Triantafyllou e345f5b689 [new-model | WIP]: Refactoring the code in order to improve performance and code. 2024-03-08 20:55:51 +02:00
Konstantinos Triantafyllou 1158b676e4 Revert properties. Remove some comments. Remove mongodb DAOs. Move primitives classes and enums to new package primitives. 2024-03-06 01:48:31 +02:00
Konstantinos Triantafyllou 76c39d6eb3 Add monitor deploy service 2024-03-06 01:27:38 +02:00
Konstantinos Triantafyllou 8918826766 Remove comments. Add getAliases method in stakeholderService. Remove parametersMapping 2024-03-05 18:51:14 +02:00
Konstantinos Triantafyllou a7a3970c79 Merge branch 'irish-monitor-service' 2024-02-29 11:53:51 +02:00
Konstantinos Triantafyllou 5bad820e3d Add authorization in check deploy of library 2024-02-20 10:55:00 +02:00
Konstantinos Triantafyllou e92739091f Move some stakeholder functions to the service. 2024-02-20 09:10:41 +02:00
Konstantina Galouni 1461f1851e [master | DONE | CHANGED]: IndicatorController.java: Completing previous commit - In method "createSectionsAndSaveBulk()", on createSection() call, always set title parameter to section.getTitle() (even if it is null). 2024-01-24 17:39:37 +02:00
Konstantina Galouni 52c760af1c [master | DONE | CHANGED]: IndicatorController.java: Removed "imported from service" from section name in method "createSectionsAndSaveBulk()". 2024-01-24 17:16:57 +02:00
Konstantinos Triantafyllou 4be89eab36 Merge branch 'irish-monitor-service' of code-repo.d4science.org:MaDgIK/uoa-monitor-service into irish-monitor-service 2023-12-14 15:48:40 +02:00
Konstantinos Triantafyllou f85a2202ab Import Notification and Authorization Configuration only in application. 2023-12-14 15:48:33 +02:00
Konstantina Galouni 8d19c242e7 Merge remote-tracking branch 'origin/master' into irish-monitor-service 2023-12-13 15:13:06 +02:00
Konstantina Galouni 420e6f46fb [master | DONE | FIXED]: IndicatorController.java: In method "parameterMapping()" set in parameter index_shortName the shortname of the stakeholder, not the name. 2023-12-13 15:10:13 +02:00
Konstantina Galouni c55d2836d7 [irish-monitor-service | WIP | CHANGED]: Monitor Service to work as standalone and as library (classifier library) at the same time.
1. pom.xml: Added plugin "maven-jar-plugin" and an <execution> with <classifier> library which creates a jar and excluded files from library setup.
2. UoaMonitorServiceApplication.java: Moved to package application and removed @EnableConfigurationProperties and @Import of other configurations (moved to UoaMonitorServiceConfiguration.java).
3. UoaMonitorServiceConfiguration.java: Added @EnableConfigurationProperties and @Import of configurations and @ComponentScan.
4. ServletInitializer.java: Moved to package application.
5. MonitorLibraryCheckDeployController.java: Added this copy of MonitorServiceCheckDeployController.java to be used only in library setup with @RequestMapping("/monitor-library").
2023-12-01 10:19:20 +02:00
Konstantinos Triantafyllou 9d585f12e0 Update admin-tools-library 2023-11-14 13:21:15 +02:00
Konstantinos Triantafyllou 615da7f3c2 Add funderType field in stakeholder. 2023-11-09 15:02:11 +02:00
Konstantinos Triantafyllou c8adee576e Add support for country reasearcher and datasource 2023-10-16 12:42:49 +03:00
Konstantinos Triantafyllou 8446c19ea9 Fix section default Id null exception in save default indicator 2023-07-31 10:59:03 +03:00
Konstantina Galouni 648803a30c [Monitor Service | master]: Stakeholder.java: Added field "private Date projectUpdateDate = null;" to expose the last update date in the UI. 2023-07-17 17:06:52 +03:00
Konstantina Galouni fc2010e530 [Monitor Service | master]: IndicatorController.java: In method "createSectionsAndSaveBulk()" -on import indicators- check if a section or an indicator is null, and ignore them. 2023-07-10 18:00:27 +03:00
Konstantinos Triantafyllou 7b4f0a9eec Fix role utils methods 2023-07-04 16:02:34 +03:00
Konstantina Galouni 09b8d2188f [Monitor Service | master]: Indicator.java: In method "copyFromDefault()", get visibility as parameter and set the visibility of the new-copied indicator accordingly | IndicatorController.java: When creating indicators copied from a new default indicator, set the visibility of each new indicator same as of its parent subcategory. 2023-07-03 10:42:46 +03:00
Konstantina Galouni 0184da8a8e [Monitor Service | master]: Stakeholder.java: Added field private Locale locale = Locale.EU; (Local is enum with values: EN("en"), EU("eu")) and getter/setter methods. 2023-06-19 13:28:32 +03:00
Konstantinos Triantafyllou f246e4d6b8 Fix script for add funding stream in default msca 2023-06-09 13:35:03 +03:00
Konstantinos Triantafyllou 273858cc2c Replace let with var in update.js 2023-05-31 16:27:15 +03:00
Konstantinos Triantafyllou 06be4d37ce Update script with alias of default-fl1. 2023-05-31 14:07:56 +03:00
Konstantinos Triantafyllou 31f758d534 Add addFundingStreamInDefaultMSCA in migration script. 2023-05-30 16:26:45 +03:00
Konstantinos Triantafyllou e363a04f84 Pom: Add spring-boot-version in maven-plugin 2023-05-19 16:47:19 +03:00
Konstantina Galouni 1119c1fdcf [Monitor Service | master]: Stakeholder.java: Added field private String statsProfile = "monitor"; and getter/setter methods | IndicatorPath.java: Added field private Format format = Format.NUMBER; where Format is enum {NUMBER, PERCENTAGE} and getter/setter methods | IndicatorController.java: On method "onUpdateDefaultIndicator()" check if format was changed | update_db.js: Added method "statsProfileOfIndicatorsAsVariable()". 2023-05-03 13:02:56 +03:00
Konstantina Galouni 806e1e16d8 [Monitor Service | master]: MonitorController.java: In method "updatePortal()" call also pageService.updatePid if pid was changed | pom.xml: Updated version of uoa-admin-tools-library to 1.0.7 (previous was 1.0.6). 2023-05-03 12:58:13 +03:00
Konstantinos Triantafyllou 29cc52a65f Merge branch 'log4j2' 2022-11-22 17:43:46 +02:00
Konstantina Galouni 4080c5326e StakeholderController.java: update return type of 'changeStakeholderVisibility()' and 'changeStakeholderVisibilityTree()' from Visibility to Stakeholder. 2022-10-21 17:24:49 +03:00
Konstantina Galouni 5d46d84a96 [Monitor Service | log4j]: SwaggerConfig.java: Updated swagger to add separate folders for libraries. 2022-10-20 10:40:08 +03:00
Konstantina Galouni 05aec3af4a StakeholderController.java: update return type of 'changeStakeholderVisibility()' and 'changeStakeholderVisibilityTree()' from Visibility to Stakeholder. 2022-10-16 11:41:19 +03:00
Konstantina Galouni 637554d3e8 [Monitor Service | log4j2] pom.xml: Removed groupid 2022-10-10 15:29:34 +03:00
Konstantina Galouni adf8cb5e70 pom.xml: Updated parent and versions of libraries | Moved to log4j2 & set spring log file as default | Added swagger 2022-10-10 15:27:17 +03:00
Konstantina Galouni 82a8f8ad56 [Trunk | Monitor Service]: StakeholderController.java & TopicController.java & CategoryController.java & SubCategoryController.java & SectionController.java & IndicatorController.java: Updated /change-visibility methods and added @RequestParam(required = false) Boolean propagate, to allow changing visibility of all contents of the updated entity too & updated return type to return the entity instead its visibility & added everywhere method "changeVisibilityTree()". 2022-09-14 18:02:47 +03:00
Konstantinos Triantafyllou 902a666c8e [maven-release-plugin] rollback the release of uoa-monitor-service-1.0.4 2022-09-14 11:19:09 +03:00
Konstantinos Triantafyllou d274c2e95a [maven-release-plugin] prepare for next development iteration 2022-09-14 11:18:43 +03:00
Konstantinos Triantafyllou edba8457d1 [maven-release-plugin] prepare release uoa-monitor-service-1.0.4 2022-09-14 11:18:38 +03:00