From f70650f8248b80915c051ffeefb723a23e0d4da7 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 7 Apr 2021 12:10:54 +0000 Subject: [PATCH 1/2] Further unused tables to be dropped --- src/Database/DBStructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 7fc1b3fee..0c1a46d4e 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -80,7 +80,7 @@ class DBStructure $old_tables = ['fserver', 'gcign', 'gcontact', 'gcontact-relation', 'gfollower' ,'glink', 'item-delivery-data', 'item-activity', 'item-content', 'item_id', 'participation', 'poll', 'poll_result', 'queue', 'retriever_rule', - 'sign', 'spam', 'term', 'user-item', 'thread', 'item']; + 'deliverq', 'dsprphotoq', 'ffinder', 'sign', 'spam', 'term', 'user-item', 'thread', 'item']; $tables = DBA::selectToArray(['INFORMATION_SCHEMA' => 'TABLES'], ['TABLE_NAME'], ['TABLE_SCHEMA' => DBA::databaseName(), 'TABLE_TYPE' => 'BASE TABLE']); From 17b569c5d4e7d45ac95b47436fce862957489ffe Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 7 Apr 2021 12:16:24 +0000 Subject: [PATCH 2/2] Remove empty lines arounf the horizontal ruler, no maximum height --- src/Content/Text/BBCode.php | 6 +++++- view/theme/frio/css/style.css | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 437330ce7..d36338948 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -50,7 +50,7 @@ use Friendica\Util\XML; class BBCode { // Update this value to the current date whenever changes are made to BBCode::convert - const VERSION = '2021-04-05'; + const VERSION = '2021-04-07'; const INTERNAL = 0; const API = 2; @@ -1404,10 +1404,14 @@ class BBCode $search = ["\n[th]", "[th]\n", " [th]", "\n[/th]", "[/th]\n", "[/th] ", "\n[td]", "[td]\n", " [td]", "\n[/td]", "[/td]\n", "[/td] ", "\n[tr]", "[tr]\n", " [tr]", "[tr] ", "\n[/tr]", "[/tr]\n", " [/tr]", "[/tr] ", + "\n[hr]", "[hr]\n", " [hr]", "[hr] ", + "\n[attachment ", " [attachment ", "\n[/attachment]", "[/attachment]\n", " [/attachment]", "[/attachment] ", "[table]\n", "[table] ", " [table]", "\n[/table]", " [/table]", "[/table] "]; $replace = ["[th]", "[th]", "[th]", "[/th]", "[/th]", "[/th]", "[td]", "[td]", "[td]", "[/td]", "[/td]", "[/td]", "[tr]", "[tr]", "[tr]", "[tr]", "[/tr]", "[/tr]", "[/tr]", "[/tr]", + "[hr]", "[hr]", "[hr]", "[hr]", + "[attachment ", "[attachment ", "[/attachment]", "[/attachment]", "[/attachment]", "[/attachment]", "[table]", "[table]", "[table]", "[/table]", "[/table]", "[/table]"]; do { $oldtext = $text; diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 05fcd922e..2d56d74f2 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1801,7 +1801,6 @@ aside .panel-body { word-break: break-word; } .wall-item-content img { - max-height: 480px; object-fit: contain; } .wall-item-body > img,