Commit Graph

122 Commits

Author SHA1 Message Date
George Kalampokis 2666568fab Make Dataset Validation checker to no longer be exception depedant 2022-03-29 15:11:55 +03:00
Bernaldo Mihasi 65b4e58aad attach images in word export 2022-03-17 10:47:50 +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
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 94a225cf9f Add Description on Dataset Export 2022-02-22 16:39:35 +02:00
Bernaldo Mihasi da5ba952e1 rda export import tag bug, format preffiling fixed 2022-02-17 10:11:34 +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
Bernaldo Mihasi 125a97baed keyword-tags exported-imported fixes, prefilling more mapping 2022-01-28 14:55:52 +02:00
George Kalampokis 19aa2bd411 Fix critical issue with public datasets 2021-11-25 16:45:29 +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 39795f177f Fix critical issue with file exports on chromium based web browsers 2021-11-02 14:50:20 +02:00
George Kalampokis a4fef8e462 Refactor PDF conversion 2021-10-12 18:17:16 +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 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 54c862ecbb Minor metrics refactor 2021-10-05 13:09:02 +03:00
George Kalampokis 91729bab6d Optimize queries 2021-09-30 18:02:53 +03:00
George Kalampokis 06364873ca Fix issue with unordered multiplicity fields 2021-09-27 18:11:55 +03:00
George Kalampokis 1ae2788453 Fix various issues with spring update 2021-09-14 17:43:02 +03:00
George Kalampokis 6f92409f1e Update Spring boot framework to version 2.5.2 2021-09-07 09:42:31 +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 4b3468d513 Fix issue when validating dataset for finalization (needs rework) 2021-07-19 18:31:16 +03:00
George Kalampokis dcd7f24cac Fix listing issues and improve elastic query 2021-06-29 11:45:20 +03:00
George Kalampokis be311f238b Add visibility rules checkup on dataset finalize checkup 2021-06-01 12:30:01 +03:00
George Kalampokis 1d5befaf6a Add new endpoint in order to validate datasets 2021-05-10 13:40:08 +03:00
Diamantis Tziotzios ede8bbf48e metrics update 2021-04-15 18:30:16 +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 aca31dc9da Add prometheus integration (ref #294) 2021-04-09 19:05:04 +03:00
George Kalampokis c57820d6b1 Remove "External References" from docx generation 2021-04-08 16:48:14 +03: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 4cc44814e2 Minor improvements to error checkups 2020-09-14 18:09:57 +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 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
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 4b30d56d91 Fixed issue if dataset has no profile 2020-07-29 17:52:51 +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 e6da46730b Improved Dataset error handling when retrieving data 2020-07-21 16:05:34 +03:00
gpapavgeri a4b61c2172 dmp&dataset overview_remove user & invite user update 2020-07-09 10:17:49 +03:00
George Kalampokis 372c9bb074 Add support for Dataset Overview 2020-07-03 16:11:54 +03:00
George Kalampokis 64078eb283 Add isProfileLatestVersion on DatasetListingModel 2020-06-30 18:29:06 +03:00
George Kalampokis a8015064a8 Prevent storing Tags if the elastic service is unavailable 2020-06-16 11:17:07 +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 96576b16a8 Merge Dataset Index to the Dmp Index (ref #252) 2020-04-17 13:01:26 +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 f8d343c128 Fixed dataset Export 2020-03-31 10:08:25 +03:00
George Kalampokis af93a2ce99 Fixed RDA Import indexing 2020-03-27 16:50:20 +02:00