Commit Graph

107 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou eee9faee28 Add DMP Roadmap database configuration and Template table. Make entity manager Primary and name entityManager to avoid conflicts on bean initialization. 2022-04-27 17:21:04 +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 ea72f64ed4 Replace DB DOIFunder with a json config file 2022-03-01 14:37:49 +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 91729bab6d Optimize queries 2021-09-30 18:02:53 +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 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 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 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 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 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 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 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 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
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 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 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 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 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 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 d0c464cb31 Fixes various code missteps. 2019-09-23 12:11:00 +03:00