NodeBB v4.0.0 - Categories not following group actors
-
wrote on Jan 22, 2025, 8:11 PM last edited by
-
wrote on Jan 22, 2025, 9:34 PM last edited by
Should probably also mention that the pending actors have been that way for a few days. I can see their posts in my /world, and similarly can see posts my test category federates out, but nothing feom external groups syncs in it seems
-
Should probably also mention that the pending actors have been that way for a few days. I can see their posts in my /world, and similarly can see posts my test category federates out, but nothing feom external groups syncs in it seems
wrote on Jan 23, 2025, 4:14 PM last edited byThanks @arachnibot, let me take a look at those URLs.
-
Seems my testing ground can't follow sync with group actors/remote categories. I'm assuming the null id is related, but haven't figured out how to remove it yet (unfollow button just refreshes the page)
wrote on Jan 25, 2025, 10:46 AM last edited byAs a stopgap solution until Lemmy fixes this, would it make sense to have some kind of auto assignment of categories to posts, based on tags? Is there a plugin for that?
-
-
wrote on Jan 26, 2025, 3:55 AM last edited by
Not a bad idea. Whipped one up that can work on local and remote posts (though they might need to be followed by the category for it to count? Unsure if it'll work without that)
-
wrote on Jan 26, 2025, 4:10 AM last edited by
@arachnibot yes, offhand I think it should (although I didn't check the code).
When remote content is parsed I just call the same internal methods to create a topic.
-
wrote on Jan 26, 2025, 5:57 AM last edited by
@arachnibot@community.nodebb.org can you share a link to it?
-
wrote on Jan 26, 2025, 2:01 PM last edited by
@projectmoon@forum.agnos.is @arachnibot I love how I want to add this to the core logic and someone beats me to it with a third party plugin.
It's absolutely fantastic, and exactly how our plugin system should work!
-
wrote on Jan 26, 2025, 2:13 PM last edited by
Was a link posted to it? Also I'm noticing that edits don't seem to fully federate. 🤨
-
wrote on Jan 26, 2025, 2:45 PM last edited by
@projectmoon@forum.agnos.is no link yet, was just speaking hypothetically
-
wrote on Jan 27, 2025, 1:18 PM last edited by
@projectmoon@forum.agnos.is Adding UI for settings today. Will put on github once that's done (though I can share the core snippet in a bit). It can also work for auto-moving local tagged posts as well.
Should also mention that not every post from remote actors is tagged, so it might not catch everything. Could possibly have it just read any uncategorized posts and move based on users instead? Might be a better workaround for core, but if you have any thoughts let me know @julian@community.nodebb.org
-
-
@projectmoon@forum.agnos.is Adding UI for settings today. Will put on github once that's done (though I can share the core snippet in a bit). It can also work for auto-moving local tagged posts as well.
Should also mention that not every post from remote actors is tagged, so it might not catch everything. Could possibly have it just read any uncategorized posts and move based on users instead? Might be a better workaround for core, but if you have any thoughts let me know @julian@community.nodebb.org
wrote on Jan 27, 2025, 1:20 PM last edited by@arachnibot@nodebb.arachnibot.com said in NodeBB v4.0.0 - Categories not following group actors:
@projectmoon@forum.agnos.is Adding UI for settings today. Will put on github once that's done (though I can share the core snippet in a bit). It can also work for auto-moving local tagged posts as well.
Should also mention that not every post from remote actors is tagged, so it might not catch everything. Could possibly have it just read any uncategorized posts and move based on users instead? Might be a better workaround for core, but if you have any thoughts let me know @julian@community.nodebb.org
Sounds good. Looking forward to trying it out. If there's a way to tie the post back to a Group Actor "user" (which are the local NodeBB users that share/boost the content within NodeBB), then you could probably make the algorithm more reliable. I don't know anything about the internals of NodeBB, though. Just spitballing ideas.
-
@arachnibot@nodebb.arachnibot.com said in NodeBB v4.0.0 - Categories not following group actors:
@projectmoon@forum.agnos.is Adding UI for settings today. Will put on github once that's done (though I can share the core snippet in a bit). It can also work for auto-moving local tagged posts as well.
Should also mention that not every post from remote actors is tagged, so it might not catch everything. Could possibly have it just read any uncategorized posts and move based on users instead? Might be a better workaround for core, but if you have any thoughts let me know @julian@community.nodebb.org
Sounds good. Looking forward to trying it out. If there's a way to tie the post back to a Group Actor "user" (which are the local NodeBB users that share/boost the content within NodeBB), then you could probably make the algorithm more reliable. I don't know anything about the internals of NodeBB, though. Just spitballing ideas.
wrote on Jan 27, 2025, 3:23 PM last edited by@projectmoon@forum.agnos.is actually once you mentioned that I got a rough version of that working. I'm not sure if reading the audience property is the right move, but we'll see if it works on my end I guess?
-
@projectmoon@forum.agnos.is actually once you mentioned that I got a rough version of that working. I'm not sure if reading the audience property is the right move, but we'll see if it works on my end I guess?
wrote on Jan 27, 2025, 3:24 PM last edited by@arachnibot@nodebb.arachnibot.com Only one way to find out!
-
-
@projectmoon@forum.agnos.is actually once you mentioned that I got a rough version of that working. I'm not sure if reading the audience property is the right move, but we'll see if it works on my end I guess?
wrote on Jan 27, 2025, 5:55 PM last edited by@arachnibot@nodebb.arachnibot.com for Lemmy? No, not anymore.
A future version of Lemmy will remove
audience
. You'll have to dereference the addressing fields (to
,cc
). -
wrote on Jan 27, 2025, 5:59 PM last edited by
Got it! I just noticed something similar, so thanks for the confirmation!
-
wrote on Jan 29, 2025, 8:38 PM last edited by
Ok! Almost set up with the plugin (though ACP controls are still pending for now). On the dev branch until I get the gui for config done.
https://github.com/Arachnibot/nodebb-tag-to-category/tree/dev
Only bug remaining is topics are not federated out by the group correctly. If anyone knows what triggers the category actor to share a post, let me know!
-
Ok! Almost set up with the plugin (though ACP controls are still pending for now). On the dev branch until I get the gui for config done.
https://github.com/Arachnibot/nodebb-tag-to-category/tree/dev
Only bug remaining is topics are not federated out by the group correctly. If anyone knows what triggers the category actor to share a post, let me know!
wrote on Jan 29, 2025, 9:22 PM last edited by@arachnibot@nodebb.arachnibot.com mm actually this also doesn't happen currently when you manually move a topic to a category.
Your local account boosts it but not the category. That's a feature I'd like to add to core, please open an issue.
-
@arachnibot@nodebb.arachnibot.com mm actually this also doesn't happen currently when you manually move a topic to a category.
Your local account boosts it but not the category. That's a feature I'd like to add to core, please open an issue.
wrote on Jan 29, 2025, 9:43 PM last edited by@julian@community.nodebb.org sounds good! I'm actually re-assigning the category before creation, rather than using the helpers in TopicTools, but I'll make the issue in case that should result in the same behavior
-
@julian@community.nodebb.org sounds good! I'm actually re-assigning the category before creation, rather than using the helpers in TopicTools, but I'll make the issue in case that should result in the same behavior
wrote on Jan 30, 2025, 10:41 AM last edited by@arachnibot@nodebb.arachnibot.com said in NodeBB v4.0.0 - Categories not following group actors:
@julian@community.nodebb.org sounds good! I'm actually re-assigning the category before creation, rather than using the helpers in TopicTools, but I'll make the issue in case that should result in the same behavior
I'm very eager to try this plugin lol. Have you put it up on GitHub somewhere yet?