Commit Graph

28 Commits

Author SHA1 Message Date
George Kalampokis 2666568fab Make Dataset Validation checker to no longer be exception depedant 2022-03-29 15:11:55 +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 4740fbe8e0 Refactor visibilityRuleService 2022-02-09 15:23:16 +02:00
George Kalampokis e546362f58 Fix issue with elasticsearch inconsistencies 2021-11-23 14:05:57 +02:00
George Kalampokis 39795f177f Fix critical issue with file exports on chromium based web browsers 2021-11-02 14:50:20 +02:00
George Kalampokis a4fef8e462 Refactor PDF conversion 2021-10-12 18:17:16 +03:00
George Kalampokis c91059c854 Get latest available dataset profile instead of the version that is selected on the DMP 2021-07-20 12:55:52 +03:00
George Kalampokis 1d5befaf6a Add new endpoint in order to validate datasets 2021-05-10 13:40:08 +03:00
George Kalampokis 0ad797d033 Revert last commit 2020-11-12 16:39:47 +02:00
George Kalampokis ffc140f84b When creating or updating Datasets return also the
DatasetProfileDefinition
2020-11-12 15:50:34 +02:00
George Kalampokis 2354d9bb5c When calling the createOrUpdate endpoint on the Dataset Controller,
return a DatasetWizardModel instead of the dataset's id
2020-10-29 17:12:59 +02:00
George Kalampokis 9b403bb480 Create or update dataset endpoint will return the id of the
created/updated dataset
2020-09-17 13:34:44 +03:00
George Kalampokis e6da46730b Improved Dataset error handling when retrieving data 2020-07-21 16:05:34 +03:00
George Kalampokis 69fc698866 Unified datasets and datasetWizard Controllers 2020-07-15 12:33:10 +03:00
George Kalampokis 372c9bb074 Add support for Dataset Overview 2020-07-03 16:11:54 +03:00
George Kalampokis 35b89edabc Integrate Public Dataset Listing to regular Dataset Listing 2020-03-16 18:50:29 +02:00
George Kalampokis 818c6378c2 Add index management for admins 2020-03-11 11:06:43 +02:00
gkolokythas f00633ea71 Adds "Role" filter on Published DMPs and Published Dataset Description on backend. (Issue #175) 2019-09-26 18:33:41 +03:00
gkolokythas 61a64a1c5b Adds Dataset Template criteria on Dataset listing. 2019-06-12 12:10:46 +03:00
ikalyvas 0d16d694fa Refactors dependency injection on backend services 2019-03-05 17:33:59 +02:00
Diamantis Tziotzios a6a7b2bdce Refactor the Datasets endpoint 2019-01-31 17:53:37 +02:00
Ioannis Kalyvas e0c302e67e no message 2018-10-02 17:33:58 +03:00
Ioannis Kalyvas 7159460f7a no message 2018-08-31 17:12:31 +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
Ioannis Kalyvas f1586bfef1 no message 2018-03-21 14:11:02 +02:00
Ioannis Kalyvas 063eca915d no message 2018-03-21 12:57:56 +02:00
Ioannis Kalyvas 12df9e9345 no message 2018-03-21 12:16:32 +02:00