indiri69 [Tue, 22 Apr 2003 21:36:51 +0000 (21:36 +0000)]
Basic mailto: support.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4788
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 19 Apr 2003 15:54:14 +0000 (15:54 +0000)]
Update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4784
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 19 Apr 2003 07:55:07 +0000 (07:55 +0000)]
functions/global.php already strips slashes. Having this here twice would
result in ALL slashes being removed from post/get vars if magic_quotes_gpc
was enabled... and as such, usernames/passwords with a \ in would die.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4781
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 19 Apr 2003 03:16:24 +0000 (03:16 +0000)]
Fixed compose so that disabling sent folders now disables sent folders :)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4780
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Fri, 18 Apr 2003 09:55:26 +0000 (09:55 +0000)]
Minor fix for people who saw fatal errors trying to overwrite with the rename command.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4777
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Mon, 14 Apr 2003 18:21:44 +0000 (18:21 +0000)]
Empty $mailbox causes sent append to break.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4767
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Thu, 10 Apr 2003 19:42:05 +0000 (19:42 +0000)]
replace the hook for the subject line that Mr. Groot Koerkamp dropped.
silly man.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4763
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Thu, 10 Apr 2003 00:40:08 +0000 (00:40 +0000)]
Added patch 717651
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4761
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 9 Apr 2003 16:22:20 +0000 (16:22 +0000)]
Thijs yanked this from stable, but there's no reason it can't go into devel.
I really do like this idea, it reminds me of Gallery. Now, if we could eliminate this entire conf.pl portion and do fully online config a la Gallery, that'd be slick...
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4760
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 8 Apr 2003 16:48:33 +0000 (16:48 +0000)]
Fix for addressbook entries containing multiple email addresses (group)
This should solve the send error after compose.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4758
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Tue, 8 Apr 2003 01:01:02 +0000 (01:01 +0000)]
Clarification of messages for restricted settings with
Courier-IMAP and UW-IMAP
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4756
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Tue, 8 Apr 2003 00:26:42 +0000 (00:26 +0000)]
Re-add the outside-of-the-SM-Tree handling that I somehow dropped
from change_to_SM_path().
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4753
7612ce4b-ef26-0410-bec9-
ea0150e637f0
indiri69 [Sun, 6 Apr 2003 00:50:24 +0000 (00:50 +0000)]
Fix for broken highlighting. Will start rewriting it later.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4751
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 4 Apr 2003 11:19:08 +0000 (11:19 +0000)]
Stanislav Yordanov
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4725
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Fri, 4 Apr 2003 04:36:31 +0000 (04:36 +0000)]
kick off dev stream ChangeLog. WOO
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4723
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Fri, 4 Apr 2003 04:32:49 +0000 (04:32 +0000)]
Bug 437140
Support MS cls
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4722
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Fri, 4 Apr 2003 04:00:36 +0000 (04:00 +0000)]
New Dev version strings.
slight include order change to avoid potential E_ALL message.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4719
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 3 Apr 2003 19:07:42 +0000 (19:07 +0000)]
Continue development on 1.4.1!
Devel team can split 1.5.0 now if they wish.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4718
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 3 Apr 2003 17:58:31 +0000 (17:58 +0000)]
Preparing for 1.4.0 release
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4716
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Thu, 3 Apr 2003 11:40:47 +0000 (11:40 +0000)]
Added detection of password fields in generic checkForm javascript function
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4715
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 1 Apr 2003 20:47:00 +0000 (20:47 +0000)]
encodingfixes by Marc
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4713
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 1 Apr 2003 17:58:47 +0000 (17:58 +0000)]
Philippe Mingo
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4712
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 1 Apr 2003 16:49:45 +0000 (16:49 +0000)]
Better place for picking up the header.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4711
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 1 Apr 2003 16:08:06 +0000 (16:08 +0000)]
$header (shorthand for $message->header) is not known when this is a raw
message we want to download. Fixes #712775
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4710
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Tue, 1 Apr 2003 14:59:05 +0000 (14:59 +0000)]
E_ALL error I'd never have noticed if cvs hadn't screwed up last night.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4709
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 1 Apr 2003 07:10:38 +0000 (07:10 +0000)]
Stanislav Yordanov
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4708
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Mon, 31 Mar 2003 13:40:24 +0000 (13:40 +0000)]
Antoine Hulin
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4705
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Mon, 31 Mar 2003 04:18:21 +0000 (04:18 +0000)]
1) Corrected errors with relative paths that prevented sounds from
being played correctly for notification/test.
2) Removed local file option. As it existed, it didn't function properly
on windows, possibly also not on Unix. This function should be revisited, ,
possibly changing to support a single uploaded sound (less than a certain
size) per user, which would live in the prefs dir (?). This allows users
to supply their own sound of choice that will work regardless of
which PC they're using, which is more the point of SquirrelMail anyway.
Didn't want to try to squeeze the change to upload in under 1.4, so I just
removed it entirely.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4703
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 30 Mar 2003 10:35:40 +0000 (10:35 +0000)]
Remove warning message for 4.3.x; we believe the session issues have been
fixed. Leave the warning in ReleaseNotes because we don't have enough
testing experience with PHP 4.3.x to be sure about the stability.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4702
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Sat, 29 Mar 2003 13:20:11 +0000 (13:20 +0000)]
Jon, please check this.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4701
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Sat, 29 Mar 2003 12:55:40 +0000 (12:55 +0000)]
Arief S Fitrianto
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4700
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 28 Mar 2003 12:01:15 +0000 (12:01 +0000)]
-= M.J. Prinsen =-
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4699
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 28 Mar 2003 08:16:50 +0000 (08:16 +0000)]
Christian Froemmel
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4698
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Fri, 28 Mar 2003 05:22:51 +0000 (05:22 +0000)]
remove_pref function was missing global prefs_cache declare.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4697
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 27 Mar 2003 17:15:45 +0000 (17:15 +0000)]
Christian Froemmel
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4696
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 27 Mar 2003 16:47:48 +0000 (16:47 +0000)]
Masato Higashiyama japanese patch.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4695
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Thu, 27 Mar 2003 16:16:48 +0000 (16:16 +0000)]
Fix for infinite loop when trying to decode multi-part mime attachments
(Bug #710210)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4694
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 27 Mar 2003 15:35:37 +0000 (15:35 +0000)]
Alexandros Vellis
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4693
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 27 Mar 2003 11:18:51 +0000 (11:18 +0000)]
Fix print friendly
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4692
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 27 Mar 2003 11:17:06 +0000 (11:17 +0000)]
Printable version should not use theme colors but fixed black-text-on-white-background.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4691
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Thu, 27 Mar 2003 04:28:48 +0000 (04:28 +0000)]
Can't forget to commit my fixes for the last few days!
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4690
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Thu, 27 Mar 2003 04:02:12 +0000 (04:02 +0000)]
Another operator bug...
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4689
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Thu, 27 Mar 2003 04:01:31 +0000 (04:01 +0000)]
Fix some operator bugs that cause some problems (mainly when forwarding messages).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4688
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Thu, 27 Mar 2003 03:55:10 +0000 (03:55 +0000)]
Fixes forwarding messages when not using server side sorting (undefined variable)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4687
7612ce4b-ef26-0410-bec9-
ea0150e637f0
graf25 [Thu, 27 Mar 2003 03:08:16 +0000 (03:08 +0000)]
Adding RPM-related files.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4686
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 26 Mar 2003 16:33:24 +0000 (16:33 +0000)]
Fix #708956: deleting a pop3 account corrupts remaining pop3 account info
Thanks 'Steve'.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4685
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 26 Mar 2003 16:30:01 +0000 (16:30 +0000)]
Fix typo in var name and add two prefs which were left out when renumbering
the server data. And wrap the lines in a nicer way. Fixes #708956.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4684
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Wed, 26 Mar 2003 16:04:20 +0000 (16:04 +0000)]
PHP 4.3.x prefs fix for db based prefs.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4682
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Tue, 25 Mar 2003 21:22:15 +0000 (21:22 +0000)]
And again... another PHP 4.3 fix
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4678
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Tue, 25 Mar 2003 16:07:22 +0000 (16:07 +0000)]
Still getting complaints about this outputting plain text to the browser
instead of JS on the component... Going to pull it for now... and investigate
the possible cause for the screw ups after 1.4.0 is released.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4676
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Tue, 25 Mar 2003 15:08:23 +0000 (15:08 +0000)]
A couple of fixes for PHP 4.3.x. This should allow prefs to be saved now,
and should remove the warning about a bug in PHP 4.2.3 in the mailbox view.
Thank you very much Troy Settle for use of his server for testing
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4675
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Tue, 25 Mar 2003 05:01:57 +0000 (05:01 +0000)]
We give plugins the ability to add buttons to the mailbox display form, but no way to act upon them. This provides a simple hook to do so.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4672
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Tue, 25 Mar 2003 04:42:04 +0000 (04:42 +0000)]
A few spelling corrections
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4671
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 24 Mar 2003 14:29:06 +0000 (14:29 +0000)]
Revert to 1.15: we don't currently use this field but it's defined
separately by RFC 2919, so we should support it for future use.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4670
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Mon, 24 Mar 2003 04:14:54 +0000 (04:14 +0000)]
Inorder for plugins to utilize the msg_envelope hook, they need to be able to manilpulate/read these variables.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4669
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 23 Mar 2003 11:39:51 +0000 (11:39 +0000)]
This field does not exist in the RFC spec and is not used in the code: drop it.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4668
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 23 Mar 2003 11:38:27 +0000 (11:38 +0000)]
Consistant capitalization
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4667
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 22 Mar 2003 17:48:51 +0000 (17:48 +0000)]
Lets see if this prefs fix works for now. Will do DB stuff later, or
maybe look into using references(?)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4666
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 22 Mar 2003 17:10:35 +0000 (17:10 +0000)]
Remove obsolete references.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4665
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Sat, 22 Mar 2003 10:48:23 +0000 (10:48 +0000)]
Spanish Update by Mingo
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4664
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Sat, 22 Mar 2003 10:13:39 +0000 (10:13 +0000)]
Update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4663
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 18 Mar 2003 23:02:54 +0000 (23:02 +0000)]
String correction
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4662
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sun, 16 Mar 2003 22:25:10 +0000 (22:25 +0000)]
Moved opening form tag up before login_top hook so plugins like password_forget will work.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4661
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sun, 16 Mar 2003 21:17:49 +0000 (21:17 +0000)]
Put msg_envelope hook back in, per Jimmy Conner's request and for msg_flags plugin to work
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4660
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 16 Mar 2003 15:00:55 +0000 (15:00 +0000)]
One \n too much
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4659
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 16 Mar 2003 13:22:49 +0000 (13:22 +0000)]
LogChange
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4658
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 16 Mar 2003 12:34:03 +0000 (12:34 +0000)]
Small bug in content-type properties, thanks Ryan (hairball57) for reporting.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4657
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 16 Mar 2003 12:28:00 +0000 (12:28 +0000)]
When an identity has no full_name, display the emailaddress without < and >.
While we're at it, do some HTML fixes.
Closes #702257.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4656
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Thu, 13 Mar 2003 23:08:41 +0000 (23:08 +0000)]
Added subject retrieval when message initiated from page other than read_body.php
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4654
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Thu, 13 Mar 2003 10:13:17 +0000 (10:13 +0000)]
Explicitly define for old php versions when it's undefined
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4651
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 11 Mar 2003 20:29:25 +0000 (20:29 +0000)]
Turned off validation scripts for widgets when javascript is disabled
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4648
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Tue, 11 Mar 2003 20:18:55 +0000 (20:18 +0000)]
Pulling out JS in options setup. Paul, did you want to fix this so that it
is browser/user safe... ie, make it work when the user has js off? Here is
what happens when they don't support js:
http://dhruba.codewordt.co.uk/sqm.png
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4647
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 17:48:00 +0000 (17:48 +0000)]
replace $_SESSION with sqgetGlobalVar
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4646
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 17:39:25 +0000 (17:39 +0000)]
More cleanup. This dir all done.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4645
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 16:57:21 +0000 (16:57 +0000)]
More global cleanup. Now all SESSION and COOKIE use sqgetglobalvar, what's
remaining is a wide deployment of _POST and _GET.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4644
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 16:30:54 +0000 (16:30 +0000)]
Clean up spamcop plugin wrt globals.
Fix a bug in saving the spamcop ID.
Eliminate evil "extract($_SESSION);" statement.
And make the produced html more valid.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4643
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 15:57:22 +0000 (15:57 +0000)]
cleanup some plugins to make use of sqgetGlobalVar
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4642
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 15:11:16 +0000 (15:11 +0000)]
LogChanges
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4641
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 15:05:11 +0000 (15:05 +0000)]
Calc the max size for an uploaded file and display it to the user.
This is informational to prevent large file uploads to fail.
Becasue PHP stores sizes like "8M" we have to calculate the bytesize first.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4640
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 11 Mar 2003 09:02:13 +0000 (09:02 +0000)]
fwrite returns 0 when 0 bytes written, so use === FALSE test instead.
Thanks Jon for the tip.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4639
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 10 Mar 2003 23:56:12 +0000 (23:56 +0000)]
A better way to check for errors, and apply the previous fix to signature writes too.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4638
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 10 Mar 2003 23:23:09 +0000 (23:23 +0000)]
Small tweaks:
Move include of display messages in file_prefs to the top of the file,
because it wasn't included everywhere correctly ('../functions') or in
some places not at all, better move it to the top so the functions are
available at all times in a consistent manner.
Also throw an error if the tmp pref file could not be copied.
Remove initializing of colors that aren't used in logout_error.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4637
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Mon, 10 Mar 2003 18:01:45 +0000 (18:01 +0000)]
Weird locales seem to mess with uppercase i, and php seems to like to
convert function names according to locales... bad php, but not much we can
do. Changed quoteIMAP to quoteimap to work around this for now. It's only
used during login as far as I can find.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4633
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Mon, 10 Mar 2003 16:40:02 +0000 (16:40 +0000)]
Update changelog to reflect updates in compose
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4632
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 10 Mar 2003 16:31:57 +0000 (16:31 +0000)]
Fix copyerror, this eliminates some warnings of undefined index in the msg list.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4631
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 10 Mar 2003 16:18:29 +0000 (16:18 +0000)]
Fix logic I mixed up.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4630
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Mon, 10 Mar 2003 07:19:20 +0000 (07:19 +0000)]
Cache the base url (protocol://host:port) in the session to make it
faster. get_location already parsed php_self to get the url
e.g. /path/to/sqmail/src
So now, to make Locations compliant, you can either, call get_location if
you know the place you're redirecting to has the same url path you do
(src to src, for example), or check for 'sq_base_url' in the session vars,
call get_location to set it if it isn't there, and then use the
'sq_base_url' session var + base_uri from session + desired location to
redirect.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4629
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Mon, 10 Mar 2003 07:08:15 +0000 (07:08 +0000)]
Fix some interesting behavior when adding a signature to a message that
included personal names with quotes in them. I stumbled on to this,
and Jon pointed out it was actually an XSS bug. Whee. ;)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4628
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Mon, 10 Mar 2003 05:15:46 +0000 (05:15 +0000)]
Fixed attachments issue... Seemed that the session wasn't getting the new
value of the message array when composing. This'd make the attachments
apparently vanish. Also added back in the $restoremessages array, was that
which helped me solve the attachments issue.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4627
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sun, 9 Mar 2003 18:54:34 +0000 (18:54 +0000)]
added explicit include of global.php
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4626
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sun, 9 Mar 2003 18:45:07 +0000 (18:45 +0000)]
Add explicit include of global.php
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4625
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 8 Mar 2003 05:01:56 +0000 (05:01 +0000)]
A few more unnecessary urldecodes when not needed. Now we can view headers
and text of a message when viewing a mailbox with + in the name.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4621
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 8 Mar 2003 04:59:19 +0000 (04:59 +0000)]
I'd like my settings to stay on login... we need a better solution :)
Reverting file_prefs.php to previous version until proper fix is discovered
for PHP 4.3.1 dropping settings.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4620
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 8 Mar 2003 04:55:03 +0000 (04:55 +0000)]
Changelog update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4619
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Sat, 8 Mar 2003 04:41:35 +0000 (04:41 +0000)]
DMN now remembers the last target mailbox to match up with the rest of SM
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4618
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 7 Mar 2003 22:27:16 +0000 (22:27 +0000)]
put back Erin's changes.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4615
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 7 Mar 2003 22:12:51 +0000 (22:12 +0000)]
address parsing with encoded personal names
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4614
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 7 Mar 2003 22:12:06 +0000 (22:12 +0000)]
better folding of header lines.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4613
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 7 Mar 2003 22:11:22 +0000 (22:11 +0000)]
improved encodeHeader function and decodeHeader handling to follow RFC's
better.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4612
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Fri, 7 Mar 2003 22:09:57 +0000 (22:09 +0000)]
encoding stuff
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4611
7612ce4b-ef26-0410-bec9-
ea0150e637f0