Commit Graph

17 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou eee9faee28 Add DMP Roadmap database configuration and Template table. Make entity manager Primary and name entityManager to avoid conflicts on bean initialization. 2022-04-27 17:21:04 +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 ea72f64ed4 Replace DB DOIFunder with a json config file 2022-03-01 14:37:49 +02:00
George Kalampokis af04e34b6f Add new User Role Dataset Template Editor. 2021-04-06 19:03:00 +03:00
George Kalampokis e1212383ff Add expirimental logic for userMerge (+ some updates for DB) 2020-10-23 18:40:17 +03:00
George Kalampokis ba091fad6c Remove User Association Table 2020-06-10 16:09:26 +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 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
gkolokythas 43fbacc39f Adds Funder's entity its respected needed properties for external fetching. (Issue #145) 2019-08-20 18:22:53 +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
Ioannis Kalyvas b34c96b264 no message 2018-08-30 14:09:36 +03:00
Ioannis Kalyvas b7d5dfb198 no message 2018-06-27 13:29:21 +03:00