Commit Graph

14 Commits

Author SHA1 Message Date
George Kalampokis d7653f374c Refactor fieldData mapping 2022-04-18 18:38:58 +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
argirok 858fa3ee71 #7326 - static APIs
1. Rename of "Registries" to "Metadata"
2. add apis for taxonomy, licenses, publications
3. change data repositories: from querying all registered to all of type data repository
4. add separate APIs for journals and pub repositories
2022-01-21 15:44:51 +02:00
Konstantina Galouni 7fefdd6aad Added rich text area field type for response in dataset > chapter > section > questions.
1. RichTextAreaData.java: [NEW] file to extend FieldData.
2. ModelBuilder.java: Added case for richTextarea type.
3. ExportXmlBuilderDatasetProfile.java: Added case for RICH_TEXT_AREA.
4. ViewStyle.java: Define RICH_TEXT_AREA("richTextarea").
2021-11-01 15:38:16 +02:00
George Kalampokis e061448830 Initial commit for the new Dataset Template Field (identifier
validation) part 2
2020-11-05 18:32:19 +02:00
George Kalampokis 791f2fee61 Add currency field type for dataset templates 2020-06-25 13:00:29 +03:00
George Kalampokis 46cfc3dae6 Add new fields for the Dataset Template (incomplete but functional) 2020-06-04 18:37:30 +03: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 47fd02934c Adds new field on Dataset Template that link back to Open DMP entities (DMPs) (Issue #129). 2019-07-30 14:31:41 +03:00
gkolokythas ff8ab5ad3e Adds new field on Dataset Template that link back to Open DMP entities (Dataset Descriptions) (Issue #129). 2019-07-30 13:35:06 +03:00
gkolokythas 7b4490a723 Adds new field on Dataset Template that link back to Open DMP entities (Researchers) (Issue #129). 2019-07-16 16:41:12 +03:00
Diamantis Tziotzios 5302024a0b Dataset Profile Download Xml And Import FromXml 2019-02-25 18:46:16 +02:00
Diamantis Tziotzios 0f964cddd0 Dataset + Dataset Profile Date Picker Option For Fields
Frond And Back End
2019-02-15 12:26:14 +02:00
Ioannis Kalyvas b7d5dfb198 no message 2018-06-27 13:29:21 +03:00