From 8e3a16bcdddb3e978bb984a050f837912de4f463 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 25 Feb 2014 21:06:47 +0000 Subject: Update channel permissions to full ints --- install/update.php | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/update.php b/install/update.php index 7d1305863..9ad74fec4 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ Date: Tue, 25 Feb 2014 21:12:19 +0000 Subject: Also update database.sql --- install/database.sql | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'install') diff --git a/install/database.sql b/install/database.sql index cd31a0285..ac35f9bc3 100644 --- a/install/database.sql +++ b/install/database.sql @@ -160,18 +160,18 @@ CREATE TABLE IF NOT EXISTS `channel` ( `channel_allow_gid` mediumtext NOT NULL, `channel_deny_cid` mediumtext NOT NULL, `channel_deny_gid` mediumtext NOT NULL, - `channel_r_stream` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_r_profile` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_r_photos` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_r_abook` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_stream` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_wall` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_tagwall` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_comment` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_mail` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_photos` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_w_chat` tinyint(3) unsigned NOT NULL DEFAULT '128', - `channel_a_delegate` tinyint(3) unsigned NOT NULL DEFAULT '0', + `channel_r_stream` int(10) unsigned NOT NULL DEFAULT '128', + `channel_r_profile` int(10) unsigned NOT NULL DEFAULT '128', + `channel_r_photos` int(10) unsigned NOT NULL DEFAULT '128', + `channel_r_abook` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_stream` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_wall` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_tagwall` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_comment` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_mail` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_photos` int(10) unsigned NOT NULL DEFAULT '128', + `channel_w_chat` int(10) unsigned NOT NULL DEFAULT '128', + `channel_a_delegate` int(10) unsigned NOT NULL DEFAULT '0', `channel_r_storage` int(10) unsigned NOT NULL DEFAULT '128', `channel_w_storage` int(10) unsigned NOT NULL DEFAULT '128', `channel_r_pages` int(10) unsigned NOT NULL DEFAULT '128', -- cgit v1.2.3 From 2c72e49d1f63404b464f284d86ce2dce7f2eb493 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 25 Feb 2014 17:55:30 -0800 Subject: more chatroom discovery --- install/database.sql | 11 +++++++++++ install/update.php | 20 +++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) (limited to 'install') diff --git a/install/database.sql b/install/database.sql index ac35f9bc3..5d00afb03 100644 --- a/install/database.sql +++ b/install/database.sql @@ -1027,6 +1027,17 @@ CREATE TABLE IF NOT EXISTS `xchan` ( KEY `xchan_follow` (`xchan_follow`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +CREATE TABLE IF NOT EXISTS `xchat` ( + `xchat_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `xchat_url` char(255) NOT NULL DEFAULT '', + `xchat_desc` char(255) NOT NULL DEFAULT '', + `xchat_xchan` char(255) NOT NULL DEFAULT '', + PRIMARY KEY (`xchat_id`), + KEY `xchat_url` (`xchat_url`), + KEY `xchat_desc` (`xchat_desc`), + KEY `xchat_xchan` (`xchat_xchan`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + CREATE TABLE IF NOT EXISTS `xconfig` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `xchan` char(255) NOT NULL, diff --git a/install/update.php b/install/update.php index 9ad74fec4..8612e7354 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ Date: Tue, 25 Feb 2014 19:48:13 -0800 Subject: put bookmarked chatrooms into poco --- install/database.sql | 4 +++- install/update.php | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/database.sql b/install/database.sql index 5d00afb03..2c8bc50c7 100644 --- a/install/database.sql +++ b/install/database.sql @@ -1032,10 +1032,12 @@ CREATE TABLE IF NOT EXISTS `xchat` ( `xchat_url` char(255) NOT NULL DEFAULT '', `xchat_desc` char(255) NOT NULL DEFAULT '', `xchat_xchan` char(255) NOT NULL DEFAULT '', + `xchat_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' PRIMARY KEY (`xchat_id`), KEY `xchat_url` (`xchat_url`), KEY `xchat_desc` (`xchat_desc`), - KEY `xchat_xchan` (`xchat_xchan`) + KEY `xchat_xchan` (`xchat_xchan`), + KEY `xchat_edited` (`xchat_edited`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `xconfig` ( diff --git a/install/update.php b/install/update.php index 8612e7354..9c9b6129a 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ Date: Mon, 3 Mar 2014 21:00:42 -0800 Subject: directory sync issues --- install/update.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/update.php b/install/update.php index 9c9b6129a..175b89285 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ Date: Thu, 6 Mar 2014 01:29:42 -0800 Subject: bring friends back --- install/update.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'install') diff --git a/install/update.php b/install/update.php index 175b89285..70372241d 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ Date: Thu, 6 Mar 2014 01:34:39 -0800 Subject: typo --- install/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/update.php b/install/update.php index 70372241d..11b1c1da6 100644 --- a/install/update.php +++ b/install/update.php @@ -1155,7 +1155,7 @@ function update_r1102() { $r = q("update abook set abook_flags = (abook_flags - %d) where ( abook_flags & %d)", intval(ABOOK_FLAG_UNCONNECTED), - intval(ABOOK_FLAG_UNCONNECTED), + intval(ABOOK_FLAG_UNCONNECTED) ); return UPDATE_SUCCESS; } \ No newline at end of file -- cgit v1.2.3 From fea711ecde2d227b13d410c797f6e67526935010 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 7 Mar 2014 17:27:44 +0000 Subject: Typo in database.sql --- install/database.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/database.sql b/install/database.sql index 2c8bc50c7..cbfca822c 100644 --- a/install/database.sql +++ b/install/database.sql @@ -1032,7 +1032,7 @@ CREATE TABLE IF NOT EXISTS `xchat` ( `xchat_url` char(255) NOT NULL DEFAULT '', `xchat_desc` char(255) NOT NULL DEFAULT '', `xchat_xchan` char(255) NOT NULL DEFAULT '', - `xchat_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' + `xchat_edited` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`xchat_id`), KEY `xchat_url` (`xchat_url`), KEY `xchat_desc` (`xchat_desc`), -- cgit v1.2.3