squirrelmail.git
14 years agocompare addresses case insensitively, thanks Xaviet Bruyet.
kink [Mon, 14 May 2007 16:16:55 +0000 (16:16 +0000)]
compare addresses case insensitively, thanks Xaviet Bruyet.

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

14 years agocentralise the "From"-header construction in functions/identities.php.
kink [Fri, 11 May 2007 21:49:36 +0000 (21:49 +0000)]
centralise the "From"-header construction in functions/identities.php.
This reduces the two instances used under src/ to one, and picks the best
features of both.

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

14 years agoreplace string "Cute." with "Invalid URL" (reuse of existing string)
kink [Thu, 10 May 2007 11:41:20 +0000 (11:41 +0000)]
replace string "Cute." with "Invalid URL" (reuse of existing string)

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

14 years agouse plugins in our examples that actually still exist
kink [Thu, 10 May 2007 11:07:56 +0000 (11:07 +0000)]
use plugins in our examples that actually still exist

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

14 years agoSecurity: fixes for the HTML filter to counter further XSS exploits:
kink [Wed, 9 May 2007 14:01:13 +0000 (14:01 +0000)]
Security: fixes for the HTML filter to counter further XSS exploits:
HTML attachments containing 'data:' URLs, Internet Explorer-specifc
charset conversion exploits, and request forgery through included
images. Thanks to Mikhail Markin, Tomas Kuliavas and Michael Jordon
for reporting these issues. [CVE-2007-1262]

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

14 years agoUse constant instead of hard-coded string for plugin incompatibility indicator
pdontthink [Mon, 7 May 2007 05:43:56 +0000 (05:43 +0000)]
Use constant instead of hard-coded string for plugin incompatibility indicator

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

14 years agoAdd ability for plugin to indicate that they are not compatible with a particular...
pdontthink [Sun, 6 May 2007 03:33:23 +0000 (03:33 +0000)]
Add ability for plugin to indicate that they are not compatible with a particular SM version.  Using hard-coded string maybe should be changed to a constant...?

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

14 years agoForgot CSS style for resizable widget code
pdontthink [Sun, 6 May 2007 02:22:19 +0000 (02:22 +0000)]
Forgot CSS style for resizable widget code

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

14 years agoAdd dynamic textarea sizing slider control to compose screen (default_advanced skin...
pdontthink [Sat, 5 May 2007 18:35:46 +0000 (18:35 +0000)]
Add dynamic textarea sizing slider control to compose screen (default_advanced skin).  Initially based on Drupal implementation.

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

14 years agoImplement checks for correct PHP variables_order and gpc_order settings
pdontthink [Thu, 3 May 2007 04:31:16 +0000 (04:31 +0000)]
Implement checks for correct PHP variables_order and gpc_order settings

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

14 years agoShort PHP tags are against the SquirrelMail coding standards.
jervfors [Thu, 26 Apr 2007 06:22:50 +0000 (06:22 +0000)]
Short PHP tags are against the SquirrelMail coding standards.

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

14 years agoAdd generic get_plugin_requirement() function and change expected structure for plugi...
pdontthink [Thu, 5 Apr 2007 03:48:55 +0000 (03:48 +0000)]
Add generic get_plugin_requirement() function and change expected structure for plugin dependency information (but is still backward compatible).  Also change configtest to make use of extended information

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

14 years agoShifting the location of bind_textdomain_codeset() in the SM wrapper functions
pdontthink [Sun, 1 Apr 2007 23:31:44 +0000 (23:31 +0000)]
Shifting the location of bind_textdomain_codeset() in the SM wrapper functions

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

14 years agoAdd sq_change_text_domain for plugins to use when switching text domains
pdontthink [Fri, 30 Mar 2007 20:45:55 +0000 (20:45 +0000)]
Add sq_change_text_domain for plugins to use when switching text domains

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

14 years agoAdd sq_change_text_domain for plugins to use when switching text domains
pdontthink [Fri, 30 Mar 2007 20:44:27 +0000 (20:44 +0000)]
Add sq_change_text_domain for plugins to use when switching text domains

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

14 years agoHandle change of behavior with session ID being left after session close (see #1685031)
pdontthink [Thu, 29 Mar 2007 21:07:10 +0000 (21:07 +0000)]
Handle change of behavior with session ID being left after session close (see #1685031)

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

14 years agoHandle change of behavior with session ID being left after session close (see #1685031)
pdontthink [Thu, 29 Mar 2007 21:03:53 +0000 (21:03 +0000)]
Handle change of behavior with session ID being left after session close (see #1685031)

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

14 years agoSkip .svn dir. Leaving CVS dir in case it is left over in some people's downloaded...
pdontthink [Tue, 27 Mar 2007 19:08:15 +0000 (19:08 +0000)]
Skip .svn dir.  Leaving CVS dir in case it is left over in some people's downloaded locale packages.

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

14 years agoRevert last change, which caused nasty sesion ID errors, although now we still have...
pdontthink [Mon, 26 Mar 2007 17:39:43 +0000 (17:39 +0000)]
Revert last change, which caused nasty sesion ID errors, although now we still have a problem wherein other cookies that are intentionally set to an empty string are revalued as 'deleted', and the caller may not expect such

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

14 years agoUsing the string 'deleted' in expired cookies can have unintented consequences for...
pdontthink [Mon, 26 Mar 2007 16:32:26 +0000 (16:32 +0000)]
Using the string 'deleted' in expired cookies can have unintented consequences for cookies treated as boolean, also 'deleted' could be a potential valid cookie value.  Using empty string instead.  Anyone know of any reason 'deleted' is actually useful?

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

14 years agoAdd functions to help diagnose if plugin dependencies are in place
pdontthink [Thu, 22 Mar 2007 21:24:05 +0000 (21:24 +0000)]
Add functions to help diagnose if plugin dependencies are in place

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

14 years agoRemove $version, use SM_VERSION constant instead
pdontthink [Thu, 22 Mar 2007 20:01:33 +0000 (20:01 +0000)]
Remove $version, use SM_VERSION constant instead

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

14 years agoRe-add hook just removed; compose templates are so scattered, there is nowhere a...
pdontthink [Thu, 22 Mar 2007 03:14:20 +0000 (03:14 +0000)]
Re-add hook just removed; compose templates are so scattered, there is nowhere a plugin can add output to the bottom of the compose page except to output its own template on this hook -- must make sure plugins NEVER output directly here without using the template API (it is possible a plugin could slip this by us).  Steve did his best with converting the compose page to templates, but it's a pretty big mess, with template chunks and still a lot of output coming directly from compose.php, especially things like the form tags and misc formatting - this must be cleaned out.

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

14 years agoRemoving hook that, AFAIK is only used to add output to compose screen; other hooks...
pdontthink [Thu, 22 Mar 2007 02:52:05 +0000 (02:52 +0000)]
Removing hook that, AFAIK is only used to add output to compose screen; other hooks will be used for this in 1.5.2+

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

14 years agoFix loss of
pdontthink [Tue, 20 Mar 2007 23:17:14 +0000 (23:17 +0000)]
Fix loss of

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

14 years agoFix typo
avel [Mon, 19 Mar 2007 13:45:44 +0000 (13:45 +0000)]
Fix typo

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

14 years agoChanging the service provider's logo string.
jervfors [Sat, 17 Mar 2007 08:24:38 +0000 (08:24 +0000)]
Changing the service provider's logo string.

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

14 years agoAll images must have an alternate text.
jervfors [Fri, 16 Mar 2007 08:52:48 +0000 (08:52 +0000)]
All images must have an alternate text.

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

14 years agoGoing XHTML.
jervfors [Mon, 12 Mar 2007 12:16:17 +0000 (12:16 +0000)]
Going XHTML.

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

14 years agoImages require an alternate text.
jervfors [Mon, 12 Mar 2007 09:35:28 +0000 (09:35 +0000)]
Images require an alternate text.

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

14 years agoRemove unused directory
pdontthink [Sat, 10 Mar 2007 06:12:19 +0000 (06:12 +0000)]
Remove unused directory

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

14 years agoTemplatize (un)collapse buttons; move all templates to default_advanced, since defaul...
pdontthink [Sat, 10 Mar 2007 05:48:35 +0000 (05:48 +0000)]
Templatize (un)collapse buttons; move all templates to default_advanced, since default template does not use preview_pane plugin.

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

14 years agoSome fixes for #1634735.
jangliss [Sat, 10 Mar 2007 04:10:46 +0000 (04:10 +0000)]
Some fixes for #1634735.

- Issue in filters using 'yes' instead of SMPREF_ON
- Using fact that get host function returns hostname if unresolved

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

14 years agoAdding new plugin output sections 'provider_link_after' and 'provider_link_before'
pdontthink [Fri, 9 Mar 2007 06:28:34 +0000 (06:28 +0000)]
Adding new plugin output sections 'provider_link_after' and 'provider_link_before'

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

14 years agoAdding new plugin output section 'provider_link_after'
pdontthink [Fri, 9 Mar 2007 06:23:33 +0000 (06:23 +0000)]
Adding new plugin output section 'provider_link_after'

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

14 years agoAdd (un)collapse buttons
pdontthink [Fri, 9 Mar 2007 06:11:56 +0000 (06:11 +0000)]
Add (un)collapse buttons

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

14 years agoAdding new plugin output section 'provider_link_before'
pdontthink [Fri, 9 Mar 2007 06:05:20 +0000 (06:05 +0000)]
Adding new plugin output section 'provider_link_before'

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

14 years agoRemoving "www." in some links as well as the link to the deprecated feedback page.
jervfors [Thu, 8 Mar 2007 12:13:09 +0000 (12:13 +0000)]
Removing "" in some links as well as the link to the deprecated feedback page.

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

14 years agoAdding a missing setting (since 1.4.6 RC 1).
jervfors [Wed, 7 Mar 2007 21:56:05 +0000 (21:56 +0000)]
Adding a missing setting (since 1.4.6 RC 1).

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

14 years agodo not hardcode "SquirrelMail" in displayhtmlheader-call
kink [Tue, 6 Mar 2007 16:05:55 +0000 (16:05 +0000)]
do not hardcode "SquirrelMail" in displayhtmlheader-call

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

14 years agofix typo
kink [Tue, 6 Mar 2007 16:05:21 +0000 (16:05 +0000)]
fix typo

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

14 years agouse org_title instead of "SquirrelMail" in error_box
kink [Tue, 6 Mar 2007 15:43:19 +0000 (15:43 +0000)]
use org_title instead of "SquirrelMail" in error_box
from Nasmail

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

14 years agodo not special case a folder named 'None'. There's no reason
kink [Tue, 6 Mar 2007 14:57:12 +0000 (14:57 +0000)]
do not special case a folder named 'None'. There's no reason
to not use the empty string and this prevents people who want
to have a "None" folder from using it properly.

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

14 years agodrop obsolte .cvsignore files, these are now svn:ignore properties
kink [Tue, 6 Mar 2007 02:03:36 +0000 (02:03 +0000)]
drop obsolte .cvsignore files, these are now svn:ignore properties

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

14 years agoFix Priority and Receipt compose options being reset after return from
kink [Tue, 6 Mar 2007 01:23:44 +0000 (01:23 +0000)]
Fix Priority and Receipt compose options being reset after return from
HTML addressbook, and allow returning from an empty address book (#1673056).

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

14 years agoUpdating to the newer option page format.
jervfors [Sun, 4 Mar 2007 12:50:00 +0000 (12:50 +0000)]
Updating to the newer option page format.

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

14 years agoRemoving obsolete link to developer documentation.
jervfors [Sun, 4 Mar 2007 02:42:05 +0000 (02:42 +0000)]
Removing obsolete link to developer documentation.

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

14 years agoMoving "doc/themes.txt" to the administrator's manual.
jervfors [Sun, 4 Mar 2007 02:26:29 +0000 (02:26 +0000)]
Moving "doc/themes.txt" to the administrator's manual.

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

14 years agoMoving "doc/db-backend.txt" to the administrator's manual (again).
jervfors [Sun, 4 Mar 2007 02:05:53 +0000 (02:05 +0000)]
Moving "doc/db-backend.txt" to the administrator's manual (again).

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

14 years agoMoving "doc/db-backend.txt" to the administrator's manual.
jervfors [Sun, 4 Mar 2007 01:56:54 +0000 (01:56 +0000)]
Moving "doc/db-backend.txt" to the administrator's manual.

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

14 years agoPrevent including index.php for charset decoding/encoding (#1671874)
kink [Fri, 2 Mar 2007 23:15:52 +0000 (23:15 +0000)]
Prevent including index.php for charset decoding/encoding (#1671874)

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

14 years agoSorry, removing things unrelated to last commit
pdontthink [Wed, 28 Feb 2007 05:11:59 +0000 (05:11 +0000)]
Sorry, removing things unrelated to last commit

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

14 years agoUse $org_name instead of hard-coding "SquirrelMail"
pdontthink [Wed, 28 Feb 2007 05:08:15 +0000 (05:08 +0000)]
Use $org_name instead of hard-coding "SquirrelMail"

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

14 years agoComment change
pdontthink [Wed, 28 Feb 2007 04:54:51 +0000 (04:54 +0000)]
Comment change

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

14 years agofixes for r12283: mistakenly passed already-split date to date_unparsed,
kink [Tue, 27 Feb 2007 19:42:21 +0000 (19:42 +0000)]
fixes for r12283: mistakenly passed already-split date to date_unparsed,
and correct a mistaken comment at that header

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

14 years agolog change
kink [Tue, 27 Feb 2007 18:58:33 +0000 (18:58 +0000)]
log change

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

14 years agoalso store the unparsed date, and display it when we
kink [Tue, 27 Feb 2007 18:57:18 +0000 (18:57 +0000)]
also store the unparsed date, and display it when we
failed to parse a Date. This allows RFC-incompatible
dates to still be seen in e.g. read_body in their
original form, better than nothing. For safety split
any "<",">" out, something might rely on the date being
completely safe to print.

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

14 years agomove HTML output to template, improve HTML on the fly
kink [Tue, 27 Feb 2007 18:22:00 +0000 (18:22 +0000)]
move HTML output to template, improve HTML on the fly

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

14 years agogeneralise folder_manip_dialog CSS into dialogbox CSS
kink [Tue, 27 Feb 2007 18:14:34 +0000 (18:14 +0000)]
generalise folder_manip_dialog CSS into dialogbox CSS

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

14 years agoLogChange
kink [Mon, 26 Feb 2007 17:09:33 +0000 (17:09 +0000)]
LogChange

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

14 years agodrop call to session_register, this is redundant in PHP >4.1.0,
kink [Fri, 23 Feb 2007 08:40:17 +0000 (08:40 +0000)]
drop call to session_register, this is redundant in PHP >4.1.0,
which we require as minimum version, and triggers a bug in PHP4.4.5
(#1664155)

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

14 years agoAdd option to ask users for personal information on first login.
kink [Sun, 18 Feb 2007 18:47:48 +0000 (18:47 +0000)]
Add option to ask users for personal information on first login.
Many users start sending out mail without a decent or even correct
"From" header. Defaults to on. Admin can disable if he has a
retrieve_user_info plugin or the guessed defaults are ok.

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

14 years agoerror out on nonexistant option type.
kink [Sun, 18 Feb 2007 18:11:34 +0000 (18:11 +0000)]
error out on nonexistant option type.

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

14 years agotypo in variable name peardb, reported by Tomas (Closes: #1662444)
kink [Sun, 18 Feb 2007 17:28:44 +0000 (17:28 +0000)]
typo in variable name peardb, reported by Tomas (Closes: #1662444)

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

14 years agoHTTP_SERVER_SERVER should be HTTP_SERVER_VARS, but since
kink [Sun, 18 Feb 2007 12:46:47 +0000 (12:46 +0000)]
HTTP_SERVER_SERVER should be HTTP_SERVER_VARS, but since
we require PHP >= 4.1.x, we need not use it anyware.

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

14 years agoAllow error_box and plain_error_message functions to return output instead of immedia...
pdontthink [Fri, 16 Feb 2007 01:48:34 +0000 (01:48 +0000)]
Allow error_box and plain_error_message functions to return output instead of immediately echoing.  Also make sure all output is generated with templates for these functions

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

14 years agoMake sure no plugins output things before protocol header goes out
pdontthink [Fri, 16 Feb 2007 01:44:22 +0000 (01:44 +0000)]
Make sure no plugins output things before protocol header goes out

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

14 years agoString fixes. "Mails" are what the user sends, "messages" are system information...
jervfors [Wed, 14 Feb 2007 11:48:57 +0000 (11:48 +0000)]
String fixes. "Mails" are what the user sends, "messages" are system information to the user.

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

14 years agoString fixes. "Mails" are what the user sends, "messages" are system information...
jervfors [Wed, 14 Feb 2007 10:23:13 +0000 (10:23 +0000)]
String fixes. "Mails" are what the user sends, "messages" are system information to the user.

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

14 years agoRemove extra parameter that should not have been in previous commit
pdontthink [Wed, 14 Feb 2007 05:35:27 +0000 (05:35 +0000)]
Remove extra parameter that should not have been in previous commit

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

14 years agoReadjust location of code that massages plugin versions to more handy spot
pdontthink [Wed, 14 Feb 2007 05:25:59 +0000 (05:25 +0000)]
Readjust location of code that massages plugin versions to more handy spot

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

14 years agoPlugins like preview_pane should not close their own pages without displaying errors...
pdontthink [Wed, 14 Feb 2007 04:35:23 +0000 (04:35 +0000)]
Plugins like preview_pane should not close their own pages without displaying errors; easiest way to do that is use footer.tpl

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

14 years agoPlugins like listcommands should not close their own pages without displaying errors...
pdontthink [Wed, 14 Feb 2007 04:32:00 +0000 (04:32 +0000)]
Plugins like listcommands should not close their own pages without displaying errors; easiest way to do that is use footer.tpl

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

14 years agoThe mf_cypher variable was not being set in prefs correctly
pdontthink [Tue, 13 Feb 2007 22:45:53 +0000 (22:45 +0000)]
The mf_cypher variable was not being set in prefs correctly

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

14 years agoAllow message list form handler to accept GET args as well
pdontthink [Tue, 13 Feb 2007 22:06:47 +0000 (22:06 +0000)]
Allow message list form handler to accept GET args as well

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

14 years agoString fix (reusing old string).
jervfors [Tue, 13 Feb 2007 07:54:02 +0000 (07:54 +0000)]
String fix (reusing old string).

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

14 years agorequire of mailbox_display was required for sqm_api_mailbox_select() call
kink [Mon, 12 Feb 2007 12:38:47 +0000 (12:38 +0000)]
require of mailbox_display was required for sqm_api_mailbox_select() call

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

14 years agoFix mistake - was using echo instead of adding to output string
pdontthink [Fri, 9 Feb 2007 10:39:34 +0000 (10:39 +0000)]
Fix mistake - was using echo instead of adding to output string

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

14 years agoFix default value for hide attributions
pdontthink [Thu, 8 Feb 2007 20:28:20 +0000 (20:28 +0000)]
Fix default value for hide attributions

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

14 years agoadd squirrelmail attribution to the bottom of message list,
kink [Thu, 8 Feb 2007 15:12:09 +0000 (15:12 +0000)]
add squirrelmail attribution to the bottom of message list,
to keep a path to the about page from our "main" interface.

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

14 years agoDrop the default top-right 'SquirrelMail' name and link, as discussed
kink [Thu, 8 Feb 2007 14:47:23 +0000 (14:47 +0000)]
Drop the default top-right 'SquirrelMail' name and link, as discussed
on squirrelmail-devel. It's overkill anyway to name and link SquirrelMail
so prominently on every page. It also confused users who clicked straight
through to our site. It will now only display something if provider_name
and provider_uri have been set, i.o.w., it's completely optional.

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

14 years agoOnclick handler should not be submitted as HTML but only as the onclick contents...
pdontthink [Wed, 7 Feb 2007 23:19:21 +0000 (23:19 +0000)]
Onclick handler should not be submitted as HTML but only as the onclick contents - fixed.

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

14 years agoAdd hook to compose_Header() that mirrors one for displayPageHeader()
pdontthink [Wed, 7 Feb 2007 20:49:21 +0000 (20:49 +0000)]
Add hook to compose_Header() that mirrors one for displayPageHeader()

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

14 years agoAdd body tag template; stop outputting body tags directly from core (there are still...
pdontthink [Wed, 7 Feb 2007 20:34:28 +0000 (20:34 +0000)]
Add body tag template; stop outputting body tags directly from core (there are still a couple places that need to be updated to use this)

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

14 years agoDo not set a default sorting for new users. This can really
kink [Wed, 7 Feb 2007 09:00:49 +0000 (09:00 +0000)]
Do not set a default sorting for new users. This can really
slow down very large mailboxes, so default to the server
supplied order.

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

14 years agoRemoving getButton(). Not being used anywhere in core any more.
pdontthink [Wed, 7 Feb 2007 04:59:52 +0000 (04:59 +0000)]
Removing getButton().  Not being used anywhere in core any more.

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

14 years agoRemove errant comment and add some comments about why not removing menubar for compos...
pdontthink [Tue, 6 Feb 2007 10:55:40 +0000 (10:55 +0000)]
Remove errant comment and add some comments about why not removing menubar for compose screen

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

14 years agoAllow other plugins/code to tell us to skip menubar
pdontthink [Tue, 6 Feb 2007 10:36:00 +0000 (10:36 +0000)]
Allow other plugins/code to tell us to skip menubar

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

14 years agoNew hook page_header_bottom
pdontthink [Tue, 6 Feb 2007 10:04:00 +0000 (10:04 +0000)]
New hook page_header_bottom

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

14 years agoMake useless hook useful (and rename to eliminate confusion)
pdontthink [Tue, 6 Feb 2007 09:59:13 +0000 (09:59 +0000)]
Make useless hook useful (and rename to eliminate confusion)

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

14 years agoPass compose form attributes to template separately, otherwise, is same as constructi...
pdontthink [Tue, 6 Feb 2007 09:55:48 +0000 (09:55 +0000)]
Pass compose form attributes to template separately, otherwise, is same as constructing arbitrary HTML in the core

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

14 years agoUse templates to build buttons. Remove all this document.write crap - that's what...
pdontthink [Tue, 6 Feb 2007 09:18:41 +0000 (09:18 +0000)]
Use templates to build buttons.  Remove all this document.write crap - that's what checkForJavascript() is there for.

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

14 years agoGenerate links using templates
pdontthink [Tue, 6 Feb 2007 08:32:24 +0000 (08:32 +0000)]
Generate links using templates

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

14 years agoNew plugin output added to page header top
pdontthink [Tue, 6 Feb 2007 03:53:01 +0000 (03:53 +0000)]
New plugin output added to page header top

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

14 years agoSyntax error fix
pdontthink [Tue, 6 Feb 2007 02:14:29 +0000 (02:14 +0000)]
Syntax error fix

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

14 years agoAllow other plugins to ask for message list refresh
pdontthink [Tue, 6 Feb 2007 02:00:33 +0000 (02:00 +0000)]
Allow other plugins to ask for message list refresh

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

14 years agoAllow other plugins to indicate that preview_pane should load the URI being loaded...
pdontthink [Mon, 5 Feb 2007 23:26:53 +0000 (23:26 +0000)]
Allow other plugins to indicate that preview_pane should load the URI being loaded in the preview pane into the message list pane instead

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

14 years agoAllow override of mail_sent value by plugins
pdontthink [Mon, 5 Feb 2007 23:23:42 +0000 (23:23 +0000)]
Allow override of mail_sent value by plugins

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

14 years agoNew get_plugin_version() function, and a couple places to use it.
pdontthink [Mon, 5 Feb 2007 06:06:40 +0000 (06:06 +0000)]
New get_plugin_version() function, and a couple places to use it.

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

14 years agoReminders of how horribly embedded HTML is in core
pdontthink [Mon, 5 Feb 2007 03:43:56 +0000 (03:43 +0000)]
Reminders of how horribly embedded HTML is in core

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