-
Notifications
You must be signed in to change notification settings - Fork 3
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
1790: Verein360 endpoint protection #1811
Conversation
8924111
to
62e1ae5
Compare
backend/src/main/kotlin/app/ehrenamtskarte/backend/common/webservice/Utils.kt
Outdated
Show resolved
Hide resolved
❓ Not directly related to the current PR but I have to ask somewhere: |
❓ and one more general question: |
Yes i think we decided on not sending mails in this case. For organizations it makes no sense and for the users we would have to adjust the texts because they not really submitted the application |
You are right, this was a bug. I fixed it. |
Ok good point. I would split this:
|
pls update the branch, I will re-test all together :) |
# Conflicts: # backend/src/main/kotlin/app/ehrenamtskarte/backend/application/webservice/EakApplicationMutationService.kt
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine! Nicely done!
One thing i think we have to handle somehow
If i send an empty string for any value like forename
i get a server response of
{
"title": "Server Error",
"status": 500,
"type": "https://javalin.io/documentation#internalservererrorresponse",
"details": {}
}
And the api throws internally
Caused by: app.ehrenamtskarte.backend.exception.webservice.exceptions.InvalidJsonException: Exception for GraphQL error INVALID_JSON was thrown.
Just added some minor comments about code style in react
This will be handled here, right? #1816 |
Sorry i just realized that there is already an issue! I think thats fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on chrome. Works fine. 👍
I'm okay with merging it even i think the small proposals for the quick indicator would improve the code
Added your suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! 👍
Good point. Yes may be an option. I will create ticket. |
Short description
Finalize the verein360 endpoint
Proposed changes
Side effects
Testing
Create an api token
create applications with and without the api token
create applications with and without the pre-verified flag set
create applications with one or multiple organizations
Resolved issues
Fixes: #1790 #1625