squirrelmail.git
19 years agofixed $doedit check in order to be able to get to "Should not get here"
tokul [Thu, 3 Mar 2005 16:42:31 +0000 (16:42 +0000)]
fixed $doedit check in order to be able to get to "Should not get here"
simplified if structure.
added simple error message instead of unknown error.
$doedit fix should recreate #1124018 situation and changed error message should fix it.

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

19 years agoPlugin may be invisible when JS is not detected
tokul [Thu, 3 Mar 2005 11:19:42 +0000 (11:19 +0000)]
Plugin may be invisible when JS is not detected

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

19 years agoinformation about use of config file was missing.
tokul [Thu, 3 Mar 2005 11:15:02 +0000 (11:15 +0000)]
information about use of config file was missing.

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

19 years agoprint object methods if object is feeded to sm_print_r
tokul [Wed, 2 Mar 2005 18:19:46 +0000 (18:19 +0000)]
print object methods if object is feeded to sm_print_r

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

19 years agouse same width as other tables on src/addressbook.php
tokul [Wed, 2 Mar 2005 18:17:13 +0000 (18:17 +0000)]
use same width as other tables on src/addressbook.php

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

19 years agoconverting string to ngettext
tokul [Wed, 2 Mar 2005 18:14:51 +0000 (18:14 +0000)]
converting string to ngettext

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

19 years agochangelog
kink [Mon, 28 Feb 2005 10:47:40 +0000 (10:47 +0000)]
changelog

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

19 years agoRevise plugin documentation. Mainly, this removes remains of documentation
kink [Mon, 28 Feb 2005 10:45:57 +0000 (10:45 +0000)]
Revise plugin documentation. Mainly, this removes remains of documentation
that's only relevant for plugins which are not included in the main distro.
The objective is to make it not
- remove instructions about untarring this plugin (since it's already shipped)
- remove version numbers, which are not updated for a long time and not
  relevant anymore.
- remove changelogs, since they don't log the changes (we do that in the
  main ChangeLog).
- explicitly state that this plugin is not maintained anymore by the
  original authors (so bugs/etc get sent to us in stead of someone who
  maintained it four years ago).

If ok I'd like to put this in stable aswell.

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

19 years agoupdate README to reflect inclusion in squirrelmail-core-plugins
kink [Mon, 28 Feb 2005 10:23:29 +0000 (10:23 +0000)]
update README to reflect inclusion in squirrelmail-core-plugins

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

19 years agoChange defaults of some prefs to more sensible / usable settings.
kink [Mon, 28 Feb 2005 10:00:26 +0000 (10:00 +0000)]
Change defaults of some prefs to more sensible / usable settings.
Also use the SMPREF_ON/OFF constant instead of 0/1.

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

19 years agoadding some comments about error check
tokul [Mon, 28 Feb 2005 09:21:10 +0000 (09:21 +0000)]
adding some comments about error check

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

19 years agoadding size controls for newmail popup window.
tokul [Mon, 28 Feb 2005 09:16:41 +0000 (09:16 +0000)]
adding size controls for newmail popup window.
removing dublicate getPref calls.
using <small> for right side comments.
using html_tag function for table formating

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

19 years agoLinefeed not allowed in middle of Content-Type header
pdontthink [Mon, 28 Feb 2005 04:20:44 +0000 (04:20 +0000)]
Linefeed not allowed in middle of Content-Type header

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

19 years agoThe copyright message should be consistent.
jervfors [Sun, 27 Feb 2005 23:36:10 +0000 (23:36 +0000)]
The copyright message should be consistent.
According to Rick Castello the Project, and not the Development Team, holds the copyright.

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

19 years agoString update
jervfors [Sun, 27 Feb 2005 22:44:27 +0000 (22:44 +0000)]
String update

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

19 years agoUpdating strings
jervfors [Sun, 27 Feb 2005 22:12:04 +0000 (22:12 +0000)]
Updating strings

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

19 years agoadding requirements
tokul [Sun, 27 Feb 2005 17:20:28 +0000 (17:20 +0000)]
adding requirements

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

19 years agodefault to imap server address
tokul [Sun, 27 Feb 2005 17:13:03 +0000 (17:13 +0000)]
default to imap server address

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

19 years agoupdating strings
tokul [Sun, 27 Feb 2005 16:58:32 +0000 (16:58 +0000)]
updating strings

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

19 years agoinformation about ldap backend in cpw.
tokul [Sun, 27 Feb 2005 16:44:39 +0000 (16:44 +0000)]
information about ldap backend in cpw.

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

19 years agovar name is curpw and not currentpw.
tokul [Sun, 27 Feb 2005 16:42:56 +0000 (16:42 +0000)]
var name is curpw and not currentpw.

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

19 years agoadding ldap backend support to change_password plugin. will contact
tokul [Sun, 27 Feb 2005 16:40:51 +0000 (16:40 +0000)]
adding ldap backend support to change_password plugin. will contact
change_ldappass plugin developer for review.

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

19 years agoUnifying strings with STABLE
jervfors [Sun, 27 Feb 2005 11:39:38 +0000 (11:39 +0000)]
Unifying strings with STABLE

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

19 years agosanitizing ldap search. I think, in this case it only prevents ldap search
tokul [Sun, 27 Feb 2005 09:45:53 +0000 (09:45 +0000)]
sanitizing ldap search. I think, in this case it only prevents ldap search
errors. Backend does not enclose search in () and custom search options
can't be inserted. If I am wrong, attacker was able to scrap some complex
cn=*something* search expression, that could abuse ldap backend or ldap
server.

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

19 years agoall error messages are displayed in one error box.
tokul [Sun, 27 Feb 2005 09:21:04 +0000 (09:21 +0000)]
all error messages are displayed in one error box.
all errors are not fatal.
combined both return calls into one. code is shorter and has only one return call.

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

19 years agoremoving debuggin entry. /me bad.
tokul [Fri, 25 Feb 2005 17:44:55 +0000 (17:44 +0000)]
removing debuggin entry. /me bad.

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

19 years agofixes possible search in address book issues
tokul [Wed, 23 Feb 2005 17:49:59 +0000 (17:49 +0000)]
fixes possible search in address book issues

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

19 years agoAlways show Purge link next to Trash, so one doesn't have to reload left_main
kink [Mon, 21 Feb 2005 20:05:04 +0000 (20:05 +0000)]
Always show Purge link next to Trash, so one doesn't have to reload left_main
to be able to empty the trash.

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

19 years agoFix for bug on filters plugin which allows user to select INBOX as a
jangliss [Mon, 21 Feb 2005 06:59:59 +0000 (06:59 +0000)]
Fix for bug on filters plugin which allows user to select INBOX as a
destination.

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

19 years agorenaming sample config
tokul [Sun, 20 Feb 2005 15:35:12 +0000 (15:35 +0000)]
renaming sample config

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

19 years agoIf mailto: string isn't double URL encoded, the values don't correctly get
jangliss [Sun, 20 Feb 2005 05:18:23 +0000 (05:18 +0000)]
If mailto: string isn't double URL encoded, the values don't correctly get
fed to compose.php.

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

19 years ago - Fixed bug #1032366, remove NUL characters in text attachments on sent.
stekkel [Fri, 18 Feb 2005 02:25:11 +0000 (02:25 +0000)]
  - Fixed bug #1032366, remove NUL characters in text attachments on sent.

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

19 years agoRemove NUL characters in case of text and message parts.
stekkel [Fri, 18 Feb 2005 02:19:10 +0000 (02:19 +0000)]
Remove NUL characters in case of text and message parts.

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

19 years agoFix for bug #1124764.
stekkel [Fri, 18 Feb 2005 00:35:35 +0000 (00:35 +0000)]
Fix for bug #1124764.

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

19 years agoFixed bug #1124764. Show unsafe images in printable view when
stekkel [Fri, 18 Feb 2005 00:33:07 +0000 (00:33 +0000)]
Fixed bug #1124764. Show unsafe images in printable view when
view_unsafe_images is set to true.

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

19 years agorenaming file. using underscore instead of hyphen.
tokul [Thu, 17 Feb 2005 15:37:35 +0000 (15:37 +0000)]
renaming file. using underscore instead of hyphen.

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

19 years agostring update
tokul [Thu, 17 Feb 2005 14:22:00 +0000 (14:22 +0000)]
string update

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

19 years agoreplacing $allowsound with $newmail_allowsound. removing $allowsound from
tokul [Thu, 17 Feb 2005 14:14:41 +0000 (14:14 +0000)]
replacing $allowsound with $newmail_allowsound. removing $allowsound from
plugin scripts. control sounds in left_main (user prefs store sound config,
admin disables it later).

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

19 years agophpdoc cleanup
tokul [Thu, 17 Feb 2005 13:50:43 +0000 (13:50 +0000)]
phpdoc cleanup

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

19 years agoinformation about removed function and newmail plugin changes.
tokul [Thu, 17 Feb 2005 12:47:07 +0000 (12:47 +0000)]
information about removed function and newmail plugin changes.
save_option_reply_prefix fix is specific to 1.5.1cvs.

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

19 years agoremoving empty and unused save_option_header() function.
tokul [Thu, 17 Feb 2005 12:42:07 +0000 (12:42 +0000)]
removing empty and unused save_option_header() function.
moving save_option_reply_prefix() to the right place.

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

19 years agoadding phpdoc blocks
tokul [Thu, 17 Feb 2005 12:30:08 +0000 (12:30 +0000)]
adding phpdoc blocks

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

19 years agoadd swf and mp3 support
tokul [Thu, 17 Feb 2005 12:01:16 +0000 (12:01 +0000)]
add swf and mp3 support
restore user media support
use only html 4.01 compatible tags by default
use pcm encoded wavs instead of mp3 encoded

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

19 years agoFixed typo.
stekkel [Wed, 16 Feb 2005 16:01:53 +0000 (16:01 +0000)]
Fixed typo.

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

19 years agoupdating strings
tokul [Tue, 15 Feb 2005 11:09:31 +0000 (11:09 +0000)]
updating strings

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

19 years agoadding option that disables default_charset test in charset_decode function.
tokul [Sun, 13 Feb 2005 12:00:59 +0000 (12:00 +0000)]
adding option that disables default_charset test in charset_decode function.

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

19 years agoGive an error to the user when SquirrelMail is not configured yet
kink [Fri, 11 Feb 2005 20:51:51 +0000 (20:51 +0000)]
Give an error to the user when SquirrelMail is not configured yet

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

19 years agoMissing global $color in logout_error()
kink [Fri, 11 Feb 2005 14:55:23 +0000 (14:55 +0000)]
Missing global $color in logout_error()

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

19 years agoCreate page header before addressbook_init in order to display error
tokul [Wed, 9 Feb 2005 16:52:56 +0000 (16:52 +0000)]
Create page header before addressbook_init in order to  display error
messages correctly. Maybe error_box() should use table that is not with
width=100%

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

19 years agodisplay error box with more details.
tokul [Wed, 9 Feb 2005 16:45:11 +0000 (16:45 +0000)]
display error box with more details.
todo. do same thing with ldap books.

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

19 years agoopen file rw only if it is writable
tokul [Wed, 9 Feb 2005 16:03:56 +0000 (16:03 +0000)]
open file rw only if it is writable

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

19 years agoinformation about change_password changes
tokul [Wed, 9 Feb 2005 15:18:54 +0000 (15:18 +0000)]
information about change_password changes

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

19 years agovmailmgrd backend site configuration is in config.php.
tokul [Wed, 9 Feb 2005 15:16:43 +0000 (15:16 +0000)]
vmailmgrd backend site configuration is in config.php.
some documentation updates

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

19 years agoadding vmailmgrd backend and making change_password_init hook work.
tokul [Tue, 8 Feb 2005 19:19:10 +0000 (19:19 +0000)]
adding vmailmgrd backend and making change_password_init hook work.

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

19 years agoThis fixes empty src tags, and sets them to the blank image. IE causes
jangliss [Tue, 8 Feb 2005 16:22:24 +0000 (16:22 +0000)]
This fixes empty src tags, and sets them to the blank image.  IE causes
a logout to occur when the img src tag is empty. Setting iframe, frame,
or input image to the blank image shouldn't cause any issues.

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

19 years agoDo not send quality-headers if they are set to Normal, which is the default.
kink [Tue, 8 Feb 2005 15:56:18 +0000 (15:56 +0000)]
Do not send quality-headers if they are set to Normal, which is the default.

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

19 years agoAnother MS fix...
jangliss [Tue, 8 Feb 2005 15:37:33 +0000 (15:37 +0000)]
Another MS fix...

  - Strip <outbind://> tags out. This is a Microsoft only protocol and
    references files local to the sending machine.  This causes issues
    with Internet Explorer.
  - Replace <img src="outbind://"> links with clean images to stop
    issues with Internet Explorer not being able to track down the image.

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

19 years agoFix for #855320 where Outlook Express was creating CID: based URLs,
jangliss [Tue, 8 Feb 2005 15:13:31 +0000 (15:13 +0000)]
Fix for #855320 where Outlook Express was creating CID: based URLs,
but not assigning a content-id to the attachment.  This is a bug in
Outlook Express and is non-RFC compliant behaviour.

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

19 years agoadjust wrap and remove nobr tags at top of folder list
pdontthink [Tue, 8 Feb 2005 11:08:06 +0000 (11:08 +0000)]
adjust wrap and remove nobr tags at top of folder list

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

19 years agoforward attachment filename fix
stekkel [Mon, 7 Feb 2005 18:10:47 +0000 (18:10 +0000)]
forward attachment filename fix

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

19 years agoFixed: filenames in case of forwarding a message.
stekkel [Mon, 7 Feb 2005 18:06:17 +0000 (18:06 +0000)]
Fixed:  filenames in case of forwarding a message.
Cleanup: Make use of getFilename method from the Message class and remove
this code from mime.php

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

19 years ago - Added blank.png for missing image support.
jangliss [Mon, 7 Feb 2005 17:38:40 +0000 (17:38 +0000)]
  - Added blank.png for missing image support.

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

19 years agosmall comment changes.
kink [Mon, 7 Feb 2005 13:43:16 +0000 (13:43 +0000)]
small comment changes.

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

19 years agominor grammar tweaks
pdontthink [Mon, 7 Feb 2005 05:32:22 +0000 (05:32 +0000)]
minor grammar tweaks

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

19 years agoAdd workaround for Mercury/32 servers that will subscribe again to
kink [Sun, 6 Feb 2005 22:04:10 +0000 (22:04 +0000)]
Add workaround for Mercury/32 servers that will subscribe again to
an already subscribed folder (#1115409).

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

19 years agoChange chown user.group -> user:group, using "." is deprecated and
kink [Sun, 6 Feb 2005 20:59:45 +0000 (20:59 +0000)]
Change chown user.group -> user:group, using "." is deprecated and
using ":" also conforms to the Single UNIX Spec.

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

19 years agoAdd "show only subscribed folders" option (defaults to On, current behaviour).
kink [Sun, 6 Feb 2005 19:55:04 +0000 (19:55 +0000)]
Add "show only subscribed folders" option (defaults to On, current behaviour).
Recommended by RFC 2683 sect 3.2.2, allows a user to show all mailboxes regardless
of subscription. Thanks Simon Matter for the idea.
btw when will the "oldway" in left_main disappear?

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

19 years agoAdd comment to parsePriority function. I had to duplicate this function in
kink [Sun, 6 Feb 2005 19:26:23 +0000 (19:26 +0000)]
Add comment to parsePriority function. I had to duplicate this function in
Rfc822Header.php AND imap_messages.php because both seem to do header parsing.

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

19 years agoFix a couple more 'string concat on array push' bugs like the
kink [Sun, 6 Feb 2005 14:18:13 +0000 (14:18 +0000)]
Fix a couple more 'string concat on array push' bugs like the
one Marc just fixed.

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

19 years agoFix typo. php 5 errors out on this.
stekkel [Sat, 5 Feb 2005 17:53:53 +0000 (17:53 +0000)]
Fix typo. php 5 errors out on this.

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

19 years agoFixing sorting order in get_squirrel_sort() (#1115403).
tokul [Thu, 3 Feb 2005 16:14:30 +0000 (16:14 +0000)]
Fixing sorting order in get_squirrel_sort() (#1115403).

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

19 years agoshould fix one #1105760 issue. (old config file and $data_dir, that
tokul [Thu, 3 Feb 2005 14:26:58 +0000 (14:26 +0000)]
should fix one #1105760 issue. (old config file and $data_dir, that
does not have trailing slash). Problems with full path might be related to
user config.

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

19 years agoMove default_pref from data/ to config/ dir.
kink [Thu, 3 Feb 2005 09:56:04 +0000 (09:56 +0000)]
Move default_pref from data/ to config/ dir.
We will check the legacy locations first in order to remain backwards compatible
(an upgrade will still use the old location but a new install will use the new).
When not found, do not exit with an error, just create an empty prefs file.
Fix the title of the error message.

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

19 years agoin sqgetGlobalVar, reset $value if it is not found.
kink [Wed, 2 Feb 2005 21:56:43 +0000 (21:56 +0000)]
in sqgetGlobalVar, reset $value if it is not found.

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

19 years agoChangeLog
kink [Wed, 2 Feb 2005 21:53:02 +0000 (21:53 +0000)]
ChangeLog

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

19 years agoUpdate Turkish translation author
pdontthink [Wed, 2 Feb 2005 21:25:42 +0000 (21:25 +0000)]
Update Turkish translation author

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

19 years agochanging names of defines in order to avoid phpdoc errors.
tokul [Wed, 2 Feb 2005 15:54:37 +0000 (15:54 +0000)]
changing names of defines in order to avoid phpdoc errors.
maybe somebody can explain purpose of save_option_header function?

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

19 years agoQuoting "INBOX" to fix an imap server bug. No harm in quoting the folder
jangliss [Wed, 2 Feb 2005 15:05:37 +0000 (15:05 +0000)]
Quoting "INBOX" to fix an imap server bug.  No harm in quoting the folder
name, so it shouldn't hurt other servers (tested against courier and
broken imap server hmailserver I believe).

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

19 years agoExactly how the line is terminated is not really relevant, so strip all
kink [Tue, 1 Feb 2005 16:42:47 +0000 (16:42 +0000)]
Exactly how the line is terminated is not really relevant, so strip all
whitespace around an admin-username.

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

19 years agoadding some information about plugin
tokul [Tue, 1 Feb 2005 09:25:31 +0000 (09:25 +0000)]
adding some information about plugin

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

19 years agoDivide the Compose options screen in two sections: General and Forwarding/Replying.
kink [Tue, 1 Feb 2005 09:20:50 +0000 (09:20 +0000)]
Divide the Compose options screen in two sections: General and Forwarding/Replying.
Move the Hour Format setting from Folders (???) to Display preferences.

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

19 years agoupdating pot
tokul [Mon, 31 Jan 2005 14:23:02 +0000 (14:23 +0000)]
updating pot

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

19 years agojavascript inserted between ECHO prevents string extraction in gettext v.0.11+
tokul [Mon, 31 Jan 2005 11:17:00 +0000 (11:17 +0000)]
javascript inserted between ECHO prevents string extraction in gettext v.0.11+
According to left_main html diff, in this modification only empty lines are
removed and single quotes are converted to double quotes for some attributes.

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

19 years agodoc update
tokul [Thu, 27 Jan 2005 19:00:48 +0000 (19:00 +0000)]
doc update

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

19 years agousing code from locales that help to run xgettext with different gettext versions.
tokul [Thu, 27 Jan 2005 18:30:05 +0000 (18:30 +0000)]
using code from locales that help to run xgettext with different gettext versions.
updating strings.
--add-comments is added for debugging in order to clean the code.

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

19 years agoinformation about changes
tokul [Thu, 27 Jan 2005 14:04:53 +0000 (14:04 +0000)]
information about changes

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

19 years agofixed translation of two reply citation styles. (would like to port it to stable)
tokul [Thu, 27 Jan 2005 13:54:59 +0000 (13:54 +0000)]
fixed translation of two reply citation styles. (would like to port it to stable)
fixed incorrect string length and padding of multibyte strings.
translated error message. used css instead of align=center for xhtml strict compatibility
documented some functions.

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

19 years agoadding str_pad replacement for multibyte charsets and some documentation fixes
tokul [Thu, 27 Jan 2005 13:20:56 +0000 (13:20 +0000)]
adding str_pad replacement for multibyte charsets and some documentation fixes

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

19 years agouser's user's id :)
tokul [Thu, 27 Jan 2005 13:17:58 +0000 (13:17 +0000)]
user's user's id :)

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

19 years agouid=0 thing can be fixed, but i don't want to be the one that allows to use
tokul [Thu, 27 Jan 2005 13:07:26 +0000 (13:07 +0000)]
uid=0 thing can be fixed, but i don't want to be the one that allows to use
root logins on webmail interface.

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

19 years agofixed incorrect test. $adm_id was getting value of fileowner && function_exists
tokul [Thu, 27 Jan 2005 12:44:19 +0000 (12:44 +0000)]
fixed incorrect test. $adm_id was getting value of fileowner && function_exists

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

19 years agoRemove numeric keys from plugin array in config.php
pdontthink [Wed, 26 Jan 2005 20:31:42 +0000 (20:31 +0000)]
Remove numeric keys from plugin array in config.php

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

19 years agoleft_main.php requires 24hr clock update too
jangliss [Wed, 26 Jan 2005 16:58:15 +0000 (16:58 +0000)]
left_main.php requires 24hr clock update too

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

19 years ago24hr date format should include a leading 0... Not seen any clocks without
jangliss [Wed, 26 Jan 2005 16:45:05 +0000 (16:45 +0000)]
24hr date format should include a leading 0... Not seen any clocks without
one yet.

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

19 years agodata_dir doesn't need to be readable. It has to executable, but that's
kink [Mon, 24 Jan 2005 19:16:54 +0000 (19:16 +0000)]
data_dir doesn't need to be readable. It has to executable, but that's
not cleanly testable in PHP so it seems..

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

19 years agoEven more checking whether writing actually succeeds.
kink [Mon, 24 Jan 2005 19:11:45 +0000 (19:11 +0000)]
Even more checking whether writing actually succeeds.

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

19 years agoCheck if proc_open/fopen actually succeeded before starting to write to it.
kink [Mon, 24 Jan 2005 18:17:51 +0000 (18:17 +0000)]
Check if proc_open/fopen actually succeeded before starting to write to it.

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

19 years agoAdd CVE-id's to ChangeLog.
kink [Fri, 21 Jan 2005 23:58:17 +0000 (23:58 +0000)]
Add CVE-id's to ChangeLog.

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

19 years ago- XSS fixes in src/webmail.php
jangliss [Thu, 20 Jan 2005 20:35:21 +0000 (20:35 +0000)]
- XSS fixes in src/webmail.php
- Fixes for undefined varibles in src/webmail.php

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

19 years agoFix for possible remote file inclusion
jangliss [Wed, 19 Jan 2005 21:07:47 +0000 (21:07 +0000)]
Fix for possible remote file inclusion

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