fred4jupiter / fredbet

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

Feature request #42

Closed sunnybeats closed 8 months ago

sunnybeats commented 8 months ago

Hey its me again. There is one idea gor the future. Is it possible to create a detting to disable the photo upload or set a limit "pool size"

Because in theory somebody could overload my server with picture.

Especially if i enable the self register function.

Thanks :)

fred4jupiter commented 8 months ago

Hi, I could think of a user limit for uploading photos. Generally you should "know" your user, because you (or the admin) created them or they self register with a given registration code you gave to them.

fred4jupiter commented 8 months ago

I added the possibility to limit the number of photo uploads per user. Please see latest docker tag (tag "latest").

sunnybeats commented 8 months ago

Hey, Thanks for the fast patch. I already updated my container hope the build version 3.0.2 in Systeminfo of the webui is right.

But i wasnr able to find the option yet. I looked in Admin/user and Admin/Configuration for it.

Am i looking at the wrong places?

Thanks a lot!

fred4jupiter commented 8 months ago

Version 3.0.2 is not released yet. I mean the "latest" tag in docker:

docker run -d -p 8080:8080 fred4jupiter/fredbet:latest

See config under Admin -> Configuration

sunnybeats commented 8 months ago

I tried it wirh a new container instead of updating my existing one and ir works!

So it was my fault in the update process. Sorry.

fred4jupiter commented 8 months ago

Just released version 3.1.0 where this feature is included. So I will close this issue.