Changes to package updates
-
As you know, we create a topic in this forum titled "Package updates" for each app package and post the changelog for every new release.
Off late, given the rise of security issues driven by AI, it is hard to assess if an issue in some base library (say zip or locale) is affecting the package or not.
Cloudron packages derive from an Ubuntu base image. Ubuntu does a fairly good job in tracking the CVEs and providing USNs. From our side, we have to build the base image more often and thus update all the packages lot more often.
We have already made changes in our CI to make this happen. Right now, this forum (NodeBB) does not have a way to create a post skipping notification. So to avoid polluting the forum with non-stop package updates related to base image update, such update notifications are simply not posted here. You will see the updates at https://www.cloudron.io/appstatus.html though.
tl;dr Packages might receive updates that are not announced in this forum. This is expected.
-
Can you make this a (good old) RSS-Feed?
-
-
Can you make this a (good old) RSS-Feed?
-
-
-
Bookmarked. Thanks! I use the "unread" button to keep up with the forum posts but it's flooded with app update posts. IDK if this is practical but maybe consolidate all updates into a single thread? Now that I've typed it, it does feel impractical.
-
Bookmarked. Thanks! I use the "unread" button to keep up with the forum posts but it's flooded with app update posts. IDK if this is practical but maybe consolidate all updates into a single thread? Now that I've typed it, it does feel impractical.
@humpty I helped myself via a userscript (as they are truly “universal” now since we can have them now on any mobile browser).
I know, it’s a little brutish but until things are reorganized in the forum (if at all):// ==UserScript== // @name Cloudron Forum – hide "Package Updates" & mark as read // @namespace https://forum.cloudron.io/ // @version 1.0.0 // @description On /unread, hides all topics with "Package Updates" in the title and marks them as read. // @match https://forum.cloudron.io/* // @run-at document-idle // @grant none // ==/UserScript== (function () { 'use strict'; const PHRASE = 'package updates'; // case-insensitive match const MARK_AS_READ = true; // set to false to only hide topics const isUnreadPage = () => /^\/unread(\/|$|\?)/.test(location.pathname); // --- Get CSRF token (NodeBB requires it for write API calls) --- let csrfPromise = null; function getCsrf() { const cfg = window.config; if (cfg && cfg.csrf_token) return Promise.resolve(cfg.csrf_token); if (!csrfPromise) { csrfPromise = fetch('/api/config', { credentials: 'same-origin' }) .then(r => r.json()) .then(j => j.csrf_token) .catch(() => null); } return csrfPromise; } // Fallback: mark as read via the NodeBB socket in the page context function markViaSocket(tids) { const s = document.createElement('script'); s.textContent = '(function(){try{if(window.socket){window.socket.emit("topics.markAsRead",' + JSON.stringify(tids) + ',function(){});}}catch(e){}})();'; (document.head || document.documentElement).appendChild(s); s.remove(); } const done = new Set(); async function markRead(tid) { if (!MARK_AS_READ || done.has(tid)) return; done.add(tid); try { const token = await getCsrf(); const res = await fetch('/api/v3/topics/' + tid + '/read', { method: 'PUT', credentials: 'same-origin', headers: Object.assign( { 'Content-Type': 'application/json' }, token ? { 'x-csrf-token': token } : {} ), }); if (!res.ok) throw new Error('HTTP ' + res.status); } catch (e) { markViaSocket([parseInt(tid, 10)]); } } function getTitle(item) { const el = item.querySelector('[component="topic/header"]') || item.querySelector('.title a, h3 a') || item.querySelector('a[href*="/topic/"]'); return el ? el.textContent.trim() : ''; } function process() { if (!isUnreadPage()) return; document .querySelectorAll('[component="category/topic"]:not([data-pu-checked])') .forEach(item => { item.setAttribute('data-pu-checked', '1'); if (!getTitle(item).toLowerCase().includes(PHRASE)) return; item.style.display = 'none'; const tid = item.getAttribute('data-tid'); if (tid) markRead(tid); }); } // NodeBB loads pages via AJAX and topics via infinite scroll -> watch the DOM let scheduled = false; new MutationObserver(() => { if (scheduled) return; scheduled = true; requestAnimationFrame(() => { scheduled = false; process(); }); }).observe(document.documentElement, { childList: true, subtree: true }); process(); })();
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
