Commit Graph

25 Commits

Author SHA1 Message Date
Mauro Mugnaini f3890b258f
Updated test to save and load from `d4science` folder in bucket 2024-03-28 17:19:39 +01:00
Mauro Mugnaini 6474834487
Fixed code to be compliant with resteasy REACT 2024-03-28 17:17:45 +01:00
Mauro Mugnaini c4f2631fd5
Moved code from `Resteasy classic` to `Reateasy reactive` since now Quarkus uses that version of lib instead of the old one 2024-03-25 12:18:22 +01:00
Mauro Mugnaini 42d59ab0a9 Skipping test when access and secret keys env. vars are not provided 2023-10-13 16:55:08 +02:00
Mauro Mugnaini a63f7b87c4 New S3 provider factory configured by default 2023-10-10 15:42:25 +02:00
Mauro Mugnaini 5ffd345e7e Some logs added 2023-10-10 15:41:48 +02:00
Mauro Mugnaini cb0b6505b3 New image reference and test bucket added 2023-10-10 15:41:37 +02:00
Mauro Mugnaini 382cbe5f8d Beta version of storage provider that saves/loads avatars from a S3 bucket 2023-10-09 17:20:47 +02:00
Mauro Mugnaini 157e5f46aa Minor optimizations and more talking logs messages 2023-10-09 17:14:41 +02:00
Mauro Mugnaini efea30e5e5 Moved from `javax.ws.rs.*` to `jakarta.ws.rs.*` classes and added support for CORS to HEAD and GET 2023-10-09 17:13:56 +02:00
Mauro Mugnaini 74c026dbe9 Fixed Java9+ deprecated code 2022-09-30 17:03:01 +02:00
Mauro Mugnaini 26fc964947 Default avatar folder now is a sub-folder of the `user.home` directory if the `jboss.server.data.dir` property is not set (or the runtime env. is not JBoss/WildFly) 2022-02-18 16:38:28 +01:00
Mauro Mugnaini dc74fa7cba Now a more correct `201 - No content` code returned as response if OK 2022-02-16 13:27:02 +01:00
Mauro Mugnaini 0afac36590 New resource IDs and URI path mappings 2022-02-16 13:26:13 +01:00
Mauro Mugnaini 5f43c1f3e5 Removed `stackeChecker` parameter check against session's attribute 2022-02-11 18:11:48 +01:00
Mauro Mugnaini 6ef80e59ef Changes to align to new API of Keycloak v15.1.1 2021-12-24 17:44:56 +01:00
Mauro Mugnaini 93d7da8c74 Updated athentication with bearer code took from new examples: added realm param 2021-05-20 18:26:24 +02:00
Mauro Mugnaini eb0d97f8b6 Correctly handling query param values that is a list 2020-12-17 12:32:33 +01:00
Mauro Mugnaini b22b405b41 Extra parameters present in request URI where lost for "account" related changes 2020-12-16 16:16:19 +01:00
Mauro Mugnaini a0bf4ee541 Changed auth code 2020-11-16 23:32:11 +01:00
Mauro Mugnaini ff6985ea48 Now a 404 not found status is returned if the avatar has not be set for the user instead of an empty image (zero bytes lenght) 2020-09-04 18:10:13 +02:00
Mauro Mugnaini 1c1f8ea18e Chnaged to authenticate identity by using Bearer token or cookie and better handling of unauthorized calls 2020-08-21 11:12:17 +02:00
Mauro Mugnaini e9061b5fee Added `deleteAvatarImage` method and implementations 2020-08-21 11:07:00 +02:00
Mauro Mugnaini 82d779dced Moved in d4science theme project 2020-08-21 11:04:39 +02:00
Mauro Mugnaini ee74c947d0 Completed the refactoring as Maven multi-module project and each project has been documented as the new project template advise. It also provide the avatar support (#19726) 2020-08-13 16:27:32 +02:00