Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Darkscribes Community

  1. Home
  2. Uncategorized
  3. Live testing of remote categories

Live testing of remote categories

Scheduled Pinned Locked Moved Uncategorized
activitypubnodebbactivityp
63 Posts 10 Posters 32 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • silverpill@mitra.socialS [email protected]

    @julian @activitypub Makes sense. Were NodeBB's own federated categories represented as users prior to this change? Do you assume that all groups are FEP-1b12 groups?
    There was an interesting discussion on SocialHub on identifying FEP-1b12 groups and nutomic made a compelling argument that we should just assume that Group supports FEP-1b12 if there is no other indicator:

    https://socialhub.activitypub.rocks/t/fep-1b12-group-federation/2724/96

    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #36

    @[email protected] I read back a bit to get a fuller context (not all the way, though, there's a damn lot of bikeshedding in that topic.)

    Basically Nutomic is advocating against multi typing because it is poorly supported (true), and because Lemmy has first-mover advantage (also true.)

    Requiring a multitype or boolean flag for 1b12 would be quite difficult to do because you'll never have 100% adoption and end up needing backwards compatibility with 1b12-classic anyway — cat's already out of the bag.

    1 Reply Last reply
    0
    • scott@loves.techS This user is from outside of this forum
      scott@loves.techS This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #37
      @julian How do you deal with situations where the group actor also sends posts?

      For example, on Hubzilla, (streams), and Forte, the top level post of a forum thread is from the forum, not the user. This was originally done for Mastodon compatibility since it did not understand threaded conversations and groups. They could follow the forum as if it were a user, and receive all of the forum posts. They could send a DM to the forum to create a new post.

      NodeBB took a different approach, using boosts to distribute user posts to people who follow the forum. And I think you said you use mentions within a post to create a new top level post.

      How are we handling the differences in approaches?
      julian@community.nodebb.orgJ 1 Reply Last reply
      0
      • scott@loves.techS [email protected]
        @julian How do you deal with situations where the group actor also sends posts?

        For example, on Hubzilla, (streams), and Forte, the top level post of a forum thread is from the forum, not the user. This was originally done for Mastodon compatibility since it did not understand threaded conversations and groups. They could follow the forum as if it were a user, and receive all of the forum posts. They could send a DM to the forum to create a new post.

        NodeBB took a different approach, using boosts to distribute user posts to people who follow the forum. And I think you said you use mentions within a post to create a new top level post.

        How are we handling the differences in approaches?
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #38

        @[email protected] can you share an example of a group actor from Hubzilla? Would be interesting to see how that's handled. Likely it wouldn't work properly because categories in NodeBB don't author posts.

        Do your group actors send creates on behalf of regular users? That might work ok.

        Lastly, there's no requirement that a NodeBB category be mentioned. It only needs to be addressed. A mention is the easiest way to do that because you addressing is abstracted out of the Mastodon UI.

        But for things like PieFed, Lemmy, Mbin, and likely Hubzilla, you're able to change addressing based on where you create the post.

        1 Reply Last reply
        0
        • scott@loves.techS This user is from outside of this forum
          scott@loves.techS This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #39
          @julian I'm not sure. They changed things in the last major version when they adopted FEP 171b Conversation Containers.

          Some examples of forum channels are @Hubzilla Support Forum and @Neuhub Support Forum.
          scott@loves.techS 1 Reply Last reply
          0
          • scott@loves.techS This user is from outside of this forum
            scott@loves.techS This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #40
            @julian
            But for things like PieFed, Lemmy, Mbin, and likely Hubzilla, you're able to change addressing based on where you create the post.

            Yes, in Hubzilla, we can click on the padlock and select who the post is addressed to, including NodeBB forums. I haven't tried it yet, but Hubzilla does recognize NodeBB categories as "forums."
            1 Reply Last reply
            0
            • scott@loves.techS This user is from outside of this forum
              scott@loves.techS This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #41
              @julian I just tried posting five different posts from Hubzilla to @Testing Ground via various methods, and none are showing up.

              1. Post from a group actor, selecting audience from list.
              2. Post from a group actor, using a mention.
              3. Post from a normal actor, selecting audience from list.
              4. Post from a normal actor, using a mention.
              5. Post from a normal actor, posting to a Hubzilla Forum (group actor) and mentioning the NodeBB category in the post.

              I am not sure if that forum is moderated, but none of my posts are showing up.
              scott@loves.techS 1 Reply Last reply
              0
              • scott@loves.techS [email protected]
                @julian I'm not sure. They changed things in the last major version when they adopted FEP 171b Conversation Containers.

                Some examples of forum channels are @Hubzilla Support Forum and @Neuhub Support Forum.
                scott@loves.techS This user is from outside of this forum
                scott@loves.techS This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #42
                By the way, we also have a test forum set up here: @Neuhub Test Forum

                #^https://neuhub.org/channel/testforum
                1 Reply Last reply
                0
                • scott@loves.techS [email protected]
                  @julian I just tried posting five different posts from Hubzilla to @Testing Ground via various methods, and none are showing up.

                  1. Post from a group actor, selecting audience from list.
                  2. Post from a group actor, using a mention.
                  3. Post from a normal actor, selecting audience from list.
                  4. Post from a normal actor, using a mention.
                  5. Post from a normal actor, posting to a Hubzilla Forum (group actor) and mentioning the NodeBB category in the post.

                  I am not sure if that forum is moderated, but none of my posts are showing up.
                  scott@loves.techS This user is from outside of this forum
                  scott@loves.techS This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #43
                  https://community.nodebb.org/inbox    delivery rejected: 403 Forbidden    2025-03-30 22:51:57
                  https://community.nodebb.org/inbox    delivery rejected: 403 Forbidden    2025-03-30 23:28:55
                  julian@community.nodebb.orgJ 1 Reply Last reply
                  0
                  • scott@loves.techS [email protected]
                    https://community.nodebb.org/inbox    delivery rejected: 403 Forbidden    2025-03-30 22:51:57
                    https://community.nodebb.org/inbox    delivery rejected: 403 Forbidden    2025-03-30 23:28:55
                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.orgJ This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #44

                    @[email protected] Hubzilla is formatting its Notes in a manner I wasn't expecting.

                    • The group actor is the attributedTo, which is not possible in NodeBB
                    • The note itself is not addressed to the group actor, only its followers collection
                    • There is no way to discern without parsing the note content itself who authored the original note.

                    So at present while I would be able to retrieve the note, without a proper backreference to the group actor, I don't think I can slot it correctly.

                    Not sure why the received activity is returning a 403, as well.

                    julian@community.nodebb.orgJ 1 Reply Last reply
                    0
                    • julian@community.nodebb.orgJ [email protected]

                      @[email protected] Hubzilla is formatting its Notes in a manner I wasn't expecting.

                      • The group actor is the attributedTo, which is not possible in NodeBB
                      • The note itself is not addressed to the group actor, only its followers collection
                      • There is no way to discern without parsing the note content itself who authored the original note.

                      So at present while I would be able to retrieve the note, without a proper backreference to the group actor, I don't think I can slot it correctly.

                      Not sure why the received activity is returning a 403, as well.

                      julian@community.nodebb.orgJ This user is from outside of this forum
                      julian@community.nodebb.orgJ This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #45

                      Forgot to cc @[email protected] re: the above.

                      1 Reply Last reply
                      0
                      • scott@loves.techS This user is from outside of this forum
                        scott@loves.techS This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #46
                        @julian I saw a NodeBB test on Hubzilla Monster. I'm guessing that was you.

                        In order for you to properly mention someone, the Hubzilla server needs to know about that actor first. The easiest way to achieve this is to follow (connect to) that actor. This adds the actor to the database. This only needs to be done if no one on the server is following them or being followed by them.

                        This does create an extra step if the actor is unknown to the server, but it does force spammers to follow unknown actors before they can mention them.
                        1 Reply Last reply
                        0
                        • scott@loves.techS This user is from outside of this forum
                          scott@loves.techS This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #47
                          @julian @Mario Vavti  That is one thing that I wish Hubzilla did, and that is identify the author of the original note (top level post in a forum), both internally in the database and in a variable available to themes, and externally via Zot protocol and ActivityPub.
                          1 Reply Last reply
                          0
                          • mario@hub.somaton.comM This user is from outside of this forum
                            mario@hub.somaton.comM This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #48
                            @julian in Hubzilla the group actor will fork the original post with a quote reshare. Hence attributedTo is set to the group actor. IIRC the author of the original post is being stored for refernce but we currently do not use this info.

                            @Scott M. Stolz
                            julian@community.nodebb.orgJ 1 Reply Last reply
                            0
                            • mario@hub.somaton.comM [email protected]
                              @julian in Hubzilla the group actor will fork the original post with a quote reshare. Hence attributedTo is set to the group actor. IIRC the author of the original post is being stored for refernce but we currently do not use this info.

                              @Scott M. Stolz
                              julian@community.nodebb.orgJ This user is from outside of this forum
                              julian@community.nodebb.orgJ This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #49

                              @[email protected] since Hubzilla posts (incl. yours) are making it in fine I'm assuming this is only for the "forum" feature?

                              1 Reply Last reply
                              0
                              • mario@hub.somaton.comM This user is from outside of this forum
                                mario@hub.somaton.comM This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #50
                                @julian right.
                                1 Reply Last reply
                                0
                                • mario@hub.somaton.comM This user is from outside of this forum
                                  mario@hub.somaton.comM This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #51
                                  @julian we have recently rewritten the addressing logic and it seems mapping the mentions to to for public toplevel posts has fallen short. After fixing this it seems to work fine now: #^https://community.nodebb.org/topic/cbbf1640-2295-4fc5-b86f-5b1fd259cccb/test2

                                  @Scott M. Stolz
                                  julian@community.nodebb.orgJ 1 Reply Last reply
                                  0
                                  • mario@hub.somaton.comM [email protected]
                                    @julian we have recently rewritten the addressing logic and it seems mapping the mentions to to for public toplevel posts has fallen short. After fixing this it seems to work fine now: #^https://community.nodebb.org/topic/cbbf1640-2295-4fc5-b86f-5b1fd259cccb/test2

                                    @Scott M. Stolz
                                    julian@community.nodebb.orgJ This user is from outside of this forum
                                    julian@community.nodebb.orgJ This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #52

                                    @[email protected] that's wonderful to hear! Thank you so much.

                                    1 Reply Last reply
                                    0
                                    • altcode@community.nodebb.orgA This user is from outside of this forum
                                      altcode@community.nodebb.orgA This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #53

                                      Some of the remote categories appear to be broken now.

                                      These are the Flipboard magazines NodeBB is currently aware of when searching "flipboard" in the search page:

                                      • [Tech News by @[email protected]](https://community.nodebb.org/category/[email protected])
                                      • [Musik News by @[email protected]](https://community.nodebb.org/category/[email protected])
                                      • [Gear by @[email protected]](https://community.nodebb.org/category/[email protected])

                                      However, that very first one (tech news by The Verge) does not work; going to it gives a 404 page instead.


                                      Something else appears to have happened to the Vivaldi Blog remote category (a WordPress blog). A week ago it was working fine, but now, searching for it lists it twice in the search page. Each listing indicates a completely different number of posts and topics for the remote category.

                                      Even weirder though most of the topics that are correctly slotted into it, they are not actually in the category page, e.g. https://community.nodebb.org/topic/a85b0eff-5219-46ba-9ad4-a5d417a7bec5/minor-update-2-for-vivaldi-desktop-browser-7.3


                                      Screenshots

                                      Screenshot 2025-04-02 at 22.00.00.png
                                      Screenshot 2025-04-02 at 22.17.39.png

                                      altcode@community.nodebb.orgA 1 Reply Last reply
                                      0
                                      • altcode@community.nodebb.orgA [email protected]

                                        Some of the remote categories appear to be broken now.

                                        These are the Flipboard magazines NodeBB is currently aware of when searching "flipboard" in the search page:

                                        • [Tech News by @[email protected]](https://community.nodebb.org/category/[email protected])
                                        • [Musik News by @[email protected]](https://community.nodebb.org/category/[email protected])
                                        • [Gear by @[email protected]](https://community.nodebb.org/category/[email protected])

                                        However, that very first one (tech news by The Verge) does not work; going to it gives a 404 page instead.


                                        Something else appears to have happened to the Vivaldi Blog remote category (a WordPress blog). A week ago it was working fine, but now, searching for it lists it twice in the search page. Each listing indicates a completely different number of posts and topics for the remote category.

                                        Even weirder though most of the topics that are correctly slotted into it, they are not actually in the category page, e.g. https://community.nodebb.org/topic/a85b0eff-5219-46ba-9ad4-a5d417a7bec5/minor-update-2-for-vivaldi-desktop-browser-7.3


                                        Screenshots

                                        Screenshot 2025-04-02 at 22.00.00.png
                                        Screenshot 2025-04-02 at 22.17.39.png

                                        altcode@community.nodebb.orgA This user is from outside of this forum
                                        altcode@community.nodebb.orgA This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #54

                                        Actually, I think I know what's going on with the Vivaldi blog group actor - it's not necessarily NodeBB's fault.

                                        Inspecting the AP objects coming from vivaldi.com/blog, all the English-written blog posts have their as:audience field set to https://vivaldi.com/?author=0.

                                        Meanwhile, every other blog post that is written in a different language instead have it set to https://vivaldi.com//?author=0, so for Japanese blog posts, for example, it is https://vivaldi.com/ja/?author=0.

                                        And all these URLs link to different group actors, but all of them have the same value on the preferredUsername and webfinger properties: blog, and [email protected].


                                        EDIT: Actually this also appears to be all actor objects coming from vivaldi.com/blog. E.g. if you start typing [@[email protected]](https://community.nodebb.org/user/ruari%40vivaldi.com) or search for it, you can see it be suggested twice too.

                                        So my guess is that there are two person actors that NodeBB knows of that are claiming to be [email protected]: https://vivaldi.com/?author=46 and https://vivaldi.com/ja/?author=46.

                                        This is probably a bug with the WPML+ActivityPub plugin combination they have going on.


                                        Screenshots

                                        Screenshot 2025-04-02 at 23.35.28.png
                                        Screenshot 2025-04-02 at 23.40.47.png

                                        julian@community.nodebb.orgJ 1 Reply Last reply
                                        0
                                        • altcode@community.nodebb.orgA [email protected]

                                          Actually, I think I know what's going on with the Vivaldi blog group actor - it's not necessarily NodeBB's fault.

                                          Inspecting the AP objects coming from vivaldi.com/blog, all the English-written blog posts have their as:audience field set to https://vivaldi.com/?author=0.

                                          Meanwhile, every other blog post that is written in a different language instead have it set to https://vivaldi.com//?author=0, so for Japanese blog posts, for example, it is https://vivaldi.com/ja/?author=0.

                                          And all these URLs link to different group actors, but all of them have the same value on the preferredUsername and webfinger properties: blog, and [email protected].


                                          EDIT: Actually this also appears to be all actor objects coming from vivaldi.com/blog. E.g. if you start typing [@[email protected]](https://community.nodebb.org/user/ruari%40vivaldi.com) or search for it, you can see it be suggested twice too.

                                          So my guess is that there are two person actors that NodeBB knows of that are claiming to be [email protected]: https://vivaldi.com/?author=46 and https://vivaldi.com/ja/?author=46.

                                          This is probably a bug with the WPML+ActivityPub plugin combination they have going on.


                                          Screenshots

                                          Screenshot 2025-04-02 at 23.35.28.png
                                          Screenshot 2025-04-02 at 23.40.47.png

                                          julian@community.nodebb.orgJ This user is from outside of this forum
                                          julian@community.nodebb.orgJ This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #55

                                          @AltCode okay! Thanks for reporting, it sounds like there are two issues going on:

                                          1. Categories losing their handle-to-id association
                                            • Frustratingly, this read very similarly to #13283, and both remote users and categories share similar logic. I have so far not been able to reproduce it at all on local development.
                                          2. Separate users (different IDs) sharing the same preferredUsername.
                                            • This is an interesting one, and I am not entirely sure where the fault lies. I wonder how other software handles it?
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups