WIP: FEP-82f6: Actor statuses #8076

Draft
phnt wants to merge 20 commits from actor-statuses into develop
Member

TODO

  • Implement HTML scrubbing for the status
  • Simplify content scrubbing in AccountView with object caching copied from activities
  • Implement mapping Remove to Delete for now
  • Add AccountView tests with actor statuses disabled and enabled
  • Test it all on public instances

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.
### TODO - [X] Implement HTML scrubbing for the status - [ ] Simplify content scrubbing in AccountView with object caching copied from activities - [X] Implement mapping Remove to Delete for now - [ ] Add AccountView tests with actor statuses disabled and enabled - [ ] Test it all on public instances ### Checklist - [x] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`. <!-- `<code>` can be anything, but we recommend using a more or less unique identifier to avoid collisions, such as the branch name. `<type>` can be `add`, `change`, `remove`, `fix`, `security` or `skip`. `skip` is only used if there is no user-visible change in the PR (for example, only editing comments in the code). Otherwise, choose a type that corresponds to your change. In the file, write the changelog entry. For example, if a PR adds group functionality, we can create a file named `group.add` and write `Add group functionality` in it. If one changelog entry is not enough, you may add more. But that might mean you can split it into two PRs. Only use more than one changelog entry if you really need to (for example, when one change in the code fix two different bugs, or when refactoring). -->
phnt added 19 commits 2026-11-22 22:03:07 +00:00
Also adds a test against a Pleroma-created ActorStatus representation.
Per the FEP the local limit is by default set to 100, limit for incoming
objects does not exist yet, just like for incoming posts. Probably
should implement that at some point.
Adds :actor_status_id column of type :bigint to the users table with an
FK to the current ActorStatus object PK.
Adds an index on :actor_status_id to speeds up ON DELETE NULL
Migrates Object and Activity creation to ActivityDraft and Builder
respectivelly.
Smithereen does not implement sending such Activity.
It supports ingesting it, by seemingly violating AP spec by not
requiring the target to be present, likely because statusHistory which
would benefit from this isn't implemented either.

Missing target in the Remove Activity makes Pleroma validator unhappy.
FEP-82f6: Check post length against original text, not processed HTML
Some checks failed
ci/woodpecker/pr/unit-testing-elixir-1.17 Pipeline is pending
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline is pending
ci/woodpecker/pr/changelog Pipeline failed
ci/woodpecker/pr/lint Pipeline was canceled
5c78323a8a
FEP-82f6: changelog
Some checks failed
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/unit-testing-elixir-1.17 Pipeline was skipped
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline was skipped
10bb3ee6d1
phnt force-pushed actor-statuses from 10bb3ee6d1
Some checks failed
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/unit-testing-elixir-1.17 Pipeline was skipped
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline was skipped
to e90692ce2f
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.17 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline was successful
2026-11-22 22:12:23 +00:00
Compare
Member

any possibility for custom emoji support?

any possibility for custom emoji support?
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.17 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.19 Pipeline was successful
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin actor-statuses:actor-statuses
git switch actor-statuses

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 actor-statuses
git switch actor-statuses
git rebase develop
git switch develop
git merge --ff-only actor-statuses
git switch actor-statuses
git rebase develop
git switch develop
git merge --no-ff actor-statuses
git switch develop
git merge --squash actor-statuses
git switch develop
git merge --ff-only actor-statuses
git switch develop
git merge actor-statuses
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!8076
No description provided.