Commit Graph

20 Commits

Author SHA1 Message Date
Bernaldo Mihasi bc279b1610 #8843 - 1. refactor the DatasetProfile Table to DescriptionTemplate name 2. add scripts for the new DescriptionTemplateType table 3. update english localization + frontend 2023-07-25 15:04:39 +03:00
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
George Kalampokis 959479757a Add The new user role to the user role listing and editor 2021-04-07 10:25:03 +03:00
Kristian Ntavidi dd2db4ce1f Dataset profile editor. Field Preview Fixes. Summary preview supports visibility rules. Minor UI fixes. 2021-02-17 18:39:07 +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
apapachristou 2c5feb5fa9 Restyles profile page 2020-10-23 10:49:09 +03:00
apapachristou a7851b8371 Adds option sort by published at ( front end ) 2020-07-31 17:07:58 +03:00
gpapavgeri 9f1ac56148 component dmp-invitation renamed to dmp-invitation-dialog & mat-select updated to show predefined role for invited user 2020-07-20 16:57:57 +03:00
apapachristou 15e09d7994 Adds sort by field on all listings 2020-07-13 13:01:03 +03: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
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 81c5a492c1 Adds "external autocomplete" field on DMP profile editor. (Issue #134) 2019-07-23 18:01:51 +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 0f964cddd0 Dataset + Dataset Profile Date Picker Option For Fields
Frond And Back End
2019-02-15 12:26:14 +02:00
Diamantis Tziotzios 9d11adbcbd error models and profile pages bug fixes 2019-01-21 13:14:20 +02:00
Diamantis Tziotzios 41fb94eee9 ui resrtucturing 2019-01-18 19:03:45 +02:00