tassium [Thu, 23 Jan 2003 21:47:35 +0000 (21:47 +0000)]
Prevent XSS silliness in memorized searches.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4461
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Thu, 23 Jan 2003 20:57:39 +0000 (20:57 +0000)]
Avoid XSS silliness in the calendar plugin
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4460
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 23 Jan 2003 20:50:22 +0000 (20:50 +0000)]
Version check fixes.
1) the required version is minimum 4.0.4 so the 4.0.2 check is always passed.
2) make the check in prefs.php also work when new php versions are released %-)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4459
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Thu, 23 Jan 2003 20:43:29 +0000 (20:43 +0000)]
E_ALL fix; missing ' around index name
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4458
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 23 Jan 2003 20:14:43 +0000 (20:14 +0000)]
Obsolete duplicate function to make sure version comparison is done in a
predictable way.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4457
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 23 Jan 2003 18:34:05 +0000 (18:34 +0000)]
Continue development
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4456
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 23 Jan 2003 17:09:54 +0000 (17:09 +0000)]
RC2
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4454
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 23 Jan 2003 16:49:20 +0000 (16:49 +0000)]
fixed warning when attachments aren't set
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4453
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 23 Jan 2003 14:07:13 +0000 (14:07 +0000)]
Rewrite of the foldLine function in order to fold correctly in case of
encoded strings (RFC 2047). Encoded strings may not be split in the middle!
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4452
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 22 Jan 2003 10:54:19 +0000 (10:54 +0000)]
Serbian strings update
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4450
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 22 Jan 2003 10:02:48 +0000 (10:02 +0000)]
Rollback LTR changes. it will be resubmitted after stable release.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4449
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 22 Jan 2003 09:45:40 +0000 (09:45 +0000)]
Rollback RTL changes. this is mailbox_display.php v.1.301
Changes will be resubmitted after stable release.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4448
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 22 Jan 2003 09:42:58 +0000 (09:42 +0000)]
Rollback LTR changes. this is read_body.php v.1.271 and compose.php 1.302.
Patches will be resubmitted after stable release.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4447
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 22 Jan 2003 04:43:16 +0000 (04:43 +0000)]
$note was being checked (with isset()) but never fetched from $_GET. Fixed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4446
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 22 Jan 2003 03:23:25 +0000 (03:23 +0000)]
I have rolled back Stefan's additions.
This is the equivalent to rev 1.143.
Yes, this is stepping on Stefan's toes a little, but we didn't want a CVS snapshot made with new featuration added. Sorry Stefan, please feel free to commit new feature code once we branch 1.5.0.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4445
7612ce4b-ef26-0410-bec9-
ea0150e637f0
centaurix [Tue, 21 Jan 2003 21:05:08 +0000 (21:05 +0000)]
initial files for using vcard in the gui
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4444
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 21 Jan 2003 17:14:01 +0000 (17:14 +0000)]
Arief S Fitrianto
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4443
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 20 Jan 2003 07:00:00 +0000 (07:00 +0000)]
Updated strings from <marcos@v2r.com.br>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4442
7612ce4b-ef26-0410-bec9-
ea0150e637f0
centaurix [Mon, 20 Jan 2003 06:01:16 +0000 (06:01 +0000)]
sleeping sucks anyway. ;)
it writes vcards now. not pretty ones (strip whitespace, encoding, etc is still missing).
but works for me as inital tool.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4441
7612ce4b-ef26-0410-bec9-
ea0150e637f0
centaurix [Mon, 20 Jan 2003 04:17:00 +0000 (04:17 +0000)]
finally. real code. no. not real code. some convert tool even not finished.
will output .vcard address card files in the data directory (own direcoty later)
second small step to get cool vcard features into SM core.
to be continued (and finalized hopefully to end of feb 2003)
getting some sleep. (5am now)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4440
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 19 Jan 2003 21:03:31 +0000 (21:03 +0000)]
Strings update from M.J.Prinsen <various@bovendelft.xs4all.nl>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4439
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 19 Jan 2003 16:44:02 +0000 (16:44 +0000)]
Right-to-left fixes from Saleh Madi <webmail@p-i-s.com> (part 2)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4438
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 19 Jan 2003 16:41:23 +0000 (16:41 +0000)]
Right-to-Left fixes by Saleh Madi <webmail@p-i-s.com>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4437
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 19 Jan 2003 15:44:41 +0000 (15:44 +0000)]
Updated strings.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4436
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 19 Jan 2003 11:40:23 +0000 (11:40 +0000)]
Fix html errors that cause display problems in NS4. Thanks "ME".
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4435
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 18 Jan 2003 09:05:11 +0000 (09:05 +0000)]
Hebrew locale is not he_HE, but he_IL
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4434
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 18 Jan 2003 08:53:52 +0000 (08:53 +0000)]
Included all plugins in xgetpo. Updated main squirrelmail.po.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4433
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Fri, 17 Jan 2003 19:47:00 +0000 (19:47 +0000)]
For a more 'professional' look, using broken instead of borked in the
ChangeLog :P
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4432
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 17 Jan 2003 18:17:49 +0000 (18:17 +0000)]
ChangeLog
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4431
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 17 Jan 2003 18:15:24 +0000 (18:15 +0000)]
Fix abook_take
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4430
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 17 Jan 2003 13:50:33 +0000 (13:50 +0000)]
Obsolete sqm_topdir(), thanks Jimmy Connor for the tip.
sqm_topdir breaks installs that have open_basedir set, and it was only
used in one place, functionality has been superseded by SM_PATH.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4429
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Thu, 16 Jan 2003 21:28:03 +0000 (21:28 +0000)]
Added fortune plugin and --no-location options.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4428
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Thu, 16 Jan 2003 21:18:12 +0000 (21:18 +0000)]
Translated strings in plugin to gettext.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4427
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Thu, 16 Jan 2003 21:15:35 +0000 (21:15 +0000)]
Added Turkish option. But plugin still needs to be fixed and made E_ALL
compatible.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4426
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Thu, 16 Jan 2003 12:48:03 +0000 (12:48 +0000)]
* fix for e-mail addresses like: <mailbox@host> (personal name)
now the personal name is no longer interpreted as comment
but is stored as the personal name inside the address object if
there is no other personal name supplied.
in case of:
"personal name1" <mailbox@host> (personal name2)
personal name 1 is used and personal name 2 is treated as comment.
* removed an eval call and replaced by something that doesn't need eval.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4425
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 15 Jan 2003 15:49:23 +0000 (15:49 +0000)]
Obsolete code because crc32() does exist in our minimum php requirements.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4424
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 15 Jan 2003 15:15:17 +0000 (15:15 +0000)]
Remove unused pref.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4423
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 15 Jan 2003 14:38:35 +0000 (14:38 +0000)]
Modified Deliver_SMTP to use HTTP_HOST in SMTP HELO commands.
If HTTP_HOST is not set, fall back to original SquirrelMail behavior. (Use $domain)
Should close #560524 (SMTP DNS resolution)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4422
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 15 Jan 2003 13:13:41 +0000 (13:13 +0000)]
LogChanges
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4421
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 15 Jan 2003 12:31:33 +0000 (12:31 +0000)]
Rollback previous patch to compose.php because it breaks more than it
fixes. However, we should prefer using move_uploaded_file over rename
because move_uploaded_file works better with safe_mode/open_basedir
restrictions. Not doing that now because we're in rc phase.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4420
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 15 Jan 2003 12:23:59 +0000 (12:23 +0000)]
Fix the save message button, using new functionality marc introduced yesterday.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4419
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 14 Jan 2003 16:07:26 +0000 (16:07 +0000)]
* modifications for using ent_id=0 for downloading full messages
* patch from Seth E. Randall for setting the filename of the mime-entities
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4418
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 14 Jan 2003 15:59:54 +0000 (15:59 +0000)]
* modifications in order to use ent_id=0 for downloading full messages
* patch from Seth E. Randall for getting the filename from attachments
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4417
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Tue, 14 Jan 2003 07:31:04 +0000 (07:31 +0000)]
I thought the hook login_form was supposed to be part of the <form> element.
As it was, it was outside... this corrects it... Should make things like the
login_auto plugin work now a little better too :P
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4416
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 13 Jan 2003 14:13:46 +0000 (14:13 +0000)]
Added Arabic.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4415
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 11 Jan 2003 13:52:15 +0000 (13:52 +0000)]
Since we're requiring PHP >= 4.0.4, we can just use move_upload_file
because it was added in 4.0.3.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4414
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 11 Jan 2003 13:32:04 +0000 (13:32 +0000)]
Quick fix. Closes bug #660529.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4413
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 11 Jan 2003 13:30:17 +0000 (13:30 +0000)]
Two fixes for vcard.php, thanks to Kurt Pires.
1) be liberal in what you accept
2) workaround for outlook, not doing a complete rewrite of vcard now but
that's something that should definately be considered.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4412
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 11 Jan 2003 13:03:22 +0000 (13:03 +0000)]
Disable Save button because that doesn't work. Can be re-enabled if the
download option is working again.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4411
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 11 Jan 2003 12:49:22 +0000 (12:49 +0000)]
Fixes by Thomas CASTELLE
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4410
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Fri, 10 Jan 2003 15:48:49 +0000 (15:48 +0000)]
Removed function sqimap_mailbox_has_children() from imap_mailbox.php
Marc pointed out that \HasChildren is an extension, not part of IMAP4rev1.
Got the effect I needed from already existing code.
Summary: Display purge link for trash in all cases, this time done in accordance with RFC 2060. (Eliminates an extra IMAP call, too.)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4409
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 10 Jan 2003 14:39:50 +0000 (14:39 +0000)]
Fix typo
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4408
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 10 Jan 2003 12:56:40 +0000 (12:56 +0000)]
Arief S Fitrianto
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4407
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Thu, 9 Jan 2003 20:12:40 +0000 (20:12 +0000)]
Added a check in sqimap_login to verify $onetimepad is set. Not sure why
no check was ensured before. Should make plugin developers a little happier
in some cases too.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4406
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Thu, 9 Jan 2003 19:22:15 +0000 (19:22 +0000)]
Fixed left_main.php to show purge link for trash if it contains folders but no messages.
New function in functions/imap_mailbox.php: sqimap_mailbox_has_children(mailbox,stream)
(Stream is optional)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4405
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 9 Jan 2003 15:58:15 +0000 (15:58 +0000)]
ChangeLog
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4404
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 9 Jan 2003 15:56:38 +0000 (15:56 +0000)]
When in threaddisplay, trim subjects of indented messages more.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4403
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Thu, 9 Jan 2003 14:43:36 +0000 (14:43 +0000)]
Antoine Hulin
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4402
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Thu, 9 Jan 2003 01:40:00 +0000 (01:40 +0000)]
This makes more sense to me, and has been shown not to break anything, and while the other method should probably be fixed at some point, I think this is good for now.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4401
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 8 Jan 2003 14:49:59 +0000 (14:49 +0000)]
Squelching errors feels wrong, although in this case it's probably harmless.
Reworked timezone file code to be E_ALL clean without the use of @
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4400
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 8 Jan 2003 08:20:34 +0000 (08:20 +0000)]
Supress PHP errors because we catch them ourselves.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4399
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 7 Jan 2003 21:51:50 +0000 (21:51 +0000)]
I do devel in SquirrelMail too.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4398
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 7 Jan 2003 19:49:51 +0000 (19:49 +0000)]
$default_charset variable equal to user's locale when decoding messages.
set_my_locale function gets charset from locale if no language variable
found in user's prefs. Fixes possible problem when $default_charset and
$squirrelmail_default_language are incorrectly set in config.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4396
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 7 Jan 2003 13:20:13 +0000 (13:20 +0000)]
Stanislav Yordanov
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4395
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 7 Jan 2003 13:17:48 +0000 (13:17 +0000)]
J.I Kim
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4394
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 7 Jan 2003 08:58:08 +0000 (08:58 +0000)]
LogChanges
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4393
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 7 Jan 2003 08:48:37 +0000 (08:48 +0000)]
Catch error if timezone file not present. Thanks Joshua Colson for the tip.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4392
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 6 Jan 2003 20:42:34 +0000 (20:42 +0000)]
This urlencode(urldecode thing breaks stuff and doesn't add real value.
Remove it until a real solution comes up.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4391
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 6 Jan 2003 19:02:00 +0000 (19:02 +0000)]
Identify SquirrelMail with User-Agent, not X-Mailer. Some researching learns
that User-Agent is more accepted as the new standard.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4390
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 6 Jan 2003 16:17:09 +0000 (16:17 +0000)]
Make use of the more detailed error reporting provided by the updated
deliver class
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4389
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 6 Jan 2003 16:08:57 +0000 (16:08 +0000)]
Rewrite of errorCheck function, to make it: correct, more detailed and
more efficient all at once :)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4388
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Mon, 6 Jan 2003 15:59:26 +0000 (15:59 +0000)]
Added compose after search bugfix to the list
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4387
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Mon, 6 Jan 2003 15:52:50 +0000 (15:52 +0000)]
After sending the message, check $mailbox. If it's "All Folders", we got to compose via the search results page. Set $mailbox back to INBOX, which seems a sane default to me.
Closes #662346.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4386
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Mon, 6 Jan 2003 15:12:07 +0000 (15:12 +0000)]
Added the "plain" vs. "login" auth method confusion
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4385
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 4 Jan 2003 19:03:06 +0000 (19:03 +0000)]
cvs Id fix
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4384
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 4 Jan 2003 18:17:38 +0000 (18:17 +0000)]
Implement sqextractGlobalVar with sqgetGlobalVar
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4383
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 4 Jan 2003 18:00:19 +0000 (18:00 +0000)]
Undo this xhtml-compatibility thing because the html_tag function is used
incorrectly in many places around the code: no value is specified while
tags do have a value.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4382
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 4 Jan 2003 11:22:49 +0000 (11:22 +0000)]
Added default sort=0 option. Sorts all the messages by date in decending
order. Newer messages show first.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4381
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 4 Jan 2003 08:58:00 +0000 (08:58 +0000)]
Turkish strings update from "Hikmet Gumus" <gumush@hitstar.org>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4380
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 4 Jan 2003 08:29:43 +0000 (08:29 +0000)]
Updated Lithuanian strings.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4379
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Sat, 4 Jan 2003 06:32:57 +0000 (06:32 +0000)]
Very ugly hack to add rudimentary error check to SMTP for invalid/unsupported auth types. I don't like it, not one bit. It will do until I can fix up a better solution tomorrow though, right now I'm very tired and it's time for bed..
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4378
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Sat, 4 Jan 2003 06:21:06 +0000 (06:21 +0000)]
Improved error handling, especially for everyone whose CVS install just broke because plain auth no longer exists. (Now renamed to login)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4377
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Sat, 4 Jan 2003 06:01:26 +0000 (06:01 +0000)]
Ok, I screwed up. When I put in cram-md5 and digest-md5, I left the alternative as being "plain", which is a misnomer. There really IS a mechanism called "plain", and what we're doing isn't it. So I've renamed our "plain" to "login".
For IMAP, it uses the IMAP4rev1 "LOGIN <user> <pass>" syntax.
For SMTP, it uses the AUTH LOGIN (two-step) method.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4376
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sat, 4 Jan 2003 05:26:52 +0000 (05:26 +0000)]
Thanks shiruken! needed single quotes around switch constants
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4375
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sat, 4 Jan 2003 05:02:40 +0000 (05:02 +0000)]
added constants to fetch COOKIE and SERVER values
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4374
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Sat, 4 Jan 2003 04:53:18 +0000 (04:53 +0000)]
Started section for 1.4.0-rc2. Please contribute what I've missed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4373
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Sat, 4 Jan 2003 04:30:39 +0000 (04:30 +0000)]
Finished up defines for all current config options. Should be up to date with 1.3.x/1.4.0. This plugin is shaping up nicely...
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4372
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sat, 4 Jan 2003 04:15:37 +0000 (04:15 +0000)]
swap in the sqgetGlobalVar function
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4371
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sat, 4 Jan 2003 03:09:00 +0000 (03:09 +0000)]
use new function to get POST variables
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4370
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sat, 4 Jan 2003 02:17:35 +0000 (02:17 +0000)]
Use new function to get GET vars
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4369
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Sat, 4 Jan 2003 01:12:14 +0000 (01:12 +0000)]
Added new function:
sqgetGlobalVar($name, $value [, location] );
This function looks for a variable named $name.
If found, it sets the value into $value (in signature, is &$value) and
returns true. If the variable is not found, the function returns false.
The optional constant allows you to pick which location to
check for the variable in. If none is specified, it will check,
in this order, $_SESSION, $_POST, $_GET. These are defined constants
for use with this function:
SQ_INORDER - same as specifying nothing, check all three.
SQ_SESSION
SQ_POST
SQ_GET
It is recommended that plugins, all functions use this instead of
directly accessing $_SESSION/$_POST/$_GET arrays, as we have
already taken care of scope (global, etc).
The Administration plugin has been updated to use this function,
as an example.
This is an alternative to sqextractGlobalVar($name), which looks
for a var named $name in the SESSION/GET/POST arrays, and creates
a global variable if defined.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4368
7612ce4b-ef26-0410-bec9-
ea0150e637f0
ebullient [Fri, 3 Jan 2003 22:25:42 +0000 (22:25 +0000)]
Fix plugin list in admin plugin
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4367
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Fri, 3 Jan 2003 22:25:07 +0000 (22:25 +0000)]
Added support for:
Server Options: POP before SMTP
General Options: Server sort, server thread sort, server charset search, UID support, PHP session name (hidden - edit that, and you broke the plugin)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4366
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 3 Jan 2003 20:50:52 +0000 (20:50 +0000)]
Alexandros Vellis
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4365
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Fri, 3 Jan 2003 20:45:33 +0000 (20:45 +0000)]
Added support for IMAP & SMTP use of TLS and fancy auth mechanisms to administrator plugin
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4364
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 3 Jan 2003 20:42:19 +0000 (20:42 +0000)]
Juergen Edner
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4363
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 3 Jan 2003 20:41:37 +0000 (20:41 +0000)]
Kent B. Hansen
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4362
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Fri, 3 Jan 2003 20:35:53 +0000 (20:35 +0000)]
dk step 1
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4361
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Fri, 3 Jan 2003 14:14:31 +0000 (14:14 +0000)]
Minor patch allowing admin to disable use of $org_logo on login page.
Thanks to O'Shaughnessy Evans <shaug-sqm@wumpus.org> for the patch.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4360
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 3 Jan 2003 13:51:11 +0000 (13:51 +0000)]
Copypaste error. This could be avoided by doing $theme[] in stead of $theme[n]
but I'm not doing that in this phase. Will probably be changed in 1.5 so no
bother. Thanks David Walsner for reporting
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4359
7612ce4b-ef26-0410-bec9-
ea0150e637f0