banana.git
16 years agoBanana 1.8 banana-1.8 1.8
Florent Bruneau [Mon, 31 Mar 2008 19:42:39 +0000 (21:42 +0200)]
Banana 1.8

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoWorkaround a bug of php 5.2.0+etch10 which has a fallback to text/plain
Florent Bruneau [Wed, 19 Mar 2008 16:42:18 +0000 (17:42 +0100)]
Workaround a bug of php 5.2.0+etch10 which has a fallback to text/plain
instead of application/octet-stream.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoDummy change
Florent Bruneau [Sat, 5 Jan 2008 00:15:20 +0000 (01:15 +0100)]
Dummy change

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoAdd .gitignores
Florent Bruneau [Sat, 5 Jan 2008 00:05:51 +0000 (01:05 +0100)]
Add .gitignores

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agoHum, should avoid spool corruption when a message is canceled.
x2003bruneau [Wed, 21 Nov 2007 23:26:21 +0000 (23:26 +0000)]
Hum, should avoid spool corruption when a message is canceled.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@307 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoSome speed improvements again.
x2003bruneau [Fri, 16 Nov 2007 09:25:19 +0000 (09:25 +0000)]
Some speed improvements again.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@306 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix some CSS issues with very large trolls^Wtrees
x2003bruneau [Sat, 3 Nov 2007 17:25:04 +0000 (17:25 +0000)]
Fix some CSS issues with very large trolls^Wtrees
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@305 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix URL conflict when the same spool is used on different site.
x2003bruneau [Fri, 2 Nov 2007 23:44:04 +0000 (23:44 +0000)]
Fix URL conflict when the same spool is used on different site.

This distinction is made on the host name only (conflicts may remain if the
same group is displayed on different pathes of the same site).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@304 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoShow the post subject in the 'message'-tab
x2003bruneau [Fri, 2 Nov 2007 20:31:33 +0000 (20:31 +0000)]
Show the post subject in the 'message'-tab

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@303 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoStricter test.
x2003bruneau [Fri, 2 Nov 2007 16:24:17 +0000 (16:24 +0000)]
Stricter test.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@302 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoMore space.
x2003bruneau [Fri, 2 Nov 2007 13:11:28 +0000 (13:11 +0000)]
More space.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@301 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFist member permissions.
x2003bruneau [Fri, 2 Nov 2007 13:04:14 +0000 (13:04 +0000)]
Fist member permissions.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@300 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoRemove dead code.
x2003bruneau [Thu, 1 Nov 2007 22:10:42 +0000 (22:10 +0000)]
Remove dead code.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@299 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoUse explicit serialization (revert r291).
x2003bruneau [Thu, 1 Nov 2007 10:59:39 +0000 (10:59 +0000)]
Use explicit serialization (revert r291).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@298 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix warnings.
x2003bruneau [Wed, 31 Oct 2007 23:21:02 +0000 (23:21 +0000)]
Fix warnings.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@297 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoTree is full featured now.
x2003bruneau [Wed, 31 Oct 2007 22:38:24 +0000 (22:38 +0000)]
Tree is full featured now.

Only remains to be done some layout compaction and speed improvements.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@296 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoNew storage format of the tree.
x2003bruneau [Wed, 31 Oct 2007 22:38:19 +0000 (22:38 +0000)]
New storage format of the tree.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@295 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix warnings
x2003bruneau [Tue, 30 Oct 2007 22:20:05 +0000 (22:20 +0000)]
Fix warnings
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@294 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoNew BananaTree class that can be serialized into its own file.
x2003bruneau [Tue, 30 Oct 2007 21:07:02 +0000 (21:07 +0000)]
New BananaTree class that can be serialized into its own file.
Some API consistency improvements
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@293 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoMove spool file in $PROTO/$GROUP/spool instead of $PROTO/$GROUP
x2003bruneau [Mon, 29 Oct 2007 23:04:20 +0000 (23:04 +0000)]
Move spool file in $PROTO/$GROUP/spool instead of $PROTO/$GROUP

This allow having more spool files (For now just feed and spool for each
group, but I plan to split spool in spool and tree_$ROOTNODE).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@292 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoDo not explicitly serialize object in session.
x2003bruneau [Sun, 28 Oct 2007 23:10:19 +0000 (23:10 +0000)]
Do not explicitly serialize object in session.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@291 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoUpdate ChangeLog
x2003bruneau [Sun, 28 Oct 2007 16:52:24 +0000 (16:52 +0000)]
Update ChangeLog
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@290 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix msg-id references.
x2003bruneau [Sun, 28 Oct 2007 16:52:21 +0000 (16:52 +0000)]
Fix msg-id references.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@289 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix mbox and feed to the new spool
x2003bruneau [Sun, 28 Oct 2007 16:12:31 +0000 (16:12 +0000)]
Fix mbox and feed to the new spool
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@288 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoDon't show References in default configuration.
x2003bruneau [Sun, 28 Oct 2007 15:32:03 +0000 (15:32 +0000)]
Don't show References in default configuration.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@287 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix References
x2003bruneau [Sun, 28 Oct 2007 15:32:00 +0000 (15:32 +0000)]
Fix References
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@286 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFixes
x2003bruneau [Sun, 28 Oct 2007 15:08:59 +0000 (15:08 +0000)]
Fixes
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@285 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoRewritten banana spool structure for faster build and access
x2003bruneau [Sun, 28 Oct 2007 15:08:54 +0000 (15:08 +0000)]
Rewritten banana spool structure for faster build and access
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@284 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd javascript flag in templates
x2003bruneau [Tue, 23 Oct 2007 22:04:27 +0000 (22:04 +0000)]
Add javascript flag in templates
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@283 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoSome speed and layout improvements
x2003bruneau [Tue, 23 Oct 2007 22:04:23 +0000 (22:04 +0000)]
Some speed and layout improvements
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@282 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoIntegration of the tree in the spool view
x2003bruneau [Tue, 23 Oct 2007 22:04:19 +0000 (22:04 +0000)]
Integration of the tree in the spool view
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@281 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoLook improvements. Can identify unread message and switch from a message to
x2003bruneau [Tue, 23 Oct 2007 22:04:15 +0000 (22:04 +0000)]
Look improvements. Can identify unread message and switch from a message to
another via the tree.
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@280 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFirst version of a tree representation of the threads
x2003bruneau [Tue, 23 Oct 2007 22:04:11 +0000 (22:04 +0000)]
First version of a tree representation of the threads
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@279 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoRemove non significant spaces
x2003bruneau [Fri, 19 Oct 2007 19:05:15 +0000 (19:05 +0000)]
Remove non significant spaces
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@278 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoSomes improvements in the html style parser
x2003bruneau [Fri, 19 Oct 2007 09:51:15 +0000 (09:51 +0000)]
Somes improvements in the html style parser

 Changelog                   |    5 +++++
 banana/message.func.inc.php |   14 +++++++-------
 2 files changed, 12 insertions(+), 7 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@277 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix rendering of multipart/alternative when it is a subpart
x2003bruneau [Fri, 19 Oct 2007 09:30:29 +0000 (09:30 +0000)]
Fix rendering of multipart/alternative when it is a subpart
of another multipart

 mimepart.inc.php |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@276 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoBanana 1.7 release
x2003bruneau [Mon, 8 Oct 2007 18:38:57 +0000 (18:38 +0000)]
Banana 1.7 release

 Changelog |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@274 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoCan overload the xface generation using a custom image
x2003bruneau [Sun, 30 Sep 2007 09:55:43 +0000 (09:55 +0000)]
Can overload the xface generation using a custom image

 Changelog                               |    4 ++++
 banana/message.inc.php                  |    7 ++++++-
 banana/templates/banana-message.inc.tpl |    2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@273 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix notices
x2003bruneau [Sun, 19 Aug 2007 11:40:13 +0000 (11:40 +0000)]
Fix notices

 page.inc.php                     |    2 +-
 templates/banana-message.inc.tpl |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@272 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoClose #707: Show all messages of the forum if all of them are
x2003bruneau [Tue, 14 Aug 2007 22:31:45 +0000 (22:31 +0000)]
Close #707: Show all messages of the forum if all of them are
marked as read.

 Changelog                |    4 ++++
 banana/banana.inc.php.in |   26 +++++++++++++-------------
 banana/spool.inc.php     |   32 ++++++++++++++++++--------------
 3 files changed, 35 insertions(+), 27 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@271 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoDon't fail if the subscription list is invalid
x2003bruneau [Sat, 28 Jul 2007 18:21:20 +0000 (18:21 +0000)]
Don't fail if the subscription list is invalid

 nntp.inc.php |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@270 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix NNTP authentication procedure
x2003bruneau [Sat, 28 Jul 2007 18:13:19 +0000 (18:13 +0000)]
Fix NNTP authentication procedure

 nntp.inc.php     |    6 ++----
 nntpcore.inc.php |    2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@269 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoYear of the post
x2003bruneau [Sat, 23 Jun 2007 09:40:11 +0000 (09:40 +0000)]
Year of the post

 Changelog            |    1 +
 banana/spool.inc.php |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@268 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAccept ";", "," and " " as newsgroup separators
x2003bruneau [Sat, 23 Jun 2007 09:33:18 +0000 (09:33 +0000)]
Accept ";", "," and " " as newsgroup separators

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@267 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoIntegrates the PGP support with the web interface.
x2003bruneau [Tue, 12 Jun 2007 20:03:09 +0000 (20:03 +0000)]
Integrates the PGP support with the web interface.
Some bugfixes and improvements

 Changelog                               |    4 ++++
 banana/banana.inc.php.in                |    4 ++++
 banana/message.inc.php                  |   21 +++++++++++++++++++++
 banana/mimepart.inc.php                 |   19 +++++++++++++++----
 banana/templates/banana-message.inc.tpl |   27 ++++++++++++++++++++++++++-
 5 files changed, 70 insertions(+), 5 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@266 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoA better version with PGP support
x2003bruneau [Tue, 12 Jun 2007 16:56:57 +0000 (16:56 +0000)]
A better version with PGP support

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@265 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoA first version of a gpg signature checker
x2003bruneau [Mon, 11 Jun 2007 23:06:56 +0000 (23:06 +0000)]
A first version of a gpg signature checker

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@264 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoClean params to remove empty strings and fix the default checkCancel implementation
x2003bruneau [Thu, 7 Jun 2007 20:42:03 +0000 (20:42 +0000)]
Clean params to remove empty strings and fix the default checkCancel implementation

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@263 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoTypo
x2003bruneau [Wed, 30 May 2007 10:14:53 +0000 (10:14 +0000)]
Typo

 Changelog |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@262 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix References compliancy
x2003bruneau [Wed, 30 May 2007 10:14:20 +0000 (10:14 +0000)]
Fix References compliancy

 Changelog                |    4 ++++
 banana/banana.inc.php.in |    2 +-
 banana/message.inc.php   |    9 +++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@261 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoCreate templates_c directory if it does not exist
x2003bruneau [Mon, 28 May 2007 08:27:31 +0000 (08:27 +0000)]
Create templates_c directory if it does not exist

 page.inc.php |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@260 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoDefinitly fix the message truncation bug.
x2003bruneau [Tue, 22 May 2007 08:53:02 +0000 (08:53 +0000)]
Definitly fix the message truncation bug.
This bug is caused by a bug in PHP's strip_tags!!!

 Changelog                   |    4 ++++
 banana/message.func.inc.php |    3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@258 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix baseurl for images and javascript
x2003bruneau [Mon, 21 May 2007 11:39:16 +0000 (11:39 +0000)]
Fix baseurl for images and javascript
Some improvements to the example script

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@257 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoSome improvements for banana 'stand-alone'
x2003bruneau [Wed, 16 May 2007 12:01:43 +0000 (12:01 +0000)]
Some improvements for banana 'stand-alone'

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@256 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd a minimalist user identification in banana example script
x2003bruneau [Mon, 14 May 2007 20:49:16 +0000 (20:49 +0000)]
Add a minimalist user identification in banana example script

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@255 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoChangelog
x2003bruneau [Fri, 11 May 2007 20:09:33 +0000 (20:09 +0000)]
Changelog

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@254 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAlso catch <url>
x2003bruneau [Fri, 11 May 2007 19:19:39 +0000 (19:19 +0000)]
Also catch <url>

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@253 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoCan disable Javascript
x2003bruneau [Fri, 11 May 2007 19:17:58 +0000 (19:17 +0000)]
Can disable Javascript

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@252 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix posting with canAttach = true;
x2003bruneau [Fri, 11 May 2007 17:15:27 +0000 (17:15 +0000)]
Fix posting with canAttach = true;

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@251 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix references when replying to a post with artid = 0
x2003bruneau [Thu, 10 May 2007 22:46:35 +0000 (22:46 +0000)]
Fix references when replying to a post with artid = 0

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@250 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoSpeed-up again. Need tests
x2003bruneau [Sun, 6 May 2007 17:24:25 +0000 (17:24 +0000)]
Speed-up again. Need tests

 page.inc.php                        |   14 ++++++++------
 spool.inc.php                       |    6 +++---
 templates/banana-base.tpl           |    4 ++--
 templates/banana-message.inc.tpl    |    6 +++---
 templates/banana-newmessage.inc.tpl |    4 ++--
 templates/banana-thread.inc.tpl     |   24 ++++++++----------------
 text.func.inc.php                   |    9 +++++++++
 7 files changed, 35 insertions(+), 32 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@249 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoSpeed-up
x2003bruneau [Sun, 6 May 2007 13:29:38 +0000 (13:29 +0000)]
Speed-up

 banana.inc.php.in |   26 +++++++++++++++-----------
 mbox.inc.php      |   48 +++++++++++++++++++++++++-----------------------
 message.inc.php   |   11 +++++++++--
 mimepart.inc.php  |    4 ++--
 nntp.inc.php      |    3 ++-
 spool.inc.php     |    6 +++---
 6 files changed, 56 insertions(+), 42 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@248 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoUse banana_quote instead of banana_wrap to build quoted text
x2003bruneau [Sat, 5 May 2007 12:12:49 +0000 (12:12 +0000)]
Use banana_quote instead of banana_wrap to build quoted text

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@247 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix quoted text flowing
x2003bruneau [Sat, 5 May 2007 12:05:23 +0000 (12:05 +0000)]
Fix quoted text flowing

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@246 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoPost messages with format=flowed instead of format=fixed
x2003bruneau [Fri, 4 May 2007 22:41:59 +0000 (22:41 +0000)]
Post messages with format=flowed instead of format=fixed
Remove unused code and fix NNTPCore::getLine

 message.func.inc.php |   17 ++++++++++++++++-
 message.inc.php      |    2 +-
 mimepart.inc.php     |    5 ++++-
 nntpcore.inc.php     |   18 +++---------------
 4 files changed, 24 insertions(+), 18 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@245 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix the way attachments are displayed in multipart messages
x2003bruneau [Fri, 4 May 2007 21:34:49 +0000 (21:34 +0000)]
Fix the way attachments are displayed in multipart messages

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@244 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoReduce mbox-helper overhead and fix some bugs
x2003bruneau [Fri, 4 May 2007 21:11:36 +0000 (21:11 +0000)]
Reduce mbox-helper overhead and fix some bugs

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@243 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoBackport [241]
x2003bruneau [Fri, 4 May 2007 19:08:22 +0000 (19:08 +0000)]
Backport [241]

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@242 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix message body in banana feeds
x2003bruneau [Mon, 30 Apr 2007 19:40:09 +0000 (19:40 +0000)]
Fix message body in banana feeds

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@239 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoRelease Banana
x2003bruneau [Fri, 27 Apr 2007 20:01:28 +0000 (20:01 +0000)]
Release Banana

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@237 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd `make q` for banana to get sloccount
x2003bruneau [Mon, 16 Apr 2007 14:05:44 +0000 (14:05 +0000)]
Add `make q` for banana to get sloccount

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@236 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoDocumentation of mbox-helper
x2003bruneau [Mon, 16 Apr 2007 10:47:21 +0000 (10:47 +0000)]
Documentation of mbox-helper

 mbox-helper.c |   61 ++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 41 insertions(+), 20 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@235 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix variable name
x2003bruneau [Mon, 16 Apr 2007 09:50:46 +0000 (09:50 +0000)]
Fix variable name

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@234 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd subject in From link
x2003bruneau [Fri, 13 Apr 2007 19:48:03 +0000 (19:48 +0000)]
Add subject in From link

 message.inc.php |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@233 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoHide socket warnings
x2003bruneau [Thu, 12 Apr 2007 09:06:32 +0000 (09:06 +0000)]
Hide socket warnings

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@232 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix getPostId with accentuated characters
x2003bruneau [Fri, 30 Mar 2007 12:06:09 +0000 (12:06 +0000)]
Fix getPostId with accentuated characters

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@230 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix a bug when posting a message
x2003bruneau [Sat, 24 Mar 2007 18:20:56 +0000 (18:20 +0000)]
Fix a bug when posting a message

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@229 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix boxpattern behaviour
x2003bruneau [Sat, 24 Mar 2007 15:53:29 +0000 (15:53 +0000)]
Fix boxpattern behaviour

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@228 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agofix previous and Changelog
x2001corpet [Sat, 24 Mar 2007 15:11:51 +0000 (15:11 +0000)]
fix previous and Changelog

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@227 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agofold/unfold threads with javascript
x2001corpet [Sat, 24 Mar 2007 14:19:54 +0000 (14:19 +0000)]
fold/unfold threads with javascript

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@226 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoShould fix input character encoding
x2003bruneau [Sat, 24 Mar 2007 11:18:41 +0000 (11:18 +0000)]
Should fix input character encoding

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@225 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd a "reply-to" link in RSS feed
x2003bruneau [Sat, 17 Mar 2007 10:15:44 +0000 (10:15 +0000)]
Add a "reply-to" link in RSS feed

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@224 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoRemove debugging stuff
x2003bruneau [Wed, 7 Mar 2007 16:17:58 +0000 (16:17 +0000)]
Remove debugging stuff

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@223 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoNew function Banana::post()
x2003bruneau [Wed, 7 Mar 2007 16:14:44 +0000 (16:14 +0000)]
New function Banana::post()

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@222 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoBackport
x2003bruneau [Tue, 27 Feb 2007 22:28:09 +0000 (22:28 +0000)]
Backport

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@221 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoXHTML fixes
x2003bruneau [Sun, 25 Feb 2007 21:32:02 +0000 (21:32 +0000)]
XHTML fixes

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@219 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoImprovements and bugfixes
x2003bruneau [Sun, 25 Feb 2007 21:21:08 +0000 (21:21 +0000)]
Improvements and bugfixes

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@218 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFixes on feeds:
x2003bruneau [Sun, 25 Feb 2007 20:39:38 +0000 (20:39 +0000)]
Fixes on feeds:
-> fix feed-merger
-> put feed description into a <![CDATA[ ]]>

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@217 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoUpdate example files
x2003bruneau [Sun, 25 Feb 2007 20:36:48 +0000 (20:36 +0000)]
Update example files
Better behaviour for feed output

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@216 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd RSS Feeds
x2003bruneau [Sun, 25 Feb 2007 16:48:39 +0000 (16:48 +0000)]
Add RSS Feeds

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@215 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix format catcher (ie // ** __ catcher)
x2003bruneau [Thu, 22 Feb 2007 20:49:01 +0000 (20:49 +0000)]
Fix format catcher (ie // ** __ catcher)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@214 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd css and backtrace support in banana example
x2003bruneau [Thu, 22 Feb 2007 19:01:45 +0000 (19:01 +0000)]
Add css and backtrace support in banana example

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@213 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoStricter check on -p and associated fix in the php script
x2003bruneau [Thu, 22 Feb 2007 15:11:49 +0000 (15:11 +0000)]
Stricter check on -p and associated fix in the php script

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@212 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd missing exit when no mbox is found
x2003bruneau [Thu, 22 Feb 2007 14:46:26 +0000 (14:46 +0000)]
Add missing exit when no mbox is found

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@211 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agodon't use FALSE/TRUE: C99 has stdbool.h, use it.
x2000habouzit [Thu, 22 Feb 2007 12:53:19 +0000 (12:53 +0000)]
don't use FALSE/TRUE: C99 has stdbool.h, use it.
use "slightly" more paranoid compilation flags to avoid more errors.

The makefile may need some tweaks to detect if $(CC) is gcc and if it's a
recent enough version.

fix compilation warnings:
 * missing static
 * #if 0 an unused function
 * add missing const.
 * add missing casts.

use <getopt.h> rather than custom definitions.

 Makefile      |    2 -
 mbox-helper.c |   83 +++++++++++++++++++++++++---------------------------------
 2 files changed, 38 insertions(+), 47 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@210 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix all compilation warnings on Linux
x2003bruneau [Thu, 22 Feb 2007 10:12:39 +0000 (10:12 +0000)]
Fix all compilation warnings on Linux

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@209 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix all compilation warnings on Darwin
x2003bruneau [Thu, 22 Feb 2007 10:09:55 +0000 (10:09 +0000)]
Fix all compilation warnings on Darwin

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@208 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoAdd useful tools to trace protocole execution and cost
x2003bruneau [Thu, 22 Feb 2007 00:42:29 +0000 (00:42 +0000)]
Add useful tools to trace protocole execution and cost

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@207 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoShould fix "unread state" issues.
x2003bruneau [Wed, 21 Feb 2007 20:49:04 +0000 (20:49 +0000)]
Should fix "unread state" issues.
Some code cleaning

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@206 9869982d-c50d-0410-be91-f2a2ec7c7c7b

16 years agoFix again
x2003bruneau [Wed, 21 Feb 2007 20:12:21 +0000 (20:12 +0000)]
Fix again

git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@205 9869982d-c50d-0410-be91-f2a2ec7c7c7b