George Kalampokis
e373baee7e
Fix critical issue when importing from xml with researchers
2022-04-07 17:31:44 +03:00
Konstantina Galouni
2a9d8b8296
#7528 : [NEW] Upload files field type.
...
1. Datasets.java: In "delete()" method, call also fileManager.markAllFilesOfEntityIdAsDeleted.
2. DatasetManager.java: Added method "deleteOldFilesAndAddNew()" which is called by "createOrUpdate()", to mark as deleted files that are not used any more and save the new ones.
3. DatabaseRepository.java & DatabaseRepositoryImpl.java: Include in DAOs FileUploadDAO.
4. ModelBuilder.java & ViewStyle.java: Incluse "upload" field type.
5. field-data.ts:
a. In "getOrdinal()" method return Integer instead of int.
b. In "getValidations()" method added null check.
c. In methods "fromJsonObject()" and "toMap()" added special if clauses for "upload" field type.
6. application.properties:
a. Added property "file.storage", to set the folder where the files will be permanently saved.
b. Changed default spring.servlet.multipart.max-file-size and pring.servlet.multipart.max-request-size to 10 MB.
7. UserInvitationController.java: Deleted a print in System.out.
8. New files for upload field type: FileUploadDao.java, FileUploadDaoImpl.java, FileUpload.java, PostgreSQLEnumType.java (necessary for the enum EntityType), FileController.java, FileManager.java, UploadData.java.
2022-03-16 12:14:08 +02:00
George Kalampokis
75fc8a1d13
Update some entities based on the Db configuration
2022-03-02 17:51:17 +02:00
George Kalampokis
ea72f64ed4
Replace DB DOIFunder with a json config file
2022-03-01 14:37:49 +02:00
George Kalampokis
93aa2d36e5
Fix another issue with login
2022-02-24 10:47:12 +02:00
George Kalampokis
69a94fa236
Make email nullable field
2022-02-23 12:02:03 +02:00
George Kalampokis
a3af8ce3a5
Merge branch 'spring-update' into Development
...
# Conflicts:
# dmp-backend/web/src/main/java/eu/eudat/controllers/Admin.java
# dmp-backend/web/src/main/java/eu/eudat/controllers/Login.java
# dmp-backend/web/src/main/java/eu/eudat/controllers/UserGuideController.java
# dmp-backend/web/src/main/java/eu/eudat/logic/managers/DataManagementPlanManager.java
# dmp-backend/web/src/main/java/eu/eudat/logic/managers/DatasetManager.java
# dmp-backend/web/src/main/java/eu/eudat/logic/managers/DatasetProfileManager.java
# dmp-backend/web/src/main/java/eu/eudat/logic/managers/MetricsManager.java
2021-10-08 16:04:52 +03:00
George Kalampokis
91729bab6d
Optimize queries
2021-09-30 18:02:53 +03:00
George Kalampokis
1ae2788453
Fix various issues with spring update
2021-09-14 17:43:02 +03:00
George Kalampokis
dcd7f24cac
Fix listing issues and improve elastic query
2021-06-29 11:45:20 +03:00
George Kalampokis
1eb9aadaea
IGNORE ME
2021-06-15 11:25:11 +03:00
George Kalampokis
af04e34b6f
Add new User Role Dataset Template Editor.
2021-04-06 19:03:00 +03:00
George Kalampokis
d6970cc49a
Add avatarUrl on UserListingModel
2020-12-02 14:19:43 +02:00
George Kalampokis
ff169ae806
Made User Merge logic functional
2020-10-27 18:06:58 +02:00
George Kalampokis
e1212383ff
Add expirimental logic for userMerge (+ some updates for DB)
2020-10-23 18:40:17 +03:00
George Kalampokis
4e249e4b8b
Add get All Versions Endpoint to the Backend
2020-07-09 13:11:43 +03:00
George Kalampokis
d51099cedc
Further fixes and improvements over recent activity
2020-07-03 13:55:25 +03:00
George Kalampokis
ba091fad6c
Remove User Association Table
2020-06-10 16:09:26 +03:00
George Kalampokis
78ee4673ee
Add ExtraProperties for DMP and language for Dataset Template
2020-06-03 12:13:31 +03:00
George Kalampokis
0eb0707fd5
Add openaire grant on DOI creation (ref #257 )
2020-05-06 18:11:33 +03:00
George Kalampokis
391a88a236
The invite pop up will show only user collaborating with DMP that the current user also is collaborating (ref #258 )
2020-05-04 15:47:30 +03:00
George Kalampokis
2ba3f11687
Add additional editors for the remaining external references
2020-04-14 16:43:09 +03:00
George Kalampokis
3ce7fe7595
Allow to edit user created Data Repositories
2020-04-10 18:52:14 +03:00
George Kalampokis
25988ab272
Add Email Notifications when one of the collaborators is editing either a DMP or a Dataset (ref #244 )
2020-02-14 18:40:34 +02:00
George Kalampokis
b62c0f7ff5
Add a new Lock Table that will prevent two or more users to edit simultaneously a single DMP or Dataset (ref #240 )
2020-02-11 18:27:54 +02:00
George Kalampokis
f22cd0617a
Small fix
2020-02-10 18:29:54 +02:00
George Kalampokis
4e5a48e6c4
Add additional checkups when editing DMPs and Datasets in order to ensure that no other user has edit them. (ref #240 )
2020-02-10 18:21:06 +02:00
gkolokythas
2958cab113
Refactors how "External Resources" are saved on Dataset.
2020-01-14 13:36:48 +02:00
gkolokythas
ff9aa14047
Refactors how researchers are fetched from external sources and saved in general.
2020-01-14 12:33:48 +02:00
gkolokythas
01d6782ec7
Refactors how reference is created on Funder, Grant and Projcect now using their unique id as a part of it instead of label.
2019-12-12 12:27:47 +02:00
gkolokythas
47c2940517
Adds "creationUser" on Researcher entity. (Issue #168 )
2019-09-30 17:42:01 +03:00
gkolokythas
c886b9ec07
Fixes Dataset Description's listing filter "Role" not fetching all Datasets when "Any" was selected.
2019-09-26 13:59:47 +03:00
gkolokythas
446717da97
Adds "Creation User" on DataRepository, ExternalDataset, Registry, Service. (Issue #168 )
2019-09-25 13:43:17 +03:00
gkolokythas
dac440b140
Fixes bug not creating new Data Repository on Dataset Description's tab "External References".
2019-09-25 12:11:02 +03:00
gkolokythas
aaa1e9d1c7
Adds "Creation User" on Funder entity and fixes bug showing Funder created by user to other users. (Issue #167 )
2019-09-24 17:40:53 +03:00
gkolokythas
68cb9846bb
Fixes bug on External References not updating values.
2019-09-20 17:51:13 +03:00
gkolokythas
3164ee4144
Fixes Dataset Description not updating two External References (Registries, Services) when harvesting from external url.
2019-09-16 18:26:18 +03:00
gkolokythas
7fe3962be4
Fixes bug not saving or updating the "Uri" value on a Dataset Description.
2019-09-06 12:15:05 +03:00
gkolokythas
bca715d52b
Fixes bug on not storing Funder Id on Grant table.
2019-08-27 17:00:09 +03:00
gkolokythas
efde5fe5a3
Enriches models with Funder entity.
2019-08-26 16:43:30 +03:00
gkolokythas
f5866107ad
Fixes bug on not populating the Project entity with Grant when Project is not selected, on DMP creation.
2019-08-22 14:29:33 +03:00
gkolokythas
5dcf8397df
Adds Funder entity on backend.
2019-08-02 18:24:43 +03:00
gkolokythas
e8efe54479
Fixes bug on updating Project entity and various code missteps.
2019-08-02 18:21:00 +03:00
gkolokythas
01c5166bb9
Adds "Project" entity and its respected needed properties for external fetching. (Issue #145 )
2019-08-02 11:27:12 +03:00
gkolokythas
feaec87b82
Renames "Project" to "Grant on backend. (Issue #145 )
2019-07-31 17:57:34 +03:00
gkolokythas
f8310b2362
Adds email confirmation logic and view.
2019-07-12 17:12:16 +03:00
gkolokythas
7d68f93ecd
Adds DOI variable to DMP models.
2019-07-05 14:08:24 +03:00
gkolokythas
b8977669c6
Renames DMP and Dataset columns.
2019-06-24 17:01:24 +03:00
gkolokythas
a40def3162
Adds "isPublic" and "PublishedDat" properties on DMP.
2019-06-19 17:32:54 +03:00
gkolokythas
f9292ee839
Adds "Canceled" Status on Datasets and fixes bug with Dataset isPublic leftovers.
2019-06-19 17:16:05 +03:00