-
Notifications
You must be signed in to change notification settings - Fork 24
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
Accept terms of Service at signup #8193
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
a44f782
Adapt create org route in backend to accept terms of service version
frcroth b62721f
Merge branch 'master' into accept-tos-at-sign-up
frcroth 94716a7
fix inconsistency
frcroth 5607fcc
Fix formatting
frcroth 05eed1c
start to implement frontend
knollengewaechs ae61dc6
delete old tos modal, add checkboxes to forms and add style
knollengewaechs 5340755
improve styling and remove random new test file
knollengewaechs ce2396f
Merge branch 'master' into accept-tos-at-sign-up
knollengewaechs 4ea0446
Supply user access context at sign up tos acceptance
frcroth 77e2a59
send org name as id
knollengewaechs b1bb0b8
add tos modal again
knollengewaechs a4817e4
Merge branch 'master' into accept-tos-at-sign-up
knollengewaechs f52c528
Fix frontend lint
frcroth 2602e5b
Add changelog
frcroth e5d5f19
Revert "send org name as id"
frcroth db456d0
Merge branch 'master' into accept-tos-at-sign-up
frcroth 377d289
Require terms of service at sign up if enabled
frcroth 8d618c4
invert logic for rendering tos checkbox
knollengewaechs 6c819e3
Add explanation on tos failure because of non-acceptance
frcroth 1d2ecb2
Revert changes to application.conf
frcroth 94be416
Merge branch 'master' into accept-tos-at-sign-up
frcroth d60afaa
extract TOS checkbox to component
knollengewaechs ca427bc
Merge branch 'master' into accept-tos-at-sign-up
frcroth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
While being nitpicky 🙈
Could you please add an error message like
? 🙏
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.
Else some kind of generic 400 error would be returned where an explanation would be useful IMO
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.
I can do this of course, no problem. Note that the user would not see 400 anyway because the frontend does not allow not accepting TOS.
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.
Sure, I just thought in case the logic changes in the frontend and a little bug or so is introduced, that the backend 1. ensures that tos is accepted and 2. in case it is not, the error returned is understandable.
Thanks a lot 🙏