Ajouter de la validation sur les images ajoutées
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Start at the event image-addition endpoint and trace how uploaded images are stored and how the event preview selects an image. Check the existing event and image tests, if present, before implementing validation for MIME type, aspect ratio, minimum dimension, required upload, and reduced-image storage. Done means all constraints are enforced and previews use the reduced version.
Written by the indexing model from the issue text.
Description
Il faudrait que l'ajout d'une image dans un événement soit obligatoire.
De plus, l'image a les contraintes suivantes:
- Le fichier doit être d'un MimeType général "Image"
- Le format peut être entre 3:4 et 16:9
- La plus petite dimension doit être au minimum de 250 pixels
- Une version réduite de l'image doit être enregistrée en plus de la version en taille réelle
- L'aperçu d'événement doit afficher la version réduite de l'image au lieu de la version intégrale
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ApplETS/Backend-Hello
-
:1st_place_medal: good first issue :cowboy_hat_face: refactor :roller_coaster: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ApplETS/Backend-Hello#78 ·
-
:1st_place_medal: good first issue :cowboy_hat_face: refactor :scroll: documentation
Difficulty 5/5 Over a week Newbie friendliness 35/100
ApplETS/Backend-Hello#76 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
ApplETS/Backend-Hello#75 ·
-
:roller_coaster: enhancement
Difficulty 5/5 Over a week Newbie friendliness 28/100
ApplETS/Backend-Hello#73 ·
-
:roller_coaster: enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
ApplETS/Backend-Hello#71 ·
All issues in ApplETS/Backend-Hello
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Include host.wslc.internal in the HTTPS development certificatePossibly taken @afscrome claimed this today. Openarea-commandlinetools
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dotnet/aspnetcore#70122 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 2 days
-
status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Altinn/altinn-studio#21642 ·
Maintainers usually reply within 1 day