Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #57: Implement image validation in backend #58

Merged
merged 24 commits into from
Apr 10, 2024

Conversation

MaxenceGui
Copy link

@MaxenceGui MaxenceGui commented Feb 20, 2024

Tasks

  • Add an image validation function in the backend
  • Implement extension validation check
  • Implement resizable validation check
  • Implement size validation check
  • Implement file header validation check

@MaxenceGui MaxenceGui added this to the M1 (2024 February) milestone Feb 20, 2024
@MaxenceGui MaxenceGui self-assigned this Feb 20, 2024
@MaxenceGui MaxenceGui linked an issue Feb 20, 2024 that may be closed by this pull request
5 tasks
@MaxenceGui MaxenceGui marked this pull request as ready for review March 20, 2024 20:34
@MaxenceGui MaxenceGui requested review from a team, rngadam and RussellJimmies March 20, 2024 20:34
app.py Outdated Show resolved Hide resolved
Maxence Guindon and others added 2 commits March 21, 2024 09:58
Copy link
Member

@k-allagbe k-allagbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just optional considerations if even relevent.

app.py Outdated Show resolved Hide resolved
app.py Show resolved Hide resolved
@MaxenceGui MaxenceGui requested a review from k-allagbe March 26, 2024 13:06
@MaxenceGui
Copy link
Author

MaxenceGui commented Mar 26, 2024

Just optional considerations if even relevent.

Your comments are always relevant and welcome

@MaxenceGui MaxenceGui removed this from the M2 (2024 March) milestone Mar 27, 2024
app.py Outdated Show resolved Hide resolved
app.py Show resolved Hide resolved
app.py Outdated Show resolved Hide resolved
app.py Outdated Show resolved Hide resolved
@MaxenceGui MaxenceGui requested a review from rngadam April 3, 2024 14:25
@rngadam
Copy link

rngadam commented Apr 5, 2024

image

revisit environment variables to set reasonable defaults when a variable is not set.

@MaxenceGui
Copy link
Author

image

revisit environment variables to set reasonable defaults when a variable is not set.

Done

Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost there, just one tweak on the new size variable

app.py Outdated Show resolved Hide resolved
app.py Outdated Show resolved Hide resolved
tests/test_image_validation.py Outdated Show resolved Hide resolved
@MaxenceGui MaxenceGui requested a review from a team as a code owner April 8, 2024 15:43
@MaxenceGui MaxenceGui requested a review from rngadam April 8, 2024 15:44
@RussellJimmies RussellJimmies self-requested a review April 9, 2024 20:36
@rngadam rngadam self-requested a review April 10, 2024 12:52
Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be rebased

@MaxenceGui
Copy link
Author

Needs to be rebased

Rebase done

Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix linting error

app.py Show resolved Hide resolved
app.py Show resolved Hide resolved
@MaxenceGui MaxenceGui merged commit 918cd38 into main Apr 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement image validation in backend
5 participants