if (!defined('LACONICA')) { exit(1); }
-define('LACONICA_VERSION', '0.6.2');
+define('LACONICA_VERSION', '0.6.4.1');
define('AVATAR_PROFILE_SIZE', 96);
define('AVATAR_STREAM_SIZE', 48);
# append our extlib dir as the last-resort place to find libs
set_include_path(get_include_path() . PATH_SEPARATOR . INSTALLDIR . '/extlib/');
-
+
# global configuration object
require_once('PEAR.php');
'timezone' => 'UTC',
'broughtbyurl' => NULL,
'closed' => false,
- 'inviteonly' => false),
+ 'inviteonly' => false,
+ 'private' => false),
'syslog' =>
array('appname' => 'laconica', # for syslog
'priority' => 'debug'), # XXX: currently ignored
'nickname' =>
array('blacklist' => array(),
'featured' => array()),
+ 'profile' =>
+ array('banned' => array()),
'avatar' =>
array('server' => NULL),
'public' =>
'blacklist' => array()),
'theme' =>
array('server' => NULL),
+ 'throttle' =>
+ array('enabled' => false, // whether to throttle edits; false by default
+ 'count' => 20, // number of allowed messages in timespan
+ 'timespan' => 600), // timespan for throttling
'xmpp' =>
array('enabled' => false,
'server' => 'INVALID SERVER',
'port' => 3312),
'tag' =>
array('dropoff' => 864000.0),
+ 'popular' =>
+ array('dropoff' => 864000.0),
'daemon' =>
array('piddir' => '/var/run',
'user' => false,
'group' => false),
'integration' =>
array('source' => 'Laconica'), # source attribute for Twitter
- 'memcached' =>
+ 'memcached' =>
array('enabled' => false,
'server' => 'localhost',
'port' => 11211),