Commit graph

2041 commits

Author SHA1 Message Date
Fredrik Jervfors
9d4db8b166 Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-21 23:56:53 +00:00
stekkel
01f20c33df Sigh, maybe I need sleep or so. To many bugs ... 2004-05-21 16:30:52 +00:00
stekkel
e0e3a3aed8 fix sort by internaldate if the internaldate does not have the expected
format.
2004-05-21 16:00:16 +00:00
indiri69
7df0c454dc Fix message highlighting for mailbox changes 2004-05-21 15:26:38 +00:00
stekkel
9349ee9987 More code cleanups and added a few notes/comments 2004-05-21 15:01:43 +00:00
stekkel
4b2a4469bb fix for non server side sorting on internal date
Modified the subject sort to strip out the [mailinglist] entries before we
start sorting.
2004-05-21 13:03:42 +00:00
stekkel
a291f4d213 Hmm, client side sorting on large mailboxes is so fast I didn't even noticed
that it did that by default (typo)
2004-05-21 11:30:18 +00:00
stekkel
34dffa1d9d Simplified DMN and the findPrevious and FindNext functions. 2004-05-21 11:24:07 +00:00
stekkel
8881b9eaf4 code cleanup 2 2004-05-20 23:44:15 +00:00
stekkel
ac73116f5f Code cleanup. 2004-05-20 23:20:21 +00:00
stekkel
d024fa15b0 Respect the permanentflags output. Do not show the alter flags buttons
/links if the mailbox does not allow it.
2004-05-20 16:20:42 +00:00
tokul
9de6aa7e28 phpdoc block 2004-05-20 11:55:56 +00:00
tokul
dca19f1eda aStutus -> aStatus 2004-05-20 09:46:07 +00:00
stekkel
f510138349 * Request UID and UIDVALIDITY from the status response if not available in the
select response.
* Tried to fix the broken del move next function and added a few arguments
  to the dmn_expunge function because the globals scared me when I couldn't
  get the job done.
2004-05-19 22:36:41 +00:00
tokul
0c4659baa2 Adding Basque support 2004-05-19 14:42:30 +00:00
stekkel
194b15976a due to caching the dropdown mailbox list $boxesnew was set in the global
scope and with register globals = on the mailbox-tree wasn't returned. We
should work on caching the mailbox-tree and rewrite the functions that make
use of the old mailbox_list function.
2004-05-18 16:40:00 +00:00
tokul
044e1c12c8 using case insensitive lookups that don't depend on sql server string comparison options.
mysql tested by me, postgresql tested by Patrick Welche <prlw1 at newn.cam.ac.uk>
2004-05-18 13:07:49 +00:00
tokul
eb784ac89f adding global declaration for set_my_language 2004-05-18 13:01:07 +00:00
tokul
0b0751d6b1 removing bigger decoding functions in order to reduce package size.
functions will be available in separate package.
2004-05-18 12:58:37 +00:00
stekkel
4542626296 No comments 2004-05-17 20:11:55 +00:00
stekkel
b171edd0dc temp fixes, as long as we didn't adapt our mailbox tree code, cache the
list.

Make use of the sorted list with id's from the session if the mailbox state
didn't change.

All performance related imap fixes were found after playing with thetereal.
If you want to try itt yourself:

tethereal -t a -ni lo -f 'port 143' -R 'imap.request'
with lo the interface.
2004-05-17 19:48:57 +00:00
stekkel
157a422c57 removed debug statement 2004-05-17 15:55:33 +00:00
stekkel
85bee15f35 Removed kind of insane check. The check mailbox is subscribed call retrieved
the whole subscription list and looked up if the requested mailbox was part
of it. It's better to subscribe and surpress the NO response if already
subscribed.
2004-05-17 15:45:37 +00:00
tokul
9257761c54 disabled Korean extra functions. This is not real fix. In order to fix it
the Right-Way, all extra functions have to be rewritten. Current changes
prevent insertion of 8bit headers into new emails when Korean translation
is used. I'll submit same fix to stable if nobody stops me within 24 hours.
2004-05-17 07:07:40 +00:00
tokul
90ff7fb152 making decision about conversion before actual conversion. removing old comments
about nbsp. adding header conversion if function asks for it in $decide and
conversion is possible. Fixes header conversion problems in compose. Not nice but works.
2004-05-16 13:05:36 +00:00
tokul
5b65f33a13 adding charset conversion functions. utf_8.php is taken from www.php.net samples.
Functions are needed if we want to mix forms.php and charset conversion in compose.
2004-05-16 08:43:50 +00:00
stekkel
b3634fa4bb initialize color array in case it isn't set at this stage. 2004-05-14 21:14:31 +00:00
stekkel
cc5084acf0 Removed double select call (select calls are expensive, do not do that) and
removed unneeded expunge call (don't do that expunges are expensive)
2004-05-14 19:55:10 +00:00
stekkel
f630a0daf1 second try .. 2004-05-14 19:12:53 +00:00
stekkel
1069293bcd Detect untagged BYE responses in case the connection is terminated. 2004-05-14 18:37:40 +00:00
tokul
7ef31182af cleaned tabs 2004-05-14 11:19:43 +00:00
Fredrik Jervfors
e13894b4ed This i18n string never got translated before 2004-05-13 05:48:53 +00:00
alex-brainstorm
6ea1a837c2 Use null as default value since value is tested against null. Was breaking search code. 2004-05-10 14:55:23 +00:00
tokul
097e96eba2 common functions are documented only in one backend 2004-05-10 09:56:02 +00:00
tokul
9d2acefa9a phpdoc should ignore these three functions 2004-05-10 09:54:33 +00:00
Fredrik Jervfors
9ce601d068 Closing PHP tag and adding some XHTML 2004-05-09 10:19:50 +00:00
Fredrik Jervfors
fcc5f2fb25 Moving HTML out of strings and updating some tags to XHTML 2004-05-08 16:19:27 +00:00
alex-brainstorm
7621d836d1 Specifically avoid using SEARCH CHARSET "US-ASCII" because it happens although it should not 2004-05-05 19:27:45 +00:00
tokul
3dba442153 adding address book sorting options. changed some parts of patch written
by Brian Loniewski
2004-05-05 11:27:56 +00:00
stekkel
b5e7dceef6 fix, when you compare 2 timestamps, make sure you correct both timestamps
with the timezone
2004-05-05 00:29:46 +00:00
stekkel
5d2e086e5a Fixed on the fly decoding of base64 attachment. We need to do on the fly
decoding because otherwise we have to buffer entire attachments in memory
which will cause out of memory errors with large attachments.

The fix has to do with the grouping of bytes in pairs of 4 which represents
24 bits of data. If such group is splitted over 2 lines then on the fly
decoding went wrong. Now we count the pure base64 data (without \r\n, \r \n
and spaces), divide it by 4 and return incomplete pairs which get processed
the in the next loop.
2004-05-02 13:49:14 +00:00
alex-brainstorm
6913bb939f Be smarter with PHP numerical conversion, who knows if the previous code wouldn't fail on some version 2004-04-30 23:18:18 +00:00
alex-brainstorm
239bc69bec Handle KMG for LARGER and SMALLER, and add default value for asearch_nz() 2004-04-30 22:54:10 +00:00
indiri69
37e7f721fd A few more types of break tags 2004-04-29 18:02:21 +00:00
Erin Schnabel
f59c3343ef remove call to expunge in sqimap_mailbox_select 2004-04-29 03:48:13 +00:00
Alexandros Vellis
8af8fc62f9 1. Use XHTML-Compatible attributes for selected and checked form widgets
2. Use HTML <label> for radio buttons. This allows user to click the text
"Yes" or "No" instead of just the widget. This works in all popular browsers
and is more intuitive this way.
2004-04-28 16:05:25 +00:00
Alexandros Vellis
614a01678a Instead of excluding one checkbox at a time, only check what should be checked
by Toggle All.

This will allow plugins to probably put some more checkboxes (like plugin
move_all_messages).

Of course, the Toggle All link needs to be restored at some point too. (When did
that go away in -DEVEL?)
2004-04-28 12:21:21 +00:00
stekkel
70d069a922 SQL injection fix. This is serious I think. 2004-04-27 19:20:18 +00:00
Brian G. Peterson
bb54e26ea6 - remove first !IE6 check and send Pragma and NoCache Headers
for all IE versions to better support IE6
2004-04-26 22:05:53 +00:00
tokul
9664cf2971 one more formating fix 2004-04-25 10:35:12 +00:00