Compare commits

...

2647 Commits

Author SHA1 Message Date
Diamantis Tziotzios e8aef281d4 Merge branch 'Development' 2024-02-22 11:09:31 +02:00
Diamantis Tziotzios 00c6978594 no message 2024-02-22 11:07:51 +02:00
Diamantis Tziotzios 3adb518e61 fixes 2024-02-14 22:10:15 +02:00
Konstantina Galouni eb74ef86b9 rich-text-editor.component.ts: Removed "backgroundColor" from toolbarHiddenButtons & added in customClasses "Highlight" option with custom "highlight" class | _type.scss: Added rules for "blockquote" and ".highlight" (added by rich text editor). 2024-02-13 13:23:13 +02:00
Diamantis Tziotzios a1ee9c82bc fixes 2024-01-31 17:55:08 +02:00
Diamantis Tziotzios 5e5bd39313 no message 2024-01-30 13:26:31 +02:00
Diamantis Tziotzios 5e99cef60e default blueprint update 2024-01-24 16:25:46 +02:00
Diamantis Tziotzios cc7edc2f49 final fixes for #9384 #9153 #9409 #9420 2024-01-24 16:17:06 +02:00
Diamantis Tziotzios a1849c64ca Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/dmp-editor-blueprint/dmp-editor-blueprint.component.ts
2024-01-24 14:48:38 +02:00
Diamantis Tziotzios 192220161b fixes 2024-01-24 14:47:37 +02:00
George Kalampokis 87758c3e9a Fix various issues with adding/removing Dataset Templates 2024-01-24 14:31:46 +02:00
Diamantis Tziotzios 83342f5afa docx template update 2024-01-17 17:49:52 +02:00
Diamantis Tziotzios 65cdb3b6ea fixes for #9384 #9153 #9162 #9265 2024-01-17 16:50:12 +02:00
Diamantis Tziotzios 536ba9b900 Fixes for #9152 #9153 #9162 #9265 #9266 #9311 #9312 2024-01-09 09:42:58 +02:00
Alexandros Mandilaras 6bd3302788 sql script fix 2023-11-23 15:16:11 +02:00
Diamantis Tziotzios 4970f5812f fix issues #9152 #9153 #9204 #9208 2023-11-23 13:15:50 +02:00
Diamantis Tziotzios 9fed92dbcb fixes for #9109 #9146 #9148 #9149 #9152 #9153 #9156 #9157 #9158 #9160 #9162 #9163 #9164 #9166 2023-11-03 13:24:01 +02:00
Diamantis Tziotzios 44dab9c19a gitignore changes 2023-11-01 09:41:22 +02:00
Alexandros Mandilaras 54f911d826 typo fixes in greek and english translations 2023-10-23 10:12:17 +03:00
Diamantis Tziotzios 9879050eab cleanup 2023-10-19 17:28:36 +03:00
Diamantis Tziotzios 8a41a7dcd9 Fixes for #9033 #9107 #9105 #9105 2023-10-19 17:27:37 +03:00
Diamantis Tziotzios d60cc144d5 #9033 Description Templates - change "Other" API label to "Custom" 2023-10-18 16:10:12 +03:00
Georgios Kakaletris 9c37e5a073 Update 'README.md' 2023-10-18 12:31:03 +02:00
Georgios Kakaletris 444c1aacb1 Update 'README.md' 2023-10-18 12:27:40 +02:00
Diamantis Tziotzios 59d7383947 added basque contributors at static pages 2023-10-17 13:48:50 +03:00
Diamantis Tziotzios 6caa1af134 Added Basque language 2023-10-16 18:21:22 +03:00
George Kalampokis 74a6019a72 Fix some styling and compilation errors 2023-10-10 12:10:52 +03:00
George Kalampokis 5c903c0f48 Add missing files 2023-10-10 12:04:06 +03:00
George Kalampokis ec8f6a6d48 Add Authentication support for the remote fetcher and rework dataset template's autocomplete sources 2023-10-10 12:03:59 +03:00
Bernaldo Mihasi ecd86f413a show prefilling pop up if only at least one dataset profile has enabled prefilling property 2023-10-06 11:22:23 +03:00
Bernaldo Mihasi c238615b50 add enable prefilling property in description templates 2023-10-06 09:36:35 +03:00
Bernaldo Mihasi 10d0f1fb0e make word list labels and delete icons in finalized description templates disabled 2023-10-05 17:47:00 +03:00
Bernaldo Mihasi 846405435c bug fixes 2023-10-05 09:33:28 +03:00
Bernaldo Mihasi dfc9e14003 update i18n 2023-10-04 17:03:50 +03:00
Bernaldo Mihasi bc1894586b 1) update dmp blueprint listing table view, 2) create clone functionality for dmp blueprints, 3) section description is not required in editor, 4) in the deletion of a dmp blueprint check if any dmps are accosiated with it 2023-10-04 09:43:16 +03:00
Bernaldo Mihasi 2bf0a857bc bug fixes: 1) when creating description template type check only for non deleted types, 2) dmp docx/pdf export: check if system fields exist 3) when creating/updating dmp check if value for extra fields is set, 4) when unchecking the 'Description Templates' checkbox in the blueprint editor, clear any templates selected 2023-10-02 13:57:00 +03:00
Bernaldo Mihasi 3d10e8ad28 add type attribute in xml import/export of a description template 2023-10-02 10:14:14 +03:00
Bernaldo Mihasi 53b61853e1 bug fixes 2023-10-02 09:34:58 +03:00
Bernaldo Mihasi d644b1dc91 [wip] dmp xml upload changes, including section and extra fields information 2023-10-02 09:34:21 +03:00
Bernaldo Mihasi 6b544e4702 bug fixes 2023-09-27 16:57:25 +03:00
Bernaldo Mihasi 0bd3422903 check if blueprint is valid when finalizing in editor 2023-09-27 16:20:54 +03:00
Bernaldo Mihasi 2f4e123ac9 bug fixes 2023-09-27 12:54:18 +03:00
Bernaldo Mihasi c99267d6cc #8998 - implement import/export functionality for dmp blueprints 2023-09-26 09:35:59 +03:00
Bernaldo Mihasi 32c45520b4 make router link for add description buttons pointing to dmp editor 2023-09-25 10:36:04 +03:00
Bernaldo Mihasi 4cef17e999 fix routing in save-and-add-new button in dataset editor 2023-09-22 13:15:32 +03:00
Bernaldo Mihasi 34580f917f check if grant exists in word/pdf export 2023-09-22 12:57:47 +03:00
Bernaldo Mihasi 56a70636c3 min multiplicity check for descriptions in dmp finalization 2023-09-22 11:10:08 +03:00
Bernaldo Mihasi 0c9601d6f0 fix argument passed in getSingleBlueprint 2023-09-22 11:09:04 +03:00
Bernaldo Mihasi 5f3ab00009 [wip] add control in dataset creation/prefilling dialog for max multiplicity of a description template in a dmp section, add control in dmp finalization for min multiplicity of a description template in a dmp section 2023-09-22 09:34:12 +03:00
Bernaldo Mihasi beac6be706 add missing grant checks 2023-09-22 09:31:12 +03:00
Bernaldo Mihasi fbad63ee76 use dmp label in export file names if grant does not exist 2023-09-22 09:29:51 +03:00
Bernaldo Mihasi 9cc42c57e9 comment out download/import xml of a blueprint 2023-09-21 10:21:00 +03:00
Bernaldo Mihasi 79aaf23bb6 add missing grant checks 2023-09-21 10:20:32 +03:00
Bernaldo Mihasi b68070aa01 [wip] add control for the min/max multiplicity of a description template used in a section of a dmp 2023-09-21 09:35:04 +03:00
Bernaldo Mihasi db08662cac fix bug when creating new version or clone a dmp 2023-09-21 09:33:27 +03:00
Bernaldo Mihasi 3c0dce93a8 disable system fields/description templates multiple select input and prefill them if any values exist when blueprint is finalized 2023-09-21 09:31:30 +03:00
Bernaldo Mihasi 69548e5a8b check if grant exists in dmp/dataset elastic entities 2023-09-21 09:29:18 +03:00
Bernaldo Mihasi 367861c050 fix bugs: saving extra fields in dmp, showing draft blueprints when min or max of a description template are not set 2023-09-20 09:34:39 +03:00
Bernaldo Mihasi 93c5918251 make grant funder not mandatory for the creation/new version/clone of dmp 2023-09-18 17:48:54 +03:00
Bernaldo Mihasi bfa310a074 show available profiles of dataset in edit page 2023-09-13 16:04:44 +03:00
Bernaldo Mihasi ec952820b1 update i18n 2023-09-13 15:56:40 +03:00
Bernaldo Mihasi b1a832074d small fixes, (wip) remove description template chip from dmp editor 2023-09-13 15:55:38 +03:00
Diamantis Tziotzios cf6e041154 Merge remote-tracking branch 'origin/refactorArgosModel' into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DatasetRDAMapper.java
#	dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html
2023-09-13 10:01:57 +03:00
Bernaldo Mihasi c1858d582c no message 2023-09-12 15:39:08 +03:00
Bernaldo Mihasi 29f5b6a6cc fix editing dmp page, add section templates to new dataset page 2023-09-12 15:38:23 +03:00
Bernaldo Mihasi 6154a5fa51 fix associated dmps bugs in DMP table, new/existing DmpDatasetProfile entries were not saved/updated 2023-09-12 15:36:06 +03:00
Bernaldo Mihasi 6f5fcabc79 add db scripts: inserting default blueprint, attach that blueprint as profile of each dmp, make each dataset section index correspond to the default blueprint last section 2023-09-12 15:24:25 +03:00
Bernaldo Mihasi bbe4975176 add hasTemplates property to sections, it indicates if descriptions templates can be added in a section 2023-09-11 08:59:47 +03:00
Bernaldo Mihasi 4219d90039 add "DmpSectionIndex" column to descriptions in order to know in which section of a dmp the description belongs, add "data" column in DmpDatasetProfile table, data stores in which sections a description template is saved 2023-09-11 08:57:09 +03:00
Bernaldo Mihasi 6073c4cd85 [WIP] refactor dmp export following the blueprint schema 2023-09-11 08:42:30 +03:00
Bernaldo Mihasi cd80e78e40 add status to description template types, fix bugs in editor/listing 2023-09-11 08:40:03 +03:00
George Kalampokis 5019bc4271 Add manual addition of total users in prometheus 2023-08-04 11:55:46 +03:00
Bernaldo Mihasi 3564cc16ff update i18n - link new 2023-08-03 17:07:35 +03:00
Diamantis Tziotzios 3b76397c24 conf cleanup 2023-08-03 13:27:01 +03:00
Bernaldo Mihasi 78946de1b5 change images source in emails to base64
(cherry picked from commit b94aa51489)
2023-08-03 13:26:27 +03:00
Diamantis Tziotzios c39c162979 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2023-08-03 13:17:59 +03:00
Konstantinos Triantafyllou 655483b8e2 Dateset Edtitor: Scroll to top in Main info. Add checkVisibility in recursion of progress bar status calculation. Increase time of selected entry in tableofcontents 2023-08-03 13:11:19 +03:00
Bernaldo Mihasi 17dbd198ad fix dmp blueprint editor screen 2023-08-03 13:10:36 +03:00
Bernaldo Mihasi b94aa51489 change images source in emails to base64 2023-08-03 11:19:33 +03:00
Diamantis Tziotzios b6cade6e88 metrics change
(cherry picked from commit 903026e2c2)
2023-08-03 10:28:56 +03:00
Diamantis Tziotzios 903026e2c2 metrics change 2023-08-03 10:28:18 +03:00
Bernaldo Mihasi 59cba483b6 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2023-08-01 11:24:27 +03:00
Bernaldo Mihasi 30abe4d4c9 #8952 - fix bug when merging two accounts did not have consistent behaviour. 2023-08-01 11:23:06 +03:00
Konstantinos Triantafyllou a4555f7303 Fix progress-bar for dmp editor. Fix table of contents in creation of DMP. On save of new dmp, change location instead of route. 2023-07-31 16:38:20 +03:00
Bernaldo Mihasi 634d49ea35 #8916 - when merging acoounts, save the main profile user as collaborator to elastic dmps/datasets 2023-07-27 10:07:40 +03:00
Bernaldo Mihasi e01709f886 #8936 - fix bug when pid of object fetched was integer(PIC typed) instead of string 2023-07-27 10:06:04 +03:00
Bernaldo Mihasi 09d6528f8f #8855 - #8856 - #8901 - #8902 [wip] implementing dmp blueprints 2023-07-25 15:51:29 +03:00
Bernaldo Mihasi 128b47d9c3 #8845 - #8846: adding description template types, creation of description template type field in the dataset template editor, [wip] creation of admin page for creation/editing/deleting of description template types 2023-07-25 15:27:15 +03:00
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
Konstantinos Triantafyllou a737fec19d Progress Bar: Add condition for visibillity if a field has id. 2023-07-25 14:48:13 +03:00
Bernaldo Mihasi 3fc307c831 #8912: adding new metadata/registries api in the configs 2023-07-21 17:04:41 +03:00
Bernaldo Mihasi ee90ac37b6 no message 2023-07-20 13:34:56 +03:00
Bernaldo Mihasi 0918e55ac9 fix bug in dataset template editor when a field is an admin-input api and couldn't fetch results 2023-07-20 13:07:05 +03:00
Bernaldo Mihasi 2db9ea613f catch error in prefilling when source mapping does not exist in the api's response 2023-07-20 13:00:24 +03:00
Konstantina Galouni e878310b72 #8834: Home page: Drafts query for both Datasets and DMPs.
1. RecentActivityCriteria.java: Added in RecentActivityCriteria field "private Integer status;", to be able to get only drafts.
2. DashBoardManager.java: In method "getNewRecentActivity()", add in Dataset and DMP requests status in criteria.
2023-07-17 18:10:49 +03:00
Konstantina Galouni e4af3bcbe9 Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2023-07-17 18:06:05 +03:00
Konstantina Galouni 77f40570ac #8834: Home page: Drafts query for both Datasets and DMPs.
1. recent-activity-criteria.ts: Added in RecentActivityCriteria optional field "public status?: Number;" (to get only drafts).
2. drafts.component.ts & drafts.component.html: Updated calls and display to query for both Datasets and DMPs (same as recent-edited-activity, but include only drafts).
4. recent-edited-activity.component.ts: Removed old unnecessary logs.
2023-07-17 18:04:39 +03:00
Konstantinos Triantafyllou 7bc4f4055c Fix progress indicator in prifilled dataset form. #8764 2023-07-17 17:38:25 +03:00
Konstantinos Triantafyllou aec7126fd3 Add valid condition in progress calculatiion of a form 2023-07-17 16:34:43 +03:00
Bernaldo Mihasi dd6a2a0df7 adding key property in the prefilling model as the identifier of the prefilling repository 2023-07-17 10:29:06 +03:00
Bernaldo Mihasi 1715463422 fix bugs in rda json export when rda semantics don't correspond to valid dataset field input type 2023-07-14 13:56:08 +03:00
Bernaldo Mihasi a8ce14af70 #8726 - adding openaire prefilling 2023-07-14 13:47:01 +03:00
Bernaldo Mihasi 1a15e1ddde add missing logger to Prefilling Mapper 2023-07-03 17:09:15 +03:00
Bernaldo Mihasi 000882cbdb 1) fix bug when tags don't show after saving the dataset
2) save the email when user logs in with orcid
3) refactor unlink, delete credential of user to be unlinked
2023-07-03 11:40:35 +03:00
Bernaldo Mihasi 1c0562d7e7 catch error when a field's external api is not available and interrupts prefilling process 2023-06-26 14:16:41 +03:00
Bernaldo Mihasi 8fbc20c823 no message 2023-06-23 10:43:03 +03:00
Bernaldo Mihasi 469a8b4def add config properties to zenodo.json 2023-06-23 10:33:58 +03:00
Bernaldo Mihasi cb972c394c change maDmpTarget type in prefilling to semanticTarget 2023-06-22 13:47:01 +03:00
Bernaldo Mihasi d996acdcc4 #8842 - add notification templates html files to application properties 2023-06-21 13:09:20 +03:00
Bernaldo Mihasi 741179a53f #8740 - multiple configuration for a deposit repository 2023-06-21 12:46:37 +03:00
Bernaldo Mihasi 3630727fed dmp profile bug fixes: 1) dmp profile was not saved 2) if you select external autocomplete field and change it to another type, the external field was saved 2023-06-21 12:20:30 +03:00
Bernaldo Mihasi 34e4761811 bug fixes regarding tickets: #8739, #8763, #8833 2023-06-21 12:17:22 +03:00
Bernaldo Mihasi dfa2f0cd38 #8737 - make elastic fetch 100 inner hits instead of the default 3. 2023-06-21 12:05:51 +03:00
Bernaldo Mihasi 3d367b0589 #8765 - make pids coming from apis as hypelinks in export 2023-06-21 12:00:20 +03:00
Bernaldo Mihasi b6505cda4e refactor signing of saml2 authentication request 2023-06-21 11:51:26 +03:00
Diamantis Tziotzios 50c96ef821 Merge branch 'Development' 2023-06-20 09:39:15 +03:00
Konstantina Galouni 1a2a93a95f #8738 - Disable input fields in finalised DMPs/datasets.
1. dataset-editor.component.html & form-composite-field.component.html & form-field.component.html & form-section.component.html: Added [editable] parameter input in <rich-text-editor-component> or [disabled] attribute in inputs, buttons, <ngx-dropzone> and <mat-select> to disable then when form is disabled & do not add "pointer" class when form is disabled.
2. form-field.component.ts: For DatasetIdentifier and Validation view styles, when removing and re-adding control, check if form was disabled and disable it again.
3. form-section.component.ts: In method "addMultipleField()", return without doing anything when form is disabled.
2023-06-16 14:36:24 +03:00
Konstantina Galouni eb4f1d23e1 dataset-description.component.html: [Bug fix] Removed forgotten log {{form | json}} from html. 2023-06-16 14:19:07 +03:00
Konstantina Galouni 985b3de385 rich-text-editor.component.ts: Removed "backgroundColor" from toolbarHiddenButtons | Do not show (x) close to clear the input when editable is false. 2023-06-16 14:10:52 +03:00
Bernaldo Mihasi 2aa1f76aab use sha256 with rsa keys for saml2, fix bug for authentication request's id 2023-06-13 15:47:18 +03:00
Bernaldo Mihasi 5cd1803e3a fix bug where empty input was saved in multiple auto complete fields 2023-06-13 11:52:50 +03:00
Bernaldo Mihasi 1f666a5bf9 create saml2 authentication request in backend 2023-06-13 09:48:54 +03:00
Bernaldo Mihasi 4c9652abc3 saml2 metadata creation for sp 2023-06-12 15:05:51 +03:00
Bernaldo Mihasi ce50a72ac1 seperate tags in dataset editor using enter or comma 2023-06-07 13:54:31 +03:00
Bernaldo Mihasi f20b420c2c disable unlink action in profile section when email is the as the main profile's mail 2023-06-06 11:16:19 +03:00
Bernaldo Mihasi 730b60598a fix bug when dmp has been deposited in a repository and that repository does not exist any more. 2023-06-01 12:15:22 +03:00
Konstantina Galouni 4bac942059 co-branding.html & styles.css & section.css: #8333 - Updated splash page - added section "Accessing to ARGOS / OpenDMP source code". 2023-05-30 13:21:30 +03:00
Bernaldo Mihasi 22dc9647f3 remove unused variable 2023-05-23 17:18:06 +03:00
Bernaldo Mihasi b2f2a79a5d add unlink functionality in profile section, when an email is unlinked that account is starting from scratch resulting in an empty dashboard. 2023-05-23 17:15:11 +03:00
Bernaldo Mihasi 5e764559cf fix typo (semantics) 2023-05-19 12:34:08 +03:00
Bernaldo Mihasi a3ee9dccda update deposit base repository version 2023-05-18 15:48:12 +03:00
Bernaldo Mihasi 758539eaa0 add zenodo related identifiers for schematics 2023-05-17 13:51:21 +03:00
Bernaldo Mihasi af8fddb89c #7911 - read pid and pid type from external api respones so as to save those values in the dataset field 2023-05-17 13:45:12 +03:00
Konstantina Galouni b435994c51 #8148 - [Bug fix] drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts: Updated check to redirect to first page, if page parameter is bigger than the latest page. 2023-05-15 00:43:45 +03:00
Konstantina Galouni 0adc7044ab h2020.docx: [Bug fix] Updated image of Argos in h2020.docx DMP template | DataManagementPlanManager.java & DatasetManager.java: Added parameter "isDataset" in fillFirstPage() | WordBuilder.java: [Bug fix] Added parameter isDataset in fillFirstPage() and added some checks in description.
(cherry picked from commit c9b4b35e39)
2023-05-09 10:33:44 +03:00
Konstantinos Triantafyllou 0d9b6f9622 Fix bug where on long click, blur value was added in the list of chips. 2023-05-03 12:34:17 +03:00
Bernaldo Mihasi 5d5ebe7a55 update about, glossary, terms pages when language changes. 2023-05-02 13:48:07 +03:00
Bernaldo Mihasi 7c347569fd update user guide when language changes. 2023-05-02 12:56:09 +03:00
Konstantinos Triantafyllou 50169222c7 Fix infinite loop in home page when total number of results is less than the page size 2023-04-28 16:10:32 +03:00
Konstantinos Triantafyllou e84398f667 Close autocomplete panel if a blur value is added. 2023-04-28 12:56:01 +03:00
Bernaldo Mihasi a1fd03a444 fix out of memory error in management endpoints. 2023-04-26 17:27:21 +03:00
Bernaldo Mihasi 8c30c558b2 User Guide, ToS, FAQ, Glossary, About html pages can now be dynamically updated so that they can be changed per installation. 2023-04-26 17:25:59 +03:00
Konstantina Galouni 2715db7365 #8148 - Added paging functionality with load more/ less buttons in home page, for the existing 4 tabs - ordering and keyword are also added in the url and they are resolved on page reload.
1. i18n/: Added properties "GENERAL.ACTIONS.LOAD-LESS" and "GENERAL.ACTIONS.NO-MORE-AVAILABLE".
2. dashboard.component.html: Added aria-label on each <mat-tab> | Added on <mat-tab-group> bindings for [selectedIndex] and (selectedTabChange), to define the active tab.
3. dashboard.component.ts: Added field currentType: string = "recent"; | Set currentType by url params | Added method get indexFromCurrentType(), to return the active tab index.
4. drafts.component.html & recent-edited-activity.component.html & recent-edited-dataset-activity.component.html & recent-edited-dmp-activity.component.html: Added button "LOAD-LESS" and message "NO-MORE-AVAILABLE" to the end of the list.
5. drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts:
   a. Added fields @ViewChild("...") resultsContainer, offsetLess: number = 0, hasMoreResults:boolean = true, page: number = 1 and @Input() isActive: boolean = false.
   b. Read url params, set offsets and query filters and update url.
   c. Renamed "loadMore()" to "loadNextOrPrevious()" and added parameter more: boolean = true.
2023-04-25 17:55:31 +03:00
Diamantis Tziotzios eb1abb1f24 more css changes 2023-04-25 11:26:20 +03:00
Diamantis Tziotzios 92f56c073c more css changes 2023-04-25 11:10:45 +03:00
Diamantis Tziotzios 6585fcf391 update lang files to make app name configurable. 2023-04-24 16:11:38 +03:00
Bernaldo Mihasi 5d7e2cb307 add seperator keycodes for schematics field 2023-04-20 16:43:15 +03:00
Konstantinos Triantafyllou 681f73b865 Dataset template editor: On multiplicity changed, reset multiplicity values including table view and placeholder. 2023-04-20 16:01:21 +03:00
Konstantinos Triantafyllou ef0816524f Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2023-04-20 15:27:53 +03:00
Konstantinos Triantafyllou b6709bac3c Increase debounce time in multi auto complete in order to avoid addition of search value and first option from dropdown in chips'list. 2023-04-20 15:27:38 +03:00
Bernaldo Mihasi 7b12d7b46d temporarily endpoint for appending "rda." in schematic values of dataset profiles 2023-04-20 10:12:55 +03:00
Bernaldo Mihasi 5733796674 update i18n 2023-04-18 11:50:21 +03:00
Diamantis Tziotzios 89922eaecc Merge remote-tracking branch 'origin/semantics' into Development 2023-04-18 11:19:48 +03:00
Bernaldo Mihasi 11a9abae42 version change in base deposit repository 2023-04-18 10:51:13 +03:00
Bernaldo Mihasi 8293535bb0 add zenodo properties in schematics 2023-04-18 09:41:01 +03:00
Bernaldo Mihasi f822e06881 upload new version for dataset template from xml file 2023-04-09 13:21:08 +03:00
Konstantina Galouni c9b4b35e39 h2020.docx: [Bug fix] Updated image of Argos in h2020.docx DMP template | DataManagementPlanManager.java & DatasetManager.java: Added parameter "isDataset" in fillFirstPage() | WordBuilder.java: [Bug fix] Added parameter isDataset in fillFirstPage() and added some checks in description. 2023-04-05 11:13:26 +03:00
Konstantinos Triantafyllou fbaa175436 Finilize from dataset overview will redirect the editor and then trigger Finalize button. 2023-03-30 12:19:09 +03:00
Bernaldo Mihasi 63c866d74f set creator in new/cloned/newVersioned dmp 2023-03-30 11:44:50 +03:00
Bernaldo Mihasi b6b7a2444c add xml attributes in dmp xml export 2023-03-30 11:44:00 +03:00
Bernaldo Mihasi 18a200f099 no message 2023-03-27 15:25:19 +03:00
Bernaldo Mihasi 18ccb3ca0c changes in dmp deposit model 2023-03-27 15:24:50 +03:00
Bernaldo Mihasi a90f21b6aa fix issues in dmp xml export 2023-03-27 15:21:12 +03:00
Bernaldo Mihasi 376bb2ca53 changes in dmp deposit model 2023-03-27 14:59:47 +03:00
Bernaldo Mihasi 969df0357a migrate rda properties in dataset profiles definitions in db to schematics 2023-03-27 14:58:45 +03:00
Bernaldo Mihasi c35bc2efed remove rda property from models 2023-03-27 14:52:37 +03:00
Konstantinos Triantafyllou 8c708f470d Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2023-03-15 15:56:50 +02:00
Konstantinos Triantafyllou 6ca77c2df2 Ticket 8391: DMP Editor: Add dialog before Discard. Dataset Editor: On Discard reset the form instead of go back in dmp editor. 2023-03-15 15:55:57 +02:00
Konstantina Galouni 13e62fd409 h2020.docx & WordBuilder.java: Updated h2020.docx DMP template and added export of DMP description.
(cherry picked from commit 28c1c9b71d)
2023-03-14 10:23:35 +02:00
Bernaldo Mihasi 519cb260c6 fix issue with users returned as empty array, add researchers in response 2023-03-07 09:44:16 +02:00
Diamantis Tziotzios 34176bcb70 hr lang update 2023-03-03 13:01:38 +02:00
Bernaldo Mihasi 759c80420f Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2023-03-03 11:45:54 +02:00
Bernaldo Mihasi 87c9730524 puplic api return total count in response 2023-03-03 11:44:21 +02:00
Diamantis Tziotzios 35f9bbcf56 logo change 2023-03-03 11:41:28 +02:00
Diamantis Tziotzios 7af27c73cf Merge branch 'css-config-changes' into Development 2023-03-03 10:24:34 +02:00
Diamantis Tziotzios 9ebefa8369 Merge branch 'public_api_update' into Development 2023-03-03 10:23:52 +02:00
Diamantis Tziotzios 7185b5d117 Merge commit '180e02c829a8fb35056124d5afdbec3835a94b62' 2023-02-28 16:08:32 +02:00
Konstantina Galouni 28c1c9b71d h2020.docx & WordBuilder.java: Updated h2020.docx DMP template and added export of DMP description. 2023-02-28 11:01:44 +02:00
Konstantinos Triantafyllou 180e02c829 Ticket 8389: Fix undo finalazation appears even finalized wasn't successful. Also fix issue where the buttons are remaining disabled when user press No in the dialog of finalization. On undo finalization do a save in order to be sync with the backend. 2023-02-23 15:51:46 +02:00
Konstantinos Triantafyllou 4c7dee3ece Ticket 8390: Remove separator key codes in the default multiple auto complete input and added in invitation-dialog. 2023-02-23 13:01:56 +02:00
Diamantis Tziotzios 806ce4f584 hr lang update 2023-02-22 18:21:28 +02:00
Konstantinos Triantafyllou 3219132e86 Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2023-02-21 15:30:36 +02:00
Konstantinos Triantafyllou c2aba649af CHange condition of depositRepos in dmp-overview in order to chech also the length of the array. 2023-02-21 15:30:26 +02:00
Bernaldo Mihasi e2505039df cleanup unused code 2023-02-21 14:09:33 +02:00
Bernaldo Mihasi b273ca4ed7 search for schematics fields in prefilling 2023-02-21 12:44:48 +02:00
Bernaldo Mihasi 0c57bba0b4 rda json dmp import/export 2023-02-21 11:57:34 +02:00
Bernaldo Mihasi 9a8fc5e92e schematics implementation, xml import export of dataset profiles 2023-02-21 11:46:44 +02:00
Bernaldo Mihasi e22e348330 cleanup unused code 2023-02-21 11:41:07 +02:00
Diamantis Tziotzios 6c5cb97050 hr lang update 2023-02-14 21:04:30 +02:00
Bernaldo Mihasi ab124e87ea add new filters(grantLike, funderLike, collaboratorsLike) 2023-02-14 12:16:11 +02:00
Diamantis Tziotzios 72daadee7e configurable list of languages 2023-02-11 14:38:13 +02:00
Diamantis Tziotzios 554eb96824 css update 2023-02-10 18:05:11 +02:00
Diamantis Tziotzios 34d63438e0 css changes to add configurability 2023-02-10 15:08:23 +02:00
Konstantinos Triantafyllou 8b34d55706 Fix repositories list update after deposit 2023-01-31 17:39:17 +02:00
Konstantinos Triantafyllou 6924d82c80 Change selected DOI from the first element to the selected one 2023-01-24 12:20:05 +02:00
Konstantinos Triantafyllou 34f8e4f96d Fix after deposit action in dmp overwiew. 2023-01-24 12:13:58 +02:00
Bernaldo Mihasi 8f74c36205 no message 2023-01-23 15:30:39 +02:00
Konstantina Galouni 1d45bddeca #8350 - Added tracking of download Dataset & DMP exports in Matomo.
1. matomo-service.ts: Added method "trackDownload()".
2. drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts & dataset-wizard.component.ts & dataset-listing-item.component.ts & dataset-overview.component.ts & dmp-editor.component.ts & dmp-listing-item.component.ts & dmp-overview.component.ts: Added calls to this.matomoService.trackDownload() for "datasets/" or "dmps/" with the file type (/docx, /xml, /pdf, /json) and the id.
2023-01-20 19:02:12 +02:00
Konstantina Galouni a1dbd72bce #8337 - Added export button in dataset and dmp editors
1. dataset-profile-editor.component.html: Updated how save button appears (save separated from arrow).
2. dataset-profile-editor.component.scss: Commented paddings from .template_action_btn.
3. dataset-wizard.component.html: Added export button | Updated how save button appears (save separated from arrow).
4. dataset-wizard.component.scss: Added class .dataset-export-btn.
5. dmp-editor.component.html: Added export button.
6. dmp-editor.component.scss: Added class .dmp-export-btn.
7. i18n/: Added in language files properties for disabled export button inside editors (DMP-EDITOR.ACTIONS.DISABLED-EXPORT, DATASET-EDITOR.ACTIONS.DISABLED-EXPORT).
2023-01-20 18:53:54 +02:00
Konstantinos Triantafyllou 455e3c8fe0 Revert condition in deposit button, that deleted by mistake in last commit. 2023-01-20 17:29:48 +02:00
Konstantinos Triantafyllou 13d03e4459 Change deposit in DMPs: Modal changed to dropdown in deposit action and change DOI display 2023-01-20 14:56:29 +02:00
Bernaldo Mihasi 57a400f817 update repository base version 2023-01-18 09:37:34 +02:00
Bernaldo Mihasi 030f1ccf8e add repository logo 2023-01-17 14:41:04 +02:00
Diamantis Tziotzios 95c9d599e1 pom update 2023-01-17 10:31:34 +02:00
Diamantis Tziotzios 26bd59de21 repojar conf 2023-01-17 09:54:16 +02:00
Diamantis Tziotzios 4dccaa93b8 Merge branch 'multipleRepos' into Development 2023-01-16 14:11:43 +02:00
Konstantinos Triantafyllou 3e5dc85e04 Fix visibility dependencies for table view. Add missing question titles if a field is table. 2023-01-10 13:08:56 +02:00
Bernaldo Mihasi 66b2596036 delete files used for deposit in tmp storage 2022-12-27 09:44:43 +02:00
Konstantinos Triantafyllou 2f5f34948e Add all fields in field-value pipe. 2022-12-19 18:02:53 +02:00
Bernaldo Mihasi 749dbefc38 1. return bad request when deposition failed and returned null
2. close modal with repositories after a successful deposition
2022-12-19 16:07:03 +02:00
Bernaldo Mihasi 976d0221ce no message 2022-12-19 11:37:49 +02:00
Bernaldo Mihasi 80fba7c655 Merge branch 'multipleRepos' of https://code-repo.d4science.org/MaDgiK-CITE/argos into multipleRepos 2022-12-13 11:00:27 +02:00
Bernaldo Mihasi fbc274282c fix deposit base dependancy in web 2022-12-13 10:55:32 +02:00
Diamantis Tziotzios ec985bf271 Dockerfile update 2022-12-13 10:46:36 +02:00
Bernaldo Mihasi d0cde3c4c4 cleanup deposit since they are moved in another git repository 2022-12-13 10:12:12 +02:00
Bernaldo Mihasi 39d709f41d no message 2022-12-13 09:46:00 +02:00
Bernaldo Mihasi c6d37806c8 drop column doi from dmp and refactor code(replace single doi with list of dois) 2022-12-08 13:12:54 +02:00
Bernaldo Mihasi 8c95b16164 add temp storage in zenodo repository 2022-12-08 13:06:52 +02:00
Bernaldo Mihasi ad00695d4e fix bug allowing invalid characters in pdf name 2022-12-08 13:04:55 +02:00
Bernaldo Mihasi 572be373e5 don't deposit empty supportingFiles.zip when no files are uploaded in datasets 2022-12-08 13:02:08 +02:00
Konstantina Galouni 1171a38ad1 hr.json: #8296 - Updated Croatian localization file. 2022-12-07 17:32:27 +02:00
George Kalampokis 5f131b9823 Remove thread sleeps when trying to load config files and removed principal from Exception Handling Controller 2022-12-06 14:34:11 +02:00
Diamantis Tziotzios e1a3e9b7bc Dockerfile update 2022-12-06 11:55:06 +02:00
Bernaldo Mihasi b7e69d5fdf repo config using enviroment variables instead of static strings 2022-12-06 11:50:54 +02:00
George Kalampokis 6caef3e890 Remove thread sleeps when trying to load config files and removed principal from Exception Handling Controller 2022-11-30 18:19:40 +02:00
Bernaldo Mihasi 679354f699 deposit datasets' attached files in zip format 2022-11-30 09:43:03 +02:00
Konstantinos Triantafyllou c9c99be603 Merge branch 'table-field' into Development 2022-11-29 10:19:15 +02:00
Konstantinos Triantafyllou a2d07c93c8 Table View: Change columns text from truncate to wrap 2022-11-29 09:55:47 +02:00
Diamantis Tziotzios 75007286fc elasticsearch cert change 2022-11-25 17:03:25 +02:00
Diamantis Tziotzios ccc102a52d add more elastic logs 2022-11-25 16:03:59 +02:00
Bernaldo Mihasi ed79d27cdc when making a new version in dataverse delete previous files 2022-11-25 11:20:45 +02:00
Konstantinos Triantafyllou 9fd963a480 Add table view in preview of datataset profile editor and dataset editor. 2022-11-24 21:28:18 +02:00
Bernaldo Mihasi da211ca756 update dockerfile to include directory with repository jars 2022-11-24 17:31:16 +02:00
Bernaldo Mihasi 7a0e1c89f2 when finalizing a dmp and its access rights are open, make it publicly available in Argos 2022-11-24 16:29:11 +02:00
Diamantis Tziotzios 93320f7c94 Merge branch 'Development' 2022-11-22 15:03:08 +02:00
Bernaldo Mihasi 573aab059b remove redundant parameter in deposit interface 2022-11-22 09:58:47 +02:00
Bernaldo Mihasi 5e2639848b dmps are deposited in dataverse as datasets under a parent predefined dataverse collenction
when a new dmp version is created and deposited, the corresponding dataset in dataverse/collection in zenodo create a new version too
deposit dmps as published not drafts
2022-11-22 09:40:05 +02:00
George Kalampokis 0888b7cd74 Enable health and metrics built-in endpoints 2022-11-21 14:06:59 +02:00
Bernaldo Mihasi 6c13d3b68f when new version is deposited, create dataset in existing dataverse 2022-11-14 09:34:49 +02:00
Konstantinos Triantafyllou 925fc3ce4a Merge branch 'Development' into table-field 2022-11-10 17:54:28 +02:00
Bernaldo Mihasi b4490cb0f3 [WIP] implement dataverse repository deposit 2022-11-10 10:12:11 +02:00
Konstantina Galouni 2bbf89e779 HtmlToWorldBuilder.java & WordBuilder.java: Added methods for exporting inputs of a question as table. 2022-11-08 14:39:23 +02:00
Diamantis Tziotzios 876d99ce38 Merge commit '18dcabbac2599d35246f91204efbb25238106565' 2022-11-03 14:20:16 +02:00
Diamantis Tziotzios 0cd20605f0 user guide image update 2022-11-02 15:39:42 +02:00
Bernaldo Mihasi 6b2bc3c1e0 cleanup code, add authorizationUrl and recordUrl in repositories config 2022-11-02 13:31:42 +02:00
Bernaldo Mihasi 59e26dbb8d [WIP] EntityDoi table 2022-11-02 09:41:40 +02:00
Konstantina Galouni 37724380e9 #7276 - Added tableView true/false option in multiplicity 2022-11-01 16:24:28 +02:00
Bernaldo Mihasi 7d624a2daa [WIP] system deposit authentication, using default repo token 2022-10-27 09:32:26 +03:00
Bernaldo Mihasi ab66a5f1da [WIP] implement zenodo repository deposit, add authentication for depositions 2022-10-26 13:50:01 +03:00
Bernaldo Mihasi 18dcabbac2 #7892 - prefill rda field only when a new dataset is created or a new version is made 2022-10-25 09:36:11 +03:00
Bernaldo Mihasi 7dd2030eb3 [WIP] create deposit interface and implement multiple deposit repositories 2022-10-24 09:35:49 +03:00
Diamantis Tziotzios 49ce0efb40 user guide images added 2022-10-19 11:06:54 +03:00
Konstantinos Triantafyllou 9f1c0352ea Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-10-19 01:48:57 +03:00
Konstantinos Triantafyllou 4a54915a8e Fix some bugs in dataset editor while navigating with buttons and scroll in the table of contents 2022-10-19 01:48:48 +03:00
Konstantina Galouni 4dd338d08e #8149 - [Bug fix] Updated condition to check if current user is owner of DMP/ Dataset (drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts & dataset-listing-item.component.ts & dmp-clone.component.ts & dmp-listing-item.component.ts). 2022-10-18 14:01:26 +03:00
Bernaldo Mihasi 20f618a5d7 fix request body examples in publicapi 2022-10-18 09:39:46 +03:00
Konstantinos Triantafyllou 3361b6aff6 Redesign steps in dataset editor #7545 2022-10-17 15:32:05 +03:00
Konstantina Galouni dc197a5abc #8143 - form-field.component.html: [Bug fix] Updated check to set disabled attribute or not in the button. 2022-10-12 16:22:58 +03:00
Diamantis Tziotzios b018dd42db fixed default language support 2022-10-11 18:52:08 +03:00
Bernaldo Mihasi 2b692fa579 fix public api paths 2022-10-10 11:56:48 +03:00
Konstantinos Triantafyllou 6720504b7b Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-10-05 16:23:02 +03:00
Konstantinos Triantafyllou fd2ec314a0 Add next-previous buttons in dataset editot in order to navigate through chapters 2022-10-05 16:22:47 +03:00
Bernaldo Mihasi ef327a0a57 expose public api 2022-10-04 13:06:49 +03:00
Konstantina Galouni 4cab6ca160 dmp-editor.component.ts: [Bug fix - #8073] Set value of "status" field of formGroup to DmpStatus.Draft, after reset() is called. 2022-09-16 10:32:29 +03:00
Bernaldo Mihasi 5087a37e15 dockerization 2022-09-13 10:35:56 +03:00
Konstantina Galouni 6a4d67de0c faqs.html & faq-content.component.html: #7972 - Updated faqs according to document. 2022-09-05 14:19:15 +03:00
argirok 0d5f6de7c7 update language to Polski 2022-07-29 10:40:45 +03:00
argirok 19d8218dea Added pl.json and update localization files 2022-07-29 10:39:39 +03:00
Konstantina Galouni 49e42e9cba h2020_dataset.docx & WordBuilder.java & DataManagementPlanManager.java & DatasetManager.java: Updated footer of Dataset template to set title of DMP and Dataset. 2022-07-28 17:30:44 +03:00
George Kalampokis 7a71110033 Fix critical issue with open file handle leak on user guide folder
(cherry picked from commit fa723c07ae)
2022-07-28 17:14:13 +03:00
George Kalampokis fa723c07ae Fix critical issue with open file handle leak on user guide folder 2022-07-28 11:23:39 +03:00
Konstantina Galouni a2228a5fb6 #7597, #7893, #7895, #7898: Updated DMP template file (h2020.docx) for export | Added Dataset template file (h2020_dataset.docx) for export | Updated indentation on exported docs.
1. h2020.docx, h2020_dataset.docx: Updated DMP template & Added Dataset template.
2. application.properties, application-devel.properties, application-production.properties, application-staging.properties: Added property for dataset template file path configuration.h2020datasettemplate=documents/h2020_dataset.docx
3. ConfigLoader.java: Added method XWPFDocument getDatasetDocument();
4. DefaultConfigLoader.java: Added fiedls and methods for loading Dataset template (h2020_dataset.docx).
5. DataManagementPlanManager.java, DatasetManager.java, , HtmlToWorldBuilder.java, WordBuilder.java: Updated header/footer/first page in exports for DMPs and Datasets  | Updated indentation in exports.
2022-07-26 17:00:54 +03:00
Konstantina Galouni 9b4c7aeb6f DataManagementPlanManager.java: #7893 - Added description of Datasets on DMP exported word file. 2022-07-12 12:52:04 +03:00
Konstantinos Triantafyllou b21693bff1 Change all buttons width: 101px to min-width: 101px 2022-07-11 16:49:09 +03:00
Konstantinos Triantafyllou 989f07787c Fix autocomplete in multiplicity items by using parent field id. 2022-07-11 16:34:06 +03:00
Konstantina Galouni e329ef763a form-section.component.html: Updated classes of comment field parent and wrapperClasses so that it looks full width in all views. 2022-06-23 15:51:28 +03:00
Konstantinos Triantafyllou 304a6cfdb3 Backend: Fix a bug with compareTo of a field throwing an error because ordinal is not exists. FrontEnd: Initialize visibility rules for multiple fields coming from service according to their parents. 2022-06-23 15:38:48 +03:00
Konstantina Galouni 18e98938d5 WordBuilder.java: #7869 - In exported file fix hidden question title and a. /b. /c for empty answers.
a. fix hidden question title when more than 1 multiplicity answers,
b. fix hidden question title when  no value in the last multiplicity answer,
c. Do not show a. / b. / c.... for empty multiplicity answers,
d. Do not show a. / b. / c.... when more than 1 multiplicity answers, but only one with value.
2022-06-23 15:32:05 +03:00
argirok b1788c2dc2 update croatian language file hr.json 2022-06-21 12:51:51 +03:00
Diamantis Tziotzios 2ecce0acb0 elastic conf changes 2022-06-14 14:22:59 +03:00
Bernaldo Mihasi 8b26ff19b6 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2022-06-14 10:25:53 +03:00
Bernaldo Mihasi 9c4d246ef5 heading changes on export template 2022-06-14 10:24:35 +03:00
Konstantina Galouni 772a041851 WordBuilder.java: #7837 - In exported file add comment filed as ParagraphStyle.HTML instead of ParagraphStyle.COMMENT. 2022-06-14 10:14:48 +03:00
Bernaldo Mihasi 0ac5902bfd 1. export redesign based on new word template
2. orcid researchers in export are clickable
2022-06-13 15:16:48 +03:00
Konstantina Galouni 941cca8103 form-section-inner.component.html & form-section.component.html: Updated comment field to use <rich-text-editor> instead of <input> and <mat-hint>. 2022-06-10 17:00:36 +03:00
Bernaldo Mihasi 73be5d9a98 1. export redesign: multiplicity #ref 7834, multiple select #ref 7836
2. fix bug in license api export
2022-06-08 16:27:47 +03:00
Bernaldo Mihasi 3433f58506 Add ssl support for elasticsearch 2022-06-08 16:23:49 +03:00
George Kalampokis 0235406246 Improve image caption styling 2022-06-07 14:52:48 +03:00
George Kalampokis 7985b13cca Add image caption on Word/Pdf export 2022-06-07 13:10:06 +03:00
George Kalampokis 54c5017609 Add Export attribute on Dataset Profile's Field. By Default is set to true. The attribute determines if the field value will be included in the word/pdf export 2022-06-07 11:00:13 +03:00
George Kalampokis 5cd79a6368 When Exporting DMP to word/pdf sort it's Datasets based on creation date 2022-06-07 10:56:44 +03:00
George Kalampokis ea8407eece Fix critical issue when uploading Dataset Template 2022-06-07 10:33:37 +03:00
Diamantis Tziotzios 91566c9710 Merge branch 'saml2' into Development 2022-06-01 10:45:19 +03:00
Konstantina Galouni 79bc95b099 [Bug fix] DatasetProfileManager.java: In method "createNewVersionDatasetProfile()", do not set label and language from oldDatasetProfile. 2022-05-31 16:51:59 +03:00
Konstantina Galouni d7ee7b8d93 Question titles in dataset template with <textarea> | Bug fix in "Save & Continue" functionality of dataset templates | Added "Update & Continue" functionality in dataset templates | Changed placeholder text in the prefilling search box.
1. dataset-profile-editor-composite-field.component.html: #7792 - use <textarea> instead of <input> for question titles.
2. dataset-profile-editor-field.component.ts: #7790 - Set default value "unchecked" for checkbox.
3. dataset-profile.service.ts: In methods "createForm()" and "newVersion" updated response type from DatasetProfileEditorModel to string (id is returned only) and use httpClient instead of http.
4. dataset-profile-editor.component.html:
   a. [Bug fix] Fix conditions in action buttons (Save/Update/Finalize)
   b. On "Update" action button, added update dropdown options "Update & Continue", "Update & Close" and set default behavior "Update & Continue".
   c. On save dropdown options, used DATASET-PROFILE-EDITOR.ACTIONS instead of DATASET-WIZARD.ACTIONS.
5. dataset-profile-editor.component.ts:
   a. [Bug fix] #7791 - Created method "afterSave()" to be called in "onSubmit()" method when api calls return
   b. Added optional parameter "close: boolean = false" in method "updateAndFinalize".
6. i18n/:
   a. Added DATASET-WIZARD.ACTIONS.SAVE-AND-CONTINUE, DATASET-WIZARD.ACTIONS.SAVE-AND-CLOSE, DATASET-WIZARD.ACTIONS.UPDATE-AND-CONTINUE, DATASET-WIZARD.ACTIONS.UPDATE-AND-CLOSE.
   b. #7750 - Changed placeholder text in the prefilling search box (DATASET-CREATE-WIZARD.PREFIL-STEP.SEARCH).
2022-05-31 16:49:15 +03:00
George Kalampokis e8a87765ee Fix authorization issue with Dataset Templates not showing to their original creators (that are not Admins) 2022-05-31 16:14:25 +03:00
argirok 03f7afede8 update openaire publication API to accept DOI query 2022-05-30 16:15:16 +03:00
George Kalampokis 11b0db21ac Reconfigure Zenodo prefilling query in order to query doi and conceptdoi alongside the title (ref #7802) 2022-05-30 11:59:49 +03:00
George Kalampokis 757b1f70e8 Change default filterType to remote (ref #7799 & #7800) 2022-05-26 15:03:45 +03:00
George Kalampokis 66511d2ed6 Further stability improvement over external urls query 2022-05-25 18:06:54 +03:00
George Kalampokis 0f4b209427 Add {query} field for external urls with configurable queries and make ORCID query more strict (similar to orcid's website) (ref #7798) 2022-05-25 17:37:20 +03:00
George Kalampokis 3aff6ac90e Allow to update Dataset Templates by uploading dataset Template .xml files (ref #7793) 2022-05-25 14:50:00 +03:00
Bernaldo Mihasi ff6d068ddd sign artifact resolve-code + post binding 2022-05-25 10:30:59 +03:00
Diamantis Tziotzios 14c267c97e Merge branch 'Development'
# Conflicts:
#	dmp-backend/web/src/main/resources/config/application-production.properties
2022-05-13 11:58:34 +03:00
George Kalampokis 912a3cc095 Order datasets on DMP listing (ref #7746) 2022-05-11 18:13:35 +03:00
Bernaldo Mihasi 6c36253f09 artifact binding + decryption of assertion 2022-05-11 10:38:10 +03:00
Bernaldo Mihasi 3c3b9ef398 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2022-05-04 11:13:47 +03:00
Bernaldo Mihasi cfd0707f2a bug fix: license api-fields didnt get prefilled 2022-05-04 11:11:25 +03:00
George Kalampokis 78bceeb8ae Reorganize and Rename (english only) DMP Editor Fields (ref #7700) 2022-05-04 11:10:06 +03:00
George Kalampokis b891907724 Merge remote-tracking branch 'origin/Development' into Development 2022-05-04 10:25:31 +03:00
George Kalampokis afa602bf39 Fix issue with Dataset Editor when trying to save an incomplete or invalid form, the save buttons stay locked (ref #7725) 2022-05-04 10:25:13 +03:00
Konstantina Galouni 579bb58afc #7699: rich-text-editor.component.ts: Clear any formatting on paste and add plain text | Added h1-h6 tags in customClasses | Enable "removeFormat" button (clear formatting added from editor options). 2022-05-03 18:06:32 +03:00
Bernaldo Mihasi 8ac8f9588c #7680: Support SAML Authentication 2022-04-28 12:03:01 +03:00
Konstantina Galouni a5061759b8 #7665: Save and Previous buttons updated on the Dataset Template (Admin).
1. dmp-editor.component.html & dmp-clone.component.html & dataset-wizard.component.html: On next button, moved chevron_right icon to the right side of the text.
2. dataset-profile-editor.component.scss:
   a. Removed margin-top from .dataset-profile-editor.
   b. Updated position and styling of .scroll-on-top.
   c. Added .floating-btn and .progress-min-height.
3. dataset-profile-editor.component.ts:
   a. Set showScrollOnTopButton default value to true and comment intersection stepperNavigationObserver (because title is sticky now and always visible).
   b. In method "onSubmit()" added parameter close:boolean=false, to check if the router will navigate to "/dataset-profiles" or not (button "save and continue" added).
4. dataset-profile-editor.component.html:
   a. Renamed "Back" button to "Close" and use DATASET-WIZARD.ACTIONS.CLOSE.
   b. Moved "Close", "Save"/"Update" and "Finalize" buttons aligned with title on the top right.
   c. Made title with aligned buttons sticky to top with stepper.
   d. Moved buttons "Previous"/"Next" on the down right of viewport (floating buttons).
   e. Moved scroll button and update it.
   f. Updated alignment of main content when there is no sidebar on the left.
5. i18n/: In language files added "DATASET-WIZARD.ACTIONS.CLOSE" and updated "USER-PROFILE.MERGING-EMAILS-DIALOG.TITLE" (#7662).
2022-04-20 18:25:55 +03:00
Konstantina Galouni 943f84384c #7662: Popup message when merging email accounts from the user profile | [Bug fix] Truncate title of dataset and show tooltip in dmp clone popup.
1. user-profile.component.ts: Added PopupNotificationDialogComponent when email for validating account has been sent.
2. login.component.ts: Added @Input() redirect: boolean = true; - if this is false do not redirect to home page.
3. add-account-dialog.component.html: Add parameter redirect="false" in <app-login>.
4. clone-dialog.component.html: [Bug fix] Truncate title of dataset and show tooltip in dmp clone popup.
5. i18n/: In language files added "USER-PROFILE.MERGING-EMAILS-DIALOG.TITLE" and "USER-PROFILE.MERGING-EMAILS-DIALOG.MESSAGE".
2022-04-19 10:28:35 +03:00
George Kalampokis 7c933d9f32 Refactor Zenodo deposit creation. Add model for mapping instead of relying on stringBuilder 2022-04-07 17:31:45 +03:00
George Kalampokis e373baee7e Fix critical issue when importing from xml with researchers 2022-04-07 17:31:44 +03:00
George Kalampokis 2a12f1b5be Change Dataset sorting on DMP overview and editor from last modified to last created 2022-04-05 15:29:36 +03:00
argirok b9f8d2e162 #7602 Contributors: add Croation institution title 2022-04-04 11:32:18 +03:00
George Kalampokis ae7988aa13 Make DMP Editor more safe when saving and make save pop messages more consistent 2022-04-01 18:15:07 +03:00
George Kalampokis a9199ab8f0 Make Dataset Editor more safe when saving and make save pop messages more consistent 2022-04-01 18:15:07 +03:00
George Kalampokis 5faa44c015 On a new Dataset when save is pressed it will reload the editor in order to reflect better the state of the Dataset 2022-04-01 13:54:14 +03:00
George Kalampokis 4b879eb339 On DMP Overview change the color of the finalized Datasets 2022-04-01 13:54:13 +03:00
George Kalampokis ef6e3b8d7c Sort Datasets by Modified date on DMP Overview and DMP Editor 2022-04-01 13:54:13 +03:00
Bernaldo Mihasi 7cfedf24a2 add missing enums to render styles 2022-03-31 17:49:33 +03:00
Bernaldo Mihasi db8f10ac1e fix issue with upload field in xml export 2022-03-31 17:02:27 +03:00
Diamantis Tziotzios 07f499707e pt user guide update 2022-03-29 18:39:49 +03:00
Konstantinos Triantafyllou 0bb98a4009 Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-03-29 15:14:43 +03:00
Konstantinos Triantafyllou a58e926c3d Prefilling: Alphabetical order in the returning list. Autocomplete of prefilling: no search with empty value. 2022-03-29 15:14:34 +03:00
George Kalampokis afb0be5b18 Make DMP export to be more consistent with the DMP shown on the front end UI 2022-03-29 15:13:58 +03:00
George Kalampokis c41c89774b Make Dataset Validation checker to no longer be exception depedant 2022-03-29 15:13:58 +03:00
George Kalampokis 3eb27c04f6 Fix critical issue with xml import 2022-03-29 11:32:52 +03:00
George Kalampokis 72507dd1b8 Fix issue with DMP json export if it have been imported from json 2022-03-29 10:57:06 +03:00
argirok 35ea0b5d6c Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-03-29 10:32:39 +03:00
argirok f1746e49ff Add Croatia in contributors 2022-03-29 10:25:04 +03:00
Konstantina Galouni 5ceea10c49 #7638: [Bug fix] dmp-finalize-dialog.component.html: Truncate text and show tooltip with full dataset title. 2022-03-28 18:00:14 +03:00
Konstantina Galouni 650e0ceb06 #7636: [Bug fix] Copy dataset from latest activity or dataset listing: Reverting some changes from commit:b6c28be3b3
1. DatasetListingModel.java: Added  field DatasetProfileOverviewModel profile, getter/setter and set profile in methods "fromDataModel()" and "toDataModel()".
2. RecentActivityModel.java: Added field DatasetProfileOverviewModel profile and getter/setter.
3. RecentDatasetModel.java: Set profile in methods "fromEntity()" and "fromDmpEntity()".
2022-03-28 17:02:57 +03:00
Bernaldo Mihasi 78895a1df1 no message 2022-03-24 09:43:13 +02:00
argirok 1f71681fa2 add link to RDA specifications - pop up and user guide 2022-03-23 16:21:14 +02:00
argirok 62b60b93a8 URLConfiguration add FilterType. When filterType is "local" the filtering is applied in argos backend - not throught the API 2022-03-23 16:03:42 +02:00
George Kalampokis 864b4bfec8 Make rda mapping more lax 2022-03-22 16:40:51 +02:00
Bernaldo Mihasi 116f9b99ea fix tags - distribution_format word export 2022-03-22 14:03:22 +02:00
Konstantina Galouni 8734d7c1ba #7528: Fixes in exporting images to document.
WordBuilder.java: Use media types instead of file extension for IMAGE_TYPE_MAP | Calculate image dimensions inside document according to its initial ratio and remove from page size the top, bottom, left, right margins.
2022-03-21 18:19:51 +02:00
Bernaldo Mihasi 835ccaab89 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2022-03-18 16:58:27 +02:00
Bernaldo Mihasi ba55881830 image export: pixels to points 2022-03-18 16:55:41 +02:00
argirok d2ac550478 add croatian language in other language files 2022-03-18 15:54:37 +02:00
argirok 0393951abe add latest changes in the croatian language file 2022-03-18 15:54:37 +02:00
argirok de5d8a9553 add croatian language file 2022-03-18 15:37:11 +02:00
George Kalampokis 3101cf0e42 Optimize image export 2022-03-17 17:08:45 +02:00
George Kalampokis 3c00d47407 Fix critical issue with dataset saving 2022-03-17 17:07:18 +02:00
Bernaldo Mihasi 65b4e58aad attach images in word export 2022-03-17 10:47:50 +02:00
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 9671a827df Added empty folder uploads 2022-03-16 13:14:36 +02:00
Konstantina Galouni 63e27b1d4a Remove .gitkeep file 2022-03-16 13:11:06 +02:00
Konstantina Galouni 5f89c26844 Added empty folder uploads 2022-03-16 13:06:31 +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
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
Konstantina Galouni 744160c84a Add in DB table UploadFile 2022-03-16 11:32:06 +02:00
George Kalampokis dc06ba9201 Allow to return DMP with no Datasets for the Dataset Editor 2022-03-15 17:58:01 +02:00
George Kalampokis 4e0402df95 Fix issue with prefilling Mapper and empty array values 2022-03-15 17:55:40 +02:00
George Kalampokis 563711eae4 Fix issue saving tags from template when the field is a textField 2022-03-15 17:52:58 +02:00
George Kalampokis d3a1e85ba9 Fix issue with keeping non Admin users on Dataset Templates 2022-03-08 13:37:26 +02:00
George Kalampokis 56499223cf Fix issue with Grant authentication 2022-03-02 17:51:41 +02:00
George Kalampokis 75fc8a1d13 Update some entities based on the Db configuration 2022-03-02 17:51:17 +02:00
George Kalampokis 608c4f3fc0 Add get Parent values on json Searcher 2022-03-02 10:56:28 +02:00
George Kalampokis 5ea8b9b964 Minor fix for visibility Rules Service 2022-03-01 17:14:02 +02:00
George Kalampokis 1e572b3214 Fix issue with prefilling mapping 2022-03-01 17:11:14 +02:00
Konstantina Galouni 1dfcad7e88 dataset-profile-editor.component.html: #7519 (Additional commit) On "viewOnly" mode - finalized dataset template, change the "Save" button (left) to "Update", make it clickable and work as the "Update" button (top right on the last step) already does. 2022-03-01 15:25:14 +02:00
George Kalampokis f373c9016e Merge remote-tracking branch 'origin/Development' into Development 2022-03-01 14:40:09 +02:00
George Kalampokis ea72f64ed4 Replace DB DOIFunder with a json config file 2022-03-01 14:37:49 +02:00
Konstantina Galouni b68ede8cd7 #7518 & #7519: [Bug fix] in Required indication in Rich Text Area fields & editable general info on dataset template new version & date with time shown in dataset templates.
1. rich-text-editor.component.scss: Css for .editor-wrapper .disabled added.
2. rich-text-editor.component.ts: New "editable" Input() field added, to allow rich text area to be disabled and not editable.
3. dataset-profile-editor.component.html:
   a. In <rich-text-editor-component> set [editable]="form.controls['description'].status !== 'DISABLED'"
   b. #7518 Show required message and css  in rich text area when there is error "required" and description is touched (not dirty)
4. dataset-profile-editor.component.ts: #7519 comment disable of form controls label (title), description and language.
5. dataset-profile-listing.component.html: #7519 Time added in created column of dataset templates.
6. dataset-editor.component.html & form-field.component.html: #7518 Show required message and css  in rich text area when there is error "required" and description is touched (not dirty).
7. clone-dialog.component.html: Replaced <textarea> with <rich-text-editor-component> for description field.
8. clone-dialog.module.ts: Import RichTextEditorModule.
9. clone-dialog.component.ts: #7519 comment disable of form group label (title)
10. styles.scss: Css for class .form-field-subscript-wrapper updated.
2022-02-28 18:08:38 +02:00
George Kalampokis c3aff92cd4 Don't include Funder if it's not in the Doi Funder Table 2022-02-28 16:28:31 +02:00
George Kalampokis 5a3f871c58 Remove various unnecessary info messages 2022-02-28 15:24:10 +02:00
Diamantis Tziotzios b04b35d62b Merge branch 'Development'
# Conflicts:
#	dmp-backend/web/src/main/resources/RDACommonStandards.txt
2022-02-25 12:19:29 +02:00
George Kalampokis 9f88bdae69 Possible fix for twitter login (part 2) 2022-02-24 15:45:19 +02:00
George Kalampokis 8d1c73deba Possible fix for twitter login 2022-02-24 15:42:36 +02:00
George Kalampokis 93aa2d36e5 Fix another issue with login 2022-02-24 10:47:12 +02:00
George Kalampokis 69a94fa236 Make email nullable field 2022-02-23 12:02:03 +02:00
George Kalampokis 94a225cf9f Add Description on Dataset Export 2022-02-22 16:39:35 +02:00
Bernaldo Mihasi 494ee47620 zenodo prefilling customizations 2022-02-22 15:53:25 +02:00
George Kalampokis 3c42ee3531 Improve tags pre-filling mapping 2022-02-22 14:15:51 +02:00
Bernaldo Mihasi 0bd08c2fac fixed tag prefilling 2022-02-22 14:00:22 +02:00
George Kalampokis 817ee9b44d Fixed ParsedTags 2022-02-22 13:39:52 +02:00
George Kalampokis f6cb4a40d2 Generalized (again) dataset prefilling 2022-02-22 11:58:39 +02:00
George Kalampokis d1eab0d019 Fix issue with not showing datasets on all version listing 2022-02-22 11:30:22 +02:00
George Kalampokis 4bdb27fcef Merge remote-tracking branch 'origin/Development' into Development 2022-02-21 17:48:52 +02:00
George Kalampokis ad8239ca5e Improve if statement on Prefilling Mapping 2022-02-21 17:48:40 +02:00
Bernaldo Mihasi 1a43c28496 add more prefilled fields 2022-02-21 17:38:16 +02:00
George Kalampokis b6c28be3b3 Optimize Dashboard's recent activity logic, removed various unused fields from Listing Models and implement toDataModel conversion logic in some models 2022-02-21 17:16:32 +02:00
George Kalampokis 71b1010ea1 Merge remote-tracking branch 'origin/Development' into Development 2022-02-18 17:52:04 +02:00
George Kalampokis d16e130dc6 Optimize general metric counter 2022-02-18 17:51:57 +02:00
George Kalampokis 11ff99fd77 Improve and generalize prefilling logic 2022-02-18 17:51:32 +02:00
argirok 3aa1c1ae59 fix issue with pub api #7326#note-5 the value was a number instaed of search 2022-02-18 17:41:33 +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 e4e009f5b1 Fix after prefill datase editor behaviour - 7545 2022-02-18 15:57:17 +02:00
Bernaldo Mihasi da5ba952e1 rda export import tag bug, format preffiling fixed 2022-02-17 10:11:34 +02:00
Bernaldo Mihasi bf77a85acb Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2022-02-11 13:11:40 +02:00
Bernaldo Mihasi eedcf0dfb0 fix freetext-format bug in prefilling temporarily 2022-02-11 13:09:29 +02:00
George Kalampokis fac6a93c0a Fix minor worldBuilder issue and a minor refactor 2022-02-10 13:21:21 +02:00
George Kalampokis 4740fbe8e0 Refactor visibilityRuleService 2022-02-09 15:23:16 +02:00
Konstantinos Triantafyllou 6cdf560713 Add clear input in rich text editor 2022-02-08 20:51:40 +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
Bernaldo Mihasi 80e5e12f29 fix export-import dataset missing rda mappings 2022-02-08 14:04:26 +02:00
Bernaldo Mihasi 815fc05af6 fix missing section titles from word export 2022-02-08 09:44:55 +02:00
Diamantis Tziotzios 14550e0536 visibility rule fix on word builder 2022-02-04 18:17:51 +02:00
Diamantis Tziotzios 2b71cddc39 Fix for word generator not merging multiple visibility rule results 2022-02-04 16:38:05 +02:00
Diamantis Tziotzios e9b0bcf102 dataset description section id fix 2022-02-04 16:08:22 +02:00
argirok 93cb1fd1a7 Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-02-04 15:33:31 +02:00
Diamantis Tziotzios df609fd359 #501 bug fix 2022-02-04 15:31:19 +02:00
argirok 938f98100f Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-02-04 10:05:32 +02:00
Diamantis Tziotzios 85859ce078 visibiliity service performance improvements 2022-02-03 20:06:27 +02:00
Bernaldo Mihasi 048189952c format prefilling fixes 2022-02-02 14:15:33 +02:00
Konstantina Galouni bd5041e4e3 user-guide.html: Removed explanatory text next to user factsheet link. 2022-02-01 10:04:26 +02:00
George Kalampokis eaa0c67177 Add multiplicity field on Sections 2022-01-31 11:15:23 +02:00
Diamantis Tziotzios 1c318ddff5 dataset templates metric renamed 2022-01-28 16:02:07 +02:00
Bernaldo Mihasi 1967e96702 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2022-01-28 15:01:28 +02:00
Bernaldo Mihasi 125a97baed keyword-tags exported-imported fixes, prefilling more mapping 2022-01-28 14:55:52 +02:00
Konstantina Galouni 0478484d5e #7390: Admin factsheet and handbook added in user guide page - factsheet for users moved in user guide page from media-kit page.
1. media-kit.html: Deleted factsheet (moved it to user-guide.html).
2. user-guide.html: Added Admin sections with factsheet and handbook and factsheet for users.
3. assets/media-kit: Argos-Admin-Handbook_14_01_2022.pdf (handbook) & OpenAIRE_ARGOS_Administrators.pdf (factsheet) files added.
2022-01-27 17:08:20 +02:00
George Kalampokis 229555f42c Fix critical issue with prefilling mapping 2022-01-27 11:43:58 +02:00
George Kalampokis 70d37cead1 Fix wrong metrics count for Dataset Template 2022-01-27 11:05:40 +02:00
argirok 90b49194ac Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-01-24 12:11:39 +02:00
George Kalampokis 01d32427c3 Add additional checks when generating world documents 2022-01-24 11:30:03 +02:00
George Kalampokis f95a704787 Make remote fetcher's value normalization more type safe 2022-01-24 11:29:06 +02:00
argirok a3c4b3c143 Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development
 Conflicts:
	dmp-backend/web/src/main/java/eu/eudat/logic/proxy/fetching/RemoteFetcherUtils.java
2022-01-24 11:12:56 +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
George Kalampokis 8f56b1874b Add extra prefilling mapping fields and add better support for prefilling tags 2022-01-19 17:51:30 +02:00
George Kalampokis ce386ac047 Refactor Remote Fetcher's json parser 2022-01-19 12:12:20 +02:00
Bernaldo Mihasi 61de8c4df0 dmp import fixes 2022-01-18 11:38:24 +02:00
Konstantinos Triantafyllou 99cecbc4fb Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2022-01-14 17:50:45 +02:00
Konstantinos Triantafyllou 6460d4087a Change gitlab links to gitea 2022-01-14 17:50:02 +02:00
George Kalampokis 64ec74363b Merge remote-tracking branch 'origin/Development' into Development 2022-01-13 13:33:13 +02:00
George Kalampokis 5a70ce7602 Fix issue of not keeping dataset template users after version update 2022-01-13 13:26:30 +02:00
Bernaldo Mihasi 641088e289 Remove local configs, commited by mistake 2022-01-12 16:31:07 +02:00
DESKTOP-4ES9U2E\aldom dc1f59d8b5 Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development 2022-01-12 14:11:18 +02:00
DESKTOP-4ES9U2E\aldom 9d5d685ad6 ethical_issues added to DatasetRDAMapper, minor fixes to dmp docx export 2022-01-12 14:10:00 +02:00
George Kalampokis 91f98a8759 Rename sample tag 2022-01-12 11:45:57 +02:00
George Kalampokis db01f2d119 Add fixedMappings for prefilling 2022-01-12 11:43:32 +02:00
George Kalampokis 1d68b2a379 Minor improvement for dataset prefilling 2022-01-07 18:06:19 +02:00
Konstantinos Triantafyllou e1a4a64d81 Add hint text for prefilling. Change Empty to Manually 2022-01-04 14:53:49 +02:00
DESKTOP-4ES9U2E\aldom 16c124cc3d Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DatasetIdRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DatasetRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DistributionRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/HostRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/KeywordRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/LicenseRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/SecurityAndPrivacyRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/TechnicalResourceRDAMapper.java
2021-12-30 11:28:15 +02:00
DESKTOP-4ES9U2E\aldom e675ad7c9d madmp changes 2021-12-29 15:24:46 +02:00
Konstantinos Triantafyllou 7962c6a587 Merge remote-tracking branch 'origin/Development' into Development 2021-12-22 16:00:07 +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
Kristian Ntavidi 4c2e17e987 defect #7325 fix
*Fix on enterkey pressed  form submission issue in dmp editor
2021-12-22 15:29:03 +02:00
George Kalampokis 814a9b2fee Fix bad RDA Common Standard name and minor RDA mapper improvement 2021-12-20 14:19:17 +02:00
George Kalampokis 209b180158 Add missing file 2021-12-17 16:36:47 +02:00
George Kalampokis 22d3d131cc Even more improvements to RDA mapping (partial contribution by M.Aldo) and fixed issue with RDA Additional Options 2021-12-17 16:21:32 +02:00
George Kalampokis eb7d0d04fc Even more improvements to RDA mapping (partial contribution by M.Aldo) 2021-12-17 12:59:10 +02:00
George Kalampokis cff9af75c6 Merge remote-tracking branch 'origin/Development' into Development 2021-12-16 11:44:57 +02:00
George Kalampokis 316d0903c8 Improve RDA mapping (contributed by M.Aldo) 2021-12-16 11:44:34 +02:00
Konstantinos Triantafyllou feecac994d Merge remote-tracking branch 'origin/Development' into Development 2021-12-15 16:26:21 +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
George Kalampokis 42c5dbb3b2 Make distribiution to parse as list 2021-12-14 18:05:10 +02:00
George Kalampokis 6964aa1d47 Fix minor typo 2021-12-14 17:07:00 +02:00
George Kalampokis ba8bae1a88 Update some maven dependencies 2021-12-14 12:09:15 +02:00
George Kalampokis a9e7ef1798 Rename prefilling get endpoint to generate 2021-12-10 16:07:00 +02:00
George Kalampokis 728ea9a24f Add prefilling backend endpoints 2021-12-10 15:37:39 +02:00
Konstantinos Triantafyllou 4425a0bb5d Merge branch 'Development' of code-repo.d4science.org:MaDgiK-CITE/argos into Development 2021-12-09 16:18:48 +02:00
Konstantinos Triantafyllou 7b00d14a70 Rename Discard button to Back in Dataset Template Editor (Admin). #7262 2021-12-09 16:18:38 +02:00
George Kalampokis 78688420d2 Fix minor issue with elastic date parsing 2021-12-09 15:11:07 +02:00
Diamantis Tziotzios 7a8375b988 Merge commit '2cb985c23c4ceda99efc78bcc8e77b3eceeb0bcf'
# Conflicts:
#	dmp-backend/elastic/src/main/java/eu/eudat/elastic/criteria/DatasetCriteria.java
#	dmp-backend/elastic/src/main/java/eu/eudat/elastic/entities/Dataset.java
#	dmp-backend/elastic/src/main/java/eu/eudat/elastic/entities/Dmp.java
#	dmp-backend/elastic/src/main/java/eu/eudat/elastic/repository/DatasetRepository.java
#	dmp-backend/elastic/src/main/java/eu/eudat/elastic/repository/DmpRepository.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DataManagementPlanManager.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/mapper/elastic/criteria/DmpCriteriaMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/utilities/documents/word/WordBuilder.java
#	dmp-backend/web/src/main/java/eu/eudat/models/data/listingmodels/DataManagementPlanListingModel.java
2021-12-09 12:18:39 +02:00
George Kalampokis 17b72cde60 Fix issue with time parsing 2021-12-08 16:42:16 +02:00
George Kalampokis 0a39e64f9a Merge remote-tracking branch 'origin/Development' into Development 2021-12-07 17:16:41 +02:00
George Kalampokis 33784f3ee2 Add missing null check up 2021-12-07 17:16:22 +02:00
Diamantis Tziotzios 2cb985c23c bug fix 2021-12-07 16:52:49 +02:00
Diamantis Tziotzios 197de17aa5 no message 2021-12-06 15:32:38 +02:00
George Kalampokis de4c430d91 Fix issue with related datasets on dashboard 2021-12-03 16:49:23 +02:00
George Kalampokis b2825c8369 Fix issue with parsing some custom auto complete sources 2021-12-02 18:03:31 +02:00
Konstantina Galouni b7d622e330 #7225: In dataset template, rename "users" to "editors" and add hint | #7226: In dataset templates, default descending sorting by "created".
1.  dataset-profile-listing.component.html: #7226: In <mat-table> added matSortActive="created" matSortDirection="desc".
2. dataset-profile-editor.component.html: #7225: Added hint in section 1.4 to make prominent when the new editors will receive an informative email.
3. assets/i18n/: #7225: In every language file, renamed "users" to "editors" (DATASET-TEMPLATE-USERS, DATASET-TEMPLATE-REMOVE-USER, DATASET-TEMPLATE-NO-USERS-YET, DATASET-TEMPLATE-VALIDATE-AND-ADD-USER) and added DATASET-TEMPLATE-USERS-HINT.
2021-11-30 12:21:03 +02:00
George Kalampokis e165259c81 Fix and improve remote fetcher caching 2021-11-29 17:26:29 +02:00
George Kalampokis 6ce7fec059 Fix critical issue with multiAutoComplete on autocomplete field types 2021-11-29 11:27:59 +02:00
George Kalampokis 19aa2bd411 Fix critical issue with public datasets 2021-11-25 16:45:29 +02:00
George Kalampokis aed23a655b When exporting DMP to xml or json get only the active/finalized datasets and not the deleted ones 2021-11-24 18:14:24 +02:00
George Kalampokis 8524bce2e0 Add support for the exported date format on wordBuilder 2021-11-24 16:41:01 +02:00
George Kalampokis fc71e95cf3 Make dataset queries to return distinct results (avoid duplicate Id issues) 2021-11-24 16:23:02 +02:00
George Kalampokis e546362f58 Fix issue with elasticsearch inconsistencies 2021-11-23 14:05:57 +02:00
George Kalampokis e8d71a8f66 Add additional null check 2021-11-23 11:44:50 +02:00
George Kalampokis 53e298f66a Fix issue with Dataset copy not working on the dataset listing 2021-11-23 11:30:08 +02:00
George Kalampokis 9dc4d52f91 Fix issue with Dataset copy status 2021-11-23 11:24:42 +02:00
Konstantina Galouni bb0c398120 #7183: In DMP invitation, return authors whose name/ email contains the query string given by user (case insensitive).
1. InvitationsManager.java:  Added method "getUsersWithCriteria()" to filter results according to "userInfoRequestItem.getCriteria().getLike()".
2. UserInvitationController.java: In method "getUsers()" added parameter "@RequestBody UserInfoRequestItem userInfoRequestItem" and call new method "invitationsManager.getUsersWithCriteria()" (instead of getUsers()).
2021-11-22 13:44:41 +02:00
Konstantina Galouni 52c7796e8e #7183: Do not query for authors (DMP invitation) until 3 letters have been typed.
1. multiple-auto-complete.component.ts:
   a. Added @Input field minLength (default 0)
   b. In method "_onInputFocus()" filter results, only if query >= minLength.
2. dmp-invitation-dialog.component.html: In <app-multiple-auto-complete>, added property [minLength]="3" (invite users to a DMP).
2021-11-22 13:36:02 +02:00
George Kalampokis c0599d5fed Fix issue of reloading externalUrls 2021-11-19 11:20:47 +02:00
George Kalampokis 38cd336bc9 Add transactional to makeFinalize on DMP and remove jackson parsing when depositing to zenodo 2021-11-18 18:27:20 +02:00
George Kalampokis 4eb15da95a Trim out hours from date picker export on xml and json(ref #7185) 2021-11-17 11:12:34 +02:00
George Kalampokis 4da99d6d83 Trim out hours from date picker export (ref #7185) 2021-11-17 10:30:31 +02:00
George Kalampokis cecc59eba6 Fix issue with file imports (ref #7184) 2021-11-16 15:55:32 +02:00
Konstantina Galouni 7a7f12b83a Fixed #7182: Required field names appearing in the warning modal.
dataset-wizard.component.ts & dmp-editor.component.ts & form-validation-errors-dialog.component.ts:
a. For 'mat-select', use placeholder instead of aria-label.
b. [Bug fix] For 'app-multiple-auto-complete' dig into 2 more levels (formControl.nativeElement.firstChild.firstChild.firstChild.children) --> reason: commit de99784b5e: moved <input> inside <mat-chip-list>.
2021-11-16 11:47:24 +02:00
George Kalampokis 7820235258 Improve html type field exports 2021-11-09 17:44:47 +02:00
Diamantis Tziotzios adeca327a2 ES lang update 2021-11-09 16:30:59 +02:00
Diamantis Tziotzios 1ec46b6840 es lang update 2021-11-09 16:23:57 +02:00
George Kalampokis 54b142000c Merge remote-tracking branch 'origin/Development' into Development 2021-11-09 14:23:30 +02:00
George Kalampokis 1a373bc6f8 Add email notification when a user is added to a Dataset Template (ref #7148) 2021-11-09 14:23:22 +02:00
Konstantina Galouni 71b8742b0f LicenseManager.java & LocalFetchManager.java & TagController.java: #7135: No case sensitivilty for licenses, managers and tags. 2021-11-09 14:17:46 +02:00
Konstantina Galouni de99784b5e In multiple and single autocomplete do not show "no results found" when user is typing | in multiple auto complete added parameter to check if "no results found" will be displayed | in multiple auto complete show full width for input & wrap title into multiple lines.
1. multiple-auto-complete.component.html:
   a. #7137: show full width for input ([matAutocompleteConnectedTo]="origin") | wrap title into multiple lines (added classes "title-subtitle-fn", "subtitle-fn", "subtitle-fn-inner" and updated classes "title-fn", "title-fn-inner").
   b. single-auto-complete.component.html: #7136: Show "No results found" when user is not typing and there are no results.
   c. added check to show this label according to "showNoResultsLabel" input parameter.
2. multiple-auto-complete.component.ts & single-auto-complete.component.ts:
   a. Added field "queryValue", input "showNoResultsLabel".
   b. increase "requestDelay" from 400 to 600ms.
3. multiple-auto-complete.component.scss: wrap title into multiple lines (added classes "title-subtitle-fn", "subtitle-fn", "subtitle-fn-inner" and updated classes "title-fn", "title-fn-inner").
4. dmp-invitation-dialog.component.html: In <app-multiple-auto-complete> added parameter [showNoResultsLabel]="false".
2021-11-09 14:14:19 +02:00
George Kalampokis a7badfd9d5 Add nexus prometheus metrics 2021-11-09 13:05:38 +02:00
George Kalampokis 58ecadd79b Fix issue with project creation 2021-11-09 10:19:20 +02:00
George Kalampokis 8899e1ba65 Merge remote-tracking branch 'origin/Development' into Development 2021-11-02 18:13:42 +02:00
George Kalampokis db4d1006c6 Fix various issues with word/PDF export 2021-11-02 18:06:00 +02:00
Konstantina Galouni ca5883724a In Dataset Template selection cut description when templates are displayed in list and show description (instead of DMP-EDITOR.DATASET-DESCRIPTION.INTRO) in template preview.
1. multiple-auto-complete.component.html: Added class "title-fn-inner" to cut the displayed description of dataset templates.
2. multiple-auto-complete.component.scss: Css for class "title-fn" updated and for class "title-fn-inner" added to cut the displayed description of dataset templates.
3. available-profiles.component.html: Added class "list-option-inner" to cut the displayed description of dataset templates.
4. available-profiles.component.scss: Css for class "list-option" updated and for class "list-option-inner" added to cut the displayed description of dataset templates.
5. dataset-preview-dialog.component.html: Added [datasetDescription]="data?.template?.description" in <app-dataset-description>
6. dataset-description.component.ts: Added in class, field "datasetDescription".
7. dataset-description.component.html: Show template datasetDescription (as html) instead of DMP-EDITOR.DATASET-DESCRIPTION.INTRO.
2021-11-02 16:50:43 +02:00
George Kalampokis 39795f177f Fix critical issue with file exports on chromium based web browsers 2021-11-02 14:50:20 +02:00
Kristian Ntavidi e46de79ec2 #7133 Multiplicity visibility rule fix
* Inherit visibility value from clone reference
2021-11-02 12:28:55 +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
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
Konstantina Galouni 03009edaa3 Use <rich-text-editor-component> when html editor is needed - replace in dataset template descriprion, section & question descriptions.
1. dataset-profile-editor-section.component.html & dataset-profile-editor.component.html & dataset-profile-editor-composite-field.component.html: Replace <angular-editor> with <rich-text-editor-component> (custom common component when rich text editor is set).
2. dataset-profile-editor-section.component.ts & dataset-profile-editor.component.ts & dataset-profile-editor-composite-field.component.ts: Remove AngularEditorConfig (this is set in RichTextEditorComponent).
3. dataset-profile.module.ts: Instead of AngularEditorModule, import RichTextEditorModule (common component where rich text editor is set).
4. styles.scss: Moved css for angular editor to dedicated css file (src/app/library/rich-text-editor/rich-text-editor.component.scss) and keep here only "form-field-subscript-wrapper" class.
2021-11-01 15:10:00 +02:00
Konstantina Galouni 7bdfcb70af Created common component for rich text editor configuration & added rich text for dmp and dataset description.
1. library/rich-text-editor: [NEW] Common component which configures a rich text editor.
2. dataset-editor.component.html & main-info.component.html: Use <rich-text-editor-component> to allow rich text in dataset and dmp description.
3. dataset-overview.component.html & dmp-overview.component.html: Show dataset and dmp description as innerHTML.
4. dataset.module.ts & dmp.module.ts: Imported RichTextEditorModule.
2021-11-01 14:45:02 +02:00
George Kalampokis 6ff9ea2d05 When exporting to word/PDF HTML styled text, make <br> tag to be parsed once 2021-11-01 11:49:20 +02:00
George Kalampokis 0010ad846a When exporting to word/PDF HTML styled text, it will be preperly indented and it can read the change line character 2021-11-01 11:39:43 +02:00
George Kalampokis 5a66754cbd Make DMP language Mandatory and set default language to English 2021-10-29 15:08:58 +03:00
George Kalampokis fd26e2a742 Fix issue with DMP index not updating after a new user is invited 2021-10-27 18:16:44 +03:00
George Kalampokis 900a377d5f Fix critical issue with RDA Comoon Standard text load 2021-10-26 17:54:58 +03:00
George Kalampokis 93baa4a281 Add support for more html tags on the Document/PDF exporter 2021-10-26 16:21:28 +03:00
George Kalampokis 2c29469590 Allow to configure the path of the email templates (ref #7122) 2021-10-25 16:06:08 +03:00
Kristian Ntavidi ae0618d5be Fix multiplicty bug on Admin Template Editor. 2021-10-20 13:41:04 +03:00
George Kalampokis 8e2fea2ea0 Merge remote-tracking branch 'origin/Development' into Development 2021-10-20 12:42:21 +03:00
George Kalampokis e66362ec38 Add prometheus metric for the number of grants used based on DMP status (ref #6462) 2021-10-20 12:42:08 +03:00
George Kalampokis 35c4ec821e Add a special query logic with group by and count 2021-10-20 12:40:44 +03:00
Konstantinos Triantafyllou 81a5964a55 Remove google client id, commited by mistake 2021-10-19 11:50:24 +03:00
Konstantinos Triantafyllou 7a3f3f2fd5 Add reordering for inputs in a dataset template 2021-10-19 11:08:38 +03:00
Konstantina Galouni eeb5479a98 form-composite-title.component.html: [Bug fix] Show "view more/less" functionality only if there is extendedDescription. 2021-10-15 13:56:45 +03:00
Diamantis Tziotzios c3f28936af Dockerfile update 2021-10-13 18:47:41 +03:00
Diamantis Tziotzios 887789d9e5 Dockerfiile update 2021-10-13 18:17:53 +03:00
George Kalampokis e8366aa61a Fix critical issue with dataset pagination 2021-10-13 17:50:15 +03:00
George Kalampokis 942782fe3c Use metrics predifined names instead of plain Strings 2021-10-13 17:49:32 +03:00
George Kalampokis d0d918682b Refactor remote fetcher and made it independent of sun libraries 2021-10-13 17:48:46 +03:00
George Kalampokis 65644c3a35 Add extra sanity checks 2021-10-13 17:47:50 +03:00
George Kalampokis 045dd51014 Prevent the selection of an already selected dataset Templates 2021-10-13 16:10:56 +03:00
George Kalampokis 32e299fc45 Merge remote-tracking branch 'origin/Development' into Development 2021-10-13 11:49:17 +03:00
Konstantina Galouni f9bf688085 dataset-wizard.component.html: Added in dropdown list "Save & Continue" option (same as Save). | assets/i18n/: Added DATASET-WIZARD.ACTIONS.SAVE-AND-CONTINUE in language files. 2021-10-12 18:53:07 +03:00
George Kalampokis a4fef8e462 Refactor PDF conversion 2021-10-12 18:17:16 +03:00
Konstantina Galouni 198061aeaa Description boxes in admin forms replaced with rich text editor <angular-editor>.
1. dataset-profile-editor-composite-field.component.ts & dataset-profile-editor-section.component.ts & dataset-profile-editor.component.ts: Initialize AngularEditorConfig.
2. dataset-profile-editor-composite-field.component.html & dataset-profile-editor-section.component.html & dataset-profile-editor.component.html: Use <angular-editor> in description.
3. multiple-auto-complete.component.html & dataset-profile-listing.component.html & form-section.component.html: Show description as html.
4. dataset-profile.module.ts: Imported HttpClientModule, AngularEditorModule (needed for <angular-editor>).
5. available-profiles.component.html: Show description as html, under the Dataset Template title, not as tooltip (matTooltip does not receive html).
6. available-profiles.component.ts: Added styleUrls: ['available-profiles.component.scss'].
7. available-profiles.component.scss: [NEW] Added css for class "list-option" to cut description if too long.
8. form-composite-title.component.html: Show description and extendedDescription as html | Add view more/less functionality to show/hide extendedDescription.
9. form-composite-title.component.ts: Added "public showExtendedDescription: boolean = false;" field.
10. form-composite-title.component.scss: Added css for "more" class, to make "view more/less" seem like link.
11. assets/i18n/: In language files added DATASET-EDITOR.QUESTION.EXTENDED-DESCRIPTION.VIEW-MORE (-LESS).
12. assets/styles.css: Added css for <angular-editor>, to be similar to the other text areas and forms.
2021-10-12 18:14:22 +03:00
George Kalampokis 1a821179db Even more Fixes over dashboard's sorting 2021-10-12 18:06:14 +03:00
George Kalampokis 6de12fd0e8 Fix issue with RDA Common Standards 2021-10-12 18:05:38 +03:00
George Kalampokis 29919f981a Fix issue with recent activity sorting 2021-10-12 15:41:20 +03:00
George Kalampokis 7fe84d7de5 Eliminate Duplicate user when making a new version 2021-10-08 16:52:01 +03:00
George Kalampokis a3af8ce3a5 Merge branch 'spring-update' into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/controllers/Admin.java
#	dmp-backend/web/src/main/java/eu/eudat/controllers/Login.java
#	dmp-backend/web/src/main/java/eu/eudat/controllers/UserGuideController.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DataManagementPlanManager.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DatasetManager.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DatasetProfileManager.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/MetricsManager.java
2021-10-08 16:04:52 +03:00
George Kalampokis 0e97e6c0a8 Fix issues with external sources 2021-10-08 12:14:09 +03:00
George Kalampokis 1d48ee81b9 Add additional null check for Elastic's Dmp Repository 2021-10-08 11:18:22 +03:00
George Kalampokis 9919886c26 Fix issues with dataset sorting on Dashboard with Elasticsearch 2021-10-08 11:02:56 +03:00
George Kalampokis 77d50773b8 Merge branch 'improved_queries' into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DataManagementPlanManager.java
2021-10-07 11:05:19 +03:00
George Kalampokis 0506f2d3a3 Merge remote-tracking branch 'origin/Development' into Development 2021-10-06 18:17:47 +03:00
George Kalampokis 524cededb6 Fix issue when exporting to docx/pdf 2021-10-06 18:16:39 +03:00
Kristian Ntavidi 74ec2126f0 Visibility Rules fix
* Reduce sourceValue visibility value based on logic.
2021-10-06 16:32:06 +03:00
George Kalampokis cb1d7b5340 Replace altChunk html to docx with direct parsing (manual) 2021-10-06 15:15:41 +03:00
George Kalampokis ef5e6a92e0 Fix critical issue with Dataset Template xml import 2021-10-06 15:02:21 +03:00
George Kalampokis 70538850a2 Merge remote-tracking branch 'origin/Development' into Development 2021-10-06 14:40:39 +03:00
George Kalampokis 407961e137 Fix critical issue with DMP queries without elastic 2021-10-06 14:21:54 +03:00
Kristian Ntavidi 907ad14269 #7028 Text area fields minRows defaults to 3 2021-10-06 12:25:44 +03:00
George Kalampokis 3ec942cfa7 Add support for Html text when exporting to docx (alpha) 2021-10-05 17:58:46 +03:00
George Kalampokis 54c862ecbb Minor metrics refactor 2021-10-05 13:09:02 +03:00
George Kalampokis b66bde871a Fix issue of new DMPs not showing on the user's listing with elasticsearch active (#7010) 2021-10-05 12:56:20 +03:00
George Kalampokis 67b10528e3 Fix db creation scripts for linux 2021-10-01 12:37:20 +03:00
George Kalampokis 0886424b29 Fix db creation scripts for linux 2021-10-01 12:36:43 +03:00
George Kalampokis 91729bab6d Optimize queries 2021-09-30 18:02:53 +03:00
George Kalampokis defac6afcc Fix issue with date formats on RDA import 2021-09-28 14:17:03 +03:00
George Kalampokis fc7c39081a Improve configuration loader 2021-09-28 14:15:50 +03:00
George Kalampokis 99e4d231c2 Possible patch some leaks 2021-09-27 18:14:21 +03:00
George Kalampokis 06364873ca Fix issue with unordered multiplicity fields 2021-09-27 18:11:55 +03:00
Kristian Ntavidi faeb7e0d62 improvement on computing ordinal on mutliplicity fields 2021-09-27 16:25:17 +03:00
Diamantis Tziotzios 9cac208546 upgrade to Angular 12 2021-09-24 21:52:14 +03:00
Kristian Ntavidi d229189783 Visibility rule service refactor.
* Take into account other dependencies
* OR and AND logic support
2021-09-20 21:34:20 +03:00
Kristian Ntavidi b40e30ee60 Fix issue with visibility rules on multiplicity fields.
* Append new visibility rules on creation of multiplicity item
* Compute visibility rules for multiplicityItems on loading data (Researchers page)
2021-09-20 14:34:09 +03:00
Kristian Ntavidi ba865c9708 Dataset Editor (Researchers Page). Incrementing ordinals on multiplicity items. 2021-09-17 12:12:48 +03:00
George Kalampokis 1ae2788453 Fix various issues with spring update 2021-09-14 17:43:02 +03:00
Kristian Ntavidi 52c26cd864 Admin Dataset editor guard fix. 2021-09-09 09:09:27 +03:00
George Kalampokis a805e823e5 Merge branch 'spring-update' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into spring-update
# Conflicts:
#	dmp-backend/web/src/main/resources/config/application.properties
2021-09-07 11:05:39 +03:00
George Kalampokis 0257ff713b Remove the actuator from the prometheus path 2021-09-07 10:29:57 +03:00
George Kalampokis 6f92409f1e Update Spring boot framework to version 2.5.2 2021-09-07 09:42:31 +03:00
Kristian Ntavidi 0780c629c9 about how it works text updates 2021-08-30 20:57:21 +03:00
George Kalampokis 93ba59ef5a Fixed word parsing issue with datasetIdentifier and validation fields 2021-08-27 12:58:06 +03:00
George Kalampokis bfbc271b56 Fix elastic dataset consistency (impacts memory) 2021-08-24 17:05:28 +03:00
George Kalampokis c964af25b5 Fix critical issue with public dataset query 2021-08-23 11:48:29 +03:00
Diamantis Tziotzios 6bc5aaed25 pt user guide update 2021-08-16 18:36:10 +03:00
George Kalampokis 5de811a76d Vastly improve and optimize DMP and Dataset Queries (and with elastic) 2021-08-04 18:38:49 +03:00
George Kalampokis ce8b49deb0 Fix issue with DMP disappearing when editing Datasets 2021-08-03 12:15:54 +03:00
George Kalampokis 6ccdeddf65 Merge remote-tracking branch 'origin/Development' into Development 2021-08-02 18:31:21 +03:00
George Kalampokis 4e87bd270e Improve error handling when user has no zenodo access token 2021-08-02 18:31:10 +03:00
Diamantis Tziotzios e185e94684 pt userguide update 2021-07-30 11:15:54 +03:00
George Kalampokis 6a2099c2b9 Add user role check up when it's getting dataset profiles for the manager listing 2021-07-26 10:28:58 +03:00
George Kalampokis f01e89799b Merge remote-tracking branch 'origin/Development' into Development 2021-07-23 18:29:40 +03:00
George Kalampokis 9da0f4e776 Allow to re insert users on Dataset profile 2021-07-23 18:27:49 +03:00
Kristian Ntavidi a7abe6c2d8 minor fix 2021-07-23 17:09:12 +03:00
Kristian Ntavidi 06961c0254 Deactivate Guard on dataset template editor 2021-07-23 17:03:29 +03:00
Kristian Ntavidi 1be8e8e8f9 Fix side actions on template editor z-index issue 2021-07-23 14:27:40 +03:00
Kristian Ntavidi 501a7175e8 Users on template editor 2021-07-23 14:16:59 +03:00
Kristian Ntavidi d8a2ad281c Animations on admin template editor (partial) 2021-07-23 13:16:40 +03:00
Kristian Ntavidi 59e3af2fa0 Fix adding dataset dropdown on datasets listing
* Get timecreated from backend
* Protect front from crashing when creationTime is not provided
2021-07-23 12:05:07 +03:00
Kristian Ntavidi 4c22799f91 Bug fixes on dataset templates editor Admin (partial)
* Make use of observables instead of setTimeouts
* Remove not nessecary calculations
2021-07-23 11:23:35 +03:00
Kristian Ntavidi 1d397d28cf Add ability to scroll on table of contents (dataset templates admin) 2021-07-21 16:41:38 +03:00
Kristian Ntavidi 008b6321ea Error dialog component on dataset wizard (update)
* On single error case, show it indepentently (not as list item)
2021-07-21 12:25:13 +03:00
Kristian Ntavidi a212f4e5a1 Subtle border on invalid emails inputs (in invitation dialog)
* Mutli auto compolete component extended
2021-07-21 12:16:22 +03:00
George Kalampokis 7ab5c56072 Merge remote-tracking branch 'origin/Development' into Development 2021-07-21 11:17:51 +03:00
George Kalampokis 596550d3de Extend user token duration to 10 days 2021-07-21 11:17:32 +03:00
Kristian Ntavidi 1b731fdf20 Changes on multi-auto complete component.
* Give precedence on autocomplete option-selected over onblur.
* Invitation dialog on blur commit given email till that time, on emails list.
2021-07-21 11:09:13 +03:00
Kristian Ntavidi 5ddb7df2b4 Finalize dataset from dataset editor.
* Finalize dataset from dataset editor.
* Finalize dataset on dataset overview redirects you to dataset editor
* Grouping save action buttons
2021-07-20 13:32:40 +03:00
George Kalampokis c91059c854 Get latest available dataset profile instead of the version that is selected on the DMP 2021-07-20 12:55:52 +03:00
George Kalampokis 75d9726bca Fix issue with xml export of autocomplete and multiautocomplete fields 2021-07-20 12:23:55 +03:00
George Kalampokis 15af25e292 Fix issue saving array of data from dataset 2021-07-20 11:37:28 +03:00
George Kalampokis 6fd81a9809 Merge remote-tracking branch 'origin/Development' into Development 2021-07-19 18:35:00 +03:00
George Kalampokis 016acaaa0f When counting organizations for the user count only the active ones 2021-07-19 18:34:29 +03:00
George Kalampokis 4b3468d513 Fix issue when validating dataset for finalization (needs rework) 2021-07-19 18:31:16 +03:00
George Kalampokis 1512d0c424 If BooleanDecision has no value thenm return null when exporting to docx and pdf 2021-07-19 14:08:48 +03:00
Kristian Ntavidi ee0c7df170 Pt translations on dataset-profiles-editor / listing 2021-07-15 17:12:17 +03:00
Kristian Ntavidi c33ffc153b Try translate finalize errors messages on Pt. 2021-07-13 10:42:36 +03:00
Kristian Ntavidi e793f10828 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-07-09 13:03:16 +03:00
Kristian Ntavidi cce9df8eb7 Fixes
* Feedback message on error saving dataset.
* Unsubscribe backend calls on dashboard component destroy.
2021-07-09 13:03:09 +03:00
Diamantis Tziotzios ad245dde5d Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-07-07 20:40:24 +03:00
Diamantis Tziotzios b8b78f6653 user guide path fix
(cherry picked from commit bd15b1e2c7)
2021-07-07 20:40:00 +03:00
Diamantis Tziotzios 895dbcf098 Revert "user guide path fix"
This reverts commit bd15b1e2c7.
2021-07-07 20:39:41 +03:00
Diamantis Tziotzios bd15b1e2c7 user guide path fix 2021-07-07 20:39:22 +03:00
Kristian Ntavidi 6e21ad127d Language Pt fix 2021-07-07 08:17:48 +03:00
George Kalampokis d603fed61f When new version is made keep all it's contributors 2021-07-06 16:56:37 +03:00
George Kalampokis 1c22ed2321 Add extraProperties for xml export/import and restore pdf export for zenodo deposit 2021-07-06 16:33:46 +03:00
George Kalampokis faabd343a9 Improve error handling
(cherry picked from commit d5cd90814a)
2021-07-06 13:41:09 +03:00
George Kalampokis e5a929f259 Fix issues with xml import and issues with zenodo deposit
(cherry picked from commit efe177f0b1)
2021-07-06 13:40:15 +03:00
George Kalampokis d5cd90814a Improve error handling 2021-07-06 13:33:58 +03:00
George Kalampokis efe177f0b1 Fix issues with xml import and issues with zenodo deposit 2021-07-06 12:58:38 +03:00
George Kalampokis d1fc10854c Fix issue with zenodo depositions
(cherry picked from commit c57e10a033)
2021-07-06 12:15:49 +03:00
George Kalampokis cfff87b7d0 Merge remote-tracking branch 'origin/Development' into Development 2021-07-06 10:29:33 +03:00
George Kalampokis c57e10a033 Fix issue with zenodo depositions 2021-07-06 10:29:14 +03:00
Kristian Ntavidi 684d784d1a Routing updates.
* Start new dmp Button navigates you to home.
* Login page redirects you to home page if user is already logged in.
2021-07-06 09:46:27 +03:00
Kristian Ntavidi 3e98297da9 Pt language updates. 2021-07-06 09:37:41 +03:00
George Kalampokis 2537923dc0 Fix various critical issues
(cherry picked from commit 244bfa5c54)
2021-07-05 11:10:11 +03:00
George Kalampokis 244bfa5c54 Fix various critical issues 2021-07-02 14:02:32 +03:00
George Kalampokis c1adbe283a Improvements over MS Word Document export
(cherry picked from commit 4e3b98f1ff)
2021-06-30 18:48:20 +03:00
George Kalampokis 1c365a191e Minor Update
(cherry picked from commit 295750684f)
2021-06-30 18:48:13 +03:00
George Kalampokis 4e3b98f1ff Improvements over MS Word Document export 2021-06-30 17:17:17 +03:00
George Kalampokis 295750684f Minor Update 2021-06-30 14:09:29 +03:00
Kristian Ntavidi 82c5586067 Dataset and dmp overview fix.
* Fix edit issue when multiple users have ownership of the same dmp/dataset.

(cherry picked from commit fd9d35aad3)
2021-06-30 13:38:53 +03:00
Kristian Ntavidi 57d1cf89b4 Dataset overview fix. Actions on unlocked dataset. 2021-06-30 13:01:33 +03:00
George Kalampokis 04f230dff1 Fix critical issue with dataset's copy dropdown
(cherry picked from commit d1e3aae36d)
2021-06-30 12:52:32 +03:00
George Kalampokis d1e3aae36d Fix critical issue with dataset's copy dropdown 2021-06-30 12:51:12 +03:00
George Kalampokis f9814d3302 Update Spring boot framework to version 2.5.2 2021-06-29 14:33:57 +03:00
George Kalampokis 72d88d9db4 Fix listing issues and improve elastic query
(cherry picked from commit dcd7f24cac)
2021-06-29 14:25:38 +03:00
George Kalampokis dcd7f24cac Fix listing issues and improve elastic query 2021-06-29 11:45:20 +03:00
George Kalampokis 143a4c0214 Reduce severity
(cherry picked from commit 03b7699973)
2021-06-25 19:31:45 +03:00
George Kalampokis 03b7699973 Reduce severity 2021-06-25 19:29:51 +03:00
George Kalampokis e7e5ed02b3 Add query db fallback for DMPs
(cherry picked from commit d1df83f689)
2021-06-25 19:28:29 +03:00
George Kalampokis d1df83f689 Add query db fallback for DMPs 2021-06-25 19:27:02 +03:00
George Kalampokis b5fcc5971e Fix various library issues with postgres and elastic
(cherry picked from commit 4a4042d621)
2021-06-25 12:46:09 +03:00
George Kalampokis 4a4042d621 Fix various library issues with postgres and elastic 2021-06-25 12:32:58 +03:00
Diamantis Tziotzios c16c35225f Merge branch 'Development' 2021-06-25 08:50:27 +03:00
Kristian Ntavidi d878562d3d Ui fixes on landpage (static pages) 2021-06-24 16:00:21 +03:00
Kristian Ntavidi e486169ae5 EOSC section added in index page (static page)
**Missing one link
2021-06-24 12:46:31 +03:00
George Kalampokis a48ac5fa0f When exporting external dataset fields, export and it's type 2021-06-23 17:29:45 +03:00
Kristian Ntavidi ef7de5efe3 External Dataset type (newly added field). 2021-06-23 11:50:10 +03:00
Kristian Ntavidi 1a6df44eeb Add deactivate guards in dataset editor and dmp editor. 2021-06-23 10:54:05 +03:00
George Kalampokis 25286603c8 Merge remote-tracking branch 'origin/Development' into Development 2021-06-22 18:30:08 +03:00
George Kalampokis 11b4d462cf Add type to External Datasets Data 2021-06-22 18:29:58 +03:00
Kristian Ntavidi d90ab00833 DMP Profile listing. Restyle import dialog 2021-06-22 17:51:00 +03:00
Kristian Ntavidi ad0853dc20 DMP profile editor. Basic restyle 2021-06-22 16:48:46 +03:00
Kristian Ntavidi e2f262b385 Popup dialog on locked DMP/Datasets overview / editors 2021-06-22 14:12:58 +03:00
Kristian Ntavidi c9b376f76c Restyle DMP profile listing (Admin Pages) 2021-06-22 13:00:58 +03:00
Kristian Ntavidi 9cc765e7f5 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-06-17 19:12:57 +03:00
Kristian Ntavidi 72b18b7770 Remove mat select ellipses. Wrap text below. 2021-06-17 19:12:47 +03:00
George Kalampokis 42a22b4a65 Improve external researcher support 2021-06-17 18:48:18 +03:00
George Kalampokis 885f897adc Fix issue when updating researchers from DMP 2021-06-17 18:01:47 +03:00
George Kalampokis e94944abb1 Merge remote-tracking branch 'origin/Development' into Development 2021-06-17 13:58:36 +03:00
George Kalampokis 78186fb96d If the invitation is accepted then send the user to the accepted DMP if the user click again the link from the email 2021-06-17 13:58:28 +03:00
Kristian Ntavidi 92b60c7c90 DMP editor. Show popup dialog when dmp is locked. 2021-06-17 12:52:01 +03:00
Kristian Ntavidi 9161dbda56 UI fixes and bug fixes
* Member of dmp cannot see dmp editor anymore. Redirects to overview
* Hide percentage bar in dmp editor when editor is disabled (when finalized or locked)
* Change font sizes on Resource page (static pages)
* Fix issue of indeterministic disabled on DMP editor.
2021-06-17 12:25:46 +03:00
Kristian Ntavidi 22ddc1311f Admin Template Edtor. UI fix: toolbox scroll till the end of the question card. 2021-06-16 16:10:48 +03:00
Kristian Ntavidi 19bb843fe6 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-06-16 15:52:47 +03:00
Kristian Ntavidi f4591549c2 Admin Dataset Template Editor and Dataset profile editor UI improvemenets.
[Admin Template Editor]:
* Add question underneath each question and in the table of contents
* "Make conditional question" changed position
* Small restyles in required toggler and question preview component
* Input icons update
* Scrolling on top of question

[Dataset Editor]:
* Show asterisk on required fields

Pt language updates
2021-06-16 15:52:39 +03:00
Diamantis Tziotzios 6c6cc061fc Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-06-15 15:43:56 +03:00
Diamantis Tziotzios d3d6c4a6aa prometheus fix 2021-06-15 15:43:45 +03:00
George Kalampokis 1eb9aadaea IGNORE ME 2021-06-15 11:25:11 +03:00
Kristian Ntavidi 54b2661ebd Ui fixes.
* Fix issue on table of contents in dataset editor. Invalid fields that are hidden via visibility rules, are not computed in in the validity of the tocEntry.
2021-06-15 09:58:51 +03:00
George Kalampokis c193dd2c09 Fix numbering issue with word and PDF export 2021-06-14 18:01:29 +03:00
George Kalampokis e615c403d3 Final fix over storing array of data from Datasets 2021-06-14 18:01:04 +03:00
George Kalampokis dcf88479bd Allow to store and retrieve combobox multivalues with commas 2021-06-14 14:21:27 +03:00
Kristian Ntavidi add23dab2f Grant search fix.
* Change the way the single auto complete refreshes.
* Remove some unnecessary code.
2021-06-14 01:46:29 +03:00
Kristian Ntavidi d9826095bc Dmp editor. Fix issue on selecting grant after search. 2021-06-11 15:35:47 +03:00
Kristian Ntavidi bb80cfd300 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
# Conflicts:
#	dmp-frontend/src/assets/i18n/tr.json
2021-06-11 12:20:57 +03:00
Kristian Ntavidi a3c9df87df Add validate button on Dataset Wizard. Show in red invalid fieldsets in table of contents 2021-06-11 12:16:50 +03:00
Diamantis Tziotzios ef3c2e4e83 lang update 2021-06-08 20:26:45 +03:00
George Kalampokis be311f238b Add visibility rules checkup on dataset finalize checkup 2021-06-01 12:30:01 +03:00
Diamantis Tziotzios f5d266554b Merge commit 'ca91c14114b8994d41fdf2b97fc6d1a4d82ffa4e' 2021-05-19 14:22:47 +03:00
Diamantis Tziotzios 5483847754 culture service workaround 2021-05-19 14:22:03 +03:00
George Kalampokis 8a5f9d3536 Add support for nested sections 2021-05-18 13:45:41 +03:00
Diamantis Tziotzios ca91c14114 pt lang update 2021-05-12 13:56:14 +03:00
Kristian Ntavidi 29ad55b3f8 Invitation fix.
Fixing  issue when user opens invitation without being logged id.
2021-05-11 11:50:25 +03:00
George Kalampokis b76a787972 Hide grants without any active dmp 2021-05-10 17:17:08 +03:00
George Kalampokis 95f8eb15c9 Even more fixes for imports and exports 2021-05-10 16:55:44 +03:00
George Kalampokis b13f36afe8 Merge remote-tracking branch 'origin/Development' into Development 2021-05-10 16:10:27 +03:00
George Kalampokis 6f658db27f Fix issues with import and export of dataset template 2021-05-10 16:10:18 +03:00
Kristian Ntavidi 9eb1c12afd DMP Overview. Provide user feedback of invalid datasets on finalize. Prevent user from submitting invalid Datasets. 2021-05-10 15:51:10 +03:00
George Kalampokis 1d5befaf6a Add new endpoint in order to validate datasets 2021-05-10 13:40:08 +03:00
George Kalampokis 15c3a6fcb5 Export properly the data for each field type on dataset templates 2021-05-07 14:38:21 +03:00
George Kalampokis af432cf329 Fixed issue with multiplicity fields 2021-05-06 18:58:55 +03:00
Kristian Ntavidi c157ecc4e7 Admin template editor. Fix invalid visibility rules case. 2021-05-05 15:50:20 +03:00
Kristian Ntavidi 9ccae4d2c7 Admin template Editor. Temporary patch. Make value unrequired in visibility rules. 2021-05-05 13:04:30 +03:00
Diamantis Tziotzios ae2168b2d7 bug fix regarding template import 2021-05-05 11:20:43 +03:00
Kristian Ntavidi b825a80e61 DMP Editor patch: Form is not invalid invalid anymore when change from createnew funder to existing 2021-04-30 16:42:59 +03:00
Kristian Ntavidi b82398d97e DMP Editor. Organizations identifier query params patch. 2021-04-30 16:14:13 +03:00
George Kalampokis a155f2cbec Allow to search organizations based on reference 2021-04-30 15:25:31 +03:00
George Kalampokis fe8a0ff109 Fix vaious issues with organizations 2021-04-30 14:45:00 +03:00
Kristian Ntavidi a8f75aafb9 DMP Editor. Prefixing queries on searching existing identifiers. 2021-04-30 14:34:28 +03:00
George Kalampokis 8a7cfab3b8 Fix various issues 2021-04-30 13:10:11 +03:00
George Kalampokis cdae5ae574 Fix minor issues when creating a researcher 2021-04-30 11:08:06 +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 a28e26e594 Allow to query using exact reference 2021-04-29 11:58:03 +03:00
George Kalampokis 8f2e0539d5 Merge remote-tracking branch 'origin/Development' into Development 2021-04-29 11:29:00 +03:00
George Kalampokis df5281eeaa Allow to manually add reference 2021-04-29 11:28:46 +03:00
Kristian Ntavidi 57910d8271 Sort languages alphabetically 2021-04-28 12:16:08 +03:00
Kristian Ntavidi e9e953aee3 Bug fixes and language updates.
Admin Templates listing table fix. When a filter is applied, gets you to the first page. Total templates number fix .
Admin Template Editor. Enable editing Description in finalized templates.
Dataset wizard. Fix NaN in total progress when finalized. (remove all edit/save actions).
Portuguese language update.
2021-04-27 23:33:30 +03:00
George Kalampokis 501ca9fcc2 Put elastic search index into the configurations 2021-04-27 16:53:15 +03:00
George Kalampokis 77bcb95ad7 Fix issues when cloning dataset templates 2021-04-27 10:38:20 +03:00
George Kalampokis e5264780c3 When finalize DMP properly finalize it's datasets first 2021-04-21 18:21:52 +03:00
Diamantis Tziotzios ede8bbf48e metrics update 2021-04-15 18:30:16 +03:00
Kristian Ntavidi c6b8ad5639 Adrim template editor. Save and discard buttons on the left side. 2021-04-14 09:57:30 +03:00
Kristian Ntavidi 66d9f41081 Admin template editor. Move save/delete/update buttons on top. Add "Back to top" button. 2021-04-13 16:27:29 +03:00
George Kalampokis 961a4df270 Add total Users metric 2021-04-13 12:19:55 +03:00
Kristian Ntavidi e801bbf2e2 User Dataset Editor. Table of contents loads properly on saved template. Table of contents and tempalte description have the same visibilityRules service. 2021-04-13 11:19:09 +03:00
George Kalampokis 12a1f7da12 Merge remote-tracking branch 'origin/Development' into Development 2021-04-13 10:46:14 +03:00
George Kalampokis 3d9a2b2331 Fix various issues with various template fields 2021-04-13 10:46:06 +03:00
Kristian Ntavidi 198eb838c5 User Dataset Editor. Pages/ Sections/Fieldsets that have all inputs hidden, are hidden as well (Both on template and table of contents). 2021-04-12 19:08:09 +03:00
George Kalampokis 4a1f260849 Merge remote-tracking branch 'origin/Development' into Development 2021-04-12 12:12:36 +03:00
George Kalampokis 48730e7937 Fix issue when accessing dataset profile users when there are no users. 2021-04-12 12:12:21 +03:00
Kristian Ntavidi d038f42021 Users listing component. Fix user roles chips 2021-04-12 12:05:12 +03:00
George Kalampokis c27ff1d446 Add missing metrics counters and made the metrics init task scheduled (per Hour) (ref #294) 2021-04-12 12:00:07 +03:00
George Kalampokis 27bf69268e Fix issue when creating new dataset profile 2021-04-12 10:49:22 +03:00
George Kalampokis aca31dc9da Add prometheus integration (ref #294) 2021-04-09 19:05:04 +03:00
Kristian Ntavidi 23d664a48b Admin Template Editor: table styling. 2021-04-09 17:05:01 +03:00
Kristian Ntavidi 167cae9e59 User guide links update. Placeholders in dataset identifier and validation. Confirmation dialog minor changes. 2021-04-09 11:31:16 +03:00
Kristian Ntavidi 20a92bea9d Dataset Editor scrollspy on Guide Steps.Language text updates. 2021-04-08 18:29:08 +03:00
George Kalampokis c57820d6b1 Remove "External References" from docx generation 2021-04-08 16:48:14 +03:00
Kristian Ntavidi a75f140893 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-04-08 13:00:10 +03:00
Kristian Ntavidi ab9bb3e8cf DMP Editor: remove modal when navigating to dataset. Minor ui fixes. 2021-04-08 12:57:44 +03:00
George Kalampokis dd88167574 Improve names and styling for dataset template users 2021-04-08 12:55:53 +03:00
Kristian Ntavidi 45227cca10 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-04-07 19:20:32 +03:00
Kristian Ntavidi 14c7770ae9 User guide patch. Sorting available profiles in dmp editor. Portuguese on guide tour. 2021-04-07 19:19:22 +03:00
George Kalampokis 4156875bae Refactor and add logic for removing users from Dataset Templates 2021-04-07 19:08:57 +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 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
George Kalampokis 959479757a Add The new user role to the user role listing and editor 2021-04-07 10:25:03 +03:00
George Kalampokis 5ff57a6352 Setup the routing permissions for the dataset Profile 2021-04-07 10:22:41 +03:00
George Kalampokis af04e34b6f Add new User Role Dataset Template Editor. 2021-04-06 19:03:00 +03:00
Kristian Ntavidi 49a15d2ccc Merge branch 'WizardDescriptionRefactor' into Development
# Conflicts:
#	dmp-frontend/src/assets/i18n/pt.json
2021-04-06 10:28:25 +03:00
Kristian Ntavidi 560e6100b7 Dataset Profile Editor: when "select" is created it appends as well an empy option. Recent edited activity "LoadMore" fix. Table of contents: selected entry updates. 2021-04-06 09:57:17 +03:00
George Kalampokis c929eb3a2b When uploading to zenodo upload both pdf and the RDA json files 2021-04-05 14:03:14 +03:00
Kristian Ntavidi 6e70071a16 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-04-05 12:07:33 +03:00
Kristian Ntavidi 450dbb519f Dataset profile editor. Fix: final preview in step does not affect individual previews in step 2. 2021-04-05 12:06:14 +03:00
George Kalampokis 5b930a6870 Export and Import Dataset Template description and language 2021-04-05 11:40:25 +03:00
Kristian Ntavidi 9cab64b65e Dataset Profile Editor. Patch visibility rules for select multiList, Validator and DatasetIdentifier 2021-04-05 11:37:00 +03:00
Kristian Ntavidi dc39cf9fdd Dataset Profile Editor. CheckBox default value preview patch. 2021-04-02 12:59:24 +03:00
Kristian Ntavidi ee1c09149e Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-04-01 18:59:00 +03:00
Kristian Ntavidi b04e2b3482 Dataset profile Editor. Ui fixes. Visibility Rules fix. 2021-04-01 18:57:23 +03:00
Kristian Ntavidi 2df5c6820a Dataset Profile Editor. Drag n drop fix on Import Template. Feedback messages on update/save template. Code cleanups. MultiAutoComplete Preview Fix. 2021-03-31 18:31:57 +03:00
Kristian Ntavidi a3572f92ed Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-30 17:56:51 +03:00
Kristian Ntavidi cc8c771ae5 Dataset profile editor. Ignore invalid data(if any) in previews. Fix Fieldset card changes height after the updated preview component is rendered . Update error messages.Now they use chapter-section namespace. 2021-03-30 17:47:35 +03:00
Kristian Ntavidi 7ebf61a28c Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-30 12:12:35 +03:00
Kristian Ntavidi 67223bc2f0 Dataset profile editor. Minor Fix not building issue. 2021-03-30 12:11:22 +03:00
Kristian Ntavidi a50040cbef Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-30 11:38:20 +03:00
Kristian Ntavidi d667d574af Dataset Profile editor. Create section button on page component. Dataset profile listing: Add Download Option. Minor ui fixes. 2021-03-30 11:36:09 +03:00
Kristian Ntavidi b00e7bbcc0 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-29 18:57:41 +03:00
Kristian Ntavidi c849ea13fe Dataset Profile Editor. Minor ui fix. 2021-03-29 18:56:18 +03:00
Kristian Ntavidi 94ecf92a09 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-29 18:44:14 +03:00
Kristian Ntavidi 7dac466f71 Dataset Profile Editor. Remove validate button. Toolbar next to fieldset.Update icons (most of them). Update texts(Quetions, sections and chapters). Add delete option on template listing. Preview Fieldset instead of each field(Enables multiplicity preview). 2021-03-29 18:42:55 +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 fdf316a040 Dataset Profile Editor. VIsibility rules. Hide Sections from options. Language update for visibility rules. 2021-03-24 16:05:21 +02:00
Kristian Ntavidi 7ff2516ddc Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-24 13:07:49 +02:00
Kristian Ntavidi 8ba546fef4 Dataset Profile Table of contents drag n drop fix. DIstinct ordinals that are on the same level. 2021-03-24 11:40:48 +02:00
Kristian Ntavidi 8cd467cda8 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-23 16:20:27 +02:00
Kristian Ntavidi b6236b7e0d Dataset Profile editor . Scroll timing Fix 2021-03-23 13:52:33 +02:00
Kristian Ntavidi 5e77f78a1c Dataset Profile Editor. Table of contents numbering drag and drop fix. Fix issues in dragging as well. 2021-03-23 12:39:04 +02:00
Kristian Ntavidi 41a1aeaf1f Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-22 19:17:25 +02:00
Kristian Ntavidi 427c04f631 Dataset Profile Editor. Individual preview (needs backend support).
Replace static text with language translation.
Fix scrolling behaviour.
Clean up some code in table of contents.
Patch drag and drop (instant drag) issue.
UI enhancements: validate button and marking on table of contents(Pages when dont have children)
2021-03-22 15:47:45 +02:00
Kristian Ntavidi c8ce77ff81 Dataset Wizard. Fix "Previous" and "Next " steps behaviour. Uncompleted guide steps appear with red when user attempts to save. 2021-03-19 14:32:17 +02:00
Kristian Ntavidi abaf61cf02 DMP Editor. Uncompleted guide steps appear with red color when form is invalid and the user attemps to save. 2021-03-19 13:30:21 +02:00
Kristian Ntavidi 97db10be12 Dataset Wizard. Table Of Contents entries show error state (not visible yet, only implementation). Fix Bug on DMP Editor: "Save & Add" doesn't validate datasets to proceed anymore. 2021-03-19 12:04:01 +02:00
Kristian Ntavidi 6f52f77459 Dataset Wizard bug fix. On save show errors only for the semiform. 2021-03-18 18:02:09 +02:00
Kristian Ntavidi 868de6bf78 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-18 14:53:43 +02:00
Kristian Ntavidi 19ae882af9 Cookies Consent Lax Fix 2021-03-18 14:48:58 +02:00
Kristian Ntavidi 1389b3dbf5 UI Fixes. Panels in wizard expand all the way up to page level (when selected from table of contents). Hide overflown text in table. 2021-03-18 10:52:18 +02:00
Kristian Ntavidi 72d40b0f33 UI Fix. Expansion Panels expand when the selected element is collapsed. 2021-03-17 17:49:42 +02:00
Kristian Ntavidi 9bdc426af1 Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-17 17:26:35 +02:00
Kristian Ntavidi f6f5fd15ae Dataset Profile Editor. Ui navigation fix (clip-path instead of translateX) Use backend service to create previewForm. 2021-03-17 16:29:02 +02:00
Kristian Ntavidi ae378899e2 Dataset description and table-of-contents works with tocentries. 2021-03-17 11:08:59 +02:00
Kristian Ntavidi 720fa60f9b Merge branch 'AdminTemplateRedesign' into WizardDescriptionRefactor 2021-03-16 09:12:49 +02:00
Kristian Ntavidi 4d6e4fb2cd Dataset ProfileEditor Validator fixes. More validators added. Table of contents mark invalid entries. Guided tour fix. Fix ng-deep leaks from user listing. 2021-03-12 18:19:51 +02:00
Kristian Ntavidi 615d30b977 About Page (How it works). Polishing UI. When click red dots navigate to more info tab. Sharpening images. 2021-03-10 18:43:49 +02:00
Kristian Ntavidi 1528b91736 About How it works page Redesign . Basic outline.
(cherry picked from commit e26c700cd3)
2021-03-10 13:11:58 +02:00
Kristian Ntavidi 2924db4409 Show the same numbering in wizard and editor. Sorting by ordinal in wizard description 2021-03-09 10:04:50 +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 938e3b9554 Dataset Profile Editor. Ui fixes. Minimizing ng-deep leaks. Sidenav service. Side nav folds when create-edit template. 2021-03-05 11:05:09 +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 87b79c2049 Dataset profile editor. Minor ui visibility fixes. Table of contents can slide. 2021-03-03 12:13:29 +02:00
Diamantis Tziotzios ca0babc6af added property to dataset external autocomplete criteria 2021-03-03 11:14:43 +02:00
Kristian Ntavidi a4efbb7698 Merge branch 'AdminTemplateRedesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into AdminTemplateRedesign 2021-03-01 18:43:07 +02:00
Kristian Ntavidi 70a99f0d23 Dataset Profile Editor. Error messages before each step 2021-03-01 18:42:18 +02:00
George Kalampokis 535c250bae Fix critical issue when creating comboboxes with the multiple selection untouched
(cherry picked from commit e88f88d97c)
2021-03-01 18:07:04 +02:00
Kristian Ntavidi 081995e243 Dataset Profile editor. Drag and drop navigation table of contents. 2021-03-01 11:28:27 +02:00
Kristian Ntavidi da7f91df96 Dataset Profile Editor. Pipe static text to translation. 2021-02-25 17:53:58 +02:00
Kristian Ntavidi ddd12cbba8 Dataset Profile Editor. Drag and drop with dragula. 2021-02-25 14:17:47 +02:00
Kristian Ntavidi a4db1973d3 Dataset Profile Editor. Fieldsets same level as Section Details. Show all fieldsets in one page collapsed. 2021-02-24 16:56:14 +02:00
George Kalampokis e88f88d97c Fix critical issue when creating comboboxes with the multiple selection untouched 2021-02-23 17:33:55 +02:00
Diamantis Tziotzios 389aa3031c sr lang change 2021-02-23 13:50:54 +02:00
Diamantis Tziotzios 354695f6da sr lang update 2021-02-23 11:28:38 +02:00
Diamantis Tziotzios 3d9c154416 lang update 2021-02-23 11:24:22 +02:00
Kristian Ntavidi 3dde61a379 Dataset Profile Editor. Same level drag n drop on table. UI fixes 2021-02-19 16:35:14 +02:00
Kristian Ntavidi 96ebf7c0d0 Dataset profile editor. Ui fixes. mat-stepper header fix and preview fixes. 2021-02-18 17:13:56 +02:00
Kristian Ntavidi a8074f6239 Dataset profile editor. Minor ui fixes. Languages fixes and visibilities 2021-02-17 19:44:50 +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
Kristian Ntavidi 8579071cf7 Dataset profile editor. Preview step basic implementation. 2021-02-15 19:16:48 +02:00
Kristian Ntavidi 7445ec5042 Dataset profile editor. Dynamic progress bar and confirmation before delete 2021-02-12 16:27:35 +02:00
Kristian Ntavidi 35eb42e631 Redesign dataset profile editor changes. Basic UI outline and functionality. 2021-02-12 13:23:39 +02:00
Diamantis Tziotzios 8a9277f0e6 portuguese language addition
(cherry picked from commit 930ef59936)
2021-02-12 13:06:08 +02:00
Diamantis Tziotzios 930ef59936 portuguese language addition 2021-02-12 13:05:40 +02:00
Diamantis Tziotzios 6470a8e6a6 more dataset profile changes 2021-02-04 12:22:52 +02:00
Kristian Ntavidi 1614945185 More Dataset Profile editor changes 2021-02-04 10:33:03 +02:00
Diamantis Tziotzios 8e93a02019 dataset profile editor redesign - initial commit 2021-02-03 12:21:31 +02:00
Kristian Ntavidi a8bc5d0622 Dataset Template Admin Listing Redesign 2021-02-03 11:06:40 +02:00
Diamantis Tziotzios 3ce5302bac serbian language added 2021-01-26 20:12:37 +02:00
Diamantis Tziotzios 148bba67ce Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2021-01-22 10:32:21 +02:00
Diamantis Tziotzios 3a27f66dc5 ci changes 2021-01-22 10:32:07 +02:00
George Kalampokis c56b7c59ed Fix issue with images not loading on user-guide for local development builds (plus an optional innerHTML alternative (disabled by default)) 2020-12-31 16:34:36 +02:00
George Kalampokis 0367aa0431 Minor improvements 2020-12-31 16:30:35 +02:00
George Kalampokis cf47898007 Improve support of the User guide Editor for the new User Guide htmls 2020-12-30 18:08:10 +02:00
George Kalampokis 8bc3783847 Minor fixes to the user guide htmls 2020-12-29 18:37:58 +02:00
Diamantis Tziotzios f30392864c ci updates 2020-12-16 14:19:58 +02:00
apapachristou 99f780fa4c removes unnecssary cursor pointer from user email 2020-12-15 17:00:33 +02:00
apapachristou 2ed101888d fix syntax on application-devel.properties 2020-12-14 19:37:06 +02:00
apapachristou d8b7161c73 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-12-14 19:31:14 +02:00
apapachristou 558b506643 Add analytics to pages, οverviews, editors etc. 2020-12-14 19:28:13 +02:00
Diamantis Tziotzios af5ab43c2e db pool connection fix 2020-12-14 19:23:10 +02:00
George Kalampokis 4bbcb3d24e Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-12-14 17:34:27 +02:00
George Kalampokis 3477cf25fd Change sql and sh scripts from CRLF to LF 2020-12-14 17:30:15 +02:00
Diamantis Tziotzios eb153e84bc analytics fix 2020-12-14 16:27:07 +02:00
apapachristou 7257be8629 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-12-11 16:53:28 +02:00
apapachristou 0c60af543a Restyles user guide 2020-12-11 16:53:22 +02:00
Diamantis Tziotzios ef0a40b739 export template updated 2020-12-10 17:29:34 +02:00
apapachristou 3e4a61153f with previous commit 2020-12-10 16:15:03 +02:00
apapachristou f94d4bad2b Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
# Conflicts:
#	dmp-frontend/src/app/ui/user-guide/user-guide-content/user-guide-content.component.ts
2020-12-10 15:49:34 +02:00
apapachristou fc689342cb Adds table of contents to user guide 2020-12-10 15:45:55 +02:00
Diamantis Tziotzios 6ea5dfff42 added matomo integration 2020-12-10 15:29:24 +02:00
George Kalampokis ca38f0b0a4 Make user guide multilingual 2020-12-10 11:34:01 +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 b5a9aa9ad3 Fix some styling issues with users listing 2020-12-08 16:25:55 +02:00
apapachristou c62cc1068a Restyles admin page "Users" 2020-12-04 18:26:20 +02:00
George Kalampokis c18e3f8e3c Add null check for additionalInfo to UserListingModel fromDataModel 2020-12-03 14:07:45 +02:00
George Kalampokis d4672f1e60 Merge remote-tracking branch 'origin/Development' into Development 2020-12-02 14:19:57 +02:00
George Kalampokis d6970cc49a Add avatarUrl on UserListingModel 2020-12-02 14:19:43 +02:00
apapachristou f87f8e31af Makes login dialog responsive on add new account 2020-11-27 14:41:27 +02:00
apapachristou 142c9ab5ea Adds dots on all steps of datset editor table of content 2020-11-25 18:45:37 +02:00
apapachristou 2f61e47139 On focus out of autocompletes clear value if not selected option (to be reviewed) 2020-11-25 18:08:51 +02:00
apapachristou 06f156c687 Fix bug on dmp editor that prevented request grants on funder change (change on single autocomplete component to be reviewed) 2020-11-25 14:22:30 +02:00
apapachristou f5d5835edb Style fix on tour guide panel 2020-11-25 13:43:01 +02:00
apapachristou b3d820c892 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-11-24 19:09:15 +02:00
apapachristou 208824f55b Adds guided tour on dashboard for new user 2020-11-24 19:09:10 +02:00
apapachristou c796745c73 Adds language 2020-11-24 19:05:32 +02:00
apapachristou 4c94b48b2b Fix style on confirmation dialog button 2020-11-24 19:04:37 +02:00
George Kalampokis fcd24fd907 Add community when depositing to zenodo (ARGOS). 2020-11-23 18:16:32 +02:00
apapachristou 0542c17aae removes unnecessary console.log and comments 2020-11-20 15:01:57 +02:00
George Kalampokis fc72c014a5 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-11-19 18:39:35 +02:00
George Kalampokis 66358acfcf Replace the openDMP Affiliation on Zenodo with either a configurable
affiliation or the related organizations of the DMP
2020-11-19 18:39:25 +02:00
apapachristou 5c8c1a13b2 Fix bug on dmp filters: keep public status selected on reopen filters 2020-11-19 17:14:38 +02:00
apapachristou e3cfd47edb Fix style on filters dialog 2020-11-19 16:16:28 +02:00
apapachristou 4552525e1c On multiple autocomple inputs removes permanent placeholder inside the container, adds overflow 2020-11-19 10:38:43 +02:00
apapachristou 0159baf8ed Fix style on dialog import dmp from file 2020-11-18 16:23:16 +02:00
apapachristou 52317c10f9 Fix style of buttons on finalize dialogs 2020-11-18 10:58:26 +02:00
George Kalampokis 25d408c113 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-11-18 09:40:40 +02:00
apapachristou 644d616ef8 Add notification messages on click save of user profile 2020-11-17 19:57:39 +02:00
George Kalampokis 54e0ac6ad4 Fix minor issue with DatePipe Greek culture 2020-11-17 16:37:23 +02:00
apapachristou af849b6c36 Style fixes on user profile 2020-11-17 15:46:17 +02:00
apapachristou 8e074c4ca0 Show more actions on cards of listings (max 4 actions) 2020-11-17 13:16:06 +02:00
apapachristou 36ac02e9f9 Change texts on editors 2020-11-17 09:57:52 +02:00
George Kalampokis 1e0b828a48 Prevent to check deleted Datasets when checking which Dataset Templates are in use 2020-11-16 18:31:41 +02:00
George Kalampokis a3d662aed1 Fix minor spelling mistake 2020-11-13 18:29:16 +02:00
George Kalampokis 510142763e Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-11-13 18:26:53 +02:00
George Kalampokis cbbfec2ccc Updated RDA Mapper's Cardinality check 2020-11-13 18:26:09 +02:00
apapachristou b2ea14787c Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-11-12 18:18:14 +02:00
apapachristou 77b9a84105 Fix bug: discard button should disappear after save on dataset editor 2020-11-12 18:18:09 +02:00
Diamantis Tziotzios 4a82e86769 fixes 2020-11-12 17:59:09 +02:00
apapachristou 50fc4612b7 Fix bug on save dataset profile definition 2020-11-12 17:57:09 +02:00
George Kalampokis 0ad797d033 Revert last commit 2020-11-12 16:39:47 +02:00
George Kalampokis d20b8b459a Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-11-12 15:50:44 +02:00
George Kalampokis ffc140f84b When creating or updating Datasets return also the
DatasetProfileDefinition
2020-11-12 15:50:34 +02:00
apapachristou 188fcd539f Style fix: add hover on dialog close button 2020-11-12 10:39:41 +02:00
George Kalampokis 7973e04090 Fix minor issue with identifier validation 2020-11-12 10:14:42 +02:00
George Kalampokis fbff31d287 When changing steps on both editors reset the scroll 2020-11-11 12:32:55 +02:00
George Kalampokis d40265544d Add Validators external urls for both staging and production profiles 2020-11-10 17:40:55 +02:00
George Kalampokis f5533e1b95 Prevent user to send merge request email to itself 2020-11-10 17:39:43 +02:00
George Kalampokis 5d01519415 Fixed various styling issues 2020-11-10 16:53:48 +02:00
apapachristou 6fb7c81cd5 Fix open filters animation 2020-11-10 10:13:08 +02:00
apapachristou bfdbce54c2 Adds date pipe to translate date 2020-11-09 17:14:10 +02:00
apapachristou 8d8dce8973 Adds logout option on smaller screen account menu 2020-11-09 11:34:24 +02:00
George Kalampokis 8161d382ad Fixed minor external url issue 2020-11-09 10:32:55 +02:00
George Kalampokis cda31be0bd Allow remote fetcher to retrieve data with POST requests and added a new
OpenAire repository source
2020-11-06 18:45:20 +02:00
George Kalampokis eae7f22f72 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-11-06 16:29:50 +02:00
George Kalampokis 2ff9b95fdf Made identifier validation field to work properly 2020-11-06 16:29:33 +02:00
apapachristou 523a551e0a with previous commit 2020-11-06 14:21:32 +02:00
apapachristou 3a8d426d22 Adds hover on all close buttons 2020-11-06 14:21:14 +02:00
apapachristou 0bd5afffe1 Fix: on save of datset, table of contents remains open 2020-11-06 12:42:31 +02:00
apapachristou 2313cd1ca5 Fixes align of icons on listing card items 2020-11-06 11:05:05 +02:00
apapachristou aa35725823 Fixes profile/login menu on mobile mode 2020-11-06 11:00:19 +02:00
apapachristou f8753de83a Styles close button everywhere 2020-11-06 10:57: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 da9872576e Initial commit for the new Dataset Template Field (identifier validator) 2020-11-05 18:20:37 +02:00
Diamantis Tziotzios 078d472859 db script fix 2020-11-04 18:57:42 +02:00
George Kalampokis 2ed23c4676 Fix various issues and styling of the language editor 2020-11-04 16:58:24 +02:00
George Kalampokis 07e8c51b79 On Dataset Template Editor properly stringify error objects 2020-11-04 16:55:45 +02:00
George Kalampokis 70056bd0a9 Fix issue with login for new users 2020-11-04 16:52:10 +02:00
George Kalampokis 47d5d8cb9e Fix another minor DBVersion issue with the DB creation scripts 2020-11-04 16:38:59 +02:00
George Kalampokis 2d3dfbf919 Fix minor issue with one of the DB update scripts 2020-11-04 16:28:14 +02:00
apapachristou 0e906cb4b9 Fixes compile error 2020-11-02 18:25:51 +02:00
apapachristou b13dab598f After dmp save remain at the same position 2020-11-02 18:18:49 +02:00
apapachristou abfb6342b2 with previous commit 2020-11-02 18:14:10 +02:00
apapachristou d0d98bc520 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
# Conflicts:
#	dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts
2020-11-02 18:11:19 +02:00
apapachristou 0e2d288478 on dataset save remain at the same position 2020-11-02 18:08:25 +02:00
apapachristou 02d79165c4 Fix: search box on listing remain on page if no result 2020-11-02 18:00:42 +02:00
George Kalampokis c391cd5521 Fix issue when saving Datasets 2020-11-02 17:38:19 +02:00
George Kalampokis 86994c73ce Make Section ordinal to be required in the Dataset Template Editor 2020-11-02 17:36:59 +02:00
apapachristou 0c9396bc11 Fix for style layout 2020-10-30 17:56:24 +02:00
apapachristou d043322014 Fix: prevent search from sending asynchronous requests 2020-10-30 17:51:07 +02:00
apapachristou 45979922d5 Fixes style on title of dataset temlate preview and adds margin on expansion panels 2020-10-30 14:15:49 +02:00
apapachristou d27f8301c6 Fixes disappearing search box on dashboard if no results 2020-10-30 13:31:28 +02:00
George Kalampokis df8af6e6cd Trim time on Dataset's modified time in order to match with the Database 2020-10-30 11:29:43 +02:00
George Kalampokis ba5c295187 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-10-29 17:13:15 +02:00
George Kalampokis 2354d9bb5c When calling the createOrUpdate endpoint on the Dataset Controller,
return a DatasetWizardModel instead of the dataset's id
2020-10-29 17:12:59 +02:00
apapachristou 992999a596 Fixes zenodo icon align on user profile 2020-10-29 16:54:50 +02:00
apapachristou e661eb3d0b Removes unnecessary scrollbar from editors 2020-10-29 13:46:10 +02:00
apapachristou 638d5ca98c Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-10-29 12:10:58 +02:00
apapachristou ce6c0f3b20 Fixes position of arrow on auto complete 2020-10-29 12:10:39 +02:00
George Kalampokis 8677cc85b9 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-10-29 12:08:20 +02:00
George Kalampokis 03da1f3f7b When merging users delete the remaining credentials of the user to be
merged
2020-10-29 12:08:09 +02:00
apapachristou 19b751984b Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-10-29 12:04:41 +02:00
apapachristou f1cdacbe33 Removes unnecessary padding on listing 2020-10-29 11:57:20 +02:00
George Kalampokis d77fefc7c5 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-10-29 11:54:28 +02:00
George Kalampokis c1d473f8d4 When merging users remove the email from the user to be merged 2020-10-29 11:54:15 +02:00
apapachristou a926d933e3 Removes auto open of autocomplete panel on invitation dialog open, replace 'invite collaborators" with "invite 2020-10-29 11:44:17 +02:00
apapachristou 2f28e0c8ac Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-10-29 11:35:54 +02:00
apapachristou d889a527e3 Fixes zenodo icon align on profile and adds language 2020-10-29 11:35:48 +02:00
George Kalampokis 35fe6a75fe Merge remote-tracking branch 'origin/Development' into Development 2020-10-27 18:08:35 +02:00
George Kalampokis 4c60b2bb06 When creating a new credential assign the user's email 2020-10-27 18:08:16 +02:00
George Kalampokis ff169ae806 Made User Merge logic functional 2020-10-27 18:06:58 +02:00
apapachristou 7792bed7f6 Fixes invite button clicks on dmp/dataset overview and fixes style on invitation dialog 2020-10-27 14:29:57 +02:00
George Kalampokis eeca52d3ff Prevent login requests to be sent multiple times from the oauth2 dialog 2020-10-27 12:31:45 +02:00
George Kalampokis 22cc8bb3a3 Merge remote-tracking branch 'origin/Development' into Development 2020-10-27 12:06:58 +02:00
George Kalampokis 981eb48d89 Add email for Merge requests 2020-10-27 12:06:32 +02:00
George Kalampokis baf4314a33 Fixed various bugs with the new Login system (prevent to send twice the login request with some providers) 2020-10-27 12:04:57 +02:00
apapachristou 5534f4f4a9 Adds template preview on: clone dialog select template field, dmp upload select template field 2020-10-27 12:04:11 +02:00
George Kalampokis 2b89f646ee Fix emails that are sent with images 2020-10-27 12:01:18 +02:00
apapachristou 7f654cc472 Replace alert box with notification snackbar on dmp overview copy doi 2020-10-27 12:00:02 +02:00
George Kalampokis c8a163f4aa Refactor most login providers in order to work on window popups and add proper login support for the link new user 2020-10-26 18:18:26 +02:00
George Kalampokis df3a5e81a5 Merge remote-tracking branch 'origin/Development' into Development 2020-10-26 18:03:21 +02:00
George Kalampokis 8c2ae8cf46 Add null check on the Organisation fromMap mapper 2020-10-26 18:03:07 +02:00
apapachristou cd618563bf Style changes on buttons 2020-10-26 17:31:39 +02:00
apapachristou 5b78943131 Adds provider icon on listing accounts on profile page 2020-10-26 14:37:34 +02:00
apapachristou 708206c28a Replaces text from "add new account" to "link account" 2020-10-26 13:37:02 +02:00
apapachristou d512ad1389 Fixes bug on closing preview template dialog 2020-10-26 13:34:08 +02:00
apapachristou f0b9b01695 Replace input email dialog with login dialog on add new account 2020-10-26 13:24:39 +02:00
George Kalampokis 96ffbe6670 Updated DB scripts 2020-10-26 13:11:54 +02:00
apapachristou 29c6774558 Adds field "Add account" on profile 2020-10-26 11:57:06 +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
George Kalampokis e1212383ff Add expirimental logic for userMerge (+ some updates for DB) 2020-10-23 18:40:17 +03:00
apapachristou d4ca651411 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-10-23 18:00:03 +03:00
apapachristou 8946ea2fb7 Changes style of title on dmp an dataset card 2020-10-23 17:59:59 +03:00
George Kalampokis 56d6b12555 Add Organization and roleOrganization to the User Info. Also allow to
edit the user's name from the updateSettings
2020-10-23 11:48:27 +03:00
apapachristou 8dd728a85d Fixes on profile page 2020-10-23 11:27:44 +03:00
apapachristou 2c5feb5fa9 Restyles profile page 2020-10-23 10:49:09 +03:00
apapachristou 1d0a375453 Adds preview icon on all profile multiple autocomplete fields 2020-10-20 13:23:22 +03:00
apapachristou 32caed9f6f Adds preview of dataset template, adds delete with spacebar on multiple autocomplete 2020-10-20 13:00:02 +03:00
apapachristou b8f3c5af70 with previous commit 2020-10-19 12:58:55 +03:00
apapachristou 9c2f1b12bd Adds progress bar on dataset editor 2020-10-16 16:48:28 +03:00
apapachristou a631594f5f Changes favicon 2020-10-16 10:22:37 +03:00
apapachristou e179d90f12 Adds progress bar on DMP editor 2020-10-15 13:46:59 +03:00
George Kalampokis f08d8e2e01 When checking for Form Validation errors if the control has no nativeElement then pass as name it's formGroup key, also added some additional checkup for the placeholder parser in the FormValidationComponent 2020-10-13 12:55:11 +03:00
George Kalampokis b878bf9d8f Fix issue when importing from RDA and the predefined template(s) inside the json does not exist on the database 2020-10-13 11:05:01 +03:00
George Kalampokis a78044920a Fixed issues with elastic and last public version 2020-10-12 12:45:32 +03:00
apapachristou f71f9b07e0 gr language update 2020-10-09 15:20:34 +03:00
apapachristou 4c3775232a Adds everywhere snackbar on download rda json failure 2020-10-09 13:04:38 +03:00
apapachristou 02c36c1f61 Fixes bug of actions menu on dataset cards on public listings 2020-10-09 11:21:14 +03:00
apapachristou 71a270137a Fixes flag image scale on contributors page (to be tested) 2020-10-08 23:27:47 +03:00
apapachristou 103f89c0b6 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-10-08 22:21:56 +03:00
apapachristou f575c9550b Fixes bug: filters button dissapearing on empty result list, fixes postion if list is empty 2020-10-08 22:21:49 +03:00
Diamantis Tziotzios 2316dd9b40 sk, tr language updates 2020-10-08 14:39:52 +03:00
apapachristou 20c607d88a Fixes style of dataset description form template 2020-10-07 18:28:53 +03:00
George Kalampokis 202ba64d21 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-10-07 17:30:00 +03:00
George Kalampokis 78903bf930 Add the backend logic to export all users to .csv 2020-10-07 17:29:53 +03:00
apapachristou 129d5c6dda Rename browser tab prefix from "Open DMP -" to "Argos -" 2020-10-07 17:21:07 +03:00
apapachristou 4479a0df80 with previous commit 2020-10-07 16:40:18 +03:00
apapachristou 7439281c50 Adds button to export all user emails (as admin) 2020-10-07 16:35:23 +03:00
George Kalampokis f4f3099b50 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into Development 2020-10-07 14:22:59 +03:00
George Kalampokis 7a3b4a18ca Fixed compile issues 2020-10-07 14:22:37 +03:00
apapachristou 7cc584ac33 Fixes spelling of variable name 2020-10-07 13:14:19 +03:00
apapachristou d856255405 Fixes bug: after discard grant was not set to previous value 2020-10-07 12:42:10 +03:00
apapachristou 166f0f7c37 Fixes grammar of notification "Email was send!"
(cherry picked from commit 2c57e77183)
2020-10-07 11:37:53 +03:00
Diamantis Tziotzios db31597fc0 Merge branch 'Development' 2020-10-07 10:58:45 +03:00
Diamantis Tziotzios e65bce0f5a Merge branch 'ui-redesign' into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/logic/proxy/fetching/RemoteFetcher.java
#	dmp-backend/web/src/main/java/eu/eudat/models/data/external/ResearchersExternalSourcesModel.java
#	dmp-backend/web/src/main/resources/externalUrls/ExternalUrls.xml
2020-10-06 16:43:20 +03:00
apapachristou 9fd33e421b Adds message on submit of contact form 2020-10-06 14:26:57 +03:00
George Kalampokis e2326e1070 Minor refactoring 2020-10-06 11:50:14 +03:00
apapachristou a1b067071a Backend: Fixes modified time check on save dmp without previous reload. Frontend: Adds dialog to proceed to dataset editor on "save & add dataset" 2020-10-06 11:21:15 +03:00
apapachristou 0de0888407 with previous commit 2020-10-05 18:08:42 +03:00
apapachristou 7a71b71d2e Adds link for OpenAIRE’s Guide for Researchers on dashboard card of new user 2020-10-05 18:07:32 +03:00
apapachristou 394fc15018 Fixes style of uppercase and bold subtitles on templates form 2020-10-05 17:58:44 +03:00
apapachristou 6d7a477838 Change input type email to text on field affiliation of contact form 2020-10-05 17:36:56 +03:00
apapachristou d34aef3c94 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-10-05 17:11:53 +03:00
apapachristou f6900a1085 Revert: logo navigate to /home instead of index.html 2020-10-05 17:11:46 +03:00
George Kalampokis 49cd48943a Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-10-05 16:27:43 +03:00
George Kalampokis ae03077795 Fixed various issues with the new externalUrls restTemplate 2020-10-05 16:21:42 +03:00
Diamantis Tziotzios 66ab8a4801 lang files allignment 2020-10-05 15:36:40 +03:00
apapachristou eece6e2171 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-10-05 13:34:28 +03:00
apapachristou c990da25c0 Adds language 2020-10-05 13:34:23 +03:00
Diamantis Tziotzios 0d408ff68a fixes 2020-10-05 12:08:57 +03:00
apapachristou dfe4c38b40 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-10-05 11:34:13 +03:00
apapachristou 34111fc6a9 Adds dialog to specify transition from dmp editor to dataset editor 2020-10-05 11:34:08 +03:00
George Kalampokis c02157be8c Replace HttpUrlConnection with RestTemplate for the external Urls 2020-10-05 11:26:35 +03:00
Diamantis Tziotzios 91f888829e user guide update 2020-10-02 20:08:43 +03:00
apapachristou 886342e716 Adds new Factsheet document 2020-10-02 19:11:31 +03:00
apapachristou dcc8f3823b Restyles invitation dialog and adds message on successfully sent 2020-10-02 19:00:35 +03:00
apapachristou 9c7bd9a59c Fixes style on hint of invitation dialog 2020-10-02 18:38:41 +03:00
apapachristou c4b3070edb Fixes bug: tour opened on empty filters result 2020-10-02 18:25:53 +03:00
apapachristou 1b13b5f0bf Restyles home, adds kid images on cards on listings and dashboard, logo navigates to splash home screen 2020-10-02 18:05:24 +03:00
apapachristou 90973a154b Updates feedback form 2020-10-02 14:40:20 +03:00
apapachristou d39ddd00db Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-10-02 12:11:59 +03:00
apapachristou dc8492e337 Removes unnecessary code 2020-10-02 12:11:51 +03:00
George Kalampokis b64f6e98fe Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-10-02 10:35:23 +03:00
George Kalampokis 1d7b886e98 Allow to upload from file array to DMP service 2020-10-02 10:35:09 +03:00
apapachristou 716610e7c3 front changes to match with changes on back-end previous commit 2020-10-02 10:15:02 +03:00
George Kalampokis 58ef4800c2 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-10-01 18:54:12 +03:00
George Kalampokis 674ce48b8b DMP's create or Update endpoint will return a DMP model 2020-10-01 18:54:01 +03:00
apapachristou 5af4fb4816 Differs title of editing or adding dataset 2020-10-01 17:29:02 +03:00
apapachristou a1c42931fd Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-10-01 16:35:50 +03:00
apapachristou 9fe99d8f98 with previous commit 2020-10-01 16:35:45 +03:00
apapachristou 97a3338dda Fixes enumerating of editor fields, changes title of fields 1.1 2020-10-01 16:35:20 +03:00
George Kalampokis 8ea356bcdc Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-10-01 16:08:59 +03:00
George Kalampokis 7b9ae7c91d Add support for Zenodo license autocomplete source 2020-10-01 16:08:32 +03:00
apapachristou 9e21e73d59 Tour opens automatically on empty DMP listing 2020-10-01 16:05:38 +03:00
apapachristou 0331e4f761 Renames "SIGN IN" to "LOG IN" on splash pages 2020-10-01 11:13:46 +03:00
apapachristou 9e2404cb3e Splsh screen index button "Start your DMP" navigate to /login instead of /home 2020-10-01 11:03:27 +03:00
apapachristou bb53557f1c Fixes: dashboard style in case of none dmp 2020-09-30 16:52:40 +03:00
apapachristou ae7d62b63c Fixes style on editor fields 2020-09-30 15:52:50 +03:00
apapachristou a05d24b95b Initialise contact field on dmp editor 2020-09-30 14:39:38 +03:00
apapachristou d249eb841a Adds description text on dmp editor fields 2020-09-30 11:42:52 +03:00
apapachristou ec59f9d495 Fixes bug: start new dmp dialog remained open 2020-09-29 18:20:00 +03:00
apapachristou c150d50c33 Rename all "Dataset Description" to "Dataset" 2020-09-29 18:04:32 +03:00
apapachristou accdc06ab1 Fixes bug on dataset copy functionality 2020-09-29 17:33:16 +03:00
apapachristou e3e83bfc4d Adds new FAQ content 2020-09-29 17:08:34 +03:00
apapachristou b8ebfb0726 Removes 1.3 External Link field from dataset editor 2020-09-29 14:30:00 +03:00
apapachristou b5d29553c0 Fixes on invitation dialog 2020-09-29 14:18:46 +03:00
George Kalampokis dfd705b1d3 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-09-29 12:53:01 +03:00
George Kalampokis b3be89fb88 Allow to invite others with just the email even if they don't have an
user
2020-09-29 12:41:47 +03:00
apapachristou 2a5e2adf48 adds ngx-dropzone 2020-09-28 17:40:17 +03:00
apapachristou 24bbe8c2ab Restyles import DMP pop up dialog 2020-09-28 15:44:32 +03:00
George Kalampokis 9c3b87535e Further Fix for file upload 2020-09-28 14:59:50 +03:00
George Kalampokis 261b688db0 File upload fix 2020-09-28 14:31:42 +03:00
George Kalampokis 08271c88cb When getting just the email for invitation, find it's user and set it's
id to the invited user
2020-09-28 12:36:37 +03:00
George Kalampokis 5a5043f432 Show properly researchers in DMP and Dataset Overview 2020-09-25 17:49:19 +03:00
apapachristou 410583a5f2 Moves fields language, visibility, publication data, contact from license tab to main 2020-09-25 15:55:06 +03:00
apapachristou dfd7096196 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-25 14:03:10 +03:00
apapachristou 6bc2d37bda Restyles Warnign Dialog 2020-09-25 14:03:04 +03:00
George Kalampokis 5521e4f41b Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-09-25 12:51:47 +03:00
George Kalampokis 3c9c9852cf On DMP Public Overview when selecting a Dataset open it's public
overview
2020-09-25 12:51:30 +03:00
apapachristou 794ef0142a Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-24 20:28:08 +03:00
apapachristou 1caa40988d Restyles navigation buttons on editors, fixes bugs on discard changes on editors 2020-09-24 20:28:03 +03:00
Diamantis Tziotzios 38f550542a CI update 2020-09-24 17:37:32 +03:00
Diamantis Tziotzios 28feacc7ef CI Update 2020-09-24 17:25:08 +03:00
Diamantis Tziotzios fe05ac9770 jenkins files 2020-09-24 17:20:33 +03:00
George Kalampokis 0bceae3409 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-09-24 12:37:21 +03:00
George Kalampokis 9dd76a739d If RDA Export fail show properly an error message 2020-09-24 12:37:03 +03:00
apapachristou 4c825d80b4 Retyles button add dataset on overview and removes pop up on click 2020-09-24 12:02:51 +03:00
apapachristou eb0bf2f003 Adds "Insert manually" link instead of add ( + ) button 2020-09-23 19:41:12 +03:00
apapachristou 26fa759d81 Removes default hint subtitles on fields of editors 2020-09-23 19:02:59 +03:00
apapachristou 3c1455ecb9 Changes component with stepper with a non stepper component 2020-09-23 19:01:12 +03:00
apapachristou f38e858f72 Hides cost field on dmp editor at license tab 2020-09-23 18:31:42 +03:00
apapachristou 226420a999 Makes edit button of overview pages open in the same tab window 2020-09-23 18:30:00 +03:00
apapachristou 11bf302631 Fixes bug on dataset overview click of edit 2020-09-23 18:03:07 +03:00
apapachristou 5fe0d40b7e Adds slovak contributors on splash 2020-09-23 11:30:10 +03:00
apapachristou c5f97eb8f9 Adds slovak language 2020-09-23 11:02:04 +03:00
apapachristou edd2a64fd7 Removes console.log 2020-09-23 10:29:47 +03:00
apapachristou 49c08f5061 Removes stepper from dataset description form 2020-09-23 10:21:26 +03:00
apapachristou 7897d9072d Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-23 10:19:09 +03:00
apapachristou 57defab591 Removes stepper from dataset description 2020-09-23 10:19:05 +03:00
George Kalampokis 040ffdc57e Fix issue with autocomplete field 2020-09-22 17:48:07 +03:00
George Kalampokis fed426e64b Fixed issue with visible rules when using multiple world list 2020-09-22 17:34:12 +03:00
MadDeCoDeR 71deb5f473 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot.git into ui-redesign 2020-09-22 11:29:13 +03:00
George Kalampokis 9a9fed37ce Add Validation button for the Dataset Template Editor 2020-09-22 11:27:10 +03:00
apapachristou b75d7606cf Discard on dataset editor 2020-09-21 18:05:53 +03:00
apapachristou 3d323615e4 Adds check for broken dataset template 2020-09-18 18:53:05 +03:00
apapachristou e7db9ee664 Adds discard on dataset editor (1st commit) 2020-09-18 18:51:42 +03:00
apapachristou bcdaf144d2 Moves enum to folder enum 2020-09-18 14:21:02 +03:00
apapachristou d48e8a984a Create new Dataset - using pop up 2020-09-18 14:14:48 +03:00
apapachristou 5944dfc005 Dataset editor changes on save 2020-09-17 18:48:13 +03:00
George Kalampokis 9b403bb480 Create or update dataset endpoint will return the id of the
created/updated dataset
2020-09-17 13:34:44 +03:00
Diamantis Tziotzios d2251d1015 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-16 18:40:25 +03:00
Diamantis Tziotzios 2f1f08a83f Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/listing/dmp-listing.component.html
2020-09-16 18:40:16 +03:00
George Kalampokis 61d8661309 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-16 18:37:40 +03:00
George Kalampokis 36b380e738 Check if the grant can be edited only when the grant is internal 2020-09-16 18:37:24 +03:00
apapachristou 2ebf413217 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.html
2020-09-16 18:37:03 +03:00
apapachristou 9596fd1595 New seperate dataset editor (1st commit) 2020-09-16 18:19:29 +03:00
Diamantis Tziotzios 9769c5b78f dialog animation removal 2020-09-16 18:15:54 +03:00
George Kalampokis 5d9c1f47cd Fixed minor path issue with the "Show more" button on DMP items 2020-09-16 17:56:58 +03:00
George Kalampokis 5fdf1267c4 Fix minor issues with dmp and dataset pubic listing 2020-09-15 16:22:49 +03:00
George Kalampokis 33a43f1066 Prevent to add and save datasets on a finalized dmp 2020-09-15 14:27:51 +03:00
George Kalampokis da7fc0def3 Fixed various issues with DMP imports and exports (mostly RDA) 2020-09-15 13:21:22 +03:00
George Kalampokis 29c8ad8589 Fixed authService.me sometimes using invalid url (possible relation to #289) 2020-09-15 13:16:18 +03:00
George Kalampokis 31ab0747b2 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-14 18:10:10 +03:00
George Kalampokis 4cc44814e2 Minor improvements to error checkups 2020-09-14 18:09:57 +03:00
apapachristou b994d3a7a7 Switches button edit-clone at overview 2020-09-14 15:56:13 +03:00
apapachristou abd8fcf25f Adds print error in case of get broken dataset profile 2020-09-14 14:31:20 +03:00
apapachristou c943a2d297 Fixes bug on multiple template select, on choosing not existing template and then click to open available profiles 2020-09-14 14:30:12 +03:00
apapachristou b3ffd39151 Changes on listing according to new designs: card appears only on empty listings. 2020-09-14 14:28:26 +03:00
apapachristou 13f41dfd8b Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-11 18:35:38 +03:00
apapachristou 6eb797edfa Add external icon on static pages 2020-09-11 18:35:32 +03:00
George Kalampokis 7b800b2347 Fix multiList on xml export 2020-09-11 16:54:32 +03:00
George Kalampokis 2390a33a98 When uploading dataset template xmls delete the working directory copy of the file 2020-09-11 16:31:57 +03:00
George Kalampokis 418d29b7d5 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-11 15:58:09 +03:00
George Kalampokis 7f83b0f19a Fixed minor issue with template import 2020-09-11 15:57:52 +03:00
apapachristou 239b91480b Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-11 14:32:58 +03:00
apapachristou 1deaad85f1 Minor fixes on different languages responsiveness 2020-09-11 14:32:34 +03:00
George Kalampokis bc6193c7d7 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-11 14:29:50 +03:00
George Kalampokis 88ea24d367 Fixed issues when retrieving data from external sources 2020-09-11 14:29:12 +03:00
George Kalampokis b66fe982f5 Update Tags field with multiple autocomplete like in the dataset editor 2020-09-11 14:27:53 +03:00
George Kalampokis 4b87ab04e8 Allow Services to use tag if they have no source 2020-09-11 14:24:57 +03:00
apapachristou 22b59ea6b6 Moves option my datasets on sidebar inner 2020-09-11 14:18:00 +03:00
apapachristou 0648dfb58d Adds more hover effects 2020-09-11 13:37:55 +03:00
apapachristou 5365aa1842 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-11 12:19:38 +03:00
apapachristou 45e5848956 Adds hover effects on login buttons and reverts error on form-composite-field 2020-09-11 12:19:31 +03:00
George Kalampokis 17af551469 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-11 12:10:25 +03:00
George Kalampokis e9db95af4a Improve language Editor styling 2020-09-11 12:10:11 +03:00
George Kalampokis b847389b96 Add ORCID source to all the profiles and replace the content type from xml to json 2020-09-11 12:07:49 +03:00
apapachristou 43d9e2bd44 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-11 11:31:17 +03:00
apapachristou 05fc18404a Adds library from: npmjs.com/package/ng-dialog-animation 2020-09-11 11:31:09 +03:00
apapachristou 4c1222530a Fixes path on support/feedback. Adds animation on filters of DMP listing 2020-09-11 11:27:29 +03:00
George Kalampokis cbbd8e7485 Fixed issues with tinyMCE 2020-09-11 11:02:38 +03:00
apapachristou 6bc03ccbfc Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-10 18:36:53 +03:00
apapachristou c0d3b471c0 Adds dashes on overview pages if fields are empty 2020-09-10 18:36:46 +03:00
George Kalampokis 3944191c4e Add EOSC Services API (ref #290) 2020-09-10 18:30:30 +03:00
George Kalampokis 2f31f4cb61 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-10 18:06:48 +03:00
George Kalampokis aac277020a Add support for zenodo source on autocomplete combobox 2020-09-10 18:06:37 +03:00
George Kalampokis 5be674d07e Allow wordlist combobox type to have multiple values 2020-09-10 18:04:14 +03:00
apapachristou 0f126ec413 Removes opacity from dataset and dmp tag of listing card 2020-09-10 14:33:21 +03:00
apapachristou 292c758a41 Reorders option on sidebar bottom and adds static urls (to be tested) 2020-09-10 14:16:29 +03:00
apapachristou b33c49ce4c Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-10 11:35:18 +03:00
apapachristou 1680409755 Style fixes on editor template input field 2020-09-10 11:35:10 +03:00
George Kalampokis c4dc3b0836 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/editor/dataset-editor-details/dataset-editor-details.component.html
2020-09-10 11:28:28 +03:00
George Kalampokis e558c99404 Fixed issue with visibility rules not working 2020-09-10 11:27:04 +03:00
apapachristou 8782b6c05d Reorders dataset editor template field 2020-09-09 18:18:30 +03:00
apapachristou b741302020 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-09 17:58:34 +03:00
apapachristou 56cf5a7552 Adds new assets 2020-09-09 17:56:20 +03:00
George Kalampokis 73b8eb7203 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-09 17:55:04 +03:00
George Kalampokis b4b9c34de4 Remove most external references from the Dataset editor (from now on they must be defined inside the template) 2020-09-09 17:54:46 +03:00
George Kalampokis 9f8b4bb9f7 Add License info step for the DMP Editor 2020-09-09 17:52:42 +03:00
George Kalampokis 13ac3634d6 Improve compatibility for openAire sources 2020-09-09 17:50:47 +03:00
George Kalampokis f0502b94df Change the tags on the dmp editor to a multiple auto select, that allow to create tags or use existing ones 2020-09-09 17:49:45 +03:00
George Kalampokis 183ce385a9 Add OpenAire source for the external Datasets 2020-09-09 17:44:08 +03:00
George Kalampokis 2a53a0aa7d When showing researchers retrieved by ORCID source show also and their ORCID in parenthesis 2020-09-09 17:42:55 +03:00
apapachristou efaebe8574 Adds slider on static page per 3 sec, stops on option click. 2020-09-09 11:08:53 +03:00
apapachristou 1737c96621 Fixes condition visibility of remove dataset 2020-09-08 18:18:18 +03:00
apapachristou e4bef006d3 Fixes bug, cant remove finalized dataset 2020-09-08 18:11:29 +03:00
George Kalampokis 7300e2fe85 When creating a DMP with datasets, add datasets after the DMP is created 2020-09-08 17:50:38 +03:00
apapachristou f32a3db3b5 Adds functionality, remove dataset from dmp editor 2020-09-08 16:54:01 +03:00
George Kalampokis a706a9c8f6 Improve the retrieval of the datasetpagedefinition from the dmp api 2020-09-08 16:42:35 +03:00
George Kalampokis db0cee542c When creating or updating a DMP with datasets, check the datasets template validity from the datasets of the request and not from the ones in DB 2020-09-08 10:53:10 +03:00
apapachristou eb7a5571c4 Edit template on dmp-dataset editor 2020-09-08 10:36:18 +03:00
George Kalampokis 1dbe320706 Improve expiredAt calculation 2020-09-07 18:15:52 +03:00
George Kalampokis 8ffb306913 Return null principal if the expiredAt is actually expired 2020-09-07 18:14:54 +03:00
apapachristou b3bf7ab73d Fixes bug on preview of dataset template on dmp editor, dataset editor 2020-09-07 11:02:21 +03:00
apapachristou 2eb608a897 Add dataset from dmp editor 1st commit 2020-09-04 19:27:41 +03:00
George Kalampokis 7dcf2a1ef1 Minor build fix 2020-09-04 17:09:24 +03:00
George Kalampokis d890763b41 Updated The DatasetWizardModel on the backend in order to be similar to it's front end counterpart 2020-09-04 17:00:34 +03:00
apapachristou abe95e0c5e Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-09-03 18:49:53 +03:00
apapachristou 89c4aac560 Modifies new version of dmp 2020-09-03 18:49:45 +03:00
George Kalampokis 072a1c8a18 Change the filename of the exported DMP (also affects DOI generation) (ref #288) 2020-09-03 18:08:53 +03:00
George Kalampokis b12261b50b Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-09-03 17:57:39 +03:00
George Kalampokis e4713d60bd When creating a new version of a DMP return the Id of the new DMP 2020-09-03 17:57:14 +03:00
apapachristou d150469ba4 Fixes bug on filters button position when clone dialog is open 2020-09-03 14:05:51 +03:00
apapachristou b908df98d7 Modified clone dmp 2020-09-03 12:52:35 +03:00
George Kalampokis f2613c4c87 When exporting to World and PDF with world list field return it's label instead of it's value (ref #287) 2020-09-03 10:50:28 +03:00
George Kalampokis fc7f8d4278 When exporting to World and PDF with world list field return it's label instead of it's value (ref #287) 2020-09-03 10:46:11 +03:00
George Kalampokis 8951b61b3b Return the id of the cloned dmp when calling the dmp/clone endpoint 2020-09-02 18:32:12 +03:00
apapachristou 3bcafc0dd4 Converts all links of add dataset to dmp, directing from old dataset editor to new 2020-09-01 10:28:13 +03:00
apapachristou b2977df4e5 Adds link on button "add dataset" on dmp cards 2020-08-31 19:08:32 +03:00
apapachristou 306dfa7346 Removes search field on listing, if no results 2020-08-31 10:16:33 +03:00
apapachristou e837091346 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-31 02:43:17 +03:00
apapachristou db006d6ad2 Fixes bugs on discard buttons 2020-08-31 02:43:11 +03:00
gpapavgeri 447fd188bc Updates styles and links for sidebar options 2020-08-28 16:13:33 +03:00
gpapavgeri 7a6228b136 Fixed error ''Cannot read property 'firstChild' of null'' after Login 2020-08-27 17:38:07 +03:00
gpapavgeri 3d9b30567d Updates styling for dmp-invitation-dialog 2020-08-27 16:05:16 +03:00
gpapavgeri 680d592c0c New Dmp Title without (Expert) 2020-08-27 13:37:56 +03:00
gpapavgeri 74099ecabc Adds comment for custom template, removes add dataset & updates style for dataset-info 2020-08-27 11:47:07 +03:00
gpapavgeri bcbb9ba606 Adds custom panelClass in matDialogConfig Object for UserDialogComponent 2020-08-26 16:15:57 +03:00
apapachristou 7fd0692608 Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-25 18:34:55 +03:00
apapachristou 404632a337 Fixes save new dataset 2020-08-25 18:34:28 +03:00
gpapavgeri 9102123550 Changes Start Wizard link to ' /plans/new ' instead of ' /quick-wizard ' 2020-08-25 17:59:54 +03:00
gpapavgeri 2ec8e38239 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-25 17:50:07 +03:00
gpapavgeri 277117b27b Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/assets/i18n/tr.json
2020-08-25 17:41:56 +03:00
George Kalampokis 1ee768c3a4 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-08-25 17:30:42 +03:00
George Kalampokis e1368e270a Update Zenodo's file API 2020-08-25 17:30:29 +03:00
Diamantis Tziotzios b70ba72b5b tr lang update 2020-08-25 16:49:48 +03:00
gpapavgeri 5a76d2fb2f Dashboard: Adds public usage label when user is not authenticated 2020-08-25 16:07:49 +03:00
gpapavgeri 355350c8ec Comment out Sort by: Created 2020-08-25 15:48:50 +03:00
gpapavgeri 9e0304d52e Dashboard: laptop-image fixed & routerLink added in absence of dmps 2020-08-25 15:46:56 +03:00
apapachristou 15d2958c95 Adds dataset profile definition form on new dataset page 2020-08-25 10:45:42 +03:00
apapachristou be48a150b2 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dashboard/dashboard.component.html
2020-08-24 16:12:53 +03:00
apapachristou 2c9475da2c Fixes bug of double select dropdown.
The attribute autocomplete="nope", set by downshift, is ignored in Chrome 67 and Opera 54 (latest at the time of writing)
2020-08-24 15:47:58 +03:00
apapachristou ac153477e7 Adds dataset editor on home button "Add new dataset" 2020-08-24 15:46:55 +03:00
George Kalampokis fa86258197 Fixed minor issue with Zenodo file names 2020-08-24 12:03:29 +03:00
George Kalampokis e067b3d490 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-08-24 10:58:16 +03:00
gpapavgeri 5a0963a6f2 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-24 10:57:33 +03:00
gpapavgeri 889c8b925b Toggle navbar menu on mouse hover 2020-08-24 10:56:49 +03:00
George Kalampokis 4d249eeae4 Changed the file format when creating Zenodo Deposit 2020-08-24 10:49:50 +03:00
Diamantis Tziotzios 01ea1bc63a Merge branch 'ui-redesign' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/assets/i18n/es.json
2020-08-24 10:47:21 +03:00
Diamantis Tziotzios bcae5c4401 es lang file 2020-08-24 10:36:55 +03:00
gpapavgeri 995d5d75ee Change app title on language change 2020-08-07 17:14:51 +03:00
gpapavgeri a647ce9926 Delete double entries in json files 2020-08-07 13:10:21 +03:00
gpapavgeri af1cbdf918 Invitation-dialog CSS updated 2020-08-07 13:01:04 +03:00
gpapavgeri 1961415ae7 Invitation-dialog - css for select role updated 2020-08-07 12:42:24 +03:00
gpapavgeri 736c211944 Show dashboard after statistics have loaded & add empty-list message 2020-08-06 18:21:53 +03:00
gpapavgeri 4dae734379 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-06 16:07:02 +03:00
gpapavgeri 311f79b372 Placeholder changed in dataset-info 2020-08-06 16:06:16 +03:00
apapachristou cca9ac3ec9 Adds button save on DMP editor even if dataset is finalized and adds indication that a dataset is finalized 2020-08-06 16:01:22 +03:00
apapachristou 8caad8bb3e Changes on create new dataset editor (2nd commit) 2020-08-06 14:02:50 +03:00
apapachristou d7fef01391 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-06 13:50:35 +03:00
apapachristou 5e31820e49 Fixes bug on editor in case of dataset is finalized but dmp not 2020-08-06 13:50:28 +03:00
gpapavgeri 99a89ad7d5 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-06 13:31:03 +03:00
apapachristou 9708a0c82d Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-06 13:20:35 +03:00
apapachristou 16390853d6 Adds new dataset editor (1st commit) 2020-08-06 13:20:28 +03:00
gpapavgeri 8fde8a684c Navigate to dmp publicOverview from dataset overview when view is public 2020-08-06 12:46:15 +03:00
gpapavgeri b3b9de6979 Add researchers to dmp in DatasetOverviewModel 2020-08-06 11:14:42 +03:00
gpapavgeri 947ecc1874 Dataset overview update finalize 2020-08-05 14:33:00 +03:00
gpapavgeri 5fd5ec9d63 Dataset overview update - finalize / reverse & delete comments 2020-08-05 13:58:20 +03:00
gpapavgeri 75a04a36d7 keeping only dmp or dataset label for their title 2020-08-05 12:42:04 +03:00
gpapavgeri fb30679f7f argos logo added in navbar 2020-08-05 12:10:50 +03:00
gpapavgeri 370360872a Guided tour comments added 2020-08-05 11:23:09 +03:00
George Kalampokis 8e473d1a9f On the Dataset Template Editor, distance the delete button in the sections from the expand/collapse button 2020-08-05 11:20:02 +03:00
George Kalampokis 70bc900f5a Replaced german flag with austrian flag (ref #285) 2020-08-05 10:14:09 +03:00
gpapavgeri 84047fc035 Guided Tour Update 2020-08-04 18:27:13 +03:00
apapachristou de10a986db Removes old dataset editor on click of edit dataset 2020-08-04 14:35:02 +03:00
apapachristou 9ffa1a5a54 Removes unecessary requests from dataset overview 2020-08-03 17:55:59 +03:00
George Kalampokis 58b193ff20 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-08-03 17:01:27 +03:00
George Kalampokis edf64328d9 Fix parsing issues with auto complete 2020-08-03 17:01:06 +03:00
George Kalampokis cd5295437b Fix minor issue with DMP criteria 2020-08-03 16:56:36 +03:00
apapachristou fc9f45c0aa ...with previous commit 2020-08-03 16:51:13 +03:00
apapachristou c2f1b66c25 Makes recent activity results able to open in new tab 2020-08-03 16:47:34 +03:00
apapachristou 9b837a27a8 Fixes error of mismatch model on client and server 2020-08-03 13:22:18 +03:00
apapachristou 33ea9ce2ed Some style changes on filters dialog 2020-08-03 12:35:34 +03:00
apapachristou 62145205fc Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-08-03 11:40:54 +03:00
apapachristou fd84ed317c Adds public home page: /home 2020-08-03 11:40:38 +03:00
apapachristou 3baf20f4ec 'Start new DMP button' on navbar redirect to login if not authanicated 2020-08-03 11:33:12 +03:00
gpapavgeri 24855f776b Guided tour added in dataset editor details 2020-07-31 17:39:57 +03:00
apapachristou 9ff36a1b12 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/core/common/enum/recent-activity-order.ts
2020-07-31 17:09:17 +03:00
apapachristou a7851b8371 Adds option sort by published at ( front end ) 2020-07-31 17:07:58 +03:00
George Kalampokis 1c876cbcca RecentActivity can now be sorted by finalizedAt and publishedAt 2020-07-31 17:04:18 +03:00
George Kalampokis 83bd977484 If finalized Dataset has no finalized At date then use it's DMP finalized At date 2020-07-31 14:06:16 +03:00
George Kalampokis 5d44d8bf45 Fixed issue when finalizing datasets from the DMP Overview. 2020-07-31 14:04:49 +03:00
George Kalampokis feee5b49e9 Ditto 2020-07-31 13:34:01 +03:00
George Kalampokis 2faf1a0d78 When getting public paged Datasets, allow to set custom order 2020-07-31 13:33:32 +03:00
George Kalampokis f97546ff38 Add finalized RecentActivity sort function 2020-07-31 13:21:01 +03:00
George Kalampokis 168b634681 Fix minor authentication issue 2020-07-31 13:16:29 +03:00
George Kalampokis f86ba70d24 Fixed consistency issues with the public statistics 2020-07-31 12:20:29 +03:00
apapachristou e07d79009a Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/assets/i18n/gr.json
2020-07-31 10:46:44 +03:00
apapachristou 5fc3995ba8 Adds language 2020-07-31 10:44:31 +03:00
apapachristou a0121bbda9 Temporary fix bug on input rules on dataset description 2020-07-31 10:44:05 +03:00
gpapavgeri b36621877e Guided Tour added 2020-07-30 18:29:20 +03:00
apapachristou 70d2d456ee Fixes bug on sort by label 2020-07-29 18:35:12 +03:00
apapachristou 323b74048e Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-29 18:04:26 +03:00
apapachristou 10eccf89eb Adds dataset editor on dmp editor 2020-07-29 18:04:19 +03:00
George Kalampokis f47a3ab2a3 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-29 17:54:56 +03:00
George Kalampokis 4b30d56d91 Fixed issue if dataset has no profile 2020-07-29 17:52:51 +03:00
apapachristou 00aa4ef2c6 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-29 17:20:04 +03:00
apapachristou 721ae786b9 Adds green theme css but dont apply it yet 2020-07-29 17:19:57 +03:00
gpapavgeri e153ac44c2 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-28 18:28:18 +03:00
gpapavgeri 153e53e822 toggle navbar 2020-07-28 18:28:12 +03:00
George Kalampokis dc83a3a09c Fixed Various issues when creating or updating DMP with datasets 2020-07-28 17:35:55 +03:00
gpapavgeri b3332762c5 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-28 16:26:28 +03:00
gpapavgeri 15c33d8250 enable close StartNewDmpDialogComponent when click outside dialog 2020-07-28 16:24:14 +03:00
apapachristou 70e5116879 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-28 15:54:28 +03:00
apapachristou 9602fc0340 Fixes bug on load more results with sorting 2020-07-28 15:54:21 +03:00
gpapavgeri b2aec001dc open listing items in the same page 2020-07-28 11:23:45 +03:00
gpapavgeri bd04e1b00f dashboard card width changed 2020-07-28 09:55:46 +03:00
George Kalampokis b37af110aa Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-27 18:16:52 +03:00
George Kalampokis eb8e4a96e6 Reworked Recent Activity ordering and force status to be ordered in reverse of the others 2020-07-27 18:16:32 +03:00
apapachristou 8e7d426947 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-27 13:53:08 +03:00
apapachristou 81a7ff0955 Fixes option view all dmp versions on listings 2020-07-27 13:52:59 +03:00
gpapavgeri 7f0aeb8c07 login page - laptop image fixed 2020-07-27 13:43:47 +03:00
George Kalampokis 662bad6e47 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-27 13:11:18 +03:00
George Kalampokis 22493569fa Allow to create or update DMP and it's datasets with one endpoint (post full) 2020-07-27 13:09:30 +03:00
gpapavgeri c77cd0c1c6 open links in new tab 2020-07-27 11:52:42 +03:00
gpapavgeri ca4525238e lockStatus check update [on delete click for listing components (listing-item, recent-edited, drafts) - not overview] 2020-07-24 17:40:53 +03:00
gpapavgeri 7f476ccd50 comment out private icon for dmp & dataset overview 2020-07-24 14:09:21 +03:00
gpapavgeri f059facd5a Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-24 12:43:23 +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
George Kalampokis 3b09bef7d5 Fixed minor issues with the elastic search on recent activity 2020-07-24 12:38:16 +03:00
George Kalampokis 9c9db0b646 Improve data integrity of recent Activity data retrieval and added elastic support to it 2020-07-24 12:12:54 +03:00
George Kalampokis b7b8e0b0e8 Change the profile from DatasetListingModel from String to DatasetProfileOverviewModel 2020-07-24 11:46:11 +03:00
George Kalampokis b0067f20b5 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-24 10:50:34 +03:00
George Kalampokis db8debef86 RecentActivityModel will store profile as DatasetProfileOverviewModel instead of just string 2020-07-24 10:50:16 +03:00
gpapavgeri 89a9ae21ed Add Germany to Contributors 2020-07-23 17:43:14 +03:00
gpapavgeri 6d1ecca154 routerLink changed in dataset-listing-item & delete updated for dataset-overview 2020-07-23 17:24:02 +03:00
gpapavgeri 09d000ba74 add liber-community in zenodo link 2020-07-23 16:49:34 +03:00
gpapavgeri 762f873db1 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-23 16:24:43 +03:00
gpapavgeri 3c2caee679 update of users actions (edit, delete, etc) according to their role 2020-07-23 16:24:34 +03:00
gpapavgeri 4b267f2f84 lockStatus check and icon added to all components 2020-07-23 12:46:03 +03:00
George Kalampokis ac00b01943 Fixed various issues when creating world document and storing data to the elastic 2020-07-23 12:24:49 +03:00
George Kalampokis d1992b37c4 Fixed various issues when creating world document and storing data to the elastic 2020-07-23 12:01:37 +03:00
gpapavgeri 3d1b0adc6e add status to DmpOverviewModel used in DatasetOverviewModel 2020-07-22 17:46:21 +03:00
apapachristou 87398428c5 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-22 17:39:12 +03:00
apapachristou 2018251710 Adds language 2020-07-22 17:38:28 +03:00
George Kalampokis 80bdf5a77b Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-22 15:40:56 +03:00
George Kalampokis 14df3a4bbe Add dataset filter like in getPaged on DataManagementPlanManager 2020-07-22 15:40:07 +03:00
gpapavgeri 0ff77d0121 images path for contributors updated 2020-07-22 14:40:48 +03:00
gpapavgeri 868678e03f reloadPage & delete buttons updated 2020-07-22 14:26:49 +03:00
Diamantis Tziotzios cd554dc1d1 added turkish and german languages 2020-07-22 13:51:10 +03:00
apapachristou 8d7d9c5a8b Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-22 11:24:59 +03:00
apapachristou 2c81788a4f Fix bug on offsets of both dmp and dataset listing 2020-07-22 11:24:37 +03:00
gpapavgeri 9494e5b618 Home-myDmps-myDatasetDescriptions buttons updated according to dmp&dataset overview 2020-07-22 11:23:20 +03:00
gpapavgeri 5fc779a172 dataset-overview: dmp label changed & copy-edit urls open in new tab 2020-07-22 11:21:03 +03:00
gpapavgeri 20cd23ee35 dmp-overview: show-more deleted & dataset-label changed & clone-edit-newVersion urls open in new tab 2020-07-22 11:19:25 +03:00
apapachristou 3844c3a187 Fixes bug on load more both dmps and datasets 2020-07-22 10:36:29 +03:00
George Kalampokis f3c1244600 Separate RecentActivityTableRequest's offset to dmp and dataset offset (backend) 2020-07-22 10:28:25 +03:00
George Kalampokis a60151560b Temporary removed async gets for datasets (TODO: make them async again) 2020-07-21 17:30:12 +03:00
George Kalampokis 9000da0ee4 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-21 16:05:50 +03:00
George Kalampokis e6da46730b Improved Dataset error handling when retrieving data 2020-07-21 16:05:34 +03:00
gpapavgeri 94d8151356 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-20 18:32:20 +03:00
apapachristou 98abb3ddd3 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-20 18:24:38 +03:00
apapachristou 0d90209ac9 Fixes bugs on discard changes on DMP editor and renames field authors to field researchers 2020-07-20 18:24:29 +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
gpapavgeri 04f09ef578 Add UNFINALIZE button (dmp&dataset overview) & DEPOSIT button hidden after doi creation (dmp overview) 2020-07-20 12:16:23 +03:00
gpapavgeri 578093a53c Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-17 17:50:26 +03:00
gpapavgeri 4f3d71b48c dataset-overview: comment out MAKE PUBLIC button 2020-07-17 17:50:05 +03:00
apapachristou e475b265ab Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-17 17:47:48 +03:00
apapachristou f96a4698a1 Restyles DMP Editor 2020-07-17 17:46:53 +03:00
gpapavgeri 1dccfd834a Add opensource-licences 2020-07-17 17:46:10 +03:00
George Kalampokis d4e4d5ca13 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-17 16:11:58 +03:00
George Kalampokis 5cc6a5117a Fixed path issue with externalUrls on devel (backend) 2020-07-17 16:11:40 +03:00
gpapavgeri 1fd4c8e05f get user email from Principal fixed 2020-07-17 13:42:39 +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 182c215069 minor changes in static pages 2020-07-16 18:32:56 +03:00
gpapavgeri 07faec3124 Add contributors.html & licences link in footer 2020-07-16 12:59:34 +03:00
gpapavgeri f08e62e5f4 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-15 18:18:26 +03:00
gpapavgeri 3a2dcca4d3 minor changes in dmp-overview, dataset-overview & user-dialog components 2020-07-15 18:18:16 +03:00
George Kalampokis d40e9fadbf Removed RDA JSON export from Datasets (it doesn't and it can't (cycling dependency)) 2020-07-15 12:35:22 +03:00
George Kalampokis 69fc698866 Unified datasets and datasetWizard Controllers 2020-07-15 12:33:10 +03:00
apapachristou 367e6c33f1 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-15 09:46:35 +03:00
apapachristou e7a26c40ae Changes on language 2020-07-15 09:44:38 +03:00
gpapavgeri bac925a6b6 redesign_user-dialog.component_v1 2020-07-14 12:47:57 +03:00
gpapavgeri c7495cb9b2 redesign-login page_v3 & dmp-invitation placeholder fixed 2020-07-13 17:23:19 +03:00
gpapavgeri bdc55c9142 redesign-login page_v2 2020-07-13 14:32:45 +03:00
gpapavgeri f8f6bac47d Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-13 14:32:10 +03:00
apapachristou 15e09d7994 Adds sort by field on all listings 2020-07-13 13:01:03 +03:00
George Kalampokis 74f5019ff3 Fix Language Editor 2020-07-13 11:41:36 +03:00
George Kalampokis 0d0fed6137 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-10 18:41:38 +03:00
George Kalampokis 8eb054f9d2 Update language Editor (still not functional) 2020-07-10 18:41:20 +03:00
gpapavgeri 187831ec08 redesign-login page_v1 2020-07-10 18:29:07 +03:00
gpapavgeri 09f207eb6e dmp&dataset overview: orcid path for researcher fixed 2020-07-10 18:28:10 +03:00
apapachristou 872e80d4b7 Add search field on dataset descriptions tab and fixes language 2020-07-10 17:07:03 +03:00
apapachristou b605a35cd4 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-10 16:52:42 +03:00
apapachristou 84e8a72dbb Adds searches fields on tab listings 2020-07-10 16:52:35 +03:00
gpapavgeri 987b97e802 Add select-role in dmp-invitation 2020-07-10 16:48:08 +03:00
George Kalampokis aa930f097a Fixed issue with DMPs that are having a user assigned multiple times 2020-07-10 16:30:44 +03:00
George Kalampokis 916557db0a Minor bugfix 2020-07-10 14:28:45 +03:00
George Kalampokis fcbb0dfdf8 Fixed invitation system and made it to check if a user is already invited to the DMP 2020-07-10 13:53:27 +03:00
George Kalampokis 7b039da231 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-10 12:37:00 +03:00
George Kalampokis 9751d0fb78 Fixed issue with invitation properties 2020-07-10 12:36:47 +03:00
George Kalampokis caec63be38 Fixed issue when saving auto complete data 2020-07-10 12:36:01 +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 3af197c3aa Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-09 18:31:59 +03:00
apapachristou c10b124bb5 Adds select form of dmp version on dmp overview 2020-07-09 18:31:51 +03:00
gpapavgeri a7c814b0b4 'Start-new-dmp-dialog' completed 2020-07-09 18:27:15 +03:00
gpapavgeri dd0f158769 dmp&dataset overview: 'remove user from dmp' update 2020-07-09 16:01:49 +03:00
George Kalampokis 052430d97c Minor fixes 2020-07-09 15:02:16 +03:00
apapachristou 5a0c433034 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-09 14:29:02 +03:00
apapachristou cc04364600 Adds version listing model 2020-07-09 14:28:55 +03:00
gpapavgeri 3ce10b8e2e Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-09 14:02:00 +03:00
gpapavgeri 4f6c339b37 dataset label in dmp overview (text-oveflow & tooltip) fixed 2020-07-09 13:59:11 +03:00
George Kalampokis d8d11c5394 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-09 13:47:52 +03:00
George Kalampokis b8a1ed3f07 Minor bugfix 2020-07-09 13:47:39 +03:00
gpapavgeri 10a59aa630 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-09 13:45:37 +03:00
gpapavgeri ea3b73dd9c 'Start-new-dmp-dialog' completed except of import from file 2020-07-09 13:45:19 +03:00
George Kalampokis 4e249e4b8b Add get All Versions Endpoint to the Backend 2020-07-09 13:11:43 +03:00
apapachristou a1963602df Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-09 10:53:24 +03:00
apapachristou 397e23e4d1 fixes error shows on development mode "value changed after it was checked... " on listings 2020-07-09 10:53:17 +03:00
gpapavgeri f919a8d81a Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-09 10:18:19 +03:00
gpapavgeri a4b61c2172 dmp&dataset overview_remove user & invite user update 2020-07-09 10:17:49 +03:00
apapachristou f451314473 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-08 18:28:47 +03:00
apapachristou ff532c56fb Fixes bug on public dmp / datasets listing 2020-07-08 18:28:34 +03:00
George Kalampokis 7a09d85353 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-08 18:26:25 +03:00
George Kalampokis e428e8a5df When creating new DMPs pre-set the visibility (restricted) and the contact (creator). They can be changed later in the draft phase. 2020-07-08 18:26:07 +03:00
George Kalampokis 3ba34e1e69 Fixed issue when viewing the public DMPs 2020-07-08 18:23:06 +03:00
apapachristou 3d51b6bd3c Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-08 17:54:50 +03:00
apapachristou 5aa231e2bf Adds complete dataset listing redesign 2020-07-08 17:54:41 +03:00
George Kalampokis a728e7da4a If DMP is lacking the visibility option then create a Zenodo DOI with resstricted file access and no license 2020-07-08 16:59:15 +03:00
George Kalampokis 8ffdfdba1f If DMP is lacking the visibility option then create a Zenodo DOI with resstricted file access and no license 2020-07-08 16:56:55 +03:00
gpapavgeri 097c862ab6 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-07 18:30:35 +03:00
gpapavgeri bb0c5a0391 Invite authors-pop up_v1 2020-07-07 18:30:25 +03:00
apapachristou 5c8c156220 Fixes on filters of dmp listing 2020-07-07 18:29:15 +03:00
apapachristou d3e7f57cbd Adds search on dmp listing, fixes bug on load more 2020-07-07 15:54:12 +03:00
apapachristou b94363ba5b Adds links to datasets on listings 2020-07-07 13:33:04 +03:00
apapachristou 6fa7b4a350 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.ts
2020-07-07 13:19:38 +03:00
apapachristou 2ab58f2926 Add filters on the side on dmp listing 2020-07-07 13:12:57 +03:00
George Kalampokis 1423f5175d Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-07 12:23:43 +03:00
George Kalampokis ace12c3140 Add updateusers end point for DMP 2020-07-07 12:22:45 +03:00
Diamantis Tziotzios c61f7417f5 splash changes 2020-07-06 18:53:56 +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 029c246a4b Fixed minor issue 2020-07-06 18:23:37 +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
George Kalampokis 58e22926b1 Merge branch 'advanced_rda' into Development 2020-07-06 18:19:02 +03:00
George Kalampokis f432caa584 When getting user statistics on the dashboard make sure the DMP count to be distinct 2020-07-06 14:18:42 +03:00
George Kalampokis 84bb291cd6 Make DMP total count to use distinct in order to avoid counting duplicate entries 2020-07-06 14:11:14 +03:00
gpapavgeri 3051b6ba0a Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-06 13:21:25 +03:00
gpapavgeri 75be44ee60 dataset-overview_update v3 2020-07-06 13:21:11 +03:00
George Kalampokis d10615d13a Replace dmp and grant form String to DataManagementOverviewMaodel and GrantOverviewModel on DatasetOverviewModel 2020-07-06 11:58:59 +03:00
George Kalampokis 7f56afad5f Add OpenAIRE source for external Datasets 2020-07-06 11:40:00 +03:00
apapachristou a8528ee5b1 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 18:51:57 +03:00
apapachristou 132f5675d3 Adds Filters Dialog on Dmp Listing ( 2nd Commit ) 2020-07-03 18:51:27 +03:00
gpapavgeri 58df04516c Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 18:31:46 +03:00
gpapavgeri 21d19dbf58 dataset-overview_update v2 2020-07-03 18:31:35 +03:00
apapachristou f8ab6a8024 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 17:17:29 +03:00
apapachristou 6d9dcc4ec9 Dmp Listing (1st Commit) 2020-07-03 17:17:23 +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 fa15ae8774 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-03 16:12:41 +03:00
George Kalampokis 372c9bb074 Add support for Dataset Overview 2020-07-03 16:11:54 +03:00
apapachristou e315bee7f7 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 14:00:30 +03:00
apapachristou 16af9e8f3e Fixes bug on loadMore and fixes spelling on recent activities 2020-07-03 14:00:23 +03:00
George Kalampokis f2fb409900 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-03 13:55:43 +03:00
George Kalampokis d51099cedc Further fixes and improvements over recent activity 2020-07-03 13:55:25 +03:00
apapachristou 2cb6583bf4 Removes guest component 2020-07-03 12:45:52 +03:00
George Kalampokis 0b452d2520 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-03 12:19:21 +03:00
George Kalampokis acf8b58728 Fixed and improved the recent activity manager 2020-07-03 12:18:53 +03:00
apapachristou 2cd03e30f8 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 12:01:41 +03:00
apapachristou f1dc5f5f5f Adds language 2020-07-03 12:01:34 +03:00
George Kalampokis 7197892352 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-07-03 11:37:40 +03:00
apapachristou 8d569d38b3 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-03 11:24:05 +03:00
apapachristou fbb2dc214a Adda language 2020-07-03 11:23:18 +03:00
George Kalampokis 150667350c Further Fixes over Recent Activity model 2020-07-03 11:23:13 +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
Diamantis Tziotzios 9f5054668e Merge branch 'Development'
* Development: (72 commits)
  splash screen fixes
  splash spell error fix
  Properly remove associate Collaborators from a DMP
  splash changes
  Fixed issue with DMP filter on public datasets
  Fixed issue when using the copy dataset dialog
  Minor styling improvement over DMP Overview
  Code clean up
  Add support for newer versions of java (11) (expirimental)
  Add Zenodo file visibility field for DMP (ref #274)
  Fixed issue not passing DMP Extra Properties on clones and new Versions
  Add DMP Zenodo license field (ref #274)
  more splash screen changes
  Allow splash to send contact emails
  splash screen changes
  Hide Uri field on Dataset Editor (ref #275)
  When logging in remove the cookie consent popup
  Fixed minor issues with RDA Mapping
  Add currency field type for dataset templates
  Add DMP language a placeholder on UI
  ...

# Conflicts:
#	dmp-backend/web/src/main/resources/RDACommonStandards.txt
#	dmp-backend/web/src/main/resources/config/application-production.properties
2020-07-03 11:00:07 +03:00
George Kalampokis 2fb270d66c Fix minor issues with the new merge 2020-07-03 10:47:04 +03:00
George Kalampokis 4531a5d61e Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/core/services/dashboard/dashboard.service.ts
2020-07-03 10:45:29 +03:00
George Kalampokis 71279a716e Minor changes to Recent Activity Model 2020-07-03 10:43:54 +03:00
George Kalampokis b57f6fb73c Recent Activity controller will require a custom DataTable Request 2020-07-03 10:43:19 +03:00
apapachristou ce24afd16f Adds text and button to add dataset on empty tab list on dashboard 2020-07-03 10:40:22 +03:00
apapachristou 8551e9140c Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-02 19:35:26 +03:00
apapachristou 52662f33f4 Adds all recent activity 2020-07-02 19:34:27 +03:00
George Kalampokis 6d491b5930 Rda mapper will now be able to use the new DMP fields 2020-07-02 18:36:18 +03:00
George Kalampokis 7127f6dbd6 Minor fix over cost listing 2020-07-02 18:35:16 +03:00
gpapavgeri faaa57e2be dmp overview re-design -- not completed: lock, remove, versions 2020-07-02 18:29:33 +03:00
Diamantis Tziotzios 0fefc762a6 splash screen fixes 2020-07-02 18:08:05 +03:00
Diamantis Tziotzios e2c5fd5c57 splash spell error fix 2020-07-02 18:02:27 +03:00
George Kalampokis 094cff06b1 Properly remove associate Collaborators from a DMP 2020-07-02 17:24:50 +03:00
George Kalampokis 1ec90d7b52 Properly remove associate Collaborators from a DMP 2020-07-02 17:09:54 +03:00
George Kalampokis 64624ca6f1 Properly remove associate Collaborators from a DMP 2020-07-02 17:08:38 +03:00
George Kalampokis 62118179ff Update the cost listing (near finalization) and fix some issues while loading costs from the backend 2020-07-02 17:06:47 +03:00
George Kalampokis 626b499ecc Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign
# Conflicts:
#	dmp-frontend/src/app/core/services/dashboard/dashboard.service.ts
2020-07-02 12:02:47 +03:00
George Kalampokis f5093a6995 Add type to the recent activity model 2020-07-02 11:59:58 +03:00
George Kalampokis 325979a896 Add criteria for the recent activity model 2020-07-02 11:57:59 +03:00
apapachristou 44d9cf537a Adds invite shortcut on DMPs and fixes change language bug on ui 2020-07-02 11:25:06 +03:00
George Kalampokis 747ad60fb1 Update cost listing 2020-07-02 10:16:11 +03:00
Diamantis Tziotzios 710b49fc83 splash changes 2020-07-01 20:30:10 +03:00
George Kalampokis bfb9eaf87c Add costs listing (wip) 2020-07-01 18:33:16 +03:00
gpapavgeri f5c70fdd60 Merge branch 'ui-redesign' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-redesign 2020-07-01 18:32:51 +03:00
gpapavgeri 134313eb3e dmp-overview_update 2020-07-01 18:32:22 +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 5db3485079 Adds drafts listing on dashboard 2020-07-01 10:56:59 +03:00
apapachristou 1230bd2417 Adds dashboard data on tabs 2020-06-30 19:40:01 +03:00
gpapavgeri ee61bf4ffb dmp overview_re-design_update 2020-06-30 18:33:01 +03:00
George Kalampokis 64078eb283 Add isProfileLatestVersion on DatasetListingModel 2020-06-30 18:29:06 +03:00
George Kalampokis f821938542 Created a new Recent Activity model and backend end-point that contains more details about it's objects 2020-06-30 16:59:06 +03:00
George Kalampokis 1cec40a4da Add isPublic on DtasetListingModel 2020-06-30 16:14:18 +03:00
George Kalampokis f1644d1fa0 Merge remote-tracking branch 'origin/ui-redesign' into ui-redesign 2020-06-30 14:41:24 +03:00
George Kalampokis 3c18ed4a0c Add users on DatasetListingModel 2020-06-30 14:37:35 +03:00
gpapavgeri 235096a982 redesign_update 2020-06-29 18:30:36 +03:00
George Kalampokis 08f7d4aca4 Fixed issue with DMP filter on public datasets 2020-06-29 17:18:56 +03:00
George Kalampokis 7de37fa453 Fixed issue when using the copy dataset dialog 2020-06-29 16:48:15 +03:00
George Kalampokis b4576f2b08 Minor styling improvement over DMP Overview 2020-06-29 13:03:20 +03:00
George Kalampokis ecd7898237 Code clean up 2020-06-29 13:00:34 +03:00
George Kalampokis e8c90e66a5 Add support for newer versions of java (11) (expirimental) 2020-06-29 12:50:35 +03:00
George Kalampokis 6e4e23e00d Add Zenodo file visibility field for DMP (ref #274) 2020-06-29 12:23:53 +03:00
gpapavgeri 3bf6c2d927 dmp-overview_re-design_initial commit 2020-06-29 10:53:56 +03:00
George Kalampokis 346c731aae Fixed issue not passing DMP Extra Properties on clones and new Versions 2020-06-26 18:57:04 +03:00
apapachristou 05ea4fffd5 Adds language 2020-06-26 18:27:01 +03:00
apapachristou 1bae868e5a Fixes progress bar, add some dynamic data on recent edited activities 2020-06-26 15:59:02 +03:00
apapachristou 7cf5ddfebe Redesign of landing page, sign in interface, sidebar, navbar, dashboard (still in progress) 2020-06-26 12:08:51 +03:00
George Kalampokis 2ca9eede14 Merge remote-tracking branch 'origin/Development' into Development 2020-06-26 11:50:16 +03:00
George Kalampokis b0dddeeb51 Add DMP Zenodo license field (ref #274) 2020-06-26 11:46:18 +03:00
Diamantis Tziotzios e01d51d41e more splash screen changes 2020-06-25 20:40:41 +03:00
George Kalampokis d81d6e8568 Allow splash to send contact emails 2020-06-25 19:39:10 +03:00
dtziotzios 6d27abaca8 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-06-25 17:52:09 +03:00
dtziotzios 423271713f splash screen changes 2020-06-25 17:52:00 +03:00
George Kalampokis 2e5faf5c05 Hide Uri field on Dataset Editor (ref #275) 2020-06-25 14:05:19 +03:00
George Kalampokis 92fe11b18b When logging in remove the cookie consent popup 2020-06-25 13:35:17 +03:00
George Kalampokis 55d3feb4e3 Fixed minor issues with RDA Mapping 2020-06-25 13:30:47 +03:00
George Kalampokis 791f2fee61 Add currency field type for dataset templates 2020-06-25 13:00:29 +03:00
George Kalampokis 1771ffa426 Add DMP language a placeholder on UI 2020-06-18 16:04:08 +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 ac43dc8bd9 Updated application-devel.properties language.path 2020-06-17 17:32:52 +03:00
George Kalampokis e539278d78 Fixed and improved the dataset template export/import to/from xml 2020-06-17 12:30:54 +03:00
George Kalampokis 8d9913c229 If data repositories have no source then use it's tag 2020-06-16 18:46:38 +03:00
George Kalampokis b28fc644f6 Add additional Data Repository OpenAIRE source 2020-06-16 18:45:26 +03:00
George Kalampokis 38986ef67b no message 2020-06-16 17:58:31 +03:00
Diamantis Tziotzios bff260b85b config file changes 2020-06-16 17:54:50 +03:00
George Kalampokis bb8f30fa3a Add OpenAIRE Organizations source for the ExternalUrls 2020-06-16 17:22:48 +03:00
George Kalampokis ddd0b60d37 Load various resources from classpath instead of an actual path on Stagging and Production 2020-06-16 11:19:27 +03:00
George Kalampokis a8015064a8 Prevent storing Tags if the elastic service is unavailable 2020-06-16 11:17:07 +03:00
George Kalampokis 4a9c589636 Fixed maven depedency issues 2020-06-16 11:07:18 +03:00
George Kalampokis 4cf46aea14 Allow rda keywords with text fields to be stored to the elastic as regular tags 2020-06-12 18:19:32 +03:00
George Kalampokis c7892f45df Tags created by the form by using the rda standard keyword or the tag field will be stored to the dataset's tags in elastic 2020-06-12 17:25:53 +03:00
George Kalampokis c5f4701f97 Fixed issue when creating DMP through the wizard 2020-06-11 17:59:53 +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 914ab50127 Update DB Version 2020-06-10 16:23:54 +03:00
George Kalampokis 7c9d7d7fd0 Remove unused class 2020-06-10 16:18:24 +03:00
George Kalampokis ba091fad6c Remove User Association Table 2020-06-10 16:09:26 +03:00
George Kalampokis 33423b92f6 Removed HTTP-Logger (deprecated) 2020-06-10 13:18:04 +03:00
George Kalampokis 56da83d1e8 Further improvement of the import popup style 2020-06-10 12:45:10 +03:00
George Kalampokis 95e748a285 Improve import popup style and fixed the error message showing while importing 2020-06-10 12:22:20 +03:00
George Kalampokis 7695772d55 Updated production settings 2020-06-09 18:01:26 +03:00
George Kalampokis 314c62e1aa Prevent duplicate researchers to be added when importing from RDA json 2020-06-09 17:12:09 +03:00
George Kalampokis 12587ee865 Add rda support for researchers and tags field 2020-06-09 16:25:50 +03:00
George Kalampokis c927e41d83 Add dmp contributors for the RDA Common Standards 2020-06-08 18:34:26 +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 64ff9d749c Add Implementation for all the new fields (except dataset Identifier) 2020-06-05 18:30:48 +03:00
George Kalampokis 8ee2018617 Fixed issue when creating new DMPs 2020-06-04 18:38:36 +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 81c3e220e8 Fixed issue when upload dmps without set profile 2020-06-03 12:43:31 +03:00
George Kalampokis 30542b4156 Merge remote-tracking branch 'origin/Development' into Development 2020-06-03 12:16:21 +03:00
George Kalampokis 78ee4673ee Add ExtraProperties for DMP and language for Dataset Template 2020-06-03 12:13:31 +03:00
apapachristou a74321b3b4 Changes menu popups to open on hover 2020-06-02 12:55:31 +03:00
George Kalampokis 8a34ee6233 Merge remote-tracking branch 'origin/Development' into Development 2020-05-29 17:14:31 +03:00
George Kalampokis 58a41edea7 Add new source for data repositories and updated H2020 template 2020-05-29 17:13:02 +03:00
George Kalampokis effc3c8431 Improve support for External sources 2020-05-29 17:10:18 +03:00
apapachristou 4377008830 Adds button "sent" on contact 2020-05-29 17:08:46 +03:00
George Kalampokis 0e89ec50a6 Fixed minor issue when importing RDA Distributions 2020-05-29 16:08:40 +03:00
George Kalampokis 4d91f0c7af Even more fixes for RDA import 2020-05-29 14:42:21 +03:00
George Kalampokis 644976be29 Fix frontend issue 2020-05-29 14:01:28 +03:00
George Kalampokis 7c327949dd Allow to set default dataset template when importing RDA json files 2020-05-29 13:39:18 +03:00
George Kalampokis 9519300dc4 Removed deprecated configurations and added additional RDA Common Standards for dataset Templates
(cherry picked from commit 5b0a66ce06)
2020-05-29 12:07:59 +03:00
George Kalampokis 5b0a66ce06 Removed deprecated configurations and added additional RDA Common Standards for dataset Templates 2020-05-29 11:57:21 +03:00
George Kalampokis 1c91103781 Merge remote-tracking branch 'origin/Development' into Development 2020-05-29 11:36:47 +03:00
George Kalampokis 544eb92d86 Improved Import process 2020-05-29 11:35:32 +03:00
apapachristou 19c61ce868 Adds all pages on resources 2020-05-28 19:51:25 +03:00
apapachristou ea8b42968a Adds pages: /about/how-it-works.html and /about/faqs.html 2020-05-28 19:50:16 +03:00
apapachristou 0d34656fe0 Changes on Contact page 2020-05-28 19:47:25 +03:00
George Kalampokis 48a17b6d55 Merge remote-tracking branch 'origin/Development' into Development 2020-05-28 18:40:10 +03:00
George Kalampokis d0952d91c5 Re-configure RDA Mappers 2020-05-28 18:38:08 +03:00
apapachristou 6a5eeec076 Adds menu popups 2020-05-27 19:20:36 +03:00
apapachristou 53bbb67e94 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-05-27 19:14:03 +03:00
George Kalampokis 20d0d8b648 Fix critical issue with root path 2020-05-27 19:08:02 +03:00
apapachristou 91e88329be Adds contact page 2020-05-27 18:40:13 +03:00
George Kalampokis 6cc77468c5 Add landing page (/splash) 2020-05-27 17:19:38 +03:00
George Kalampokis 62c61a8119 Allow Dmps to un-finalize if they are not published or not having a DOI (ref #272) 2020-05-26 14:31:47 +03:00
George Kalampokis 2b9c2ee1e7 Add support for multiple sources on dataset autocomplete templates 2020-05-25 17:14:42 +03:00
George Kalampokis 9373d3e038 Fixed logback paths
(cherry picked from commit 33ec8b81c0)
2020-05-20 15:39:27 +03:00
George Kalampokis 33ec8b81c0 Fixed logback paths 2020-05-20 15:37:21 +03:00
George Kalampokis f5773589ff When selecting profiles from DMP editor or DMP wizard. All templates will be sorted alphabetically (ref #268) 2020-05-19 18:35:50 +03:00
George Kalampokis da7f90eb18 When creating Zenodo DOI publish the DMP but keep the files under restricted access and don't give identifier back until it go public. Also add zenodo proxy for the identifier (ref #257) 2020-05-15 16:19:35 +03:00
dtziotzios d971f02a94 Merge branch 'Development'
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/controllers/DMPs.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DataManagementPlanManager.java
2020-05-13 17:29:52 +03:00
George Kalampokis cebf3935f3 Bug fix 2020-05-13 16:32:01 +03:00
George Kalampokis 9651be1b78 Removed old database updates (redundant) 2020-05-13 12:49:14 +03:00
George Kalampokis c003c6468e Merge remote-tracking branch 'origin/Development' into Development 2020-05-13 10:57:36 +03:00
George Kalampokis 08bf30b79b Simplified database deployment scripts 2020-05-13 10:56:02 +03:00
Diamantis Tziotzios 0a4cad8292 bug fix 2020-05-12 19:54:52 +03:00
Diamantis Tziotzios ee5f74f25f gr lang update 2020-05-12 17:41:44 +03:00
George Kalampokis af62e192ae Improved deployment 2020-05-12 13:10:23 +03:00
George Kalampokis e2b15f1b82 Add self deploy scripts for the database (without docker) 2020-05-11 18:34:42 +03:00
George Kalampokis 1335ca5724 Merge remote-tracking branch 'origin/Development' into Development 2020-05-11 14:11:10 +03:00
George Kalampokis f51973cfc0 Update dataset profile criteria 2020-05-11 14:01:40 +03:00
Diamantis Tziotzios 36ef691e1e Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-05-11 13:49:48 +03:00
Georgios Kakaletris 9d00e7cbf5 Update LICENSE
(cherry picked from commit d3915e26e7)
2020-05-11 13:49:36 +03:00
George Kalampokis 19b8a49370 Fixed issue with doiFunder sql 2020-05-11 11:46:16 +03:00
Georgios Kakaletris d3915e26e7 Update LICENSE 2020-05-09 00:03:50 +02:00
George Kalampokis 50c45b7271 Show status on dataset profile listing and filter them based on status (ref #265) 2020-05-08 18:27:16 +03:00
George Kalampokis b539544075 Add link to relevant zenodo entity on DOI overview with root link configurable (ref #264) 2020-05-07 10:57:20 +03:00
George Kalampokis 0eb0707fd5 Add openaire grant on DOI creation (ref #257) 2020-05-06 18:11:33 +03:00
George Kalampokis 42b2ff67f6 Fixed issue when retrieving grants using funderId 2020-05-06 18:02:19 +03:00
George Kalampokis 7784547bea When generating DOI it will remain unpublished until the DMP got published, add reference identifier to the DMP (public overview) and add collaborators (associated users and researchers) to DOI generation (ref #257) 2020-05-05 18:31:32 +03:00
George Kalampokis f397ce6c72 Fixed issue when creating new users 2020-05-04 17:19:23 +03:00
George Kalampokis 5d6fbd3e37 Improve self deployment 2020-05-04 17:15:52 +03:00
George Kalampokis 08737cbbf0 Minor bugfix 2020-05-04 16:00:23 +03:00
George Kalampokis 391a88a236 The invite pop up will show only user collaborating with DMP that the current user also is collaborating (ref #258) 2020-05-04 15:47:30 +03:00
George Kalampokis 75fc400349 Added postgres on docker compose 2020-04-29 14:03:19 +03:00
George Kalampokis 411de18e9f Fixed issue when creating DMP from the creation Wizard 2020-04-28 18:27:31 +03:00
George Kalampokis d67e68d0d9 Improve self deployment 2020-04-27 16:21:03 +03:00
George Kalampokis 8ae58c9ef3 Allow Organization Creator to be visible by configuration (ref #255) 2020-04-23 10:48:14 +03:00
George Kalampokis 05e2374f97 When exporting to JSON export it with pretty text 2020-04-22 18:43:19 +03:00
George Kalampokis 0c443dfeba Renamed JSON Export to RDA JSON 2020-04-22 18:41:54 +03:00
George Kalampokis 4e68666089 Re organize DMP controller and manager functions and added the ability to add custom organization (not configurable yet) (ref #255) 2020-04-22 18:40:43 +03:00
George Kalampokis ef40c5568f Removed unnecessary condition when retrieving DMPs 2020-04-21 17:54:00 +03:00
George Kalampokis 744acd7abf Fixed issue when creating new Datasets 2020-04-21 12:41:37 +03:00
George Kalampokis d0cb186ab2 Fixed issue with Zenodo DOI generation with user token 2020-04-21 12:40:50 +03:00
George Kalampokis 96576b16a8 Merge Dataset Index to the Dmp Index (ref #252) 2020-04-17 13:01:26 +03:00
George Kalampokis e0211a019c Fixed issues with public dashboard 2020-04-16 18:36:17 +03:00
George Kalampokis 00e4dd5d36 Minor cleanup to logstash 2020-04-16 18:34:32 +03:00
George Kalampokis 91fc1bc5b1 Made elastic dmp mapping more safe 2020-04-16 18:32:47 +03:00
George Kalampokis 2ba3f11687 Add additional editors for the remaining external references 2020-04-14 16:43:09 +03:00
George Kalampokis 80a11b2cb3 Fixed dataset indexing when finalizing DMPs 2020-04-13 16:35:32 +03:00
George Kalampokis 20466bf693 Improve and fixed zenodo account association 2020-04-13 16:33:45 +03:00
George Kalampokis d2192f2be0 Improve external's dataset styling 2020-04-13 16:31:09 +03:00
George Kalampokis 3ce7fe7595 Allow to edit user created Data Repositories 2020-04-10 18:52:14 +03:00
George Kalampokis 982aea0cbf Improved Zenodo Account Integration 2020-04-10 17:16:37 +03:00
George Kalampokis 417ee02087 Fixed minor issue 2020-04-09 16:53:26 +03:00
George Kalampokis 36ccbb8d80 Merge branch 'Personalized-DOI' into Development 2020-04-09 16:49:27 +03:00
George Kalampokis f402837403 Updated AOF and FWF templates 2020-04-09 15:55:56 +03:00
George Kalampokis 4ffc82373b Add H2020 with RDA template 2020-04-09 12:39:34 +03:00
George Kalampokis a63ae3045e When selecting "login with zenodo" it will prompt and login with zenodo, and the access token will be registered to the current user instead of re-login you in with the zenodo account.
Also disable Zenodo user login
2020-04-08 16:36:06 +03:00
George Kalampokis 3fc5d68135 Merge remote-tracking branch 'origin/Personalized-DOI' into Personalized-DOI 2020-04-07 18:44:50 +03:00
George Kalampokis 330ead8f39 Additional checkup 2020-04-07 18:42:33 +03:00
George Kalampokis b97f08d0f4 Add zenodo DOI access token expiration check up and show proper pop up when the user has either no or expired token 2020-04-07 18:42:32 +03:00
George Kalampokis f39c113b7b Add Zenodo Login and the ability to use it's access token for DOI creation 2020-04-07 18:42:31 +03:00
George Kalampokis be6227a81d Fixed issue with dmp index when creating a new version, and some othe minor dmp index issues 2020-04-07 18:41:25 +03:00
George Kalampokis c03db87bde Merge remote-tracking branch 'origin/Personalized-DOI' into Personalized-DOI 2020-04-07 10:32:02 +03:00
George Kalampokis 429eb4a04d Additional checkup 2020-04-07 10:30:18 +03:00
George Kalampokis bdcbc5553b Add zenodo DOI access token expiration check up and show proper pop up when the user has either no or expired token 2020-04-07 10:30:17 +03:00
George Kalampokis 07da2278cb Add Zenodo Login and the ability to use it's access token for DOI creation 2020-04-07 10:30:16 +03:00
George Kalampokis d664d19207 Improvements and bugixes over elastic 2020-04-06 18:34:25 +03:00
George Kalampokis 06df52334c Additional checkup 2020-04-06 18:31:12 +03:00
George Kalampokis 7b5588bcbe Add zenodo DOI access token expiration check up and show proper pop up when the user has either no or expired token 2020-04-06 18:16:05 +03:00
George Kalampokis 5b1c697103 Add Zenodo Login and the ability to use it's access token for DOI creation 2020-04-03 18:40:03 +03:00
George Kalampokis 4d59821b6c Allow twitter oauth to login without email (ask when logging in) 2020-04-03 17:04:53 +03:00
George Kalampokis 194ae2ccf0 Fixed minor issues with dmp index and dmp compact listing 2020-04-03 13:37:16 +03:00
George Kalampokis c028aad615 Fixed and improved file export system
(cherry picked from commit 71ccd76896)
2020-04-02 18:44:40 +03:00
George Kalampokis 6e9b711e15 Merge remote-tracking branch 'origin/Development' into Development 2020-04-02 17:23:27 +03:00
George Kalampokis 71ccd76896 Fixed and improved file export system 2020-04-02 17:22:41 +03:00
Diamantis Tziotzios 4ee39074a3 Merge commit '8ca2b912d40ece8bf0fbcda5c49f1ef7f5f6fdfd' 2020-04-02 13:33:08 +03:00
Diamantis Tziotzios 7104c81228 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-04-02 13:32:33 +03:00
Diamantis Tziotzios 1c4b0ba87a fb login provider fix 2020-04-02 13:32:14 +03:00
George Kalampokis 88e34e1ec1 Removed external Tags 2020-04-01 18:17:17 +03:00
George Kalampokis dcede0b1eb Add Dmp Index (ref #252), compacted Dmp Listing so now both the user and the public listing will use one component (ref #253) and refactor operation context 2020-04-01 18:16:06 +03:00
George Kalampokis 8ca2b912d4 Immproved Ui styling 2020-03-31 11:50:25 +03:00
George Kalampokis 575fc70f32 Add Database Versioning 2020-03-31 11:48:34 +03:00
George Kalampokis f8d343c128 Fixed dataset Export 2020-03-31 10:08:25 +03:00
George Kalampokis 78753404b5 Add temp folder for downloading DMP exported files 2020-03-30 18:24:19 +03:00
George Kalampokis 2c16e1c376 When exporting dataset to RDA keep ONLY the researchers as contributors 2020-03-30 16:44:49 +03:00
George Kalampokis 5a07e4f01b Make researcher model mapper more safe 2020-03-30 15:38:10 +03:00
George Kalampokis 7cdd2082f7 Minor fix when deleting un-indexed datasets 2020-03-30 15:37:04 +03:00
George Kalampokis 4b5be15f41 When Importing from json use the given name on the DMP 2020-03-30 15:36:07 +03:00
George Kalampokis dca8fa83a0 Removed Bad Hack 2020-03-30 15:34:56 +03:00
George Kalampokis 1b0b84a7d2 If elastic index fail to retrieve datasets for the dashboard show directly from the DB 2020-03-30 15:33:30 +03:00
George Kalampokis af93a2ce99 Fixed RDA Import indexing 2020-03-27 16:50:20 +02:00
George Kalampokis f7a4bee8e1 Merge remote-tracking branch 'origin/new_rda' into new_rda 2020-03-27 15:45:25 +02:00
George Kalampokis 9de0989976 Added Host and License RDA imports & (not functional yet) dataset indexing 2020-03-27 15:42:47 +02:00
George Kalampokis 665a12f2cb Small bugfix for RDA Import 2020-03-27 15:42:46 +02:00
George Kalampokis b03d45661e Add RDA Import 2020-03-27 15:42:45 +02:00
George Kalampokis 7a921ec33a Minor bug fixes on the exporter 2020-03-27 15:42:43 +02:00
George Kalampokis a6bd1f71ca Improved object coupling for various objects on the dataset form 2020-03-27 15:42:42 +02:00
George Kalampokis 9e72be32d4 Add new RDA exporter 2020-03-27 15:42:40 +02:00
George Kalampokis a23b1dd262 Allow orcid external url to retrieve more results 2020-03-27 15:39:44 +02:00
George Kalampokis 2143d7c6a0 Merge remote-tracking branch 'origin/new_rda' into new_rda
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DataManagementPlanManager.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DistributionRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/HostRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/LicenseRDAMapper.java
2020-03-27 14:40:17 +02:00
George Kalampokis 2654e56d9f Added Host and License RDA imports & (not functional yet) dataset indexing 2020-03-27 14:39:23 +02:00
George Kalampokis 9a56d55fb7 Small bugfix for RDA Import 2020-03-27 14:37:32 +02:00
George Kalampokis c80e8bb4ba Add RDA Import 2020-03-27 14:37:31 +02:00
George Kalampokis 41d0b10725 Minor bug fixes on the exporter 2020-03-27 14:37:30 +02:00
George Kalampokis 19ccef6991 Improved object coupling for various objects on the dataset form 2020-03-27 14:37:29 +02:00
George Kalampokis a36b98535c Add new RDA exporter 2020-03-27 14:37:27 +02:00
George Kalampokis 9cd7e24313 Updated orcid external search (expanded Search) 2020-03-27 14:34:11 +02:00
George Kalampokis aa1f96028c Merge remote-tracking branch 'origin/new_rda' into new_rda 2020-03-27 11:00:41 +02:00
George Kalampokis 50d7bc6d28 Small bugfix for RDA Import 2020-03-27 10:59:12 +02:00
George Kalampokis 7a0e9132d0 Add RDA Import 2020-03-27 10:54:44 +02:00
George Kalampokis 646de5ccfb Minor bug fixes on the exporter 2020-03-27 10:54:44 +02:00
George Kalampokis dbf271047c Improved object coupling for various objects on the dataset form 2020-03-27 10:54:44 +02:00
George Kalampokis e8dcb6bd0f Add new RDA exporter 2020-03-27 10:54:44 +02:00
George Kalampokis 4a4dd03b87 Small fix for config.json 2020-03-27 10:51:49 +02:00
George Kalampokis db99cfe63d Small bugfix for RDA Import 2020-03-27 10:50:37 +02:00
George Kalampokis aa59d21a56 Merge remote-tracking branch 'origin/new_rda' into new_rda 2020-03-27 09:38:22 +02:00
George Kalampokis 463277b399 Add RDA Import 2020-03-27 09:36:23 +02:00
George Kalampokis 357ad4ecda Minor bug fixes on the exporter 2020-03-27 09:36:21 +02:00
George Kalampokis 7238252954 Improved object coupling for various objects on the dataset form 2020-03-27 09:36:20 +02:00
George Kalampokis c05fa8b768 Add new RDA exporter 2020-03-27 09:36:19 +02:00
George Kalampokis 419454daa7 Merge remote-tracking branch 'origin/Development' into Development 2020-03-26 18:44:39 +02:00
George Kalampokis 21fe5bb621 Replace the usage of environment.ts with config.json (not too stable) (ref #251) 2020-03-26 18:44:12 +02:00
George Kalampokis a283bd47cf Add RDA Import 2020-03-26 18:39:25 +02:00
Diamantis Tziotzios d5c5c9743b conf changes 2020-03-24 17:08:03 +02:00
George Kalampokis 9269460189 Minor bug fixes on the exporter 2020-03-24 11:26:17 +02:00
George Kalampokis f1c405dae9 Improved object coupling for various objects on the dataset form 2020-03-23 18:09:31 +02:00
George Kalampokis cbf8bca268 Add new RDA exporter 2020-03-20 18:20:22 +02:00
George Kalampokis 759016dd0b Fixed issue when retrieving Datasets from the Database when index return no results 2020-03-20 15:55:34 +02:00
George Kalampokis efe75b4932 Minor fixes on DMP json export 2020-03-19 18:22:47 +02:00
George Kalampokis 2dc5037afe Fixed issue when impoting DMP with Organizations and/or researchers 2020-03-19 13:36:01 +02:00
George Kalampokis b5877f997c Fix and Improve Zenodo DOI creation 2020-03-19 12:50:23 +02:00
George Kalampokis 097d45dc0b Add days on log files 2020-03-18 18:25:04 +02:00
George Kalampokis aa1156f940 Add Form Data index for dataset 2020-03-18 18:23:34 +02:00
George Kalampokis 7082b958ac Fix dashboard showing incorrect dmp and dataset counts 2020-03-18 11:22:10 +02:00
George Kalampokis 672055f9ca Fix issue when inserting dataset status on dataset listing 2020-03-18 11:19:53 +02:00
George Kalampokis e68bc2a822 Improve tag unique persistence 2020-03-18 10:22:39 +02:00
George Kalampokis d6c8803c9f Prevent showing duplicate Tags 2020-03-17 18:03:43 +02:00
George Kalampokis f48e4b5275 Keep tags consistent 2020-03-17 17:46:41 +02:00
George Kalampokis aca78cac8e When deleting DMP update dataset indexes of previous versions 2020-03-17 17:33:55 +02:00
George Kalampokis 697a8908e1 Copy Tags when cloning or making new versions 2020-03-17 17:14:16 +02:00
George Kalampokis 1d05c73745 Even more bugfixes 2020-03-17 17:10:14 +02:00
George Kalampokis 761e6ad078 Minor bugfix 2020-03-17 16:40:10 +02:00
George Kalampokis 37a1253b08 When checking for pre-existing Funders, grants and project get the last modified if found 2020-03-17 15:59:25 +02:00
George Kalampokis 2c765dbc52 Fixed issue when canceling dataset edit after at least one change 2020-03-17 15:57:28 +02:00
George Kalampokis 89d609a46c Minor bugfix 2020-03-17 15:29:37 +02:00
George Kalampokis 4822274a98 Fixed public dataset DMP Link 2020-03-17 12:44:37 +02:00
George Kalampokis 5336ac935f Improve language Editor Styling 2020-03-17 12:43:57 +02:00
George Kalampokis a21afab48a Add Last Public Version on Dataset Index 2020-03-17 12:43:20 +02:00
George Kalampokis 5ec02a89de Fixed some issues and added Dataset description on index 2020-03-17 12:41:27 +02:00
George Kalampokis 35b89edabc Integrate Public Dataset Listing to regular Dataset Listing 2020-03-16 18:50:29 +02:00
George Kalampokis d34d8a692c Minor bugfix 2020-03-16 11:11:34 +02:00
George Kalampokis 98af721e89 Minor improvement on Tags Styling 2020-03-16 11:10:23 +02:00
George Kalampokis f480ee6986 Prevent deleted datasets to be shown on th dataset List 2020-03-16 11:09:24 +02:00
George Kalampokis ec0fd47021 Invite collaborators will show only to DMP owner on overview 2020-03-13 18:38:33 +02:00
George Kalampokis 389c41fedc Remove lock requests from published datasets 2020-03-13 18:37:40 +02:00
George Kalampokis 3eb323ba4b Fixed tags for finalized, locked and published datasets 2020-03-13 18:36:57 +02:00
George Kalampokis 1f6b98ad60 Removed License notice on Dashboard and fixed public dataset link 2020-03-13 18:35:51 +02:00
George Kalampokis 9eac5d16c7 Clean and fixed spanish translation 2020-03-13 18:34:37 +02:00
George Kalampokis 33539788f9 Fixed and Improved Dataset indexing 2020-03-13 18:33:58 +02:00
George Kalampokis 1a06bb98c6 Fixed issue with ORCID Research search queries 2020-03-13 12:05:34 +02:00
George Kalampokis dbf94eb4b4 Add support for Research Organization Registry API 2020-03-13 12:04:20 +02:00
George Kalampokis 286c5d8900 When new DMP Version is made create also Dataset description index for the new version 2020-03-13 12:02:19 +02:00
Diamantis Tziotzios 4ae13704c5 autocomplete fix 2020-03-11 16:21:58 +02:00
Diamantis Tziotzios 7f71b7146b spanish lang update 2020-03-11 15:51:35 +02:00
Diamantis Tziotzios ce8f838537 profile changes 2020-03-11 12:26:51 +02:00
George Kalampokis 0067ecef26 More bugfixes 2020-03-11 11:42:38 +02:00
George Kalampokis 818c6378c2 Add index management for admins 2020-03-11 11:06:43 +02:00
George Kalampokis 9071faba38 Add dmp ids, organization, tags and last version (incomplete) to the elastic index 2020-03-11 11:04:49 +02:00
George Kalampokis 2329ad8bed Fix issue when creating new DMPs 2020-03-10 18:15:42 +02:00
George Kalampokis 4a7a947b66 Minor Dependency bugfix 2020-03-10 15:50:12 +02:00
George Kalampokis f7d0376b78 Add elastic stack shared folder structure 2020-03-09 17:06:10 +02:00
George Kalampokis c11ab819cb minor rollback 2020-03-09 16:50:12 +02:00
George Kalampokis c807d28c29 Updated Elastic stack in order to store log files and add (expirimental) dataset index 2020-03-09 16:47:32 +02:00
George Kalampokis ce4056b42f Update logback version 2020-03-06 10:19:58 +02:00
George Kalampokis faa32a9c44 Improve DMP Overview's Grant Styling 2020-03-03 11:20:27 +02:00
George Kalampokis 8a4afade34 Improve Xml export styling and ignore null DMP's on Dataset model mapping 2020-03-03 11:19:08 +02:00
George Kalampokis e243126bf9 Fixed DMP import(xml) and move the import button to a better place 2020-03-03 11:16:02 +02:00
George Kalampokis bf60e661ab Refactor backend resources and added logback configurations 2020-03-03 11:09:27 +02:00
George Kalampokis 46eac8684d Further Improvements over Language Editor Search bar styling 2020-02-28 18:25:23 +02:00
George Kalampokis a70bb595ca Improved Language Editor search bar styling and made it case insensitive 2020-02-28 17:16:11 +02:00
George Kalampokis e2982b6c3d Improved auto complete styling 2020-02-28 16:59:04 +02:00
George Kalampokis 687390e3b9 Add Search bar for the language Editor and fixed some minor bugs on it 2020-02-28 12:58:42 +02:00
George Kalampokis 1254cabbf1 Fixed "View All" button on the homepage's recent activity DMP 2020-02-26 17:34:35 +02:00
George Kalampokis 51ade4f618 Vastly improved Language Editor loading time (virtual scrolling) 2020-02-26 17:23:48 +02:00
George Kalampokis 4e9b804744 Prevent DMP Finalization if there are no finalized Dataset Descriptions (not just a warning) 2020-02-26 14:14:50 +02:00
George Kalampokis e26db8e4c4 Improved null value Handling on WordBuilder 2020-02-26 13:37:54 +02:00
George Kalampokis 2b30d4e2d2 Fixed security issues with Dataset Description access 2020-02-26 13:36:42 +02:00
George Kalampokis 03619a65fc Minor refactoring 2020-02-26 10:51:47 +02:00
George Kalampokis d00b4d5e59 Fixed issue with Zenodo API and empty descriptions 2020-02-26 10:41:49 +02:00
George Kalampokis 77df06c6bd Add button to add new dataset on DMP overview (ref #245) 2020-02-25 18:36:43 +02:00
George Kalampokis af5265ee29 DMP Wizard Funder and Grant are now aligned 2020-02-25 18:01:48 +02:00
George Kalampokis c2de90183e When cancelling the edit of a dataset descriptor and start editing another with the same template reset the visibility rules on the template form 2020-02-25 16:12:57 +02:00
George Kalampokis 524b1d68be When creating a zenodo DOI handle more properly empty DMP description 2020-02-24 12:13:50 +02:00
George Kalampokis be97645bf0 When creating a new zenodo version keep only the latest version file (ref #221) 2020-02-24 12:12:53 +02:00
George Kalampokis ea0290fb03 Show error messages on dmp editor 2020-02-24 11:38:26 +02:00
George Kalampokis acca3bf411 When creating a new version on zenodo update also it's metadata in order to corespond to the current DMP version (ref #221) 2020-02-24 11:37:54 +02:00
George Kalampokis 0d59cce33c Allow zenodo deposits to keep more than one files when creating a new version (ref #221) 2020-02-24 09:59:03 +02:00
George Kalampokis d522bd7c2f Add Zenodo versioning support (ref #221) 2020-02-21 14:04:14 +02:00
George Kalampokis 8dba2eb543 Update Spanish Translation 2020-02-19 18:44:05 +02:00
George Kalampokis 170a2ee444 Add new dashboard bg 2020-02-19 17:55:05 +02:00
George Kalampokis 8ed3c658d4 Add get User From DMP on DMP editor 2020-02-19 10:19:48 +02:00
George Kalampokis d9b53f6056 Removed unused role creator 2020-02-18 18:41:56 +02:00
George Kalampokis 95d1da10bb Removed unused role CREATOR 2020-02-18 18:25:41 +02:00
George Kalampokis 694d7f04b8 Updated logback version in order to prevent close Context errors 2020-02-18 18:05:35 +02:00
George Kalampokis 2636f919b2 Add Language selector for the mobile sidebar and fix the avatar 2020-02-18 16:47:58 +02:00
George Kalampokis 0e98c49d9c Small improvements for User Guide (ref #239) 2020-02-18 16:44:22 +02:00
George Kalampokis e5b1ca595e improved language menu styling 2020-02-18 13:34:17 +02:00
George Kalampokis a648466b45 Improved Notifications async process (ref #244) 2020-02-18 13:22:17 +02:00
George Kalampokis ca10323e78 Refactor navbar language menu and add tooltips for both the language and the user buttons that display the current language and the user name 2020-02-18 13:14:19 +02:00
George Kalampokis 196eb9b242 Remove unused style class 2020-02-18 13:05:55 +02:00
George Kalampokis e32cfba6ab Improved DMP editor (expert) lock message styling and added message if the user is not allowed to edit the DMP in the first place 2020-02-18 13:01:56 +02:00
George Kalampokis cd4f68f8f5 Small refactor 2020-02-17 17:43:12 +02:00
George Kalampokis 28074a7f17 Add User Avatar fallback to placeholder 2020-02-17 17:39:33 +02:00
George Kalampokis 1750a4a308 Add user guide translation names on the Spain translation file 2020-02-17 14:26:05 +02:00
George Kalampokis 7b5ae98add Small refactor 2020-02-17 12:58:17 +02:00
George Kalampokis aa74f810e5 Add additional Notifications when the DMP/Dataset gets finalised and when the DMP gets public (ref #243 & #244) 2020-02-17 12:41:01 +02:00
George Kalampokis 25988ab272 Add Email Notifications when one of the collaborators is editing either a DMP or a Dataset (ref #244) 2020-02-14 18:40:34 +02:00
George Kalampokis f4cd087672 Removed unused settings on devel 2020-02-14 18:33:19 +02:00
George Kalampokis dd482f08a3 Add "invite Collaborators" on DMP Overview (ref #241) 2020-02-14 18:14:48 +02:00
George Kalampokis 995cb32017 Add proper lock message on DMP Editor 2020-02-14 11:14:09 +02:00
George Kalampokis ec0901e791 Further improvements over multiple lock handling 2020-02-14 11:08:26 +02:00
George Kalampokis c82b7ed0b7 Styling fix for user guide 2020-02-14 10:47:46 +02:00
George Kalampokis c50cae7f6c Small refactor 2020-02-14 10:37:24 +02:00
George Kalampokis a8fa0312d1 Fix issue when multiple locks are in DB 2020-02-14 10:35:19 +02:00
George Kalampokis 2b41ca582f Add User Guide resources (ref #239) 2020-02-13 18:37:13 +02:00
George Kalampokis 551db6a998 Improvements & fixes for the User Guide content component 2020-02-13 18:18:54 +02:00
George Kalampokis 9018795e6e Add User Guide Editor (ref #239) 2020-02-13 18:15:34 +02:00
George Kalampokis 85689db9aa Add user guide on the sidebar footer (ref #239) 2020-02-12 18:24:42 +02:00
George Kalampokis 68908d3d77 Minor bugfix 2020-02-12 09:48:46 +02:00
George Kalampokis 8098b8bafd Fix issue that prevented the creation of DMPs and Datasets 2020-02-11 18:29:40 +02:00
George Kalampokis b62c0f7ff5 Add a new Lock Table that will prevent two or more users to edit simultaneously a single DMP or Dataset (ref #240) 2020-02-11 18:27:54 +02:00
George Kalampokis ccea83b4d4 Removed target file 2020-02-11 18:14:34 +02:00
George Kalampokis f22cd0617a Small fix 2020-02-10 18:29:54 +02:00
George Kalampokis 5f0bd15d7c Add new researchers external Source from ORCID 2020-02-10 18:27:38 +02:00
George Kalampokis 2116838c45 Add support for RemoteFetcher redirection and xml content types 2020-02-10 18:24:15 +02:00
George Kalampokis 4e5a48e6c4 Add additional checkups when editing DMPs and Datasets in order to ensure that no other user has edit them. (ref #240) 2020-02-10 18:21:06 +02:00
George Kalampokis c515d3ddf6 When disabling the "from All Versions" option show the Datasets of the latest non-deleted DMPs 2020-02-06 13:50:56 +02:00
George Kalampokis a9b87a5b9f On user profile show only non-deleted and latest versions of associated DMPs 2020-02-06 13:06:47 +02:00
George Kalampokis 286f556bfc When creating a new Grant or Project show all the fields as required (since they are) 2020-02-06 11:31:43 +02:00
George Kalampokis 4da5f54362 When deleting a DMP that has more than one versions then show the previous version of that DMP on the list (no ghost Datasets) 2020-02-06 10:56:03 +02:00
George Kalampokis ebb9617aa6 Added Admin Auth Guard Service in order to prevent registered and non registered users to access admin components by just using their url paths 2020-02-03 17:53:25 +02:00
George Kalampokis 47650abfa0 Refactor composite Title, description and delete button for improved styling 2020-02-03 17:50:18 +02:00
George Kalampokis eafcf80e10 Add missing translations on the spanish translation File 2020-02-03 17:36:09 +02:00
George Kalampokis c124da0a50 Add Language Editor Title to the english translation file 2020-02-03 17:35:34 +02:00
George Kalampokis c18c9b7dc7 When updating a language keep the JSON with new lines 2020-02-03 11:08:19 +02:00
Diamantis Tziotzios 1b4952a909 Merge branch 'Development' 2020-01-31 18:26:27 +02:00
George Kalampokis f5de71d0ad Improve the styling of related DPMs on user profile 2020-01-30 12:51:01 +02:00
George Kalampokis 6c73ed5131 Fixed issue when trying to retrieve non-existing user during e-mail confirmation and when the e-mail is confirmed it will show proper message on the frontend (ref #233) 2020-01-30 11:34:59 +02:00
George Kalampokis 8b1d285ff4 Replace the DMP creator with the user roles on the User's profile (ref #224) 2020-01-29 18:28:46 +02:00
George Kalampokis c2c837d54e When hovering on User's DMPs make the mouse to show the pointer 2020-01-29 18:25:53 +02:00
George Kalampokis f72f734ed4 Form's auto resizable text area will no longer show the scrollbar 2020-01-29 13:24:06 +02:00
George Kalampokis 894b358f9a When deleting the first fieldset all the values from the second fieldset will be moved to the first fieldset instead of just the first value (ref #156) 2020-01-29 12:38:16 +02:00
George Kalampokis 69fde5f353 Even more Replacements of the HttpRemoteLogger with the sl4j Logger (ref #223) 2020-01-28 18:33:50 +02:00
George Kalampokis 781be46031 Nav Bar Language selector can properly be stored to the user's settings and is hidden on the User's profile page (ref #228) 2020-01-28 18:31:21 +02:00
George Kalampokis 0bebdae163 Fixed environment.ts double declaration of the linkedin redirect Url 2020-01-28 18:28:01 +02:00
George Kalampokis c3b16b1fa8 Add language editor component 2020-01-28 10:13:26 +02:00
George Kalampokis cb9509ee4f Added a functional Language Editor 2020-01-27 18:38:24 +02:00
George Kalampokis d119a723f3 Add Translations for the Language names and the Language Controller will retrieve it's files from a path instead of the classpath (ref #228) 2020-01-24 18:03:05 +02:00
George Kalampokis 63ac6df2ab Vastly improved Internationalization support (ref #228) 2020-01-23 18:35:11 +02:00
George Kalampokis 88f0d80b1e Removed Unnecessary time counters 2020-01-21 12:48:19 +02:00
George Kalampokis 4c02fc4c97 Prevent to map associated Profiles to DMPs when they are loaded ONLY for autocomplete (ref #226) 2020-01-21 12:40:15 +02:00
George Kalampokis cd1d81c3dd Only Dataset Description Templates listing will show non-finalized templates (ref #227) 2020-01-20 18:11:35 +02:00
George Kalampokis 95d713b213 Small fix for creating new versions of Dataset Templates 2020-01-20 18:09:03 +02:00
George Kalampokis 0cc89fd260 Added AuthGuard on Dataset create wizard and user profile in order to be prevented from access by users who haven't logged in (ref #227) 2020-01-20 12:00:46 +02:00
George Kalampokis 64e326396a Add AuthGuard on the quick-wizard module (ref #227) 2020-01-20 11:42:11 +02:00
George Kalampokis 4e7e269130 When cloning Datasets with external references properly get the DataRepository id and the ExternalDatatset id and copy the data from the original (ref #226) 2020-01-20 11:00:05 +02:00
gkolokythas 15c256e7eb Fixes how "creation time" is displayed on "ADD Dataset Description (Wizard)" view. (Issue #223) 2020-01-17 18:14:21 +02:00
George Kalampokis ed5c87d729 Add missing file 2020-01-17 15:39:14 +02:00
George Kalampokis de4d704929 On "My Dataset Descriptions" the Dataset descriptions will also show their DMP Version and can be filtered to show from all DMP Versions or the latest one 2020-01-17 13:36:00 +02:00
George Kalampokis 0eff4ed6a3 Merge remote-tracking branch 'origin/Development' into Development 2020-01-16 17:49:37 +02: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 0596f75817 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2020-01-16 17:15:04 +02:00
gkolokythas 691508aa0c Fixes bug on being able to fetch deleted DMPs on "DMP overview" view. 2020-01-16 17:14:50 +02:00
George Kalampokis 476915b23c The DMPs on Dataset Editor (+ wizard) will have creation time subtitle and are ordered by creation time descended 2020-01-16 16:00:58 +02:00
gkolokythas 116aa365c5 Refactors Organisation external fetching and fixes how reference prefix is added in respect of the that change. 2020-01-16 13:34:12 +02:00
George Kalampokis 6bb9ef444d Admin Login can performed also by pressing the Enter key (ref #223) 2020-01-16 12:32:25 +02:00
George Kalampokis ea5ec98955 Add Table of contents for the Dataset Descriptor in the New DMP Wizard (ref #223) 2020-01-16 12:08:51 +02:00
gkolokythas 25fa5a5fa3 Fixes bug on not always showing the source of the "Researcher" in "New DMP (Expert)" view. 2020-01-16 11:25:39 +02:00
gkolokythas 66a5157f62 SQL script fixing "Researcher" reference prefix. 2020-01-16 11:13:45 +02:00
gkolokythas e1af4eacbe Fixes bug on not reseting "Grant" when changing "Funder" on "New DMP (Wizard)" view. 2020-01-15 17:45:23 +02:00
gkolokythas 0e8b905fab Fixes bug on not displaying source properly when "Internal", on "Funder", "Grant", "Project" at "New DMP" wizard view. 2020-01-15 17:43:41 +02:00
gkolokythas c78e066578 Fixes bug on DMP editor not reseting "Grant" when selecting a new "Funder". 2020-01-15 16:24:10 +02:00
gkolokythas b920109ca4 Fixes bug on style of inactive login providers. 2020-01-15 14:17:23 +02:00
gkolokythas a88f423864 Refactors file parsing on Config loader function. 2020-01-15 14:09:32 +02:00
George Kalampokis 2d56ff0676 Devel Configuration Loader will use the classpath to get additional configuration files instead of absolute paths 2020-01-15 12:48:41 +02:00
gkolokythas df07884cbe Adds fist part of "Distribution" on RDA export model. 2020-01-14 14:18:14 +02:00
gkolokythas 2958cab113 Refactors how "External Resources" are saved on Dataset. 2020-01-14 13:36:48 +02:00
gkolokythas 1b7d118861 Fixes bug on exposing private Datasets on published DMP listing due to some old Datasets not being "Canceled". 2020-01-14 13:29:11 +02:00
gkolokythas 3aa7dc0481 Refactors Funder, Grant and Project external fetching by adding distinct values for key, indicating the source it was fetched, and it's respected display value. 2020-01-14 13:00:02 +02:00
gkolokythas ff9aa14047 Refactors how researchers are fetched from external sources and saved in general. 2020-01-14 12:33:48 +02:00
gkolokythas 9d627a11da Adds functionality to create a map of keys and their respected display values of every external endpoint used in the configuration xml. 2020-01-14 12:26:36 +02:00
gkolokythas 2e2e003378 SQL script for updating internal created researchers' "Reference". 2020-01-13 18:22:13 +02:00
gkolokythas bf5526103a SQL scripts for updating "Reference" on Funder, Grant and Project to now use the "dmp:" prefix and their unique id as part of it. 2020-01-13 12:17:06 +02:00
gkolokythas 009bd68f71 Fixes bug on setting "Creation User" on a external fetched Grant. 2020-01-13 10:59:48 +02:00
gkolokythas 03f025764e Fixes bug on published DMPs vesrion listing. 2020-01-10 13:50:24 +02:00
gkolokythas 18c785cd93 Fixes how DMP versions are fetched when published and adds UI elemets on listings corresponding to that change. 2020-01-10 12:44:00 +02:00
gkolokythas 2798fa3a39 Fixes query on published DMPs now fetching the latest version that is published. 2020-01-09 17:19:47 +02:00
gkolokythas 45e7deedb7 Adds version indicator on DMP listing items. 2020-01-09 15:45:37 +02:00
gkolokythas 1c58007a9f Fixes setting the status of a new version of a published DMP to "published" too. 2020-01-09 15:43:57 +02:00
gkolokythas eba3ee137d Adds missing properties when creating a new version of a published DMP. 2020-01-09 14:36:56 +02:00
gkolokythas 9d8de0c2fb Adds authorization check when creating new version of a DMP. 2020-01-09 14:34:23 +02:00
gkolokythas aaae4ec3fa Fixes "published DMPs" listing now fetching latest version of every DMP. 2020-01-09 14:32:03 +02:00
gkolokythas ab8ba11703 Fixes "New Version" DMP editor so user cannot edit "Funder", "Grant" or "Project". 2020-01-08 13:06:15 +02:00
gkolokythas 3da0cc9ad4 Fixes not showing "New Version" option on DMP overview action menu. 2020-01-08 13:04:04 +02:00
gkolokythas 493ab9763e SQL script for setting the Dataset's Status "Canceled" where DMP is published and them not "Finalized". 2020-01-08 11:46:16 +02:00
apapachristou f29aec07cc Uploads profile default placeholder 2020-01-08 09:42:26 +02:00
gkolokythas fa22017d48 Fixes clone functionality not working on published DMPs. 2020-01-07 18:17:21 +02:00
gkolokythas 6eaff65ea8 Hides DMP properties that shouldn't be visible on "DMP overview" view. 2020-01-07 18:15:07 +02:00
gkolokythas bc0fd36722 Hides "Contact-Support" footer option when user not logged in. 2020-01-03 18:38:27 +02:00
gkolokythas 89b98f5377 Fixes filter criteria bug on "Published DMP" and "Published Dataset Description" listings. 2020-01-03 17:47:25 +02:00
gkolokythas 0f6583ca4b Fixes bug on "Search bar" not fetching published DMP and published Dataset Descriptions. 2020-01-03 16:52:27 +02:00
gkolokythas 290aa5260c Adds "if file exists" check functionality on setting configurable providers and fixes bug not closing input stream when error occures. (Issue #183) 2020-01-03 12:55:12 +02:00
gkolokythas b6b2c93096 Fixes bug of disabled form on DMP editor. 2019-12-20 12:18:57 +02:00
gkolokythas 4daa6c4eb2 Adds restrictions on DMP edit view when user not creator. 2019-12-19 15:48:24 +02:00
gkolokythas 462f6dcb61 Language fix. 2019-12-19 15:27:16 +02:00
gkolokythas 655f2a4456 Fixes bug of duplicating "role"criteria on Dataset listing query. 2019-12-19 15:26:53 +02:00
gkolokythas 3a58234282 Fixes bug on Dataset Description listing, fetching extra wrong items when "Member" criteria was selected. 2019-12-19 13:08:20 +02:00
gkolokythas ca160ccd22 Fixes bug showing Collaborators on published DMPs. 2019-12-19 12:28:11 +02:00
gkolokythas 61a7f0b809 Adds Collaborators panel on DMP Overview. 2019-12-19 12:10:16 +02:00
Diamantis Tziotzios c8600b315e autocomplete fix 2019-12-18 17:37:00 +02:00
gkolokythas d70e8d46c5 Adds restrictions on DMP overview when user not creator. 2019-12-18 16:28:48 +02:00
gkolokythas 9aed05d574 Adds backend validation so that only creator can edit one DMP. 2019-12-18 12:38:04 +02:00
gkolokythas e50bef555f Adds missing properties "Funder" and "Project" from DMP xml export. 2019-12-18 10:55:08 +02:00
gkolokythas 4e3a3b573a Fixes bug on fetching Datasets. 2019-12-17 18:17:21 +02:00
gkolokythas 4efdf42b94 Fixes search bar redirect url when a DMP is selected. (Issue #215) 2019-12-17 16:19:30 +02:00
gkolokythas c272644c61 Fixes bug on Grant Tab's validation when creating a new DMP. 2019-12-17 14:15:12 +02:00
gkolokythas 6cedc40339 Refactors Dataset "Field" from String to Object. 2019-12-17 13:08:01 +02:00
gkolokythas 816ed4dd65 Fixes bug not filter out deleted items of DMP and Dataset. Refactors redirect when selecting Grant from Search bar. (Issue #215) 2019-12-16 12:18:49 +02:00
Diamantis Tziotzios 72310d8ff1 minor fix 2019-12-13 17:40:57 +02:00
gkolokythas 43134fa959 Fixes bug not saving properly new External References on Dataset Description. 2019-12-13 17:10:21 +02:00
Diamantis Tziotzios 3bab68265b added grant id to displayfn 2019-12-13 17:05:19 +02:00
gkolokythas e51f855737 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-12-13 13:36:39 +02:00
gkolokythas da031838d6 Adds filter on Datataset's editor DMP selector to only fetch DMPs with "Draft" status. (Issue #213) 2019-12-13 13:36:25 +02:00
Diamantis Tziotzios 32b56721f2 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
# Conflicts:
#	dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard-editor.model.ts
2019-12-13 13:16:17 +02:00
Diamantis Tziotzios 55b6da619f bug fixes 2019-12-13 13:15:12 +02:00
gkolokythas e96c927f94 Increases page size when fetching from external Urls. (Issue #208) 2019-12-13 13:08:32 +02:00
gkolokythas 52334aec6a Fixes bug on not creating new "External Datasets" and "Data Repositories". (Issue #212) 2019-12-13 13:05:58 +02:00
Diamantis Tziotzios d4db0e204e fixed validation issues on dmp wizard 2019-12-13 11:53:43 +02:00
gkolokythas a80a935ff3 Fixes bug on not fetching internal saved Grants. 2019-12-12 18:29:56 +02:00
Diamantis Tziotzios 3327131ad8 autocomplete style fix 2019-12-12 16:54:26 +02:00
Diamantis Tziotzios d21e5c3d78 autocomplete fixes 2019-12-12 16:12:46 +02:00
gkolokythas 9dbf57be03 Fixes bug at DMP Wizard on creating new Grant, Funder and Project. 2019-12-12 14:02:52 +02:00
gkolokythas 7d6790b225 Fixes bug missing Project id on default creating Project entity on DMP. 2019-12-12 13:04:00 +02:00
Diamantis Tziotzios 13b825bafc Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-12-12 12:42:18 +02:00
Diamantis Tziotzios bcf4a3f6a2 autocomplete style changes 2019-12-12 12:42:00 +02:00
gkolokythas 01d6782ec7 Refactors how reference is created on Funder, Grant and Projcect now using their unique id as a part of it instead of label. 2019-12-12 12:27:47 +02:00
Diamantis Tziotzios d1d0cbd931 autocomplete fix 2019-12-12 12:04:29 +02:00
Diamantis Tziotzios e85c0cc68f minor fixes 2019-12-12 11:26:19 +02:00
Diamantis Tziotzios 7c2a3b298d minor fix 2019-12-11 16:51:18 +02:00
Diamantis Tziotzios 16d57bd0ad dmp advanced editor changed to remain at the same page when saving 2019-12-11 16:51:03 +02:00
Diamantis Tziotzios bd8120362d Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-12-11 14:24:43 +02:00
gkolokythas b3422f83ef Adds missing changes for RDA refactor. 2019-12-11 12:55:40 +02:00
gkolokythas 3765d7cc9f Refactors RDA export for DMP. 2019-12-11 12:48:13 +02:00
Diamantis Tziotzios 79069ed64b Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-12-11 11:15:36 +02:00
Diamantis Tziotzios 77638fbf9d dmp general tab changes 2019-12-11 11:15:30 +02:00
gkolokythas 5585baa951 Fixes bug replacing "funder url" when fetching from remote APIs. 2019-12-10 11:58:15 +02:00
gkolokythas bccb4460a7 Fixes bug not having validators on adding new Researcher on a DMP. (Issue #207) 2019-12-09 18:23:21 +02:00
gkolokythas 7e8a70e2d4 Fixes bug on cookies consent "Learn more" link. 2019-12-02 10:29:41 +02:00
gkolokythas 3dd520fea3 Refactors RDA export model. 2019-11-28 13:13:33 +02:00
Diamantis Tziotzios 3ada5a0d3d Merge branch 'Development' 2019-11-26 11:41:02 +02:00
gkolokythas 247aac72fe Fixes how "Reference" is created on Grand, Funder and Project. 2019-11-25 11:48:59 +02:00
apapachristou 0b573e4256 Adds user default login icon 2019-11-22 18:28:20 +02:00
Diamantis Tziotzios 63ee865dd9 Merge commit 'c8358f22dd5d108b7f270f97724d6bab1582c2c5' 2019-11-22 18:08:55 +02:00
gkolokythas 1a160edece Adds "Update" button on finalized "Dataset Template". 2019-11-22 17:06:47 +02:00
gkolokythas c8358f22dd Enables editing RDA standard when Dataset Template is "Finalized". 2019-11-22 12:47:22 +02:00
gkolokythas 0a47cc19a5 Fixes view bug on RDA standards listing. 2019-11-22 12:47:06 +02:00
gkolokythas 8cb993433c Refactors the prefix saved as reference from external sources to always be in lower case letters. 2019-11-21 18:25:43 +02:00
gkolokythas 92a2e546e9 Language fix on cookie consent. (Issue #203) 2019-11-20 11:14:18 +02:00
gkolokythas 03143aacae Adds language to cookie consent pop up. (Issue #203) 2019-11-20 11:04:27 +02:00
gkolokythas f652092726 Creates cookies message. (Issue #203) 2019-11-19 18:28:25 +02:00
gkolokythas 2b62cdbe4e Adds remote fetching on "External Dataset" and fixes bug on "external references" not saving the correct "reference" property. 2019-11-19 11:01:02 +02:00
Diamantis Tziotzios 1ef0782989 dataset wizard fix 2019-11-18 16:17:55 +02:00
gkolokythas 80a569b667 Adds "ExternalUrls" file for production environment. 2019-11-15 17:58:44 +02:00
Diamantis Tziotzios 632659c256 fixes 2019-11-15 16:30:43 +02:00
gkolokythas 5fd587839d Adds "ExternalUrls" file for staging environment. 2019-11-15 14:29:54 +02:00
gkolokythas d5b6329510 Fixed bug on rendering extra space when no configurable providers exist. 2019-11-15 10:26:56 +02:00
gkolokythas 0a27835367 Fixes bug on rda common standards fetching. 2019-11-14 18:26:57 +02:00
gkolokythas eec40792d0 Removes unnecessary module. 2019-11-14 16:51:13 +02:00
gkolokythas 6c6114f0a1 Makes "status" on Configurable Provider not mandatory and refactors "redirect_uri" to not include the extra "configurableId". 2019-11-14 14:04:47 +02:00
gkolokythas db5b285832 Fixes bug on B2Access login not having configurable "state". 2019-11-14 13:56:09 +02:00
gkolokythas 893547aee3 Fixes bug on fetching user of Configurable Provider. (Issue #183) 2019-11-14 13:33:53 +02:00
gkolokythas 5285c1a3a6 Fixes bug on "Dataset Specification" criteria of "Published DMPs". 2019-11-14 12:23:53 +02:00
gkolokythas 0a920fa17e Disables mock configurable provider. 2019-11-14 10:39:51 +02:00
gkolokythas 6618b26583 Restyles configurable login providers. (Issue #183) 2019-11-14 10:33:08 +02:00
gkolokythas dee20d50ed Fixes bug on missing configuration on OpenAIRE login. 2019-11-13 17:34:39 +02:00
gkolokythas e63eb8f205 Adds configurable login providers 2019-11-13 17:32:55 +02:00
apapachristou caefd0ccc5 Fixes bug on /quick-wizard: stepper tab DMP Profile disabled 2019-11-12 12:06:37 +02:00
apapachristou 9a694e167b Creates /contact-support. (Issue #202) 2019-11-11 12:42:55 +02:00
gkolokythas 1c6d58a47b Fixes various code missteps on application's login logic. 2019-11-11 12:34:28 +02:00
gkolokythas 967d4bfe40 Refactors the parsing of the template document used on DMP and Dataset docx and pdf export. 2019-11-11 10:40:12 +02:00
apapachristou 2b5830e53b Create /glossary, /faq (Issue #202) 2019-11-08 18:47:19 +02:00
gkolokythas 2a6f6b3923 Refactors rda file parsing logic. 2019-11-08 17:49:33 +02:00
gkolokythas e81ffa2825 Fixes bug on configuration setting and refactors logic on file parsing due to that fix. 2019-11-08 15:53:46 +02:00
apapachristou 28a2326743 Styles wizards hover on home 2019-11-07 17:01:43 +02:00
apapachristou de5dcb7d4c Improves usability of Copy Dataset Description dialog 2019-11-07 16:37:07 +02:00
gkolokythas 59cb4db641 SQL script for the update of "reference" property of Grant, Funder and Project. (Issue #187) 2019-11-06 16:49:22 +02:00
gkolokythas bb76a0527e Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-11-06 16:37:40 +02:00
gkolokythas e6003292c4 Fixes bug of missing commas on External References sql update script. 2019-11-06 16:36:59 +02:00
apapachristou a95c1ecc94 Edit dialogs to have similar style 2019-11-06 16:30:15 +02:00
gkolokythas b0babe906c SQL script for "reference" property update of all Dataset Description "External References" (Data Repository, External Dataset, Registry, Service). (Issue #187) 2019-11-06 12:41:27 +02:00
gkolokythas 276c7d6719 Fixes bug of missing properties on ExternalUrl. 2019-11-06 12:07:18 +02:00
gkolokythas 8567bcea91 Fixes source information and refactors "Reference" property of External References to meet the standards of the Application. (Issue #187) 2019-11-06 12:05:40 +02:00
apapachristou 0049504304 Changes color on dataset description radio buttons 2019-11-04 18:33:30 +02:00
apapachristou f1df43ca4a Removes gray hue from text on buttons 2019-11-04 18:21:07 +02:00
apapachristou 8adfc1d46d Adds link to SingleAutoCompleteConfiguration 2019-11-04 17:51:08 +02:00
gkolokythas b362334b9b Fixes wordlist values and autocomplete configuration on some questions of Dataste Template H2020_v2 2019-11-04 15:54:50 +02:00
gkolokythas 39a81e1d28 Enriches Oragnisation and Researcher references with source prefix. (Issue #187) 2019-11-04 13:22:58 +02:00
apapachristou f1a79459a0 Fixes bug on Autocomplete drop down menu (Issue #201) 2019-11-04 13:06:30 +02:00
apapachristou 916728bb1f Fixes funder selection preview as mandatory in DMP (Issue #182) 2019-11-04 12:50:45 +02:00
apapachristou ca16a26f56 Fixes progress bar layer, snack bar color, listing menu panel width 2019-11-04 12:48:36 +02:00
apapachristou a346511747 Adds pages: /terms-of-service, /privacy-policy 2019-11-01 12:00:52 +02:00
gkolokythas 2a232b3071 Fixes bug on fetching external Oragnisation and Researchers. 2019-10-31 13:55:52 +02:00
apapachristou c988d5ab10 Makes progress bar visible on scrolled page 2019-10-31 13:23:18 +02:00
apapachristou 9ef7f7cb40 Makes disabled checks more secure 2019-10-31 13:08:00 +02:00
gkolokythas 9d284e8060 Enriches Grant, Funder and Project references with source prefix. (Issue #187) 2019-10-31 12:59:40 +02:00
gkolokythas e24a030a52 Adds more information on RDA export model. 2019-10-31 12:21:18 +02:00
gkolokythas 1693518bc8 Commends out DMP's not supported functionality. 2019-10-31 12:16:12 +02:00
gkolokythas 2a745ad334 Moves DMP information under element "Data Management information" on DMP docx export. 2019-10-31 12:07:28 +02:00
gkolokythas 5cd8b391a7 Adds "External References" on DMP and Dataset docx export and "Funder" and "Grand" on DMP docx export. 2019-10-31 11:16:29 +02:00
apapachristou 389502ea3c If necessary, disables next button on add dataset description wizard 2019-10-31 10:54:32 +02:00
apapachristou 5fb6e62017 Styles published icon on dmp listing 2019-10-31 10:19:56 +02:00
gkolokythas e0c5e4a955 Fixes bug on DMP and Dataset docx export, removing the upper empty element. 2019-10-30 18:21:04 +02:00
apapachristou 1911670ea3 Styles listings and filter colors 2019-10-30 18:15:16 +02:00
gkolokythas 70008f3c22 Fixes Dataset's export navigation pane. 2019-10-30 17:13:03 +02:00
gkolokythas 36ce246f0b Refactors DMP docx export by adding navigation pane and using Header styles from "template" document. 2019-10-30 14:30:31 +02:00
apapachristou d9c338a6e0 Removes page of view plans for particular grant and removes unnecessary horizontal scrollbar on dataset description edit 2019-10-30 10:54:41 +02:00
apapachristou bb91873194 Fixes login table style 2019-10-29 18:17:04 +02:00
gkolokythas b8058f17f6 Removes not needed properties from the "template" document used for docx exports. 2019-10-29 18:02:04 +02:00
gkolokythas b670ccc751 Removes creator from the "template" document used for docx exports. 2019-10-29 16:28:23 +02:00
gkolokythas 90385644d5 Fixes bug not showing json export method on public DMPs. 2019-10-29 13:33:02 +02:00
gkolokythas d279cb65be Refactors DMP's pdf, xml, document and rda-json export security. 2019-10-29 13:30:44 +02:00
apapachristou c0df37e996 Fixes RDACommonStandards select panel width 2019-10-29 10:19:01 +02:00
apapachristou f868eae309 Adds responsiveness on login card 2019-10-25 17:58:09 +03:00
apapachristou 3f5d3f86b5 Adds anchors on "VIEW ALL" links, wizards on dashboard. 2019-10-25 14:54:12 +03:00
gkolokythas 2d35a3d665 Refactors ListHelper's method not to be static. 2019-10-25 13:57:51 +03:00
gkolokythas 1438f6bdca Refactors RDA export to accept more than one metadata values and fixes bug on exporting deleted and canceled Datasets. 2019-10-25 13:53:14 +03:00
apapachristou 9b23f467a7 Adds anchor to recent activity table row. 2019-10-25 11:05:54 +03:00
apapachristou 235715584b Fixes color of finalized DMP icon. 2019-10-24 17:08:24 +03:00
gkolokythas c513596554 Adds functionality: if confirmation email already exists, merge new provider under the same old user. 2019-10-24 11:30:05 +03:00
apapachristou 9bdf728d35 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-10-23 18:38:41 +03:00
apapachristou 66be5bdf9e Change links to anchors (Issue #198) 2019-10-23 18:36:29 +03:00
gkolokythas 7d070a339c Implements OpenAIRE login provider. (Issue #200) 2019-10-23 13:38:27 +03:00
apapachristou a09abc2fbc Fixes bug on redirect if error occurs on opening /datasets/edit/:id (Issue #199) 2019-10-23 13:03:12 +03:00
gkolokythas b40562f481 Adds three (3) new Dataset Templates. (Issue #195) 2019-10-22 18:29:38 +03:00
Diamantis Tziotzios 17af878248 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-10-22 15:47:06 +03:00
Diamantis Tziotzios 4102386ecd toc style changes 2019-10-22 15:46:48 +03:00
gkolokythas 881274f96d Refactors the sorting of view field options on Dataset Template editor. 2019-10-18 18:26:11 +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
gkolokythas 66b3b0bd86 Fixes bug on not fetching Funder from "eestore" external source. 2019-10-17 14:22:16 +03:00
gkolokythas 9d3f0ec1a2 Implements the logic that maps Dataset Description values to RDA export json file. 2019-10-17 13:11:13 +03:00
apapachristou c96d1c7afe Fixes Dataset Description tab content on clone, new version of DMP. 2019-10-17 12:45:59 +03:00
apapachristou c1a6a8d30e Removes preview status of DMP at Dataset Public Editor. 2019-10-17 10:43:28 +03:00
apapachristou 52cfc6cde6 Fixes warning "using the disabled attribute with a reactive form directive" on /dataset-profiles 2019-10-16 17:45:08 +03:00
apapachristou 3e02a39c52 Adds auto-generated value on "Section Unique Identifier" field. (Issue #191) 2019-10-16 15:40:04 +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
apapachristou 4842587e10 Table of Contents (First Commit) (Issue #180) 2019-10-15 17:25:43 +03:00
gkolokythas 3c6bd9685b Enriches RDA export model with more detailed descriptions. 2019-10-15 13:46:49 +03:00
gkolokythas 31b21289a0 Fixes bug not importing model 2019-10-15 13:44:45 +03:00
gkolokythas ae6db14ac6 Adds "RDA Common Standard" as a property of Dataset Template's Field. 2019-10-15 13:38:51 +03:00
gkolokythas f5aeb56133 Fixes various code missteps, moves mock data and readds eestore on external source. 2019-10-14 14:14:09 +03:00
gkolokythas cc2bb9afd2 Fixes bug when creating a new Dataset Template. (Issue #194) 2019-10-14 11:54:11 +03:00
gkolokythas 32a76346ea Adds 5 new Dataset Templates ("Science Foundation Ireland/ Luxembourg National Research Fund" is also called "SE RDM") 2019-10-11 16:46:57 +03:00
gkolokythas 06f43ef1a6 Adds new properties on RDA export model. 2019-10-11 16:39:29 +03:00
apapachristou 8d343caf91 Adds pop-up box that informs the owner/admin that their names will be made visible to everyone when openly publishing the DMP/ Dataset Desrciption. (Issue #186) 2019-10-09 11:45:47 +03:00
apapachristou f1070196a0 Fixes bug on enumerating datasets at DMP Wizard 3d step when remove all datasets and then add new. 2019-10-08 18:26:55 +03:00
apapachristou 27ddc0a184 Adds information dialogue on DMP Wizard Save button when list of datasets is empty. (Issue #189) 2019-10-08 17:44:18 +03:00
apapachristou 9bdeaa6375 Fixes bug generated from previous commit. 2019-10-08 16:33:13 +03:00
apapachristou 7b53346703 Makes dmp/dataet editors mobile responsive 2019-10-08 14:20:22 +03:00
gkolokythas e0c0f4ec09 Fixes bug on not assigning the right "external source provider" on fetched Funders. 2019-10-08 12:21:10 +03:00
gkolokythas f59881d7aa Makes Funder a mandatory entity. (Issue #182) 2019-10-08 10:58:02 +03:00
apapachristou f2833576d3 Fixes bug on public roles filters when logged out. (Issue #175) 2019-10-08 10:40:15 +03:00
apapachristou 72df634132 Makes DMP overview page responsive. 2019-10-07 18:31:22 +03:00
apapachristou 77d2aa317e Funder - Grant Selection in DMP at quick-wizard. (Issue #182) 2019-10-04 19:11:52 +03:00
gkolokythas b08ac084c9 Fixes bug on not reseting the Grant selection method on Grant Tab of DMP editor. 2019-10-04 18:24:13 +03:00
gkolokythas fbe932b546 Fixes bug on not disbaling Grant when creating new DMP. 2019-10-04 17:14:46 +03:00
gkolokythas 9d6469cd7c Refactors external references fetching internal created entites when "All" filter is selected. 2019-10-04 14:34:59 +03:00
gkolokythas 4d1f64088c Fixes bug on external urls on not setting the first page properly. Configures external urls with official data. 2019-10-04 14:33:38 +03:00
apapachristou e41163878d Fixes bug on mat-chip 2019-10-04 12:24:13 +03:00
gkolokythas da325854c9 Makes Grant selector disable when Funder is not selected on Grant Tab of DMP Editor. 2019-10-04 12:16:59 +03:00
gkolokythas cf16779010 Removes obsolete services Grant direct create or update and Grant delete. 2019-10-04 11:57:43 +03:00
apapachristou 5fab3fb9d1 Fixes bug on removing /grants 2019-10-04 11:53:30 +03:00
apapachristou 2a1eeb92d3 Fixes bug on removing /grants 2019-10-04 11:02:36 +03:00
apapachristou 4e9a35605d Removes /grants, /grants/new, /grants/edit/:id 2019-10-04 10:53:35 +03:00
gkolokythas 1b36ad6c1a Fixes Security issues, where user could create DMP template. 2019-10-03 18:08:47 +03:00
apapachristou d89beeaf0f Fixes width of autocomplete panel. 2019-10-03 16:06:21 +03:00
gkolokythas dc7f05ffd2 Refactors external url fetching to support more complex APIs and adds requested external url on "Grant". (Issue #179) 2019-10-03 14:06:44 +03:00
apapachristou 9841b495c1 Adds radio box Roles on published DMPs and published Datasets, fixes initial value of radio boxes on filters. 2019-10-03 12:19:45 +03:00
gkolokythas 28b748bb03 Adds missing property "state" of LinkedIn configuration on frontend. 2019-10-02 14:26:35 +03:00
apapachristou f755744a5e Minor change on show dialog condition when leaving wizard pages before submit. 2019-10-02 14:11:19 +03:00
gkolokythas 61a1ea9274 Adds external sources on Funder. (Issue #179) 2019-10-01 13:19:39 +03:00
gkolokythas 47c2940517 Adds "creationUser" on Researcher entity. (Issue #168) 2019-09-30 17:42:01 +03:00
gkolokythas 09d4241df5 Implements login provider LinkedIn. (Issue #163) 2019-09-30 10:27:42 +03:00
apapachristou 85c9022a90 Fixes style of button "Export" 2019-09-27 11:20:54 +03:00
apapachristou 586e6c2f64 Removes focus of button that opens dialog after close it. 2019-09-27 11:09:29 +03:00
gkolokythas f00633ea71 Adds "Role" filter on Published DMPs and Published Dataset Description on backend. (Issue #175) 2019-09-26 18:33:41 +03:00
apapachristou 0c4c818acd Fixes responsiveness issues when using the app within a mobile phone. (Issue #178) 2019-09-26 18:08:04 +03:00
gkolokythas c886b9ec07 Fixes Dataset Description's listing filter "Role" not fetching all Datasets when "Any" was selected. 2019-09-26 13:59:47 +03:00
gkolokythas ccb96aeb13 Fixes bug on DMP's filter Role. 2019-09-26 12:44:39 +03:00
gkolokythas ebd53e9513 External References fetching now also include entities created by user. (Issue #168) 2019-09-25 18:31:41 +03:00
apapachristou f45e41a625 Fixes autocomplete scaling chip bug. (Issue #176) 2019-09-25 18:02:26 +03:00
apapachristou 94550ce0c4 DMP wizard improvement. (Issue #170) 2019-09-25 17:09:19 +03:00
gkolokythas 446717da97 Adds "Creation User" on DataRepository, ExternalDataset, Registry, Service. (Issue #168) 2019-09-25 13:43:17 +03:00
apapachristou 6d14b7b452 Fixes DMP Wizard bug on validators. (Issue #171) 2019-09-25 13:40:35 +03:00
apapachristou 568fa17a84 Merges the functionality of "Export" and "Advanced Export" buttons to a new button. (Issue #172) 2019-09-25 12:44:22 +03:00
gkolokythas dac440b140 Fixes bug not creating new Data Repository on Dataset Description's tab "External References". 2019-09-25 12:11:02 +03:00
apapachristou c4994843c8 Fixes bug on new Dataset Description button. (Issue #177) 2019-09-24 18:32:23 +03:00
apapachristou 27ce739382 Adds dialog to ask user for confirmation before leaving. (Issue #166) 2019-09-24 17:55:03 +03:00
gkolokythas aaa1e9d1c7 Adds "Creation User" on Funder entity and fixes bug showing Funder created by user to other users. (Issue #167) 2019-09-24 17:40:53 +03:00
gkolokythas f93b6103e9 Adds ordering on Published Dataset Descriptions listing (descending by published date). (Issue #174) 2019-09-24 12:28:13 +03:00
gkolokythas 812891fed1 Fixes bug of Published DMP and Published Dataet Descriptions on filter "Dataset Specification" not searching properly. 2019-09-24 11:25:16 +03:00
gkolokythas 26f28bca55 Adds descending ordering and sorting by finalized date where published DMP is requested. 2019-09-23 18:11:29 +03:00
apapachristou 3f117d4a0f Fixes dmp overview bug: makes clone and add new version and list all versions available when DMP in Finalized or Published state. (Issue #165) 2019-09-23 17:17:31 +03:00
apapachristou 8a653ec198 Fixes Dashboard bug on column status. (Issue #164) 2019-09-23 16:39:13 +03:00
apapachristou 1d5342fc52 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development
# Conflicts:
#	dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts
2019-09-23 14:15:34 +03:00
apapachristou 74ae77edbc Fixes bug on External References undo finalize. (Issue #162) 2019-09-23 14:06:58 +03:00
gkolokythas d0c464cb31 Fixes various code missteps. 2019-09-23 12:11:00 +03:00
Diamantis Tziotzios 47f939af81 minor fix 2019-09-23 11:22:27 +03:00
Diamantis Tziotzios e6891861e5 angular update to version 8 2019-09-23 11:17:03 +03:00
apapachristou 4f507eddf3 Add Description to External Datasets - (Issue #154) 2019-09-23 10:21:12 +03:00
apapachristou 0bf062292d Add confirmation dialogue on DMP's overview "Publish" button. - (Issue #158) 2019-09-20 18:27:54 +03:00
gkolokythas 68cb9846bb Fixes bug on External References not updating values. 2019-09-20 17:51:13 +03:00
apapachristou 302a22e20a Fixes home page redirect bug and links of 'VIEW ALL' button - (Issue #161) 2019-09-20 13:54:37 +03:00
gkolokythas e853c8c44a Adds clear autocomplete when you select value functionality at External References. (Issue #155) 2019-09-19 18:05:20 +03:00
gkolokythas 860801bb89 Fixes bug on Dataset Description creation caused by Data Repository External Reference. (Issue #160) 2019-09-19 13:59:25 +03:00
apapachristou 0c27746465 Changes color palette 2019-09-19 13:00:00 +03:00
gkolokythas 2008986daf Fixes bug on public dashboard counting non public entities. (Issue #157) 2019-09-18 16:16:14 +03:00
apapachristou e50875c988 Fixes styling issue in multi field set - (Issue #156) 2019-09-18 14:35:51 +03:00
gkolokythas 26f27f3d6d Fixes DMP export bug including Dataset Descriptions with Canceled or Deleted status. (Issue #159) 2019-09-18 13:28:02 +03:00
Diamantis Tziotzios 2a52138124 Merge branch 'Development' 2019-09-17 18:47:39 +03:00
Diamantis Tziotzios 95168d78c7 gitignore update 2019-09-17 18:34:52 +03:00
Diamantis Tziotzios 11cc8ef0fa language fix 2019-09-17 18:16:02 +03:00
apapachristou e94a988b68 Fixes bug on login page responsiveness 2019-09-17 17:58:13 +03:00
gkolokythas 6a4602a45e Fixes bug on updating Tags on Dataset Description. 2019-09-17 14:04:41 +03:00
apapachristou 33552ecd70 Renames OpenDMP to ARGOS 2019-09-17 13:59:44 +03:00
apapachristou 059f0e459e Adds new logo icon - ARGOS 2019-09-17 13:55:18 +03:00
gkolokythas e884153bf2 Fixes bug on fetching multiple instances of the same Organisations. 2019-09-17 11:45:09 +03:00
apapachristou 26147d0c9e Fixes bug on get Draft Dmps when clicking "VIEW ALL" on DRAFT table on /home and makes Draft radio button on filters checked 2019-09-17 11:40:49 +03:00
Diamantis Tziotzios 7cf64c18f2 Merge branch 'Development' 2019-09-17 11:31:58 +03:00
gkolokythas f851c138d3 Enables Tag functionality on Dataset Description. 2019-09-17 10:11:17 +03:00
apapachristou ffebb8f365 Adds dynamic page titles 2019-09-16 18:46:19 +03:00
gkolokythas 3164ee4144 Fixes Dataset Description not updating two External References (Registries, Services) when harvesting from external url. 2019-09-16 18:26:18 +03:00
gkolokythas 6921d819a5 Configuration settings for email. 2019-09-16 11:34:47 +03:00
apapachristou 534b8814e7 Fixes bugs on dataset editor on external references tab 2019-09-16 11:09:41 +03:00
gkolokythas 7647b4c290 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-09-13 18:01:03 +03:00
gkolokythas 2c4070135e Adds subtitle on Grant tab of DMP edit. 2019-09-13 18:00:34 +03:00
apapachristou a45c208f38 Fixes bug on access methods table ( /login ) 2019-09-13 17:29:52 +03:00
gkolokythas 7e78cfdff0 Adds mock up files for external sources. 2019-09-13 16:45:02 +03:00
Diamantis Tziotzios c7457810f7 style fix 2019-09-13 14:19:34 +03:00
apapachristou 3c3f209176 Fixes merge on load Datase tProfiles 2019-09-13 13:58:36 +03:00
apapachristou c7b60cc6e3 Adds any option on grant status filter sections on /explore and /explore-plans, makes tooltip font-size larger 2019-09-13 13:52:24 +03:00
apapachristou 07e239be92 Fixes bug on add dataset on get dataset profile form 2019-09-13 13:35:45 +03:00
gkolokythas c9ca55fd76 Fixes bug on setting Dynamic configuration of a DMP. 2019-09-13 13:08:37 +03:00
gkolokythas 61bc10d922 Updated version of "Horizon 2020 V2" Dataset Template, now including source values on exteranl url configuration. 2019-09-11 16:06:27 +03:00
gkolokythas 7fe71ed560 Removes obsolete configuration settings. 2019-09-11 11:22:07 +03:00
gkolokythas 9bc55bca5d Adding message when source from external fetching is null on Dataset Description. 2019-09-11 11:18:53 +03:00
gkolokythas bd6170f711 Adds "source" property on external autocomplete field of Dataset Description Template. 2019-09-10 18:30:46 +03:00
gkolokythas 0db79b9498 Removes obsolete service "Language" from backend and frontend. 2019-09-06 13:00:01 +03:00
gkolokythas 1f79c9d3e5 Optimizes the number of database calls when fetching a Dataset Description. 2019-09-06 12:20:32 +03:00
gkolokythas 7fe3962be4 Fixes bug not saving or updating the "Uri" value on a Dataset Description. 2019-09-06 12:15:05 +03:00
gkolokythas 1b83d57bcd Fixes titles and subtitles on Dataset Description's "External References" tab. 2019-09-05 17:50:45 +03:00
gkolokythas b5bf65413c Removes redundant code on OrcId custom provider. 2019-09-05 17:48:23 +03:00
gkolokythas 9a90e3f8af Implements the functionality of being able to add static data when using external services, and refactors Funder, Grant and Project to be configured by "ExternalUrs". (Issue #147) 2019-09-05 17:44:25 +03:00
Diamantis Tziotzios f5d2fca682 minor fixes 2019-09-05 14:49:41 +03:00
Diamantis Tziotzios 676cf654e7 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-09-05 13:30:56 +03:00
Diamantis Tziotzios 21c4de8f21 added Glossary and FAQs 2019-09-05 13:29:59 +03:00
gkolokythas da374f3f8e Adds missing elements on staging and production properties. 2019-09-05 10:54:11 +03:00
gkolokythas cab0d68fc2 Fixes bug on fetching Funder using wrong url 2019-09-04 12:00:40 +03:00
apapachristou 7b921a7ede Adds subtitle message on null or undefined source 2019-09-04 10:37:44 +03:00
apapachristou 72a613a380 Fixes bug on invisible tabs 2019-09-04 09:54:02 +03:00
gkolokythas bb32b4c6f4 Fixes bug not fetching mockup Tags. 2019-09-03 16:12:38 +03:00
apapachristou 3fb82c65ea Fixes bug on grant description input, makes field not required 2019-09-02 13:29:22 +03:00
Diamantis Tziotzios 433c28c510 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-09-02 13:18:21 +03:00
Diamantis Tziotzios c9f143f113 script changes 2019-09-02 13:18:09 +03:00
apapachristou 068fa50848 Makes all fields disabled on DMP new version page 2019-09-02 12:50:42 +03:00
Diamantis Tziotzios 67fee28171 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-09-02 11:26:23 +03:00
Diamantis Tziotzios 4360686308 fixed b2access login route 2019-09-02 11:26:17 +03:00
apapachristou 286b90d6a7 Restyles DMP new version page 2019-09-02 11:19:16 +03:00
gkolokythas 44edc298d8 Fixes bug on fetching Dataset Description Tags. 2019-08-30 18:35:37 +03:00
apapachristou 46e62b01df Adds subtitles and hint on external data autocomplete 2019-08-30 18:06:12 +03:00
gkolokythas eb48edfb2d Adds "source" property to Funders and Projects fetched from external sources. 2019-08-30 17:47:23 +03:00
apapachristou a9a39db622 Restyles clone DMP page and adds funder and project fields on tab grant 2019-08-30 16:02:02 +03:00
gkolokythas 8ebe2961b7 Refactors DMP "clone" and "new version" functionality to support DMP's new entities "Funder" and "Project". 2019-08-29 17:45:47 +03:00
gkolokythas 2d36450e55 Fixes bug not setting Creation user on Grant. 2019-08-29 12:35:02 +03:00
gkolokythas 3140cf62bd Adds logic on DMP quick wizard for saving new entities "Funder" and "Project". 2019-08-29 11:30:17 +03:00
apapachristou 9081ccadfe Disables buttons "Next" on DMP Wizard if required fields are empty 2019-08-29 11:09:47 +03:00
apapachristou 5d1d1e36d7 Fixes bug on save and finalize button on DMP wizard 2019-08-28 18:34:04 +03:00
gkolokythas 5c1df31d88 Adds logic and models for DMP's quick wizard Funder and Project, on backend. 2019-08-28 18:17:16 +03:00
apapachristou 6f6ee9876b Adds funder, project fields on DMP wizard 2019-08-28 16:53:17 +03:00
gkolokythas 27e9e2ac97 Fixes bug not adding Creation User on new Grant. 2019-08-28 16:20:55 +03:00
gkolokythas 71aea010a9 Fixes DMP editor's Funder updating mechanics. 2019-08-28 11:52:07 +03:00
gkolokythas 3d3963f5c1 Fixes bug on DMP editor model initializing Funder with null values. 2019-08-28 11:51:02 +03:00
gkolokythas d5970126d2 Fixes bug on DMP update not being ableto remove Funder. 2019-08-27 18:02:44 +03:00
gkolokythas bca715d52b Fixes bug on not storing Funder Id on Grant table. 2019-08-27 17:00:09 +03:00
gkolokythas b13bfb4527 Fixes bug on fetching Grant with Funder reference. 2019-08-27 16:59:21 +03:00
gkolokythas 1c9d631fcd Fixes bug on Remote Fetcher when "source" field is null. 2019-08-27 14:24:55 +03:00
apapachristou 99d3ec9998 Filters by funder (if selected) the grant autocomplete options 2019-08-27 14:03:39 +03:00
gkolokythas 098c2270fb Adds value "Internal" for Grants fetched localy. 2019-08-27 13:11:25 +03:00
gkolokythas 9281864a70 Adds "source" property to Grants fetched from external sources. 2019-08-27 12:52:21 +03:00
gkolokythas 1bd789b924 Fixes bug on Grant's query with criteria. 2019-08-26 17:56:16 +03:00
apapachristou 93cb23b870 Adds funder on Dmp model and removes it form Grant model and adds funder criteria on grant input autocomplete 2019-08-26 17:29:57 +03:00
gkolokythas 535ca2ed5a Adds "create if don't exist" for Funder entity and refactors the existing ones. 2019-08-26 16:55:30 +03:00
gkolokythas 44973ef3a9 Disables Grant's "Funder" property edit by other than creation user. 2019-08-26 16:52:05 +03:00
gkolokythas efde5fe5a3 Enriches models with Funder entity. 2019-08-26 16:43:30 +03:00
gkolokythas 0d74177d6b Adds filter on Funder, Grant and Project to expose only the entities created for on application and not the ones saved by external sources. 2019-08-26 16:16:50 +03:00
gkolokythas b6c9727b6c Adds funder criteria on Grand model. 2019-08-26 16:05:38 +03:00
apapachristou 73d776cdc3 Adds error notification on failure email sent, removes funderFormGroup input and get it through grantFormGroup 2019-08-23 18:27:58 +03:00
gkolokythas 6ac737e68d Adds Funder overview model on backend. 2019-08-23 16:23:23 +03:00
apapachristou 14b52e36a8 Associates Funder to Grant (Issue #145) 2019-08-23 13:30:36 +03:00
gkolokythas dca2b7fe84 Attaches Funder on Grant model according to requirements. (Issue #145) 2019-08-23 12:15:41 +03:00
apapachristou d635032224 Adds a Support section to side menu that opens a dialog where the user will provide a "Subject" and a "Description" to be sent (Issue #128) 2019-08-23 10:04:20 +03:00
apapachristou 5cd5b96fb3 Fixes bug on dmp status value on failing action "finalize" 2019-08-22 17:53:25 +03:00
gkolokythas 8ad6a8f158 Fixes bug on not checking validation rules of a new Finalized DMP. (Issue #131) 2019-08-22 17:15:16 +03:00
gkolokythas 2881ac5dd9 Adds backend validation on DMP finalization. (Issue #131) 2019-08-22 16:48:18 +03:00
gkolokythas f5866107ad Fixes bug on not populating the Project entity with Grant when Project is not selected, on DMP creation. 2019-08-22 14:29:33 +03:00
apapachristou 218595c358 Fixes bug on dmp-editor action "save changes" 2019-08-22 13:32:43 +03:00
gkolokythas 230e7481b1 Fixes bug on Funder like criteria. (Issue #145) 2019-08-22 12:23:04 +03:00
gkolokythas 1f97eaf349 Adds backend email validation for contact email. (Issue #128) 2019-08-22 10:36:53 +03:00
gkolokythas 934702a734 Fixes bug not containing user mail on Contact mail. (Issue #128) 2019-08-22 10:17:53 +03:00
gkolokythas 416538532c Fixes bug on not redirecting to correct url when clicking on Dataset Description on Published DMP Overview view. 2019-08-21 17:53:19 +03:00
gkolokythas 05c4039dbe Fixes bug on Zenodo DOI's property "creator name". 2019-08-21 17:31:33 +03:00
gkolokythas f38a8fd36b Fixes bug on creating a new Dataset Description of an existing DMP. 2019-08-21 13:20:05 +03:00
gkolokythas 99f9776e54 Creates backend Controller for Contact mail and adds it's respected configuration. (Issue #128) 2019-08-21 11:37:47 +03:00
apapachristou 3ed25bca11 Adds funder and project fields 2019-08-20 18:32:42 +03:00
gkolokythas 9f1eafa4c6 Adds missing configuration setting of Funder. (Issue #145) 2019-08-20 18:26:56 +03:00
gkolokythas 66a17db67a Fixes Project's external fetching various code missteps. 2019-08-20 18:25:32 +03:00
gkolokythas 43fbacc39f Adds Funder's entity its respected needed properties for external fetching. (Issue #145) 2019-08-20 18:22:53 +03:00
gkolokythas 5489a18c75 Fixes bug on Project remote fetching, not including it in ResponsesCache. (Issue #145) 2019-08-20 12:46:00 +03:00
gkolokythas beb7744e43 Adds Project external dynamic configuration properties. 2019-08-02 18:25:39 +03:00
gkolokythas 5dcf8397df Adds Funder entity on backend. 2019-08-02 18:24:43 +03:00
gkolokythas e8efe54479 Fixes bug on updating Project entity and various code missteps. 2019-08-02 18:21:00 +03:00
gkolokythas 01c5166bb9 Adds "Project" entity and its respected needed properties for external fetching. (Issue #145) 2019-08-02 11:27:12 +03:00
gkolokythas f08e2e47b7 SQL scripts for new "Funder" entity. (Issue #145) 2019-08-02 10:25:54 +03:00
gkolokythas 875150f7a8 SQL scripts for "Project" entity creation. 2019-08-01 12:13:44 +03:00
gkolokythas 37ec020231 Renames on database Grant Constrains. 2019-08-01 12:12:59 +03:00
gkolokythas 184b28e8ea Fixes bug ,due to rename, on fetching external Grants. 2019-08-01 12:12:06 +03:00
apapachristou 06b54ba8e6 Renames "Project" to "Grant on frontend. (Issue #145) 2019-08-01 10:54:40 +03:00
gkolokythas feaec87b82 Renames "Project" to "Grant on backend. (Issue #145) 2019-07-31 17:57:34 +03:00
gkolokythas 37aebb3d8d When creating new Researcher is now automatically added to to autocomplete. (Issue #141) 2019-07-31 13:07:32 +03:00
gkolokythas 3549e5f65f Fixes bug on Dataset Template model of DMP not incuding description. 2019-07-31 10:41:49 +03:00
gkolokythas f195adf44d Adds Dataset Template description as a tool tip on it's respected list on DMP editor. 2019-07-31 10:24:54 +03:00
gkolokythas d4595c08c4 Fixes language of Dataset Templates list on DMP editor. 2019-07-31 10:14:09 +03:00
gkolokythas 4aa0febc39 Adds "Description" field on Dataset Template and make it visible on autocomplete dropdowns. (Issue #137) 2019-07-30 18:30:47 +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
Diamantis Tziotzios 81fb715a9d added messages for after dmp creation popup 2019-07-30 11:22:04 +03:00
Diamantis Tziotzios b5a53b348a language fixes 2019-07-29 17:08:49 +03:00
Diamantis Tziotzios 68c2f19143 email config 2019-07-29 13:33:53 +03:00
Diamantis Tziotzios dc719682c6 config changes 2019-07-29 13:33:10 +03:00
Diamantis Tziotzios 4eb1c184c1 minor changes 2019-07-29 13:15:52 +03:00
gkolokythas 65ba88f544 Adds subtitle to external dropdown on Dataset Description editor. (Issue #139) 2019-07-29 12:26:08 +03:00
gkolokythas d1c04289ce Adds subtitles to external dropdowns (Researchers, Organisations). (Issue #139) 2019-07-29 12:04:19 +03:00
gkolokythas 68b699ea63 Fixes bug not showing the chip label of external references on Dataset Description edit. 2019-07-29 11:20:42 +03:00
gkolokythas 39b0ca0140 Fixes bug on showing deleted Dataset Descriptions and fixes language on Dataset Description Template version update. 2019-07-26 11:37:26 +03:00
gkolokythas 74779d8054 Fixed "XX Datasets" redirect links on DMP overview model. (Issue #144) 2019-07-25 17:09:14 +03:00
gkolokythas a64c96bc1e Fixes bug on multiple autocomplete reseting the form value when typing. (Issue #135) 2019-07-25 16:12:14 +03:00
gkolokythas 273b05da00 Fixes bug on DMP Template (profile) not showing saved values. (Issue #134) 2019-07-25 14:06:22 +03:00
gkolokythas ee367b3032 Adds backend controller for DMP Template (profile) External Autocomplete field and refactors DMP edit to show DMP Template (profile). (Issue #134) 2019-07-24 18:29:29 +03:00
gkolokythas 81c5a492c1 Adds "external autocomplete" field on DMP profile editor. (Issue #134) 2019-07-23 18:01:51 +03:00
gkolokythas f31435de94 Fixes bug on updating DMP when not containing the Dataset Templates of its Dataset Descriptions. 2019-07-19 11:55:08 +03:00
gkolokythas 099efab90c Fixes language on bread crumbs of DMP's public view. 2019-07-18 17:26:53 +03:00
gkolokythas 131245850a Changes navigation of "XX Dataset Descriptions" on DMP overview to redirect on DMP edit "Dataset Descriptions" tab. (Issue #144) 2019-07-18 17:16:12 +03:00
gkolokythas f00ac97dbb Adds all available options on DMP overview contetxt menu and creates new separate "Edit" button. (Issue #133) 2019-07-18 13:17:34 +03:00
gkolokythas 844ac467f6 Adds tool tips in every listing View and changes position of the existing ones. 2019-07-18 12:50:51 +03:00
gkolokythas b69b98accc Adds tooltips on Dataset listing. 2019-07-18 12:11:35 +03:00
gkolokythas 30dd91c21d Renames Popup message on DMP creation. (Issue #142) 2019-07-18 11:50:19 +03:00
gkolokythas 83e1a9790e Adds proper icon on Published DMP. (Issue #109) 2019-07-18 11:39:24 +03:00
gkolokythas 049c00e25a Adds tool tips on Dataset Description listing. (Issue #109) 2019-07-18 10:56:18 +03:00
gkolokythas fc770a057e Rename all "Datasets" to "Dataset Descriptions". (Issue #143) 2019-07-16 17:04:02 +03:00
gkolokythas 7fc7da55e2 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-07-16 16:44:47 +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 e3e3c0fa1b Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-07-15 18:50:23 +03:00
Diamantis Tziotzios a9f086b6f9 minor fixes 2019-07-15 18:49:48 +03:00
gkolokythas 7a7e445120 Fixes position of OrcId login button. 2019-07-15 10:02:19 +03:00
gkolokythas 23116d9a99 Adds OrcId login. (Issue #103) 2019-07-12 17:22:57 +03:00
gkolokythas f50b27128c Adds frontend redirect interceptor for logged in users with non-verified email. 2019-07-12 17:15:37 +03:00
gkolokythas f8310b2362 Adds email confirmation logic and view. 2019-07-12 17:12:16 +03:00
gkolokythas b691084d73 Adds backend handler for NullEmail and it's respected custom HttpCode. 2019-07-12 17:01:00 +03:00
gkolokythas 25da5e97e5 Refactors authentication principal to handle users with and without confirmed email. 2019-07-12 16:58:17 +03:00
gkolokythas cc7534e24d Refactors MailService's method to be more generic. 2019-07-09 14:01:58 +03:00
gkolokythas ba97740f8b Adds language to login page. 2019-07-05 17:54:38 +03:00
gkolokythas 172e848888 Removes frontend code missteps. 2019-07-05 16:33:09 +03:00
gkolokythas 2c8cfceba6 Fixes bug on DMP overview when trying to finalize and adds error message on failled finalize. 2019-07-05 15:57:28 +03:00
gkolokythas de56a1acc4 Fixes bug on DOI creation not saving the value on respected DMP. 2019-07-05 14:21:33 +03:00
gkolokythas e36863e132 Adds exist DOI validation when creating new DOI for DMP. 2019-07-05 14:19:43 +03:00
gkolokythas 3f93c38d50 SQL script to add new column "DOI" on DMP. 2019-07-05 14:10:17 +03:00
gkolokythas 7d68f93ecd Adds DOI variable to DMP models. 2019-07-05 14:08:24 +03:00
gkolokythas 195cea45c1 Adds button and service for DMP DOI creation. 2019-07-05 14:01:24 +03:00
gkolokythas 41319ee320 Adds create DOI backend service for DMP, using Zenodo (Issue #111) 2019-07-04 17:30:15 +03:00
gkolokythas 8b1f1d834e Adds the "Dataset Template" information on Dataset export document. 2019-07-04 17:10:30 +03:00
gkolokythas b5f400deed Adds misisng button of advanced export on Finalized DMP. 2019-07-04 14:04:43 +03:00
gkolokythas f5458de003 Fixes bug on DMP and Dataset export name. 2019-07-04 12:43:48 +03:00
apapachristou 953e1e70b0 Adds condition for disabled buttons for specific Form Validation template 2019-07-02 18:28:43 +03:00
gkolokythas 64d15c3b20 Fixes bug on 1.6 field of IOSSG Template. 2019-07-02 17:05:56 +03:00
gkolokythas aba92adf0f Fixes ordering bug on Clarin-D Template. (Issue #125) 2019-07-02 17:00:54 +03:00
gkolokythas b1bbdde463 Various fixes on Horizon2020 Template. (Issue #126) 2019-07-02 16:59:20 +03:00
gkolokythas 281080e8e2 Adds backend validation on Dataset finalization. (Issue #131) 2019-07-02 16:34:12 +03:00
apapachristou df50a4ee60 Adds: DMP creation dialog to continue to dataset addition or not (Issue - # 74) 2019-07-02 13:19:15 +03:00
gkolokythas 6596b3f953 Refactors DMP create or update and adds the dmp id on payload response. 2019-07-02 12:36:25 +03:00
apapachristou d9429a0de6 Adds informational text on /home - (Issue #98) 2019-07-01 13:29:06 +03:00
apapachristou dec8175e87 Adds text describing what the wizard is intended for - (Issue #115) 2019-07-01 13:06:26 +03:00
apapachristou 14a1afc414 Adds buttons to change DMP status from Draft to Finalized and from Finalized to Published (refactor on dmp-finalize-dialog-component.ts) 2019-07-01 12:35:09 +03:00
gkolokythas 93ec605c6b Fixes bug on the ordering of Dataset editor. 2019-07-01 11:50:18 +03:00
gkolokythas 3efe26d14e Changes the text and adds hint on Field's comment section. 2019-07-01 11:46:39 +03:00
gkolokythas 427f8f0595 Fixes bug on Dataset create. 2019-06-28 18:48:05 +03:00
gkolokythas 92486b9363 Creates new back end service that finalizes a DMP. 2019-06-28 15:58:25 +03:00
gkolokythas 326757f2c3 Adds "isPublic", "publishedAt" and "finalizedAt" properties on DMP overview model. 2019-06-28 11:25:27 +03:00
apapachristou 758c72ed2e Adds button to change Dataset Status, if DMP is Draft 2019-06-27 18:13:33 +03:00
gkolokythas 349dffb137 Refactors Dataset update so it cannot be edited if DMP is finalized. 2019-06-27 11:48:39 +03:00
gkolokythas ad6371ed1e Fixes bug on exposing Canceled Dataset on Dataset listing. 2019-06-27 11:40:12 +03:00
apapachristou b8c498013e Disables project input on /plans/edit/:finalized_id, fixes Breadcrumb translate, fixes message on dialog of finalizing dmp with no datasets 2019-06-26 18:34:43 +03:00
gkolokythas 6607714e4c Fixes bug on not assigning finalize Date on Datasets and DMPs. 2019-06-26 16:34:33 +03:00
gkolokythas 76831573ff Fixes bug on Sql scripts with naming conventions. 2019-06-26 16:30:26 +03:00
apapachristou 2572d3e760 Fixes bug on Create New Dmp 2019-06-26 14:57:52 +03:00
apapachristou 8f381c6d85 Fixes margin on Dmp Wizard step two help 2019-06-26 13:55:23 +03:00
apapachristou c06e0acee4 Adds text (Issue #123) - (Issue #124) 2019-06-26 13:51:16 +03:00
apapachristou 4a3a6cac90 Adds Confirmation Dialog on fianalize Dataset 2019-06-26 12:24:06 +03:00
gkolokythas 3763e0e34f Fixes language misstep on DMP editor. 2019-06-26 11:07:43 +03:00
apapachristou 9d92225f68 Rename fields on Dmp Wizard - (Issue #123) and fixes breadcrumb get language 2019-06-26 10:39:25 +03:00
gkolokythas fb824c70e9 Renames properties on 2nd tab of DMP wizard. (Issue #124) 2019-06-26 10:24:11 +03:00
apapachristou 237ae94f10 Fixes status on DMP and Dataset Listing Items 2019-06-25 18:16:31 +03:00
apapachristou 825f792a5d Removes edit functionality on /plans/edit/:finalized_id 2019-06-25 16:02:54 +03:00
gkolokythas 868e6886b3 Clarifies DMP's finalize filter to not include published ones. 2019-06-25 12:40:01 +03:00
apapachristou ff270185bd Use of Status Enum on all .ts files 2019-06-25 12:16:37 +03:00
apapachristou e29fbd4dca Get only draft DMPs on selecting an existing DMP at /datasetcreatewizard, fixes images on /about 2019-06-25 10:55:56 +03:00
apapachristou 61cba23bf6 Removes redirect on save profile settings 2019-06-24 18:26:40 +03:00
gkolokythas f07384ed42 Fixes bug on DMP finalize when no Datasets where to be Canceled. 2019-06-24 17:59:51 +03:00
apapachristou 46042b7403 Fixes synchronization on breadcrumb of /plans 2019-06-24 17:46:22 +03:00
apapachristou 74ed505702 Use of enum DmpStatus 2019-06-24 17:30:30 +03:00
gkolokythas 744942032e Adds finalizedAt and publicAt dates on DMP models. 2019-06-24 17:06:54 +03:00
gkolokythas b8977669c6 Renames DMP and Dataset columns. 2019-06-24 17:01:24 +03:00
apapachristou 742dd5015f Finalize Dialog on New DMP (Wizard) 2019-06-24 16:02:09 +03:00
gkolokythas 425a64e60a Refactors Dataset update so it cannot be edited if it's DMP is public. 2019-06-24 13:00:59 +03:00
apapachristou ae22578710 Adds validators on DMP editor model 2019-06-24 12:21:23 +03:00
gkolokythas 4aedfdd7f6 Fixes bug on not creating finalized DMP. 2019-06-24 11:01:28 +03:00
apapachristou 695ce63343 On New DMP (Expert): Removes finalize button since user don't have at least one finalized dataset at this point, Removes unnecessary tabs 2019-06-24 10:46:39 +03:00
apapachristou 0296b18022 Fixes lowercase on finalize button 2019-06-21 18:36:16 +03:00
apapachristou 3d2dea572f Fixes buttons on admin dataset-profiles 2019-06-21 18:06:30 +03:00
gkolokythas b2a407d90e Fixes bug where one could edit Finalized DMP. 2019-06-21 17:47:06 +03:00
gkolokythas ab63ea34d1 Fixes bug on create DMP created by the refactor. 2019-06-21 17:16:45 +03:00
apapachristou 611aeb0094 Fixes content on warning message on save and finalize dialog 2019-06-21 17:08:22 +03:00
apapachristou 3242654e77 Adds dialog on DMP option "Save and Finalize" - (Issue #110) 2019-06-21 16:55:38 +03:00
apapachristou 9de8e7d723 Fixes bug on New Dataset, on tab Description 2019-06-21 16:48:22 +03:00
apapachristou d7a9815196 Fixes bug on DMP Overview Listing Datasets 2019-06-21 16:45:06 +03:00
gkolokythas 55407fd053 Refactos DMP update when set to "Finalized", now sets it's Datasets status of not "Finalized" to "Canceled". 2019-06-21 14:04:29 +03:00
gkolokythas 590d85b355 Fixes DMP models to not expose Datasets with "Canceled" status. 2019-06-21 13:58:20 +03:00
gkolokythas c5d00b9ba1 Fixes bug on enabling a Finalized DMP to be made Draft again. 2019-06-21 12:31:15 +03:00
gkolokythas e76eb24dbd Adds the new Enum Status of a Dataset, "Canceled". 2019-06-20 18:08:51 +03:00
gkolokythas a0f3192541 Fixes bug on user listing. 2019-06-20 18:06:17 +03:00
gkolokythas 499149ea93 Adds "make public DMP" service on backend. 2019-06-20 16:25:49 +03:00
gkolokythas 9d77f7e0ab Refactors public DMPs listing and public Datasets listing to expose public items and not just finalized. 2019-06-20 14:45:47 +03:00
gkolokythas 8e0bafcbfa Adds criteria "Public" on DMP listing. 2019-06-20 14:31:29 +03:00
gkolokythas 4d9ae93cf2 Fixes bug on DMP editor model exposing deleted Datasets. 2019-06-20 13:33:10 +03:00
apapachristou e39e0df143 Fixes padding on datasets-tab 2019-06-20 10:28:33 +03:00
apapachristou 4e93bf7387 Adds full-width bar on top of datasets-tab - (Issue #117) 2019-06-20 10:25:26 +03:00
gkolokythas a40def3162 Adds "isPublic" and "PublishedDat" properties on DMP. 2019-06-19 17:32:54 +03:00
gkolokythas f9292ee839 Adds "Canceled" Status on Datasets and fixes bug with Dataset isPublic leftovers. 2019-06-19 17:16:05 +03:00
gkolokythas 47262a9a99 Removes obsolete property "IsPublic" from Datasets. 2019-06-19 17:13:34 +03:00
apapachristou 4ba6b687b6 Fixes bug on DMP wizard new dataset - (Issue #106) 2019-06-19 11:59:47 +03:00
Diamantis Tziotzios 4c834df6c5 license file 2019-06-19 09:00:29 +02:00
Diamantis Tziotzios 71d317bab7 license file 2019-06-19 08:59:52 +02:00
gkolokythas 09a2ac48b0 Fixes bug on DMP overview model not filtering the deleted Datsets. 2019-06-18 18:10:28 +03:00
apapachristou 4a4fabcfd1 Fixes bug on sidebar last line 2019-06-18 16:51:05 +03:00
apapachristou 686ff0d633 Fixed bug that after finalising a DMP, it is still possible to edit it. - (Issue #107) 2019-06-18 13:27:30 +03:00
apapachristou b7c070a939 Adds structure as requested on sidebar - (Issue #99) 2019-06-18 11:40:12 +03:00
apapachristou 5a51e6d616 Comments more button on homepage drafts 2019-06-14 18:11:57 +03:00
apapachristou 836dc29f5f Adds subtitles on wizards - (Issue #92) 2019-06-14 17:23:29 +03:00
apapachristou 8b2f54f9dc Fixes mat-autocomplete width to be as long as the larger option, fixes subtitle of wizard 2019-06-14 16:41:43 +03:00
apapachristou 98d0b67561 Remove the View All from related organizations tile - (Issue #101) and fixes wizard responsiveness 2019-06-14 13:43:12 +03:00
apapachristou e01d752315 Adds shortcut of wizard on /plans - (Issue #100) 2019-06-14 12:04:53 +03:00
apapachristou b090a293c4 Navigate from button "VIEW ALL" of Last Edited Table to MY DMPs and change content on i18n/en 2019-06-14 11:21:24 +03:00
gkolokythas 63c0341d28 Refactors Project listing model now not exposing DMPs. 2019-06-14 11:07:57 +03:00
apapachristou 7940562eeb Fixes layout and adds breadcrumb on /plans/clone/:id 2019-06-13 18:27:30 +03:00
apapachristou e77977f604 Fixes dmp row link on home last edited dmp table, changed description on dmp edit to show one row instead of two 2019-06-13 14:38:33 +03:00
apapachristou fec3436994 Fixes bug on textarea 2019-06-13 13:51:36 +03:00
apapachristou fabd254192 Fixes bug on dmp listing: removes second scrollbar 2019-06-13 13:24:16 +03:00
gkolokythas f0de34bcd3 Fixes bug on creating a new DMP on Project tab. 2019-06-13 12:17:40 +03:00
gkolokythas 173ff16602 Fixes bug on DMP not creating new Project when needed. 2019-06-13 10:32:45 +03:00
apapachristou 5aa87814de Styles Dmp Listing Item 2019-06-12 18:44:07 +03:00
apapachristou edc411be40 Adds the ability to create a Project from the DMP Editor - (Issue #87) 2019-06-12 16:01:55 +03:00
gkolokythas aee4010d4d Refactors endpoint's url on Dataset Template criteria used by DMP listing. 2019-06-12 12:13:50 +03:00
gkolokythas 61a64a1c5b Adds Dataset Template criteria on Dataset listing. 2019-06-12 12:10:46 +03:00
apapachristou a0edd856f3 Removes export and Dmp actions from public Dmp Overview 2019-06-11 13:50:19 +03:00
apapachristou 6b46121f34 Renames fields and adds hints - (Ticket #92) (Ticket #93) (Ticket #94) (Ticket #97) 2019-06-11 12:39:04 +03:00
apapachristou a2571c3877 Rename DMP & Dataset Profile to Template (Ticket #91) 2019-06-11 11:49:52 +03:00
apapachristou 60d05bd374 Adds breadcrumbs everywhere - (Ticket #86) and adds related dmps filter on public datasets 2019-06-11 11:25:32 +03:00
gkolokythas 3db3456eb8 Fixes typo on Project authentication criteria. (Issue #90) 2019-06-10 18:03:54 +03:00
gkolokythas 399c2630af Fixes bug on Project listing not authenticating properly. (Issue #90) 2019-06-10 17:19:35 +03:00
gkolokythas 7b4a809f3d Fixes bug on public Dataset criteria not checking for empty array of dmpIds. 2019-06-10 17:02:38 +03:00
gkolokythas 00661483ab Adds backend DMP filter on public Dataset listing. 2019-06-10 14:25:42 +03:00
gkolokythas 014b6158d3 Refactors public paged DMPs now supporting autocomplete. 2019-06-10 14:02:16 +03:00
gkolokythas d4832731af Adds new endpoint to get overview single public DMP. 2019-06-10 12:27:16 +03:00
apapachristou d80a0837af Fixes breadcrumbs context, Removes actions on public dmp overview 2019-06-07 18:21:09 +03:00
apapachristou b502868c62 Adds Translate 2019-06-07 18:17:57 +03:00
gkolokythas 5b2b5aaf31 Database scripts to move DMP Role to intermediate table, create DMPDatasetprofile, insert Finalized date on DMPs. 2019-06-07 16:55:10 +03:00
Diamantis Tziotzios cd05187326 test sql script 2019-06-07 16:41:48 +03:00
gkolokythas 3d7e31e145 Fixes bug on Public DMP editing exposing not "Finalized" Datasets. 2019-06-07 16:35:49 +03:00
apapachristou 1e5b01a875 Adds breadcrumbs responsiveness and fixes their context 2019-06-07 14:03:10 +03:00
gkolokythas fe69154353 Fixes bug not printing "multiple autocomplete" properties on Dataset export. 2019-06-07 11:37:16 +03:00
gkolokythas 6818eaf8bf Fixes Dataset export doc and pdf not deleting the in memory files. 2019-06-06 13:41:52 +03:00
apapachristou e344f7ce6e Right sidebar login option appears only when not on login page 2019-06-06 11:53:30 +03:00
apapachristou 648fe1c139 Fixes bug of login options table random resizing 2019-06-05 18:15:36 +03:00
apapachristou c5d2ebe8f8 Fixes Layouts on Admin Pages 2019-06-05 17:07:36 +03:00
gkolokythas fb1dd376fc Fixes bug on DMP doc and pdf export not exporting the "combobox" property when its type is "wordlist". 2019-06-05 16:57:05 +03:00
gkolokythas 2276a875ec Fixes bug on DMP pdf and doc export not deleting the documents created in memory. 2019-06-05 16:40:47 +03:00
apapachristou 9d91c8419d Aligns fields on user profile 2019-06-05 11:11:15 +03:00
apapachristou e4b6190522 Comments undefined subtitles 2019-06-05 10:33:37 +03:00
apapachristou 8446d46190 Fixe double simultaneous hover on account and logout option 2019-06-05 10:24:44 +03:00
apapachristou 18de763606 Adds: Logout on view my profile 2019-06-05 10:20:17 +03:00
apapachristou 770fb685a8 Adds: Logout on sidebar mobile mode 2019-06-05 10:19:28 +03:00
apapachristou 1eb9126d8c Fixes style on export file dialogs 2019-06-04 17:55:23 +03:00
gkolokythas b8e08869e5 Removes some unused imports and formats DatasetManager. 2019-06-04 17:16:12 +03:00
gkolokythas 4532313623 Fixes bug on Dataset createOrUpdate not saving associated DMP properly. 2019-06-04 17:05:47 +03:00
gkolokythas 9911dcdac5 Adds DMP export to JSON file (RDA template, not finished). 2019-06-04 17:04:04 +03:00
apapachristou 73bc31ed7c Adds: actions on each row of last edited dmp (Dashboard) 2019-06-04 14:34:30 +03:00
apapachristou e35ae42eeb Disabled unnecessary tabs on dmp creation view 2019-06-04 12:55:44 +03:00
apapachristou 978e2d67d0 Shows finalized Date on Dmp and Dataset listing 2019-06-04 12:53:35 +03:00
gkolokythas 147eb2ce44 Adds finalized date on Datasets and DMPs on backend. 2019-06-04 12:00:50 +03:00
apapachristou f14a1e63fd Fixes color on cansel dmp edit button 2019-06-04 11:15:24 +03:00
apapachristou 4cb7e57190 Disabled buttons on new Dmp invalid form 2019-06-04 11:10:48 +03:00
gkolokythas 8cd6615b7c Fixes bug on sending unnecessary requests on dashboard. 2019-06-04 10:36:39 +03:00
apapachristou bfb0e19f64 Fixes: bug on multiple post requests 2019-06-04 10:25:25 +03:00
apapachristou 11a00ec26a Fixes: bug on multiple get calls 2019-06-03 16:13:17 +03:00
gkolokythas 2f139471dc Fixes bug on not updating Dataset's DMP. 2019-06-03 16:09:38 +03:00
apapachristou 988fdc3ebb Fixes: dataset editor submit buttons, Adds: translate 2019-06-03 15:54:09 +03:00
apapachristou ba96f41a7e Adds change dmp functionality on dataset edit 2019-06-03 13:21:00 +03:00
apapachristou fdc0d3a8b8 Dataset editor restyle - 1st commit 2019-06-03 12:01:42 +03:00
gkolokythas 2e467f8277 Fixes bug on not properly saving the Creator of a DMP. 2019-05-31 16:43:14 +03:00
gkolokythas 2db15fc713 Fixes performace on DMP autocomplete. 2019-05-31 14:07:12 +03:00
gkolokythas 175a1e0747 Refactors DMP creator to use the intermediate table from database and not the column. 2019-05-31 11:38:04 +03:00
apapachristou 71604b0ae1 Fixes bug on cancel button of dmp creation form 2019-05-30 17:40:32 +03:00
gkolokythas 8705f916b2 Fixes bug on DMP updating modified date. 2019-05-30 15:41:23 +03:00
gkolokythas ae67197818 Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-05-30 11:31:36 +03:00
gkolokythas 56ff4f3fb9 Fixes bug on DMPdao. 2019-05-30 11:31:08 +03:00
apapachristou a6b0d99f2f Fixed bug on disabled mat-form-field-underline 2019-05-30 11:25:30 +03:00
gkolokythas 2f045e6a52 Makes DMP owner to only have the permision to delete members. 2019-05-29 18:04:20 +03:00
gkolokythas 58137d18dd Adds the functionality to delete members of a DMP. 2019-05-29 17:58:23 +03:00
apapachristou 80cc6b2fba Fixed import buttons on DMP templates, Dataset templates 2019-05-29 17:41:39 +03:00
ikalyvas 840943d7fc Temporarily rolls back from Hibernate's latest version 2019-05-29 17:21:45 +03:00
apapachristou 0f1bad8115 Styles Breadcrumb 2019-05-29 17:10:55 +03:00
apapachristou 87d3c89476 Fixed bug on button attach_file 2019-05-29 16:44:18 +03:00
apapachristou 59c347f88c Fixed textarea resize bug 2019-05-29 16:17:47 +03:00
ikalyvas 5f6224210b Adds json deserialization ignore for missing properties 2019-05-29 13:55:13 +03:00
apapachristou 67e0dbcb7c Fixed bug on input fields icons 2019-05-29 13:19:16 +03:00
apapachristou 9159ba2d9b Bug fixed on remove collaborator 2019-05-29 12:34:27 +03:00
gkolokythas 2453cde47f Fixes bug and efficiency on fetching DMPs. 2019-05-29 12:02:47 +03:00
gkolokythas 7bac52267a Temporarily disables json ignore on empty values. 2019-05-29 11:54:07 +03:00
ikalyvas 3924176ce4 Merge branch Development 2019-05-29 11:22:18 +03:00
apapachristou eeffcc9b28 Removes collaborator from submit form 2019-05-29 10:58:08 +03:00
apapachristou f6be85a8f2 Fixes: Permissions of remove collaborator, Dialog bug on add researchers 2019-05-29 10:12:49 +03:00
apapachristou c5fb057bf5 Adds: remove contributor button on dmp edit (style only) 2019-05-28 17:39:25 +03:00
apapachristou 3a83ab4c1c Adds: Translate 2019-05-28 16:37:39 +03:00
apapachristou 9580f89eea Merge branch 'Development' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-05-28 13:47:17 +03:00
apapachristou 71bceef123 Bug Fixed on New Dmp Finalize option 2019-05-28 13:42:12 +03:00
apapachristou 62bf286f3f Adds Dataset Tab 2019-05-28 12:59:23 +03:00
gkolokythas e2347b9b50 Fixes the efficiency on fetching DMPs' associated Dataset Templates. 2019-05-28 11:10:42 +03:00
apapachristou cae43a14db Adds project tab and people tab 2019-05-28 10:49:09 +03:00
gkolokythas a212ad1962 Fixes bug importing deleted file. 2019-05-28 10:28:00 +03:00
gkolokythas f9b12f99a4 Refactors the the connection between DMP and Dataset Template (Profile) and adds Dataset Template criteria on DMP listing. 2019-05-28 10:22:58 +03:00
ikalyvas 120e16f714 Adds Criteria Serialization 2019-05-28 10:16:34 +03:00
gkolokythas 12372baa8f Adds email information on UserInfo listing model.
(cherry picked from commit 10e76e6d2b)
2019-05-28 10:14:39 +03:00
gkolokythas 10e76e6d2b Adds email information on UserInfo listing model. 2019-05-28 10:12:23 +03:00
gkolokythas abb41b238d Adds datasets and dmp roles on DMP edit model.
(cherry picked from commit dd0b23580c)
2019-05-27 18:29:53 +03:00
gkolokythas dd0b23580c Adds datasets and dmp roles on DMP edit model. 2019-05-27 18:26:03 +03:00
apapachristou 23d85d0275 Fixed Bootstrap Grid System 2019-05-27 12:16:52 +03:00
apapachristou 9d40ffde63 Dmp Editor First Commit 2019-05-23 18:48:54 +03:00
ikalyvas 93f69979ba Updates Queryablelist to support Queries and Criteria 2019-05-23 18:03:44 +03:00
gkolokythas 3d316176f8 Refactors logic and language on Breadcrumbs. 2019-05-23 16:00:11 +03:00
gkolokythas fadaa9bbcb Adds missing breadcrumbs. 2019-05-23 12:40:24 +03:00
gkolokythas 4f727e5f2e Language fixes on public Dashboard. 2019-05-23 09:43:44 +03:00
gkolokythas 5e9fdea187 Fixes language on public Dashboard. 2019-05-22 17:20:05 +03:00
gkolokythas c98b7934d8 Fixes bug on public DMP view when user is not logged in. 2019-05-22 17:18:30 +03:00
apapachristou 1ae1f1a91d Adds: Edit Action at Dmp Listing Item 2019-05-22 16:52:55 +03:00
apapachristou 0708a4f58d Restyles: Confirmation Dialog 2019-05-22 16:36:24 +03:00
apapachristou 072f97fdb7 Fixes: bug on size of dataset cards at dmp overview page v2 2019-05-22 14:26:05 +03:00
apapachristou 1240a2b585 Fixes: bug on size of dataset cards at dmp overview page 2019-05-22 13:48:23 +03:00
apapachristou f71f0ed3ff Adds: Breadcrumb on dmp overview page, Fixes: bug on breadcrumbs at page refresh 2019-05-22 12:52:53 +03:00
gkolokythas 7844c33b7c Various improvements on DMP document export. (Issue #71) 2019-05-22 11:53:30 +03:00
ikalyvas 579749a5dc Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into backend-refactoring 2019-05-22 09:57:59 +03:00
gkolokythas 496b0bcf4e Fixes bug on DMP listing criteria. 2019-05-22 09:49:19 +03:00
ikalyvas 159dfd35ba Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into backend-refactoring 2019-05-21 18:51:32 +03:00
apapachristou aee9ce7c9c Fix css bug when empty abbreviation, description on public homepage 2019-05-21 18:42:04 +03:00
ikalyvas fd30cc9a94 Refactors the way queries are generated 2019-05-21 18:17:41 +03:00
apapachristou 19ce1b6653 Fixes: Cursor bug, Adds: translate 2019-05-21 17:47:52 +03:00
gkolokythas e49d7afc54 Fixes bug on Project editor. 2019-05-21 17:20:11 +03:00
apapachristou 349dfd821e Adds: Dmp Overview Component 2019-05-21 16:42:28 +03:00
gkolokythas d15cbd6d9e Adds uri property to ProjectOverview model. 2019-05-21 13:36:55 +03:00
gkolokythas 7de3e34a6d Fixes Collaborators' autocomplete search query not working properly. 2019-05-21 10:52:32 +03:00
gkolokythas 199d011f98 Fixes language issues of the side nav menu. 2019-05-21 10:25:57 +03:00
gkolokythas e6bc04b3f5 Fixes side bar admin pages showing to all users. (Issue #85) 2019-05-21 10:01:00 +03:00
ikalyvas c09685c501 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-05-20 14:25:04 +03:00
ikalyvas 37ced95cff Fixes bug with Colaborator Query 2019-05-20 14:24:15 +03:00
gkolokythas c28ec47537 Adds new models for exposing the Dataset and Dataset Template informations. 2019-05-20 14:20:06 +03:00
ikalyvas 8a2f6b3c28 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into Development 2019-05-20 13:34:19 +03:00
gkolokythas f0c99e33af Adds description on ProjectOverview model. 2019-05-20 13:19:10 +03:00
ikalyvas ea66da7cff Updates Colaborators fetch algorithm 2019-05-20 13:15:28 +03:00
gkolokythas b67614afd0 Refactor the DMP listing model and adding to it more information about Project. 2019-05-20 13:13:48 +03:00
gkolokythas 2775841d84 Adds Admin pages on the side nav menu. (Ticket #85) 2019-05-20 10:32:01 +03:00
gkolokythas 392eb0d36e Adds researchers to DMP overview model. 2019-05-20 10:27:32 +03:00
gkolokythas dd973d4b78 Adds endpoint for the new model DataManagmentPlanOverview. 2019-05-17 18:21:56 +03:00
gkolokythas 682bebfc60 Fixes bug on paginator control on all listing views. (Ticket #84) 2019-05-17 16:29:00 +03:00
gkolokythas 4b47ce75e1 Fixes bugs on creating and updating DMPs releated to the user refactor. 2019-05-17 13:19:30 +03:00
gkolokythas 6b13f191b0 Adds the missing information to User Dashboard (Ticket #83) 2019-05-17 11:42:30 +03:00
Diamantis Tziotzios 151656386a merging changes 2019-05-17 10:44:16 +03:00
Diamantis Tziotzios 6714ba99ee Merge branch 'ui-refactoring' into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/DatasetProfileManager.java
#	dmp-frontend/src/app/dataset-profile-form/form/form.component.html
#	dmp-frontend/src/app/dataset-profile-form/form/form.component.ts
#	dmp-frontend/src/app/services/datasetProfileAdmin/datasetProfileAfmin.service.ts
2019-05-17 10:34:37 +03:00
Diamantis Tziotzios 2774d31e52 gitignore 2019-05-17 10:28:52 +03:00
gkolokythas add3f979b2 Fixes the pagination on explore DMP and explore Datasets. 2019-05-17 10:17:23 +03:00
apapachristou 162d2ef21f Add Breadcrumb to navbar (Ticket #82) 2019-05-16 19:11:41 +03:00
gkolokythas f26b3200e3 Polishes the Tag functionality by adding the mockup data into a json file (Ticket #76) 2019-05-16 14:16:24 +03:00
gkolokythas f71d02613a Adds Tags functionality on Dataset listing with mockup data. (Ticket #76) 2019-05-16 13:54:29 +03:00
gkolokythas 4a1b9984c7 Implemets Collaborators filter to Dataset and DMP listing. (Ticket #77) 2019-05-16 13:10:28 +03:00
apapachristou 61afbb8848 Adds: Dataset listing links 2019-05-16 11:00:53 +03:00
gkolokythas 468810ccf4 Fixes the role indicator on DMP listing items. 2019-05-16 10:44:20 +03:00
gkolokythas 3914c456d3 Adds project Id on Dataset listing model. 2019-05-16 10:10:54 +03:00
apapachristou d360b384cb Project Abbreviation everywhere 2019-05-16 09:56:17 +03:00
gkolokythas d5c1469a98 Adds the Organisations statistics on public Dashboard. 2019-05-15 18:39:05 +03:00
gkolokythas 252b261d3f Merge branch 'ui-refactoring' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-05-15 18:25:00 +03:00
gkolokythas 25ce03b962 Adds project Abbreviation on Dataset listing model. 2019-05-15 18:24:31 +03:00
apapachristou 9b145b5d7b Apply slide 2 of the design spec to the Public Dashboard Page (Ticket #81) 2019-05-15 18:21:04 +03:00
gkolokythas bb3fb91ba8 Fixes bug on Dataset listing when user not creator. 2019-05-15 17:43:53 +03:00
apapachristou b13bbdb670 Styles: Project Listing, Adds: Link on public dataset item, Fixes: Colors 2019-05-15 11:55:53 +03:00
apapachristou 0f89b75e61 Fixes console error, comments line for older version of filters 2019-05-15 11:17:20 +03:00
apapachristou 98f1e787d6 Apply the new style to the filters in the "Public Dataset Descriptions" page. (Ticket #78) 2019-05-15 11:09:42 +03:00
apapachristou 9c0be255c3 When clicking the Datasets icon & number, the user should be navigated to the Datasets listing page and the DPM filter should be set. (Ticket #80) 2019-05-15 09:57:10 +03:00
gkolokythas 99fc3df7fa Fixes bug when fetching the Organisations. 2019-05-15 09:36:05 +03:00
gkolokythas 0ee3299d79 Fixes DMP invitation bug not properly saving the information. 2019-05-14 16:40:25 +03:00
Diamantis Tziotzios aedc23a037 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-05-14 16:18:17 +03:00
Diamantis Tziotzios da32d92c7a build fixes 2019-05-14 16:18:10 +03:00
gkolokythas 62d681d022 Project filter on "Public DMPs" now exposes only the ones associated with public DMPs (Ticket #79) 2019-05-14 16:08:49 +03:00
apapachristou 09d85f1485 Ticket: -When clicking the Project name (it should be displayed as link), the user should be navigated to the Project editor Page for that project. (#80) 2019-05-14 14:35:02 +03:00
gkolokythas b8559f9f52 Organisations filter on "Public DMPs" now exposes only the ones associated with public DMPs. (Ticket #79) 2019-05-14 14:12:31 +03:00
gkolokythas 3905f68121 Adds the project Id on DMP listing model. 2019-05-14 14:04:43 +03:00
apapachristou c8844fba08 Ticket: -Dataset Template chip should be one line (no wrap) with a fixed width. In hover the full text should be displayed. 2019-05-14 13:17:33 +03:00
apapachristou 55dd9800e9 Translates: Public Dmp, Styles: Dataset Listing 2019-05-14 12:26:22 +03:00
apapachristou 2e83a28df8 Styles: Dataset Listing, Fixes: Bug on Public Dmp Filters, Arrows-down Return 2019-05-14 11:51:39 +03:00
gkolokythas 2854e9bade Fixes language on DMP criteria "select DMP" placeholder. 2019-05-14 10:50:57 +03:00
apapachristou efb8b080c1 Styles: Public Dmp Filters 2019-05-13 18:41:40 +03:00
gkolokythas ebfde3e992 Fixes bug on create Dmp not saving the role on the Database. 2019-05-13 13:30:35 +03:00
gkolokythas 1747e62a58 Fixes bug on DMP listing backend logic that exposes deleted Datasets. 2019-05-13 12:20:59 +03:00
apapachristou 5b6936c25e Fixed: Compiler error 2019-05-10 17:12:36 +03:00
gkolokythas d5cfa7823f Adds Dmp criteria on Dataset listing. 2019-05-10 17:02:20 +03:00
Diamantis Tziotzios 0440ecba41 public dashboard changes 2019-05-10 16:20:53 +03:00
gkolokythas 4445cf4bc3 Fixes bug on Dataset listing criteria language. 2019-05-10 16:05:53 +03:00
gkolokythas f3fbf012f9 Fixes bug on Dataset Criteria. 2019-05-10 16:05:01 +03:00
gkolokythas 4829151355 Fixes search criteria on Dataset listing. 2019-05-10 15:36:23 +03:00
Diamantis Tziotzios 879ab28cbb navabar and sidenav changes 2019-05-10 14:12:45 +03:00
gkolokythas 4304b3734b Fixes search Criteria bug on Dmp listing. 2019-05-10 12:26:35 +03:00
gkolokythas 7c887382b5 Fixes the pagination on Dataset listing. 2019-05-10 11:53:39 +03:00
gkolokythas 11c1ac33cf Adds the criteria on DMP listing and refactors the backend userInfo. 2019-05-10 11:33:48 +03:00
apapachristou 1b340ac1f7 Styles: Public Dmps Listing 2019-05-09 18:22:09 +03:00
apapachristou c265e5e2fa Styles: Dataset Listing 2019-05-09 16:57:00 +03:00
apapachristou 05fe3e57b8 Styles: Dmp listing page and some general css changes 2019-05-09 16:30:39 +03:00
gkolokythas f0a73cf355 Adds description and project abbreviation on Dmp listing model. 2019-05-09 12:42:51 +03:00
Diamantis Tziotzios 65a3f4d11d public dashboard 2019-05-08 18:39:07 +03:00
Diamantis Tziotzios 918d7ca782 sidebar changes 2019-05-08 18:24:30 +03:00
gkolokythas 4e8fe92dcb Adds the number of Datasets and the users name on the DMP listing. 2019-05-08 16:49:48 +03:00
gkolokythas 42a06713af Merge branch 'ui-refactoring' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-05-08 16:47:11 +03:00
gkolokythas df12702499 Adds pagination functionality on DMP listing. 2019-05-08 16:46:53 +03:00
apapachristou ff686a33d0 Paginator Returns 2019-05-08 16:42:36 +03:00
apapachristou e387ed152c Css merge files, dataset listing fixing style 2019-05-08 16:29:52 +03:00
Diamantis Tziotzios 4902906fbc sidebar authenticaton changes 2019-05-08 15:48:57 +03:00
Diamantis Tziotzios c23531d69b minor fix in public datasets page 2019-05-08 14:09:44 +03:00
Diamantis Tziotzios c6fe54badf Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-05-08 13:52:21 +03:00
Diamantis Tziotzios 0a26948273 dataset pubic page redesign 2019-05-08 13:52:14 +03:00
apapachristou 10a05fd8c5 Fixed: chips overlapping bug on dmp listing 2019-05-08 13:25:06 +03:00
apapachristou 2fba31012a Merge branch 'ui-refactoring' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-05-08 12:58:31 +03:00
apapachristou 4316f7a02f declarations 2019-05-08 12:57:59 +03:00
Diamantis Tziotzios c5e13ef9c5 project listing and public dmp page restyle 2019-05-08 12:55:49 +03:00
apapachristou b73638081a Adds-Style: Dataset Listing Page 2019-05-08 12:53:23 +03:00
apapachristou be06f26bcf Adds: dmp item actions 2019-05-08 11:37:44 +03:00
gkolokythas 5bf1951da6 Sets Dashboard's last edited DMP listing length. 2019-05-07 12:34:13 +03:00
gkolokythas c0a780086c Fixes Visibility Criteria on DMP listing. 2019-05-07 12:30:03 +03:00
apapachristou caa6be46d8 Styles: paginator position Dmp listing, Translates: Dmp listing 2019-05-07 11:04:47 +03:00
apapachristou 7414853a2e Fixed filter fields 2019-05-06 16:35:46 +03:00
apapachristou 3d970bc3ce Translate filters 2019-05-06 15:41:05 +03:00
apapachristou 059fbcf343 Modified instead of created 2019-05-06 13:50:48 +03:00
apapachristou c2c18d0131 Styles: Filters Column, Paginator 2019-05-06 13:15:45 +03:00
gkolokythas 1edd38c09e Adds user information on DMP listing. 2019-05-06 12:41:13 +03:00
apapachristou ffbcd91c54 Replace last visited table by last edited table 2019-05-06 10:01:26 +03:00
apapachristou f0bedb1c71 Fixes: Hidden number at listing item, Progress Bar position, color of sidebar-footer 2019-05-02 18:40:39 +03:00
apapachristou 078d2a736c Adds: Sidebar Footer (style only) 2019-05-02 15:43:02 +03:00
apapachristou 4562f65a6d Progress Bar Returns, this time blue 2019-04-30 18:59:19 +03:00
apapachristou e569de4a7c Adds: Sidebar background image 2019-04-30 18:57:10 +03:00
apapachristou 2d428dea9b Fixes: Login avatar size, Adds: Login button on sidebar wrapper 2019-04-30 17:14:24 +03:00
apapachristou 65567fc421 Snackbars Return 2019-04-30 10:15:38 +03:00
apapachristou 0e09d661d4 Adds: Links on buttons VIEW ALL, Translates: Buttons VIEW ALL 2019-04-26 19:08:51 +03:00
apapachristou 6890cd2799 Adds: Drafts, Removes: Recent Edited Activity Table from Dashboard 2019-04-26 19:03:38 +03:00
gkolokythas 8699b7bbe8 Adds a hint indicator on external Sources on Dataset description. (Ticket #67) 2019-04-26 17:20:21 +03:00
gkolokythas e138b18dc1 Adds Templates (Dataset Profiles) on DMP listing. 2019-04-26 17:08:41 +03:00
gkolokythas e591e47736 Adds the published DMPs view. 2019-04-26 17:05:15 +03:00
gkolokythas f98cfc2969 Fixes the routing on Dataset edit's save button. 2019-04-25 18:20:16 +03:00
gkolokythas c78e24782f Fixes bug on Dataset edit, wrongly showing the update version button. 2019-04-25 18:17:29 +03:00
gkolokythas 9d4c3fca60 Adds the property of last modified on Dmps and Datasets. 2019-04-25 18:12:08 +03:00
Diamantis Tziotzios 7388cb479b dmp listing style changed 2019-04-25 17:04:54 +03:00
apapachristou e232dbb83a sidebar-fix 2019-04-25 12:21:10 +03:00
apapachristou d0d499be85 Merge branch 'ui-refactoring' of gitlab.eudat.eu:dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-04-25 12:04:01 +03:00
apapachristou 314d4b3df7 translate, search and login bug fixed 2019-04-25 12:03:22 +03:00
Diamantis Tziotzios e0f8b25f53 login page redesign 2019-04-25 12:00:24 +03:00
Diamantis Tziotzios 1c83289a65 dev enviroment file update 2019-04-25 09:59:29 +03:00
apapachristou 8a9e0c2d1f dashboard redesign 2019-04-24 12:26:53 +03:00
gkolokythas 5557111e93 Makes the code of Dataset Profile version checking on a Dataset more maintainable. (Ticket #59) 2019-04-23 12:01:49 +03:00
gkolokythas b52225308d Adds the number of Organisation on Dashboard statistcs. 2019-04-22 17:19:08 +03:00
gkolokythas 3e7747455c Adds dmpId on Dataset Response. 2019-04-22 13:45:36 +03:00
gkolokythas d37efb528c Fixes bug on DMP Datasets search, now can add several DMPs on criteria. 2019-04-22 12:35:50 +03:00
gkolokythas aed9d831e9 Adds Dataset Profile versioning functionality (Ticket #59) 2019-04-22 12:11:21 +03:00
gkolokythas 05a75090e9 Fixes Dataset copy dialogue text. 2019-04-16 16:47:02 +03:00
gkolokythas 018024d6f7 Fixes bug with Dataset Profile create. 2019-04-16 16:42:24 +03:00
gkolokythas 534d37668b Fixes file not working because of refactor. 2019-04-16 15:35:16 +03:00
gkolokythas 0da7fd8441 Adds basic edit on finalized Dataset profiles. (Ticket #72) 2019-04-16 13:49:09 +03:00
gkolokythas 7ca5568437 Fixes various missteps in code. 2019-04-15 13:35:26 +03:00
gkolokythas c577d6f53b Adds Dataset import functionality (Ticket #70) 2019-04-15 12:34:12 +03:00
gkolokythas 92b027280d Adds Dmp search filter on Dataset Listing. (Ticket #63) 2019-04-09 10:29:43 +03:00
gkolokythas 30c84de19a Fixes Pdf export for DMP and Dataset. 2019-04-05 12:20:06 +03:00
Diamantis Tziotzios bb666d91e4 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-04-03 18:03:04 +03:00
gkolokythas c1449bd333 Fixes the Project filter in ExploreDmp to have the same functionality when user is logged in or not. 2019-04-03 16:25:52 +03:00
gkolokythas a6ed45e75f Updates language on quick Dataset wizard. 2019-04-02 17:43:30 +03:00
gkolokythas 488d76448e Removes the validation from the DMP description. 2019-04-02 16:48:45 +03:00
gkolokythas ba36dd06ec Fixes Project status selector on explore 2019-04-02 13:45:47 +03:00
Diamantis Tziotzios 3416bc931e Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-04-02 11:43:24 +03:00
Diamantis Tziotzios e7d53aadee next button commented 2019-04-02 11:43:16 +03:00
Diamantis Tziotzios 3da8557389 Fixes bug on public Dataset export created by refactoring. 2019-04-02 10:53:38 +03:00
Diamantis Tziotzios aadc212002 Adds title to dataset export document. 2019-04-02 10:51:22 +03:00
Diamantis Tziotzios e455072536 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring
# Conflicts:
#	dmp-frontend/src/app/ui/quick-wizard/dataset-editor/dataset-editor-wizard.component.ts
2019-04-02 10:01:40 +03:00
Diamantis Tziotzios 1ee9ac2989 dataset wizard title change 2019-04-02 10:00:15 +03:00
Diamantis Tziotzios 0d73fb2a8b Fixes the functionality to see finalized Datasets when not signed in. 2019-04-01 13:42:46 +03:00
Diamantis Tziotzios 29f9c0992f Missing uncommited file. 2019-03-28 17:07:51 +02:00
Diamantis Tziotzios c37e421388 Adds Dataset copy functionality from a DMP to another. 2019-03-28 16:53:17 +02:00
Diamantis Tziotzios 3976722d47 Adds Dmp export file related. 2019-03-26 18:11:26 +02:00
Diamantis Tziotzios dcf768f913 Removes unnecessary code. 2019-03-26 18:10:19 +02: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 ac0c19c323 Language updates. 2019-03-26 17:58:42 +02:00
Diamantis Tziotzios b45d4d5905 Removes the Validation from the DMP description on the second step of Quick Wizard. 2019-03-26 17:58:01 +02:00
Diamantis Tziotzios 0432aed3cb Makes the "Add new Dataset" button on Quick Wizard to not be seen when in edit mode. 2019-03-26 17:52:21 +02:00
Diamantis Tziotzios b76d7dd5b8 Adds "Save" and "Save and Finalize" on quick wizard components. 2019-03-26 17:43:19 +02:00
Diamantis Tziotzios ed03abd254 Adds the multiple autocomplete functionality on Combo Box Autocomplete. 2019-03-26 17:09:02 +02:00
Diamantis Tziotzios 02a42d22ba Fixes Dmp Versioning functionality letting user editing and saving over an old version. 2019-03-26 16:52:19 +02:00
Diamantis Tziotzios 1f643cda9a Adds export as Docx functionality on Datsets 2019-03-26 16:45:27 +02:00
Diamantis Tziotzios 1157a90d79 Extra files to DatasetProfile Versioning. 2019-03-26 16:41:50 +02:00
Diamantis Tziotzios 2c51468dfe Adds Dataset Profile Versioning. 2019-03-26 16:30:33 +02:00
Diamantis Tziotzios a7f138c1ea Fixes Project listing on Dashboard. 2019-03-15 18:06:55 +02:00
Diamantis Tziotzios 460aa7d1e7 Fixes "Save and Finalize" on Quick wizard. 2019-03-14 20:00:02 +02:00
Diamantis Tziotzios fb70345d39 Adds success message on Dataset Create Wizard. 2019-03-14 18:04:20 +02:00
Diamantis Tziotzios eebe0886c4 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-14 17:44:50 +02:00
Diamantis Tziotzios d19392fde0 language updates 2019-03-14 17:44:40 +02:00
Diamantis Tziotzios 8c241fd47f Polishing position and fixes bug on "add one field" button. 2019-03-14 17:39:30 +02:00
Diamantis Tziotzios 06f45326a6 Fixes autocomplete on quick wizard not working when filling out the dataset. 2019-03-14 16:30:34 +02:00
Diamantis Tziotzios 2cbaa05f95 Restyles and repositions "Add one more Fieldset" button. 2019-03-14 12:58:24 +02:00
Diamantis Tziotzios b7e0618945 Polishes Section's Description and also Composite's field Description and Extended Description. 2019-03-14 12:20:33 +02:00
Diamantis Tziotzios 95fa905fd2 Deletes obsolete Model class. 2019-03-14 11:52:59 +02:00
Diamantis Tziotzios 3b3b522089 Moves datasetWizard style from html to its respective scss file. 2019-03-14 11:52:14 +02:00
Diamantis Tziotzios 3d3eff8a65 Adds Save and Finalize functionality on QuickWizard. Fixes Save on QuickWizard so one can save even if form is invalid. 2019-03-14 11:50:06 +02:00
Diamantis Tziotzios e90d23ae54 Adds tooltips on Quick wizard icons. 2019-03-14 11:31:06 +02:00
Diamantis Tziotzios 2843ac6660 Fixes bug on Composite Field when all child fields where deleted. 2019-03-14 11:29:35 +02:00
Diamantis Tziotzios 19416d29e7 breadcrumb style fix. quick create dmp style fix 2019-03-14 10:37:58 +02:00
Diamantis Tziotzios 9dd2c606ed Fixes disabled functionality on "Save and Finalize" button. 2019-03-13 17:30:12 +02:00
Diamantis Tziotzios 32d189af03 Reintroduces description property on Sections. 2019-03-08 17:12:53 +02:00
Diamantis Tziotzios b1ea68670a Fixes bug on Additional information and rearranges nearby elements. 2019-03-08 17:09:34 +02:00
Diamantis Tziotzios 67c4d2f55a fix Botstrap Col Fields On Quick Create Dataset DatasetStep DatasetFormGroup 2019-03-07 14:31:09 +02:00
Diamantis Tziotzios 583db09764 CompositeField Set scss To Title For Render 2019-03-07 12:47:31 +02:00
Diamantis Tziotzios c8bea58d89 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-07 12:05:06 +02:00
Diamantis Tziotzios 5c608c11e8 ADDITIONAL-INFORMATION On CompositeFields
Fix Import Dataset Profiles Desc Extendet And  Additional
2019-03-07 12:04:54 +02:00
Diamantis Tziotzios 009d24b97b Fixes Dmp Import dialogue view 2019-03-06 17:58:49 +02:00
Diamantis Tziotzios ec6b50dc22 Fixes Dmp upload issues 2019-03-06 17:35:56 +02:00
Diamantis Tziotzios 443f010335 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-06 16:59:35 +02:00
Diamantis Tziotzios d1e71d065a Project Img Fix To SelectOn IsNew Or On Edit Mode 2019-03-06 16:59:22 +02:00
Diamantis Tziotzios 89d96d888d Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-06 16:47:27 +02:00
Diamantis Tziotzios e8067b8620 Refactors Dmp import, Dmp Profile import and Dataset import dialogues. 2019-03-06 16:44:50 +02:00
ikalyvas 3a3bea121e Fixes bug with quick wizard navigation after save 2019-03-06 16:41:24 +02:00
Diamantis Tziotzios 9a14a73b86 set Default Project criteria Value And Add en.json the "NONE":"-" 2019-03-06 16:19:08 +02:00
Diamantis Tziotzios 6f6ba650ac Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-06 14:20:58 +02:00
Diamantis Tziotzios 0b8313abd0 Ctriteria Null Value Set Up DmpProfiles FixBug To show Values On StartUp 2019-03-06 14:20:49 +02:00
Diamantis Tziotzios 80bd6dbbfd Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-06 12:38:06 +02:00
Diamantis Tziotzios 71a22b1152 Fixes bug Upload Dmp 2019-03-06 12:37:42 +02:00
Diamantis Tziotzios 01d66e4393 dash Quick Actions Buttons 2019-03-06 12:19:10 +02:00
Diamantis Tziotzios 391bf0bca1 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-06 12:03:14 +02:00
Diamantis Tziotzios dee23a0e8f dashboard QuickWizard Buttons 2019-03-06 12:03:02 +02:00
Diamantis Tziotzios 9eb9364683 Fixes and polishes Quick Dataset Create. 2019-03-06 11:43:48 +02:00
Diamantis Tziotzios ddf0b8c53c Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-05 18:26:22 +02:00
Diamantis Tziotzios 0d7d38278d disable QuickWizard SingleAutoComplete to change DatasetProfile if Has Datasets
And refactor create-add Page UI
2019-03-05 18:25:38 +02:00
ikalyvas 90aace8e68 Fixes bug with QuickWizard Profile name on backend model 2019-03-05 18:08:38 +02:00
ikalyvas 5ae18beb5d Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/controllers/QuickWizardController.java
#	dmp-backend/web/src/main/java/eu/eudat/logic/managers/QuickWizardManager.java
2019-03-05 17:46:18 +02:00
ikalyvas 0d16d694fa Refactors dependency injection on backend services 2019-03-05 17:33:59 +02:00
Diamantis Tziotzios 2b7d663830 QuickWizard Fix DatasetList And DefinitionProfile from Dmp Of DatasetsList 2019-03-05 14:04:08 +02:00
Diamantis Tziotzios 6ab752b99c Adds Dmp Import functionality. 2019-03-05 13:59:34 +02:00
Diamantis Tziotzios ab8022d133 QuickWizard Fix Merge Component And Fix Thi InitSteper 2019-03-05 13:21:04 +02:00
Diamantis Tziotzios edbed239db Adds Quick dataset create functionality. 2019-03-05 12:20:10 +02:00
Diamantis Tziotzios 74694c82b6 steper init On step 2019-03-01 18:18:17 +02:00
Diamantis Tziotzios ae5fce7bf3 Merge branch 'ui-refactoring' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot into ui-refactoring 2019-03-01 17:16:40 +02:00
Diamantis Tziotzios da8d929d9e quickWizard Create project
quickWizard Create Dmp
quickWizard Create Datasets
2019-03-01 17:16:21 +02:00
Diamantis Tziotzios 88f789bbb4 quick Wizard Main Component 2019-03-01 17:15:25 +02:00
Ioannis Kalyvas 3c629a9c70 Adds delete operation on UI and backend 2019-01-23 14:38:03 +02:00
Ioannis Kalyvas cd8b3448f5 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot 2018-06-28 12:39:39 +03:00
Ioannis Kalyvas c3d4cb6fdd no message 2018-06-28 12:33:43 +03:00
Ioannis Kalyvas b0ccac191f no message 2018-03-06 17:33:55 +02:00
Ioannis Kalyvas 3b1f37ef22 no message 2018-03-06 17:27:24 +02:00
Ioannis Kalyvas b8e040ee94 Merge branch 'master' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot
# Conflicts:
#	dmp-backend/src/main/java/eu/eudat/helpers/Transformers.java
2018-03-06 17:21:46 +02:00
Ioannis Kalyvas 50444a0b73 Merge branch 'Development' of https://gitlab.eudat.eu/dmp/OpenAIRE-EUDAT-DMP-service-pilot
# Conflicts:
#	dmp-backend/src/main/java/eu/eudat/helpers/Transformers.java
#	dmp-frontend/src/index.html
2018-03-06 17:02:13 +02:00
Diamantis Tziotzios 85bdb7fad1 Merge branch 'Development'
# Conflicts:
#	dmp-backend/src/main/java/eu/eudat/helpers/Transformers.java
2018-02-12 10:23:41 +02:00
annabakouli b2e49fbb8a no message 2018-01-18 12:55:35 +02:00
Diamantis Tziotzios bfc6b63067 Merge branch 'Development'
# Conflicts:
#	dmp-backend/src/main/java/rest/entities/DMPs.java
#	dmp-backend/src/main/java/rest/entities/DataRepositories.java
#	dmp-backend/src/main/java/rest/entities/DatasetProfiles.java
#	dmp-backend/src/main/java/rest/entities/Datasets.java
#	dmp-backend/src/main/java/rest/entities/DmpProfiles.java
#	dmp-backend/src/main/java/rest/entities/Organisations.java
#	dmp-backend/src/main/java/rest/entities/Projects.java
#	dmp-backend/src/main/java/rest/entities/Registries.java
#	dmp-backend/src/main/java/rest/entities/Researchers.java
#	dmp-backend/src/main/java/rest/entities/Services.java
#	dmp-backend/src/main/java/rest/entities/Users.java
#	dmp-frontend/src/app/app.component.ts
#	dmp-frontend/src/app/login/googgle-sign-in/googgle-sign-in.component.ts
#	dmp-frontend/src/assets/custom.js
#	dmp-frontend/src/index.html
2018-01-18 12:45:51 +02:00
Nikolaos Laskaris 9941c96dc2 Minor edits 2017-11-27 16:08:13 +02:00
Nikolaos Laskaris 06272c79da -- 2017-11-23 17:34:35 +02:00
Nikolaos Laskaris a00eec68d8 fixed glitches of google-sign-in component 2017-11-23 13:13:20 +02:00
2429 changed files with 271823 additions and 30839 deletions

11
.env
View File

@ -1,6 +1,5 @@
TAG=6.3.0
ENV=prod
PROFILE=production
AOT=aot
ELASTIC_VERSION=6.3.0
ELASTIC_PASSWORD=changeme
PROFILE=docker
# Version of Elastic products
ELK_VERSION=7.17.4
STACK_VERSION=7.17.4

14
.gitignore vendored
View File

@ -35,3 +35,17 @@ temp/
*.lst
dmp-frontend/.vscode/
*.docx
dmp-frontend/package-lock.json
dmp-backend/logging/target/
ELK.Docker/shared/data-elk/
# Eclipse
.project
.settings/
bin/
*.classpath
openDMP/dmp-backend/uploads/
openDMP/dmp-backend/tmp/
dmp-frontend/.angular/

View File

@ -1,3 +1,3 @@
TAG=6.3.1
ELASTIC_VERSION=6.3.1
ELASTIC_PASSWORD=changeme
ELK_VERSION=7.6.0
# Leave blank to use the "basic" image flavours, which include X-Pack.
# see https://www.elastic.co/subscriptions

2
ELK.Docker/.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf

View File

@ -1,201 +1,21 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
The MIT License (MIT)
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Copyright (c) 2015 Anthony Lapenna
1. Definitions.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,25 +1,4 @@
# stack-docker
This example Docker Compose configuration demonstrates many components of the
Elastic Stack, all running on a single machine under Docker.
Init default users and retrieve passwords
## Prerequisites
- Docker and Compose. Windows and Mac users get Compose installed automatically
with Docker. Linux users can:
```
pip install docker-compose
```
- At least 4GiB of RAM for the containers. Windows and Mac users _must_
configure their Docker virtual machine to have more than the default 2 GiB of
RAM:
![Docker VM memory settings](screenshots/docker-vm-memory-settings.png)
## Starting the stack
Try `docker-compose up` to create a demonstration Elastic Stack with
Elasticsearch, Kibana, Logstash, Auditbeat, Metricbeat, Filebeat, Packetbeat,
and Heartbeat.
Point a browser at [`http://localhost:5601`](http://localhost:5601) to see the results.
Log in with `elastic` / `changeme`.
1) connect to elasticsearch container with docker exec -it elastichsearch /bin/bash
2) run ./bin/elasticsearch-setup-passwords auto >./data/passwords.txt (press y and enter when the console shows nothing)

View File

@ -0,0 +1,87 @@
version: '2.4'
services:
elasticsearch:
user: 1002:1002 #develuser
restart: unless-stopped
mem_limit: 2048m
environment:
- cluster.name=open-dmp-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xmx1024m -Xms1024m"
- xpack.license.self_generated.type=basic
- xpack.monitoring.collection.enabled=true
- xpack.security.enabled=true
ulimits:
nproc: 65535
memlock:
soft: -1
hard: -1
volumes:
- ./shared/config-elk/elasticsearch/config/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties:ro
- ./shared/config-elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
- ./shared/data-elk/elasticsearch-01-data:/usr/share/elasticsearch/data
- ./shared/data-elk/elasticsearch-01-log:/usr/share/elasticsearch/logs
#ports:
# - 51056:9200
# - 51057:9300
ports:
- "9200:9200"
expose:
- "9300"
networks:
open-dmp-elk-network:
logstash:
# user: 1002:1002 #develuser
volumes:
- ./shared/config-elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
- ./shared/config-elk/logstash/config/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro
- ./shared/config-elk/logstash/config/log4j2.properties:/usr/share/logstash/config/log4j2.properties:ro
- ./shared/config-elk/logstash/pipeline:/usr/share/logstash/pipeline:ro
- ./shared/config-elk/logstash/logstash/templates:/usr/share/logstash/templates
- ./shared/data-elk/logstash-log:/usr/share/logstash/logs
- ./shared/data-elk/logstash-queue:/usr/share/logstash/queue
- ./shared/data-elk/logstash-dead_letter_queue:/usr/share/logstash/dead_letter_queue
expose:
- "31311"
- "31312"
restart: on-failure
mem_limit: 2048m
environment:
- LS_JAVA_OPTS=-Xmx1024m -Xms1024m
- xpack.license.self_generated.type=basic
- xpack.security.enabled=true
networks:
open-dmp-elk-network:
kibana:
# user: 1002:1002 #develuser
mem_limit: 512m
environment:
- xpack.license.self_generated.type=basic
- xpack.security.enabled=true
volumes:
- ./shared/config-elk/kibana/config:/usr/share/kibana/config:ro
#- ./shared/config-elk/kibana/certificates:/usr/share/kibana/certificates
restart: unless-stopped
ports:
- "51058:5601"
networks:
- open-dmp-elk-network
filebeat:
restart: unless-stopped
mem_limit: 256m
#command: [ "-e=false" ] # to overwrite the -e that disables logging to file!
volumes:
- ./shared/config-elk/filebeat/config/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
- ~/openDMP/logs:/usr/share/filebeat/log_data/dmp/
- ./shared/data-elk/filebeat-log:/usr/share/filebeat/logs
- ./shared/data-elk/filebeat-data:/usr/share/filebeat/data #For windows if we mount the data directory we get "Writing of registry returned error: sync /usr/share/filebeat/data/registry/filebeat: invalid argument."
networks:
- open-dmp-elk-network
networks:
open-dmp-elk-network:

View File

@ -1,171 +1,43 @@
---
version: '3'
version: '2.4'
services:
# The environment variable "TAG" is used throughout this file to
# specify the version of the images to run. The default is set in the
# '.env' file in this folder. It can be overridden with any normal
# technique for setting environment variables, for example:
#
# TAG=6.0.0-beta1 docker-compose up
#
# REF: https://docs.docker.com/compose/compose-file/#variable-substitution
#
# Also be sure to set the ELASTIC_VERSION variable. For released versions,
# ${TAG} and ${ELASTIC_VERSION} will be identical, but for pre-release
# versions, ${TAG} might contain an extra build identifier, like
# "6.0.0-beta1-3eab5b40", so a full invocation might look like:
#
# ELASTIC_VERSION=6.0.0-beta1 TAG=6.0.0-beta1-3eab5b40 docker-compose up
#
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${TAG}
image: ${DOCKER_REGISTRY}elasticsearch
container_name: elasticsearch
#volumes:
# - esdata:/usr/share/elasticsearch/data
environment: ['http.host=0.0.0.0', 'transport.host=127.0.0.1', 'ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
ports: ['0.0.0.0:9200:9200']
networks: ['stack']
build:
context: elasticsearch/
args:
ELK_VERSION: $ELK_VERSION
healthcheck:
# test: curl --cacert /usr/share/elasticsearch/config/certificates/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi
interval: 30s
timeout: 10s
retries: 5
logstash:
image: ${DOCKER_REGISTRY}logstash
container_name: logstash
build:
context: logstash/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:${TAG}
container_name: kibana
ports: ['0.0.0.0:5601:5601']
networks: ['stack']
depends_on: ['elasticsearch']
logstash:
image: docker.elastic.co/logstash/logstash:${TAG}
container_name: logstash
# Provide a simple pipeline configuration for Logstash with a bind-mounted file.
volumes:
- ./config/logstash.conf:/usr/share/logstash/pipeline/logstash.conf
ports: ['0.0.0.0:31311:31311']
networks: ['stack']
depends_on: ['elasticsearch', 'setup_logstash']
image: ${DOCKER_REGISTRY}kibana
build:
context: kibana/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- elasticsearch
filebeat:
image: docker.elastic.co/beats/filebeat:${TAG}
container_name: filebeat
command: -e -E 'output.elasticsearch.password=${ELASTIC_PASSWORD}'
# If the host system has logs at "/var/log", mount them at "/mnt/log"
# inside the container, where Filebeat can find them.
# volumes: ['/var/log:/mnt/log:ro']
networks: ['stack']
depends_on: ['elasticsearch', 'setup_filebeat']
heartbeat:
image: docker.elastic.co/beats/heartbeat:${TAG}
container_name: heartbeat
command: -e -E 'output.elasticsearch.password=${ELASTIC_PASSWORD}'
networks: ['stack']
depends_on: ['elasticsearch', 'setup_heartbeat']
# Run a short-lived container to set up Logstash.
setup_logstash:
image: centos:7
container_name: setup_logstash
volumes: ['./scripts/setup-logstash.sh:/usr/local/bin/setup-logstash.sh:ro']
# The script may have CR/LF line endings if using Docker for Windows, so
# make sure that they don't confuse Bash.
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-logstash.sh | tr -d "\r" | bash']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['elasticsearch']
setup_kibana:
image: centos:7
container_name: setup_kibana
volumes: ['./scripts/setup-kibana.sh:/usr/local/bin/setup-kibana.sh:ro']
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-kibana.sh | tr -d "\r" | bash']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['elasticsearch']
setup_filebeat:
image: docker.elastic.co/beats/filebeat:${TAG}
container_name: setup_filebeat
volumes: ['./scripts/setup-beat.sh:/usr/local/bin/setup-beat.sh:ro']
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-beat.sh | tr -d "\r" | bash -s filebeat']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['kibana']
setup_heartbeat:
image: docker.elastic.co/beats/heartbeat:${TAG}
container_name: setup_heartbeat
volumes: ['./scripts/setup-beat.sh:/usr/local/bin/setup-beat.sh:ro']
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-beat.sh | tr -d "\r" | bash -s heartbeat']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['kibana']
##########################DOCSBOX######################################################################
web:
restart: always
build: ./docsbox-master/docsbox
expose:
- "8000"
links:
- redis:redis
volumes:
- docsbox:/home/docsbox
- media:/home/docsbox/media
command: gunicorn -b :8000 docsbox:app
networks: ['stack']
rqworker:
restart: always
build: ./docsbox-master/docsbox
links:
- redis:redis
volumes:
- web
command: rq worker -c docsbox.settings
networks: ['stack']
rqscheduler:
restart: always
build: ./docsbox-master/docsbox
links:
- redis:redis
volumes:
- web
command: rqscheduler -H redis -p 6379 -d 0
networks: ['stack']
nginx:
restart: always
build: ./docsbox-master/nginx/
ports:
- "81:80"
volumes:
- web
links:
- web:web
networks: ['stack']
redis:
restart: always
image: redis:latest
expose:
- "6379"
volumes:
- redisdata:/data
networks: ['stack']
##########################SETTIGNS######################################################################
volumes:
#esdata:
#driver: local
redisdata:
driver: local
docsbox:
driver: local
media:
driver: local
networks: {stack: {}}
image: ${DOCKER_REGISTRY}filebeat
build:
context: filebeat/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- logstash

View File

@ -0,0 +1,22 @@
ARG ELK_VERSION
# https://github.com/elastic/elasticsearch-docker
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELK_VERSION}
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu && \
/usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-phonetic
RUN groupmod -g 1002 elasticsearch
RUN usermod -u 1002 -g 1002 elasticsearch
RUN chown -R elasticsearch /usr/share/elasticsearch
RUN sed -i -e 's/--userspec=1000/--userspec=1002/g' \
-e 's/UID 1000/UID 1002/' \
-e 's/chown -R 1000/chown -R 1002/' /usr/local/bin/docker-entrypoint.sh
RUN chown elasticsearch /usr/local/bin/docker-entrypoint.sh
ENV JAVA_HOME /usr/share/elasticsearch/jdk
# RUN mkdir /usr/share/elasticsearch/custom-plugins
# COPY plugins/elasticsearch-analysis-greeklish-7.5.1.zip /usr/share/elasticsearch/custom-plugins/elasticsearch-analysis-greeklish-7.5.1.zip
# RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file:///usr/share/elasticsearch/custom-plugins/elasticsearch-analysis-greeklish-7.5.1.zip

View File

@ -0,0 +1,15 @@
ARG ELK_VERSION
FROM docker.elastic.co/beats/filebeat:${ELK_VERSION}
# USER root
# RUN groupmod -g 1002 filebeat
# RUN usermod -u 1002 -g 1002 filebeat
# RUN chown -R filebeat /usr/share/filebeat
# RUN sed -i -e 's/--userspec=1000/--userspec=1002/g' \
# -e 's/UID 1000/UID 1002/' \
# -e 's/chown -R 1000/chown -R 1002/' /usr/local/bin/docker-entrypoint
# RUN chown filebeat /usr/local/bin/docker-entrypoint
# USER 1002:1002

View File

@ -0,0 +1,15 @@
ARG ELK_VERSION
# https://github.com/elastic/kibana-docker
FROM docker.elastic.co/kibana/kibana:${ELK_VERSION}
# USER root
# RUN groupmod -g 1002 kibana
# RUN usermod -g 1002 root
# RUN usermod -u 1002 -g 1002 kibana
# RUN chown -R kibana /usr/share/kibana
# USER 1002:1002
# Add your kibana plugins setup here
# Example: RUN kibana-plugin install <name|url>

View File

@ -0,0 +1,20 @@
ARG ELK_VERSION
# https://github.com/elastic/logstash-docker
FROM docker.elastic.co/logstash/logstash:${ELK_VERSION}
# USER root
# RUN groupmod -g 1002 logstash
# RUN usermod -u 1002 -g 1002 logstash
# RUN chown -R logstash /usr/share/logstash
# RUN sed -i -e 's/--userspec=1000/--userspec=1002/g' \
# -e 's/UID 1000/UID 1002/' \
# -e 's/chown -R 1000/chown -R 1002/' /usr/local/bin/docker-entrypoint
# RUN chown logstash /usr/local/bin/docker-entrypoint
# USER 1002:1002
# Add your logstash plugins setup here
# Example: RUN logstash-plugin install logstash-filter-json
RUN logstash-plugin update logstash-input-beats
RUN logstash-plugin update logstash-filter-grok

3
ELK.Docker/old/.env Normal file
View File

@ -0,0 +1,3 @@
TAG=6.3.1
ELASTIC_VERSION=6.3.1
ELASTIC_PASSWORD=changeme

201
ELK.Docker/old/LICENSE Normal file
View File

@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

25
ELK.Docker/old/README.md Normal file
View File

@ -0,0 +1,25 @@
# stack-docker
This example Docker Compose configuration demonstrates many components of the
Elastic Stack, all running on a single machine under Docker.
## Prerequisites
- Docker and Compose. Windows and Mac users get Compose installed automatically
with Docker. Linux users can:
```
pip install docker-compose
```
- At least 4GiB of RAM for the containers. Windows and Mac users _must_
configure their Docker virtual machine to have more than the default 2 GiB of
RAM:
![Docker VM memory settings](screenshots/docker-vm-memory-settings.png)
## Starting the stack
Try `docker-compose up` to create a demonstration Elastic Stack with
Elasticsearch, Kibana, Logstash, Auditbeat, Metricbeat, Filebeat, Packetbeat,
and Heartbeat.
Point a browser at [`http://localhost:5601`](http://localhost:5601) to see the results.
Log in with `elastic` / `changeme`.

View File

@ -0,0 +1,171 @@
---
version: '3'
services:
# The environment variable "TAG" is used throughout this file to
# specify the version of the images to run. The default is set in the
# '.env' file in this folder. It can be overridden with any normal
# technique for setting environment variables, for example:
#
# TAG=6.0.0-beta1 docker-compose up
#
# REF: https://docs.docker.com/compose/compose-file/#variable-substitution
#
# Also be sure to set the ELASTIC_VERSION variable. For released versions,
# ${TAG} and ${ELASTIC_VERSION} will be identical, but for pre-release
# versions, ${TAG} might contain an extra build identifier, like
# "6.0.0-beta1-3eab5b40", so a full invocation might look like:
#
# ELASTIC_VERSION=6.0.0-beta1 TAG=6.0.0-beta1-3eab5b40 docker-compose up
#
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${TAG}
container_name: elasticsearch
#volumes:
# - esdata:/usr/share/elasticsearch/data
environment: ['http.host=0.0.0.0', 'transport.host=127.0.0.1', 'ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
ports: ['0.0.0.0:9200:9200']
networks: ['stack']
kibana:
image: docker.elastic.co/kibana/kibana:${TAG}
container_name: kibana
ports: ['0.0.0.0:5601:5601']
networks: ['stack']
depends_on: ['elasticsearch']
logstash:
image: docker.elastic.co/logstash/logstash:${TAG}
container_name: logstash
# Provide a simple pipeline configuration for Logstash with a bind-mounted file.
volumes:
- ./config/logstash.conf:/usr/share/logstash/pipeline/logstash.conf
ports: ['0.0.0.0:31311:31311']
networks: ['stack']
depends_on: ['elasticsearch', 'setup_logstash']
filebeat:
image: docker.elastic.co/beats/filebeat:${TAG}
container_name: filebeat
command: -e -E 'output.elasticsearch.password=${ELASTIC_PASSWORD}'
# If the host system has logs at "/var/log", mount them at "/mnt/log"
# inside the container, where Filebeat can find them.
# volumes: ['/var/log:/mnt/log:ro']
networks: ['stack']
depends_on: ['elasticsearch', 'setup_filebeat']
heartbeat:
image: docker.elastic.co/beats/heartbeat:${TAG}
container_name: heartbeat
command: -e -E 'output.elasticsearch.password=${ELASTIC_PASSWORD}'
networks: ['stack']
depends_on: ['elasticsearch', 'setup_heartbeat']
# Run a short-lived container to set up Logstash.
setup_logstash:
image: centos:7
container_name: setup_logstash
volumes: ['./scripts/setup-logstash.sh:/usr/local/bin/setup-logstash.sh:ro']
# The script may have CR/LF line endings if using Docker for Windows, so
# make sure that they don't confuse Bash.
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-logstash.sh | tr -d "\r" | bash']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['elasticsearch']
setup_kibana:
image: centos:7
container_name: setup_kibana
volumes: ['./scripts/setup-kibana.sh:/usr/local/bin/setup-kibana.sh:ro']
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-kibana.sh | tr -d "\r" | bash']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['elasticsearch']
setup_filebeat:
image: docker.elastic.co/beats/filebeat:${TAG}
container_name: setup_filebeat
volumes: ['./scripts/setup-beat.sh:/usr/local/bin/setup-beat.sh:ro']
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-beat.sh | tr -d "\r" | bash -s filebeat']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['kibana']
setup_heartbeat:
image: docker.elastic.co/beats/heartbeat:${TAG}
container_name: setup_heartbeat
volumes: ['./scripts/setup-beat.sh:/usr/local/bin/setup-beat.sh:ro']
command: ['/bin/bash', '-c', 'cat /usr/local/bin/setup-beat.sh | tr -d "\r" | bash -s heartbeat']
environment: ['ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
networks: ['stack']
depends_on: ['kibana']
##########################DOCSBOX######################################################################
# web:
# restart: always
# build: ./docsbox-master/docsbox
# expose:
# - "8000"
# links:
# - redis:redis
# volumes:
# - docsbox:/home/docsbox
# - media:/home/docsbox/media
# command: gunicorn -b :8000 docsbox:app
# networks: ['stack']
#
# rqworker:
# restart: always
# build: ./docsbox-master/docsbox
# links:
# - redis:redis
# volumes:
# - web
# command: rq worker -c docsbox.settings
# networks: ['stack']
#
# rqscheduler:
# restart: always
# build: ./docsbox-master/docsbox
# links:
# - redis:redis
# volumes:
# - web
# command: rqscheduler -H redis -p 6379 -d 0
# networks: ['stack']
#
# nginx:
# restart: always
# build: ./docsbox-master/nginx/
# ports:
# - "81:80"
# volumes:
# - web
# links:
# - web:web
# networks: ['stack']
#
# redis:
# restart: always
# image: redis:latest
# expose:
# - "6379"
# volumes:
# - redisdata:/data
# networks: ['stack']
##########################SETTIGNS######################################################################
volumes:
#esdata:
#driver: local
redisdata:
driver: local
docsbox:
driver: local
media:
driver: local
networks: {stack: {}}

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,20 @@
---
## Default Elasticsearch configuration from elasticsearch-docker.
## from https://github.com/elastic/elasticsearch-docker/blob/master/build/elasticsearch/elasticsearch.yml
#
network.host: 0.0.0.0
# minimum_master_nodes need to be explicitly set when bound on a public IP
# set to 1 to allow single node clusters
# Details: https://github.com/elastic/elasticsearch/pull/17288
# discovery.zen.minimum_master_nodes: 1
## Use single node discovery in order to disable production mode and avoid bootstrap checks
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
#
discovery.type: single-node
## Search Guard
#
cluster.routing.allocation.disk.watermark.flood_stage: 99%

View File

@ -0,0 +1,179 @@
#https://github.com/elastic/elasticsearch/blob/7.4/distribution/src/config/log4j2.properties
status = error
# log action execution errors for easier debugging
logger.action.name = org.elasticsearch.action
logger.action.level = debug
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
######## Server JSON ############################
appender.rolling.type = RollingFile
appender.rolling.name = rolling
appender.rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_server.json
appender.rolling.layout.type = ESJsonLayout
appender.rolling.layout.type_name = server
appender.rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}-%d{yyyy-MM-dd}-%i.json.gz
appender.rolling.policies.type = Policies
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling.policies.time.interval = 1
appender.rolling.policies.time.modulate = true
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 128MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.fileIndex = nomax
appender.rolling.strategy.action.type = Delete
appender.rolling.strategy.action.basepath = ${sys:es.logs.base_path}
appender.rolling.strategy.action.condition.type = IfFileName
appender.rolling.strategy.action.condition.glob = ${sys:es.logs.cluster_name}-*
appender.rolling.strategy.action.condition.nested_condition.type = IfAccumulatedFileSize
appender.rolling.strategy.action.condition.nested_condition.exceeds = 2GB
################################################
######## Server - old style pattern ###########
appender.rolling_old.type = RollingFile
appender.rolling_old.name = rolling_old
appender.rolling_old.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}.log
appender.rolling_old.layout.type = PatternLayout
appender.rolling_old.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.rolling_old.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}-%d{yyyy-MM-dd}-%i.log.gz
appender.rolling_old.policies.type = Policies
appender.rolling_old.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling_old.policies.time.interval = 1
appender.rolling_old.policies.time.modulate = true
appender.rolling_old.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling_old.policies.size.size = 128MB
appender.rolling_old.strategy.type = DefaultRolloverStrategy
appender.rolling_old.strategy.fileIndex = nomax
appender.rolling_old.strategy.action.type = Delete
appender.rolling_old.strategy.action.basepath = ${sys:es.logs.base_path}
appender.rolling_old.strategy.action.condition.type = IfFileName
appender.rolling_old.strategy.action.condition.glob = ${sys:es.logs.cluster_name}-*
appender.rolling_old.strategy.action.condition.nested_condition.type = IfAccumulatedFileSize
appender.rolling_old.strategy.action.condition.nested_condition.exceeds = 2GB
################################################
rootLogger.level = info
rootLogger.appenderRef.console.ref = console
rootLogger.appenderRef.rolling.ref = rolling
rootLogger.appenderRef.rolling_old.ref = rolling_old
######## Deprecation JSON #######################
appender.deprecation_rolling.type = RollingFile
appender.deprecation_rolling.name = deprecation_rolling
appender.deprecation_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation.json
appender.deprecation_rolling.layout.type = ESJsonLayout
appender.deprecation_rolling.layout.type_name = deprecation
appender.deprecation_rolling.layout.esmessagefields=x-opaque-id
appender.deprecation_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation-%i.json.gz
appender.deprecation_rolling.policies.type = Policies
appender.deprecation_rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.deprecation_rolling.policies.size.size = 1GB
appender.deprecation_rolling.strategy.type = DefaultRolloverStrategy
appender.deprecation_rolling.strategy.max = 4
#################################################
######## Deprecation - old style pattern #######
appender.deprecation_rolling_old.type = RollingFile
appender.deprecation_rolling_old.name = deprecation_rolling_old
appender.deprecation_rolling_old.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation.log
appender.deprecation_rolling_old.layout.type = PatternLayout
appender.deprecation_rolling_old.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.deprecation_rolling_old.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_deprecation-%i.log.gz
appender.deprecation_rolling_old.policies.type = Policies
appender.deprecation_rolling_old.policies.size.type = SizeBasedTriggeringPolicy
appender.deprecation_rolling_old.policies.size.size = 1GB
appender.deprecation_rolling_old.strategy.type = DefaultRolloverStrategy
appender.deprecation_rolling_old.strategy.max = 4
#################################################
logger.deprecation.name = org.elasticsearch.deprecation
logger.deprecation.level = warn
logger.deprecation.appenderRef.deprecation_rolling.ref = deprecation_rolling
logger.deprecation.appenderRef.deprecation_rolling_old.ref = deprecation_rolling_old
logger.deprecation.additivity = false
######## Search slowlog JSON ####################
appender.index_search_slowlog_rolling.type = RollingFile
appender.index_search_slowlog_rolling.name = index_search_slowlog_rolling
appender.index_search_slowlog_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs\
.cluster_name}_index_search_slowlog.json
appender.index_search_slowlog_rolling.layout.type = ESJsonLayout
appender.index_search_slowlog_rolling.layout.type_name = index_search_slowlog
appender.index_search_slowlog_rolling.layout.esmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id
appender.index_search_slowlog_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs\
.cluster_name}_index_search_slowlog-%i.json.gz
appender.index_search_slowlog_rolling.policies.type = Policies
appender.index_search_slowlog_rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.index_search_slowlog_rolling.policies.size.size = 1GB
appender.index_search_slowlog_rolling.strategy.type = DefaultRolloverStrategy
appender.index_search_slowlog_rolling.strategy.max = 4
#################################################
######## Search slowlog - old style pattern ####
appender.index_search_slowlog_rolling_old.type = RollingFile
appender.index_search_slowlog_rolling_old.name = index_search_slowlog_rolling_old
appender.index_search_slowlog_rolling_old.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_index_search_slowlog.log
appender.index_search_slowlog_rolling_old.layout.type = PatternLayout
appender.index_search_slowlog_rolling_old.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.index_search_slowlog_rolling_old.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_index_search_slowlog-%i.log.gz
appender.index_search_slowlog_rolling_old.policies.type = Policies
appender.index_search_slowlog_rolling_old.policies.size.type = SizeBasedTriggeringPolicy
appender.index_search_slowlog_rolling_old.policies.size.size = 1GB
appender.index_search_slowlog_rolling_old.strategy.type = DefaultRolloverStrategy
appender.index_search_slowlog_rolling_old.strategy.max = 4
#################################################
logger.index_search_slowlog_rolling.name = index.search.slowlog
logger.index_search_slowlog_rolling.level = trace
logger.index_search_slowlog_rolling.appenderRef.index_search_slowlog_rolling.ref = index_search_slowlog_rolling
logger.index_search_slowlog_rolling.appenderRef.index_search_slowlog_rolling_old.ref = index_search_slowlog_rolling_old
logger.index_search_slowlog_rolling.additivity = false
######## Indexing slowlog JSON ##################
appender.index_indexing_slowlog_rolling.type = RollingFile
appender.index_indexing_slowlog_rolling.name = index_indexing_slowlog_rolling
appender.index_indexing_slowlog_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_index_indexing_slowlog.json
appender.index_indexing_slowlog_rolling.layout.type = ESJsonLayout
appender.index_indexing_slowlog_rolling.layout.type_name = index_indexing_slowlog
appender.index_indexing_slowlog_rolling.layout.esmessagefields=message,took,took_millis,doc_type,id,routing,source
appender.index_indexing_slowlog_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_index_indexing_slowlog-%i.json.gz
appender.index_indexing_slowlog_rolling.policies.type = Policies
appender.index_indexing_slowlog_rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.index_indexing_slowlog_rolling.policies.size.size = 1GB
appender.index_indexing_slowlog_rolling.strategy.type = DefaultRolloverStrategy
appender.index_indexing_slowlog_rolling.strategy.max = 4
#################################################
######## Indexing slowlog - old style pattern ##
appender.index_indexing_slowlog_rolling_old.type = RollingFile
appender.index_indexing_slowlog_rolling_old.name = index_indexing_slowlog_rolling_old
appender.index_indexing_slowlog_rolling_old.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_index_indexing_slowlog.log
appender.index_indexing_slowlog_rolling_old.layout.type = PatternLayout
appender.index_indexing_slowlog_rolling_old.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.index_indexing_slowlog_rolling_old.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_index_indexing_slowlog-%i.log.gz
appender.index_indexing_slowlog_rolling_old.policies.type = Policies
appender.index_indexing_slowlog_rolling_old.policies.size.type = SizeBasedTriggeringPolicy
appender.index_indexing_slowlog_rolling_old.policies.size.size = 1GB
appender.index_indexing_slowlog_rolling_old.strategy.type = DefaultRolloverStrategy
appender.index_indexing_slowlog_rolling_old.strategy.max = 4
#################################################
logger.index_indexing_slowlog.name = index.indexing.slowlog.index
logger.index_indexing_slowlog.level = trace
logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling.ref = index_indexing_slowlog_rolling
logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling_old.ref = index_indexing_slowlog_rolling_old
logger.index_indexing_slowlog.additivity = false

View File

@ -0,0 +1,16 @@
#filebeat.registry_file: /usr/share/filebeat/registry
filebeat.inputs:
- type: log
paths:
- /usr/share/filebeat/log_data/dmp/openDMP*.log
tags: ["audit"]
enabled: true
reload.enabled: true
reload.period: 10s
multiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
multiline.negate: true
multiline.match: after
output.logstash:
hosts: ["logstash:31312"]
bulk_max_size: 128

View File

@ -0,0 +1,17 @@
---
## Default Kibana configuration from kibana-docker.
## from https://github.com/elastic/kibana-docker/blob/master/build/kibana/config/kibana.yml
#
server.name: kibana
server.host: "0"
## Custom configuration
#
#server.basePath: "/eformslogs"
elasticsearch.hosts: [ "http://elasticsearch:9200" ]
#elasticsearch.ssl.certificateAuthorities: [ "/usr/share/kibana/certificate_authorities/ca.crt" ]
elasticsearch.username: "kibana"
elasticsearch.password: ""
server.ssl.enabled: false
#server.ssl.key: "/usr/share/kibana/certificates/kibana.key"
#server.ssl.certificate: "/usr/share/kibana/certificates/kibana.crt"

View File

@ -0,0 +1,103 @@
#https://github.com/elastic/logstash/blob/7.4/config/log4j2.properties
status = error
name = LogstashPropertiesConfig
appender.console.type = Console
appender.console.name = plain_console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c]%notEmpty{[%X{pipeline.id}]} %m%n
appender.json_console.type = Console
appender.json_console.name = json_console
appender.json_console.layout.type = JSONLayout
appender.json_console.layout.compact = true
appender.json_console.layout.eventEol = true
appender.rolling.type = RollingFile
appender.rolling.name = plain_rolling
appender.rolling.fileName = ${sys:ls.logs}/logstash-${sys:ls.log.format}.log
appender.rolling.filePattern = ${sys:ls.logs}/logstash-${sys:ls.log.format}-%d{yyyy-MM-dd}-%i.log.gz
appender.rolling.policies.type = Policies
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling.policies.time.interval = 1
appender.rolling.policies.time.modulate = true
appender.rolling.layout.type = PatternLayout
appender.rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c]%notEmpty{[%X{pipeline.id}]} %m%n
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 100MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 30
appender.json_rolling.type = RollingFile
appender.json_rolling.name = json_rolling
appender.json_rolling.fileName = ${sys:ls.logs}/logstash-${sys:ls.log.format}.log
appender.json_rolling.filePattern = ${sys:ls.logs}/logstash-${sys:ls.log.format}-%d{yyyy-MM-dd}-%i.log.gz
appender.json_rolling.policies.type = Policies
appender.json_rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.json_rolling.policies.time.interval = 1
appender.json_rolling.policies.time.modulate = true
appender.json_rolling.layout.type = JSONLayout
appender.json_rolling.layout.compact = true
appender.json_rolling.layout.eventEol = true
appender.json_rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.json_rolling.policies.size.size = 100MB
appender.json_rolling.strategy.type = DefaultRolloverStrategy
appender.json_rolling.strategy.max = 30
rootLogger.level = ${sys:ls.log.level}
rootLogger.appenderRef.console.ref = ${sys:ls.log.format}_console
rootLogger.appenderRef.rolling.ref = ${sys:ls.log.format}_rolling
# Slowlog
appender.console_slowlog.type = Console
appender.console_slowlog.name = plain_console_slowlog
appender.console_slowlog.layout.type = PatternLayout
appender.console_slowlog.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %m%n
appender.json_console_slowlog.type = Console
appender.json_console_slowlog.name = json_console_slowlog
appender.json_console_slowlog.layout.type = JSONLayout
appender.json_console_slowlog.layout.compact = true
appender.json_console_slowlog.layout.eventEol = true
appender.rolling_slowlog.type = RollingFile
appender.rolling_slowlog.name = plain_rolling_slowlog
appender.rolling_slowlog.fileName = ${sys:ls.logs}/logstash-slowlog-${sys:ls.log.format}.log
appender.rolling_slowlog.filePattern = ${sys:ls.logs}/logstash-slowlog-${sys:ls.log.format}-%d{yyyy-MM-dd}-%i.log.gz
appender.rolling_slowlog.policies.type = Policies
appender.rolling_slowlog.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling_slowlog.policies.time.interval = 1
appender.rolling_slowlog.policies.time.modulate = true
appender.rolling_slowlog.layout.type = PatternLayout
appender.rolling_slowlog.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %m%n
appender.rolling_slowlog.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling_slowlog.policies.size.size = 100MB
appender.rolling_slowlog.strategy.type = DefaultRolloverStrategy
appender.rolling_slowlog.strategy.max = 30
appender.json_rolling_slowlog.type = RollingFile
appender.json_rolling_slowlog.name = json_rolling_slowlog
appender.json_rolling_slowlog.fileName = ${sys:ls.logs}/logstash-slowlog-${sys:ls.log.format}.log
appender.json_rolling_slowlog.filePattern = ${sys:ls.logs}/logstash-slowlog-${sys:ls.log.format}-%d{yyyy-MM-dd}-%i.log.gz
appender.json_rolling_slowlog.policies.type = Policies
appender.json_rolling_slowlog.policies.time.type = TimeBasedTriggeringPolicy
appender.json_rolling_slowlog.policies.time.interval = 1
appender.json_rolling_slowlog.policies.time.modulate = true
appender.json_rolling_slowlog.layout.type = JSONLayout
appender.json_rolling_slowlog.layout.compact = true
appender.json_rolling_slowlog.layout.eventEol = true
appender.json_rolling_slowlog.policies.size.type = SizeBasedTriggeringPolicy
appender.json_rolling_slowlog.policies.size.size = 100MB
appender.json_rolling_slowlog.strategy.type = DefaultRolloverStrategy
appender.json_rolling_slowlog.strategy.max = 30
logger.slowlog.name = slowlog
logger.slowlog.level = trace
logger.slowlog.appenderRef.console_slowlog.ref = ${sys:ls.log.format}_console_slowlog
logger.slowlog.appenderRef.rolling_slowlog.ref = ${sys:ls.log.format}_rolling_slowlog
logger.slowlog.additivity = false
logger.licensereader.name = logstash.licensechecker.licensereader
logger.licensereader.level = error

View File

@ -0,0 +1,10 @@
---
## Default Logstash configuration from logstash-docker.
## from https://github.com/elastic/logstash-docker/blob/master/build/logstash/config/logstash-oss.yml
#
http.host: "0.0.0.0"
config.reload.automatic: true
config.reload.interval: 300s
path.queue: /usr/share/logstash/queue
path.dead_letter_queue: /usr/share/logstash/dead_letter_queue
xpack.monitoring.elasticsearch.password:

View File

@ -0,0 +1,18 @@
- pipeline.id: open_dmp_beats
queue.type: persisted
queue.max_bytes: 50mb
dead_letter_queue.enable: true
path.config: "/usr/share/logstash/pipeline/open_dmp_beats.conf"
queue.checkpoint.writes: 32
- pipeline.id: open_dmp_main
queue.type: persisted
queue.max_bytes: 50mb
dead_letter_queue.enable: true
path.config: "/usr/share/logstash/pipeline/open_dmp_main.conf"
queue.checkpoint.writes: 32
- pipeline.id: open_dmp_send_to_elastic
queue.type: persisted
queue.max_bytes: 50mb
dead_letter_queue.enable: true
path.config: "/usr/share/logstash/pipeline/open_dmp_send_to_elastic.conf"
queue.checkpoint.writes: 32

View File

@ -0,0 +1,14 @@
input {
beats {
port => 31312
ssl => false
client_inactivity_timeout => 3000
}
}
filter {
}
output {
pipeline { send_to => open_dmp_main }
}

View File

@ -0,0 +1,19 @@
input {
pipeline { address => open_dmp_main }
}
filter {
grok {
match => { "message" => "(?<timestamp>%{DATE} %{TIME})%{SPACE}%{LOGLEVEL:level} %{NUMBER:pid} --- \[%{DATA:thread}\] %{DATA:class}%{SPACE}: %{GREEDYDATA:logmessage}" }
}
if "_grokparsefailure" not in [tags] {
mutate
{
remove_field => [ "message" ]
}
}
}
output {
pipeline { send_to => open_dmp_send_to_elastic }
}

View File

@ -0,0 +1,19 @@
input {
pipeline { address => open_dmp_send_to_elastic }
}
filter {
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
user => elastic
password =>
index =>"opendmp.logs"
#manage_template => true
#template => "/usr/share/logstash/templates/audit/openDMP.json"
#template_name => "cite.elas.openDMP-audit*"
#template_overwrite => true
}
}

66
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,66 @@
def pipelineContext = [:]
pipeline {
agent any
options {
skipDefaultCheckout(true)
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Build API') {
steps {
script {
pipelineContext.apiImage = docker.build("open-dmp-api:${env.BUILD_ID}", "-f dmp-backend/Dockerfile.CI dmp-backend/")
}
}
}
stage('Build WebApp') {
steps {
script {
pipelineContext.webappImage = docker.build("open-dmp-webapp:${env.BUILD_ID}", "-f dmp-frontend/Dockerfile.CI dmp-frontend/")
}
}
}
//stage('SonarQube analysis') {
// steps {
// script {
// def scannerHome = tool 'SonarQube Scanner 4.3';
// withSonarQubeEnv('SonarQube') { // If you have configured more than one global server connection, you can specify its name
// sh "${scannerHome}/bin/sonar-scanner"
// }
// }
// }
//}
//// waiting for sonar results based into the configured web hook in Sonar server which push the status back to jenkins
//stage('SonarQube scan result check') {
// steps {
// timeout(time: 2, unit: 'MINUTES') {
// retry(3) {
// script {
// def qg = waitForQualityGate()
// if (qg.status != 'OK') {
// error "Pipeline aborted due to quality gate failure: ${qg.status}"
// }
// }
// }
// }
// }
//}
stage('Pushing to Docker Registry') {
steps {
script {
docker.withRegistry('http://drepo.local.cite.gr', 'b2c651c1-9a3b-4a98-a6da-e1dd7a20f512') {
pipelineContext.apiImage.push()
pipelineContext.webappImage.push()
}
}
}
}
}
}

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019-2020 OpenAIRE AMKE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

69
README.md Normal file
View File

@ -0,0 +1,69 @@
**Important note: The deployment, troubleshooting, maintenance and operation of on-premises / self-served OpenDMP instances for development, testing or production use, shall be the sole responsibility of the adopter. No support is guaranteed by OpenDMP implentation team for issues that may be encountered during deployment, extension or operation of such installations.**
**Documentation is provided on a best-effort basis for the code and processes around the development, deployment and operation of OpenDMP. If you find any misalignment of the actual processes with the related documentation, please let us know so that the misalignment is addressed for the benefit of future adopters.**
# Using Docker Compose with Argos
ARGOS is an open extensible service that simplifies the management, validation, monitoring and maintenance and of Data Management Plans. It allows actors (researchers, managers, supervisors etc) to create actionable DMPs that may be freely exchanged among infrastructures for carrying out specific aspects of the Data management process in accordance with the intentions and commitment of Data owners.
## Before running the docker compose commands, configurations must be set
### Database
First of all, database must be configured
The only file that has to be changed is **/dmp-db-scema/Docker/dmp-db.env**
```bash
ADMIN_USER: Admin username (app)
ADMIN_PASSWORD: Admin password (app)
POSTGRES_DB: database name
POSTGRES_USER: Admin username (database)
POSTGRES_PASSWORD: Admin password (database)
```
### Backend
Secondly, a few more options should be asigned
The file **/dmp-backend/web/src/main/resources/config/application-docker.properties** contains all the necessary properties
Values to be modified:
```bash
database.url: the url that is used to connect to database (JDBC based)
database.username: database admin username
database.password: database admin password
elasticsearch.*(optional): setup elastic, check Elasticsearch(optional) section below
google.login.clientId(optional): google as login provider
```
**NOTE:** if you want to configure and integrate other providers, check this reference [Setup configurable login](https://code-repo.d4science.org/MaDgiK-CITE/argos/wiki/Page-2A:-Setup-configurable-login)
If you provide google.login.clientId, then the same value should be set in the field named **loginProviders.googleConfiguration.clientId** which belongs to **/dmp-frontend/src/assets/config/config.json**
## You are ready to build and run the entire application using Docker-compose
1. Go to the project's root directory
2. Type in the **Terminal** `docker volume create --name=dmpdata`
3. Type in the **Terminal** `docker-compose up -d --build`
4. After it's complete your application is running on [http://localhost:8080](http://localhost:8080)
### Elasticsearch(optional)
If you want to set up elasticsearch, you will need the password for the **elastic** user
After your application is running, type in the **Terminal** `docker exec -it elasticsearch /bin/sh`
Run the command `cat data/passwords.txt` in the shell and save its output
Finally, run `exit` to get back to your terminal
The elastic's password that you get has to be set in the **elasticsearch.password** property in the backend configuration
Rerun the application
1. Type in the **Terminal** `docker-compose down`
2. Type in the **Terminal** `docker-compose up -d --build`

View File

@ -0,0 +1 @@
PROFILE=docker

View File

@ -1,11 +1,23 @@
FROM openjdk:8-jdk-alpine
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*
VOLUME /tmp
ARG PROFILE=production
ENV PROF $PROFILE
ADD web/src/main/resources/ProjectConfiguration.xml /tmp/ProjectConfiguration.xml
ADD web/src/main/resources/ExternalUrls.xml /tmp/ExternalUrls.xml
ADD web/target/web-1.0-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom" ,"-Dspring.profiles.active=${PROF}","-jar","/app.jar"]
FROM maven:3-jdk-11 AS MAVEN_BUILD
COPY pom.xml /build/
COPY data /build/data/
COPY elastic /build/elastic/
#COPY logging /build/logging/
COPY queryable /build/queryable/
COPY web /build/web/
WORKDIR /build/
RUN mvn package -q
FROM amazoncorretto:11
WORKDIR /app
COPY --from=MAVEN_BUILD /build/web/target/web-1.0-SNAPSHOT.jar /app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom" ,"-Dspring.profiles.active=${PROFILE}","-jar","/app.jar"]

15
dmp-backend/Dockerfile.CI Normal file
View File

@ -0,0 +1,15 @@
FROM maven:3-openjdk-11 AS MAVEN_BUILD
COPY pom.xml /build/
COPY data /build/data/
COPY elastic /build/elastic/
COPY queryable /build/queryable/
COPY web /build/web/
WORKDIR /build/
RUN mvn package
FROM adoptopenjdk/openjdk11:alpine-jre
WORKDIR /app
COPY --from=MAVEN_BUILD /build/web/target/web-1.0-SNAPSHOT.jar /app/app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-Dspring.profiles.active=${PROF}", "-Dspring.config.additional-location=/files/config/", "-cp", "/app/app.jar", "-Dloader.path=/files/repo-jars", "org.springframework.boot.loader.PropertiesLauncher"]

View File

@ -4,7 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>eu.eudat</groupId>
<artifactId>data</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
@ -26,5 +25,10 @@
<artifactId>elastic</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.20</version>
</dependency>
</dependencies>
</project>

View File

@ -1,5 +1,7 @@
package eu.eudat.data.converters;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.format.datetime.DateFormatter;
import javax.persistence.AttributeConverter;
@ -15,6 +17,7 @@ import java.util.TimeZone;
*/
@Converter
public class DateToUTCConverter implements AttributeConverter<Date, Date> {
private static final Logger logger = LoggerFactory.getLogger(DateToUTCConverter.class);
@Override
public Date convertToDatabaseColumn(Date attribute) {
@ -25,7 +28,7 @@ public class DateToUTCConverter implements AttributeConverter<Date, Date> {
String date = formatterIST.format(attribute);
return formatterIST.parse(date);
} catch (ParseException e) {
e.printStackTrace();
logger.error(e.getMessage(), e);
}
return null;
}
@ -39,7 +42,7 @@ public class DateToUTCConverter implements AttributeConverter<Date, Date> {
String date = formatterIST.format(dbData);
return formatterIST.parse(date);
} catch (ParseException e) {
e.printStackTrace();
logger.error(e.getMessage(), e);
}
return null;
}

View File

@ -1,9 +1,9 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.queryable.queryableentity.DataEntity;
import io.swagger.annotations.ApiModelProperty;
public abstract class Criteria<T> {
@ApiModelProperty(value = "like", name = "like", dataType = "String", allowEmptyValue = true, example = "\"\"")
private String like;
public String getLike() {

View File

@ -0,0 +1,16 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.DMPProfile;
public class DataManagementPlanBlueprintCriteria extends Criteria<DMPProfile> {
private Integer status;
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
}

View File

@ -1,7 +1,8 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.DMP;
import eu.eudat.data.entities.Project;
import eu.eudat.data.entities.DMPProfile;
import eu.eudat.data.entities.Grant;
import java.util.Date;
import java.util.List;
@ -10,39 +11,23 @@ import java.util.UUID;
public class DataManagementPlanCriteria extends Criteria<DMP> {
private Date periodStart;
private Date periodEnd;
private DMPProfile profile;
private List<eu.eudat.data.entities.Grant> grants;
private boolean allVersions;
private List<UUID> groupIds;
private List<eu.eudat.data.entities.Project> projects;
public boolean getAllVersions() {
return allVersions;
}
public void setAllVersions(boolean allVersions) {
this.allVersions = allVersions;
}
public List<UUID> getGroupIds() {
return groupIds;
}
public void setGroupIds(List<UUID> groupIds) {
this.groupIds = groupIds;
}
private Integer status;
private List<String> organisations;
private Integer role;
private List<UUID> collaborators;
private List<UUID> datasetTemplates;
private boolean isPublic;
private boolean onlyPublic;
private Short grantStatus;
private boolean hasDoi;
public Date getPeriodStart() {
return periodStart;
}
public List<Project> getProjects() {
return projects;
}
public void setProjects(List<Project> projects) {
this.projects = projects;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
@ -50,9 +35,101 @@ public class DataManagementPlanCriteria extends Criteria<DMP> {
public Date getPeriodEnd() {
return periodEnd;
}
public void setPeriodEnd(Date periodEnd) {
this.periodEnd = periodEnd;
}
public DMPProfile getProfile() {
return profile;
}
public void setProfile(DMPProfile profile) {
this.profile = profile;
}
public List<Grant> getGrants() {
return grants;
}
public void setGrants(List<Grant> grants) {
this.grants = grants;
}
public boolean getAllVersions() {
return allVersions;
}
public void setAllVersions(boolean allVersions) {
this.allVersions = allVersions;
}
public List<UUID> getGroupIds() {
return groupIds;
}
public void setGroupIds(List<UUID> groupIds) {
this.groupIds = groupIds;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public List<String> getOrganisations() {
return organisations;
}
public void setOrganisations(List<String> organisations) {
this.organisations = organisations;
}
public Integer getRole() {
return role;
}
public void setRole(Integer role) {
this.role = role;
}
public List<UUID> getCollaborators() {
return collaborators;
}
public void setCollaborators(List<UUID> collaborators) {
this.collaborators = collaborators;
}
public List<UUID> getDatasetTemplates() {
return datasetTemplates;
}
public void setDatasetTemplates(List<UUID> datasetTemplates) {
this.datasetTemplates = datasetTemplates;
}
public boolean getIsPublic() {
return isPublic;
}
public void setIsPublic(boolean isPublic) {
this.isPublic = isPublic;
}
public boolean isOnlyPublic() {
return onlyPublic;
}
public void setOnlyPublic(boolean onlyPublic) {
this.onlyPublic = onlyPublic;
}
public Short getGrantStatus() {
return grantStatus;
}
public void setGrantStatus(Short grantStatus) {
this.grantStatus = grantStatus;
}
public boolean hasDoi() {
return hasDoi;
}
public void setHasDoi(boolean hasDoi) {
this.hasDoi = hasDoi;
}
}

View File

@ -0,0 +1,66 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.DMP;
import eu.eudat.types.grant.GrantStateType;
import java.util.List;
import java.util.UUID;
public class DataManagementPlanPublicCriteria extends Criteria<DMP> {
private GrantStateType grantStatus;
private List<UUID> grants;
public List<UUID> datasetProfile;
private List<String> dmpOrganisations;
private Integer role;
private boolean allVersions;
private List<UUID> groupIds;
public GrantStateType getGrantStatus() {
return grantStatus;
}
public void setGrantStatus(GrantStateType grantStatus) {
this.grantStatus = grantStatus;
}
public List<UUID> getGrants() {
return grants;
}
public void setGrants(List<UUID> grants) {
this.grants = grants;
}
public List<UUID> getDatasetProfile() {
return datasetProfile;
}
public void setDatasetProfile(List<UUID> datasetProfile) {
this.datasetProfile = datasetProfile;
}
public List<String> getDmpOrganisations() {
return dmpOrganisations;
}
public void setDmpOrganisations(List<String> dmpOrganisations) {
this.dmpOrganisations = dmpOrganisations;
}
public Integer getRole() {
return role;
}
public void setRole(Integer role) {
this.role = role;
}
public boolean getAllVersions() {
return allVersions;
}
public void setAllVersions(boolean allVersions) {
this.allVersions = allVersions;
}
public List<UUID> getGroupIds() {
return groupIds;
}
public void setGroupIds(List<UUID> groupIds) {
this.groupIds = groupIds;
}
}

View File

@ -2,6 +2,16 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.DataRepository;
import java.util.UUID;
public class DataRepositoryCriteria extends Criteria<DataRepository> {
private UUID creationUserId;
public UUID getCreationUserId() {
return creationUserId;
}
public void setCreationUserId(UUID creationUserId) {
this.creationUserId = creationUserId;
}
}

View File

@ -2,6 +2,7 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Dataset;
import eu.eudat.elastic.entities.Tag;
import eu.eudat.types.grant.GrantStateType;
import java.util.Date;
import java.util.List;
@ -16,12 +17,19 @@ public class DatasetCriteria extends Criteria<Dataset> {
private List<Tag> tags;
private boolean allVersions;
private UUID profileDatasetId;
private List<String> organisations;
private Integer role;
private List<UUID> grants;
private List<UUID> collaborators;
private List<UUID> datasetTemplates;
private List<UUID> groupIds;
private Boolean isPublic;
private Short grantStatus;
private boolean hasDoi;
public boolean getAllVersions() {
return allVersions;
}
public void setAllVersions(boolean allVersions) {
this.allVersions = allVersions;
}
@ -29,7 +37,6 @@ public class DatasetCriteria extends Criteria<Dataset> {
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
@ -37,7 +44,6 @@ public class DatasetCriteria extends Criteria<Dataset> {
public Date getPeriodStart() {
return periodStart;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
@ -45,7 +51,6 @@ public class DatasetCriteria extends Criteria<Dataset> {
public Date getPeriodEnd() {
return periodEnd;
}
public void setPeriodEnd(Date periodEnd) {
this.periodEnd = periodEnd;
}
@ -53,7 +58,6 @@ public class DatasetCriteria extends Criteria<Dataset> {
public List<UUID> getDmpIds() {
return dmpIds;
}
public void setDmpIds(List<UUID> dmpIds) {
this.dmpIds = dmpIds;
}
@ -61,7 +65,6 @@ public class DatasetCriteria extends Criteria<Dataset> {
public List<Tag> getTags() {
return tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
@ -69,8 +72,73 @@ public class DatasetCriteria extends Criteria<Dataset> {
public UUID getProfileDatasetId() {
return profileDatasetId;
}
public void setProfileDatasetId(UUID profileDatasetId) {
this.profileDatasetId = profileDatasetId;
}
public List<String> getOrganisations() {
return organisations;
}
public void setOrganisations(List<String> organisations) {
this.organisations = organisations;
}
public Integer getRole() {
return role;
}
public void setRole(Integer role) {
this.role = role;
}
public List<UUID> getGrants() {
return grants;
}
public void setGrants(List<UUID> grants) {
this.grants = grants;
}
public List<UUID> getCollaborators() {
return collaborators;
}
public void setCollaborators(List<UUID> collaborators) {
this.collaborators = collaborators;
}
public List<UUID> getDatasetTemplates() {
return datasetTemplates;
}
public void setDatasetTemplates(List<UUID> datasetTemplates) {
this.datasetTemplates = datasetTemplates;
}
public List<UUID> getGroupIds() {
return groupIds;
}
public void setGroupIds(List<UUID> groupIds) {
this.groupIds = groupIds;
}
public Boolean getIsPublic() {
return isPublic;
}
public void setIsPublic(Boolean isPublic) {
this.isPublic = isPublic;
}
public Short getGrantStatus() {
return grantStatus;
}
public void setGrantStatus(Short grantStatus) {
this.grantStatus = grantStatus;
}
public boolean hasDoi() {
return hasDoi;
}
public void setHasDoi(boolean hasDoi) {
this.hasDoi = hasDoi;
}
}

View File

@ -1,7 +1,101 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.data.entities.DescriptionTemplate;
public class DatasetProfileCriteria extends Criteria<DatasetProfile> {
import java.util.Date;
import java.util.List;
import java.util.UUID;
public class DatasetProfileCriteria extends Criteria<DescriptionTemplate> {
public enum DatasetProfileFilter {
DMPs((short) 0), Datasets((short) 1);
private short value;
private DatasetProfileFilter(short value) {
this.value = value;
}
public short getValue() { return value; }
public static DatasetProfileFilter fromInteger(short value) {
switch (value) {
case 0:
return DMPs;
case 1:
return Datasets;
default:
throw new RuntimeException("Unsupported DescriptionTemplate filter");
}
}
}
private boolean allVersions;
private List<UUID> groupIds;
private Short filter;
private UUID userId;
private boolean finalized;
private Integer status;
private Integer role;
private List<UUID> ids;
private Date periodStart;
public boolean getAllVersions() { return allVersions; }
public void setAllVersions(boolean allVersions) { this.allVersions = allVersions; }
public List<UUID> getGroupIds() { return groupIds; }
public void setGroupIds(List<UUID> groupIds) { this.groupIds = groupIds; }
public Short getFilter() {
return filter;
}
public void setFilter(Short filter) {
this.filter = filter;
}
public UUID getUserId() {
return userId;
}
public void setUserId(UUID userId) {
this.userId = userId;
}
public boolean getFinalized() {
return finalized;
}
public void setFinalized(boolean finalized) {
this.finalized = finalized;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getRole() {
return role;
}
public void setRole(Integer role) {
this.role = role;
}
public List<UUID> getIds() {
return ids;
}
public void setIds(List<UUID> ids) {
this.ids = ids;
}
public Date getPeriodStart() {
return periodStart;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
}

View File

@ -1,11 +1,11 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.data.entities.DescriptionTemplate;
import java.util.UUID;
public class DatasetProfileWizardCriteria extends Criteria<DatasetProfile> {
public class DatasetProfileWizardCriteria extends Criteria<DescriptionTemplate> {
private UUID id;
public UUID getId() {

View File

@ -2,7 +2,7 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Dataset;
import eu.eudat.elastic.entities.Tag;
import eu.eudat.types.project.ProjectStateType;
import eu.eudat.types.grant.GrantStateType;
import java.util.List;
import java.util.UUID;
@ -11,32 +11,31 @@ import java.util.UUID;
* Created by ikalyvas on 10/2/2018.
*/
public class DatasetPublicCriteria extends Criteria<Dataset>{
public ProjectStateType projectStatus;
public List<UUID> projects;
public List<UUID> datasetProfile;
public List<String> dmpOrganisations;
public List<Tag> tags;
private GrantStateType grantStatus;
private List<UUID> grants;
private List<UUID> datasetProfile;
private List<String> dmpOrganisations;
private List<Tag> tags;
private List<UUID> dmpIds;
private Integer role;
public ProjectStateType getProjectStatus() {
return projectStatus;
public GrantStateType getGrantStatus() {
return grantStatus;
}
public void setGrantStatus(GrantStateType grantStatus) {
this.grantStatus = grantStatus;
}
public void setProjectStatus(ProjectStateType projectStatus) {
this.projectStatus = projectStatus;
public List<UUID> getGrants() {
return grants;
}
public List<UUID> getProjects() {
return projects;
}
public void setProjects(List<UUID> projects) {
this.projects = projects;
public void setGrants(List<UUID> grants) {
this.grants = grants;
}
public List<UUID> getDatasetProfile() {
return datasetProfile;
}
public void setDatasetProfile(List<UUID> datasetProfile) {
this.datasetProfile = datasetProfile;
}
@ -44,7 +43,6 @@ public class DatasetPublicCriteria extends Criteria<Dataset>{
public List<String> getDmpOrganisations() {
return dmpOrganisations;
}
public void setDmpOrganisations(List<String> dmpOrganisations) {
this.dmpOrganisations = dmpOrganisations;
}
@ -52,8 +50,21 @@ public class DatasetPublicCriteria extends Criteria<Dataset>{
public List<Tag> getTags() {
return tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<UUID> getDmpIds() {
return dmpIds;
}
public void setDmpIds(List<UUID> dmpIds) {
this.dmpIds = dmpIds;
}
public Integer getRole() {
return role;
}
public void setRole(Integer role) {
this.role = role;
}
}

View File

@ -0,0 +1,6 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.EmailConfirmation;
public class EmailConfirmationCriteria extends Criteria<EmailConfirmation>{
}

View File

@ -1,7 +1,15 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.ExternalDataset;
import java.util.UUID;
public class ExternalDatasetCriteria extends Criteria<ExternalDataset> {
private UUID creationUserId;
public UUID getCreationUserId() {
return creationUserId;
}
public void setCreationUserId(UUID creationUserId) {
this.creationUserId = creationUserId;
}
}

View File

@ -0,0 +1,34 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Funder;
import java.util.Date;
public class FunderCriteria extends Criteria<Funder> {
private String reference;
private String exactReference;
private Date periodStart;
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public String getExactReference() {
return exactReference;
}
public void setExactReference(String exactReference) {
this.exactReference = exactReference;
}
public Date getPeriodStart() {
return periodStart;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
}

View File

@ -0,0 +1,83 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Grant;
import eu.eudat.types.grant.GrantStateType;
import java.util.Date;
public class GrantCriteria extends Criteria<Grant> {
private Date periodStart;
private Date periodEnd;
private String reference;
private Integer grantStateType;
private boolean isPublic;
private String funderId;
private String funderReference;
private String exactReference;
private boolean isActive;
public Date getPeriodStart() {
return periodStart;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
public Date getPeriodEnd() {
return periodEnd;
}
public void setPeriodEnd(Date periodEnd) {
this.periodEnd = periodEnd;
}
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public Integer getGrantStateType() {
return grantStateType;
}
public void setGrantStateType(Integer grantStateType) {
this.grantStateType = grantStateType;
}
public boolean isPublic() {
return isPublic;
}
public void setPublic(boolean aPublic) {
isPublic = aPublic;
}
public String getFunderId() {
return funderId;
}
public void setFunderId(String funderId) {
this.funderId = funderId;
}
public String getFunderReference() {
return funderReference;
}
public void setFunderReference(String funderReference) {
this.funderReference = funderReference;
}
public String getExactReference() {
return exactReference;
}
public void setExactReference(String exactReference) {
this.exactReference = exactReference;
}
public boolean isActive() {
return isActive;
}
public void setActive(boolean active) {
isActive = active;
}
}

View File

@ -0,0 +1,38 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Lock;
import eu.eudat.data.entities.UserInfo;
import java.util.Date;
import java.util.UUID;
public class LockCriteria extends Criteria<Lock> {
private UUID target;
private UserInfo lockedBy;
private Date touchedAt;
public UUID getTarget() {
return target;
}
public void setTarget(UUID target) {
this.target = target;
}
public UserInfo getLockedBy() {
return lockedBy;
}
public void setLockedBy(UserInfo lockedBy) {
this.lockedBy = lockedBy;
}
public Date getTouchedAt() {
return touchedAt;
}
public void setTouchedAt(Date touchedAt) {
this.touchedAt = touchedAt;
}
}

View File

@ -0,0 +1,26 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.enumeration.notification.ActiveStatus;
import eu.eudat.data.enumeration.notification.NotifyState;
public class NotificationCriteria {
private ActiveStatus isActive;
private NotifyState notifyState;
public ActiveStatus getIsActive() {
return isActive;
}
public void setIsActive(ActiveStatus isActive) {
this.isActive = isActive;
}
public NotifyState getNotifyState() {
return notifyState;
}
public void setNotifyState(NotifyState notifyState) {
this.notifyState = notifyState;
}
}

View File

@ -3,4 +3,29 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Organisation;
public class OrganisationCriteria extends Criteria<Organisation> {
private String labelLike;
private Boolean isPublic;
private boolean isActive;
public String getLabelLike() {
return labelLike;
}
public void setLabelLike(String labelLike) {
this.labelLike = labelLike;
}
public Boolean getPublic() {
return isPublic;
}
public void setPublic(Boolean aPublic) {
isPublic = aPublic;
}
public boolean isActive() {
return isActive;
}
public void setActive(boolean active) {
isActive = active;
}
}

View File

@ -1,45 +1,34 @@
package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Project;
import eu.eudat.types.project.ProjectStateType;
import java.util.Date;
public class ProjectCriteria extends Criteria<Project> {
private Date periodStart;
private Date periodEnd;
private String reference;
private Integer projectStateType;
private String reference;
private String exactReference;
private Date periodStart;
public Date getPeriodStart() {
return periodStart;
}
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
public String getExactReference() {
return exactReference;
}
public Date getPeriodEnd() {
return periodEnd;
}
public void setExactReference(String exactReference) {
this.exactReference = exactReference;
}
public void setPeriodEnd(Date periodEnd) {
this.periodEnd = periodEnd;
}
public Date getPeriodStart() {
return periodStart;
}
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public Integer getProjectStateType() {
return projectStateType;
}
public void setProjectStateType(Integer projectStateType) {
this.projectStateType = projectStateType;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
}

View File

@ -2,6 +2,16 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Registry;
import java.util.UUID;
public class RegistryCriteria extends Criteria<Registry> {
private UUID creationUserId;
public UUID getCreationUserId() {
return creationUserId;
}
public void setCreationUserId(UUID creationUserId) {
this.creationUserId = creationUserId;
}
}

View File

@ -2,8 +2,12 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Researcher;
import java.util.Date;
public class ResearcherCriteria extends Criteria<Researcher> {
private String name;
private String reference;
private Date periodStart;
public String getName() {
return name;
@ -12,4 +16,20 @@ public class ResearcherCriteria extends Criteria<Researcher> {
public void setName(String name) {
this.name = name;
}
public String getReference() {
return reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public Date getPeriodStart() {
return periodStart;
}
public void setPeriodStart(Date periodStart) {
this.periodStart = periodStart;
}
}

View File

@ -2,6 +2,16 @@ package eu.eudat.data.dao.criteria;
import eu.eudat.data.entities.Service;
import java.util.UUID;
public class ServiceCriteria extends Criteria<Service> {
private UUID creationUserId;
public UUID getCreationUserId() {
return creationUserId;
}
public void setCreationUserId(UUID creationUserId) {
this.creationUserId = creationUserId;
}
}

View File

@ -8,11 +8,11 @@ import java.util.List;
public class UserInfoCriteria extends Criteria<UserInfo> {
private String email;
private List<Integer> appRoles;
private String collaboratorLike;
public List<Integer> getAppRoles() {
return appRoles;
}
public void setAppRoles(List<Integer> appRoles) {
this.appRoles = appRoles;
}
@ -20,8 +20,14 @@ public class UserInfoCriteria extends Criteria<UserInfo> {
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getCollaboratorLike() {
return collaboratorLike;
}
public void setCollaboratorLike(String collaboratorLike) {
this.collaboratorLike = collaboratorLike;
}
}

View File

@ -7,6 +7,7 @@ import eu.eudat.queryable.queryableentity.DataEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.util.Set;
@ -28,6 +29,7 @@ public class DatabaseService<T extends DataEntity> {
return this.databaseCtx.getQueryable(tClass);
}
@Transactional
public T createOrUpdate(T item, Class<T> tClass) {
return this.databaseCtx.createOrUpdate(item, tClass);
}

View File

@ -4,9 +4,11 @@ import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.DataManagementPlanCriteria;
import eu.eudat.data.dao.criteria.DatasetWizardUserDmpCriteria;
import eu.eudat.data.entities.DMP;
import eu.eudat.data.entities.UserDMP;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import java.util.List;
import java.util.UUID;
public interface DMPDao extends DatabaseAccessLayer<DMP, UUID> {
@ -15,6 +17,6 @@ public interface DMPDao extends DatabaseAccessLayer<DMP, UUID> {
QueryableList<DMP> getUserDmps(DatasetWizardUserDmpCriteria datasetWizardAutocompleteRequest, UserInfo userInfo);
QueryableList<DMP> getAuthenticated(QueryableList<DMP> query, UserInfo principal);
QueryableList<DMP> getAuthenticated(QueryableList<DMP> query, UUID principalId, List<Integer> roles);
}

View File

@ -9,88 +9,143 @@ import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import eu.eudat.queryable.types.FieldSelectionType;
import eu.eudat.queryable.types.SelectionField;
import eu.eudat.types.grant.GrantStateType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import javax.persistence.criteria.Join;
import javax.persistence.criteria.JoinType;
import javax.transaction.Transactional;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("dMPDao")
public class DMPDaoImpl extends DatabaseAccess<DMP> implements DMPDao {
@Autowired
public DMPDaoImpl(DatabaseService<DMP> databaseService) {
super(databaseService);
}
@Autowired
public DMPDaoImpl(DatabaseService<DMP> databaseService) {
super(databaseService);
}
@Override
public QueryableList<DMP> getWithCriteria(DataManagementPlanCriteria criteria) {
QueryableList<DMP> query = getDatabaseService().getQueryable(DMP.getHints(), DMP.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) -> builder.or(
builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"),
builder.like(builder.upper(root.get("description")), "%" + criteria.getLike().toUpperCase() + "%")));
if (criteria.getPeriodEnd() != null)
query.where((builder, root) -> builder.lessThan(root.get("created"), criteria.getPeriodEnd()));
if (criteria.getPeriodStart() != null)
query.where((builder, root) -> builder.greaterThan(root.get("created"), criteria.getPeriodStart()));
if (criteria.getProfile() != null)
query.where((builder, root) -> builder.equal(root.get("profile"), criteria.getProfile()));
if (criteria.getGrants() != null && !criteria.getGrants().isEmpty())
query.where(((builder, root) -> root.get("grant").in(criteria.getGrants())));
if (!criteria.getAllVersions())
query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("version"),
query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.and(
builder1.equal(externalRoot.get("groupId"), nestedRoot.get("groupId")),
builder1.notEqual(nestedRoot.get("status"), DMP.DMPStatus.DELETED.getValue())), Arrays.asList(new SelectionField(FieldSelectionType.FIELD, "version")), String.class)));
if (criteria.getGroupIds() != null && !criteria.getGroupIds().isEmpty())
query.where((builder, root) -> root.get("groupId").in(criteria.getGroupIds()));
if (criteria.getStatus() != null) {
if (criteria.getStatus() == DMP.DMPStatus.FINALISED.getValue()) {
query.where((builder, root) -> builder.equal(root.get("status"), DMP.DMPStatus.FINALISED.getValue()));
} else if (criteria.getStatus() == DMP.DMPStatus.ACTIVE.getValue()) {
query.where((builder, root) -> builder.equal(root.get("status"), DMP.DMPStatus.ACTIVE.getValue()));
}
}
if (criteria.getIsPublic()) {
query.where(((builder, root) -> builder.equal(root.get("isPublic"), criteria.getIsPublic())));
}
/*if (criteria.getRole() != null) {
if (criteria.getRole().equals(UserDMP.UserDMPRoles.OWNER.getValue())) {
query.where((builder, root) -> builder.equal(root.join("users", JoinType.LEFT).get("role"), UserDMP.UserDMPRoles.OWNER.getValue()));
} else if (criteria.getRole().equals(UserDMP.UserDMPRoles.USER.getValue())) {
query.where((builder, root) -> builder.equal(root.join("users", JoinType.LEFT).get("role"), UserDMP.UserDMPRoles.USER.getValue()));
}
}*/
if (criteria.getOrganisations() != null && !criteria.getOrganisations().isEmpty()) {
query.where((builder, root) -> root.join("organisations").get("reference").in(criteria.getOrganisations()));
}
if (criteria.getCollaborators() != null && !criteria.getCollaborators().isEmpty()) {
query.where((builder, root) -> root.join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id").in(criteria.getCollaborators()));
}
if (criteria.getDatasetTemplates() != null && !criteria.getDatasetTemplates().isEmpty()) {
query.where((builder, root) -> root.join("associatedDmps", JoinType.LEFT).get("datasetprofile").get("id").in(criteria.getDatasetTemplates()));
}
if (criteria.getGrantStatus() != null) {
if (criteria.getGrantStatus().equals(GrantStateType.FINISHED.getValue().shortValue()))
query.where((builder, root) -> builder.lessThan(root.get("grant").get("enddate"), new Date()));
if (criteria.getGrantStatus().equals(GrantStateType.ONGOING.getValue().shortValue()))
query.where((builder, root) ->
builder.or(builder.greaterThan(root.get("grant").get("enddate"), new Date())
, builder.isNull(root.get("grant").get("enddate"))));
}
@Override
public QueryableList<DMP> getWithCriteria(DataManagementPlanCriteria criteria) {
QueryableList<DMP> query = getDatabaseService().getQueryable(DMP.getHints(), DMP.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) -> builder.or(
builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"),
builder.like(builder.upper(root.get("description")), "%" + criteria.getLike().toUpperCase() + "%")));
if (criteria.getPeriodEnd() != null)
query.where((builder, root) -> builder.lessThan(root.get("created"), criteria.getPeriodEnd()));
if (criteria.getPeriodStart() != null)
query.where((builder, root) -> builder.greaterThan(root.get("created"), criteria.getPeriodStart()));
if (criteria.getProjects() != null && !criteria.getProjects().isEmpty())
query.where(((builder, root) -> root.get("project").in(criteria.getProjects())));
if (!criteria.getAllVersions())
query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("version"),
query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.equal(externalRoot.get("groupId"),
nestedRoot.get("groupId")), Arrays.asList(new SelectionField(FieldSelectionType.FIELD, "version")), String.class)));
if (criteria.getGroupIds() != null && !criteria.getGroupIds().isEmpty())
query.where((builder, root) -> root.get("groupId").in(criteria.getGroupIds()));
query.where((builder, root) -> builder.notEqual(root.get("status"), DMP.DMPStatus.DELETED.getValue()));
return query;
}
if (criteria.hasDoi()) {
query.where((builder, root) -> builder.not(builder.isNull(root.join("dois").get("id"))));
}
query.where((builder, root) -> builder.notEqual(root.get("status"), DMP.DMPStatus.DELETED.getValue()));
return query;
}
public QueryableList<DMP> getAuthenticated(QueryableList<DMP> query, UserInfo principal) {
query.where((builder, root) -> builder.or(builder.equal(root.get("creator"), principal), builder.isMember(principal, root.get("users"))));
return query;
}
public QueryableList<DMP> getAuthenticated(QueryableList<DMP> query, UUID principal, List<Integer> roles) {
if (roles != null && !roles.isEmpty()) {
query.where((builder, root) -> {
Join userJoin = root.join("users", JoinType.LEFT);
return builder.and(builder.equal(userJoin.join("user", JoinType.LEFT).get("id"), principal), userJoin.get("role").in(roles));
});
} else {
query.where((builder, root) -> builder.equal(root.join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id"), principal));
}
@Override
public DMP createOrUpdate(DMP item) {
return this.getDatabaseService().createOrUpdate(item, DMP.class);
}
return query;
}
@Override
public DMP find(UUID id) {
return getDatabaseService().getQueryable(DMP.class).where((builder, root) -> builder.equal((root.get("id")), id)).getSingle();
}
@Override
@Transactional
public DMP createOrUpdate(DMP item) {
return this.getDatabaseService().createOrUpdate(item, DMP.class);
}
@Override
public QueryableList<DMP> getUserDmps(DatasetWizardUserDmpCriteria datasetWizardUserDmpCriteria, UserInfo userInfo) {
QueryableList<DMP> query = getDatabaseService().getQueryable(DMP.class).where((builder, root) -> builder.or(builder.equal(root.get("creator"), userInfo), builder.isMember(userInfo, root.get("users"))));
if (datasetWizardUserDmpCriteria.getLike() != null && !datasetWizardUserDmpCriteria.getLike().isEmpty()) {
query.where((builder, root) -> builder.like(root.get("label"), "%" + datasetWizardUserDmpCriteria.getLike() + "%"));
}
return query;
}
@Override
public DMP find(UUID id) {
return getDatabaseService().getQueryable(DMP.class).where((builder, root) -> builder.equal((root.get("id")), id)).getSingle();
}
@Override
public void delete(DMP item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<DMP> getUserDmps(DatasetWizardUserDmpCriteria datasetWizardUserDmpCriteria, UserInfo userInfo) {
QueryableList<DMP> query = getDatabaseService().getQueryable(DMP.class).where((builder, root) -> builder.or(builder.equal(root.get("creator"), userInfo), builder.isMember(userInfo, root.get("users"))));
if (datasetWizardUserDmpCriteria.getLike() != null && !datasetWizardUserDmpCriteria.getLike().isEmpty()) {
query.where((builder, root) -> builder.like(root.get("label"), "%" + datasetWizardUserDmpCriteria.getLike() + "%"));
}
return query;
}
@Override
public QueryableList<DMP> asQueryable() {
return this.getDatabaseService().getQueryable(DMP.class);
}
@Override
public void delete(DMP item) {
this.getDatabaseService().delete(item);
}
@Async
@Override
public CompletableFuture<DMP> createOrUpdateAsync(DMP item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public QueryableList<DMP> asQueryable() {
return this.getDatabaseService().getQueryable(DMP.class);
}
@Override
public DMP find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
@Async
@Override
public CompletableFuture<DMP> createOrUpdateAsync(DMP item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public DMP find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
}

View File

@ -1,6 +1,7 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.DataManagementPlanBlueprintCriteria;
import eu.eudat.data.dao.criteria.DataManagementPlanProfileCriteria;
import eu.eudat.data.entities.DMP;
import eu.eudat.data.entities.DMPProfile;
@ -15,4 +16,6 @@ public interface DMPProfileDao extends DatabaseAccessLayer<DMPProfile, UUID> {
QueryableList<DMPProfile> getWithCriteria(DataManagementPlanProfileCriteria criteria);
QueryableList<DMPProfile> getWithCriteriaBlueprint(DataManagementPlanBlueprintCriteria criteria);
}

View File

@ -1,6 +1,7 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.criteria.DataManagementPlanBlueprintCriteria;
import eu.eudat.data.dao.criteria.DataManagementPlanProfileCriteria;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DMPProfile;
@ -65,4 +66,20 @@ public class DMPProfileDaoImpl extends DatabaseAccess<DMPProfile> implements DMP
query.where(((builder, root) -> builder.notEqual(root.get("status"), DMPProfile.Status.DELETED.getValue())));
return query;
}
@Override
public QueryableList<DMPProfile> getWithCriteriaBlueprint(DataManagementPlanBlueprintCriteria criteria){
QueryableList<DMPProfile> query = getDatabaseService().getQueryable(DMPProfile.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) -> builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"));
if (criteria.getStatus() != null) {
if (criteria.getStatus() == DMPProfile.Status.FINALIZED.getValue()) {
query.where((builder, root) -> builder.equal(root.get("status"), DMPProfile.Status.FINALIZED.getValue()));
} else if (criteria.getStatus() == DMPProfile.Status.SAVED.getValue()) {
query.where((builder, root) -> builder.equal(root.get("status"), DMPProfile.Status.SAVED.getValue()));
}
}
query.where(((builder, root) -> builder.notEqual(root.get("status"), DMPProfile.Status.DELETED.getValue())));
return query;
}
}

View File

@ -24,7 +24,11 @@ public class DataRepositoryDaoImpl extends DatabaseAccess<DataRepository> implem
public QueryableList<DataRepository> getWithCriteria(DataRepositoryCriteria criteria) {
QueryableList<DataRepository> query = this.getDatabaseService().getQueryable(DataRepository.class);
if (criteria.getLike() != null)
query.where((builder, root) -> builder.equal(root.get("reference"), criteria.getLike()));
query.where((builder, root) -> builder.or(
builder.like(builder.upper(root.get("reference")), "%" + criteria.getLike().toUpperCase() + "%"),
builder.equal(builder.upper(root.get("label")), criteria.getLike().toUpperCase())));
if (criteria.getCreationUserId() != null)
query.where((builder, root) -> builder.equal(root.get("creationUser").get("id"), criteria.getCreationUserId()));
return query;
}

View File

@ -6,12 +6,17 @@ import eu.eudat.data.entities.Dataset;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import java.util.List;
import java.util.UUID;
public interface DatasetDao extends DatabaseAccessLayer<Dataset, UUID> {
QueryableList<Dataset> getWithCriteria(DatasetCriteria criteria);
QueryableList<Dataset> getAuthenticated(QueryableList<Dataset> query, UserInfo principal);
QueryableList<Dataset> filterFromElastic(DatasetCriteria criteria, List<UUID> ids);
QueryableList<Dataset> getAuthenticated(QueryableList<Dataset> query, UserInfo principal, List<Integer> roles);
Dataset isPublicDataset(UUID id);
}

View File

@ -3,16 +3,23 @@ package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.criteria.DatasetCriteria;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DMP;
import eu.eudat.data.entities.Dataset;
import eu.eudat.data.entities.UserDMP;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import eu.eudat.queryable.types.FieldSelectionType;
import eu.eudat.queryable.types.SelectionField;
import eu.eudat.types.grant.GrantStateType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import javax.persistence.criteria.Join;
import javax.persistence.criteria.JoinType;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@ -20,13 +27,18 @@ import java.util.concurrent.CompletableFuture;
public class DatasetDaoImpl extends DatabaseAccess<Dataset> implements DatasetDao {
@Autowired
public DatasetDaoImpl(DatabaseService<Dataset> databaseService) {
super(databaseService);
}
public DatasetDaoImpl(DatabaseService<Dataset> databaseService) { super(databaseService); }
@Override
public QueryableList<Dataset> getWithCriteria(DatasetCriteria criteria) {
QueryableList<Dataset> query = getDatabaseService().getQueryable(Dataset.getHints(), Dataset.class);
if (criteria.getIsPublic() != null && criteria.getIsPublic()) {
query.where((builder, root) -> builder.equal(root.get("dmp").get("isPublic"), true));
query.where((builder, root) -> builder.equal(root.get("status"), Dataset.Status.FINALISED.getValue()));
/*query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("dmp").get("version"),
query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.equal(externalRoot.get("dmp").get("groupId"), nestedRoot.get("dmp").get("groupId")),
Arrays.asList(new SelectionField(FieldSelectionType.COMPOSITE_FIELD, "dmp:version")), String.class)));*/
}
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) -> builder.or(
builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"),
@ -40,10 +52,48 @@ public class DatasetDaoImpl extends DatabaseAccess<Dataset> implements DatasetDa
if (criteria.getPeriodStart() != null)
query.where((builder, root) -> builder.greaterThan(root.get("created"), criteria.getPeriodStart()));
if (!criteria.getAllVersions())
query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("dmp").get("version"), query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.equal(externalRoot.get("dmp").get("groupId"), nestedRoot.get("dmp").get("groupId")), Arrays.asList(new SelectionField(FieldSelectionType.COMPOSITE_FIELD, "dmp:version")), String.class)));
query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("dmp").get("version"), query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.and(builder1.equal(externalRoot.get("dmp").get("groupId"), nestedRoot.get("dmp").get("groupId")), builder1.notEqual(nestedRoot.get("dmp").get("status"), DMP.DMPStatus.DELETED.getValue())), Arrays.asList(new SelectionField(FieldSelectionType.COMPOSITE_FIELD, "dmp:version")), String.class)));
if (criteria.getGroupIds() != null && !criteria.getGroupIds().isEmpty())
query.where((builder, root) -> root.get("dmp").get("groupId").in(criteria.getGroupIds()));
if (criteria.getDmpIds() != null && !criteria.getDmpIds().isEmpty())
query.where((builder, root) -> root.get("dmp").get("id").in(criteria.getDmpIds()));
query.where(((builder, root) -> builder.notEqual(root.get("status"), Dataset.Status.DELETED.getValue())));
/*if (criteria.getRole() != null) {
query.where((builder, root) -> builder.equal(root.join("dmp").join("users").get("role"), criteria.getRole()));
} else {
query.where((builder, root) -> root.join("dmp").join("users").get("role").in(UserDMP.UserDMPRoles.getAllValues()));
}*/
if (criteria.getOrganisations() != null && !criteria.getOrganisations().isEmpty())
query.where((builder, root) -> root.join("dmp").join("organisations").get("reference").in(criteria.getOrganisations()));
if (criteria.getGrants() != null && !criteria.getGrants().isEmpty())
query.where((builder, root) -> root.join("dmp").join("grant").get("id").in(criteria.getGrants()));
if (criteria.getGrantStatus() != null) {
if (criteria.getGrantStatus().equals(GrantStateType.FINISHED.getValue().shortValue()))
query.where((builder, root) -> builder.lessThan(root.get("dmp").get("grant").get("enddate"), new Date()));
if (criteria.getGrantStatus().equals(GrantStateType.ONGOING.getValue().shortValue()))
query.where((builder, root) ->
builder.or(builder.greaterThan(root.get("dmp").get("grant").get("enddate"), new Date())
, builder.isNull(root.get("dmp").get("grant").get("enddate"))));
}
if (criteria.getCollaborators() != null && !criteria.getCollaborators().isEmpty())
query.where((builder, root) -> root.join("dmp", JoinType.LEFT).join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id").in(criteria.getCollaborators()));
if (criteria.getDatasetTemplates() != null && !criteria.getDatasetTemplates().isEmpty())
query.where((builder, root) -> root.get("profile").get("id").in(criteria.getDatasetTemplates()));
if (criteria.hasDoi()) {
query.where((builder, root) -> builder.not(builder.isNull(root.join("dmp").join("dois").get("id"))));
}
query.where((builder, root) -> builder.notEqual(root.get("status"), Dataset.Status.DELETED.getValue()));
query.where((builder, root) -> builder.notEqual(root.get("status"), Dataset.Status.CANCELED.getValue()));
return query;
}
public QueryableList<Dataset> filterFromElastic(DatasetCriteria criteria, List<UUID> ids) {
QueryableList<Dataset> query = getDatabaseService().getQueryable(Dataset.getHints(), Dataset.class);
query.where(((builder, root) -> root.get("id").in(ids)));
if (!criteria.getAllVersions())
query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("dmp").get("version"), query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.and(builder1.equal(externalRoot.get("dmp").get("groupId"), nestedRoot.get("dmp").get("groupId")), builder1.notEqual(nestedRoot.get("dmp").get("status"), DMP.DMPStatus.DELETED.getValue())), Arrays.asList(new SelectionField(FieldSelectionType.COMPOSITE_FIELD, "dmp:version")), String.class)));
return query;
}
@ -54,19 +104,34 @@ public class DatasetDaoImpl extends DatabaseAccess<Dataset> implements DatasetDa
@Override
public Dataset find(UUID id) {
return getDatabaseService().getQueryable(Dataset.class).where((builder, root) -> builder.equal((root.get("id")), id)).getSingle();
return getDatabaseService().getQueryable(Dataset.class)
.where((builder, root) -> builder.and(builder.notEqual(root.get("status"),Dataset.Status.DELETED.getValue()), builder.notEqual(root.get("status"),Dataset.Status.CANCELED.getValue()), builder.equal((root.get("id")), id))).getSingle();
}
@Override
public Dataset find(UUID id, String hint) {
return getDatabaseService().getQueryable(Dataset.getHints(), Dataset.class).withHint(hint).where((builder, root) -> builder.equal((root.get("id")), id)).getSingle();
return getDatabaseService().getQueryable(Dataset.getHints(), Dataset.class).withHint(hint)
.where((builder, root) -> builder.and(builder.notEqual(root.get("status"),Dataset.Status.DELETED.getValue()), builder.notEqual(root.get("status"),Dataset.Status.CANCELED.getValue()), builder.equal((root.get("id")), id))).getSingle();
}
@Override
public QueryableList<Dataset> getAuthenticated(QueryableList<Dataset> query, UserInfo principal) {
if (principal.getId() == null) query.where((builder, root) -> builder.equal(root.get("isPublic"), true));
else {
query.where((builder, root) -> builder.or(builder.equal(root.get("dmp").get("creator"), principal), builder.isMember(principal, root.get("dmp").get("users"))));
public Dataset isPublicDataset(UUID id) {
QueryableList<Dataset> query = getDatabaseService().getQueryable(Dataset.getHints(), Dataset.class);
query.where(((builder, root) -> builder.equal(root.get("id"), id)));
return query.withHint("datasetListingModel").getSingle();
}
@Override
public QueryableList<Dataset> getAuthenticated(QueryableList<Dataset> query, UserInfo principal, List<Integer> roles) {
if (roles != null && !roles.isEmpty()) {
query.where((builder, root) -> {
Join userJoin = root.join("dmp", JoinType.LEFT).join("users", JoinType.LEFT);
return builder.and(builder.equal(userJoin.join("user", JoinType.LEFT).get("id"), principal.getId()), userJoin.get("role").in(roles));
});
} else {
query.where((builder, root) -> builder.equal(root.join("dmp", JoinType.LEFT).join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id"), principal.getId()));
}
return query;
}

View File

@ -3,7 +3,6 @@ package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DatasetExternalDataset;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;

View File

@ -2,15 +2,23 @@ package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.DatasetProfileCriteria;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.data.entities.DescriptionTemplate;
import eu.eudat.data.entities.DescriptionTemplateType;
import eu.eudat.queryable.QueryableList;
import java.util.List;
import java.util.UUID;
public interface DatasetProfileDao extends DatabaseAccessLayer<DatasetProfile, UUID> {
public interface DatasetProfileDao extends DatabaseAccessLayer<DescriptionTemplate, UUID> {
QueryableList<DatasetProfile> getWithCriteria(DatasetProfileCriteria criteria);
QueryableList<DescriptionTemplate> getWithCriteria(DatasetProfileCriteria criteria);
QueryableList<DatasetProfile> getAll();
QueryableList<DescriptionTemplate> getAll();
QueryableList<DescriptionTemplate> getAuthenticated(QueryableList<DescriptionTemplate> query, UUID principal, List<Integer> roles);
List<DescriptionTemplate> getAllIds();
Long countWithType(DescriptionTemplateType type);
}

View File

@ -3,65 +3,132 @@ package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.criteria.DatasetProfileCriteria;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.data.entities.DescriptionTemplate;
import eu.eudat.data.entities.DescriptionTemplateType;
import eu.eudat.queryable.QueryableList;
import eu.eudat.queryable.types.FieldSelectionType;
import eu.eudat.queryable.types.SelectionField;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import javax.persistence.criteria.Join;
import javax.persistence.criteria.JoinType;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("datasetProfileDao")
public class DatasetProfileDaoImpl extends DatabaseAccess<DatasetProfile> implements DatasetProfileDao {
public class DatasetProfileDaoImpl extends DatabaseAccess<DescriptionTemplate> implements DatasetProfileDao {
@Autowired
public DatasetProfileDaoImpl(DatabaseService<DatasetProfile> databaseService) {
public DatasetProfileDaoImpl(DatabaseService<DescriptionTemplate> databaseService) {
super(databaseService);
}
@Override
public QueryableList<DatasetProfile> getWithCriteria(DatasetProfileCriteria criteria) {
QueryableList<DatasetProfile> query = getDatabaseService().getQueryable(DatasetProfile.class);
public QueryableList<DescriptionTemplate> getWithCriteria(DatasetProfileCriteria criteria) {
QueryableList<DescriptionTemplate> query = getDatabaseService().getQueryable(DescriptionTemplate.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) -> builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"));
query.where(((builder, root) -> builder.notEqual(root.get("status"), DatasetProfile.Status.DELETED.getValue())));
if (!criteria.getAllVersions())
query.initSubQuery(String.class).where((builder, root) -> builder.equal(root.get("version"),
query.<String>subQueryMax((builder1, externalRoot, nestedRoot) -> builder1.equal(externalRoot.get("groupId"),
nestedRoot.get("groupId")), Arrays.asList(new SelectionField(FieldSelectionType.FIELD, "version")), String.class)));
if (criteria.getGroupIds() != null && !criteria.getGroupIds().isEmpty())
query.where((builder, root) -> root.get("groupId").in(criteria.getGroupIds()));
if (criteria.getFilter() != null && criteria.getUserId() != null) {
if (criteria.getFilter().equals(DatasetProfileCriteria.DatasetProfileFilter.DMPs.getValue())) {
query.initSubQuery(UUID.class).where((builder, root) ->
builder.and(root.get("id").in(
query.subQuery((builder1, root1) -> builder1.equal(root1.join("dmps", JoinType.LEFT).join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id"), criteria.getUserId()),
Arrays.asList(new SelectionField(FieldSelectionType.FIELD, "id")))),
builder.notEqual(root.get("id"), criteria.getUserId())));
//query.where(((builder, root) -> builder.equal(root.join("dmps", JoinType.LEFT).join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id"), criteria.getUserId())));
}
if (criteria.getFilter().equals(DatasetProfileCriteria.DatasetProfileFilter.Datasets.getValue())) {
query.initSubQuery(UUID.class).where((builder, root) ->
builder.and(root.get("id").in(
query.subQuery((builder1, root1) -> builder1.equal(root1.join("dataset", JoinType.LEFT).join("dmp", JoinType.LEFT).join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id"), criteria.getUserId()),
Arrays.asList(new SelectionField(FieldSelectionType.FIELD, "id")))),
builder.notEqual(root.get("id"), criteria.getUserId())));
}
}
if (criteria.getStatus() != null) {
query.where(((builder, root) -> builder.equal(root.get("status"), criteria.getStatus())));
}
if (criteria.getIds() != null) {
query.where(((builder, root) -> root.get("id").in(criteria.getIds())));
}
if (criteria.getFinalized()) {
query.where(((builder, root) -> builder.equal(root.get("status"), DescriptionTemplate.Status.FINALIZED.getValue())));
} else {
query.where(((builder, root) -> builder.notEqual(root.get("status"), DescriptionTemplate.Status.DELETED.getValue())));
}
if (criteria.getPeriodStart() != null)
query.where((builder, root) -> builder.greaterThanOrEqualTo(root.get("created"), criteria.getPeriodStart()));
return query;
}
@Override
public DatasetProfile createOrUpdate(DatasetProfile item) {
return this.getDatabaseService().createOrUpdate(item, DatasetProfile.class);
public DescriptionTemplate createOrUpdate(DescriptionTemplate item) {
return this.getDatabaseService().createOrUpdate(item, DescriptionTemplate.class);
}
@Override
public DatasetProfile find(UUID id) {
return getDatabaseService().getQueryable(DatasetProfile.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
public DescriptionTemplate find(UUID id) {
return getDatabaseService().getQueryable(DescriptionTemplate.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
}
@Override
public QueryableList<DatasetProfile> getAll() {
return getDatabaseService().getQueryable(DatasetProfile.class);
public QueryableList<DescriptionTemplate> getAll() {
return getDatabaseService().getQueryable(DescriptionTemplate.class);
}
@Override
public void delete(DatasetProfile item) {
public List<DescriptionTemplate> getAllIds(){
return getDatabaseService().getQueryable(DescriptionTemplate.class).withFields(Collections.singletonList("id")).toList();
}
@Override
public void delete(DescriptionTemplate item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<DatasetProfile> asQueryable() {
return this.getDatabaseService().getQueryable(DatasetProfile.class);
public QueryableList<DescriptionTemplate> asQueryable() {
return this.getDatabaseService().getQueryable(DescriptionTemplate.class);
}
@Async
@Override
public CompletableFuture<DatasetProfile> createOrUpdateAsync(DatasetProfile item) {
public CompletableFuture<DescriptionTemplate> createOrUpdateAsync(DescriptionTemplate item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public DatasetProfile find(UUID id, String hint) {
public DescriptionTemplate find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
@Override
public QueryableList<DescriptionTemplate> getAuthenticated(QueryableList<DescriptionTemplate> query, UUID principal, List<Integer> roles) {
if (roles != null && !roles.isEmpty()) {
query.where((builder, root) -> {
Join userJoin = root.join("users", JoinType.LEFT);
return builder.and(builder.equal(userJoin.join("user", JoinType.LEFT).get("id"), principal), userJoin.get("role").in(roles));
});
} else {
query.where((builder, root) -> builder.equal(root.join("users", JoinType.LEFT).join("user", JoinType.LEFT).get("id"), principal));
}
return query;
}
@Override
public Long countWithType(DescriptionTemplateType type) {
return this.getDatabaseService().getQueryable(DescriptionTemplate.class).where((builder, root) -> builder.equal(root.get("type"), type)).count();
}
}

View File

@ -1,7 +1,6 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.data.entities.DatasetService;
import java.util.UUID;

View File

@ -2,8 +2,6 @@ package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DatasetExternalDataset;
import eu.eudat.data.entities.DatasetProfile;
import eu.eudat.data.entities.DatasetService;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -0,0 +1,10 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.entities.DescriptionTemplateType;
import java.util.UUID;
public interface DescriptionTemplateTypeDao extends DatabaseAccessLayer<DescriptionTemplateType, UUID> {
DescriptionTemplateType findFromName(String name);
}

View File

@ -0,0 +1,65 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DescriptionTemplateType;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import javax.transaction.Transactional;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("descriptionTemplateTypeDao")
public class DescriptionTemplateTypeDaoImpl extends DatabaseAccess<DescriptionTemplateType> implements DescriptionTemplateTypeDao {
@Autowired
public DescriptionTemplateTypeDaoImpl(DatabaseService<DescriptionTemplateType> databaseService) {
super(databaseService);
}
@Override
public DescriptionTemplateType findFromName(String name){
try {
return this.getDatabaseService().getQueryable(DescriptionTemplateType.class).where((builder, root) -> builder.and(builder.equal(root.get("name"), name), builder.notEqual(root.get("status"), DescriptionTemplateType.Status.DELETED.getValue()))).getSingle();
}
catch(Exception e){
return null;
}
}
@Override
@Transactional
public DescriptionTemplateType createOrUpdate(DescriptionTemplateType item) {
return this.getDatabaseService().createOrUpdate(item, DescriptionTemplateType.class);
}
@Override
public DescriptionTemplateType find(UUID id) {
return getDatabaseService().getQueryable(DescriptionTemplateType.class).where((builder, root) -> builder.equal((root.get("id")), id)).getSingle();
}
@Override
public void delete(DescriptionTemplateType item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<DescriptionTemplateType> asQueryable() {
return this.getDatabaseService().getQueryable(DescriptionTemplateType.class).where((builder, root) -> builder.notEqual((root.get("status")), DescriptionTemplateType.Status.DELETED.getValue()));
}
@Async
@Override
public CompletableFuture<DescriptionTemplateType> createOrUpdateAsync(DescriptionTemplateType item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public DescriptionTemplateType find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
}

View File

@ -0,0 +1,9 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.entities.DMPDatasetProfile;
import java.util.UUID;
public interface DmpDatasetProfileDao extends DatabaseAccessLayer<DMPDatasetProfile, UUID> {
}

View File

@ -0,0 +1,52 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.Content;
import eu.eudat.data.entities.DMPDatasetProfile;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Service("dmpDatasetProfileDao")
public class DmpDatasetProfileDaoImpl extends DatabaseAccess<DMPDatasetProfile> implements DmpDatasetProfileDao {
@Autowired
public DmpDatasetProfileDaoImpl(DatabaseService<DMPDatasetProfile> databaseService) {
super(databaseService);
}
@Override
public DMPDatasetProfile createOrUpdate(DMPDatasetProfile item) {
return this.getDatabaseService().createOrUpdate(item, DMPDatasetProfile.class);
}
@Override
@Async
public CompletableFuture<DMPDatasetProfile> createOrUpdateAsync(DMPDatasetProfile item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public DMPDatasetProfile find(UUID id) {
return this.getDatabaseService().getQueryable(DMPDatasetProfile.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
}
@Override
public DMPDatasetProfile find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
@Override
public void delete(DMPDatasetProfile item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<DMPDatasetProfile> asQueryable() {
return this.getDatabaseService().getQueryable(DMPDatasetProfile.class);
}
}

View File

@ -0,0 +1,13 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.EmailConfirmationCriteria;
import eu.eudat.data.entities.EmailConfirmation;
import eu.eudat.queryable.QueryableList;
import java.util.UUID;
public interface EmailConfirmationDao extends DatabaseAccessLayer<EmailConfirmation, UUID> {
QueryableList<EmailConfirmation> getWithCriteria(EmailConfirmationCriteria criteria);
}

View File

@ -0,0 +1,56 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.criteria.EmailConfirmationCriteria;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.EmailConfirmation;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Service("LoginConfirmationEmailDao")
public class EmailConfirmationDaoImpl extends DatabaseAccess<EmailConfirmation> implements EmailConfirmationDao {
@Autowired
public EmailConfirmationDaoImpl(DatabaseService<EmailConfirmation> databaseService) {
super(databaseService);
}
@Override
public QueryableList<EmailConfirmation> getWithCriteria(EmailConfirmationCriteria criteria) {
return null;
}
@Override
public EmailConfirmation createOrUpdate(EmailConfirmation item) {
return this.getDatabaseService().createOrUpdate(item, EmailConfirmation.class);
}
@Override
public CompletableFuture<EmailConfirmation> createOrUpdateAsync(EmailConfirmation item) {
return null;
}
@Override
public EmailConfirmation find(UUID id) {
return this.getDatabaseService().getQueryable(EmailConfirmation.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
}
@Override
public EmailConfirmation find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
@Override
public void delete(EmailConfirmation item) {
throw new UnsupportedOperationException();
}
@Override
public QueryableList<EmailConfirmation> asQueryable() {
return this.getDatabaseService().getQueryable(EmailConfirmation.class);
}
}

View File

@ -0,0 +1,10 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.entities.EntityDoi;
import java.util.UUID;
public interface EntityDoiDao extends DatabaseAccessLayer<EntityDoi, UUID> {
EntityDoi findFromDoi(String doi);
}

View File

@ -0,0 +1,56 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.EntityDoi;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("EntityDoiDao")
public class EntityDoiDaoImpl extends DatabaseAccess<EntityDoi> implements EntityDoiDao {
@Autowired
public EntityDoiDaoImpl(DatabaseService<EntityDoi> databaseService){
super(databaseService);
}
@Override
public EntityDoi createOrUpdate(EntityDoi item) {
return this.getDatabaseService().createOrUpdate(item, EntityDoi.class);
}
@Override
public CompletableFuture<EntityDoi> createOrUpdateAsync(EntityDoi item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public EntityDoi find(UUID id) {
return this.getDatabaseService().getQueryable(EntityDoi.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
}
@Override
public EntityDoi findFromDoi(String doi) {
return this.getDatabaseService().getQueryable(EntityDoi.class).where((builder, root) -> builder.equal(root.get("doi"), doi)).getSingle();
}
@Override
public EntityDoi find(UUID id, String hint) {
return null;
}
@Override
public void delete(EntityDoi item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<EntityDoi> asQueryable() {
return this.getDatabaseService().getQueryable(EntityDoi.class);
}
}

View File

@ -25,7 +25,11 @@ public class ExternalDatasetDaoImpl extends DatabaseAccess<ExternalDataset> impl
public QueryableList<ExternalDataset> getWithCriteria(ExternalDatasetCriteria criteria) {
QueryableList<ExternalDataset> query = this.getDatabaseService().getQueryable(ExternalDataset.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) -> builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"));
query.where((builder, root) -> builder.or(
builder.like(builder.upper(root.get("reference")), "%" + criteria.getLike().toUpperCase() + "%"),
builder.equal(builder.upper(root.get("label")), criteria.getLike().toUpperCase())));
if (criteria.getCreationUserId() != null)
query.where((builder, root) -> builder.equal(root.join("creationUser").get("id"), criteria.getCreationUserId()));
return query;
}

View File

@ -0,0 +1,11 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.entities.FileUpload;
import java.util.List;
import java.util.UUID;
public interface FileUploadDao extends DatabaseAccessLayer<FileUpload, UUID> {
List<FileUpload> getFileUploads(UUID entityId);
}

View File

@ -0,0 +1,56 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.FileUpload;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("FileUploadDao")
public class FileUploadDaoImpl extends DatabaseAccess<FileUpload> implements FileUploadDao {
@Autowired
public FileUploadDaoImpl(DatabaseService<FileUpload> databaseService) {
super(databaseService);
}
@Override
public FileUpload createOrUpdate(FileUpload item) {
return getDatabaseService().createOrUpdate(item, FileUpload.class);
}
//
@Override
public CompletableFuture<FileUpload> createOrUpdateAsync(FileUpload item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public FileUpload find(UUID id) {
return getDatabaseService().getQueryable(FileUpload.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
}
@Override
public List<FileUpload> getFileUploads(UUID entityId) {
return this.getDatabaseService().getQueryable(FileUpload.class).where((builder, root) -> builder.equal(root.get("entityId"), entityId)).toList();
}
@Override
public FileUpload find(UUID id, String hint) {
return null;
}
@Override
public void delete(FileUpload item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<FileUpload> asQueryable() {
return this.getDatabaseService().getQueryable(FileUpload.class);
}
}

View File

@ -0,0 +1,16 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.FunderCriteria;
import eu.eudat.data.entities.Funder;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import java.util.UUID;
public interface FunderDao extends DatabaseAccessLayer<Funder, UUID> {
QueryableList<Funder> getWithCritetia(FunderCriteria criteria);
QueryableList<Funder> getAuthenticated(QueryableList<Funder> query, UserInfo principal);
}

View File

@ -0,0 +1,75 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.criteria.FunderCriteria;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.Funder;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("funderDao")
public class FunderDaoImpl extends DatabaseAccess<Funder> implements FunderDao {
@Autowired
public FunderDaoImpl(DatabaseService<Funder> databaseService) {
super(databaseService);
}
@Override
public QueryableList<Funder> getWithCritetia(FunderCriteria criteria) {
QueryableList<Funder> query = getDatabaseService().getQueryable(Funder.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) ->
builder.or(builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"),
builder.or(builder.like(builder.upper(root.get("definition")), "%" + criteria.getLike().toUpperCase() + "%"))));
if (criteria.getReference() != null)
query.where((builder, root) -> builder.like(builder.upper(root.get("reference")), "%" + criteria.getReference().toUpperCase() + "%"));
if (criteria.getExactReference() != null)
query.where((builder, root) -> builder.like(builder.upper(root.get("reference")), criteria.getExactReference().toUpperCase()));
if (criteria.getPeriodStart() != null)
query.where((builder, root) -> builder.greaterThanOrEqualTo(root.get("created"), criteria.getPeriodStart()));
query.where((builder, root) -> builder.notEqual(root.get("status"), Funder.Status.DELETED.getValue()));
return query;
}
@Override
public QueryableList<Funder> getAuthenticated(QueryableList<Funder> query, UserInfo principal) {
query.where((builder, root) -> builder.equal(root.get("creationUser"), principal));
return query;
}
@Override
public Funder createOrUpdate(Funder item) {
return this.getDatabaseService().createOrUpdate(item, Funder.class);
}
@Override
public CompletableFuture<Funder> createOrUpdateAsync(Funder item) {
return null;
}
@Override
public Funder find(UUID id) {
return this.getDatabaseService().getQueryable(Funder.class).where((builder, root) -> builder.equal(root.get("id"), id)).getSingle();
}
@Override
public Funder find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
@Override
public void delete(Funder item) {
throw new UnsupportedOperationException();
}
@Override
public QueryableList<Funder> asQueryable() {
return this.getDatabaseService().getQueryable(Funder.class);
}
}

View File

@ -0,0 +1,17 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.GrantCriteria;
import eu.eudat.data.entities.Grant;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import java.util.UUID;
public interface GrantDao extends DatabaseAccessLayer<Grant, UUID> {
QueryableList<Grant> getWithCriteria(GrantCriteria criteria);
QueryableList<Grant> getAuthenticated(QueryableList<Grant> query, UserInfo principal);
}

View File

@ -0,0 +1,102 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccess;
import eu.eudat.data.dao.criteria.GrantCriteria;
import eu.eudat.data.dao.databaselayer.service.DatabaseService;
import eu.eudat.data.entities.DMP;
import eu.eudat.data.entities.Grant;
import eu.eudat.data.entities.UserInfo;
import eu.eudat.queryable.QueryableList;
import eu.eudat.types.grant.GrantStateType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import schemasMicrosoftComOfficeOffice.LeftDocument;
import javax.persistence.criteria.JoinType;
import java.util.Date;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
@Component("grantDao")
public class GrantDaoImpl extends DatabaseAccess<Grant> implements GrantDao {
@Autowired
public GrantDaoImpl(DatabaseService<Grant> databaseService) {
super(databaseService);
}
@Override
public QueryableList<Grant> getWithCriteria(GrantCriteria criteria) {
QueryableList<Grant> query = getDatabaseService().getQueryable(Grant.class);
if (criteria.getLike() != null && !criteria.getLike().isEmpty())
query.where((builder, root) ->
builder.or(builder.like(builder.upper(root.get("label")), "%" + criteria.getLike().toUpperCase() + "%"),
builder.or(builder.like(builder.upper(root.get("description")), "%" + criteria.getLike().toUpperCase() + "%"))));
if (criteria.getPeriodEnd() != null)
query.where((builder, root) -> builder.lessThan(root.get("enddate"), criteria.getPeriodEnd()));
if (criteria.getPeriodStart() != null)
query.where((builder, root) -> builder.greaterThan(root.get("startdate"), criteria.getPeriodStart()));
if (criteria.getReference() != null)
query.where((builder, root) -> builder.like(root.get("reference"), "%" + criteria.getReference() + "%"));
if (criteria.getExactReference() != null)
query.where((builder, root) -> builder.like(root.get("reference"), criteria.getExactReference()));
if (criteria.getGrantStateType() != null) {
if (criteria.getGrantStateType().equals(GrantStateType.FINISHED.getValue()))
query.where((builder, root) -> builder.lessThan(root.get("enddate"), new Date()));
if (criteria.getGrantStateType().equals(GrantStateType.ONGOING.getValue()))
query.where((builder, root) ->
builder.or(builder.greaterThan(root.get("enddate"), new Date())
, builder.isNull(root.get("enddate"))));
}
if (criteria.isPublic()) {
query.where((builder, root) -> builder.equal(root.join("dmps").get("status"), DMP.DMPStatus.FINALISED.getValue())).distinct();
}
if (criteria.isActive()) {
query.where((builder, root) -> builder.notEqual(root.join("dmps").get("status"), DMP.DMPStatus.DELETED.getValue())).distinct();
}
if (criteria.getFunderId() != null && !criteria.getFunderId().trim().isEmpty())
query.where((builder, root) -> builder.equal(root.get("funder").get("id"), UUID.fromString(criteria.getFunderId())));
if (criteria.getFunderReference() != null && !criteria.getFunderReference().isEmpty())
query.where((builder, root) -> builder.or(builder.like(root.join("funder", JoinType.LEFT).get("reference"), "%" + criteria.getFunderReference())));
query.where((builder, root) -> builder.notEqual(root.get("status"), Grant.Status.DELETED.getValue()));
return query;
}
@Override
public Grant createOrUpdate(Grant item) {
return getDatabaseService().createOrUpdate(item, Grant.class);
}
@Override
public Grant find(UUID id) {
return getDatabaseService().getQueryable(Grant.class).where((builder, root) -> builder.equal((root.get("id")), id)).getSingle();
}
@Override
public void delete(Grant item) {
this.getDatabaseService().delete(item);
}
@Override
public QueryableList<Grant> asQueryable() {
return this.getDatabaseService().getQueryable(Grant.class);
}
public QueryableList<Grant> getAuthenticated(QueryableList<Grant> query, UserInfo principal) {
query.where((builder, root) -> builder.equal(root.get("creationUser").get("id"), principal.getId())).distinct();
return query;
}
@Async
@Override
public CompletableFuture<Grant> createOrUpdateAsync(Grant item) {
return CompletableFuture.supplyAsync(() -> this.createOrUpdate(item));
}
@Override
public Grant find(UUID id, String hint) {
throw new UnsupportedOperationException();
}
}

View File

@ -0,0 +1,13 @@
package eu.eudat.data.dao.entities;
import eu.eudat.data.dao.DatabaseAccessLayer;
import eu.eudat.data.dao.criteria.LockCriteria;
import eu.eudat.data.entities.Lock;
import eu.eudat.queryable.QueryableList;
import java.util.UUID;
public interface LockDao extends DatabaseAccessLayer<Lock, UUID> {
QueryableList<Lock> getWithCriteria(LockCriteria criteria);
}

Some files were not shown because too many files have changed in this diff Show More