documentation and version number
darcs-hash:20081212043201-84dde-1bf07467f85f743fb5cb4ec92e5b8934bfb49578.gz
This commit is contained in:
parent
da32755959
commit
203bc45842
130
README
130
README
@ -2,8 +2,8 @@
|
|||||||
README
|
README
|
||||||
------
|
------
|
||||||
|
|
||||||
Laconica 0.6.3 ("Gardening at Night")
|
Laconica 0.6.4 ("Catapult")
|
||||||
24 November 2008
|
11 December 2008
|
||||||
|
|
||||||
This is the README file for Laconica, the Open Source microblogging
|
This is the README file for Laconica, the Open Source microblogging
|
||||||
platform. It includes installation instructions, descriptions of
|
platform. It includes installation instructions, descriptions of
|
||||||
@ -72,35 +72,51 @@ New this version
|
|||||||
================
|
================
|
||||||
|
|
||||||
This is a minor feature and security improvement version from version
|
This is a minor feature and security improvement version from version
|
||||||
0.6.2 (release 13 Nov 2008). Notable features of version 0.6.3 include:
|
0.6.3 (release 24 Nov 2008). Notable features of version 0.6.4 include:
|
||||||
|
|
||||||
- 'nudge' functionality to tell a user that they're missed.
|
- "private" installs won't show any data to the outside world; redirect
|
||||||
- Links to related RSS/Atom feeds on all pages.
|
non-logged-in users to login. (See "Private" below)
|
||||||
- Favor/disfavor icons changed to images.
|
- Ability to "block" a subscriber, which forces them to unsubscribe,
|
||||||
- Better checks to prevent remote subscribing to a local user, causing
|
doesn't allow them to subscribe again, and doesn't allow them to send
|
||||||
"ghost profiles" (dupes in people search or subscriptions lists).
|
@-replies
|
||||||
- Twitter friend sync. Users who set up their Twitter accounts will
|
- Fine-grained control of subscriptions; users can choose not to receive
|
||||||
be automatically connected to other local users who have Twitter
|
notices from other users over SMS, or IM, or both
|
||||||
accounts and who they're subscribed to on Twitter.
|
- support for Mozilla microsummaries
|
||||||
- List view of subscriptions/subscribers.
|
(https://wiki.mozilla.org/Microsummaries)
|
||||||
- Subscribe/unsubscribe button on subscriptions/subscribers list.
|
- more efficient support for blacklisting users from the public page
|
||||||
- Optionally hide certain users from the public stream.
|
- instructions on the public page for people who aren't logged in
|
||||||
- Give public area a few more tabs.
|
- better registration instructions
|
||||||
- Add Featured users tab to public area.
|
- a check for license compatibility in receiving OMB notices
|
||||||
- Add Most favorited notices tab to public area.
|
- HTML output in RSS 1.0, 2.0, and Atom feeds
|
||||||
- Users can give themselves tags.
|
- tuned and more reliable 'rememberme' cookies for username/password
|
||||||
- Users can tag their subscribers or subscriptions.
|
and OpenID logins
|
||||||
- Users can send @-replies to tagged subsets of their contact list
|
- a utility for setting user passwords
|
||||||
using @#tag.
|
- a "ban" configuration variable to ban certain users from posting
|
||||||
- Subscribe/unsubscribe with Ajax form.
|
notices
|
||||||
- Post notice with Ajax form.
|
- an configurable posting throttle to keep any one user from flooding
|
||||||
- Script to optionally add notice inboxes for only some users.
|
the site with messages.
|
||||||
- Incremental caching of notice streams using memcached.
|
- fine-tuned url-shortening: only shorten if it's needed, only expand
|
||||||
- Use cached favorites info to avoid excess DB hits for faves.
|
certain URLs, and handle failure of URL-shortening services reliably
|
||||||
- Optionally use Sphinx Search for notice search.
|
- disable Ajax input for notices, subscribe, nudge, while the
|
||||||
- Optionally use Sphinx Search for people search.
|
request is processing
|
||||||
- FOAF URL link on profile page.
|
- early implementation of support for Last-Modified and ETag-based
|
||||||
- HTML correction for repeated @id attributes in favorites forms.
|
caching
|
||||||
|
- initial microformats support
|
||||||
|
- redirect on bad nicknames in URLs
|
||||||
|
- correctly send emails in recipient's, not sender's, language
|
||||||
|
- correct email content type
|
||||||
|
- Change "Most Favorited" page to "Popular"
|
||||||
|
- properly support the "since" parameter in API calls
|
||||||
|
- Fix for changes in validate_credentials API call for the Twitter
|
||||||
|
bridge
|
||||||
|
- Fix for fatal error when sending email confirmation on registration
|
||||||
|
- Better replies for commands sent through the Ajax channel
|
||||||
|
- Add a User-Agent string for OMB requests
|
||||||
|
- Upgrade upstream library XMPPHP
|
||||||
|
- Upgrade upstream library JQuery Forms
|
||||||
|
- Code cleanup: checkboxes have proper <label> elements
|
||||||
|
- Code cleanup: consolidated various notice-listing code in one place
|
||||||
|
- Better support for unsubscribing from a remote user
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
=============
|
=============
|
||||||
@ -199,9 +215,9 @@ especially if you've previously installed PHP/MySQL packages.
|
|||||||
1. Unpack the tarball you downloaded on your Web server. Usually a
|
1. Unpack the tarball you downloaded on your Web server. Usually a
|
||||||
command like this will work:
|
command like this will work:
|
||||||
|
|
||||||
tar zxf laconica-0.6.2.tar.gz
|
tar zxf laconica-0.6.4.tar.gz
|
||||||
|
|
||||||
...which will make a laconica-0.6.2 subdirectory in your current
|
...which will make a laconica-0.6.4 subdirectory in your current
|
||||||
directory. (If you don't have shell access on your Web server, you
|
directory. (If you don't have shell access on your Web server, you
|
||||||
may have to unpack the tarball on your local computer and FTP the
|
may have to unpack the tarball on your local computer and FTP the
|
||||||
files to the server.)
|
files to the server.)
|
||||||
@ -209,7 +225,7 @@ especially if you've previously installed PHP/MySQL packages.
|
|||||||
2. Move the tarball to a directory of your choosing in your Web root
|
2. Move the tarball to a directory of your choosing in your Web root
|
||||||
directory. Usually something like this will work:
|
directory. Usually something like this will work:
|
||||||
|
|
||||||
mv laconica-0.6.2 /var/www/mublog
|
mv laconica-0.6.4 /var/www/mublog
|
||||||
|
|
||||||
This will make your Laconica instance available in the mublog path of
|
This will make your Laconica instance available in the mublog path of
|
||||||
your server, like "http://example.net/mublog". "microblog" or
|
your server, like "http://example.net/mublog". "microblog" or
|
||||||
@ -626,13 +642,30 @@ backups of a working Laconica system by backing up the database and
|
|||||||
the Web directory. To backup the database use mysqldump (http://ur1.ca/7xo)
|
the Web directory. To backup the database use mysqldump (http://ur1.ca/7xo)
|
||||||
and to backup the Web directory, try tar.
|
and to backup the Web directory, try tar.
|
||||||
|
|
||||||
|
Private
|
||||||
|
-------
|
||||||
|
|
||||||
|
The administrator can set the "private" flag for a site so that it's
|
||||||
|
not visible to non-logged-in users. This might be useful for
|
||||||
|
workgroups who want to share a microblogging site for project
|
||||||
|
management, but host it on a public server.
|
||||||
|
|
||||||
|
Note that this is an experimental feature; total privacy is not
|
||||||
|
guaranteed or ensured. Also, privacy is all-or-nothing for a site; you
|
||||||
|
can't have some accounts or notices private, and others public.
|
||||||
|
Finally, the interaction of private sites with OpenMicroBlogging is
|
||||||
|
undefined. Remote users won't be able to subscribe to users on a
|
||||||
|
private site, but users of the private site may be able to subscribe
|
||||||
|
to users on a remote site. (Or not... it's not well tested.) The
|
||||||
|
"proper behaviour" hasn't been defined here, so handle with care.
|
||||||
|
|
||||||
Upgrading
|
Upgrading
|
||||||
=========
|
=========
|
||||||
|
|
||||||
If you've been using Laconica 0.6, 0.5 or lower, or if you've been
|
If you've been using Laconica 0.6, 0.5 or lower, or if you've been
|
||||||
tracking the "darcs" version of the software, you will probably want
|
tracking the "darcs" version of the software, you will probably want
|
||||||
to upgrade and keep your existing data. There is no automated upgrade
|
to upgrade and keep your existing data. There is no automated upgrade
|
||||||
procedure in Laconica 0.6.2. Try these step-by-step instructions; read
|
procedure in Laconica 0.6.4. Try these step-by-step instructions; read
|
||||||
to the end first before trying them.
|
to the end first before trying them.
|
||||||
|
|
||||||
0. Download Laconica and set up all the prerequisites as if you were
|
0. Download Laconica and set up all the prerequisites as if you were
|
||||||
@ -777,7 +810,9 @@ inviteonly: If set to 'true', will only allow registration if the user
|
|||||||
was invited by an existing user.
|
was invited by an existing user.
|
||||||
private: If set to 'true', anonymous users will be redirected to the
|
private: If set to 'true', anonymous users will be redirected to the
|
||||||
'login' page. Also, API methods that normally require no
|
'login' page. Also, API methods that normally require no
|
||||||
authentication will require it.
|
authentication will require it. Note that this does not turn
|
||||||
|
off registration; use 'closed' or 'inviteonly' for the
|
||||||
|
behaviour you want.
|
||||||
|
|
||||||
db
|
db
|
||||||
--
|
--
|
||||||
@ -788,7 +823,7 @@ set are listed below for clarity.
|
|||||||
|
|
||||||
database: a DSN (Data Source Name) for your Laconica database. This is
|
database: a DSN (Data Source Name) for your Laconica database. This is
|
||||||
in the format 'protocol://username:password@hostname/databasename',
|
in the format 'protocol://username:password@hostname/databasename',
|
||||||
where 'protocol' is 'mysql' (or possibly 'postgresql', if you
|
where 'protocol' is 'mysql' or 'mysqli' (or possibly 'postgresql', if you
|
||||||
really know what you're doing), 'username' is the username,
|
really know what you're doing), 'username' is the username,
|
||||||
'password' is the password, and etc.
|
'password' is the password, and etc.
|
||||||
ini_yourdbname: if your database is not named 'laconica', you'll need
|
ini_yourdbname: if your database is not named 'laconica', you'll need
|
||||||
@ -1001,6 +1036,27 @@ enabled: A three-valued flag for whether to use notice inboxes (see
|
|||||||
upgrading info above for notes about this change). Can be
|
upgrading info above for notes about this change). Can be
|
||||||
'false', 'true', or '"transitional"'.
|
'false', 'true', or '"transitional"'.
|
||||||
|
|
||||||
|
throttle
|
||||||
|
--------
|
||||||
|
|
||||||
|
For notice-posting throttles.
|
||||||
|
|
||||||
|
enabled: Whether to throttle posting. Defaults to false.
|
||||||
|
count: Each user can make this many posts in 'timespan' seconds. So, if count
|
||||||
|
is 100 and timespan is 3600, then there can be only 100 posts
|
||||||
|
from a user every hour.
|
||||||
|
timespan: see 'count'.
|
||||||
|
|
||||||
|
profile
|
||||||
|
-------
|
||||||
|
|
||||||
|
Profile management.
|
||||||
|
|
||||||
|
banned: an array of usernames and/or profile IDs of 'banned' profiles.
|
||||||
|
The site will reject any notices by these users -- they will
|
||||||
|
not be accepted at all. (Compare with blacklisted users above,
|
||||||
|
whose posts just won't show up in the public stream.)
|
||||||
|
|
||||||
Troubleshooting
|
Troubleshooting
|
||||||
===============
|
===============
|
||||||
|
|
||||||
@ -1013,7 +1069,7 @@ repository (see below), and you get a compilation error ("unexpected
|
|||||||
T_STRING") in the browser, check to see that you don't have any
|
T_STRING") in the browser, check to see that you don't have any
|
||||||
conflicts in your code.
|
conflicts in your code.
|
||||||
|
|
||||||
If you upgraded to Laconica 0.6.2 without reading the "Notice inboxes"
|
If you upgraded to Laconica 0.6.4 without reading the "Notice inboxes"
|
||||||
section above, and all your users' 'Personal' tabs are empty, read the
|
section above, and all your users' 'Personal' tabs are empty, read the
|
||||||
"Notice inboxes" section above.
|
"Notice inboxes" section above.
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
if (!defined('LACONICA')) { exit(1); }
|
if (!defined('LACONICA')) { exit(1); }
|
||||||
|
|
||||||
define('LACONICA_VERSION', '0.6.3');
|
define('LACONICA_VERSION', '0.6.4');
|
||||||
|
|
||||||
define('AVATAR_PROFILE_SIZE', 96);
|
define('AVATAR_PROFILE_SIZE', 96);
|
||||||
define('AVATAR_STREAM_SIZE', 48);
|
define('AVATAR_STREAM_SIZE', 48);
|
||||||
@ -69,7 +69,8 @@ $config =
|
|||||||
'timezone' => 'UTC',
|
'timezone' => 'UTC',
|
||||||
'broughtbyurl' => NULL,
|
'broughtbyurl' => NULL,
|
||||||
'closed' => false,
|
'closed' => false,
|
||||||
'inviteonly' => false),
|
'inviteonly' => false,
|
||||||
|
'private' => false),
|
||||||
'syslog' =>
|
'syslog' =>
|
||||||
array('appname' => 'laconica', # for syslog
|
array('appname' => 'laconica', # for syslog
|
||||||
'priority' => 'debug'), # XXX: currently ignored
|
'priority' => 'debug'), # XXX: currently ignored
|
||||||
|
Loading…
Reference in New Issue
Block a user