From 89833ce1ff187e29de4250787c5dca4cf4f5ab6b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 4 Mar 2010 11:00:02 -0800 Subject: Set up subscription to update@status.net for admin user on new installation, if OStatus is set up and working. (Will fail gracefully on a behind-the-firewall site.) --- install.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install.php b/install.php index bb53e2b55..8c9b6138b 100644 --- a/install.php +++ b/install.php @@ -865,6 +865,19 @@ function registerInitialUser($nickname, $password, $email) $user->grantRole('owner'); $user->grantRole('moderator'); $user->grantRole('administrator'); + + // Attempt to do a remote subscribe to update@status.net + // Will fail if instance is on a private network. + + if (class_exists('Ostatus_profile')) { + try { + $oprofile = Ostatus_profile::ensureProfile('http://update.status.net/'); + Subscription::start($user->getProfile(), $oprofile->localProfile()); + updateStatus("Set up subscription to update@status.net."); + } catch (Exception $e) { + updateStatus("Could not set up subscription to update@status.net."); + } + } return true; } -- cgit v1.2.3-54-g00ecf From be4b482f13615fb603736cb1e906efb4a9e06fd0 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 4 Mar 2010 14:11:18 -0500 Subject: Updated note on geo location and added a note on user roles --- README | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README b/README index e729769f8..ca241daef 100644 --- a/README +++ b/README @@ -86,8 +86,9 @@ Notable changes this version: - Support for the new distributed status update standard OStatus , based on PubSubHubbub, Salmon, Webfinger, and Activity Streams. -- Support for location. Notices are (optionally) marked with lat-long - information, and can be shown on a map. +- Support for location using the Geolocation API. Notices are (optionally) + marked with lat-long information with geo microformats, and can be shown + on a map. - No fixed content size. Notice size is configurable, from 1 to unlimited number of characters. Default is still 140! - An authorization framework, allowing different levels of users. @@ -97,6 +98,8 @@ Notable changes this version: - A flag system that lets users flag profiles for moderator review. - Support for OAuth authentication in the Twitter API. +- User roles system that lets the owner of the site to assign + administrator and moderator roles to other users. - A pluggable authentication system. - An authentication plugin for LDAP servers. - Many features that were core in 0.8.x are now plugins, such -- cgit v1.2.3-54-g00ecf