From 17cd452fff337166b1ec3b974379c2dd62151d87 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 25 Nov 2019 11:32:22 +0000 Subject: [PATCH 1/3] changelog (cherry picked from commit f6f7e7e8d2a9045ac2010ab2308ef7bc5e896efa) --- CHANGELOG | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index d97314674..bc87c3ec9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,70 @@ +Hubzilla 4.6 (2019-11-??) + - Improve opengraph support for channels + - Add opengraph support for articles + - Update abook_connected for RSS feeds only if handle_feed() returned success + - Do not embed PDF files by default but allow to enabled this feature in security options + - Check if file exists before we include it in the router + - Update jquery to version 3.4.1 + - Update composer libraries + - Remove old and unused javascript libraries + - Improved BBcode to Markdown conversion + - Introduce inline SVG support via BBcode + - Sanitize title on Atom/RSS feed import + - Improved HTTP headers cache support for photos + - Add date headers to signed headers + - Add check if item['tag'] is an array + - Add hook comments_are_now_closed for addons to override date based comment closure + - Change mysql schema for item.llink and item.plink for new installs from char(191) to text + - Improved photo cache expiration + - Improved plural function processing on translation strings creation from .po file with util/po2php utlility + - Improved support for CDN/Infrastructure caching (especially profile images) + - New japanese translation + - Add connect button for non-zot networks not connected in current location + - Allow to send forum channels wall2wall or sent by mentions post to external sites via addons + - Allow addons to process forum posts published through mentions + - Improved internal routing for ActivityPub messages + - Improved admin documentation + - Add ITEM_TYPE_CUSTOM and hooks to permit addons to create and distribute custom item types + - Support "comment policy" in Zot6 communications + - Add selected text as quote on reply if comment button is used + - Add more nofollow tags to links to discourage backlink farmers + - Improved conversion of emoji reactions from zot to zot6 + - Add CardDAV/CalDAV autodiscovery + - Label source project of zotfeed since it is not completely compatible across projects + - Update homeinstall script + + Bugfixes + - Fix wildcard tag issue + - Fix duplicate attachment in jot fileupload + - Fix regression with audio file upload + - Fix can not edit menu name or title (#1402) + - Fix pagination encoding issue for some server setups + - Fix Zap->Hubzilla event title compatibility + - Fix event timezones for Zot6 + - Fix missing summary in mod article_edit + - Fix PHP warning failed to write session data using user defined save handler + - Fix possible thumbnails distortion on rebuild with util/thumbrepair utility + - Fix issues with image import to zot6 + - Fix attachment permissions on clonned channels sync + - Fix entries without sitekey returned from DB in queue_deliver() and Lib/Queue + + Addons + - Livejournal: add link to original post option + - Flashcards: update to version 2.06 + - Pubcrawl: compatibility changes to support pixelfed + - Cart: update paypal button to API v2 + - Photocache: rework for speed and lower memory consumption + - Photocache: etag support for cached photos + - Photocache: purge cache on addon uninstall + - Openstreetmap: fix regression if no default values set + - Livejournal: allow send posts from non channel owner + - Pubcrawl: fix event timezones + - Pubcrawl: better ActivityPub channel URL detection + - Pubcrawl: fix comments delivery for other channels on the same hub + - New addon "workflow" with initial basic "issue tracker" capability + + + Hubzilla 4.4.1 (2019-08-16) - Fix wrong profile photo displayed when previewing and editing profiles - Fix regression from 4.4 which prevented encrypted signatures from being used for encrypted messages From 5e442396570f6ec0ec9f27f209ef9d40e95d114a Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Mon, 25 Nov 2019 13:16:07 +0000 Subject: [PATCH 2/3] Add daily cached embedded content cleanup (cherry picked from commit 5c47c9ed9579dc97e0a508045fe50264bb96490b) --- Zotlabs/Daemon/Cron_daily.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php index dbfcff439..b0eefe93a 100644 --- a/Zotlabs/Daemon/Cron_daily.php +++ b/Zotlabs/Daemon/Cron_daily.php @@ -88,6 +88,12 @@ class Cron_daily { z6_discover(); call_hooks('cron_daily',datetime_convert()); + + // Clean up emdeded contect cache + q("DELETE FROM cache WHERE updated < %s - INTERVAL %s", + db_utcnow(), + db_quoteinterval(get_config('system','active_expire_days', '30') . ' DAY') + ); set_config('system','last_expire_day',intval(datetime_convert('UTC','UTC','now','d'))); From 7899ed6f69cbd1d16862295c4499d35ddbcefd8a Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Mon, 25 Nov 2019 13:32:58 +0000 Subject: [PATCH 3/3] Revert "Add daily cached embedded content cleanup" This reverts commit 5c47c9ed9579dc97e0a508045fe50264bb96490b (cherry picked from commit 38de059156f9a6ec63727d47a96d1b15e96e3b47) --- Zotlabs/Daemon/Cron_daily.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php index b0eefe93a..dbfcff439 100644 --- a/Zotlabs/Daemon/Cron_daily.php +++ b/Zotlabs/Daemon/Cron_daily.php @@ -88,12 +88,6 @@ class Cron_daily { z6_discover(); call_hooks('cron_daily',datetime_convert()); - - // Clean up emdeded contect cache - q("DELETE FROM cache WHERE updated < %s - INTERVAL %s", - db_utcnow(), - db_quoteinterval(get_config('system','active_expire_days', '30') . ' DAY') - ); set_config('system','last_expire_day',intval(datetime_convert('UTC','UTC','now','d')));