Draft: Support indexable for use by Mastodon search #7808

Open
mkljczk wants to merge 1 commit from gitlab-mr-iid-4431 into develop
Owner

I don't know if we should allow configuring this or just hardcode "indexable" => true in the activitypub actor view instead

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.
I don't know if we should allow configuring this or just hardcode `"indexable" => true` in the activitypub actor view instead ### Checklist - [x] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`.
Owner

Instead of defaulting to true all the time and adding a new column to the schema, wouldn't it be better to use the already existing is_discoverable bool for this? Which already is included in the API responses under .source.pleroma.discoverable.

Instead of defaulting to true all the time and adding a new column to the schema, wouldn't it be better to use the already existing `is_discoverable` bool for this? Which already is included in the API responses under `.source.pleroma.discoverable`.
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This pull request has changes conflicting with the target branch.
  • lib/pleroma/web/activity_pub/activity_pub.ex
  • lib/pleroma/web/activity_pub/views/user_view.ex
  • priv/static/schemas/litepub-0.1.jsonld
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin gitlab-mr-iid-4431:gitlab-mr-iid-4431
git switch gitlab-mr-iid-4431

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff gitlab-mr-iid-4431
git switch gitlab-mr-iid-4431
git rebase develop
git switch develop
git merge --ff-only gitlab-mr-iid-4431
git switch gitlab-mr-iid-4431
git rebase develop
git switch develop
git merge --no-ff gitlab-mr-iid-4431
git switch develop
git merge --squash gitlab-mr-iid-4431
git switch develop
git merge --ff-only gitlab-mr-iid-4431
git switch develop
git merge gitlab-mr-iid-4431
git push origin develop
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma!7808
No description provided.