squirrelmail.git
13 years agoMake identities matching case insensitive
pdontthink [Fri, 31 Aug 2007 23:19:36 +0000 (23:19 +0000)]
Make identities matching case insensitive

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

13 years agoMake version for core plugins 'CORE'
pdontthink [Fri, 31 Aug 2007 04:59:12 +0000 (04:59 +0000)]
Make version for core plugins 'CORE'

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

13 years agoMake version for core plugins 'CORE'
pdontthink [Fri, 31 Aug 2007 04:59:00 +0000 (04:59 +0000)]
Make version for core plugins 'CORE'

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

13 years agoHandy place to show error reporting values - can use this as a tool for support requests
pdontthink [Fri, 31 Aug 2007 04:57:02 +0000 (04:57 +0000)]
Handy place to show error reporting values - can use this as a tool for support requests

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

13 years agoFix unknown variable notice
pdontthink [Thu, 30 Aug 2007 21:51:29 +0000 (21:51 +0000)]
Fix unknown variable notice

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

13 years agoInitial import
pdontthink [Thu, 30 Aug 2007 09:13:19 +0000 (09:13 +0000)]
Initial import

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

13 years agoPurge wrong Id tags
pdontthink [Thu, 30 Aug 2007 05:32:03 +0000 (05:32 +0000)]
Purge wrong Id tags

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

13 years agoRemove accidental commits that were included in last page_header commit
pdontthink [Thu, 30 Aug 2007 03:35:19 +0000 (03:35 +0000)]
Remove accidental commits that were included in last page_header commit

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

13 years agoInitial import from trunk/plugins
pdontthink [Thu, 30 Aug 2007 03:28:25 +0000 (03:28 +0000)]
Initial import from trunk/plugins

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

13 years agoRemove hook call from template; fix all corresponding core plugins.
pdontthink [Thu, 30 Aug 2007 02:10:25 +0000 (02:10 +0000)]
Remove hook call from template; fix all corresponding core plugins.

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

13 years agoAdded smtp_auth hook
pdontthink [Wed, 29 Aug 2007 23:48:30 +0000 (23:48 +0000)]
Added smtp_auth hook

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

13 years agoRevert 12623. It's frameSETs not frames.
pdontthink [Wed, 29 Aug 2007 18:49:57 +0000 (18:49 +0000)]
Revert 12623.  It's frameSETs not frames.

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

13 years agoMake sure to use correct template set after login
pdontthink [Wed, 29 Aug 2007 07:24:27 +0000 (07:24 +0000)]
Make sure to use correct template set after login

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

13 years agoSimplify how frames are accessed
pdontthink [Wed, 29 Aug 2007 07:15:40 +0000 (07:15 +0000)]
Simplify how frames are accessed

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

13 years agoMake sure the squirrel can't get pregnant
pdontthink [Wed, 29 Aug 2007 02:18:15 +0000 (02:18 +0000)]
Make sure the squirrel can't get pregnant

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

13 years agoMake session restore work in compose_in_new. Cannot do login session reset until...
pdontthink [Tue, 28 Aug 2007 23:36:51 +0000 (23:36 +0000)]
Make session restore work in compose_in_new.  Cannot do login session reset until after correct session has been started once.

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

13 years agoFinally fix up session restore functionality. Move session handling from login.php...
pdontthink [Tue, 28 Aug 2007 21:31:04 +0000 (21:31 +0000)]
Finally fix up session restore functionality.  Move session handling from login.php into init.php and fix the mess in redirect.php.  There are some important notes that need to be reviewed in redirect.php, which I am including here to get your attention: FIXME!  IMPORTANT!  SOMEONE PLEASE EXPLAIN THE SECURITY CONCERN HERE; THIS session_destroy() BORKS ANY SESSION INFORMATION ADDED ON THE LOGIN PAGE (SPECIFICALLY THE SESSION RESTORE DATA, BUT ALSO ANYTHING ADDED BY PLUGINS, ETC)... I HAVE DISABLED THIS (AND NOTE THAT THE LOGIN PAGE ALREADY EXECUTES A session_destroy() (see includes/init.php)), SO PLEASE, WHOEVER ADDED THIS, PLEASE ANALYSE THIS SITUATION AND COMMENT ON IF IT IS OK LIKE THISsvn diff include/init.php src/login.php src/redirect.php src/compose.php   WHAT HIJACKING ISSUES ARE WE SUPPOSED TO BE PREVENTING HERE?

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

13 years agoFix mixup of session restore location
pdontthink [Tue, 28 Aug 2007 20:09:41 +0000 (20:09 +0000)]
Fix mixup of session restore location

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

13 years agoNeed to decode urlencoding
pdontthink [Tue, 28 Aug 2007 19:28:30 +0000 (19:28 +0000)]
Need to decode urlencoding

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

13 years agoFix PHP notice
pdontthink [Tue, 28 Aug 2007 19:18:09 +0000 (19:18 +0000)]
Fix PHP notice

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

13 years agoForgot to globalize one variable in last commit
pdontthink [Tue, 28 Aug 2007 19:13:50 +0000 (19:13 +0000)]
Forgot to globalize one variable in last commit

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

13 years agoNo longer store all message composition sessions in the PHP session, since it was...
pdontthink [Tue, 28 Aug 2007 19:08:20 +0000 (19:08 +0000)]
No longer store all message composition sessions in the PHP session, since it was not made use of and in rare cases, made sessions too big.  Composition restoration functionality now correctly restores attachments.

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

13 years agoClarify and simplify how session is destroyed and separate from session restore mechanism
pdontthink [Mon, 27 Aug 2007 07:40:20 +0000 (07:40 +0000)]
Clarify and simplify how session is destroyed and separate from session restore mechanism

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

13 years agoUse sqm_baseuri() for links
pdontthink [Mon, 27 Aug 2007 03:19:30 +0000 (03:19 +0000)]
Use sqm_baseuri() for links

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

13 years agoMove inclusion of strings.php much higher in init process; beside making sense, it...
pdontthink [Sun, 26 Aug 2007 05:24:11 +0000 (05:24 +0000)]
Move inclusion of strings.php much higher in init process; beside making sense, it is required for the prefs.php fix a couple day ago

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

13 years agoMade the webmail_top hook work again for plugins that want to change the URI of the...
pdontthink [Sat, 25 Aug 2007 18:15:13 +0000 (18:15 +0000)]
Made the webmail_top hook work again for plugins that want to change the URI of the "right" frame; plugins have to change the value of the global variable $right_frame_url.  Note this includes moving the webmail_top hook quite a bit; please report any issues.

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

13 years agoFix message highlighting again
pdontthink [Fri, 24 Aug 2007 21:11:31 +0000 (21:11 +0000)]
Fix message highlighting again

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

13 years agoFix spacing. Totally pedantic.
pdontthink [Fri, 24 Aug 2007 21:11:21 +0000 (21:11 +0000)]
Fix spacing.  Totally pedantic.

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

13 years agoMove prefs init above plugin stuff, make life easier for plugins hooked on config_ove...
pdontthink [Fri, 24 Aug 2007 04:35:27 +0000 (04:35 +0000)]
Move prefs init above plugin stuff, make life easier for plugins hooked on config_override

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

13 years agoLoad prefs for all page loads, no matter if user is logged in. This fixes some login...
pdontthink [Fri, 24 Aug 2007 02:29:20 +0000 (02:29 +0000)]
Load prefs for all page loads, no matter if user is logged in.  This fixes some login page issues and seems fine when user isn't logged in, but please report problems I may not have seen in my limited testing.

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

13 years agoadd another applicable cve ID to the changelog,
kink [Wed, 15 Aug 2007 22:44:51 +0000 (22:44 +0000)]
add another applicable cve ID to the changelog,
for future reference: CVE-2007-2589

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

13 years agoShow plugin English names in conf.pl plugin listing page. Note that get_plugin_engli...
pdontthink [Tue, 14 Aug 2007 21:17:09 +0000 (21:17 +0000)]
Show plugin English names in conf.pl plugin listing page.  Note that get_plugin_english_name() and get_plugin_version() both read the setup.php file into memory, so that should at some point be refactored.

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

13 years agoShow English plugin name in configtest plugins list
pdontthink [Tue, 14 Aug 2007 20:57:42 +0000 (20:57 +0000)]
Show English plugin name in configtest plugins list

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

13 years agoRemove extraneous slash
pdontthink [Mon, 13 Aug 2007 22:42:26 +0000 (22:42 +0000)]
Remove extraneous slash

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

13 years agoThe $messages cache was checked but not imported from the session.
kink [Sun, 12 Aug 2007 19:10:39 +0000 (19:10 +0000)]
The $messages cache was checked but not imported from the session.
Thanks Tomas Kuliavas for finding this bug.

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

13 years agoList separator i18n. Complements RisuMail Team - risumail.jp
pdontthink [Thu, 9 Aug 2007 06:49:14 +0000 (06:49 +0000)]
List separator i18n.  Complements RisuMail Team - risumail.jp

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

13 years agoAllow use of checkall=1 in URI for message list pages when JavaScript is enabled...
pdontthink [Thu, 9 Aug 2007 06:48:59 +0000 (06:48 +0000)]
Allow use of checkall=1 in URI for message list pages when JavaScript is enabled.  Currently, this seems to be broken in IE for reasons I cannot understand.  Please help debug.  Sample URI would be something like example.org/webmail/src/right_main.php&checkall=1

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

13 years agoremove useless check for unset user_is_logged_in, since that is
kink [Wed, 8 Aug 2007 10:55:18 +0000 (10:55 +0000)]
remove useless check for unset user_is_logged_in, since that is
always unset a couple of lines above that block. Thanks Tomas Kuliavas
for finding this.

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

14 years agoAllow plugins to enable MOTD whenever they want; add note about bug that won't show...
pdontthink [Fri, 3 Aug 2007 02:24:12 +0000 (02:24 +0000)]
Allow plugins to enable MOTD whenever they want; add note about bug that won't show up but should be fixed

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

14 years agoQuelch PHP notice. Spotted by James Pooton.
pdontthink [Tue, 31 Jul 2007 11:12:09 +0000 (11:12 +0000)]
Quelch PHP notice.  Spotted by James Pooton.

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

14 years agotypo (=/==)
kink [Mon, 23 Jul 2007 12:49:46 +0000 (12:49 +0000)]
typo (=/==)

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

14 years agodrop some unneeded globals / variables
kink [Fri, 20 Jul 2007 17:13:05 +0000 (17:13 +0000)]
drop some unneeded globals / variables

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

14 years agofix decryption of ipv6 headers (thanks Tomas Kuliavas)
kink [Fri, 20 Jul 2007 16:58:50 +0000 (16:58 +0000)]
fix decryption of ipv6 headers (thanks Tomas Kuliavas)

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

14 years agoSilence fsockopen since errors are handled internally.
kink [Fri, 20 Jul 2007 16:53:10 +0000 (16:53 +0000)]
Silence fsockopen since errors are handled internally.
Use more sensible return values for this function.

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

14 years agoFixing some HTML errors.
jervfors [Fri, 20 Jul 2007 11:33:00 +0000 (11:33 +0000)]
Fixing some HTML errors.

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

14 years agoWas a nice idea, but not all that useful and some processes might hang under certain...
pdontthink [Thu, 19 Jul 2007 12:28:16 +0000 (12:28 +0000)]
Was a nice idea, but not all that useful and some processes might hang under certain conditions; remove all the sq_popen() stuff.

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

14 years agomention bug in changelog
kink [Thu, 19 Jul 2007 11:01:01 +0000 (11:01 +0000)]
mention bug in changelog

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

14 years agoSort output of readdir, as this is not by default.
kink [Wed, 18 Jul 2007 09:26:56 +0000 (09:26 +0000)]
Sort output of readdir, as this is not by default.
Thanks Tomas Kuliavas for finding this.

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

14 years agoRemove incorrect and unnecessary substr length arg
pdontthink [Tue, 17 Jul 2007 22:50:51 +0000 (22:50 +0000)]
Remove incorrect and unnecessary substr length arg

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

14 years agoAvoid calling javascript check fxn if user is not logged in
pdontthink [Tue, 17 Jul 2007 22:24:57 +0000 (22:24 +0000)]
Avoid calling javascript check fxn if user is not logged in

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

14 years agoFix login error for users with no theme
pdontthink [Tue, 17 Jul 2007 22:20:15 +0000 (22:20 +0000)]
Fix login error for users with no theme

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

14 years agoChangr filename back.
pdontthink [Tue, 17 Jul 2007 01:23:13 +0000 (01:23 +0000)]
Changr filename back.

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

14 years agoUse attachment_dir only at the point where we're actually
kink [Mon, 16 Jul 2007 20:48:46 +0000 (20:48 +0000)]
Use attachment_dir only at the point where we're actually
reading from / writing to the files, do not carry it around
in the object. This makes us safer in the event the object
is somehow exposed to the outside world.

I may be cleaning this up some more for devel.

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

14 years agoEnable better plugin motd hooking
pdontthink [Sun, 15 Jul 2007 19:16:05 +0000 (19:16 +0000)]
Enable better plugin motd hooking

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

14 years agouse PAGE_NAME rather than PHP_SELF in session_expired_location
kink [Sat, 14 Jul 2007 18:04:09 +0000 (18:04 +0000)]
use PAGE_NAME rather than PHP_SELF in session_expired_location

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

14 years agouse PAGE_NAME in themes and templates
kink [Sat, 14 Jul 2007 17:56:47 +0000 (17:56 +0000)]
use PAGE_NAME in themes and templates

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

14 years agodrop unused global
kink [Sat, 14 Jul 2007 17:45:20 +0000 (17:45 +0000)]
drop unused global

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

14 years agomake use of PAGE_NAME constant in plugin, prefix it with the plugin name.
kink [Sat, 14 Jul 2007 17:44:29 +0000 (17:44 +0000)]
make use of PAGE_NAME constant in plugin, prefix it with the plugin name.

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

14 years agouse PAGE_NAME to switch on which page we are, rather than
kink [Sat, 14 Jul 2007 17:39:27 +0000 (17:39 +0000)]
use PAGE_NAME to switch on which page we are, rather than
sInitLocation

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

14 years agorename squirrelmail_rpc.php to rpc.php, it doesn't make much sense to
kink [Sat, 14 Jul 2007 17:32:50 +0000 (17:32 +0000)]
rename squirrelmail_rpc.php to rpc.php, it doesn't make much sense to
have 'squirrelmail' in our path components (i.e. also no squirrelmail_compose.php)

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

14 years agoadd PAGE_NAME constant to every page under src/.
kink [Sat, 14 Jul 2007 17:30:44 +0000 (17:30 +0000)]
add PAGE_NAME constant to every page under src/.
These can/will be used in various tests, and for consistency every page
sets the constant to the appropriate setting.

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

14 years agoon second thought, revise r12527 to use one, generic constant
kink [Sat, 14 Jul 2007 17:11:31 +0000 (17:11 +0000)]
on second thought, revise r12527 to use one, generic constant
PAGE_NAME, because that doesn't clutter the namespace as much.

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

14 years agoFix test for signout.php in the logged in check in init.php so it
kink [Sat, 14 Jul 2007 17:07:23 +0000 (17:07 +0000)]
Fix test for signout.php in the logged in check in init.php so it
cannot be circumvented by manipulating the URL. External plugins migh
rely on init.php guarranteeing that the user is logged in.
Thanks Stefan Esser for finding this.

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

14 years agoremove PHP closing tag in example config file
kink [Wed, 11 Jul 2007 09:44:01 +0000 (09:44 +0000)]
remove PHP closing tag in example config file

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

14 years agoTry to tag all the places that need to be fixed (no echoing direct from core). We...
pdontthink [Tue, 10 Jul 2007 19:21:46 +0000 (19:21 +0000)]
Try to tag all the places that need to be fixed (no echoing direct from core).  We need to do this in all the rest of the core files

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

14 years agoremoving attachedmessages GET variable that was not being used
pdontthink [Tue, 10 Jul 2007 19:14:39 +0000 (19:14 +0000)]
removing attachedmessages GET variable that was not being used

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

14 years agoMake all comparisons case insensitive for forwarded protocol in get_location()
pdontthink [Tue, 10 Jul 2007 07:54:42 +0000 (07:54 +0000)]
Make all comparisons case insensitive for forwarded protocol in get_location()

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

14 years agoAdded ability to detect HTTP_X_FORWARDED_PROTO in get_location(), thanks to Daniel...
pdontthink [Tue, 10 Jul 2007 06:00:11 +0000 (06:00 +0000)]
Added ability to detect HTTP_X_FORWARDED_PROTO in get_location(), thanks to Daniel Watts

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

14 years agodrop unneeded global
kink [Mon, 9 Jul 2007 09:38:28 +0000 (09:38 +0000)]
drop unneeded global

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

14 years agodrop two unneeded globals
kink [Mon, 9 Jul 2007 09:37:05 +0000 (09:37 +0000)]
drop two unneeded globals

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

14 years agoremove unused globals, thanks Tomas Kuliavas for $day
kink [Mon, 9 Jul 2007 09:02:54 +0000 (09:02 +0000)]
remove unused globals, thanks Tomas Kuliavas for $day

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

14 years agoResolved issue with compose session not being updated on send/save.
jangliss [Sun, 8 Jul 2007 06:11:59 +0000 (06:11 +0000)]
Resolved issue with compose session not being updated on send/save.

Thanks to Michael Andreas for bringing this back up.

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

14 years agoDon't include svn files in any of the cached template files
pdontthink [Sun, 8 Jul 2007 00:25:23 +0000 (00:25 +0000)]
Don't include svn files in any of the cached template files

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

14 years agolist_files vomits over the non-existence of 'none'. The definition of $used_theme is
ebullient [Fri, 6 Jul 2007 23:49:59 +0000 (23:49 +0000)]
list_files vomits over the non-existence of 'none'. The definition of $used_theme is
arguably wrong, but either way, 'none' means 'none', and we shouldn't go off
listing files if that's the value.

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

14 years agoTypos in sqsetcookie. This might explain a few things. :-)
pdontthink [Sun, 1 Jul 2007 07:28:59 +0000 (07:28 +0000)]
Typos in sqsetcookie.  This might explain a few things.  :-)

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

14 years agoAdd cc: to the list of checks for empty recipients
pdontthink [Sun, 1 Jul 2007 07:26:57 +0000 (07:26 +0000)]
Add cc: to the list of checks for empty recipients

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

14 years agoFix syntax error
pdontthink [Fri, 29 Jun 2007 23:38:35 +0000 (23:38 +0000)]
Fix syntax error

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

14 years agoMake sq_change_text_domain() return previous text domain
pdontthink [Fri, 29 Jun 2007 23:29:09 +0000 (23:29 +0000)]
Make sq_change_text_domain() return previous text domain

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

14 years agoMake dir parameter optional for sq_bindtextdomain()
pdontthink [Fri, 29 Jun 2007 21:30:52 +0000 (21:30 +0000)]
Make dir parameter optional for sq_bindtextdomain()

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

14 years agoupdate randomizing themes for larger color array
kink [Wed, 27 Jun 2007 16:24:01 +0000 (16:24 +0000)]
update randomizing themes for larger color array

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

14 years agofix spice of life for newer color array
kink [Wed, 27 Jun 2007 16:17:26 +0000 (16:17 +0000)]
fix spice of life for newer color array

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

14 years agodrop unnecessary mt_rand() call, found by Tomas Kuliavas
kink [Wed, 27 Jun 2007 16:12:07 +0000 (16:12 +0000)]
drop unnecessary mt_rand() call, found by Tomas Kuliavas

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

14 years ago- Fix busy loop and notice when two literals in IMAP fetch (#1739433).
kink [Mon, 25 Jun 2007 21:05:56 +0000 (21:05 +0000)]
- Fix busy loop and notice when two literals in IMAP fetch (#1739433).
thanks James E. Blair

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

14 years agodrop "Application" on second thought (a matter of taste, mostly)
kink [Mon, 25 Jun 2007 20:26:01 +0000 (20:26 +0000)]
drop "Application" on second thought (a matter of taste, mostly)

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

14 years ago- Fix disabling password encryption in mail_fetch (#1738001).
kink [Mon, 25 Jun 2007 20:18:15 +0000 (20:18 +0000)]
- Fix disabling password encryption in mail_fetch (#1738001).
Thanks Stephen More

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

14 years ago- Fix compatibility with Windows path in administrator plugin (#1740469).
kink [Mon, 25 Jun 2007 19:43:38 +0000 (19:43 +0000)]
- Fix compatibility with Windows path in administrator plugin (#1740469).

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

14 years agomissing ,
kink [Mon, 25 Jun 2007 19:33:52 +0000 (19:33 +0000)]
missing ,

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

14 years agodrop obsolete parameter, thanks Tomas Kuliavas for finding
kink [Mon, 25 Jun 2007 15:24:42 +0000 (15:24 +0000)]
drop obsolete parameter, thanks Tomas Kuliavas for finding

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

14 years agofix switch of en/decode in mdn, thanks Masato HIGASHIYAMA (#1694687)
kink [Mon, 25 Jun 2007 15:22:27 +0000 (15:22 +0000)]
fix switch of en/decode in mdn, thanks Masato HIGASHIYAMA (#1694687)

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

14 years agoFix JavaScript errors; make resizable compose body work again.
pdontthink [Sun, 24 Jun 2007 07:48:30 +0000 (07:48 +0000)]
Fix JavaScript errors; make resizable compose body work again.

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

14 years agoFew tweaks to list_files() and add new sq_popen() and friends. PLEASE NOTE that...
pdontthink [Sun, 24 Jun 2007 05:39:04 +0000 (05:39 +0000)]
Few tweaks to list_files() and add new sq_popen() and friends.  PLEASE NOTE that the lass commit mistakenly added sq_htmlspecialchars(), but I think we can leave it in.

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

14 years agoAdd ask_user_info redirect to compose screen
pdontthink [Fri, 15 Jun 2007 19:24:10 +0000 (19:24 +0000)]
Add ask_user_info redirect to compose screen

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

14 years agoTypo
pdontthink [Fri, 15 Jun 2007 19:19:06 +0000 (19:19 +0000)]
Typo

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

14 years agofix some bugs found by grepping for urlencode/urldecode
kink [Fri, 8 Jun 2007 20:14:37 +0000 (20:14 +0000)]
fix some bugs found by grepping for urlencode/urldecode

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

14 years agocolor has been dropped as a parameter from (plain_)error_message,
kink [Fri, 8 Jun 2007 19:55:53 +0000 (19:55 +0000)]
color has been dropped as a parameter from (plain_)error_message,
update the code to follow

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

14 years agoremove some HTML from within functions. Unneeded HTML to be precise.
kink [Fri, 8 Jun 2007 19:50:02 +0000 (19:50 +0000)]
remove some HTML from within functions. Unneeded HTML to be precise.

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

14 years agodrop some unused globals
kink [Fri, 8 Jun 2007 19:42:55 +0000 (19:42 +0000)]
drop some unused globals

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

14 years agohtml/plain should be text/html
kink [Fri, 8 Jun 2007 18:31:54 +0000 (18:31 +0000)]
html/plain should be text/html

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

14 years agoAlways treat Content-Type case-insensitively (#1732092).
kink [Fri, 8 Jun 2007 18:28:30 +0000 (18:28 +0000)]
Always treat Content-Type case-insensitively (#1732092).
Thanks Rich Pinkall Pollei!

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

14 years ago- fix notice when returning from a restored compose session.
kink [Fri, 8 Jun 2007 16:40:37 +0000 (16:40 +0000)]
- fix notice when returning from a restored compose session.
- there's no need to urldecode the restored session parameter.

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