argos/dmp-backend/web/src/main/java/eu/eudat/configurations
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
..
dynamicfunder Replaced System.out.println, System.err.println and printStackTrace with a logger (ref #223) 2020-01-16 17:46:24 +02:00
dynamicgrant Replaced System.out.println, System.err.println and printStackTrace with a logger (ref #223) 2020-01-16 17:46:24 +02:00
dynamicproject Replaced System.out.println, System.err.println and printStackTrace with a logger (ref #223) 2020-01-16 17:46:24 +02:00
typedefinition #7528: [NEW] Upload files field type. 2022-03-16 12:14:08 +02:00
DevelDatabaseConfiguration.java Update Spring boot framework to version 2.5.2 2021-09-07 09:42:31 +03:00
ElasticSearchConfiguration.java Fix various library issues with postgres and elastic 2021-06-25 12:32:58 +03:00
ExecutorServiceConfig.java no message 2018-10-02 17:33:58 +03:00
JacksonConfiguration.java Adds json deserialization ignore for missing properties 2019-05-29 13:55:13 +03:00
ProductionDatabaseConfiguration.java conf refactor 2018-11-27 16:13:56 +02:00
WebMVCConfiguration.java Update Spring boot framework to version 2.5.2 2021-09-07 09:42:31 +03:00