@phenomlab
no, ACP - admin/settings/general upload
Please see below for minutes from today's Forum and Threaded Discussions Task Force monthly meeting.
Apologies in advance if I misrepresented anybody or missed any crucial bits of information
Participantsin order of appearance
Dmitri, @[email protected] Angus, @[email protected] Julian, @[email protected] Rimu, @[email protected] Evan, @[email protected] Mattias, @[email protected] Emelia: @[email protected] a: @[email protected] Dmitri invited participants to the regular SWICG call tomorrow; best place to be informed of upcoming events: SocialCG calendar — "please come by, it is free for everyone to join or listen in" Angus provided an update to the working group's inclusion under the banner of the Social Web Incubator Community Group (SWICG), revised name would be the Forums and Threaded Discussions Task Force, or "ForumWG" for short. Julian provided an update on this past month's usage of the fediverse to hold asynchronous discussion, a number of threads have been started on the respective forum categories (both of which federate out) for the working group pertaining to discussions re: agenda items, and have been fairly well received. Angus and Julian will update the respective handles of their categories to reflect the new working group name "Lay of the Land" survey reports Angus: The general spirit of these surveys is 'these are the existing X approaches, the plurality may indicate the need to converge' Nomenclature Rimu: Document continues to be expanded upon Evan re-iterates that it is unlikely any implementors will change their nomenclature to match Angus asks whether participants find utility in the list Evan indicates that whatever is decided upon is best used "on-the-wire", Julian agrees and notes that the agreed-upon terminology would be used in the "Definitions" portion of any report written by ForumWG; suggests the list may be best kept as a living reference Rimu indicates that as the list grows, alternative ways to represent the data may be required Round of applause for Rimu for taking the initiative to start (and now maintain) the list Object Type (Article vs. Note vs. Page) Impetus for topic: WordPress sending out as:Note when as:Article would be more suitable @[email protected] (in topic, paraphrased): Mastodon values microblogging UX and locked down their allowed html to satisfy this constraint, despite Hubzilla's pleas @[email protected] (in topic, paraphrased): Raised issue in 2017 to address issues with inline images being removed. Suggested a compromise: treat Article and Note differently (Note, text only with attachments; Article, full HTML) — Eugen 7 months later closed issue with change to further hamper treatment of Article, by showing only title and link back to source. @[email protected] (in topic): "You can choose 'Note' if you want to have the best compatibility" Evan: Whether a note or article is federated, it shouldn't hamper implementation; but as:Page should not be used Mattias: Choice is given to user as to how WP maps the native Post object to ActivityPub. Historically sent out Article but received a lot of pushback from early adopters. Difficult to reconcile UX with technical limitations Evan: "An as:Note is a Tweet (we just couldn't call it that), an as:Article is a blog post" Emelia: "Should software publish different objects based on content length, even if using the same mechanism?" a: Big picture view — it doesn't seem complicated, but it is, because the line between them is completely arbitrary. Mattias: We try to autodetect (no headers, content length, etc.), would prefer different content types based on what users write, but the advantage is being able to read content natively on the user's platform of choice Dmitri: "I think we've got several questions in parallel: What SHOULD these things (Note & Article) be used for. What to do about Mastodon who only seems to consume Notes." Emelia: Don't Articles usually have titles? Everyone else: crickets (made us think!) a: https://wiki.trwnh.com/tech/spec/activitypub/confusion/note-vs-article/ (also indicates using title to discriminate Article vs. Post isn't 100%) a: The reason we're talking about this is because of various differring implementations - for example, in one implementor's mental model, you have a thread with a title and that is separate from the posts contained within; posts that may also have titles of their own. How do we reconcile this? Julian and Rimu note that @[email protected] replied in-topic: "... we would like to improve how non-Note objects are processed/displayed in Mastodon." Julian mentions a compromise put forth by @[email protected] where Notes are smaller pieces of content with limited markup and attachments, and Articles are (sometimes) larger pieces with formatting, inline images. Additional survey/spreadsheet to be created, but we could as a group (Mastodon included) converge on a path forward and a report to the SocialCG could be authored. To be continued next month. Group Actor characteristics 1b12 - announcing the activities of their actors, this is what Discourse and NodeBB do, other implementations have taken this approach @[email protected] (paraphrased): "intent of 1b12 is to describe the existing status quo" 400e - Pubicly appendable collections; Picked up by a few other folks, also potentially Mastodon (with their new groups implementation) How do we treat group actors in forum/threaded implementations? a: 400e - Groups send Add activities, 1b12 - Groups send Announce activities, otherwise, a Group could even send regular Creates (editor's note: this is a dramatic simplication of the actual post here) Evan: announce style makes the most sense, understanding that folks use both - suggestion: document both but let consumers know they'll see one or both Rimu: Implementors can make opinionated decisions on how it should work, and adjust based on the reality of how the major players adopt Angus will continue collating responses into a spreadsheet re: group implementations Open item: feedback on desired UX (@[email protected]) Can a group be multiple different things? e.g. a context/thread has some recipients, a context could be an actor. How forums choose to (or could) represent these relationships via ActivityPub is what is currently being solicited a: Boils down to "Collections, please use them", but best to start foundationally: Notes in Collections, first. Due to lack of time discussion of this will take place asynchronously on the fediverse: https://community.nodebb.org/post/99491 (if this does not open in your client, paste it into the search box) Julian provided one user story: "If you want to share a context to others, one should share the higher-ordered collection, and not what we do today, which is to share the url/object uri for OP." A suitable implementation could see that and backfill the entire context locally, and redirect the user to the first object. Angus noted that Discourse already has some support for Collections, will provide details async on forum topic (linked above) Action Items @[email protected] and @[email protected] will update the respective handles of their categories to reflect the new working group name @[email protected] to collate responses to Article vs. Name among implementors, supply recommendation at next meeting. @[email protected] to collate responses re: Group federation among implementors, continue discussion next meeting @[email protected] to solicit feedback asynchronously via the fediverseAs of today, the NodeBB-ActivityPub implementation now supplies both context and audience properties with every post.
N.B. When I say context and audience, these are also terms used by the ForumWG that refer to "topic" and "category", in NodeBB parlance.
Early indications from the last ForumWG meeting indicate movement towards the inclusion of context in a low-level as:Note object (a federated NodeBB post), resolvable as an as:Collection or as:OrderedCollection. The latter is what NodeBB will send, ordered by post time.
Discussions with @[email protected] also suggest that Discourse has the ability to parse an as:OrderedCollection context if provided, but currently does not if encountered as a property in a Note.
A minor change today also updates the audience property, which used to erroneously point to the context/topic, but now points to the audience/category. This change aligns usage of this property with FEP-1b12's expectations.
This change should allow other implementors to:
automatically group objects together given a the provided context, and more thoroughly backfill a given object's context, without relying on inReplyTo traversalAmong other oddities, nodebb also sends out Announce activities without an "id" property.
Hi all,
Well this is my first time writing a plugin which involves using client side hooks...
For a start, i would want my plugin to listen to a hook which activates when the topic page is completely loaded and topic tools are loaded too.
For which I wrote this function:
'use strict'; /* globals document, $ */ $(document).ready(function () { function alertType(type, message) { require(['alerts'], function (alerts) { alerts[type](message); }); } console.log('nodebb-plugin-quickstart: loaded'); $(window).on('action:topic.loaded', notifyBox); function notifyBox() { console.log("in notify box"); alertType('success', "done") } });but this is not working... I can only see "nodebb-plugin-quickstart: loaded" on the console.
Where am i going wrong here??
Hey,
I use nodebb-plugin-session-sharing to automatically login users from my WebApp.
This works great on desktop!
But when I add the cookie to WebView of my React Native app i get:
Encountered an error loading page code: -1007 description: "too many HTTP redirects" didFailProvisionalNavigation: true domain: "NSURLErrorDomain"I inject the cookie by calling
<WebView source={{ uri: domain, headers: { Cookie: `${tokenName}=${token};Domain=${tokenDomain};HttpOnly;`}, } } />When I remove the cookie from the header and reload the app on Simulator, I'm logged in, so the cookie and the plugin mechanism is basically working.
React Native WebView reference
nodebb-plugin-session-sharing on Github
Anyone an idea about this?
Kind regards
Niklas
Greets All:
Previously only used Redis but bringing up some new forums what will likely have sizable user base. Seems:
Redis may be phased out at some point These forums will be much busier than my Redis based.Hence I am looking at alternatives. Note PostgreSQL support got committed. Kudos to the folks responsible for that. I am a seasoned systems engineer/admin and neither intimidate me, although I've only "played/tested" w/Mongo and never used in production.
Given the above, would those familiar, preferably with each, please share pros and cons of their experiences and any other relevant insights w.r.t. current NodeBB?
TIA-- o/
Unfortunately during today's ForumWG call, we did not have enough time to fully discuss @[email protected]'s desire to solicit feedback regarding the Fediverse UX for forums.
The next best thing is to collect those user stories via the fediverse and discuss again at the next meeting, so here we are!
@[email protected] will start off the discussion with a reply here.
Does the NodeBB PWA app send push notifications? We hope to have this feature for our new forum.
Hey @[email protected], how can I add events to the SWICG calendar? I notice there's a little button to include "Task Forces" in the listing, so I think listing our meetings would be helpful, now that we've settled on a more consistent time/day-of-week.
cc @[email protected] (unrelatedly, do you get notified if I mention your SocialHub handle?)
There have been some scattered discussions I've seen over the past year that mention that @[email protected]'s WordPress ActivityPub plugin federates their blog posts out as an as:Note, and that the only reason this is done is because Mastodon only treats as:Note (and as:Question) as a first-class object and relegates anything else to a fallback handler that takes a short snippet of the content, and shows a link back to the original source, thus losing any in-app benefits (boosts, replies, etc.)
Whether this is actually true or not, I do not know. So that's why I'd like to ask Mattias — or anybody else with some context — here.
For reference:
as:Article: Represents any kind of multi-paragraph written work. as:Note: Represents a short written work typically less than a single paragraph in length. as:Page: Represents a Web Page.I have also noticed that Lemmy, perhaps out of principle, sends out an as:Page for new generated content, and only the replies federate out as as:Note. It has unfortunately led to some assertions that Lemmy's federation is "broken", even though it is arguably not the case.
@[email protected], care to weigh in?
I don't even blame Mattias for opting to send everything out as as:Note.
End of the day right now it doesn't matter how Mattias or Nutomic represent their higher-level collection of data, because Mastodon is the largest implementor and neither they — nor anyone else I know of, for that matter — treat anything that's not as:Note or as:Question specially.
But that ought to change. The question is how, but this WG is not at the point where we start throwing around decrees and making up standards.
What's important to me right now is what the landscape looks like right now, and why that is the case.
N.B. The discussion here will eventually make its way to online real-time discussion at one of the future WG meetings.
The browser console displays an error:
Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE.NotSameOrigin site-logo-x50.png:1
3d5d145d-eef5-4993-90c0-6c2f761dc97c-image.png
{confirm_link} is http://{ip}:4567/confirm/d93e04d7-9c6b-4016-991d-688970538da6 instead of http://domain.com/confirm/d93e04d7-9c6b-4016-991d-688970538da6
I may regret creating this topic but here goes.
If you experience a bug or other unexpected behavior while using NodeBB and its related ActivityPub integration, please post it here so it can be tracked and resolved.
No formal process as of yet, and we're still at pre-alpha so expect many things to be broken or unavailable 😅
Hi,
We have successfully deployed NodeBB on 1 machine with 3 NodeBB processes on the same machine at different and using nginx to load balance between the 3. We are using MongoDB as the database, and have also setup redis for inter-process communication.
Now we plan to add another machine to further increase user capacity. Both machines will have 3 NodeBB processes each. We have the following questions:
Do we start the NodeBB processes on the machine 2 and have the same redis server in the config so the processes can communicate? Do we set isCluster to true? How do we make a MongoDB replica? Do we add the IPs of both mongo instances in the config file of nodebb on both machines?Any help will be appreciated. Thanks!
Nodebb is using express for the API, right?
Link Preview Image hyper-expressHigh performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.. Latest version: 6.16.0, last published: 3 days ago. Start using hyper-express in your project by running `npm i hyper-express`. There are 12 other projects in the npm registry using hyper-express.
faviconnpm (www.npmjs.com)
My company just did some performance testing for our own API, and this package blew express away. It was a drop-in replacement for us.
If I wanted a function that strips certain words from the .content p (post) fields (removes them at DB level), what would be the best way to achieve this? I am pulling an RSS feed that contains text I'd like to remove (this is a private site I am running designed to work as a security feed), and I'd rather have the URL pretty formatted, but of course, it will not render because of the other text on the same line.
Any ideas?
Thanks
Hi,
I have noticed that the number of hits changes, for example for individual visitors in the last week or the last month. Here are two screenshots that were taken within 24 hours. As you can see last week shows 4k less users than one day before. Can anyone explain this?
cc8cf2cf-0815-45f1-9a63-1c17fefb4309-grafik.png
1ad5ad4d-ef42-4db1-b9d1-480d8be45135-421e48ba-258f-40be-a03c-8065ee2dddc9-grafik.png
An update from last night brings some additional logic to the title generation of topics from the fediverse.
Previously if a title was provided in the name property, that was used as the topic title.
While that hasn't changed (and is the strongest signal for a topic title), not all fediverse content contains titles. Specifically, Mastodon posts do not require or even have a space to put a title in.
For those cases, we fall back to generating one based on the content. We literally grabbed the first 128 characters or so, and added an ellipsis to the end.
While that worked okay as a stopgap, it meant that a lot of topics ended up with really long titles — not ideal.
The new logic tries to grab the first line of text (either the first <p> or line), and from there, the first sentence, using some naive regular expressions.
While still not a proper alternative to... you know... specifying a title, it's better than nothing I suppose!
I wonder if other fediverse softwares implement title generation logic like this...
-
General Discussion
A place to talk about whatever you want
-
NodeBB Development
Stay tuned here to hear more about new releases and features of NodeBB!
-
-
NodeBB Themes
A public listing of community themes created by the NodeBB community. -
Technical Support
Need help with installing or configuring NodeBB? Look here.