Skip to content
  • Hjem
  • Seneste
  • Etiket
  • Populære
  • World
  • Bruger
  • Grupper
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
FARVEL BIG TECH
  1. Forside
  2. Uncategorized
  3. Live testing of remote categories

Live testing of remote categories

Scheduled Pinned Låst Flyttet Uncategorized
activitypubnodebbactivityp
67 Indlæg 10 Posters 15 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • scott@loves.techS scott@loves.tech
    #^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
    julian@community.nodebb.org
    wrote on sidst redigeret af
    #44

    @scott@loves.tech 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.

    1 Reply Last reply
    0
    • julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on sidst redigeret af
      #45

      Forgot to cc @mario@hub.somaton.com 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
        scott@loves.tech
        wrote on sidst redigeret af
        #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
          scott@loves.tech
          wrote on sidst redigeret af
          #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
            mario@hub.somaton.com
            wrote on sidst redigeret af
            #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 scott@loves.techS 3 Replies Last reply
            0
            • mario@hub.somaton.comM mario@hub.somaton.com
              @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
              julian@community.nodebb.org
              wrote on sidst redigeret af
              #49

              @mario@hub.somaton.com 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
                mario@hub.somaton.com
                wrote on sidst redigeret af
                #50
                @julian right.
                1 Reply Last reply
                0
                • mario@hub.somaton.comM mario@hub.somaton.com
                  @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
                  scott@loves.techS This user is from outside of this forum
                  scott@loves.techS This user is from outside of this forum
                  scott@loves.tech
                  wrote on sidst redigeret af
                  #51
                  @Mario Vavti If we exposed the original author to the Hubzilla UI as a variable and via Zot and ActivityPub, it would allow the UI to display the author of the first post instead of or in addition to the name of the forum.

                  I understand that on the backend it may be desirable to have the first post in a forum owned by the forum for backwards compatibility with platforms that don't support groups, but the UI does not have to display the first post with the forum as the author. We have the information about the author of the first post, so might as well display it.
                  mario@hub.somaton.comM 1 Reply Last reply
                  0
                  • mario@hub.somaton.comM mario@hub.somaton.com
                    @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
                    scott@loves.techS This user is from outside of this forum
                    scott@loves.techS This user is from outside of this forum
                    scott@loves.tech
                    wrote on sidst redigeret af
                    #52
                    @Mario Vavti @julian Another compatibility issue that we may need to look at is permissions to post. Hubzilla can restrict posts and comments to only being from people following the forum, for example. It also has a moderated mode, which will accept posts from unknown actors, but will place it in a moderation queue. So it may be desirable to turn off the ability to comment if the permissions to comment are not permitted for a particular actor.
                    1 Reply Last reply
                    0
                    • scott@loves.techS scott@loves.tech
                      @Mario Vavti If we exposed the original author to the Hubzilla UI as a variable and via Zot and ActivityPub, it would allow the UI to display the author of the first post instead of or in addition to the name of the forum.

                      I understand that on the backend it may be desirable to have the first post in a forum owned by the forum for backwards compatibility with platforms that don't support groups, but the UI does not have to display the first post with the forum as the author. We have the information about the author of the first post, so might as well display it.
                      mario@hub.somaton.comM This user is from outside of this forum
                      mario@hub.somaton.comM This user is from outside of this forum
                      mario@hub.somaton.com
                      wrote on sidst redigeret af
                      #53
                      @Scott M. Stolz i think this would be very misleading. But this discussion does not belong here.
                      scott@loves.techS 1 Reply Last reply
                      0
                      • mario@hub.somaton.comM mario@hub.somaton.com
                        @Scott M. Stolz i think this would be very misleading. But this discussion does not belong here.
                        scott@loves.techS This user is from outside of this forum
                        scott@loves.techS This user is from outside of this forum
                        scott@loves.tech
                        wrote on sidst redigeret af
                        #54
                        @Mario Vavti Okay. Deleting the post.
                        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
                          mario@hub.somaton.com
                          wrote on sidst redigeret af
                          #55
                          @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 mario@hub.somaton.com
                            @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
                            julian@community.nodebb.org
                            wrote on sidst redigeret af
                            #56

                            @mario@hub.somaton.com that’s wonderful to hear! Thank you so much.

                            1 Reply Last reply
                            0
                            • ? Offline
                              ? Offline
                              Gæst
                              wrote on sidst redigeret af
                              #57

                              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 @theverge@flipboard.com](https://community.nodebb.org/category/tech-news-theverge@flipboard.com)
                              • [Musik News by @musikexpressde@flipboard.com](https://community.nodebb.org/category/musik-news-musikexpressde@flipboard.com)
                              • [Gear by @engadget@flipboard.com](https://community.nodebb.org/category/gear-engadget@flipboard.com)

                              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

                              1 Reply Last reply
                              1
                              0
                              • ? Offline
                                ? Offline
                                Gæst
                                wrote on sidst redigeret af
                                #58

                                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 blog@vivaldi.com.

                                1 Reply Last reply
                                1
                                0
                                • julian@community.nodebb.orgJ This user is from outside of this forum
                                  julian@community.nodebb.orgJ This user is from outside of this forum
                                  julian@community.nodebb.org
                                  wrote on sidst redigeret af
                                  #59

                                  @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
                                  • julian@community.nodebb.orgJ This user is from outside of this forum
                                    julian@community.nodebb.orgJ This user is from outside of this forum
                                    julian@community.nodebb.org
                                    wrote on sidst redigeret af
                                    #60

                                    @AltCode I forked this out to a new topic. I think it’s time to loop @pfefferle@mastodon.social into the conversation (at the very least so this could be potentially escalated).

                                    Mattias, it seems that when the WPML and ActivityPub plugins are enabled together, notes federated out by the blog user in another language have different ids but the same preferredUsername.

                                    e.g. ruari@vivaldi.com: https://vivaldi.com/?author=46 and https://vivaldi.com/ja/?author=46

                                    NodeBB interprets this as two different users. Curiously, Mastodon does not, the second ID explicitly does not resolve.

                                    So there can be two solutions here:

                                    1. The underlying issue can be fixed by WordPress, the solution of which is out of scope (for me at least)
                                    2. NodeBB can adopt whatever mechanism Mastodon is using… which is most likely that Mastodon does a two-way when asserting an ID, and ensures that the webfinger resource points to the ID.
                                    1 Reply Last reply
                                    0
                                    • julian@community.nodebb.orgJ This user is from outside of this forum
                                      julian@community.nodebb.orgJ This user is from outside of this forum
                                      julian@community.nodebb.org
                                      wrote on sidst redigeret af
                                      #61

                                      The remaining questions here are:

                                      • whether preferredUsername is meant to be unique to the instance (in which case having multiple ids point to an identical preferredUsername would be a violation), and
                                      • what exactly AP software should do when it encounters this situation… store a list of “known alias” IDs? There are potential security issues to doing so.
                                      1 Reply Last reply
                                      0
                                      • julian@community.nodebb.orgJ This user is from outside of this forum
                                        julian@community.nodebb.orgJ This user is from outside of this forum
                                        julian@community.nodebb.org
                                        wrote on sidst redigeret af
                                        #62

                                        @AltCode all three flipboard remote categories seem to be working now 😂

                                        1 Reply Last reply
                                        0
                                        • ? Offline
                                          ? Offline
                                          Gæst
                                          wrote sidst redigeret af
                                          #63

                                          This is getting out of hand! Now, there are six of them!
                                          Screenshot 2025-04-22 at 11.27.24.png

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiket
                                          • Populære
                                          • World
                                          • Bruger
                                          • Grupper