]> git.mxchange.org Git - friendica.git/blobdiff - static/dbview.config.php
Merge pull request #9803 from annando/post
[friendica.git] / static / dbview.config.php
index 63f5de82222b52accbcb9edd3b788bc5560fa167..b0bf7ed615a96143587f5613a7c252984f204edc 100644 (file)
@@ -36,7 +36,7 @@
  *
  */
 
-return [
+ return [
        "post-view" => [
                "fields" => [
                        "id" => ["item", "id"],
@@ -105,6 +105,10 @@ return [
                        "contact-nick" => ["contact", "nick"],
                        "contact-avatar" => ["contact", "thumb"],
                        "contact-network" => ["contact", "network"],
+                       "contact-blocked" => ["contact", "blocked"],
+                       "contact-readonly" => ["contact", "readonly"],
+                       "contact-pending" => ["contact", "pending"],
+                       "contact-rel" => ["contact", "rel"],
                        "contact-uid" => ["contact", "uid"],
                        "writable" => "IF (`item`.`network` IN ('apub', 'dfrn', 'dspr', 'stat'), true, `contact`.`writable`)",
                        "self" => ["contact", "self"],
@@ -123,6 +127,7 @@ return [
                        "author-nick" => ["author", "nick"],
                        "author-avatar" => "IF (`contact`.`url` = `author`.`url`, `contact`.`thumb`, `author`.`thumb`)",
                        "author-network" => ["author", "network"],
+                       "author-blocked" => ["author", "blocked"],
                        "owner-id" => ["item", "owner-id"],
                        "owner-link" => ["owner", "url"],
                        "owner-addr" => ["owner", "addr"],
@@ -130,6 +135,7 @@ return [
                        "owner-nick" => ["owner", "nick"],
                        "owner-avatar" => "IF (`contact`.`url` = `owner`.`url`, `contact`.`thumb`, `owner`.`thumb`)",
                        "owner-network" => ["owner", "network"],
+                       "owner-blocked" => ["owner", "blocked"],
                        "causer-id" => ["item", "causer-id"],
                        "causer-link" => ["causer", "url"],
                        "causer-addr" => ["causer", "addr"],
@@ -137,6 +143,7 @@ return [
                        "causer-nick" => ["causer", "nick"], 
                        "causer-avatar" => ["causer", "thumb"],
                        "causer-network" => ["causer", "network"],
+                       "causer-blocked" => ["causer", "blocked"],
                        "causer-contact-type" => ["causer", "contact-type"],
                        "postopts" => ["post-delivery-data", "postopts"],
                        "inform" => ["post-delivery-data", "inform"],