squirrelmail.git
14 years agoEnabled user selection of address format when adding from address book during message...
pdontthink [Mon, 1 Oct 2007 20:11:00 +0000 (20:11 +0000)]
Enabled user selection of address format when adding from address book during message composition

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

14 years agoAdd safe_mode notes in configtest; it might be nice to expand these to do more automa...
pdontthink [Mon, 1 Oct 2007 07:59:45 +0000 (07:59 +0000)]
Add safe_mode notes in configtest; it might be nice to expand these to do more automated checks (for example, that the webserver has access to the data dir or attachment dir, or that DB.php is accessible, although that is done elsewhere herein)

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

14 years agoMove getSig, which can produce error output, after the point where the template syste...
pdontthink [Mon, 1 Oct 2007 07:59:08 +0000 (07:59 +0000)]
Move getSig, which can produce error output, after the point where the template system is fully initialized

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

14 years agoAdd fixme/note
pdontthink [Mon, 1 Oct 2007 07:58:43 +0000 (07:58 +0000)]
Add fixme/note

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

14 years agoMake message list refresh work again in default advanced tempate
pdontthink [Sat, 29 Sep 2007 21:57:56 +0000 (21:57 +0000)]
Make message list refresh work again in default advanced tempate

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

14 years agoMake capitalization consistent
pdontthink [Sat, 29 Sep 2007 18:25:07 +0000 (18:25 +0000)]
Make capitalization consistent

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

14 years agoFix undefined var notices on search page
pdontthink [Fri, 28 Sep 2007 18:00:55 +0000 (18:00 +0000)]
Fix undefined var notices on search page

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

14 years agoAllow better override of handleMessageListForm, although this all really needs to...
pdontthink [Fri, 28 Sep 2007 17:28:40 +0000 (17:28 +0000)]
Allow better override of handleMessageListForm, although this all really needs to be much better abstracted

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

14 years agoMake message_details actually show the correct entity when viewing details of attache...
pdontthink [Fri, 28 Sep 2007 17:27:29 +0000 (17:27 +0000)]
Make message_details actually show the correct entity when viewing details of attached messages

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

14 years agoMake sqimap_get_message return fully parsed message representations
pdontthink [Fri, 28 Sep 2007 17:22:42 +0000 (17:22 +0000)]
Make sqimap_get_message return fully parsed message representations

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

14 years agoAdded ability to keep messages selected on mailbox listing - use 'preselected' query...
pdontthink [Tue, 25 Sep 2007 04:49:39 +0000 (04:49 +0000)]
Added ability to keep messages selected on mailbox listing - use 'preselected' query arg or global var from plugins

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

14 years agoFix a FIXME
pdontthink [Wed, 19 Sep 2007 20:30:35 +0000 (20:30 +0000)]
Fix a FIXME

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

14 years agoStandardize syntax
pdontthink [Tue, 18 Sep 2007 20:58:18 +0000 (20:58 +0000)]
Standardize syntax

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

14 years agoRemoved "Include CCs when Forwarding Messages", which had no functionality whatsoever
pdontthink [Thu, 6 Sep 2007 22:50:47 +0000 (22:50 +0000)]
Removed "Include CCs when Forwarding Messages", which had no functionality whatsoever

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

14 years agoAdded configtest hook
pdontthink [Wed, 5 Sep 2007 23:44:27 +0000 (23:44 +0000)]
Added configtest hook

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

14 years agoUpdate pot file
pdontthink [Wed, 5 Sep 2007 19:12:00 +0000 (19:12 +0000)]
Update pot file

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

14 years agoAdd options block demo
pdontthink [Wed, 5 Sep 2007 19:06:47 +0000 (19:06 +0000)]
Add options block demo

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

14 years agofix strict js/css notices (#1778815)
kink [Tue, 4 Sep 2007 09:33:10 +0000 (09:33 +0000)]
fix strict js/css notices (#1778815)

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

14 years agoBring defaults for the folder selection pref in line.
kink [Mon, 3 Sep 2007 11:51:57 +0000 (11:51 +0000)]
Bring defaults for the folder selection pref in line.
Create constants for their values, not use the semantically irrelevant
SMPREF_{ON,OFF}

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

14 years agoMinor wording and spacing fixes
pdontthink [Fri, 31 Aug 2007 23:21:17 +0000 (23:21 +0000)]
Minor wording and spacing fixes

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

14 years agoImprove autodetection and add default input
pdontthink [Fri, 31 Aug 2007 23:21:05 +0000 (23:21 +0000)]
Improve autodetection and add default input

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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