squirrelmail.git
15 years agomake a start with adding labels for html form elements. this aids disabled
kink [Sun, 9 Jul 2006 22:26:05 +0000 (22:26 +0000)]
make a start with adding labels for html form elements. this aids disabled
users, but also e.g. allows one to click the text next to a checkbox to
select it.

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

15 years ago- added default entries for new templates for webmail, options and stylesheet links
vanmer [Sun, 9 Jul 2006 22:25:56 +0000 (22:25 +0000)]
- added default entries for new templates for webmail, options and stylesheet links

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

15 years ago- moved all static style elements out of stylesheet.tpl into /css/default.css
vanmer [Sun, 9 Jul 2006 22:24:31 +0000 (22:24 +0000)]
- moved all static style elements out of stylesheet.tpl into /css/default.css

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

15 years ago- initial revision of a default stylesheet for squirrelmail, including style and...
vanmer [Sun, 9 Jul 2006 22:23:46 +0000 (22:23 +0000)]
- initial revision of a default stylesheet for squirrelmail, including style and basic color defaults

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

15 years ago- intial revision of a template to display CSS links at the top of the page
vanmer [Sun, 9 Jul 2006 22:23:03 +0000 (22:23 +0000)]
- intial revision of a template to display CSS links at the top of the page

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

15 years ago- initial revision of a template for options output
vanmer [Sun, 9 Jul 2006 22:22:31 +0000 (22:22 +0000)]
- initial revision of a template for options output

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

15 years ago- Make the default attachment dir /var/local/squirrelmail/attach, not
kink [Sun, 9 Jul 2006 22:20:46 +0000 (22:20 +0000)]
- Make the default attachment dir /var/local/squirrelmail/attach, not
  $data_dir.

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

15 years ago- Initial revision of a template to render the main squirrelmail HTML (current a...
vanmer [Sun, 9 Jul 2006 21:55:33 +0000 (21:55 +0000)]
- Initial revision of a template to render the main squirrelmail HTML (current a frameset)

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

15 years agosession.use_cookies=off workaround
tokul [Sun, 9 Jul 2006 18:46:54 +0000 (18:46 +0000)]
session.use_cookies=off workaround

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

15 years agoturn on session cookies, if they are turned off.
tokul [Sun, 9 Jul 2006 18:43:40 +0000 (18:43 +0000)]
turn on session cookies, if they are turned off.

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

15 years agotweak man page
kink [Sun, 9 Jul 2006 10:28:50 +0000 (10:28 +0000)]
tweak man page

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

15 years agoprevent setting INBOX as Draft, Sent or Trash folder (#1242346)
tokul [Fri, 7 Jul 2006 19:14:06 +0000 (19:14 +0000)]
prevent setting INBOX as Draft, Sent or Trash folder (#1242346)

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

15 years agousing popen instead of shell_exec. shell_exec is disabled in safe mode.
tokul [Fri, 7 Jul 2006 12:53:50 +0000 (12:53 +0000)]
using popen instead of shell_exec. shell_exec is disabled in safe mode.
default configuration moved to functions.php
file_exists() test is no longer used because it is not accurate (#1499134) and
requires full path to fortune program.

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

15 years ago- Fix URL for Read Receipts being incorrect in some cases (#1177518).
kink [Thu, 6 Jul 2006 13:27:23 +0000 (13:27 +0000)]
- Fix URL for Read Receipts being incorrect in some cases (#1177518).

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

15 years agodb scheme for postgres is different from that for mysql, document that
kink [Tue, 4 Jul 2006 08:57:27 +0000 (08:57 +0000)]
db scheme for postgres is different from that for mysql, document that
(instead of changing it - that could break stuff for no strong reason)

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

15 years agoinformation about MailSite
tokul [Mon, 3 Jul 2006 15:03:42 +0000 (15:03 +0000)]
information about MailSite

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

15 years agoRemoved proprietary attribute. Reported by Hans Spaans
tokul [Sun, 2 Jul 2006 10:09:41 +0000 (10:09 +0000)]
Removed proprietary attribute. Reported by Hans Spaans

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

15 years agoTextarea should not use proprietary wrap attribute (#1512681). Original
tokul [Sun, 2 Jul 2006 10:03:37 +0000 (10:03 +0000)]
Textarea should not use proprietary wrap attribute (#1512681). Original
code used wrap=hard and forced new lines, when long lines are added.
Attribute was switched to wrap=virtual (#495073, v.1.214) in order
to fix spacing issues. wrap=virtual creates unwrapped long lines in
IE, Firefox and Opera. Same happens when attribute is not set.

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

15 years ago$query is also used when $responce !='NO'. Fixed undefined notice error.
tokul [Sat, 1 Jul 2006 16:52:15 +0000 (16:52 +0000)]
$query is also used when $responce !='NO'. Fixed undefined notice error.
Reported by Benny Pedersen. Can't understand how he managed to reach that
sqm_trigger_imap_error call.

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

15 years agoupdated plugin to 1.5.2 API
tokul [Tue, 27 Jun 2006 10:18:45 +0000 (10:18 +0000)]
updated plugin to 1.5.2 API
added address book line length option
removed unused sqimap functions include

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

15 years agoAddress book file backend will break with error message, if required
tokul [Tue, 27 Jun 2006 10:08:53 +0000 (10:08 +0000)]
Address book file backend will break with error message, if required
address book fields are not available. Prevents address book corruption
and address book format violations that can cause PHP notices.

Added line length setting in local_file address book backend (#1181561).

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

15 years agoconf.pl checks IMAP folder names
tokul [Mon, 26 Jun 2006 17:29:59 +0000 (17:29 +0000)]
conf.pl checks IMAP folder names

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

15 years agodon't accept 8bit characters in IMAP folder names and warn about special
tokul [Mon, 26 Jun 2006 17:13:33 +0000 (17:13 +0000)]
don't accept 8bit characters in IMAP folder names and warn about special
IMAP characters (#1485501).

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

15 years agoAlso output alt when its empty, closes #1512640
kink [Mon, 26 Jun 2006 14:26:20 +0000 (14:26 +0000)]
Also output alt when its empty, closes #1512640

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

15 years agoMissing dependencies. Reported by Hans Spaans (#1512557)
tokul [Mon, 26 Jun 2006 14:17:05 +0000 (14:17 +0000)]
Missing dependencies. Reported by Hans Spaans (#1512557)

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

15 years agoHTML fix.
jervfors [Thu, 15 Jun 2006 21:27:24 +0000 (21:27 +0000)]
HTML fix.

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

15 years agoUsing IEC standard prefixes.
jervfors [Thu, 15 Jun 2006 16:35:26 +0000 (16:35 +0000)]
Using IEC standard prefixes.

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

15 years agoRecommitting string fix.
jervfors [Thu, 15 Jun 2006 15:04:29 +0000 (15:04 +0000)]
Recommitting string fix.

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

15 years agoString fix.
jervfors [Thu, 15 Jun 2006 14:31:29 +0000 (14:31 +0000)]
String fix.

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

15 years agoWhitespace in wrong place. Spotted by Robert L Mathews.
jervfors [Wed, 14 Jun 2006 06:31:47 +0000 (06:31 +0000)]
Whitespace in wrong place. Spotted by Robert L Mathews.

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

15 years ago1. personal preferences don't need imap functions.
tokul [Mon, 12 Jun 2006 17:42:16 +0000 (17:42 +0000)]
1. personal preferences don't need imap functions.
2. display email address even when user settings don't store it.
3. set default $email_address value to username + domain.

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

15 years agoscript could be loaded when $edit_identity is set to false
tokul [Mon, 12 Jun 2006 17:32:06 +0000 (17:32 +0000)]
script could be loaded when $edit_identity is set to false

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

15 years agoupdating pot
tokul [Mon, 12 Jun 2006 16:59:29 +0000 (16:59 +0000)]
updating pot

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

15 years agomsgs_list_copy arguments and return codes differ from msgs_list_move.
tokul [Mon, 12 Jun 2006 16:26:47 +0000 (16:26 +0000)]
msgs_list_copy arguments and return codes differ from msgs_list_move.
php 4.3.10 does not complain about boolean true feeded to foreach. new php
versions do complain about it. thanks to Henrik Andreasen

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

15 years agoStupid IE 6 bugs should use stupid IE conditionals that conform to HTML standards...
indiri69 [Mon, 12 Jun 2006 02:27:11 +0000 (02:27 +0000)]
Stupid IE 6 bugs should use stupid IE conditionals that conform to HTML standards. Tested in IE 6 and Firefox 1.5.

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

15 years agoOnly 0 is allowed to not have a type
indiri69 [Mon, 12 Jun 2006 01:50:29 +0000 (01:50 +0000)]
Only 0 is allowed to not have a type

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

15 years agoDovecot preset is generic and can be used with Bejy too.
tokul [Sun, 11 Jun 2006 17:50:01 +0000 (17:50 +0000)]
Dovecot preset is generic and can be used with Bejy too.

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

15 years agoinclude note about password security in security doc
kink [Thu, 8 Jun 2006 15:53:54 +0000 (15:53 +0000)]
include note about password security in security doc

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

15 years ago- Add note to conf.pl / config_default.php to warn users that set
kink [Thu, 8 Jun 2006 15:45:28 +0000 (15:45 +0000)]
- Add note to conf.pl / config_default.php to warn users that set
  sensitive passwords in that file to properly secure it.

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

15 years agoRemoved html formating from address book backend classes. Added
tokul [Sun, 4 Jun 2006 12:42:24 +0000 (12:42 +0000)]
Removed html formating from address book backend classes. Added
fullname() method to addressbook_backend class. Moved
htmlspecialchars() sanitizing from address book backend classes to
html output code. If third party code displays errors from address
book object in html, errors must be sanitized and ASCII line feeds
should be converted to html line breaks.

'addressbook' strings are replaced with 'address book'. Spellcheck
fails on 'addressbook'.

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

15 years agosq_mt_randomize() is not available in style.php
tokul [Sun, 4 Jun 2006 09:57:20 +0000 (09:57 +0000)]
sq_mt_randomize() is not available in style.php

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

15 years agodocumenting one more get var
tokul [Sun, 4 Jun 2006 09:28:10 +0000 (09:28 +0000)]
documenting one more get var

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

15 years agoadding message copy buttons.
tokul [Sun, 4 Jun 2006 09:18:20 +0000 (09:18 +0000)]
adding message copy buttons.

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

15 years agowrong default left after testing backend.
tokul [Sat, 3 Jun 2006 17:23:59 +0000 (17:23 +0000)]
wrong default left after testing backend.

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

15 years agoAdding write support to address book ldap backend. Patch by David Hardeman
tokul [Sat, 3 Jun 2006 17:14:49 +0000 (17:14 +0000)]
Adding write support to address book ldap backend. Patch by David Hardeman
(#1495763).

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

15 years agoinformation about added special folder translations.
tokul [Tue, 30 May 2006 17:19:27 +0000 (17:19 +0000)]
information about added special folder translations.

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

15 years agotranslating folder names in selection box.
tokul [Tue, 30 May 2006 16:30:00 +0000 (16:30 +0000)]
translating folder names in selection box.

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

15 years agotranslate folder names in mailbox tree
tokul [Mon, 29 May 2006 17:30:05 +0000 (17:30 +0000)]
translate folder names in mailbox tree

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

15 years agodon't modify sent_folder option in plugin. It does not belong to plugin.
tokul [Mon, 29 May 2006 17:26:48 +0000 (17:26 +0000)]
don't modify sent_folder option in plugin. It does not belong to plugin.
Plugin still rewrites target folder in compose_send hook

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

15 years agoadding option that should control translation of special folders
tokul [Mon, 29 May 2006 17:12:54 +0000 (17:12 +0000)]
adding option that should control translation of special folders

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

15 years agoinfo about abook information
tokul [Sun, 28 May 2006 09:28:03 +0000 (09:28 +0000)]
info about abook information

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

15 years agodon't use $r == DB_OK checks, because they cause PHP warnings when $r is DB_Error...
tokul [Sun, 28 May 2006 09:13:03 +0000 (09:13 +0000)]
don't use $r == DB_OK checks, because they cause PHP warnings when $r is DB_Error object.
turned on field case portability for Oracle.
escaped SQL wildcards in search() method
handle nickname changes in modify() method. Users could get DB error when new nickname is already in use
make search case insensitive in serch() method.

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

15 years agoFix capability retrieval for "double" cases in server capability response, for instan...
avel [Fri, 26 May 2006 12:53:18 +0000 (12:53 +0000)]
Fix capability retrieval for "double" cases in server capability response, for instance in a new Cyrus: SORT SORT=MODSEQ . This patch will eliminate a notice that was displayed.

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

15 years agoinitialize template object here. logout_error() depends on it.
tokul [Mon, 22 May 2006 17:43:43 +0000 (17:43 +0000)]
initialize template object here. logout_error() depends on it.

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

15 years agoSCRIPT_FILENAME is not set on IIS 5.1 php cgi
tokul [Sun, 21 May 2006 18:45:27 +0000 (18:45 +0000)]
SCRIPT_FILENAME is not set on IIS 5.1 php cgi

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

15 years agoSCRIPT_FILENAME is not set in some setups
tokul [Sun, 21 May 2006 18:23:09 +0000 (18:23 +0000)]
SCRIPT_FILENAME is not set in some setups

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

15 years agoTake X-Forwarded-Host HTTP header in consideration when constructing
kink [Thu, 18 May 2006 15:09:30 +0000 (15:09 +0000)]
Take X-Forwarded-Host HTTP header in consideration when constructing
base_uri for redirects; reduces problems with transparent proxies
(#1488590). Also test strcasecmp on literally '0' with respect to
#1047883 although I don't think it's absolutely necessary, it's safest.

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

15 years agoAdd phpdoc block. \(Thx Tomas.\)
avel [Tue, 16 May 2006 07:20:29 +0000 (07:20 +0000)]
Add phpdoc block. \(Thx Tomas.\)

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

15 years agoNeed this include, otherwise I get an error for undefined addsubmit function
avel [Tue, 16 May 2006 05:58:26 +0000 (05:58 +0000)]
Need this include, otherwise I get an error for undefined addsubmit function

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

15 years agodocumentation fix.
tokul [Mon, 15 May 2006 18:38:51 +0000 (18:38 +0000)]
documentation fix.

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

15 years agoplugin depends on imap function. init.php changes removed imap functions
tokul [Mon, 15 May 2006 18:37:29 +0000 (18:37 +0000)]
plugin depends on imap function. init.php changes removed imap functions
from webmail.php

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

15 years agoinfo about sanitizing in filters plug
tokul [Mon, 15 May 2006 16:14:50 +0000 (16:14 +0000)]
info about sanitizing in filters plug

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

15 years agosanitize displayed folder name and load form functions.
tokul [Mon, 15 May 2006 15:55:58 +0000 (15:55 +0000)]
sanitize displayed folder name and load form functions.

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

15 years agoinfo about error_message sanitizing fix
tokul [Sun, 14 May 2006 17:57:19 +0000 (17:57 +0000)]
info about error_message sanitizing fix

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

15 years agodocumenting function changes
tokul [Sun, 14 May 2006 17:36:16 +0000 (17:36 +0000)]
documenting function changes
sanitizing imap folder name in plain_error_message function.

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

15 years agoupdating error_box() function calls. second argument was modified.
tokul [Sun, 14 May 2006 17:09:29 +0000 (17:09 +0000)]
updating error_box() function calls. second argument was modified.
using squirrelmail template code for closing html tags.
added some comments in footer.tpl in order to detect generated footer

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

15 years agohandle DB.php load errors inside preference class and don't worry about
tokul [Sun, 14 May 2006 16:13:02 +0000 (16:13 +0000)]
handle DB.php load errors inside preference class and don't worry about
error_box function and other code.

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

15 years agovalidator.w3.org fails if id attribute contains brackets
tokul [Sun, 14 May 2006 14:59:46 +0000 (14:59 +0000)]
validator.w3.org fails if id attribute contains brackets

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

15 years agomoving error message to class constructor function. Prevents
tokul [Sun, 14 May 2006 14:58:10 +0000 (14:58 +0000)]
moving error message to class constructor function. Prevents
output when functions/abook_database.php is loaded.

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

15 years agoresubmitting last Monday updates and adding php 5.1.0 timezone support
tokul [Sat, 13 May 2006 19:11:08 +0000 (19:11 +0000)]
resubmitting last Monday updates and adding php 5.1.0 timezone support

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

15 years ago- Improve recovery when EHLO not supported on legacy SMTP servers
kink [Fri, 12 May 2006 14:39:55 +0000 (14:39 +0000)]
- Improve recovery when EHLO not supported on legacy SMTP servers
  (#1031455).

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

15 years agoOne can only "prepend" something before some other thing, not "append".
kink [Sat, 6 May 2006 11:51:42 +0000 (11:51 +0000)]
One can only "prepend" something before some other thing, not "append".

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

15 years agoadding bug tracker id
tokul [Sat, 6 May 2006 08:40:23 +0000 (08:40 +0000)]
adding bug tracker id

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

15 years agoadding warning about plugin unbundling
tokul [Sat, 6 May 2006 07:50:49 +0000 (07:50 +0000)]
adding warning about plugin unbundling

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

15 years agoundefined $value
tokul [Sat, 6 May 2006 06:53:26 +0000 (06:53 +0000)]
undefined $value

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

15 years agosame text icon style as the one that is used in msg listing. Using nbsp
tokul [Sat, 6 May 2006 06:48:34 +0000 (06:48 +0000)]
same text icon style as the one that is used in msg listing. Using nbsp
instead of regular space in order to prevent wrapping

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

15 years agohtml entities are written with semicolon
tokul [Sat, 6 May 2006 06:46:25 +0000 (06:46 +0000)]
html entities are written with semicolon
using different symbols. arrows are smaller and their height is similar
to medium white box size.
using white box instead of brackets+nbsp. symbol is similar to sort_none.png
removing underlines from text links

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

15 years agoFixed possibility to use single quote in provider name (#1475744).
kink [Thu, 4 May 2006 08:20:57 +0000 (08:20 +0000)]
Fixed possibility to use single quote in provider name (#1475744).

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

15 years agoCorrect references trimming: array_walk can't in all PHP versions use
kink [Wed, 3 May 2006 13:37:53 +0000 (13:37 +0000)]
Correct references trimming: array_walk can't in all PHP versions use
a callback function that is a member function. Moving the function out
of the class seems the best solution.

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

15 years agoAdding more tests and fallbacks for errors in help pages.
jervfors [Mon, 1 May 2006 20:27:07 +0000 (20:27 +0000)]
Adding more tests and fallbacks for errors in help pages.

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

15 years agoadding notice about configtest hook
tokul [Mon, 1 May 2006 19:02:30 +0000 (19:02 +0000)]
adding notice about configtest hook

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

15 years agoinformation about added hook
tokul [Mon, 1 May 2006 16:25:43 +0000 (16:25 +0000)]
information about added hook

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

15 years agomoved get_location() before html output
tokul [Mon, 1 May 2006 16:22:56 +0000 (16:22 +0000)]
moved get_location() before html output
added configtest hook and plugin setup.php output checks.

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

15 years agorestored workaround for pre 4.3 php session restart issue
tokul [Mon, 1 May 2006 16:20:02 +0000 (16:20 +0000)]
restored workaround for pre 4.3 php session restart issue

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

15 years agoFixed session lockups on large attachment downloads.
tokul [Sun, 30 Apr 2006 05:46:14 +0000 (05:46 +0000)]
Fixed session lockups on large attachment downloads.

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

15 years agoadding hack to fix setlocale behavior on OpenBSD 3.8+ (#1427512). I don't think
tokul [Sat, 29 Apr 2006 17:22:00 +0000 (17:22 +0000)]
adding hack to fix setlocale behavior on OpenBSD 3.8+ (#1427512). I don't think
that e-a-department (obsd) cares about it.

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

15 years ago1460638 fix info
tokul [Mon, 24 Apr 2006 17:50:50 +0000 (17:50 +0000)]
1460638 fix info

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

15 years agoextra sanitizing was added in B and Q header decoding, when SquirrelMail tried to
tokul [Mon, 24 Apr 2006 17:47:58 +0000 (17:47 +0000)]
extra sanitizing was added in B and Q header decoding, when SquirrelMail tried to
convert header to user's character set (#1460638).

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

15 years agosession vars can unset configuration and runtime variables here.
tokul [Mon, 24 Apr 2006 17:05:38 +0000 (17:05 +0000)]
session vars can unset configuration and runtime variables here.

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

15 years agoThnx tomas and shame on me.
stekkel [Mon, 24 Apr 2006 15:59:13 +0000 (15:59 +0000)]
Thnx tomas and shame on me.

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

15 years agoinformation about mailbox caching in left_main.php fix
tokul [Sun, 23 Apr 2006 14:24:52 +0000 (14:24 +0000)]
information about mailbox caching in left_main.php fix

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

15 years agomailbox caching breaks automatic folder creation, if folder exists and is
tokul [Sun, 23 Apr 2006 14:18:27 +0000 (14:18 +0000)]
mailbox caching breaks automatic folder creation, if folder exists and is
not subscribed.

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

15 years agoremoving code that could be used with plugin in SM 1.4.x. After init
tokul [Sun, 23 Apr 2006 13:24:51 +0000 (13:24 +0000)]
removing code that could be used with plugin in SM 1.4.x. After init
changes plugin is no longer compatible with sm 1.4.x

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

15 years agoremoved debug function
tokul [Sun, 23 Apr 2006 13:16:18 +0000 (13:16 +0000)]
removed debug function
message body is placed in <pre></pre> instead of <code></code> in order to
display tabs in headers. rtrim function is used instead of trim in order to
strip writespace only from the end of line.

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

15 years agoDo not use ob_end_flush because the fetch method returns the content of the
stekkel [Sun, 23 Apr 2006 09:05:22 +0000 (09:05 +0000)]
Do not use ob_end_flush because the fetch method returns the content of the
buffer. If we do not clear the buffer the to display template will be
displayed twice (paginator.tpl in this case)

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

15 years agoif $key is set to false, sqimap_login() function will use sqauth_read_password()
tokul [Wed, 19 Apr 2006 18:03:24 +0000 (18:03 +0000)]
if $key is set to false, sqimap_login() function will use sqauth_read_password()
to retrieve user password.
sqimap_login() calls in plugins are modified to use this code.
It allows to centralize place that is used to access password information.

Older way is preserved for backwards compatibility and different IMAP login
credentials.

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

15 years agoReduce references header in a smart way to avoid "header too long"
kink [Tue, 18 Apr 2006 16:38:38 +0000 (16:38 +0000)]
Reduce references header in a smart way to avoid "header too long"
errors from SMTP servers in really long threads (#1167754, #1465342).

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

15 years agoadd hint about SELinux to security.txt
kink [Fri, 14 Apr 2006 11:07:55 +0000 (11:07 +0000)]
add hint about SELinux to security.txt

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

15 years agoinformation about IE Mac
tokul [Thu, 13 Apr 2006 16:57:49 +0000 (16:57 +0000)]
information about IE Mac

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

15 years agoload hashing functions in all setups
tokul [Wed, 12 Apr 2006 05:56:42 +0000 (05:56 +0000)]
load hashing functions in all setups

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