George Kalampokis
93deb96f99
Update and clean maven depedencies (possible breaking changes)
2022-05-17 09:53:09 +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
5ea8b9b964
Minor fix for visibility Rules Service
2022-03-01 17:14:02 +02:00
George Kalampokis
ea72f64ed4
Replace DB DOIFunder with a json config file
2022-03-01 14:37:49 +02:00
George Kalampokis
4740fbe8e0
Refactor visibilityRuleService
2022-02-09 15:23:16 +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
George Kalampokis
2c29469590
Allow to configure the path of the email templates (ref #7122 )
2021-10-25 16:06:08 +03:00
George Kalampokis
524cededb6
Fix issue when exporting to docx/pdf
2021-10-06 18:16:39 +03:00
George Kalampokis
99e4d231c2
Possible patch some leaks
2021-09-27 18:14:21 +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
596550d3de
Extend user token duration to 10 days
2021-07-21 11:17:32 +03:00
George Kalampokis
af04e34b6f
Add new User Role Dataset Template Editor.
2021-04-06 19:03:00 +03:00
George Kalampokis
70056bd0a9
Fix issue with login for new users
2020-11-04 16:52:10 +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
George Kalampokis
981eb48d89
Add email for Merge requests
2020-10-27 12:06:32 +02:00
George Kalampokis
2b89f646ee
Fix emails that are sent with images
2020-10-27 12:01:18 +02:00
George Kalampokis
e1212383ff
Add expirimental logic for userMerge (+ some updates for DB)
2020-10-23 18:40:17 +03:00
George Kalampokis
1dbe320706
Improve expiredAt calculation
2020-09-07 18:15:52 +03:00
George Kalampokis
4127a05da4
Add Email Field on Principal
2020-07-17 13:15:44 +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
9751d0fb78
Fixed issue with invitation properties
2020-07-10 12:36:47 +03:00
George Kalampokis
451ed453f9
Add role to the invitation model
2020-07-10 10:11:41 +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
5b0a66ce06
Removed deprecated configurations and added additional RDA Common Standards for dataset Templates
2020-05-29 11:57:21 +03:00
George Kalampokis
0eb0707fd5
Add openaire grant on DOI creation (ref #257 )
2020-05-06 18:11:33 +03:00
George Kalampokis
f397ce6c72
Fixed issue when creating new users
2020-05-04 17:19: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
982aea0cbf
Improved Zenodo Account Integration
2020-04-10 17:16:37 +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
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
bf60e661ab
Refactor backend resources and added logback configurations
2020-03-03 11:09:27 +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
69fde5f353
Even more Replacements of the HttpRemoteLogger with the sl4j Logger (ref #223 )
2020-01-28 18:33:50 +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
43fbacc39f
Adds Funder's entity its respected needed properties for external fetching. (Issue #145 )
2019-08-20 18:22:53 +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
f8310b2362
Adds email confirmation logic and view.
2019-07-12 17:12:16 +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
ebfde3e992
Fixes bug on create Dmp not saving the role on the Database.
2019-05-13 13:30:35 +03:00
gkolokythas
11c1ac33cf
Adds the criteria on DMP listing and refactors the backend userInfo.
2019-05-10 11:33:48 +03:00
Ioannis Kalyvas
c7115f752a
Refactoring Elastic Search Loggers for Logging and Auditing
2018-10-16 18:13:02 +03:00
Ioannis Kalyvas
1d4eb0128e
Implemented Simple Locking Mechanism for Editing/Viewing Datasets - (Ticket #45 - Dataset editing / viewing modes)
2018-10-10 10:48:41 +03:00