Skip to content
  • 0 Votes
    5 Posts
    45 Views
    julianJ

    @phenomlab theoretically one could run NodeBB with config defined strictly via environment variables, so you could use one codebase (this is untested of course)

  • 17 Votes
    31 Posts
    642 Views
    mikedev@fediversity.siteM
    Third party issues are subtle enough that they're obvious only after you actually have to deal with them. I've been dealing with them for a long time now. Both in private groups and multiple protocol interactions - where we were trying to make something from protocol 'A' visible to somebody using protocol 'B' when we ourselves used protocol 'C'.

    Tokens are one way to do it, but they can be real tricky to secure, and they need to be stripped from conversational objects or inReplyTo's and de-duplication don't work correctly. Or give everybody in the conversation the exact same token - in which case they don't  really provide very good access control. These are things most people don't come to grips with until they try it.

    We've traditionally implemented private groups in other protocols by doing a straight resend/relay of a signed activity by the group actor, and we did this in AP with LD-signatures for a while. I don't think Mastodon supports relaying any more because they're now verifying sender-id (via the HTTP-sig) against actor-id and rejecting mismatches.

    FEP-8b32 along with Collections conveniently gets around all of the related issues. The sender and actor id of the Add activity matches, and the object is a complete signed activity.
  • 0 Votes
    1 Posts
    17 Views
    Nuran AkimbekN

    Hi everyone!
    I have a problematic nodebb forum with the mongodb database. Since I raised several topics on my question and could not resolve it, I chose another way. Already installed a fresh nodedeb forum(3.7.4) with postgresql.Now, It is necessary to migrate data from mongodb to postgresql. Is the any easy and correctly way to do it? In my problematic forum aproximatly 10 000 groups and categories. I reached 16Mg limit in mongodb and may be becouse of this cpu is always high and 503 error displayed

  • PWA push notifications

    Unsolved Technical Support
    25
    4 Votes
    25 Posts
    1k Views
    julianJ

    @bh4-tech not yet, sorry. 😁 I will take a look tomorrow during business hours.

  • 3 Votes
    8 Posts
    4k Views
    M

    Hi, sorry I'm new to NodeBB... can I buy this plugin (where?) and use it with the latest version of NodeBB?
    Thanks 🙂

  • 9 Votes
    73 Posts
    2k Views
    julianJ

    @[email protected] hello! Hope it was a successful test 🙂

  • 0 Votes
    13 Posts
    240 Views
    julianJ

    @[email protected] NodeBB now supplies context with every as:Note object, and is resolvable as an OrderedCollection.

    One thing that is not currently done is what we talked about here, inheriting the authoritative context and serving that instead. I will need to think that through a bit more.

  • 7 Votes
    1 Posts
    33 Views
    julianJ

    As 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 traversal
  • 0 Votes
    7 Posts
    59 Views
    julianJ

    @[email protected] @[email protected], @oplik0 and I took a closer look today and found the one place where IDs were not sent with Announce activities.

    Let me know if you find any other oddities 🙂

  • 0 Votes
    1 Posts
    31 Views
    Bharat RathiB

    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??

  • 0 Votes
    1 Posts
    25 Views
    N

    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

  • 1 Votes
    37 Posts
    4k Views
    B-738B

    @루루

    I use this one mongodb70-7.0.4 , no issue all perfect

  • 7 Votes
    5 Posts
    287 Views
    julianJ

    This user story deals with expected behaviour when encountering a topic/context/first-order collection.

    Perhaps it is discovered when declared as the context for an Object. The collection can then be used as the canonical source for content for that context, and it's members queued for asynchronous processing.

    A scaling issue exists here in that a collection could be massive and cause an undue delay in processing a new Note if every other member of the collection needs to be processed first. Implementors should take care to not require the full context during processing of an Object.

  • 0 Votes
    9 Posts
    277 Views
    julianJ

    Cheers @[email protected] thanks for making it official.

    @[email protected] hopefully you can subscribe to the recurring event now 🙂

  • 0 Votes
    1 Posts
    99 Views
    julianJ

    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?)

  • 27 Votes
    32 Posts
    1k Views
    julianJ

    @[email protected] said in Article vs. Note vs. Page:

    Since then WordPress has joined the Fediverse, and now Ghost is about to join as well. I think the ability to display rich content may soon become a serious competitive advantage.

    Completely agreed. The best time to consider a different approach is now, so I am hoping we can make some headway here at the WG meeting. Stay tuned...

    cc @[email protected] @[email protected]

  • 0 Votes
    4 Posts
    63 Views
    huigeH

    @phenomlab
    no, ACP - admin/settings/general upload

  • 0 Votes
    2 Posts
    32 Views
    huigeH

    Change the address in your config.json file to your URL link

  • Clustering on two machines

    Solved General Discussion
    7
    1 Votes
    7 Posts
    167 Views
    julianJ

    @mutahar-ali You'd probably want to move the redis server to another machine in that case. Either a separate one, or on the same machine as the Mongo database.

  • hyper-express

    Feature Requests
    3
    0 Votes
    3 Posts
    94 Views
    o              oO

    It's an optimization, an opportunity to handle more traffic on less hardware.