Difference between revisions of "Cruise:Onboard Twitter/StatusNet"

From JoCopedia
Jump to: navigation, search
m (Boring Manager Rob moved page Onboard Twitter/StatusNet to Cruise:Onboard Twitter/StatusNet)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=StatusNet for JoCo Cruise Crazy 2=
+
'''[http://status.net/wiki/Main_Page StatusNet]''' is an Open Source project to create a Twitter like service.  There is a fan initiative to investigate it's suitability for onboard communication.
[http://status.net/wiki/Main_Page StatusNet] is an Open Source project to create a Twitter like service.  There is a fan initiative to investigate it's suitability for onboard communication.
 
  
 
==Proof of Concept==
 
==Proof of Concept==
Line 11: Line 10:
 
** Likely due to incorrect configuration of sendmail
 
** Likely due to incorrect configuration of sendmail
 
** Should just disable email validation
 
** Should just disable email validation
 +
*** '''After looking at the registration code, sending emails is not configurable.  Source needs modification to allow for this.  Should be pretty easy to do.'''
 
* As of July 2010, native Twitter app doesn't work with StatusNet.  Authentication in the app is hardcoded to official Twitter site.
 
* As of July 2010, native Twitter app doesn't work with StatusNet.  Authentication in the app is hardcoded to official Twitter site.
 +
* (may 3, 2011): After twiddling with the configs, iPhone app clients crash.  Will investigate.
 +
* (may 3, 2011): Looks like the iPhone app is no longer available on the App Store.  StatusNet says a new client is being added.
 +
 
===Improvements===
 
===Improvements===
 
* Disable attachments
 
* Disable attachments
 +
** Doable with configuration '''$config['attachments']['supported'] = false;''', but still see the attachment icon, and receive the misleading error message like '''"image/png" is not a supported file type on this server. Try using another image format."'''
 +
** Probably only possible to remove icon with CSS
 
* Disable location services
 
* Disable location services
 
** We're gonna be [http://www.youtube.com/watch?v=R7yfISlGLNU on a boat.]
 
** We're gonna be [http://www.youtube.com/watch?v=R7yfISlGLNU on a boat.]
 +
** Done.  Need to set the following in the config:
 +
'''$config['location']['sharedefault'] = false;''' # sets default to false <br/>
 +
'''$config['location']['share'] = false;''' # disables user's ability to change default <br/>
 
* Disable OpenID
 
* Disable OpenID
 +
** Done, need to unload the OpenID plugin with the following in the config:
 +
'''unset($config['plugins']['default']['OpenID']);'''
 
* Install PHP bytecode accelerator
 
* Install PHP bytecode accelerator
 
** [http://pecl.php.net/package/APC APC] appears to be the defacto standard
 
** [http://pecl.php.net/package/APC APC] appears to be the defacto standard
 
* Disable URL shorteners
 
* Disable URL shorteners
 +
** Done by unloading the shorteners:
 +
'''unset($config['plugins']['default']['LilUrl']);'''<br/>
 +
'''unset($config['plugins']['default']['PtitUrl']);'''<br/>
 +
'''unset($config['plugins']['default']['SimpleUrl']);'''<br/>
 +
'''unset($config['plugins']['default']['TightUrl']);'''<br/>
 
** Look into disabling URLs
 
** Look into disabling URLs
 +
 
===Hardware===
 
===Hardware===
 
The current proof of concept server is running under a free [http://aws.amazon.com/ec2/instance-types/ Amazon EC2 micro instance].  Available RAM is 79MB of 613MB.  During the current light testing, CPU usage has not exceeded 15%.  Likely need 1 GB and a low end processor for real hardware.  A small, cheap netbook is almost certainly likely to handle the load.  
 
The current proof of concept server is running under a free [http://aws.amazon.com/ec2/instance-types/ Amazon EC2 micro instance].  Available RAM is 79MB of 613MB.  During the current light testing, CPU usage has not exceeded 15%.  Likely need 1 GB and a low end processor for real hardware.  A small, cheap netbook is almost certainly likely to handle the load.  
Line 41: Line 57:
  
 
{{stub}}
 
{{stub}}
 +
 +
[[Category:JoCo Cruise Crazy]]

Latest revision as of 00:48, 24 April 2013

StatusNet is an Open Source project to create a Twitter like service. There is a fan initiative to investigate it's suitability for onboard communication.

Proof of Concept

There is a proof of concept server located at https://grimstatusnet.dyndns.org/statusnet/. Access is by web, iPhone app, Android app, or desktop app. Mobile clients should use grimstatusnet.dyndns.org/statusnet as the server.

Issues

A list of known issues with the current proof of concept server.

  • Error reported during account creation
    • Likely due to incorrect configuration of sendmail
    • Should just disable email validation
      • After looking at the registration code, sending emails is not configurable. Source needs modification to allow for this. Should be pretty easy to do.
  • As of July 2010, native Twitter app doesn't work with StatusNet. Authentication in the app is hardcoded to official Twitter site.
  • (may 3, 2011): After twiddling with the configs, iPhone app clients crash. Will investigate.
  • (may 3, 2011): Looks like the iPhone app is no longer available on the App Store. StatusNet says a new client is being added.

Improvements

  • Disable attachments
    • Doable with configuration $config['attachments']['supported'] = false;, but still see the attachment icon, and receive the misleading error message like "image/png" is not a supported file type on this server. Try using another image format."
    • Probably only possible to remove icon with CSS
  • Disable location services
    • We're gonna be on a boat.
    • Done. Need to set the following in the config:

$config['location']['sharedefault'] = false; # sets default to false
$config['location']['share'] = false; # disables user's ability to change default

  • Disable OpenID
    • Done, need to unload the OpenID plugin with the following in the config:

unset($config['plugins']['default']['OpenID']);

  • Install PHP bytecode accelerator
    • APC appears to be the defacto standard
  • Disable URL shorteners
    • Done by unloading the shorteners:

unset($config['plugins']['default']['LilUrl']);
unset($config['plugins']['default']['PtitUrl']);
unset($config['plugins']['default']['SimpleUrl']);
unset($config['plugins']['default']['TightUrl']);

    • Look into disabling URLs

Hardware

The current proof of concept server is running under a free Amazon EC2 micro instance. Available RAM is 79MB of 613MB. During the current light testing, CPU usage has not exceeded 15%. Likely need 1 GB and a low end processor for real hardware. A small, cheap netbook is almost certainly likely to handle the load.

Software

Software Version
OS Ubuntu 11.04 Beta 1 64 bit
StatusNet 0.9.7
Apache 2.2.17
PHP 5.3.5-1ubuntu7.1
phpMyAdmin 3.3.10deb1
ddclient

This page is a stub. You can help by expanding it!