Commit Graph

21 Commits

Author SHA1 Message Date
Konstantina Galouni 9ab9e6abc9 #7528: [NEW] Upload files field type - frontend.
1. dataset-profile-field-view-style.ts: Include "upload" field type.
2. field-data.ts: Export interface UploadFieldData.
3. config.json: Added new property "maxFileSizeInMB":10.
4. configuration.service.ts: Added _maxFileSizeInMB field and getter for it.
5. enum-utils.service.ts: Added cases for upload and table (not ready, to be added) field types.
6. rich-text-editor.module.ts: [Bug fix] Removed import of HttpClientModule (this is imported only once in order to work with interceptor).
7. field-editor-model.ts & dataset-profile-editor.component.ts: Added case and validators for "upload" field type.
8. dataset-profile.module.ts: Imports for upload.
9.dataset-profile-editor-composite-field.component & dataset-profile-editor-field.component: Added button for upload.
10. form-field.component: Added functionality for uploading and downloading files.
11. dataset-description-form.module.ts: Added "FileService" provider and import of "NgxDropzoneModule".
12. en.json: New literals for upload and table (to be added in other language files too).
13. New files for upload field type: file.service.ts, upload-field-data-editor-model.ts, dataset-profile-editor-upload-field.component.html, dataset-profile-editor-upload-field.component.ts, dataset-profile-editor-upload-field.component.scss
2022-03-16 13:00:03 +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 193e7410a8 Added rich text area field type for response in dataset > chapter > section > questions.
1. dataset-profile.module.ts: Added in declarations "DatasetProfileEditorRichTextAreaFieldComponent".
2. dataset-profile-editor-composite-field.component.html: Added RichTextArea as input field type for response to a question.
3. dataset-profile-editor-composite-field.component.ts: In method "addNewInput()" added case for RichTextArea.
4. dataset-profile-field-view-style.ts & view-style-enum.ts: Added RichTextArea.
5. field-data.ts: Added interface RichTextAreaFieldData.
6. enum-utils.service.ts: In methods "toDatasetProfileFieldViewStyleString()" and "toDatasetProfileViewTypeString()" added cases for RichTextArea
7. field-editor-model.ts: Added richTextarea.
8. component-profile-editor-default-value.component.html: Added <mat-form-field> for RichTextArea (how rich text area is initialized when this type is selected as response).
9. dataset-profile-editor-field.component.html: Added <mat-option> for RichTextArea (to select it) and <app-dataset-profile-editor-rich-text-area-field-component> (to show it).
10. dataset-profile-editor-field.component.ts: Added RichTextArea case everywhere.
11. dataset-wizard.component.ts & dmp-editor.component.ts: In method "_getPlaceHolder()" added case for richTextarea.
12. dataset-description-form.module.ts: Imported RichTextEditorModule.
13. form-field.component.html: Added RichTextArea case with <rich-text-editor-component>.
14. assets/i18n/: Added DATASET-PROFILE-EDITOR.STEPS.FORM.FIELD.FIELDS.FIELD-RICH-TEXT-AREA-TITLE, DATASET-PROFILE-EDITOR.STEPS.FORM.FIELD.FIELDS.FIELD-RICH-TEXT-AREA-PLACEHOLDER and DMP-EDITOR.TYPES.DATASET-PROFILE-FIELD-VIEW-STYLE.RICH-TEXT-AREA.
15. field-data/rich-text-area-field-data-editor-model.ts & field-type/rich-textarea/: [NEW] Files for Rich Text Area field type.
2021-11-01 15:30:21 +02:00
Kristian Ntavidi 037e246262 Admin template editor: reseachers multi auto-complete fix. Discard changes on dataset editor navigates back to dmp editor. 2021-04-07 12:58:45 +03:00
Kristian Ntavidi 12f9e9ede9 Dataset Profile Editor. Move validators from tempate to models. (Fixing issue of form classified as valid when not all formcontrols are rendered.) 2021-03-27 19:52:53 +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
apapachristou 8b376ecbd9 Fixes bug on required "Order" field, adds auto-generated "Section Unique Identifier" for each field child. 2019-10-17 18:23:19 +03:00
apapachristou c5ed60240a Makes "Order" field of Fields editor requird on Dataset Template editor. 2019-10-16 11:59:22 +03:00
gkolokythas ca3f5f267d Refactors "RDA Common Standards" property moving it from FieldSet to Field. 2019-10-15 18:29:34 +03: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
gkolokythas 93ec605c6b Fixes bug on the ordering of Dataset editor. 2019-07-01 11:50:18 +03:00
gkolokythas 0da7fd8441 Adds basic edit on finalized Dataset profiles. (Ticket #72) 2019-04-16 13:49:09 +03:00
Diamantis Tziotzios 0f964cddd0 Dataset + Dataset Profile Date Picker Option For Fields
Frond And Back End
2019-02-15 12:26:14 +02:00
Diamantis Tziotzios 5f2646c98f Add Validator to Id on DatasetProfile
Fix DafaultValue on WordListComponent
set On DeleteDataset To Return Back
2019-02-04 18:10:22 +02:00
Diamantis Tziotzios 8b45ee5548 Validation to Ids and
New Component  Component-Profile-Editor-default-value
delete row in radioBox
add To i18.enJson
2019-01-29 18:34:19 +02:00
Diamantis Tziotzios df51afe833 try to fix the ComboBox 2019-01-28 15:05:19 +02:00
Diamantis Tziotzios 7a60c3a435 dataset profile editor fix delete section in section
dataset profile fix validation for save
2019-01-28 14:18:48 +02:00
Diamantis Tziotzios 41fb94eee9 ui resrtucturing 2019-01-18 19:03:45 +02:00