squirrelmail.git
16 years agoReverting to Erin's original design; sqgetGlobalVar() should not touch vars that...
pdontthink [Thu, 14 Apr 2005 10:52:50 +0000 (10:52 +0000)]
Reverting to Erin's original design; sqgetGlobalVar() should not touch vars that are not found

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

16 years agocourier workaround
pdontthink [Wed, 13 Apr 2005 23:28:27 +0000 (23:28 +0000)]
courier workaround

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

16 years agoWorkaround for Courier when sending mixed messages with nested multipart/alternative...
pdontthink [Wed, 13 Apr 2005 23:22:53 +0000 (23:22 +0000)]
Workaround for Courier when sending mixed messages with nested multipart/alternative parts

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

16 years agodocumenting some mailbox functions
tokul [Wed, 13 Apr 2005 18:48:49 +0000 (18:48 +0000)]
documenting some mailbox functions

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

16 years agosince comments are not needed for @return
tokul [Wed, 13 Apr 2005 14:21:57 +0000 (14:21 +0000)]
since comments are not needed for @return

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

16 years agodocumenting two functions
tokul [Wed, 13 Apr 2005 13:24:06 +0000 (13:24 +0000)]
documenting two functions

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

16 years agoAdd Cancel button to HTML addressbook. This was even simpler than I thought.
kink [Mon, 11 Apr 2005 18:36:41 +0000 (18:36 +0000)]
Add Cancel button to HTML addressbook. This was even simpler than I thought.
Closes: #1180565

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

16 years agoenough for today. adding some tags to imap mailbox functions
tokul [Mon, 11 Apr 2005 16:21:42 +0000 (16:21 +0000)]
enough for today. adding some tags to imap mailbox functions

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

16 years agomoved script to decode module. Script uses old style decode functions, is
tokul [Mon, 11 Apr 2005 08:55:10 +0000 (08:55 +0000)]
moved script to decode module. Script uses old style decode functions, is
compatible only with single byte mappings and most of single byte unicode
mappings are already implemented.

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

16 years agoIf From: field is unset in an email, header object for from field is not
jangliss [Sun, 10 Apr 2005 02:50:13 +0000 (02:50 +0000)]
If From: field is unset in an email, header object for from field is not
correctly set, and generates an error on reply (#1179754).

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

16 years agodocumenting functions. adding @deprecated to obsolate functions and @since
tokul [Fri, 8 Apr 2005 13:39:05 +0000 (13:39 +0000)]
documenting functions. adding @deprecated to obsolate functions and @since
tags to functions introduced after 1.0. Trying to document argument types
where possible

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

16 years agoinformation about changes
tokul [Fri, 8 Apr 2005 11:50:32 +0000 (11:50 +0000)]
information about changes

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

16 years agoregister_globals=off fix for squirrelmail_language extraction from cookie.
tokul [Fri, 8 Apr 2005 11:46:26 +0000 (11:46 +0000)]
register_globals=off fix for squirrelmail_language extraction from cookie.

if default squirrelmail language is set to empty string, detect default
language from HTTP_ACCEPT_LANGUAGE (#764709).

explained both tests that control language selection.

make set_my_charset work correctly when default sm language is empty.

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

16 years agodocumentation updates
tokul [Fri, 8 Apr 2005 11:38:30 +0000 (11:38 +0000)]
documentation updates

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

16 years agoString fix
jervfors [Fri, 8 Apr 2005 09:44:08 +0000 (09:44 +0000)]
String fix

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

16 years agofix 'referral' bug for UW-servers, sorry people
kink [Fri, 8 Apr 2005 08:47:05 +0000 (08:47 +0000)]
fix 'referral' bug for UW-servers, sorry people

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

16 years agophpDocumentor fixes
jervfors [Fri, 8 Apr 2005 06:38:00 +0000 (06:38 +0000)]
phpDocumentor fixes

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

16 years agoMoving documentation from source code to README
jervfors [Thu, 7 Apr 2005 16:22:35 +0000 (16:22 +0000)]
Moving documentation from source code to README

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

16 years agoPartial support for IMAP LOgin Referrals: tell the user what's going on
kink [Wed, 6 Apr 2005 21:47:06 +0000 (21:47 +0000)]
Partial support for IMAP LOgin Referrals: tell the user what's going on
and log him out (RFC 2221) (Patch #1006242).

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

16 years agosome html-fixes
kink [Wed, 6 Apr 2005 21:30:36 +0000 (21:30 +0000)]
some html-fixes

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

16 years agoDrop "$oldway" mailbox list generation code from left_main. The new code
kink [Wed, 6 Apr 2005 20:58:03 +0000 (20:58 +0000)]
Drop "$oldway" mailbox list generation code from left_main. The new code
has been surviving fine since 1.3.0 and as far as we know there are no
current problems with it. What this patch does:
- Remove a lot of obsolete code from left_main.php.
- Remove configurable tweak 'oldway' from config (not renumbering conf.pl
  menu at this stage to avoid confusion of menu item numbers).
- Coding style fixes to mailbox generation code.
- Remove unneccessary (only one cell) HTML tables from left_main.
- Add support for unselectable folder color (color[15]) which was missing
  from ListBoxes.
Note: advancedtree is still a configurable tweak as it's not as mature
and has dhtml-dependencies.

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

16 years agochange default reply citation site, it's better to have by default an
kink [Wed, 6 Apr 2005 18:52:14 +0000 (18:52 +0000)]
change default reply citation site, it's better to have by default an
attribution line above a reply than none.

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

16 years agoImprove error message for illegal folder name.
kink [Wed, 6 Apr 2005 17:51:06 +0000 (17:51 +0000)]
Improve error message for illegal folder name.

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

16 years agodeprecated - considered obsolescent
tokul [Wed, 6 Apr 2005 13:51:48 +0000 (13:51 +0000)]
deprecated - considered obsolescent
obsolete - no longer in use

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

16 years agoinformation about disabled script
tokul [Wed, 6 Apr 2005 13:02:39 +0000 (13:02 +0000)]
information about disabled script

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

16 years agoi don't like deleting things. If some plugin uses it, users should get
tokul [Wed, 6 Apr 2005 12:55:11 +0000 (12:55 +0000)]
i don't like deleting things. If some plugin uses it, users should get
the message.

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

16 years agoadding since tags
tokul [Wed, 6 Apr 2005 12:46:40 +0000 (12:46 +0000)]
adding since tags

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

16 years agoreplaced last redirections to src/delete_message.php with sqimap commands.
tokul [Wed, 6 Apr 2005 12:44:41 +0000 (12:44 +0000)]
replaced last redirections to src/delete_message.php with sqimap commands.
sqimap_msgs_list_delete() is used instead of sqimap_delete_messages(),
because sqimap_delete_messages() is marked as deprecated.

PS.
sqimap_msgs_list_delete($imap_stream, $mailbox, $id, $bypass_trash=false)
sqimap_msgs_list_copy  ($imap_stream, $id, $mailbox, $handle_errors = true)
sqimap_msgs_list_move  ($imap_stream, $id, $mailbox, $handle_errors = true)

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

16 years agochangelog layout fixes
kink [Wed, 6 Apr 2005 12:02:23 +0000 (12:02 +0000)]
changelog layout fixes

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

16 years agohiding default prefix in operations with folders. It is not visible in other
tokul [Wed, 6 Apr 2005 10:36:00 +0000 (10:36 +0000)]
hiding default prefix in operations with folders. It is not visible in other
parts of interface

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

16 years agoadding param and since tags to some functions
tokul [Tue, 5 Apr 2005 14:16:31 +0000 (14:16 +0000)]
adding param and since tags to some functions

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

16 years agoupdating include/validate.php structure
tokul [Tue, 5 Apr 2005 13:48:07 +0000 (13:48 +0000)]
updating include/validate.php structure

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

16 years agoone more page to go
tokul [Tue, 5 Apr 2005 13:45:39 +0000 (13:45 +0000)]
one more page to go

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

16 years agomove imap logout to before the redirect to make sure we cleanly terminate
kink [Tue, 5 Apr 2005 13:32:02 +0000 (13:32 +0000)]
move imap logout to before the redirect to make sure we cleanly terminate
the connection (code after a redirect is not guarranteed to be run).

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

16 years agoadd robots tag here for completeness' sake
kink [Mon, 4 Apr 2005 19:42:30 +0000 (19:42 +0000)]
add robots tag here for completeness' sake

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

16 years agosmall fix to previous change: box could have been $used already
kink [Mon, 4 Apr 2005 19:21:26 +0000 (19:21 +0000)]
small fix to previous change: box could have been $used already

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

16 years agoFix incorrect folder hierarchy shown. Patch was supplied by Awais Ahmad,
kink [Mon, 4 Apr 2005 19:04:24 +0000 (19:04 +0000)]
Fix incorrect folder hierarchy shown. Patch was supplied by Awais Ahmad,
works fine here and is confirmed to work by several other users.
Closes bug #1009654 and patch #1082558.

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

16 years agoupdating strings
tokul [Mon, 4 Apr 2005 14:09:53 +0000 (14:09 +0000)]
updating strings

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

16 years agousing signed decimal (%d) instead of nonexistent variable type (%i)
tokul [Mon, 4 Apr 2005 13:53:55 +0000 (13:53 +0000)]
using signed decimal (%d) instead of nonexistent variable type (%i)

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

16 years agoadding function that can be used to display 8bit symbols as hex codes.
tokul [Mon, 4 Apr 2005 13:39:26 +0000 (13:39 +0000)]
adding function that can be used to display 8bit symbols as hex codes.

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

16 years agoAdd a META robots noindex/nofollow tag to SquirrelMail generated output.
kink [Mon, 4 Apr 2005 12:58:12 +0000 (12:58 +0000)]
Add a META robots noindex/nofollow tag to SquirrelMail generated output.
Major search engines will not index squirrelmail-pages. This serves the
following points:
- The search engines' cache/index does not get polluted with useless data;
  indexing a webmail client is not of interest. We should advise search
  engines that they skip us.
- Will not make a squirrelmail install findable through google. This has
  an advantage when someone is looking for vulnerable webmail systems to
  exploit (i.e.: search for "SquirrelMail" in google, and try every system
  you find with a known exploit).
A robots.txt is not a solution because that has to be in the root of a
document tree, which squirrelmail does not have to be.

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

16 years agophpDoc and i18n fixes.
jervfors [Sun, 3 Apr 2005 19:36:11 +0000 (19:36 +0000)]
phpDoc and i18n fixes.
Moving functions from "setup.php" to "functions.php".
Fixing notice in "mailout.php".
Fixing paths.

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

16 years agophpDoc fixes
jervfors [Sun, 3 Apr 2005 17:04:51 +0000 (17:04 +0000)]
phpDoc fixes

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

16 years agomissing sprintf around string
kink [Sat, 2 Apr 2005 13:29:15 +0000 (13:29 +0000)]
missing sprintf around string

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

16 years agoSome string fixes
kink [Fri, 1 Apr 2005 13:17:10 +0000 (13:17 +0000)]
Some string fixes

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

16 years agoHTML Tidy... no such tag as nobr according to W3C.
jangliss [Thu, 31 Mar 2005 23:46:43 +0000 (23:46 +0000)]
HTML Tidy... no such tag as nobr according to W3C.

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

16 years agoHTML Validation tidy up. Script tags require a "type".
jangliss [Thu, 31 Mar 2005 23:28:44 +0000 (23:28 +0000)]
HTML Validation tidy up.  Script tags require a "type".

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

16 years ago - Create a generic function to empty a folder tree, thanks to
kink [Thu, 31 Mar 2005 13:10:39 +0000 (13:10 +0000)]
  - Create a generic function to empty a folder tree, thanks to
    Randy Smith (#1145578).

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

16 years agoFixed javascript errors when clicking on subject of unread messages
pdontthink [Thu, 31 Mar 2005 11:44:58 +0000 (11:44 +0000)]
Fixed javascript errors when clicking on subject of unread messages

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

16 years agoFix folder rename to cope with collapsed-prefs, cyrus>=2.0 and renaming
kink [Wed, 30 Mar 2005 19:01:25 +0000 (19:01 +0000)]
Fix folder rename to cope with collapsed-prefs, cyrus>=2.0 and renaming
of unsubscribed folders. Patch #1155791

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

16 years agoFixed bad/malformed request error when Sent was over quota. This was checked
kink [Wed, 30 Mar 2005 18:35:50 +0000 (18:35 +0000)]
Fixed bad/malformed request error when Sent was over quota. This was checked
at the second stage when appending to Sent but not the first stage (the
response was simply thrown away). I've abstracted the checking to a
separate function that is called at the two relevant points. Closes: #1172694

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

16 years agomercury v.4.01b does not need INBOX.
tokul [Wed, 30 Mar 2005 16:41:16 +0000 (16:41 +0000)]
mercury v.4.01b does not need INBOX.

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

16 years agoone more fix for #1043576. rewrapping is done in compose too.
tokul [Wed, 30 Mar 2005 11:12:15 +0000 (11:12 +0000)]
one more fix for #1043576. rewrapping is done in compose too.

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

16 years agomaking script work correctly when draft is resumed. Tagging some parts that
tokul [Wed, 30 Mar 2005 11:03:29 +0000 (11:03 +0000)]
making script work correctly when draft is resumed. Tagging some parts that
might need fixes.

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

16 years agoAllow extra javascript to be added to checkboxes
pdontthink [Wed, 30 Mar 2005 00:48:17 +0000 (00:48 +0000)]
Allow extra javascript to be added to checkboxes

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

16 years agoArea around checkboxes is now also responsive to the fancy row highlighting and auto...
pdontthink [Wed, 30 Mar 2005 00:47:21 +0000 (00:47 +0000)]
Area around checkboxes is now also responsive to the fancy row highlighting and auto-checkbox clicks; also toggle all functionality now corresponds with the fancy row highlighting when in use.

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

16 years agodocumenting since tags
tokul [Tue, 29 Mar 2005 16:35:55 +0000 (16:35 +0000)]
documenting since tags

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

16 years agohandle configuration error without displaying paths in error message.
tokul [Tue, 29 Mar 2005 16:16:53 +0000 (16:16 +0000)]
handle configuration error without displaying paths in error message.

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

16 years agodocumenting some imap functions
tokul [Tue, 29 Mar 2005 16:03:24 +0000 (16:03 +0000)]
documenting some imap functions

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

16 years agoadding phpdoc block before include
tokul [Tue, 29 Mar 2005 15:10:31 +0000 (15:10 +0000)]
adding phpdoc block before include

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

16 years agodocumenting two functions
tokul [Tue, 29 Mar 2005 14:28:13 +0000 (14:28 +0000)]
documenting two functions

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

16 years ago* removed need to modify backend files. everything is controlled with
tokul [Tue, 29 Mar 2005 13:22:16 +0000 (13:22 +0000)]
* removed need to modify backend files. everything is controlled with
config.php overrides.
* config.php file moved to config_default.php.
* site configuration can be stored in config/ or plugin's directories.
* added code that switches to change_password domain, if plugin is used in
1.4.x.
* merak curl test is moved to init function.
* use $cpw_ prefix for all configuration overrides in order to avoid using
generic names.

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

16 years agoWhen wanting to use mb_strtoupper, test for the existence of that function
kink [Tue, 29 Mar 2005 13:16:05 +0000 (13:16 +0000)]
When wanting to use mb_strtoupper, test for the existence of that function
(couldn't send any mail anymore because I am lacking that function).

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

16 years agoeliminate notice and unneccessary html when td_str not set.
kink [Tue, 29 Mar 2005 13:10:02 +0000 (13:10 +0000)]
eliminate notice and unneccessary html when td_str not set.

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

16 years agofix mbstring overloading issue with passwords (#929644).
tokul [Tue, 29 Mar 2005 09:14:06 +0000 (09:14 +0000)]
fix mbstring overloading issue with passwords (#929644).

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

16 years agoAdding comment about gettext versions
jervfors [Mon, 28 Mar 2005 22:00:42 +0000 (22:00 +0000)]
Adding comment about gettext versions

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

16 years ago1043576 fix
tokul [Sun, 27 Mar 2005 09:51:30 +0000 (09:51 +0000)]
1043576 fix

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

16 years agousing mbstring functions for body wrapping, if they are available.
tokul [Sun, 27 Mar 2005 09:48:33 +0000 (09:48 +0000)]
using mbstring functions for body wrapping, if they are available.
own utf strlen implementation is removed because we need strlen, substr and
strpos implementation in order to use it correctly.
sqbodywrap function is modified to use sq_* functions instead of vanilla
string functions.
function calls that analize string in bytes ($body{$position}) are replaced
with string functions.

closes #1043576 in devel. code is not that complex in stable and it needs only
modified strlen calls.

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

16 years agoinformation about changes
tokul [Sun, 27 Mar 2005 09:38:42 +0000 (09:38 +0000)]
information about changes

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

16 years agoadding limit_scope and filter support to ldap configuration
tokul [Sun, 27 Mar 2005 09:20:11 +0000 (09:20 +0000)]
adding limit_scope and filter support to ldap configuration

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

16 years agoadding limit_scope and filter support. Should close #1035454 and #539534
tokul [Sun, 27 Mar 2005 09:12:19 +0000 (09:12 +0000)]
adding limit_scope and filter support. Should close #1035454 and #539534
patches in devel. Patches will be moved to stable tracker, but I don't think
that they have to be added to stable.

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

16 years agomissing extension problems are handled inside backend class.
tokul [Sun, 27 Mar 2005 09:09:06 +0000 (09:09 +0000)]
missing extension problems are handled inside backend class.
This makes sure that administrator sees some errors, when he/she adds
ldap address book to php without ldap support.

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

16 years agoadd includes from imap_search.php to imap.php for backwards
kink [Sat, 26 Mar 2005 18:52:41 +0000 (18:52 +0000)]
add includes from imap_search.php to imap.php for backwards
compatibility. Thanks Alex for the tip.

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

16 years agoCompletely cleanup the folders management (create/subscribe etc) code.
kink [Sat, 26 Mar 2005 18:48:43 +0000 (18:48 +0000)]
Completely cleanup the folders management (create/subscribe etc) code.
- Remove the many small src/folders_*, concentrate their functionality
  in functions/folder_manip.php and call that from folders.php.
- Saves duplicate code and an IMAP call here and there.
- Improve the code itself, replace complex structures with simpler ones
  which acheive the same.
- Improve UI by adding Cancel buttons where appropriate.
- Some other small fixes.

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

16 years agoDrop unused file imap_search.php.
kink [Sat, 26 Mar 2005 16:09:54 +0000 (16:09 +0000)]
Drop unused file imap_search.php.

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

16 years agodoc update
tokul [Fri, 25 Mar 2005 14:14:37 +0000 (14:14 +0000)]
doc update

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

16 years agotranslating some internal vmailmgr library messages
tokul [Fri, 25 Mar 2005 14:12:39 +0000 (14:12 +0000)]
translating some internal vmailmgr library messages

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

16 years agoRemove the error suppressors I had included (@)
cigamit [Fri, 25 Mar 2005 06:18:44 +0000 (06:18 +0000)]
Remove the error suppressors I had included (@)

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

16 years agoChange config.php.sample to config.sample.php to allow PHPDocumentor to parse it
cigamit [Fri, 25 Mar 2005 06:09:40 +0000 (06:09 +0000)]
Change config.php.sample to config.sample.php to allow PHPDocumentor to parse it

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

16 years agoUpdate message copy and move functions to allow for custom handling / ignoring of...
cigamit [Fri, 25 Mar 2005 06:00:45 +0000 (06:00 +0000)]
Update message copy and move functions to allow for custom handling / ignoring of the error messages.
This fixes a bug where users with exceeded quota's could not login when the filter plugin is actively filtering.

Currently user does not get an error if filtering failed (I am working on it) and it continues parsing the next filter even if fails (I have code for this, but don't think its necessary)

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

16 years agofirst function can be used in other plugins. second function is private and
tokul [Wed, 23 Mar 2005 14:43:15 +0000 (14:43 +0000)]
first function can be used in other plugins. second function is private and
available in both stable and devel

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

16 years agoChanging "NOT DELETED" to "UNDELETED" per Seth and Marc's suggestion.
cigamit [Tue, 22 Mar 2005 19:58:55 +0000 (19:58 +0000)]
Changing "NOT DELETED" to "UNDELETED" per Seth and Marc's suggestion.

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

16 years agoAdd ability to filter on the Message body, or if text appears any where in the messag...
cigamit [Mon, 21 Mar 2005 22:48:26 +0000 (22:48 +0000)]
Add ability to filter on the Message body, or if text appears any where in the message (Header or Body).
The strings are already translated via our search form
This should close Feature Request # 509443

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

16 years agoAdd ability to filter on the Message body, or if text appears any where in the messag...
cigamit [Mon, 21 Mar 2005 22:42:53 +0000 (22:42 +0000)]
Add ability to filter on the Message body, or if text appears any where in the message (Header or Body).
The strings are already translated via our search form
This should close Feature Request # 509443

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

16 years ago"development team" -> "project team"
kink [Mon, 21 Mar 2005 22:18:32 +0000 (22:18 +0000)]
"development team" -> "project team"

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

16 years agostrip absolute positioning css from html mails.
kink [Mon, 21 Mar 2005 20:56:06 +0000 (20:56 +0000)]
strip absolute positioning css from html mails.

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

16 years agoFixed a few warning messages I ran into today when SMTP had died. We already output...
cigamit [Mon, 21 Mar 2005 20:35:33 +0000 (20:35 +0000)]
Fixed a few warning messages I ran into today when SMTP had died.  We already output nice SMTP error messages, so no need to have the PHP code display its own errors.
Also, the property dlv_server_msg was only being set in the errorCheck function, which was never ran if the socket connection failed, so we would get an undefined error.

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

16 years agoAdd fix for Filters Plugin dealing with duplicate rule processing and
cigamit [Mon, 21 Mar 2005 20:19:49 +0000 (20:19 +0000)]
Add fix for Filters Plugin dealing with duplicate rule processing and
false unread message counts.  This should close both bug # 676073
and patch # 919045 (the patch is not needed after this fix)
I do not have access to close these bugs, so if someone else will do the honor :)

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

16 years agoAdd fix for Filters Plugin dealing with duplicate rule processing and
cigamit [Mon, 21 Mar 2005 17:18:43 +0000 (17:18 +0000)]
Add fix for Filters Plugin dealing with duplicate rule processing and
false unread message counts.  This should close both bug # 676073
and patch # 919045 (the patch is not needed after this fix)
I do not have access to close these bugs, so if someone else will do the honor :)

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

16 years agoAdd to Changelog about bringing the Filters plugin into compliance
cigamit [Mon, 21 Mar 2005 15:50:31 +0000 (15:50 +0000)]
Add to Changelog about bringing the Filters plugin into compliance

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

16 years agoUpdate the filters README to point to the new config.php
cigamit [Sun, 20 Mar 2005 21:58:51 +0000 (21:58 +0000)]
Update the filters README to point to the new config.php

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

16 years agoUpdate the Filters plugin to comply with our Plugin Standards
cigamit [Sun, 20 Mar 2005 21:50:02 +0000 (21:50 +0000)]
Update the Filters plugin to comply with our Plugin Standards
Document all filter functions
(We make all new plugins comply with our standards, so we should set a better example ourselves!)
Please let me know if you see anything we might want to change about this.
I will be added a few bug fixes / enhancements to this plugin in a bit.

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

16 years agoadding space between sentences.
tokul [Sun, 20 Mar 2005 16:59:12 +0000 (16:59 +0000)]
adding space between sentences.

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

16 years agoone more idea
tokul [Sun, 20 Mar 2005 14:31:10 +0000 (14:31 +0000)]
one more idea

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

16 years agoconverting most of string to gettext.
tokul [Sun, 20 Mar 2005 14:29:43 +0000 (14:29 +0000)]
converting most of string to gettext.
only copyright line is untouched.
using 'project team' instead of 'development team'.

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

16 years agoremoving version info from login_error page.
tokul [Sun, 20 Mar 2005 14:26:34 +0000 (14:26 +0000)]
removing version info from login_error page.

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

16 years agoinformation about Sunday's batch of updates
tokul [Sun, 20 Mar 2005 11:08:09 +0000 (11:08 +0000)]
information about Sunday's batch of updates

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

16 years agofix typo in address group.
tokul [Sun, 20 Mar 2005 10:46:24 +0000 (10:46 +0000)]
fix typo in address group.
add local configuration include.
fix variable corruption with latest sqGetGlobalVar
made plugin's array work again

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

16 years agoadding two configuration options
tokul [Sun, 20 Mar 2005 10:43:26 +0000 (10:43 +0000)]
adding two configuration options

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

16 years ago'trim' was not working as expected and admins file was usable on for one admin without
tokul [Sun, 20 Mar 2005 10:42:41 +0000 (10:42 +0000)]
'trim' was not working as expected and admins file was usable on for one admin without
whitespace. specific to 1.5.1cvs and 1.4.5cvs

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