argos/dmp-backend/web/src/main/java/eu/eudat
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
..
cache #7326 - static APIs 2022-01-21 15:44:51 +02:00
configurations #7528: [NEW] Upload files field type. 2022-03-16 12:14:08 +02:00
controllers #7528: [NEW] Upload files field type. 2022-03-16 12:14:08 +02:00
criteria Add criteria for the recent activity model 2020-07-02 11:57:59 +03:00
exceptions Re organize DMP controller and manager functions and added the ability to add custom organization (not configurable yet) (ref #255) 2020-04-22 18:40:43 +03:00
logic #7528: [NEW] Upload files field type. 2022-03-16 12:14:08 +02:00
models #7528: [NEW] Upload files field type. 2022-03-16 12:14:08 +02:00
types dataset templates metric renamed 2022-01-28 16:02:07 +02:00
EuDatApplication.java Update Spring boot framework to version 2.5.2 2021-09-07 09:42:31 +03:00