Commit Graph

31 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 596550d3de Extend user token duration to 10 days 2021-07-21 11:17:32 +03:00
George Kalampokis af04e34b6f Add new User Role Dataset Template Editor. 2021-04-06 19:03:00 +03:00
George Kalampokis 70056bd0a9 Fix issue with login for new users 2020-11-04 16:52:10 +02:00
George Kalampokis 4c60b2bb06 When creating a new credential assign the user's email 2020-10-27 18:08:16 +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 1dbe320706 Improve expiredAt calculation 2020-09-07 18:15:52 +03:00
George Kalampokis 4127a05da4 Add Email Field on Principal 2020-07-17 13:15:44 +03:00
George Kalampokis ba091fad6c Remove User Association Table 2020-06-10 16:09:26 +03:00
George Kalampokis 5b0a66ce06 Removed deprecated configurations and added additional RDA Common Standards for dataset Templates 2020-05-29 11:57:21 +03:00
George Kalampokis 0eb0707fd5 Add openaire grant on DOI creation (ref #257) 2020-05-06 18:11:33 +03:00
George Kalampokis f397ce6c72 Fixed issue when creating new users 2020-05-04 17:19:23 +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 982aea0cbf Improved Zenodo Account Integration 2020-04-10 17:16:37 +03:00
George Kalampokis f39c113b7b Add Zenodo Login and the ability to use it's access token for DOI creation 2020-04-07 18:42:31 +03:00
George Kalampokis dcede0b1eb Add Dmp Index (ref #252), compacted Dmp Listing so now both the user and the public listing will use one component (ref #253) and refactor operation context 2020-04-01 18:16:06 +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 ae84be5844 Replaced System.out.println, System.err.println and printStackTrace with a logger (ref #223) 2020-01-16 17:46:24 +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
gkolokythas 25da5e97e5 Refactors authentication principal to handle users with and without confirmed email. 2019-07-12 16:58:17 +03:00
Ioannis Kalyvas b34c96b264 no message 2018-08-30 14:09:36 +03:00
Ioannis Kalyvas 78b91ee3e0 no message 2018-07-11 16:47:36 +03:00
Ioannis Kalyvas b7d5dfb198 no message 2018-06-27 13:29:21 +03:00