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

Reset to upstream v4.2.8 with select changes #68

Merged
merged 247 commits into from
Feb 29, 2024

Conversation

toufali
Copy link
Collaborator

@toufali toufali commented Feb 27, 2024

The base branch upstream-v4.2.8 is identical to the upstream branch at v4.2.8.

The branch being pulled, upstream-v4.2.8-main-changes is based off main. It should include all the changes we intend to keep with our fork. It should be reviewed and unnecessary changes should be identified and removed.

After merging this PR, the base branch (upstream-v4.2.8) should be merged to main. Our main branch should then be as close to upstream as possible with our required additions.

toufali and others added 30 commits March 6, 2023 14:20
This makes it so that when a user reports an account and selects "I don't like it", instead of getting a message about how they should personally block that person, it sends them to the normal reporting interface and they can file their report.

Fixes mastodon#1202

Signed-off-by: Robert Helmer <rhelmer@mozilla.com>
Make the "I don't like it" category let you report an account
This makes it so that when a user reports an account and selects "I don't like it", instead of getting a message about how they should personally block that person, it sends them to the normal reporting interface and they can file their report.

Fixes mastodon#1202

Signed-off-by: Robert Helmer <rhelmer@mozilla.com>
direct user to homepage after logout/sign-out
MZTDN-100 - followup to add dislike as report category
add OIDC issuer to form-action CSP directive
@toufali
Copy link
Collaborator Author

toufali commented Feb 27, 2024

I've done a first pass at reverting the more obvious stuff (code format, etc).

@toufali toufali marked this pull request as draft February 27, 2024 04:21
@toufali toufali marked this pull request as ready for review February 28, 2024 23:46
Comment on lines 90 to 94
if ENV['OMNIAUTH_ONLY'] == 'true' && ENV['OIDC_ENABLED'] == 'true'
'/auth/auth/openid_connect/logout'
else
new_user_session_path
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO: reverting this means we need to elegantly handle the logout route sent to OIDC service, else user contends with additional OIDC sign-out flow and doesn't redirect back to Mastodon

Copy link

@aaga aaga left a comment

Choose a reason for hiding this comment

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

lgtm! love this format of merging in upstream.

@toufali toufali merged commit ad7a270 into upstream-v4.2.8 Feb 29, 2024
50 of 63 checks passed
@toufali toufali deleted the upstream-v4.2.8-main-changes branch February 29, 2024 19:37
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.