From 8db428458a69cbb8b5c046cc389e7801a98d75b0 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 4 Nov 2015 23:21:16 -0800 Subject: forgot this one --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 57bc63f2c..78cddce5c 100755 --- a/boot.php +++ b/boot.php @@ -49,7 +49,7 @@ define ( 'PLATFORM_NAME', 'redmatrix' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1158 ); +define ( 'DB_UPDATE_VERSION', 1159 ); /** * @brief Constant with a HTML line break. -- cgit v1.2.3 From 1c8f63f1e50726c00220cfd98f259d2d35d37106 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 6 Nov 2015 12:34:29 -0800 Subject: rev update --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 78cddce5c..6b5187366 100755 --- a/boot.php +++ b/boot.php @@ -49,7 +49,7 @@ define ( 'PLATFORM_NAME', 'redmatrix' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1159 ); +define ( 'DB_UPDATE_VERSION', 1160 ); /** * @brief Constant with a HTML line break. -- cgit v1.2.3 From e6de9bfa4ebe1fb1c7dd05c0d572c7d79d3323ee Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 9 Nov 2015 19:42:37 -0800 Subject: get rid of the pre-comanche widget placement and wgl code --- boot.php | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 48bf54804..f9b826bb7 100755 --- a/boot.php +++ b/boot.php @@ -937,26 +937,6 @@ class App { return $this->groups; } - function set_widget($title,$html, $location = 'aside') { - $this->widgets[] = array('title' => $title, 'html' => $html, 'location' => $location); - } - - function get_widgets($location = '') { - if($location && count($this->widgets)) { - $ret = array(); - foreach($this->widgets as $w) { - if ($w['location'] == $location) - $ret[] = $w; - } - $arr = array('location' => $location, 'widgets' => $ret); - call_hooks('get_widgets', $arr); - return $arr['widgets']; - } - $arr = array('location' => $location, 'widgets' => $this->widgets); - call_hooks('get_widgets', $arr); - return $arr['widgets']; - } - function set_pager_total($n) { $this->pager['total'] = intval($n); } @@ -2076,17 +2056,6 @@ function construct_page(&$a) { $a->build_pagehead(); - $arr = $a->get_widgets(); - ksort($arr, SORT_NUMERIC); - if(count($arr)) { - foreach($arr as $x) { - if(! array_key_exists($x['location'], $a->page)) - $a->page[$x['location']] = ''; - - $a->page[$x['location']] .= $x['html']; - } - } - // Let's say we have a comanche declaration '[region=nav][/region][region=content]$nav $content[/region]'. // The text 'region=' identifies a section of the layout by that name. So what we want to do here is leave // $a->page['nav'] empty and put the default content from $a->page['nav'] and $a->page['section'] -- cgit v1.2.3 From 888bf76e4b4c2d4285c0bb28334df6e9af884e16 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 12 Nov 2015 17:47:38 -0800 Subject: allow pdl content --- boot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index f9b826bb7..390560592 100755 --- a/boot.php +++ b/boot.php @@ -2056,6 +2056,10 @@ function construct_page(&$a) { $a->build_pagehead(); + if($a->page['pdl_content']) { + $a->page['content'] = comanche_region($a,$a->page['content']); + } + // Let's say we have a comanche declaration '[region=nav][/region][region=content]$nav $content[/region]'. // The text 'region=' identifies a section of the layout by that name. So what we want to do here is leave // $a->page['nav'] empty and put the default content from $a->page['nav'] and $a->page['section'] @@ -2070,6 +2074,7 @@ function construct_page(&$a) { call_hooks('construct_page', $arr); $a->layout = $arr['layout']; + foreach($a->layout as $k => $v) { if((strpos($k, 'region_') === 0) && strlen($v)) { if(strpos($v, '$region_') !== false) { -- cgit v1.2.3 From 4f81d6451783f8f51b10b2636d68cde444041dc1 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 19 Nov 2015 15:06:35 -0800 Subject: issue #160 add blablanet to directory fallback list --- boot.php | 1 + 1 file changed, 1 insertion(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 390560592..c74eea512 100755 --- a/boot.php +++ b/boot.php @@ -83,6 +83,7 @@ $DIRECTORY_FALLBACK_SERVERS = array( 'https://hubzilla.site', 'https://red.zottel.red', 'https://gravizot.de', + 'https://blablanet.com', 'https://my.federated.social' ); -- cgit v1.2.3 From 301072a86cacd2620a08cf07f2cef55dffac3c2f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 20 Nov 2015 00:15:48 -0800 Subject: issue #85, community tags and file tags lost during edits. This required splitting off communitytags as a separate tag type and is not backward compatible. Community tags on older posts or those federated from redmatrix clones will not be preserved during edits. --- boot.php | 1 + 1 file changed, 1 insertion(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index c74eea512..8d99c300e 100755 --- a/boot.php +++ b/boot.php @@ -423,6 +423,7 @@ define ( 'TERM_SAVEDSEARCH', 6 ); define ( 'TERM_THING', 7 ); define ( 'TERM_BOOKMARK', 8 ); define ( 'TERM_HIERARCHY', 9 ); +define ( 'TERM_COMMUNITYTAG', 10 ); define ( 'TERM_OBJ_POST', 1 ); define ( 'TERM_OBJ_PHOTO', 2 ); -- cgit v1.2.3