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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19 years agoseveral messages can be pushed in one array_push
tokul [Sun, 20 Mar 2005 10:39:01 +0000 (10:39 +0000)]
several messages can be pushed in one array_push
ldap_use_tls tests and fixes.
added more checks to ldap_get_values and ldap_set_option calls

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

19 years agosome cleanup in ldap documentation
tokul [Sun, 20 Mar 2005 10:35:09 +0000 (10:35 +0000)]
some cleanup in ldap documentation

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

19 years agoadding "Successfully save options: User's password" message
tokul [Sun, 20 Mar 2005 10:34:23 +0000 (10:34 +0000)]
adding "Successfully save options: User's password" message

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

19 years agoadding two configuration options - remote config test and global file
tokul [Sun, 20 Mar 2005 10:29:47 +0000 (10:29 +0000)]
adding two configuration options - remote config test and global file
backend listing controls.
documenting some options with 'since' tags in order to track them.

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

19 years agoignore other configuration files and admins file from administrator plugin
tokul [Sun, 20 Mar 2005 10:19:52 +0000 (10:19 +0000)]
ignore other configuration files and admins file from administrator plugin

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

19 years agodata_dir is not that important in pear based setups.
tokul [Sun, 20 Mar 2005 10:18:01 +0000 (10:18 +0000)]
data_dir is not that important in pear based setups.
fixed ldap tests. function was tested as constant and ldap error messages were
not suppressed.
added block that does not allow use of script from remote addresses.
configuration files will be updated in other commit.

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

19 years agoscript creates two frames. there is no need to display same error in both.
tokul [Sun, 20 Mar 2005 10:13:01 +0000 (10:13 +0000)]
script creates two frames. there is no need to display same error in both.

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

19 years agodoc/plugins.txt. global.php is loaded by validate.php
tokul [Sun, 20 Mar 2005 10:11:02 +0000 (10:11 +0000)]
doc/plugins.txt. global.php is loaded by validate.php

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

19 years agoadding phpdoc blocks to sqimap_mailbox_list function
tokul [Sun, 20 Mar 2005 10:09:15 +0000 (10:09 +0000)]
adding phpdoc blocks to sqimap_mailbox_list function

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

19 years agoadding warning about nulled var
tokul [Sun, 20 Mar 2005 10:08:11 +0000 (10:08 +0000)]
adding warning about nulled var

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

19 years agoadding listing controls to file backend
tokul [Sun, 20 Mar 2005 10:06:45 +0000 (10:06 +0000)]
adding listing controls to file backend

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

19 years agocheck if object is returned.
tokul [Sun, 20 Mar 2005 10:05:59 +0000 (10:05 +0000)]
check if object is returned.

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

19 years agoFix configtest to use correct PostgreSQL connection function. (#1166228).
jangliss [Sat, 19 Mar 2005 04:41:09 +0000 (04:41 +0000)]
Fix configtest to use correct PostgreSQL connection function. (#1166228).

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

19 years agoJust a little more
pdontthink [Sat, 19 Mar 2005 02:46:44 +0000 (02:46 +0000)]
Just a little more

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

19 years agoAdd missing hooks for new compose options screen
pdontthink [Sat, 19 Mar 2005 02:22:09 +0000 (02:22 +0000)]
Add missing hooks for new compose options screen

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

19 years agoMaking mailto: conversion in magicHTML() optional (defaults to ON)
pdontthink [Fri, 18 Mar 2005 23:41:42 +0000 (23:41 +0000)]
Making mailto: conversion in magicHTML() optional (defaults to ON)

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

19 years agoIt's _blank, not _new
pdontthink [Fri, 18 Mar 2005 23:35:22 +0000 (23:35 +0000)]
It's _blank, not _new

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

19 years agofixed signout page
pdontthink [Fri, 18 Mar 2005 04:20:33 +0000 (04:20 +0000)]
fixed signout page

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

19 years agoRoll back signout.php changes and move the fix to auth.php, since checking $_SESSION...
pdontthink [Fri, 18 Mar 2005 04:18:32 +0000 (04:18 +0000)]
Roll back signout.php changes and move the fix to auth.php, since checking $_SESSION at the top of signout.php *before* the session was even started meant that the user was always considered to be logged out, even before they really were.  This broke most all of the plugins that hooked into signout.php

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

19 years agoXHTML fix
jervfors [Thu, 17 Mar 2005 06:34:53 +0000 (06:34 +0000)]
XHTML fix

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

19 years agoAdded new highlighting color
pdontthink [Thu, 17 Mar 2005 04:04:15 +0000 (04:04 +0000)]
Added new highlighting color

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

19 years agoUpdating strings
jervfors [Thu, 17 Mar 2005 00:44:23 +0000 (00:44 +0000)]
Updating strings

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

19 years agoSorry folks. Changing onClick to onMouseDown so middle mouse/right mouse work correc...
pdontthink [Tue, 15 Mar 2005 23:52:45 +0000 (23:52 +0000)]
Sorry folks.  Changing onClick to onMouseDown so middle mouse/right mouse work correctly too.

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

19 years agoBe nice to plugins who want to add to the onClick... add a semicolon at the end.
pdontthink [Tue, 15 Mar 2005 23:49:56 +0000 (23:49 +0000)]
Be nice to plugins who want to add to the onClick... add a semicolon at the end.

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

19 years agoDon't keep a row highlighted and checkbox checked when user clicked on the subject...
pdontthink [Tue, 15 Mar 2005 23:40:56 +0000 (23:40 +0000)]
Don't keep a row highlighted and checkbox checked when user clicked on the subject to view the message (only for fancy highlighting).  This requires DOM Level 1 support for the 'parentNode' attribute.

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

19 years agobringing back forwarding functionality for message list when comp_in_new is turned...
pdontthink [Tue, 15 Mar 2005 22:42:15 +0000 (22:42 +0000)]
bringing back forwarding functionality for message list when comp_in_new is turned on; also removing superfluous code when not needed - helps bandwidth requirement

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

19 years agoRefactoring JavaScript, reduces bandwidth usage on message list when fancy highlighti...
pdontthink [Tue, 15 Mar 2005 21:47:51 +0000 (21:47 +0000)]
Refactoring JavaScript, reduces bandwidth usage on message list when fancy highlighting is on

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