Note: The git server on this machine is now down - you can find the sources at http://gitorious.org/libreapps/

Sorry, this wiki got majorily attacked by spambots, and I don't have time to restore it properly now. However, here's the proper text of the pages:

=Main Page=

This is the development wiki for [http://liberapps.com libreapps].

== Get the Source Code ==
 git clone git://libreapps.com/libreapps.git
 cd libreapps
 git clone git://libreapps.com/libreappsmail.git mail
 git clone git://libreapps.com/libreappsrss.git rss

== Installing ==
First Libreapps Mail and TT-RSS must be installed. The former by running mail/install.php in a webbrowser. Then add the following lines to config.php:
 $libreapps = true;
 $libreapps = true;
TT-RSS can be installed following the [http://tt-rss.org/trac/wiki/InstallationNotes instructions on its website]. (Mostly coping ''config.php-dist'' to ''config.php'' and changing the required values.) NB. Libreapps requires a multiuser setup.

Then, create tables in a mysql database using ''schema.sql''.
Finally, copy libreapp's ''config.example.php'' to ''config.php'' and adjust the values for your setup.

You should know have a working install.

== About the Code ==
=== Core and Mail ===
:''License: MIT''
The core and mail code is maintained by [http://www.freedomdreams.co.uk/blog Ben Webb]. The mail code was originally developed as "AGPLMail", but is now released as [[Mail|Libreapps Mail]] (can still be run standalone).

=== RSS ===
:''License: GPLv2''
The RSS application code is from [http://tt-rss.org/ TT-RSS].

== FAQ ==
=== Why don't you have an easier install method? ===
Libreapps is at a very early stage in development, so it is quite likely that major changes will be made that would require an installer to be rewritten anyway.

=== Why is Libreapps released under the MIT license? ===
Please see this [http://www.freedomdreams.co.uk/blog/2009/08/17/web-apps-revisited/ blog post].






=AGPLMail=
#REDIRECT [[Mail]]







=Ideas=
== Other Apps ==
* Documents
** Web equivalent of [http://gobby.0x539.de/trac/ gobby]







=Mail=
Libreapps mail, previously known as "AGPLMail" (but now released under the MIT license), is an free software webmail application. It will hopefully compete with gmail, mimicking the interface and eventually having all the same features. However, it is currently in very early stages of development. It is written in PHP using the php-imap library to access an imap server, and also uses a MySQL database.

== Download ==
Older [http://download.savannah.gnu.org/releases/agplmail/0.0.x/ tarballs] are avaible, but git is the prefered download method:
 git clone git://libreapps.com/libreappsmail.git

== Installation ==
To run Libreapps Mail, you need:
* A webserver (preferably apache)
* PHP
* Mysql
* php imap extension (e.g. php5-imap)

To install Libreapps Mail, first make sure the webserver has write permissions to the web directory. Then, run  install.php in a webbrowser. Please delete this file once Libreapps Mail is installed.

== Features ==
* (Relatively) easy installer script
* Archiving
* Conversation View
* Tagging
* Sent Message Saving
* Embedded image support
* HTML email (recieving and sending)
* Recieve Attatchments
* Address book support, with address autocompletion
* Mark messages as read, unread
* Gmail-like message selection

Note: Libreapps Mail currently only supports one IMAP folder (we have tagging instead).

== Version History ==
0.0.1:
* Initial version in order to start hosting on savannah
0.0.2:
* Change message handling drastically, implement many other features
0.0.3:
* Change rich text to YUI
* YUI address autocompletion
* Looks okay in IE (for you hypocrites out there xD)
* Always expand last message
* HTML tags stripped in a plaintext reply
git:
* Plaintext sent messages fixed
* $imapenc can be set in config.php - examples ''"notls"'', ''"tls"'', ''"tls/novalidate-cert"''

== Bugs ==
* Fails for system users default setup
** Singledomain in installer
** TLS in installer
* Doesn't send mail in the proper way
* Sends To: and Subject: twice

== TODO ==

This is turning into a roadmap.

=== Version 0.0.4 ===
* Drafts
* Draft autosaving
* CC and BCC

=== Version 0.1 ===
* Rewrite as OOP/functions
** Themable
** Which should help add ajax ('''jquery'''?)
* Add all email to SQL
** Good search
** Body text shown in header
** Easy way to add filters
* UI enhancements
** Nice message-from-text
** "Show Quoted Text"
** Raw messages
** Star individual messages

=== Version 0.2: ===
* Be more friendly to other IMAP clients (folder-tag duplication and sent message saving)
**sent messages currently stored in sql
* Spam filter support
* Send attachments, embedded images (smilies?)
* Order tagged messages properly
* Export function
**Allows users to export their mailbox+settings
***for download:mbox and .libreappsmail file zipped mbox +xml settings?
* Basic HTML version
* Prettify/bastardize with AJAX
** sort inbox/mail nicely? 
*** use http://www.millstream.com.au/view/code/tablekit/ (x11/MIT licenced.)
*** or http://www.frequency-decoder.com/2006/09/16/unobtrusive-table-sort-script-revisited (cc-by-sa 2.5)
** use ajax to call different pages without reloading page
*** http://web.archive.org/web/20070225220722/http://www.ajaxlessons.com/2006/02/18/ajax-workshop-2-building-tabbed-content/ (licence?)
* Spell Checking
** use http://orangoo.com/labs/?page_id=3 ? (GPL)
*** Difficulties integrating with rich text?
***issues - need to run own spell server to avoid using google server
****nox spell server based on GNU aspell but uses python (GPL)
****php spell server exists?
* Multiple Timezone Support

=== Version 1.0 ===
* Identities
* Filters
* Theming
* Distro Pacakages