argos/dmp-backend/web/src/main/java/eu/eudat/models/data/components/commons/datafield
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
..
AutoCompleteData.java Improve and generalize prefilling logic 2022-02-18 17:51:32 +02:00
BooleanDecisionData.java Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
CheckBoxData.java Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
ComboBoxData.java Improve and generalize prefilling logic 2022-02-18 17:51:32 +02:00
CurrencyData.java Add currency field type for dataset templates 2020-06-25 13:00:29 +03:00
DMPsAutoCompleteData.java Even more fixes for imports and exports 2021-05-10 16:55:44 +03:00
DataRepositoriesData.java Fix issues with import and export of dataset template 2021-05-10 16:10:18 +03:00
DatasetIdentifierData.java Add new fields for the Dataset Template (incomplete but functional) 2020-06-04 18:37:30 +03:00
DatasetsAutoCompleteData.java Even more fixes for imports and exports 2021-05-10 16:55:44 +03:00
DatePickerData.java Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
ExternalDatasetsData.java Add type to External Datasets Data 2021-06-22 18:29:58 +03:00
FieldData.java Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
FreeTextData.java Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
InternalDmpEntitiesData.java Adds new field on Dataset Template that link back to Open DMP entities (Researchers) (Issue #129). 2019-07-16 16:41:12 +03:00
LicensesData.java #7326 - static APIs 2022-01-21 15:44:51 +02:00
OrganizationsData.java Fix issues with import and export of dataset template 2021-05-10 16:10:18 +03:00
PublicationsData.java #7326 - static APIs 2022-01-21 15:44:51 +02:00
RadioBoxData.java Fix various issues with various template fields 2021-04-13 10:46:06 +03:00
RegistriesData.java Fix issues with import and export of dataset template 2021-05-10 16:10:18 +03:00
ResearcherData.java Fix issues with import and export of dataset template 2021-05-10 16:10:18 +03:00
ResearchersAutoCompleteData.java Even more fixes for imports and exports 2021-05-10 16:55:44 +03:00
RichTextAreaData.java Added rich text area field type for response in dataset > chapter > section > questions. 2021-11-01 15:38:16 +02:00
ServicesData.java Fix issues with import and export of dataset template 2021-05-10 16:10:18 +03:00
TagsData.java Add new fields for the Dataset Template (incomplete but functional) 2020-06-04 18:37:30 +03:00
TaxonomiesData.java #7326 - static APIs 2022-01-21 15:44:51 +02:00
TextAreaData.java Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
UploadData.java #7528: [NEW] Upload files field type. 2022-03-16 12:14:08 +02:00
ValidationData.java Initial commit for the new Dataset Template Field (identifier 2020-11-05 18:32:19 +02:00
WordListData.java Fix critical issue when creating comboboxes with the multiple selection untouched 2021-02-23 17:33:55 +02:00