squirrelmail.git
18 years agoEliminated all eveil chdir statements.
thomppj [Mon, 9 Sep 2002 22:41:46 +0000 (22:41 +0000)]
Eliminated all eveil chdir statements.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3635 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSome code cleanups to read_body.php
indiri69 [Mon, 9 Sep 2002 22:01:06 +0000 (22:01 +0000)]
Some code cleanups to read_body.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3634 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMake directories unbrowsable.
kink [Mon, 9 Sep 2002 17:25:05 +0000 (17:25 +0000)]
Make directories unbrowsable.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3633 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFix HTML-compliance here and there.
kink [Sun, 8 Sep 2002 15:04:47 +0000 (15:04 +0000)]
Fix HTML-compliance here and there.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3618 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoDo not parse Message-ID as emailaddress.
kink [Sun, 8 Sep 2002 14:54:06 +0000 (14:54 +0000)]
Do not parse Message-ID as emailaddress.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3617 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFix a bunch of plugins to cope with moved load_prefs/validate files.
kink [Sun, 8 Sep 2002 14:15:25 +0000 (14:15 +0000)]
Fix a bunch of plugins to cope with moved load_prefs/validate files.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3616 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoBetter error messages: for some reason, the strings weren't used to report the error?
kink [Sun, 8 Sep 2002 13:37:02 +0000 (13:37 +0000)]
Better error messages: for some reason, the strings weren't used to report the error?
Now they are. This eliminates a subset of the "You must be logged in.." error messages by
giving the admin a clue as to what's going wrong.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3614 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoarray_key_exists() only exists in PHP 4 >= 4.1.0
indiri69 [Sat, 7 Sep 2002 21:44:10 +0000 (21:44 +0000)]
array_key_exists() only exists in PHP 4 >= 4.1.0

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3612 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFixed some string issues.
indiri69 [Sat, 7 Sep 2002 18:40:49 +0000 (18:40 +0000)]
Fixed some string issues.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3607 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAdded require_once for filters.php
indiri69 [Sat, 7 Sep 2002 01:38:31 +0000 (01:38 +0000)]
Added require_once for filters.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3605 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFixed validate.php require
indiri69 [Fri, 6 Sep 2002 22:04:17 +0000 (22:04 +0000)]
Fixed validate.php require

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3604 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoArgg
stekkel [Fri, 6 Sep 2002 17:47:32 +0000 (17:47 +0000)]
Argg

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3603 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for never ending while loop
stekkel [Fri, 6 Sep 2002 17:44:29 +0000 (17:44 +0000)]
fix for never ending while loop

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3602 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSMPATH BORKED everything
stekkel [Fri, 6 Sep 2002 17:24:31 +0000 (17:24 +0000)]
SMPATH BORKED everything

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3601 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoalmost forgot: SMPATH fixes from Paul BORKED spamcop
stekkel [Fri, 6 Sep 2002 17:23:11 +0000 (17:23 +0000)]
almost forgot: SMPATH fixes from Paul BORKED spamcop

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3600 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSMPATH fix
stekkel [Fri, 6 Sep 2002 17:21:53 +0000 (17:21 +0000)]
SMPATH fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3599 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSMPATH fix
stekkel [Fri, 6 Sep 2002 17:12:17 +0000 (17:12 +0000)]
SMPATH fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3598 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSMPATH fix
stekkel [Fri, 6 Sep 2002 16:48:54 +0000 (16:48 +0000)]
SMPATH fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3596 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for new SMPATH
stekkel [Fri, 6 Sep 2002 16:43:35 +0000 (16:43 +0000)]
fix for new SMPATH

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3595 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMasato's Fix
philippe_mingo [Fri, 6 Sep 2002 15:56:12 +0000 (15:56 +0000)]
Masato's Fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3594 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoLocales fix
philippe_mingo [Fri, 6 Sep 2002 15:34:28 +0000 (15:34 +0000)]
Locales fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3593 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMasato's fix
philippe_mingo [Fri, 6 Sep 2002 15:32:13 +0000 (15:32 +0000)]
Masato's fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3592 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoahh, from is an array
stekkel [Fri, 6 Sep 2002 13:11:33 +0000 (13:11 +0000)]
ahh, from is an array

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3591 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for bcc
stekkel [Fri, 6 Sep 2002 13:03:26 +0000 (13:03 +0000)]
fix for bcc

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3590 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoextra address checking
stekkel [Fri, 6 Sep 2002 13:02:27 +0000 (13:02 +0000)]
extra address checking

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3589 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agosecond try to fix sendMail. Return true after finalizeStream.
stekkel [Fri, 6 Sep 2002 12:01:14 +0000 (12:01 +0000)]
second try to fix sendMail. Return true after finalizeStream.
Very very stupid mistake from me. Maybe I shouldn't code anymore when I'm
tired.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3588 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoForgot to return the stream
stekkel [Fri, 6 Sep 2002 07:41:56 +0000 (07:41 +0000)]
Forgot to return the stream

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3587 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAdded fortune plugin.
thomppj [Fri, 6 Sep 2002 02:05:03 +0000 (02:05 +0000)]
Added fortune plugin.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3581 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoA terrible pile of things done to the code. Did a little bit of SM_PATH
thomppj [Fri, 6 Sep 2002 01:16:40 +0000 (01:16 +0000)]
A terrible pile of things done to the code. Did a little bit of SM_PATH
stuff in plugins.

Then I moved some files:
  src/validate.php         -> include/validate.php
  src/load_prefs.php       -> include/load_prefs.php
  src/options_personal.php -> include/options/personal.php
  src/options_display.php  -> include/options/display.php
  src/options_folder.php   -> include/options/folder.php

Basically, the concept here is that src/ should ONLY contain files that
actually get called from the web browser as a php script directly. All
of these files do not really contain functions or anything (so the
functions/ directory did not really make sense), but were more strictly
include files.

Of course, the name functions for a directory is bad organization, IMHO,
anyhow. I guess class would fall in the same category. Oh well, some of
that might get fixed someday.

So, new rule. Only put it in src/ if it gets called directly.

That was really sort of an unwritten rule before. However, since it was
never really enforced or officialized, things got sloppy.

I think I have everything fixed in the CORE with this traumatic moves. I
am sure all of the plugins will be broken. Oh well, the error messages
should be pretty loud and easy enough to fix.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3580 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoConverted all files in functions/ to use SM_PATH. This will break all
thomppj [Fri, 6 Sep 2002 00:31:43 +0000 (00:31 +0000)]
Converted all files in functions/ to use SM_PATH. This will break all
plugins. Each callable script needs a:

  define('SM_PATH', '../../');

Or something like that put at the top.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3579 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMore SM_PATH fixes. This time, everything in class/.
thomppj [Fri, 6 Sep 2002 00:21:24 +0000 (00:21 +0000)]
More SM_PATH fixes. This time, everything in class/.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3578 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoPart 1 of switch to use of SM_PATH with require_once.
thomppj [Fri, 6 Sep 2002 00:19:37 +0000 (00:19 +0000)]
Part 1 of switch to use of SM_PATH with require_once.

Feel free to convert things in functions/, class/, plugins/, etc too. I
have everything in src/ done.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3577 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agos/Deliver_SentMail/Deliver_SendMail/
thomppj [Thu, 5 Sep 2002 23:44:05 +0000 (23:44 +0000)]
s/Deliver_SentMail/Deliver_SendMail/

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3576 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFixed require_once paths in class/deliver/deliver_FOO.class.php
thomppj [Thu, 5 Sep 2002 23:39:33 +0000 (23:39 +0000)]
Fixed require_once paths in class/deliver/deliver_FOO.class.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3575 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoprevious cleanup broke the find_ent_id function
stekkel [Thu, 5 Sep 2002 17:34:27 +0000 (17:34 +0000)]
previous cleanup broke the find_ent_id function

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3568 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFixed stupid bug causing double lines (the same)
stekkel [Thu, 5 Sep 2002 14:58:38 +0000 (14:58 +0000)]
Fixed stupid bug causing double lines (the same)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3567 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAdded Message details plugin to CVS
stekkel [Thu, 5 Sep 2002 13:44:57 +0000 (13:44 +0000)]
Added Message details plugin to CVS

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3566 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoremove unnessecarry \r\n
stekkel [Thu, 5 Sep 2002 12:48:44 +0000 (12:48 +0000)]
remove unnessecarry \r\n

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3565 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix warning
stekkel [Thu, 5 Sep 2002 12:47:55 +0000 (12:47 +0000)]
fix warning

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3564 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofixed warning
stekkel [Thu, 5 Sep 2002 12:22:13 +0000 (12:22 +0000)]
fixed warning

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3563 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoextra error checking
stekkel [Thu, 5 Sep 2002 12:07:55 +0000 (12:07 +0000)]
extra error checking

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3562 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMake use of the deliver class
stekkel [Thu, 5 Sep 2002 12:04:33 +0000 (12:04 +0000)]
Make use of the deliver class

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3561 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years ago"Arief S Fitrianto" <arief@gurame.fisika.ui.ac.id>
philippe_mingo [Thu, 5 Sep 2002 10:26:32 +0000 (10:26 +0000)]
"Arief S Fitrianto" <arief@gurame.fisika.ui.ac.id>
"-= M.J. Prinsen =-" <various@bovendelft.xs4all.nl>
"Tomas Kuliavas" <tokul@users.sourceforge.net>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3560 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoundisclosed recipients fix
stekkel [Thu, 5 Sep 2002 09:38:47 +0000 (09:38 +0000)]
undisclosed recipients fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3559 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoxtra check for To addresses, if not available don't show the headerline.
stekkel [Thu, 5 Sep 2002 09:25:44 +0000 (09:25 +0000)]
xtra check for To addresses, if not available don't show the headerline.
Fix for bcc addresses. the returned length should contain the length of the
bcc-line because we want this information in the sent_folder.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3558 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAdded function for initializing attachments (for compose)
stekkel [Wed, 4 Sep 2002 23:19:07 +0000 (23:19 +0000)]
Added function for initializing attachments (for compose)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3547 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for getbcc
stekkel [Wed, 4 Sep 2002 23:12:49 +0000 (23:12 +0000)]
fix for getbcc

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3546 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoadded info
stekkel [Wed, 4 Sep 2002 23:12:28 +0000 (23:12 +0000)]
added info

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3545 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFirst fixes
stekkel [Wed, 4 Sep 2002 23:10:49 +0000 (23:10 +0000)]
First fixes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3544 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoChanged subfolder summing to only show total for subfolders for a
thomppj [Wed, 4 Sep 2002 22:40:50 +0000 (22:40 +0000)]
Changed subfolder summing to only show total for subfolders for a
collapsed folder.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3543 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoVery big update to make use of the new Deliver class.
stekkel [Wed, 4 Sep 2002 22:36:27 +0000 (22:36 +0000)]
Very big update to make use of the new Deliver class.
In the future a lot of message related stuff should be moved to the
Message.class.
Probably save as draft also should be modified.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3542 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoIMAP backend for the deliver class
stekkel [Wed, 4 Sep 2002 22:00:49 +0000 (22:00 +0000)]
IMAP backend for the deliver class

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3541 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSendmail backend for the deliver class
stekkel [Wed, 4 Sep 2002 22:00:19 +0000 (22:00 +0000)]
Sendmail backend for the deliver class

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3540 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoSMTP backend for the Deliver class
stekkel [Wed, 4 Sep 2002 21:59:53 +0000 (21:59 +0000)]
SMTP backend for the Deliver class

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3539 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMake the thing actually work :-)
stekkel [Wed, 4 Sep 2002 21:59:08 +0000 (21:59 +0000)]
Make the thing actually work :-)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3538 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoReworked subfolder message count and all. Open to suggestions for the
thomppj [Wed, 4 Sep 2002 17:02:43 +0000 (17:02 +0000)]
Reworked subfolder message count and all. Open to suggestions for the
formatting for this, just Jason's original placement (BEFORE the folder
name) was bad.

No hard feelings, Jason. :)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3537 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoforgot something
stekkel [Wed, 4 Sep 2002 14:58:43 +0000 (14:58 +0000)]
forgot something

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3536 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agountested uid_support fix
stekkel [Wed, 4 Sep 2002 13:59:37 +0000 (13:59 +0000)]
untested uid_support fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3535 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agotesting fase
stekkel [Tue, 3 Sep 2002 20:55:30 +0000 (20:55 +0000)]
testing fase

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3534 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAttachments now opened with binary flag, for windows compatibility
itsbruce [Tue, 3 Sep 2002 15:43:11 +0000 (15:43 +0000)]
Attachments now opened with binary flag, for windows compatibility

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3533 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agocode cleanup
stekkel [Tue, 3 Sep 2002 15:40:08 +0000 (15:40 +0000)]
code cleanup

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3532 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years ago"Tomas Kuliavas" <tokul@users.sourceforge.net>
philippe_mingo [Tue, 3 Sep 2002 06:52:43 +0000 (06:52 +0000)]
"Tomas Kuliavas" <tokul@users.sourceforge.net>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3531 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoadded file info
stekkel [Mon, 2 Sep 2002 19:35:25 +0000 (19:35 +0000)]
added file info

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3530 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agodevelopment work on the Deliver class.
stekkel [Mon, 2 Sep 2002 19:31:57 +0000 (19:31 +0000)]
development work on the Deliver class.
Still not finished yet

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3529 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoWhen using unseen notify on all folders
jmunro [Mon, 2 Sep 2002 07:45:01 +0000 (07:45 +0000)]
When using unseen notify on all folders
this code adds a total unseen value
to the left of the folder name for any
unread mail in a collapsed folder's subfolders.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3527 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMade calender plugin conform to SquirrelMail Project Team cvs copyright
thomppj [Sat, 31 Aug 2002 21:07:14 +0000 (21:07 +0000)]
Made calender plugin conform to SquirrelMail Project Team cvs copyright
standards.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3526 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoRemove NOOP checks
kink [Sat, 31 Aug 2002 06:28:29 +0000 (06:28 +0000)]
Remove NOOP checks

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3523 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoRemove NOOP checks. This breaks some things without any reason to do so, rather have a
kink [Sat, 31 Aug 2002 06:19:57 +0000 (06:19 +0000)]
Remove NOOP checks. This breaks some things without any reason to do so, rather have a
liberal, more compatible implementation.
Patch from peter@dataloos.nl

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3522 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFormatting changes and added some more html->plain transforms.
indiri69 [Fri, 30 Aug 2002 17:55:25 +0000 (17:55 +0000)]
Formatting changes and added some more html->plain transforms.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3517 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoinit
stekkel [Fri, 30 Aug 2002 17:30:55 +0000 (17:30 +0000)]
init

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3516 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoinit deliver class as replacement of smtp.php
stekkel [Fri, 30 Aug 2002 17:29:02 +0000 (17:29 +0000)]
init deliver class as replacement of smtp.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3515 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix in case we couldn;t retrieve the message from the session
stekkel [Fri, 30 Aug 2002 16:47:14 +0000 (16:47 +0000)]
fix in case we couldn;t retrieve the message from the session

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3514 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agocode cleanup
stekkel [Fri, 30 Aug 2002 16:42:16 +0000 (16:42 +0000)]
code cleanup

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3513 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for getEntity
stekkel [Fri, 30 Aug 2002 15:05:33 +0000 (15:05 +0000)]
fix for getEntity

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3512 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoOk. One simple mistake... :)
thomppj [Thu, 29 Aug 2002 23:45:08 +0000 (23:45 +0000)]
Ok. One simple mistake... :)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3511 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFirst, more formatting conventions.
thomppj [Thu, 29 Aug 2002 23:42:46 +0000 (23:42 +0000)]
First, more formatting conventions.

  1. Wrap all operands of a complex expression with parentheses.
     For instance:
         if ($bob == 'foo' || $bob == 'bar') {
     is wrong. Do this instead:
         if (($bob == 'foo') || ($bob == 'bar')) {

  2. Carefully decide between pre and post incrementation. If it
     does not matter, always choose pre because it is technically
     more efficient. For instance:
         for ($i = 0; $i < $count; $i++) {
     is wrong. Do this instead:
         for ($i = 0; $i < $count; ++$i) {

  3. Classes should be named in style like this:
         MessageHeader
         Rfc8222Header
     etc. When there is an acronym at the beginning, treat it
     like a word - do NOT captitalize each letter of the acronym.

  4. Put each class in a seperate file named ClassName.class.php.
     Related classes can be put in one directory and then included
     in a main include file.

Second, big changes with mime.class.php here. And I don't think I broke
anything. (Sounds like famous last words, eh?)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3510 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agocorrectly detect \Noselect in LSUB responses, and set $mbx->is_noselect
robsiemb [Thu, 29 Aug 2002 15:43:38 +0000 (15:43 +0000)]
correctly detect \Noselect in LSUB responses, and set $mbx->is_noselect
so that the folder tree does not allow you to select a nonexistant
mailbox

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3507 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFIxing bug #600369
ullgren [Wed, 28 Aug 2002 22:35:03 +0000 (22:35 +0000)]
FIxing bug #600369

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3506 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAllow messages with addresses in BCC only.
indiri69 [Wed, 28 Aug 2002 20:39:16 +0000 (20:39 +0000)]
Allow messages with addresses in BCC only.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3504 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMove -1 to first section of for loop.
indiri69 [Wed, 28 Aug 2002 20:38:33 +0000 (20:38 +0000)]
Move -1 to first section of for loop.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3503 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agocode cleanup
stekkel [Wed, 28 Aug 2002 16:35:37 +0000 (16:35 +0000)]
code cleanup

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3499 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoadded var to message-class where we put the location of the temporary
stekkel [Wed, 28 Aug 2002 16:23:25 +0000 (16:23 +0000)]
added var to message-class where we put the location of the temporary
attachment name in case we use the message-object also for composing
messages. (Not finished yet but I'm working on it)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3498 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agowhoops, remove extra variable
robsiemb [Wed, 28 Aug 2002 16:18:56 +0000 (16:18 +0000)]
whoops, remove extra variable

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3497 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFixes from Jason to sqimap_read_data.
stekkel [Wed, 28 Aug 2002 14:52:01 +0000 (14:52 +0000)]
Fixes from Jason to sqimap_read_data.
This also removes the ")" characters which doesn't belong to the requested
data but are part of the imap output.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3495 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years ago"J.I Kim" <aporie@iskra.sarang.net>
philippe_mingo [Wed, 28 Aug 2002 11:36:08 +0000 (11:36 +0000)]
"J.I Kim" <aporie@iskra.sarang.net>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3491 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoVolkan YILDIRIM <volkan@apb.com.tr>
philippe_mingo [Wed, 28 Aug 2002 11:20:52 +0000 (11:20 +0000)]
Volkan YILDIRIM <volkan@apb.com.tr>

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3489 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoput back text-decoration:none
stekkel [Wed, 28 Aug 2002 10:40:16 +0000 (10:40 +0000)]
put back text-decoration:none

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3488 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agowebmail top hook
jmunro [Wed, 28 Aug 2002 07:38:07 +0000 (07:38 +0000)]
webmail top hook

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3487 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years ago. fixed 'heigth' typo to 'height'
robsiemb [Tue, 27 Aug 2002 18:15:55 +0000 (18:15 +0000)]
. fixed 'heigth' typo to 'height'
. changed rollover highlighting to use CSS
. changed the ID tags to use 4 character identifiers to deal with
  large folder trees

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3479 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agohtmlspecialvars bodystructure
stekkel [Tue, 27 Aug 2002 17:38:01 +0000 (17:38 +0000)]
htmlspecialvars bodystructure

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3477 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoAdded error message in case the bodystructure couldn't processed.
stekkel [Tue, 27 Aug 2002 17:23:09 +0000 (17:23 +0000)]
Added error message in case the bodystructure couldn't processed.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3476 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofinally managed to solve the bad Junk after literal output from the
stekkel [Tue, 27 Aug 2002 16:36:10 +0000 (16:36 +0000)]
finally managed to solve the bad Junk after literal output from the
imap-server

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3475 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoMasato's credits
philippe_mingo [Tue, 27 Aug 2002 14:26:30 +0000 (14:26 +0000)]
Masato's credits

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3473 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for Junk after literal error message from imap-server when mail is
stekkel [Tue, 27 Aug 2002 12:48:30 +0000 (12:48 +0000)]
fix for Junk after literal error message from imap-server when mail is
appended to the sentfolder

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3472 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoPaul's changes
philippe_mingo [Tue, 27 Aug 2002 07:04:43 +0000 (07:04 +0000)]
Paul's changes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3471 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoFixed strings so that they would be mo better english. :)
thomppj [Mon, 26 Aug 2002 22:53:05 +0000 (22:53 +0000)]
Fixed strings so that they would be mo better english. :)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3470 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoChanged the way we handle entities in message/rfc822 types. $msg->entity_id++
indiri69 [Mon, 26 Aug 2002 22:13:56 +0000 (22:13 +0000)]
Changed the way we handle entities in message/rfc822 types. $msg->entity_id++
would increment by 0.1 in php 4.0.4 but would increment by 1.0 in php 4.0.6.
This meant that a message/rfc822 type with only a text/plain part would label
the text/plain part entity 3.0 instead of 2.1.  This should fix that problem.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3469 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agoadded extra check for save internal link extensions. (for use with
stekkel [Mon, 26 Aug 2002 14:31:15 +0000 (14:31 +0000)]
added extra check for save internal link extensions. (for use with
magicHTML)
Maybe this is the wrong fix but in case of iframes tags with a cid link to an
internal entity it's possible that stupid users download attached virus
entities because the iframe src pointed to a filename with .scr, .exe, .bat or
other extension. This patch only allow the following hardcoded save extensions:
gif, jpeg, jpg, png, bmp.

To do:
notify user in case of invalid extensions.
totally remove iframes because I think in most cases (virus) they are unsave.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3468 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for getFilename
stekkel [Mon, 26 Aug 2002 14:21:35 +0000 (14:21 +0000)]
fix for getFilename

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3467 7612ce4b-ef26-0410-bec9-ea0150e637f0

18 years agofix for viewing html entities with images involved.
stekkel [Mon, 26 Aug 2002 12:30:02 +0000 (12:30 +0000)]
fix for viewing html entities with images involved.
We have to pass the complete message object to magicHTML to find the related
images.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3466 7612ce4b-ef26-0410-bec9-ea0150e637f0