Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    NodeBB v4.5.0 — dependency updates, refactors, and AP improvements

    Pianificato Fissato Bloccato Spostato Uncategorized
    nodebbactivitypubrelease4.5.0forums
    10 Post 4 Autori 5 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
      julian@community.nodebb.org
      ultima modifica di

      Today we released v4.5.0 of NodeBB, which contains a multitude of fixes, refactors, and several new AP-related features.

      Dependency Updates ⚙️

      • connect-multiparty was replaced with multer for multi-part request body handling
      • ioredis was replaced with node-redis as the former was deprecated with the latter being the recommended replacement

      Chat and notification updates 🗨️

      • Administrators are now able to toggle the chat join and leave messages in chat rooms
      • Clicking "mark all read" on the notification page now marks only those matching the filter, read

      Analytics updates 💹

      • Page requests from ActivityPub now correctly increment the unique visitors metric

      ActivityPub 🌐

      • Top-level posts (OP) federating out now contain a summary of roughly the first 500 characters, instead of sending the entire post content
      • Two-way Relay support (Litepub-style)
      • Auto-categorization logic for incoming post content from remote sources
      • Ability to add remote categories to the forum index
      1 Risposta Ultima Risposta Rispondi Cita 0
      • S Questo utente è esterno a questo forum
        sweetp@community.nodebb.org
        ultima modifica di

        Im getting an error when trying to use search:

        2025-09-03T18:50:04.315Z [4567/1274390] - error: GET /api/search?_=1756925050948
        error: operator does not exist: bigint = text
            at .../NodeBB/node_modules/pg-pool/index.js:45:11
            at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
            at async exports.search (.../NodeBB/node_modules/nodebb-plugin-dbsearch/lib/postgres.js:94:15)
            at async search.filterSearchQuery [as method] (.../NodeBB/node_modules/nodebb-plugin-dbsearch/lib/dbsearch.js:201:29)
            at async fireMethod (.../NodeBB/src/plugins/hooks.js:170:11)
            at async Object.fireFilterHook [as filter] (.../NodeBB/src/plugins/hooks.js:177:12)
            at async Hooks.fire (.../NodeBB/src/plugins/hooks.js:106:17)
            at async doSearch (.../NodeBB/src/search.js:66:19)
            at async Promise.all (index 1)
            at async searchInContent (.../NodeBB/src/search.js:109:19)
        

        Im using Ubuntu 24.04, PostgreSQL 17.6, nodebb-plugin-dbsearch 6.3.1

        julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
        • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
          julian@community.nodebb.org @sweetp@community.nodebb.org
          ultima modifica di

          sweetp did this start after the upgrade?

          1 Risposta Ultima Risposta Rispondi Cita 0
          • S Questo utente è esterno a questo forum
            sweetp@community.nodebb.org
            ultima modifica di

            Julian tbh, Im not 100% sure. But I think so.
            After each upgrade I usually quickly click through various parts of the UI to see if my custom theme needs any updates. And I would have noticed this after the 4.4.6 upgrade

            1 Risposta Ultima Risposta Rispondi Cita 0
            • baris@community.nodebb.orgB Questo utente è esterno a questo forum
              baris@community.nodebb.org
              ultima modifica di

              sweetp I can reproduce it so I will take a look.

              1 Risposta Ultima Risposta Rispondi Cita 0
              • baris@community.nodebb.orgB Questo utente è esterno a questo forum
                baris@community.nodebb.org
                ultima modifica di

                sweetp install nodebb-plugin-dbsearch@6.3.2 and run ./nodebb upgrade again, the issue should be resolved.

                1 Risposta Ultima Risposta Rispondi Cita 0
                • S Questo utente è esterno a questo forum
                  sweetp@community.nodebb.org
                  ultima modifica di

                  baris yup, that fixed it, thanks! 👍

                  1 Risposta Ultima Risposta Rispondi Cita 0
                  • T Questo utente è esterno a questo forum
                    twissell@community.nodebb.org
                    ultima modifica di

                    E-Mail notifications about new chat message doesn't work after upgrading to 4.5.0 .
                    DB MongoDB version v7.0.23Firefox_Screenshot_2025-09-04T11-33-53.040Z.png

                    Notifications is enabled, but not function properly after the upgrade.
                    Other notifications work fine, so far, so good...

                    Link Preview Image
                    T 1 Risposta Ultima Risposta Rispondi Cita 0
                    • T Questo utente è esterno a questo forum
                      twissell@community.nodebb.org @twissell@community.nodebb.org
                      ultima modifica di

                      Ah, it was partly my bad, nevertheless chat notification seems to be slowed down a bit.
                      As if a queue or polling has been implemented, with a delay of 2-3 minutes.
                      Is queue implemented for this kind of messages for now ?

                      julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
                      • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                        julian@community.nodebb.org @twissell@community.nodebb.org
                        ultima modifica di

                        Twissell hmm, chat notifications have always been delayed by a minute or so. Maybe less.

                        It is done so that subsequent messages sent within the same rough time frame can be batched together.

                        This is less of an issue with notifications on site, but can be an issue when you are emailed for every single chat message.

                        1 Risposta Ultima Risposta Rispondi Cita 0
                        • Primo post
                          Ultimo post