LDP/LDP/lampadas
david 21f6763a60 update README to match new structure 2002-05-27 21:35:30 +00:00
..
bin Don't know what this is all about. Fixed a lot of bloat, anyway. 2002-05-27 19:32:25 +00:00
conf bugfix 2002-05-25 21:53:52 +00:00
database update README to match new structure 2002-05-27 21:35:30 +00:00
doc make lampadasdb look in installation dir for scripts 2002-05-25 21:22:00 +00:00
lib Documentation for the library 2002-05-15 02:09:36 +00:00
pylib Tiny bugfix in DataLayer docstring. 2002-05-27 01:03:31 +00:00
tools add misc tools, they got deleted in the cvs move for lampadas 2002-04-25 16:27:19 +00:00
www add INSTALL file to document installation directories, 2002-05-25 19:37:28 +00:00
COPYING add fields 2002-01-08 12:57:51 +00:00
CREDITS Me taking care of french localization. 2002-05-26 14:46:34 +00:00
Changelog updated TODO, Makefile, added empty Changelog 2002-05-24 23:01:01 +00:00
INSTALL documentation updates 2002-05-25 22:47:37 +00:00
Makefile make lampadasdb look in installation dir for scripts 2002-05-25 21:22:00 +00:00
Makefile.PL home url validation 2002-04-24 20:53:10 +00:00
README documentation updates 2002-05-25 22:47:37 +00:00
TODO updated Makefile. 2002-05-24 23:22:10 +00:00
setup.py Template setup.py script. 2002-05-26 14:15:47 +00:00
test.pl add language code to documents 2002-05-06 01:42:43 +00:00

README

This is Lampadas, an online document production and publication system.
Lampadas is Free Software; see COPYING for details.

Lampadas is a young project, although it is based on the LDP Database,
which has been in actual use for over a year. It is not yet recommended
for production use.


Requirements
------------

See INSTALL for requirements.


Applicable Standards
--------------------

Lampadas adheres to the following standards:

ISO 639 Language Codes, http://www.w3.org/WAI/ER/IG/ert/iso639.htm
Unicode Encoding, http://www.unicode.org/unicode/standard/standard.html


Security
--------

Anyone may browse and search the database, however only registered users can
make changes to the database at this time.

Each user is recorded in the `username' table. If the 'admin' field is 't',
the user may alter any document information in the database. If the 'sysadmin'
field is set to 't', the user may also alter system data, such as
configuration records. If the document_user table has a record for a user,
the user may edit those documents and their meta-data.

Admins may add new maintainers and documents.

Only admins and authors may edit documents, and authors may only edit their
own documents.

The SysAdmin level allows very low level system configuration. I recommend
that a very small number of people be given SysAdmin rights for system
configuration. Admin level is all that is needed to work with the system,
including user and document administration.


Architecture
------------

Lampadas is implemented as a set of Python modules. See the documentation
in /doc for information about the Python libraries.

The data is stored in a PostgreSQL database for scalability and speed.

The goal is to eventually provide support for mod_python as well as additional
databases.

The LDP Database, upon which Lampadas is based, was written in Perl.
We are working on a Python conversion which is not yet functional.


System Variables
----------------

System variables are stored in the 'config' table as name/value pairs.
Variable names are case-sensitive.

version
	The program version. This isn't really the version of the code,
	but the version of the database tables. However, the code and database
	versions must be in sync or the system will fail, perhaps horribly.
	
smtp_server
	This is the full domain name of your mail server, which is used when
	sending mail to users. Relaying must be allowed by the user under whom
	the web server is running, or mail will fail.

	If mail fails, users will not be able to register!

copyright
	This holds the copyright statement for the site. You may add to it as
	appropriate, but remember that much of the content is generated by
	Lampadas, and  is Copyrighted by David C. Merrill.
	
	Please do not remove my copyright statement, but amend it as
	appropriate for your installation.

local_email
	Place the email address here that you want to appear in the From header
	on all mail sent by Lampadas.

cookie_domain
	This is the domain name used when setting cookies. Note that to prevent
	cookies from being set in TLDs (e.g., .edu or .com), this value
	must contain two periods, as specified in RFC 2109. So, for example,
	for lampadas.org the cookie should be set to '.lampadas.org'.

hostname
	The hostname of the server. Used when doing redirects.

root_dir
	The root directory where Lampadas is available on your web server.
	It must end with a /.

cvs_root
	The root directory of the CVS tree. Filenames must be below this dir.
	It must end with a /.