Commit graph

1485 commits

Author SHA1 Message Date
Andrea Volani
a6ce073944 Language alignment 2007-03-30 14:57:15 +00:00
Jim Jagielski
799a63c000 No need to rebuild the folders. The "holes" get removed
whenever the array is sorted.
2007-03-30 14:17:40 +00:00
Andrea Volani
486efcb5d7 Final alignment on outlook theme for new preferences 2007-03-30 12:56:01 +00:00
Jim Jagielski
4a6199886b comment changes... 2007-03-29 23:18:07 +00:00
Jim Jagielski
379decec48 Minor opts:
o $myfold always points to the correct folder key
  o When reseting, no need to count, just set. The
    replacements have been created anyway, no matter what.
2007-03-29 19:54:38 +00:00
Andrea Volani
1914ec33e5 mozilla prefs aligned for filters 2007-03-28 09:41:29 +00:00
Jim Jagielski
d7de4284fb Squash nasty little (and scary) bug where your
Inbox appears to be totally cleaned out!
2007-03-28 01:21:25 +00:00
Jim Jagielski
26ac5e0937 We need to set show_advanced before we use it :) 2007-03-27 19:19:39 +00:00
Andrea Volani
c0e9ccabd5 first alignment step for outlook theme 2007-03-26 21:48:01 +00:00
Andrea Volani
b8bed10019 Use login error for session expire, less scaring for the users 2007-03-26 17:37:34 +00:00
Andrea Volani
4fcab723a9 Fixed regression with forward/reply of emails with embedded images. Since telaen translate
the references to the images with a link to download.php?something, this link is not valid for
the recipient and causes logout if it uses telaen (because the params are not valid).
All logouts are replaced with a simple die(), so the script ends without cause problem at
the rest of the system.
2007-03-26 12:25:24 +00:00
Andrea Volani
840e2910d5 The folder check must be done only if the filter is a MOVE type, else
the folder doesn't care.
Added a check for empty match field.
2007-03-24 18:29:56 +00:00
Jim Jagielski
24fcd4e999 2 merged patches...
1. Clean up cases where the user has pre-post whitespace
     which can cause folder problems
  2. Clean up "valid folders" concept. Also, make sure
     that any filters which cause a MOVE to a folder
     actually points to a valid folder ;)
2007-03-24 16:23:29 +00:00
Jim Jagielski
6790e478e7 Upgrade bundled smarty to 2.6.18 2007-03-23 13:53:05 +00:00
Andrea Volani
5a87af6d09 Added preference for require receipt by default 2007-03-22 14:25:49 +00:00
Andrea Volani
953964c720 Final move of html code outside the php. 2007-03-22 09:46:44 +00:00
Andrea Volani
0ed2997daf Html fixies, removed js and css on checkbox acronim since they works only with InternetExploder and totally unstandard. 2007-03-21 16:28:57 +00:00
Jim Jagielski
d85a4f3416 Allow for more flexibility with how to setup
quota limits. In addition to the "old" way you
can now also set per-user/per-domain/per-regex
quotas!
2007-03-21 16:26:48 +00:00
Andrea Volani
fa80d10341 Removed check and config for run filters. If there's no filters the process skips. 2007-03-21 15:51:27 +00:00
Andrea Volani
9465619874 Final things on filters, now can be deleted. I don't plan an edit fuction for now since a filter can made very easily
Alignment on name-style for forms elements. (Jim It's better to remove also the f_ prefix from the old ones?) 
Some cleanups on default theme, restyled button. (Do you like it??)
2007-03-21 15:40:52 +00:00
Andrea Volani
e6cede7da2 coherence in var check 2007-03-20 13:40:35 +00:00
Andrea Volani
03cbd477bd Added configuration for fast enable php errors display. If setting not exist simply they are off. Sometime this is useful for look at errors like blank pages. 2007-03-19 12:37:43 +00:00
Andrea Volani
a6643e935d Just a little bit of ajax power: in the compose page the system receive an ajax call that simply keeps the session refreshed. This means that the user can keep the compose page opened for a long time and the session will remain active. No more (long)email lost :) 2007-03-16 13:02:35 +00:00
Andrea Volani
23bff4f725 added js and backend for ajax, prototype lib provides easy and cross-browser functions for ajax calls :D 2007-03-16 11:13:00 +00:00
Andrea Volani
39349e693a Added check on content-id, use it only with images. Some client (like pine) adds it also on normal attachments 2007-03-14 13:40:50 +00:00
Jim Jagielski
fec003941e Various changes imply a minor bump :) 2007-03-09 16:11:12 +00:00
Andrea Volani
dc037b8b6c Modified way to send APPEND command to imap, we cannot use a multiple commanda here, this is a single command. I we
use a multi command, the Imap session id will be attached at the headers like this:

-> 45f17bb0e16e5 APPEND "sent" (\SEEN) {544}
-> 45f17bb0e16e5 Date: Fri, 9 Mar 2007 16:22:24 +0100 ............. rest of msg ...........

and the date header is compromised on the saved message. This cause a wrong display of the date in sent folder (with 
imap only)
2007-03-09 15:43:53 +00:00
Andrea Volani
160226330e Refactored preferences code and template.
Now html code is build on template, its natural place. Removed um prefix from smarty vars :) 
Needs some more little works but works, please test!

I found smarty helpers very cools!!
2007-03-08 14:11:26 +00:00
Andrea Volani
2a18e46811 lost parameter :) 2007-03-07 16:35:20 +00:00
Andrea Volani
80f9caba06 filters only when there is a filter available, otherwise skip the procedure. I think we can remove and the filter flag into config.php 2007-03-07 15:53:14 +00:00
Andrea Volani
7697f95036 First filters approach in preferences 2007-03-07 15:50:40 +00:00
Jim Jagielski
444b7b6ab5 Ummm... we're deleting this array element. So
why bother adjusting values :)
2007-03-06 21:34:55 +00:00
Jim Jagielski
86b85c8fc1 Remove some extraneous array sorts... The 1st, after all,
is almost immediately redone a few lines later...
2007-03-06 20:17:19 +00:00
Jim Jagielski
6cdc522522 Oops! I forgot that since we have disconnected and then
reconnected, the message number ordering is reset (no
more "holes").
2007-03-06 19:51:45 +00:00
Jim Jagielski
eb3d0e5a44 "msg" always maps to the message number on the server. So we
don't adjust them (reduce them). Our "id" is simply an
internal store that doesn't always map to the message
number on the server. If we have messages 1-10 and delete
message number 7, then message 8 is still number
8, not the "new" number 7 (as far as the server is
concerned), even though it's in slot 7 (and it's id
should be 7).

We should just get rid of 'id'...
2007-03-06 18:57:01 +00:00
Jim Jagielski
dcacd05583 Merge r375:
Performance tweak. The message numbers are actual numbers, so first
of all force that, and secondly allow for a faster sorting by
doing integer comparisons rather than natural string sorts.
2007-03-06 17:31:22 +00:00
Jim Jagielski
15655008ca Merge r374:
BIG fix... The 'msg' field contains the actual message number,
as far as how the server marks it. The 'id' field is simply
an array counter. This means that although normally the
2 are in sync, if a message is removed internally, this is no
longer the case, and the 'id' field will not point to the
correct message. Look at below: In the first case, id 8
maps to msg 8. Now look after we delete a message. In this
case id 8 is the 8th element, or msg 9! To fetch the real
message 9 we need to look at msg (which is 9) and not
id (which would be 8, since it's the 8th message).

LIST
+OK 
1 13580
2 40003
3 40697
4 3744
5 41679
6 41856
7 12043
8 2878
9 41497
10 42444
11 1117
12 1133
.
DELE 6
+OK 
LIST
+OK 
1 13580
2 40003
3 40697
4 3744
5 41679
7 12043
8 2878
9 41497
10 42444
11 1117
12 1133
.
2007-03-06 17:30:34 +00:00
Jim Jagielski
d86948c201 Merge r371:
Fix problem with all messages that have cached
header are set as read. Also, correct arg problem.
2007-03-06 17:29:30 +00:00
Jim Jagielski
36bcddc523 Merge in r371
Initial UIDL impl
2007-03-06 17:28:50 +00:00
Andrea Volani
b2595f13f8 Added error for session expired, also removed unuseful translation in lang (adveditor / error / badlogin) 2007-03-06 12:52:40 +00:00
Jim Jagielski
8d9fe416b3 We are at 1.1.3 2007-03-03 14:26:46 +00:00
Jim Jagielski
614563f252 We will consistantly md5 the UIDLs. Makes it safer
to use it for filenames, etc, plus, we know in advance
the exact format.
2007-03-02 19:25:44 +00:00
Andrea Volani
d38b1993eb 2007-02-25 21:54:53 +00:00
Andrea Volani
66ed78a848 Resolved bug with imap were on multiple move or delete only one message was affected.
This was cause by a prev. patch. Now the expunge is done always after processing al messages,
and not on every message (so the indexes don't change).
I have also added a better check when we are working on pop3 so we avoid to reconnect 
on mark/unmark and with imap.
2007-02-22 14:12:16 +00:00
Andrea Volani
2566547f15 Added outlook theme, malay lang and some lang updates 2007-02-21 18:40:36 +00:00
Jim Jagielski
eb33ee433d We are at 1.1.3-rc2 2007-02-17 14:32:11 +00:00
Andrea Volani
ed4d115e15 Removed target new on attach download link, updated de language file 2007-02-16 08:49:42 +00:00
Andrea Volani
516f0cfa05 removed unuseful tag in the page. 2007-02-14 22:08:57 +00:00
Andrea Volani
6fd5f9db7b Added check to CAPA response, the command is optional and we can have an -ERR as first line. This makes telaen hangs actually 2007-02-12 09:34:33 +00:00
Jim Jagielski
25547503bf Add some nice descriptions regarding what Telaen actually
*is* and why we think it's neat.
2007-02-08 16:54:34 +00:00