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

v0.11.2 hotfix #224

Merged
merged 17 commits into from Dec 18, 2019
Merged

v0.11.2 hotfix #224

merged 17 commits into from Dec 18, 2019

Conversation

thebaer
Copy link
Member

@thebaer thebaer commented Dec 18, 2019

v0.11.2

User-Facing Changes / Fixes

thebaer and others added 17 commits November 19, 2019 09:59
Previously, this check would return a "user not found" error when
retrieving a collection post by its post ID, e.g. /api/posts/abc123
instead of /api/collections/demo/posts/my-slug -- this happens
particularly when `Announce`ing a post in the fediverse. This change
fixes that.
Previously, fetching ActivityStreams data about a post via
/api/posts/ID, instead of /api/collections/ALIAS/posts/SLUG wouldn't
include the instance's base URL. This fixes that.
Fix suspension check in fetchPost()
This adds the instance's Hostname to the collection data loaded when
editing a collection post or its metadata. While not technically needed
in this situation, it suppresses an alarming error log.

Resolves #216
Fixed "user-supsended" to "user-suspended"
Use "silenced" phrasing instead of "suspended"
Suppress log when editing a collection post or its metadata
Previously, any password-protected collection on a suspended account
would prompt visitors for a password, and *then* take them to the "not
found" page. This fixes that.
Logged-in users never see this particular page, so it's not needed here.
a user who had previously authenticated on a protected collection would
still see the post after the owner was silenced, with a banner meant for
the owner displayed.
This also saves a user suspension check when a post isn't found.
Fix password-protected page template
Prevent failed requests on failed user silence check
@thebaer thebaer added this to the 0.11.2 milestone Dec 18, 2019
@thebaer thebaer merged commit e16ea3b into master Dec 18, 2019
@thebaer thebaer deleted the hotfix-0.11.2 branch June 26, 2021 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant