Commit Graph

33 Commits

Author SHA1 Message Date
Konstantina Galouni 7f9e12c731 Tiff image type added in file upload types | Language files updated.
1. dataset-profile-editor-upload-field.component.ts: Added image/tiff media type in available types for Upload.
2. en.json: Updated literals for "Upload" file field type and removed literals for "Table" field type, because the field is not ready yet.
3. de.json, es.json, gr.json, pt.json, sk.json, sr.json, tr.json: Added literals for "Upload" file field type.
2022-03-16 17:54:06 +02: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
Kristian Ntavidi ef7de5efe3 External Dataset type (newly added field). 2021-06-23 11:50:10 +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
Kristian Ntavidi 51228df7d5 Dataset Profile Editor. UI fixes. Stepper buttons animations. Alignments. RadioBox, Other, Select have emptyList Vaditator(custom). Numbering fix in table of contents when drag and drop. 2021-03-08 11:24:30 +02:00
Kristian Ntavidi efc882016b Dataset profile editor. Validators are added to prevent user from proceeding with empty array of options(radio box and select). Polishing UI. 2021-03-04 14:38:46 +02:00
Kristian Ntavidi da7f91df96 Dataset Profile Editor. Pipe static text to translation. 2021-02-25 17:53:58 +02: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 3b00b76f19 Add option to make static dataset profile fields with autocomplete to have multiple values 2020-12-09 17:51:30 +02:00
George Kalampokis da9872576e Initial commit for the new Dataset Template Field (identifier validator) 2020-11-05 18:20:37 +02:00
George Kalampokis 5be674d07e Allow wordlist combobox type to have multiple values 2020-09-10 18:04:14 +03:00
George Kalampokis 791f2fee61 Add currency field type for dataset templates 2020-06-25 13:00:29 +03:00
George Kalampokis 121cb1429e When creating a template and setting a field as tag, researcher, dataset identifier then it will automatically setup the RDA standard (can be changed) 2020-06-11 14:12:48 +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 644976be29 Fix frontend issue 2020-05-29 14:01:28 +03:00
George Kalampokis 2b9c2ee1e7 Add support for multiple sources on dataset autocomplete templates 2020-05-25 17:14:42 +03:00
Diamantis Tziotzios 16d57bd0ad dmp advanced editor changed to remain at the same page when saving 2019-12-11 16:51:03 +02:00
gkolokythas bd6170f711 Adds "source" property on external autocomplete field of Dataset Description Template. 2019-09-10 18:30:46 +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
Diamantis Tziotzios fcb7c6591f Fixes the text input of multiple Autocomplete checkbox on DatasetProfile editor. 2019-03-26 18:03:09 +02:00
Diamantis Tziotzios ed03abd254 Adds the multiple autocomplete functionality on Combo Box Autocomplete. 2019-03-26 17:09:02 +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
Diamantis Tziotzios bbfd5e9812 set "Add one more fieldset + " on en.json
fix visibiliti on Radio-Box Word-List And Multiplisiti Button on  Finalized Datasets-Profiles And Dataset-Editors
2019-02-14 13:27:41 +02:00
Diamantis Tziotzios 8e0b869a80 Fix Multiplicity Back And Ftrond New Ids
Create DeleteButon To RadioBox AndWordList
Try To fix ProgressBar
2019-02-04 15:41:54 +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 245f533a98 page Id fix Id_to Guid
fix icon to add radio button
comment the Visibility rule frome admin editor
fix delete plice for selection
2019-01-28 18:26:46 +02:00
Diamantis Tziotzios fd809ab361 dataset admin combobox fix 2019-01-28 17:47:12 +02:00
Diamantis Tziotzios df51afe833 try to fix the ComboBox 2019-01-28 15:05:19 +02:00
Diamantis Tziotzios 41fb94eee9 ui resrtucturing 2019-01-18 19:03:45 +02:00