Commit Graph

276 Commits

Author SHA1 Message Date
George Kalampokis 8951b61b3b Return the id of the cloned dmp when calling the dmp/clone endpoint 2020-09-02 18:32:12 +03:00
George Kalampokis e1368e270a Update Zenodo's file API 2020-08-25 17:30:29 +03:00
George Kalampokis fa86258197 Fixed minor issue with Zenodo file names 2020-08-24 12:03:29 +03:00
George Kalampokis 4d249eeae4 Changed the file format when creating Zenodo Deposit 2020-08-24 10:49:50 +03:00
George Kalampokis 5d44d8bf45 Fixed issue when finalizing datasets from the DMP Overview. 2020-07-31 14:04:49 +03:00
George Kalampokis dc83a3a09c Fixed Various issues when creating or updating DMP with datasets 2020-07-28 17:35:55 +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
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 052430d97c Minor fixes 2020-07-09 15:02:16 +03:00
George Kalampokis 4e249e4b8b Add get All Versions Endpoint to the Backend 2020-07-09 13:11:43 +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 ace12c3140 Add updateusers end point for DMP 2020-07-07 12:22:45 +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
George Kalampokis 64624ca6f1 Properly remove associate Collaborators from a DMP 2020-07-02 17:08:38 +03:00
George Kalampokis 6e4e23e00d Add Zenodo file visibility field for DMP (ref #274) 2020-06-29 12:23:53 +03:00
George Kalampokis b0dddeeb51 Add DMP Zenodo license field (ref #274) 2020-06-26 11:46:18 +03:00
George Kalampokis 55d3feb4e3 Fixed minor issues with RDA Mapping 2020-06-25 13:30:47 +03:00
George Kalampokis a8015064a8 Prevent storing Tags if the elastic service is unavailable 2020-06-16 11:17:07 +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 12587ee865 Add rda support for researchers and tags field 2020-06-09 16:25:50 +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 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 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
George Kalampokis 0eb0707fd5 Add openaire grant on DOI creation (ref #257) 2020-05-06 18:11:33 +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 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 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 80a11b2cb3 Fixed dataset indexing when finalizing DMPs 2020-04-13 16:35:32 +03:00
George Kalampokis 330ead8f39 Additional checkup 2020-04-07 18:42:33 +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 d664d19207 Improvements and bugixes over elastic 2020-04-06 18:34:25 +03:00
George Kalampokis 71ccd76896 Fixed and improved file export system 2020-04-02 17:22:41 +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 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 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 9de0989976 Added Host and License RDA imports & (not functional yet) dataset indexing 2020-03-27 15:42:47 +02:00
George Kalampokis b03d45661e Add RDA Import 2020-03-27 15:42:45 +02:00
George Kalampokis 9e72be32d4 Add new RDA exporter 2020-03-27 15:42:40 +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 aa1156f940 Add Form Data index for dataset 2020-03-18 18:23:34 +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 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 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 286c5d8900 When new DMP Version is made create also Dataset description index for the new version 2020-03-13 12:02:19 +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 e243126bf9 Fixed DMP import(xml) and move the import button to a better place 2020-03-03 11:16:02 +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 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 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 95d1da10bb Removed unused role CREATOR 2020-02-18 18:25:41 +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 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 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 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
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 691508aa0c Fixes bug on being able to fetch deleted DMPs on "DMP overview" view. 2020-01-16 17:14:50 +02:00
gkolokythas 009bd68f71 Fixes bug on setting "Creation User" on a external fetched Grant. 2020-01-13 10:59:48 +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 fa22017d48 Fixes clone functionality not working on published DMPs. 2020-01-07 18:17:21 +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 7d6790b225 Fixes bug missing Project id on default creating Project entity on DMP. 2019-12-12 13:04:00 +02:00
gkolokythas b3422f83ef Adds missing changes for RDA refactor. 2019-12-11 12:55:40 +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 de5dcb7d4c Improves usability of Copy Dataset Description dialog 2019-11-07 16:37:07 +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
gkolokythas e0c5e4a955 Fixes bug on DMP and Dataset docx export, removing the upper empty element. 2019-10-30 18:21:04 +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
gkolokythas d279cb65be Refactors DMP's pdf, xml, document and rda-json export security. 2019-10-29 13:30:44 +02:00
gkolokythas 31b21289a0 Fixes bug not importing model 2019-10-15 13:44:45 +03:00
gkolokythas 06f43ef1a6 Adds new properties on RDA export model. 2019-10-11 16:39:29 +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
gkolokythas 47c2940517 Adds "creationUser" on Researcher entity. (Issue #168) 2019-09-30 17:42:01 +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
gkolokythas ccb96aeb13 Fixes bug on DMP's filter Role. 2019-09-26 12:44:39 +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 26f27f3d6d Fixes DMP export bug including Dataset Descriptions with Canceled or Deleted status. (Issue #159) 2019-09-18 13:28:02 +03:00
gkolokythas c9ca55fd76 Fixes bug on setting Dynamic configuration of a DMP. 2019-09-13 13:08:37 +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 27e9e2ac97 Fixes bug not adding Creation User on new Grant. 2019-08-28 16:20:55 +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 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 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
gkolokythas 05c4039dbe Fixes bug on Zenodo DOI's property "creator name". 2019-08-21 17:31:33 +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 feaec87b82 Renames "Project" to "Grant on backend. (Issue #145) 2019-07-31 17:57:34 +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 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 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 f5458de003 Fixes bug on DMP and Dataset export name. 2019-07-04 12:43:48 +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
gkolokythas 92486b9363 Creates new back end service that finalizes a DMP. 2019-06-28 15:58:25 +03:00
gkolokythas f07384ed42 Fixes bug on DMP finalize when no Datasets where to be Canceled. 2019-06-24 17:59:51 +03:00
gkolokythas 4aedfdd7f6 Fixes bug on not creating finalized DMP. 2019-06-24 11:01:28 +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
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 c5d00b9ba1 Fixes bug on enabling a Finalized DMP to be made Draft again. 2019-06-21 12:31:15 +03:00
gkolokythas 499149ea93 Adds "make public DMP" service on backend. 2019-06-20 16:25:49 +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 173ff16602 Fixes bug on DMP not creating new Project when needed. 2019-06-13 10:32:45 +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 d4832731af Adds new endpoint to get overview single public DMP. 2019-06-10 12:27:16 +03:00
gkolokythas 3d7e31e145 Fixes bug on Public DMP editing exposing not "Finalized" Datasets. 2019-06-07 16:35:49 +03:00
gkolokythas b8e08869e5 Removes some unused imports and formats DatasetManager. 2019-06-04 17:16:12 +03:00
gkolokythas 9911dcdac5 Adds DMP export to JSON file (RDA template, not finished). 2019-06-04 17:04:04 +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
gkolokythas 8705f916b2 Fixes bug on DMP updating modified date. 2019-05-30 15:41:23 +03:00
gkolokythas 56ff4f3fb9 Fixes bug on DMPdao. 2019-05-30 11:31:08 +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
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
gkolokythas 7844c33b7c Various improvements on DMP document export. (Issue #71) 2019-05-22 11:53:30 +03:00
gkolokythas dd973d4b78 Adds endpoint for the new model DataManagmentPlanOverview. 2019-05-17 18:21:56 +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 0ee3299d79 Fixes DMP invitation bug not properly saving the information. 2019-05-14 16:40:25 +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