Commit graph

1672 commits

Author SHA1 Message Date
Thijs Kinkhorst
e816eb6f38 Fix stupid mistake. 2003-06-08 15:34:48 +00:00
Thijs Kinkhorst
9d5490c98a Fix comp_in_new: make outputing the compose link a function so that
the comp_in_new works the same everywhere.
In this new function, make sure that comp_in_new still works when
JavaScript off.
When JavaScript off, do not output all kinds of JavaScript functions
which are never going to be called.
2003-06-08 14:37:35 +00:00
Thijs Kinkhorst
1f4f6cf114 Fix this awfully ugly error message, finally. 2003-06-08 12:39:49 +00:00
stekkel
ae819876ed Fixed 2 issues:
1: Removal of preleading space caused by decodeHeader.
2: Changed call to decodeHeader from compose to htmlsafe = false so we do
not see spaces changed to   => wordwrap stops working;
2003-05-30 17:23:56 +00:00
stekkel
ecba9561b9 logmes 2003-05-30 17:17:50 +00:00
stekkel
a35241077e encodeheader / decodeHeader fixes. Removal of <space> between 2 encoded
header strings. The space is part of the protocol and should be ignored
2003-05-28 22:14:41 +00:00
tokul
b9bc45c0a4 Changed name of Indonesian translation to Bahasa Indonesia. 2003-05-26 18:14:47 +00:00
Thijs Kinkhorst
5136084e4e Prevent loop in parseAddress: if the address is invalid and looks like:
Thijs <aap
(no closing ">"), parseAddress would enter an infinite loop. This is
solved by increasing $pos when no closing > is found. Closes 742584,
thanks Jeroen van Wolffelaar.
2003-05-25 18:58:15 +00:00
tokul
396b7181e8 Welsh is cy_GB and not uk_UA. 2003-05-25 09:51:27 +00:00
philippe_mingo
f458884aff Welsh added 2003-05-23 17:09:55 +00:00
stekkel
00cbd8dac8 Minor fixes in parseAddress and limit the returned results to 1 address
(performance) in case we are displaying the sent folder
2003-05-23 11:51:05 +00:00
Thijs Kinkhorst
62a3b54436 Remove some obsoleted parsing functions. 2003-05-22 16:22:52 +00:00
Thijs Kinkhorst
11675ad552 Drop obsoleted imap_parse.php 2003-05-22 15:22:07 +00:00
stekkel
e2b01ef8de fix warning when we access fillMessagesArray from a search 2003-05-17 17:10:31 +00:00
stekkel
2a676bec2a Missed a spot, now the date is also extracted from the header 2003-05-17 17:00:54 +00:00
stekkel
77a9ce5a49 Rewrite of the sqimap_get_small_header_list function.
Now we can handle returned fetch responses with a different order of
returned arguments. UID i.e. can be properly detected if it is returned
after the HEADER data.
Another issue I fixed is adapting the msgs_id_str to 1:* in case we request all
headers for a mailbox.
If we don't do that the msgs_id_str can become pretty large and in my case
it was 12kb large and the imap server returned a BYE, querystring to long.

We should inspect the last issue better because there are situations where I
can still trigger the error. Setting the number of messages to display to a
large value would cause a BYE again.
2003-05-16 22:46:20 +00:00
tokul
c53cfa5e46 Added bind_textdomain_charset function. Allows to use non default
charset for gettext enabled php. For example ru_RU locale in ISO8859-5
and SquirrelMail ru_RU translation done in koi8-r or cp1251.
Works only with php 4.2+, but squirrelmail can function without it.

Thanks to Viktor S. Grishchenko and Grisha Mokhin
2003-05-11 10:08:12 +00:00
Erin Schnabel
6edec3e3eb Remove "absolute_dl" flag from default link for general attachments
(general meaning not images, not messages, not something we have
other special handling for)..
The link with the attachment name should allow a view (if the type
is known, while the download link will swizzle to application/octet-stream
for download purposes...

also fixed some SM_PATH references
2003-05-10 02:53:46 +00:00
indiri69
8ff26b6e1a Change message highlighting so order matters. It will not select the first
match it finds (old way was last match).  You can also reorder highlighting
now.
2003-05-02 21:31:25 +00:00
Erin Schnabel
20b51df26d UW Folder badness take two. 2003-05-01 04:56:50 +00:00
Erin Schnabel
eaccc266f1 Additional tweaks for folder create/rename/delete display and behavior. 2003-05-01 01:46:57 +00:00
Erin Schnabel
4626ea9a10 First crack at 725443. 2003-05-01 00:09:14 +00:00
tokul
51665e43d9 Ported short name of mount/weekday support from 1.2stable 2003-04-30 08:28:59 +00:00
graf25
21bff0074d Fixing what I broke. 2003-04-26 04:29:53 +00:00
stekkel
fb9dea3eb1 fix for addresses containing groups 2003-04-25 17:35:24 +00:00
stekkel
ff1d3a53b5 moved address-parsing to the displayable messages 2003-04-25 16:21:19 +00:00
stekkel
dadceaf1ac moved address-parsing to the displayable headers 2003-04-25 16:20:27 +00:00
stekkel
6b7871685e commented out a part we do not use. Probably some prehistoric piece of code. 2003-04-25 16:02:38 +00:00
indiri69
2ec347c4bf Fixed message highlighting 2003-04-24 18:30:15 +00:00
graf25
b51851b048 Updated to remove lowsrc attribute.
Optimized the regexes to remove the useles /s switch.
2003-04-24 02:19:31 +00:00
Erin Schnabel
1d129bc9fa Correct login issues with PHP < 4.1
Correctly retrieve values from global vars in case where
4.1 superglobals are not defined..
(Problem caused by references made in global scope not existing within
function scope).
2003-04-23 18:13:08 +00:00
jangliss
9e667d7a4a Empty $mailbox causes sent append to break. 2003-04-14 18:21:44 +00:00
Erin Schnabel
254f85f34c replace the hook for the subject line that Mr. Groot Koerkamp dropped.
silly man.
2003-04-10 19:42:05 +00:00
indiri69
20f3f44819 Fix for broken highlighting. Will start rewriting it later. 2003-04-06 00:50:24 +00:00
Erin Schnabel
f6730690f9 New Dev version strings.
slight include order change to avoid potential E_ALL message.
2003-04-04 04:00:36 +00:00
Thijs Kinkhorst
e04a02e1bd Continue development on 1.4.1!
Devel team can split 1.5.0 now if they wish.
2003-04-03 19:07:42 +00:00
Thijs Kinkhorst
e8bca9014e Preparing for 1.4.0 release 2003-04-03 17:58:31 +00:00
pdontthink
355bab7631 Added detection of password fields in generic checkForm javascript function 2003-04-03 11:40:47 +00:00
Thijs Kinkhorst
102687490e encodingfixes by Marc 2003-04-01 20:47:00 +00:00
philippe_mingo
3849a687a3 Jon, please check this. 2003-03-29 13:20:11 +00:00
Erin Schnabel
68cbad0c64 remove_pref function was missing global prefs_cache declare. 2003-03-28 05:22:51 +00:00
philippe_mingo
e4ba9851d4 Masato Higashiyama japanese patch. 2003-03-27 16:47:48 +00:00
jangliss
f0683457c6 PHP 4.3.x prefs fix for db based prefs. 2003-03-26 16:04:20 +00:00
jangliss
c16e3d9c99 And again... another PHP 4.3 fix 2003-03-25 21:22:15 +00:00
jangliss
9693b5620d Still getting complaints about this outputting plain text to the browser
instead of JS on the component... Going to pull it for now... and investigate
the possible cause for the screw ups after 1.4.0 is released.
2003-03-25 16:07:22 +00:00
jangliss
4e0abba1b1 A couple of fixes for PHP 4.3.x. This should allow prefs to be saved now,
and should remove the warning about a bug in PHP 4.2.3 in the mailbox view.

Thank you very much Troy Settle for use of his server for testing
2003-03-25 15:08:23 +00:00
Jimmy Conner
dc2da8999e Inorder for plugins to utilize the msg_envelope hook, they need to be able to manilpulate/read these variables. 2003-03-24 04:14:54 +00:00
jangliss
91c5adc2ea Lets see if this prefs fix works for now. Will do DB stuff later, or
maybe look into using references(?)
2003-03-22 17:48:51 +00:00
pdontthink
6cfd5c6791 Put msg_envelope hook back in, per Jimmy Conner's request and for msg_flags plugin to work 2003-03-16 21:17:49 +00:00
pdontthink
0b5881d78f Explicitly define for old php versions when it's undefined 2003-03-13 10:13:17 +00:00