fred4jupiter / fredbet

Simple football betting application using Spring Boot, Thymeleaf and Bootstrap. Well prepared for betting with friends.
MIT License
123 stars 64 forks source link

Avatars lost when importing using JSON #52

Closed lars-devs closed 3 months ago

lars-devs commented 5 months ago

Hi, first kudos to you for the great project and the EM template!

I just found out that importing using the JSON results in loss of avatars. Since the exported JSON doesn't include images and I agree it would break the single file approach if images would be included, I do think that avatars should be kept if the JSON to be imported includes existing users with avatars already uploaded.

Greets Lars

fred4jupiter commented 4 months ago

Avatars are not included in Json export, thats right. I will leave this ticket open as a feature request to be included in the future. Greets, Michael

fred4jupiter commented 3 months ago

Hi Lars, I have integrated user profile image (avatars) in JSON export and import. Please check the "latest" tag of the docker image.

Greets, Michael

lars-devs commented 3 months ago

Hi Michael,

amazing, works like a charm! Thanks.

Regards, Lars