Commit Graph

125 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou b231778851 Fix stakeholder dao methods with duplicate condition for defaultId. 2024-06-17 10:00:33 +03:00
Konstantinos Triantafyllou aaf3338e11 Json Ignore for umbrella optional 2024-06-12 12:36:17 +03:00
Konstantinos Triantafyllou 8f793d31ad Update admin tools library 2024-06-12 12:24:41 +03:00
Konstantinos Triantafyllou 00b17fad1c [umbrella]: Add reorder methods in updateUmbrella. 2024-06-12 01:42:49 +03:00
Konstantinos Triantafyllou 1bc576ea69 [umbrella]: Fix delete stakeholder in order to remove from umbrella dashboards when it is deleted. 2024-06-11 20:17:39 +03:00
Konstantinos Triantafyllou ab33c2ec45 [umbrella]: Add method to update umbrella of a stakeholder. 2024-06-11 17:38:39 +03:00
Konstantinos Triantafyllou 615124b6b2 Remove some unused imports. 2024-06-05 12:42:26 +03:00
Konstantinos Triantafyllou 0d50ce9dd2 [umbrella]: Add script to add standalone field with default value true. 2024-06-03 11:47:25 +03:00
Konstantinos Triantafyllou 4f1d1b89f4 merge changes from master 2024-05-30 22:59:55 +03:00
Konstantinos Triantafyllou 4325e1fdb0 Fix getFullStakeholder by removing visibility authority. 2024-05-30 22:54:50 +03:00
Konstantinos Triantafyllou aa1cab1ccb Merge remote-tracking branch 'origin/master' into umbrella 2024-05-27 13:49:37 +03:00
Konstantinos Triantafyllou a73db0e081 Add script to initialize copy to default value. 2024-05-27 13:48:41 +03:00
Konstantinos Triantafyllou c15b63d3da Add method to get child stakeholder and change manageStakeholder to return object of different types of stakeholders. 2024-05-24 13:40:14 +03:00
Konstantinos Triantafyllou 0fdb13ae56 Add unauthorized method in common service and use it instead of ForbiddenException 2024-05-23 10:50:09 +03:00
Konstantinos Triantafyllou 014ca643d5 Fix save stakeholder bug, where topics will be deleted on save. 2024-04-24 23:23:27 +03:00
Konstantinos Triantafyllou 6b5ae3512f Add copy true in dao when find profiles with specific defaultId. 2024-04-15 10:42:39 +03:00
Konstantinos Triantafyllou c4d33a2486 Comment use database in scripts 2024-04-12 11:47:43 +03:00
Konstantinos Triantafyllou 86f4990d70 Introduce copy field for stakeholder and align all methods to appy the right structure. 2024-04-12 11:37:28 +03:00
Konstantinos Triantafyllou 54f9ebb9ce Add copy constructor in stakeholder class. 2024-04-10 15:54:03 +03:00
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