Commit Graph

232 Commits

Author SHA1 Message Date
Bernaldo Mihasi 679354f699 deposit datasets' attached files in zip format 2022-11-30 09:43:03 +02:00
Bernaldo Mihasi 59e26dbb8d [WIP] EntityDoi table 2022-11-02 09:41:40 +02:00
Bernaldo Mihasi 20f618a5d7 fix request body examples in publicapi 2022-10-18 09:39:46 +03:00
George Kalampokis e373baee7e Fix critical issue when importing from xml with researchers 2022-04-07 17:31:44 +03: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
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 ea72f64ed4 Replace DB DOIFunder with a json config file 2022-03-01 14:37:49 +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 d1eab0d019 Fix issue with not showing datasets on all version listing 2022-02-22 11:30:22 +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 a7badfd9d5 Add nexus prometheus metrics 2021-11-09 13:05:38 +02: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 91729bab6d Optimize queries 2021-09-30 18:02:53 +03:00
George Kalampokis 1ae2788453 Fix various issues with spring update 2021-09-14 17:43:02 +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 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 016acaaa0f When counting organizations for the user count only the active ones 2021-07-19 18:34:29 +03:00
George Kalampokis d1e3aae36d Fix critical issue with dataset's copy dropdown 2021-06-30 12:51:12 +03:00
George Kalampokis dcd7f24cac Fix listing issues and improve elastic query 2021-06-29 11:45:20 +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 1eb9aadaea IGNORE ME 2021-06-15 11:25:11 +03:00
George Kalampokis b76a787972 Hide grants without any active dmp 2021-05-10 17:17:08 +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
George Kalampokis a28e26e594 Allow to query using exact reference 2021-04-29 11:58:03 +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 af04e34b6f Add new User Role Dataset Template Editor. 2021-04-06 19:03:00 +03:00
George Kalampokis d6970cc49a Add avatarUrl on UserListingModel 2020-12-02 14:19:43 +02:00
George Kalampokis ff169ae806 Made User Merge logic functional 2020-10-27 18:06:58 +02:00
George Kalampokis e1212383ff Add expirimental logic for userMerge (+ some updates for DB) 2020-10-23 18:40:17 +03:00
George Kalampokis a78044920a Fixed issues with elastic and last public version 2020-10-12 12:45:32 +03:00
George Kalampokis cd5295437b Fix minor issue with DMP criteria 2020-08-03 16:56:36 +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
George Kalampokis 4e249e4b8b Add get All Versions Endpoint to the Backend 2020-07-09 13:11:43 +03:00
George Kalampokis d51099cedc Further fixes and improvements over recent activity 2020-07-03 13:55:25 +03:00
George Kalampokis e8c90e66a5 Add support for newer versions of java (11) (expirimental) 2020-06-29 12:50:35 +03:00
George Kalampokis ba091fad6c Remove User Association Table 2020-06-10 16:09:26 +03:00
George Kalampokis 78ee4673ee Add ExtraProperties for DMP and language for Dataset Template 2020-06-03 12:13:31 +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 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 0eb0707fd5 Add openaire grant on DOI creation (ref #257) 2020-05-06 18:11:33 +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 2ba3f11687 Add additional editors for the remaining external references 2020-04-14 16:43:09 +03:00
George Kalampokis 3ce7fe7595 Allow to edit user created Data Repositories 2020-04-10 18:52:14 +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 1d05c73745 Even more bugfixes 2020-03-17 17:10:14 +02:00
George Kalampokis 35b89edabc Integrate Public Dataset Listing to regular Dataset Listing 2020-03-16 18:50:29 +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 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 f22cd0617a Small fix 2020-02-10 18:29:54 +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 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 cd1d81c3dd Only Dataset Description Templates listing will show non-finalized templates (ref #227) 2020-01-20 18:11:35 +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 ae84be5844 Replaced System.out.println, System.err.println and printStackTrace with a logger (ref #223) 2020-01-16 17:46:24 +02:00
gkolokythas 2958cab113 Refactors how "External Resources" are saved on Dataset. 2020-01-14 13:36:48 +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 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 aaae4ec3fa Fixes "published DMPs" listing now fetching latest version of every DMP. 2020-01-09 14:32:03 +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 a80a935ff3 Fixes bug on not fetching internal saved Grants. 2019-12-12 18:29:56 +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
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 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
gkolokythas 5285c1a3a6 Fixes bug on "Dataset Specification" criteria of "Published DMPs". 2019-11-14 12:23:53 +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
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 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
gkolokythas 446717da97 Adds "Creation User" on DataRepository, ExternalDataset, Registry, Service. (Issue #168) 2019-09-25 13:43:17 +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
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 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 d0c464cb31 Fixes various code missteps. 2019-09-23 12:11:00 +03:00
gkolokythas 68cb9846bb Fixes bug on External References not updating values. 2019-09-20 17:51:13 +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 7fe3962be4 Fixes bug not saving or updating the "Uri" value on a Dataset Description. 2019-09-06 12:15:05 +03:00
gkolokythas bca715d52b Fixes bug on not storing Funder Id on Grant table. 2019-08-27 17:00:09 +03:00
gkolokythas 1bd789b924 Fixes bug on Grant's query with criteria. 2019-08-26 17:56:16 +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
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 230e7481b1 Fixes bug on Funder like criteria. (Issue #145) 2019-08-22 12:23:04 +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 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 feaec87b82 Renames "Project" to "Grant on backend. (Issue #145) 2019-07-31 17:57:34 +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