Commit Graph

122 Commits

Author SHA1 Message Date
George Kalampokis 3c00d47407 Fix critical issue with dataset saving 2022-03-17 17:07:18 +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 cc926970ca Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development
 Conflicts:
	dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/field/dataset-profile-editor-field.component.ts
2022-02-18 17:09:34 +02:00
Konstantinos Triantafyllou 26e10b1299 Add URL Validator type in validators. Free Text can have URL validator. 2022-02-08 14:31:36 +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
Konstantinos Triantafyllou c8b388b546 1. Change configuration of Zenodo to production.
2. Add default multiplicity placeholder and remove tooltip
3. Disable reordering of fields if template is finalized.
4. Create Dataset Wizard: Add prefilling functionality
2021-12-22 15:59:58 +02:00
Konstantinos Triantafyllou ade9b42d12 Add a placeholder field in multiplicity. (BackEnd)
Add a placeholder input in editor for multiplicity add new field button.
2021-12-15 16:26:06 +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
Diamantis Tziotzios 9cac208546 upgrade to Angular 12 2021-09-24 21:52:14 +03:00
Kristian Ntavidi ef7de5efe3 External Dataset type (newly added field). 2021-06-23 11:50:10 +03:00
Kristian Ntavidi b486a27e48 Unique identifiers(in references) on on researchers, organisations, funders, grants, projects (frontend) ( !! Needs configurationw with backend ). Backend error messages translate to PT. 2021-04-30 10:57:13 +03:00
George Kalampokis bc3c8b44d2 Add option to add or remove users from Dataset Templates 2021-04-07 19:03:22 +03:00
Kristian Ntavidi b04e2b3482 Dataset profile Editor. Ui fixes. Visibility Rules fix. 2021-04-01 18:57:23 +03:00
Kristian Ntavidi 87b79c2049 Dataset profile editor. Minor ui visibility fixes. Table of contents can slide. 2021-03-03 12:13:29 +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 e061448830 Initial commit for the new Dataset Template Field (identifier
validation) part 2
2020-11-05 18:32:19 +02:00
George Kalampokis ff169ae806 Made User Merge logic functional 2020-10-27 18:06:58 +02:00
George Kalampokis 9674ec2b6b Add user merge related services and updates on existing services on the frontend 2020-10-26 10:36:20 +02:00
apapachristou 2c5feb5fa9 Restyles profile page 2020-10-23 10:49:09 +03:00
George Kalampokis 5be674d07e Allow wordlist combobox type to have multiple values 2020-09-10 18:04:14 +03:00
apapachristou 9b837a27a8 Fixes error of mismatch model on client and server 2020-08-03 13:22:18 +03:00
apapachristou 70d2d456ee Fixes bug on sort by label 2020-07-29 18:35:12 +03:00
apapachristou 10eccf89eb Adds dataset editor on dmp editor 2020-07-29 18:04:19 +03:00
apapachristou 9602fc0340 Fixes bug on load more results with sorting 2020-07-28 15:54:21 +03:00
gpapavgeri 62d6ac01df Change the profile of DatasetListingModel & RecentActivityModel from String to DatasetProfileModel and Update profileId in openDmpSearchDialogue() 2020-07-24 12:43:09 +03:00
gpapavgeri 9494e5b618 Home-myDmps-myDatasetDescriptions buttons updated according to dmp&dataset overview 2020-07-22 11:23:20 +03:00
apapachristou 3844c3a187 Fixes bug on load more both dmps and datasets 2020-07-22 10:36:29 +03:00
George Kalampokis ac24143c0d Sanitize user output on frontend 2020-07-17 13:19:10 +03:00
George Kalampokis 4127a05da4 Add Email Field on Principal 2020-07-17 13:15:44 +03:00
gpapavgeri 3a2dcca4d3 minor changes in dmp-overview, dataset-overview & user-dialog components 2020-07-15 18:18:16 +03:00
apapachristou 1a14ee0929 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-10 10:32:19 +03:00
apapachristou 713c7316dd Fixes errors on build prod 2020-07-10 10:32:11 +03:00
George Kalampokis 451ed453f9 Add role to the invitation model 2020-07-10 10:11:41 +03:00
apapachristou cc04364600 Adds version listing model 2020-07-09 14:28:55 +03:00
gpapavgeri 6a10c26c67 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-06 18:43:06 +03:00
gpapavgeri 7c3f06d9f4 dataset-overview_update v4 2020-07-06 18:42:54 +03:00
George Kalampokis 47d8c65814 Merge branch 'advanced_rda' into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/dmp.module.ts
2020-07-06 18:20:37 +03:00
gpapavgeri 21d19dbf58 dataset-overview_update v2 2020-07-03 18:31:35 +03:00
gpapavgeri aec542a067 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 17:02:57 +03:00
gpapavgeri 344e49afc4 dataset-overview_update v1 2020-07-03 16:58:13 +03:00
George Kalampokis d51099cedc Further fixes and improvements over recent activity 2020-07-03 13:55:25 +03:00
Diamantis Tziotzios 1615707418 Merge branch 'Development' into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/app-routing.module.ts
#	dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss
#	dmp-frontend/src/app/ui/navbar/navbar.component.html
#	dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.html
#	dmp-frontend/src/assets/i18n/en.json
#	dmp-frontend/src/assets/i18n/es.json
#	dmp-frontend/src/assets/i18n/gr.json
2020-07-03 11:21:46 +03:00
apapachristou 52662f33f4 Adds all recent activity 2020-07-02 19:34:27 +03:00
apapachristou 95c9e4eb4e Adds drafts tab data 2020-07-01 18:25:16 +03:00
George Kalampokis a7a8e3db35 Add contact field and "add cost" dialog 2020-07-01 14:26:58 +03:00
apapachristou 1230bd2417 Adds dashboard data on tabs 2020-06-30 19:40:01 +03:00
George Kalampokis 791f2fee61 Add currency field type for dataset templates 2020-06-25 13:00:29 +03:00
George Kalampokis a4e21003c8 Add language column on the DMP quick wizard Editor (ref #273) 2020-06-18 15:55:15 +03:00
George Kalampokis 89fb26a693 Finished the implementation of the dataset Identifier field and added mapping support for the RDA (alongside the tags field) 2020-06-08 18:31:34 +03:00
George Kalampokis 46cfc3dae6 Add new fields for the Dataset Template (incomplete but functional) 2020-06-04 18:37:30 +03:00