diff options
author | Mario <mario@mariovavti.com> | 2020-09-22 08:23:28 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-09-22 10:27:52 +0200 |
commit | 743e575701622a2c672a7c0a84267ab20cba3854 (patch) | |
tree | 78ba72e107c80ce4491fb736874fc45dd4311b7f | |
parent | 759f297aae85f693fe2463fc9057f4e2b27a9668 (diff) | |
download | volse-hubzilla-743e575701622a2c672a7c0a84267ab20cba3854.tar.gz volse-hubzilla-743e575701622a2c672a7c0a84267ab20cba3854.tar.bz2 volse-hubzilla-743e575701622a2c672a7c0a84267ab20cba3854.zip |
changelog and use dbq() where apropriate in z6trans_connections()
(cherry picked from commit be627c3f3aa7b4ab4834aff30fba79ee67b4fa50)
-rw-r--r-- | CHANGELOG | 92 | ||||
-rw-r--r-- | include/connections.php | 8 |
2 files changed, 96 insertions, 4 deletions
@@ -1,3 +1,95 @@ +Hubzilla 5.0 (????-??-??) + - Deprecate $a variable for *_plugin_admin() and *_plugin_admin_post() + - Support remote host cache directives on profile photo fetching + - Disable community tags until it is agreed upon on how to implement in zot6 or activitypub + - Improve home install setup script + - Cryptojs moved to addon + - Implement "more encryption" feature with the SJCL library + - Add minimum form lifetime check + - Improve updateConvItems() performance + - Improve infinite scroll experience + - Introduce a software bill of material (wip) + - Implement new forum behaviour (direct-message a forum to post on its wall) for cross-plattform forum compatibility + - Allow apps to be both pinned and starred independently + - Add images load status to spinnner if preload images is enabled + - Deprecate premium channel app + - Allow to set different values for left and right aside width in $theme.php + - Display complete permission info only to channel owner + - Set CURLOPT_ENCODING to empty string so that compressed content will be uncompressed + - Force browser photo revalidation + - Deprecate ACTIVITY_OBJ_FILE and ACTIVITY_OBJ_WIKI in favour of other object types (Document, Audio, Video) + - Use $mid as plink to prevent to long plinks + - Handle some basic friendica attachment bbcodes + - Deprecate is_edit_activity() + - Deprecate voting feature in favour of polls + - Show event timezone if it differs from the channel timezone + - Avoid multiple run of expiry procedure on large sites + - Implement zot6 as the primary protocol + - Introduce polls + - Provide titles for wiki links markup + - Implement DAV calendars sync with clones + - Optional events and poll filters for mod network + - Add new addon hook get_banner + - Provide tools to deal with spam channels for primary directory admin + - Introduce pinned posts for mod channel + - Refactor notifications to utilize server sent events + - Provide more descriptive connection status icons + + + Bugfixes + - Apply channel name changes to all associated xchans + - Show unchecked box in connedit if value is false + - Reset their_perms before setting new permissions to reflect permission retractions on local hub + - Respect advanced profile setting in sexual preference selector + - Do not allow invite codes to be reused unlimited times + - Fix issue with quoted hashtags/mentions + - Fix issue generating photo thumbnails when uploaded via davfs + - Do not call System::get_platform_name() within t() unless needed + - Fix wrong URL detection with Markdown support enabled + - Fix once cached embedded content is used and stored forever + + Addons + - Diaspora: remove relay@relay.iliketoat.net as default relay (it does not exist anymore) + - Diaspora: provide UI for admin to configure relay + - Diaspora: move the-federation.info registration to statistics addon + - Deprecate $a variable for *_plugin_admin() and *_plugin_admin_post() + - Chess: moved to addons-unmaintained repository + - Introduce cryptojs addon to allow decryption of legacy e2ee notes + - Introduce the hide aside addon - fade out aside areas after a while when using endless scroll + - Gallery: only show first row of images in the preview + - Gallery: restrict height of images to divmore_height + - Diaspora: make sure we only provide strings for unxmlify() + - Pubcrawl: fix federation with pixelfed + - Pubcrawl: dismiss announce if we already have the original item + - Gallery: implement view_storage permission for channel_apps() + - Cart: order currency param must be added to the sdk script url + - Diaspora utilize Lib/Connect + - Cart: utilize Lib/Connect + - Cart: add per item and per order customer data entry + - Pubcrawl: implement polls + - Chord Generator: moved to addons-unmaintained repository + - Custom Home: moved to addons-unmaintained repository + - Flattr Widget: moved to addons-unmaintained repository + - Friendica Photo Migrator: moved to addons-unmaintained repository + - Jappix Mini: moved to addons-unmaintained repository + - Mahjongg: moved to addons-unmaintained repository + - Torch: moved to addons-unmaintained repository + - Tour: moved to addons-unmaintained repository + - Introduce navbanner_option addon + - Pubcrawl: support image description + - Queueworker: fix duplicate checking + - Diaspora: fix dreport + - Move legacy zot/diaspora mail frontend from core to mail addon + - Diaspora: improve sql queries performance + - Pubcrawl: introduce pubcrawl_activity_mod_init() + - Twitter: replace Hubzilla bookmark with unicode icon + - Pubcrawl: add sys channel to local subscribers + - Pubcrawl: deal with arrays in attributedTo + - Workflow: various fixes + - Channelreputation: various fixes + - Introduce SSE addon to provide realtime notifications utilizing server sent events + + Hubzilla 4.6 (2019-12-04) - Improve opengraph support for channels - Add opengraph support for articles diff --git a/include/connections.php b/include/connections.php index c7ec163c8..96077cd69 100644 --- a/include/connections.php +++ b/include/connections.php @@ -775,7 +775,7 @@ function vcard_query(&$r) { function z6trans_connections() { - $r = q("SELECT DISTINCT abook.abook_xchan, hubloc.hubloc_addr, hubloc.hubloc_url, hubloc.hubloc_guid, site.site_project, site.site_version FROM abook + $r = dbq("SELECT DISTINCT abook.abook_xchan, hubloc.hubloc_addr, hubloc.hubloc_url, hubloc.hubloc_guid, site.site_project, site.site_version FROM abook LEFT JOIN hubloc ON abook_xchan = hubloc_hash LEFT JOIN site ON hubloc_url = site_url WHERE abook.abook_self = 0 AND hubloc.hubloc_network = 'zot' @@ -806,7 +806,7 @@ function z6trans_connections() { logger("z6trans_connections: transition $zot_xchan to $zot6_xchan"); - q("START TRANSACTION"); + dbq("START TRANSACTION"); $q1 = q("UPDATE abook set abook_xchan = '%s' WHERE abook_xchan = '%s'", dbesc($zot6_xchan), @@ -824,13 +824,13 @@ function z6trans_connections() { ); if($q1 && $q2 && $q3) { - q("COMMIT"); + dbq("COMMIT"); logger("z6trans_connections: completed"); continue; } logger("z6trans_connections: failed - performing rollback"); - q("ROLLBACK"); + dbq("ROLLBACK"); } } |