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

Actors: deprecate as User_Collection throughout #1013

Merged
merged 8 commits into from
Nov 27, 2024

Conversation

mattwiebe
Copy link
Contributor

@mattwiebe mattwiebe commented Nov 22, 2024

Deprecate Activitypub\Collection\Actors as User_Collection to simply use Actors throughout the codebase.

Proposed changes:

  • renamed Users_Collection to simply use Actors

Other information:

  • Have you written new tests for your changes, if applicable? (not applicable, everything should be the same)

Testing instructions:

Tests should pass, everything normal in function

@pfefferle
Copy link
Member

I think we should also update Actors::APPLICATION_USER_ID then!?!

@mattwiebe
Copy link
Contributor Author

I think we should also update Actors::APPLICATION_USER_ID then!?!

Good idea!

@pfefferle
Copy link
Member

@mattwiebe and don't forget the changelog ;)

@mattwiebe mattwiebe force-pushed the update/add-blog-actor-id branch from ad7df2b to 2118879 Compare November 23, 2024 00:28
@Menrath
Copy link
Contributor

Menrath commented Nov 24, 2024

@mattwiebe @pfefferle I still have some doubts about this change, as the current Actors::BLOG_USER_ID and Actors::APPLICATION_USER_ID wordings show that the actors are indeed "mapped" to pseudo users. With a constant named Actors::BLOG_ACTOR_ID I would expect it more likely to be the full URI.

@mattwiebe
Copy link
Contributor Author

@mattwiebe @pfefferle I still have some doubts about this change, as the current Actors::BLOG_USER_ID and Actors::APPLICATION_USER_ID wordings show that the actors are indeed "mapped" to pseudo users. With a constant named Actors::BLOG_ACTOR_ID I would expect it more likely to be the full URI.

Interesting! I guess we do have to show the seams of Actors <-> Users mapping somewhere, and this may be as good a place as any.

@mattwiebe mattwiebe force-pushed the update/add-blog-actor-id branch from 149c2d3 to 57792a7 Compare November 27, 2024 04:02
@mattwiebe mattwiebe changed the title Actors: add and use Actors::BLOG_ACTOR_ID Actors: deprecate as User_Collection throughout Nov 27, 2024
@mattwiebe mattwiebe merged commit 9beea62 into trunk Nov 27, 2024
22 checks passed
@mattwiebe mattwiebe deleted the update/add-blog-actor-id branch November 27, 2024 20:01
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.

3 participants