Skip to content
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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
Brand Logo

fedi wiki

  1. Home
  2. NodeBB Development
  3. Feature Highlight for v4.12.0 — Activity Intents

Feature Highlight for v4.12.0 — Activity Intents

Scheduled Pinned Locked Moved NodeBB Development
activitypubfedidev3b86
24 Posts 8 Posters 0 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.
  • J This user is from outside of this forum
    J This user is from outside of this forum
    julian@community.nodebb.org
    wrote last edited by
    #1

    A new feature silently dropped in v4.12.0. NodeBB now supports Activity Intents!

    Huh? What's an Activity Intent?

    It is a proposal by @benpate@mastodon.social that aims to "extend the capabilities of an ActivityPub server beyond a user's outbox, and enable direct interactions with content on the wider social web."

    In other words, it allows you to more seamlessly use your fediverse account on other sites without having to register a new account just to contribute.

    In even simpler words, it means you can go to other forums and interact with content without needing to register a new account.

    It directly tackles one of the fediverse "hard problems" I talked about last year — account fragmentation. You won't need additional accounts just to use other sites, your identity stays whole <img class="not-responsive emoji" src="https://community.nodebb.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=14b798222a5" title="😎" />

    Let's learn more about how that works!

    Account Fragmentation in a Nutshell

    Right now, when you browse to a different site, you usually have to create a new account to interact with it. For example, if you check out someone's Pixelfed profile, you're not able to comment or like their pictures without an account there. This has always been how the internet worked, and before the advent of single sign-on, which lets you log in with a different account (but still creates a new account on that site), that was just how it was.

    Essentially, there was no way to interact with content using your main identity. The workarounds were numerous... copying URLs, searching for the account on your instance, etc. All of which were fairly friction-heavy, so the next best thing was just to create a local account and fragment your identity.

    Activity Intents intends (ha!) to address this by allowing servers to advertise support for different types of social actions.

    How It Works

    1. You browse to another site and want to carry out an action, such as liking the post, or writing a reply.
    2. That site asks you to enter an Open Social Web handle (or log in, if you have a local account), and you enter it.
    3. It then queries your server to see what Intents it supports (e.g. "Like", "Create")
    4. If there's a match, it sends you back to your server, where you can complete the action.

    That's about it! There are additional details about designing the actual flow, and how to "remember" each visitor's social web handle, but the basics are as listed above.

    What it looks like in NodeBB

    We've integrated support for four intents:

    1. Like/Dislike → These map to upvote and downvote respectively
    2. Create → These would be topic creations and replies
    3. Follow → self-explanatory
    4. Object → Load an ActivityPub resource in NodeBB

    We integrated two-way support which means that if you land on a NodeBB and your fediverse account supports Activity Intents, then you can simply hit like, reply, or follow from NodeBB, and be sent back to your home server, all without the hassle of copying and pasting links into a search bar.

    Integrating Activity Intents was a high-impact way to tackle the problem of account fragmentation. Users of NodeBB (whose forums have updated to v4.12.0) should not have to feel pressure to create local accounts elsewhere if the site they end up on supports Activity Intents as well.

    ozoned@btfree.socialO 1 Reply Last reply
    0
    • J julian@community.nodebb.org

      A new feature silently dropped in v4.12.0. NodeBB now supports Activity Intents!

      Huh? What's an Activity Intent?

      It is a proposal by @benpate@mastodon.social that aims to "extend the capabilities of an ActivityPub server beyond a user's outbox, and enable direct interactions with content on the wider social web."

      In other words, it allows you to more seamlessly use your fediverse account on other sites without having to register a new account just to contribute.

      In even simpler words, it means you can go to other forums and interact with content without needing to register a new account.

      It directly tackles one of the fediverse "hard problems" I talked about last year — account fragmentation. You won't need additional accounts just to use other sites, your identity stays whole <img class="not-responsive emoji" src="https://community.nodebb.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=14b798222a5" title="😎" />

      Let's learn more about how that works!

      Account Fragmentation in a Nutshell

      Right now, when you browse to a different site, you usually have to create a new account to interact with it. For example, if you check out someone's Pixelfed profile, you're not able to comment or like their pictures without an account there. This has always been how the internet worked, and before the advent of single sign-on, which lets you log in with a different account (but still creates a new account on that site), that was just how it was.

      Essentially, there was no way to interact with content using your main identity. The workarounds were numerous... copying URLs, searching for the account on your instance, etc. All of which were fairly friction-heavy, so the next best thing was just to create a local account and fragment your identity.

      Activity Intents intends (ha!) to address this by allowing servers to advertise support for different types of social actions.

      How It Works

      1. You browse to another site and want to carry out an action, such as liking the post, or writing a reply.
      2. That site asks you to enter an Open Social Web handle (or log in, if you have a local account), and you enter it.
      3. It then queries your server to see what Intents it supports (e.g. "Like", "Create")
      4. If there's a match, it sends you back to your server, where you can complete the action.

      That's about it! There are additional details about designing the actual flow, and how to "remember" each visitor's social web handle, but the basics are as listed above.

      What it looks like in NodeBB

      We've integrated support for four intents:

      1. Like/Dislike → These map to upvote and downvote respectively
      2. Create → These would be topic creations and replies
      3. Follow → self-explanatory
      4. Object → Load an ActivityPub resource in NodeBB

      We integrated two-way support which means that if you land on a NodeBB and your fediverse account supports Activity Intents, then you can simply hit like, reply, or follow from NodeBB, and be sent back to your home server, all without the hassle of copying and pasting links into a search bar.

      Integrating Activity Intents was a high-impact way to tackle the problem of account fragmentation. Users of NodeBB (whose forums have updated to v4.12.0) should not have to feel pressure to create local accounts elsewhere if the site they end up on supports Activity Intents as well.

      ozoned@btfree.socialO This user is from outside of this forum
      ozoned@btfree.socialO This user is from outside of this forum
      ozoned@btfree.social
      wrote last edited by
      #2

      This is incredible @benpate@mastodon.social and @julian@community.nodebb.org . I'm absolutely blown away by the work you folks are doing. This isn't JUST for Emissary. This isn't JUST for NodeBB. This isn't JUST for Mastodon. THIS is for EVERYONE. And y'all are fantastic. When I see this kind of work, I honestly get emotional, because THIS is what changes the game. Thank you both and everyone, for all of your hard work. I know folks don't see it the way I do, but THIS is a step. Maybe the rigth direction, maybe 5 years down the line we say it wasn't, but it's a STEP that pushes EVERYONE forward.

      <br/>

      Thank you so so so so so much for spending your time and energy here.

      liaizon@social.wake.stL 1 Reply Last reply
      0
      • ozoned@btfree.socialO ozoned@btfree.social

        This is incredible @benpate@mastodon.social and @julian@community.nodebb.org . I'm absolutely blown away by the work you folks are doing. This isn't JUST for Emissary. This isn't JUST for NodeBB. This isn't JUST for Mastodon. THIS is for EVERYONE. And y'all are fantastic. When I see this kind of work, I honestly get emotional, because THIS is what changes the game. Thank you both and everyone, for all of your hard work. I know folks don't see it the way I do, but THIS is a step. Maybe the rigth direction, maybe 5 years down the line we say it wasn't, but it's a STEP that pushes EVERYONE forward.

        <br/>

        Thank you so so so so so much for spending your time and energy here.

        liaizon@social.wake.stL This user is from outside of this forum
        liaizon@social.wake.stL This user is from outside of this forum
        liaizon@social.wake.st
        wrote last edited by
        #3

        @ozoned
        hey @mayel @ivan this post is showing off some weird bug with content warning / titles

        ozoned@btfree.socialO 1 Reply Last reply
        0
        • liaizon@social.wake.stL liaizon@social.wake.st

          @ozoned
          hey @mayel @ivan this post is showing off some weird bug with content warning / titles

          ozoned@btfree.socialO This user is from outside of this forum
          ozoned@btfree.socialO This user is from outside of this forum
          ozoned@btfree.social
          wrote last edited by
          #4

          @liaizon@social.wake.st @ivan@bonfire.cafe @mayel@bonfire.cafe what version are you on? Can we see a picture?

          I'm on the latest-beta and I don't see any warnings.

          I will state that the message I replied to was from Julian's NodeBB instance. So it's translating from threadiverse to Bonfire, so probably some incompatability there.

          liaizon@social.wake.stL 1 Reply Last reply
          0
          • ozoned@btfree.socialO ozoned@btfree.social

            @liaizon@social.wake.st @ivan@bonfire.cafe @mayel@bonfire.cafe what version are you on? Can we see a picture?

            I'm on the latest-beta and I don't see any warnings.

            I will state that the message I replied to was from Julian's NodeBB instance. So it's translating from threadiverse to Bonfire, so probably some incompatability there.

            liaizon@social.wake.stL This user is from outside of this forum
            liaizon@social.wake.stL This user is from outside of this forum
            liaizon@social.wake.st
            wrote last edited by
            #5

            @ozoned @ivan @mayel the first two are now your reply looks from mastodon web, the 3rd is how it looks logged into @phanpy (from mastodon)

            liaizon@social.wake.stL 1 Reply Last reply
            0
            • liaizon@social.wake.stL liaizon@social.wake.st

              @ozoned @ivan @mayel the first two are now your reply looks from mastodon web, the 3rd is how it looks logged into @phanpy (from mastodon)

              liaizon@social.wake.stL This user is from outside of this forum
              liaizon@social.wake.stL This user is from outside of this forum
              liaizon@social.wake.st
              wrote last edited by
              #6

              @ozoned @ivan @mayel it's putting the whole preview of the OP nodeBB post as a title/content warning

              smallcircles@social.coopS 1 Reply Last reply
              0
              • liaizon@social.wake.stL liaizon@social.wake.st

                @ozoned @ivan @mayel it's putting the whole preview of the OP nodeBB post as a title/content warning

                smallcircles@social.coopS This user is from outside of this forum
                smallcircles@social.coopS This user is from outside of this forum
                smallcircles@social.coop
                wrote last edited by
                #7

                @liaizon @ozoned @ivan @mayel

                It looks good on my social.coop v1.0.2. In fact it looks much better than on mastodon web UI which has no formatting and cuts off the text after "Let's learn more about how that works!"

                liaizon@social.wake.stL smallcircles@social.coopS 2 Replies Last reply
                0
                • smallcircles@social.coopS smallcircles@social.coop

                  @liaizon @ozoned @ivan @mayel

                  It looks good on my social.coop v1.0.2. In fact it looks much better than on mastodon web UI which has no formatting and cuts off the text after "Let's learn more about how that works!"

                  liaizon@social.wake.stL This user is from outside of this forum
                  liaizon@social.wake.stL This user is from outside of this forum
                  liaizon@social.wake.st
                  wrote last edited by
                  #8

                  @smallcircles looks exactly the same on social.coop web on my android, what are you looking at it with?

                  smallcircles@social.coopS 1 Reply Last reply
                  0
                  • smallcircles@social.coopS smallcircles@social.coop

                    @liaizon @ozoned @ivan @mayel

                    It looks good on my social.coop v1.0.2. In fact it looks much better than on mastodon web UI which has no formatting and cuts off the text after "Let's learn more about how that works!"

                    smallcircles@social.coopS This user is from outside of this forum
                    smallcircles@social.coopS This user is from outside of this forum
                    smallcircles@social.coop
                    wrote last edited by
                    #9

                    @liaizon @ozoned @ivan @mayel

                    Though there is some weirdness, as the first part of the article post is duplicated..

                    ivan@bonfire.cafeI 1 Reply Last reply
                    0
                    • liaizon@social.wake.stL liaizon@social.wake.st

                      @smallcircles looks exactly the same on social.coop web on my android, what are you looking at it with?

                      smallcircles@social.coopS This user is from outside of this forum
                      smallcircles@social.coopS This user is from outside of this forum
                      smallcircles@social.coop
                      wrote last edited by
                      #10

                      @liaizon Firefox v151.0.1 on Ubuntu.

                      1 Reply Last reply
                      0
                      • smallcircles@social.coopS smallcircles@social.coop

                        @liaizon @ozoned @ivan @mayel

                        Though there is some weirdness, as the first part of the article post is duplicated..

                        ivan@bonfire.cafeI This user is from outside of this forum
                        ivan@bonfire.cafeI This user is from outside of this forum
                        ivan@bonfire.cafe
                        wrote last edited by
                        #11

                        @smallcircles@social.coop @mayel @liaizon@social.wake.st @ozoned@btfree.social

                        Its because we currently use the summary field as cw text when present...

                        liaizon@social.wake.stL evan@cosocial.caE 2 Replies Last reply
                        0
                        • ivan@bonfire.cafeI ivan@bonfire.cafe

                          @smallcircles@social.coop @mayel @liaizon@social.wake.st @ozoned@btfree.social

                          Its because we currently use the summary field as cw text when present...

                          liaizon@social.wake.stL This user is from outside of this forum
                          liaizon@social.wake.stL This user is from outside of this forum
                          liaizon@social.wake.st
                          wrote last edited by
                          #12

                          @ivan @mayel @ozoned cc @julian so this issue is most articulated at the intersection of the three pieces of interacting software: NodeBB uses the summery, Bonfire then treats that as a CW when replying to NodeBB, then when replying to *that* from Mastodon, Mastodon copies the whole CW from Bonfire which is longer then it supports so then the reply doesn't work till you manualy delete the CW text.

                          julian@activitypub.spaceJ 1 Reply Last reply
                          0
                          • liaizon@social.wake.stL liaizon@social.wake.st

                            @ivan @mayel @ozoned cc @julian so this issue is most articulated at the intersection of the three pieces of interacting software: NodeBB uses the summery, Bonfire then treats that as a CW when replying to NodeBB, then when replying to *that* from Mastodon, Mastodon copies the whole CW from Bonfire which is longer then it supports so then the reply doesn't work till you manualy delete the CW text.

                            julian@activitypub.spaceJ This user is from outside of this forum
                            julian@activitypub.spaceJ This user is from outside of this forum
                            julian@activitypub.space
                            wrote last edited by
                            #13

                            @liaizon@social.wake.st hmm we're followijg @evan@cosocial.ca's long form text FEP and sensitive is not set to true, so it should not be treated as a CW

                            1 Reply Last reply
                            0
                            • liaizon@social.wake.stL This user is from outside of this forum
                              liaizon@social.wake.stL This user is from outside of this forum
                              liaizon@social.wake.st
                              wrote last edited by
                              #14

                              @julian @evan @nodebb-development maybe worth opening an issue on Bonfires side telling them what they should be doing instead?

                              julian@activitypub.spaceJ 1 Reply Last reply
                              0
                              • liaizon@social.wake.stL liaizon@social.wake.st

                                @julian @evan @nodebb-development maybe worth opening an issue on Bonfires side telling them what they should be doing instead?

                                julian@activitypub.spaceJ This user is from outside of this forum
                                julian@activitypub.spaceJ This user is from outside of this forum
                                julian@activitypub.space
                                wrote last edited by
                                #15

                                @liaizon@social.wake.st mm I should if only to start a discussion.

                                I should note that adhering to the long form text FEP is optional 🙂

                                1 Reply Last reply
                                0
                                • liaizon@social.wake.stL This user is from outside of this forum
                                  liaizon@social.wake.stL This user is from outside of this forum
                                  liaizon@social.wake.st
                                  wrote last edited by
                                  #16

                                  @julian well the bonfire maintainers are tagged in my above post so the conversation has already started

                                  1 Reply Last reply
                                  0
                                  • ivan@bonfire.cafeI ivan@bonfire.cafe

                                    @smallcircles@social.coop @mayel @liaizon@social.wake.st @ozoned@btfree.social

                                    Its because we currently use the summary field as cw text when present...

                                    evan@cosocial.caE This user is from outside of this forum
                                    evan@cosocial.caE This user is from outside of this forum
                                    evan@cosocial.ca
                                    wrote last edited by
                                    #17

                                    @ivan @mayel @liaizon @smallcircles @ozoned Don't do that!

                                    If you have to, only do it on Note objects. Everything else needs a summary that's really a summary!

                                    ozoned@btfree.socialO 1 Reply Last reply
                                    0
                                    • julian@activitypub.spaceJ This user is from outside of this forum
                                      julian@activitypub.spaceJ This user is from outside of this forum
                                      julian@activitypub.space
                                      wrote last edited by julian@activitypub.space
                                      #18

                                      @liaizon@social.wake.st this discussion by @liquidparasyte@indieweb.studio suggests that @mayel@bonfire.cafe changed Bonfire to default to CW on missing sensitive.

                                      https://github.com/bonfire-networks/bonfire-app/issues/1841

                                      NodeBB does not support CWs at all, so it does not set sensitive, which may explain this behaviour.

                                      NodeBB should probably set sensitive to false

                                      cc @thisismissem

                                      1 Reply Last reply
                                      0
                                      • evan@cosocial.caE evan@cosocial.ca

                                        @ivan @mayel @liaizon @smallcircles @ozoned Don't do that!

                                        If you have to, only do it on Note objects. Everything else needs a summary that's really a summary!

                                        ozoned@btfree.socialO This user is from outside of this forum
                                        ozoned@btfree.socialO This user is from outside of this forum
                                        ozoned@btfree.social
                                        wrote last edited by
                                        #19

                                        @evan@cosocial.ca @ivan@bonfire.cafe @smallcircles@social.coop @liaizon@social.wake.st @mayel@bonfire.cafe

                                        Can I just say, while we're all talking about a bug, and nothing is perfect, THIS is why I LOVE open source. 😊 Everyone collaborating, folks in each of their expert fields lending their experience. Love it. 😊

                                        Thank you ALL for working through this. ❤

                                        1 Reply Last reply
                                        0
                                        • julian@activitypub.spaceJ This user is from outside of this forum
                                          julian@activitypub.spaceJ This user is from outside of this forum
                                          julian@activitypub.space
                                          wrote last edited by
                                          #20

                                          @thisismissem hmm if I set sensitive to false wouldn't that communicate the same intent, just explicitly?

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          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