-
Notifications
You must be signed in to change notification settings - Fork 9
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
add federation #972
Merged
Merged
add federation #972
Conversation
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
felixrindt
reviewed
Jun 8, 2023
ephios/plugins/federation/forms.py
Outdated
Comment on lines
77
to
98
response = requests.post( | ||
urljoin(data["host_url"], reverse("federation:redeem_invite_code")), | ||
data={ | ||
"name": global_preferences_registry.manager()["general__organization_name"], | ||
"url": data["guest_url"], | ||
"client_id": oauth_application.client_id, | ||
"client_secret": oauth_application.client_secret, | ||
"code": data["code"], | ||
}, | ||
) |
Check failure
Code scanning / CodeQL
Full server-side request forgery
The full URL of this request depends on a [user-provided value](1).
Comment on lines
+35
to
+45
r = requests.get( | ||
urljoin(host.url, reverse("federation:shared_event_list_view")), | ||
headers={"Authorization": f"Bearer {host.access_token}"}, | ||
timeout=5, | ||
) |
Check failure
Code scanning / CodeQL
Full server-side request forgery
The full URL of this request depends on a [user-provided value](1).
felixrindt
reviewed
Jun 19, 2023
felixrindt
reviewed
Jul 12, 2023
felixrindt
requested changes
Jul 21, 2023
ephios/plugins/federation/templates/federation/invitecode_form.html
Outdated
Show resolved
Hide resolved
ephios/plugins/federation/templates/federation/external_event_list.html
Outdated
Show resolved
Hide resolved
ephios/plugins/federation/templates/federation/external_event_list.html
Outdated
Show resolved
Hide resolved
ephios/plugins/federation/templates/federation/event_detail.html
Outdated
Show resolved
Hide resolved
felixrindt
approved these changes
Jul 21, 2023
felixrindt
requested changes
Jul 21, 2023
felixrindt
reviewed
Aug 2, 2023
…I route for own user data
felixrindt
requested changes
Aug 8, 2023
felixrindt
reviewed
Aug 8, 2023
felixrindt
reviewed
Aug 22, 2023
# Conflicts: # ephios/api/templates/oauth2_provider/application_list.html # ephios/api/templates/oauth2_provider/authorize.html # ephios/templates/base.html # poetry.lock # pyproject.toml
felixrindt
approved these changes
Oct 7, 2023
# Conflicts: # poetry.lock # pyproject.toml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
first draft with on-demand events fetching according to design blog.