Revisions for dimp/imp.php

Location: [ Horde ] / dimp / imp.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.234 (+2 -2 lines) 09/05/2008 01:42 PM Michael M Slusarz slusarz

Bug: 7294
Need to round quota percentages because the rest of the goofy world which
uses ',' instead of '.' to separate integers from decimals will break JSON
output with old JSON encoders (i.e. PHP 4).

1.233 (+4 -4 lines) 09/04/2008 01:00 AM Michael M Slusarz slusarz

Use rangestrings to pass UID/mailbox information from browser -> server.

1.194.2.32 FRAMEWORK_3 (+15 -15 lines) 08/29/2008 03:19 PM Michael M Slusarz slusarz

Bug: 7254
MFH:
1.125     +1 -0      dimp/docs/CHANGES
1.231     +15 -15    dimp/imp.php
1.160     +1 -1      dimp/js/DimpBase.js
1.158     +7 -23     dimp/js/src/DimpBase.js
1.151     +1 -3      dimp/lib/DIMP.php

Tags: DIMP_1_1, DIMP_1_1_RC2

1.232 (+2 -7 lines) 08/29/2008 03:15 PM Michael M Slusarz slusarz

Quota template has been moved inside of base include file.

1.231 (+15 -15 lines) 08/29/2008 02:34 PM Michael M Slusarz slusarz

Bug: 7254
Update quota at same time folders are polled.

1.194.2.31 FRAMEWORK_3 (+2 -5 lines) 08/26/2008 05:11 PM Michael M Slusarz slusarz

MFH:
1.124     +1 -0      dimp/docs/CHANGES
1.230     +2 -5      dimp/imp.php
1.40      +10 -6     dimp/lib/base.php

1.230 (+2 -5 lines) 08/26/2008 05:08 PM Michael M Slusarz slusarz

[mms] Fix logout link when session has timed out.

1.194.2.30 FRAMEWORK_3 (+4 -5 lines) 08/11/2008 12:49 PM Michael M Slusarz slusarz

MFH 1.229

1.229 (+4 -5 lines) 08/11/2008 12:42 PM Michael M Slusarz slusarz

Fix updating unseen count after certain actions.

1.194.2.29 FRAMEWORK_3 (+14 -16 lines) 08/04/2008 06:56 PM Michael M Slusarz slusarz

MFH 1.227

1.228 (+3 -2 lines) 08/04/2008 06:55 PM Michael M Slusarz slusarz

Bug: 7153
Fix virtual folder updating.

1.227 (+14 -16 lines) 08/04/2008 06:54 PM Michael M Slusarz slusarz

Unneeded if statement.

1.226 (+2 -2 lines) 08/03/2008 06:27 PM Michael M Slusarz slusarz

Simplify PollFolders return - we don't use the 'n' parameter.

1.194.2.28 FRAMEWORK_3 (+2 -2 lines) 07/14/2008 05:22 PM Michael M Slusarz slusarz

MFH:
1.114     +3 -3      dimp/compose.php
1.225     +2 -2      dimp/imp.php
1.117     +1 -1      dimp/js/compose.js
1.112     +26 -29    dimp/js/src/compose.js
1.145     +13 -9     dimp/lib/DIMP.php
1.31      +1 -2      dimp/lib/Views/Compose.php
1.39      +2 -2      dimp/lib/base.php

Tags: DIMP_1_0_1_RC1

1.225 (+2 -2 lines) 07/14/2008 04:15 PM Michael M Slusarz slusarz

Tweak closing compose screen and display of notification messages if there is
no base window.

1.194.2.27 FRAMEWORK_3 (+2 -9 lines) 07/09/2008 02:07 AM Michael M Slusarz slusarz

MFH:
1.114     +1 -1      dimp/js/DimpBase.js
1.112     +2 -2      dimp/js/src/DimpBase.js
1.142     +28 -25    dimp/lib/DIMP.php
1.223     +2 -9      dimp/imp.php

1.224 (+2 -2 lines) 07/09/2008 02:05 AM Michael M Slusarz slusarz

Added support to access IMP's Virtual Folders.

1.223 (+2 -9 lines) 07/09/2008 01:12 AM Michael M Slusarz slusarz

subscribe mode is already determined for us in IMAP_Tree.

1.194.2.26 FRAMEWORK_3 (+12 -18 lines) 06/10/2008 07:00 PM Michael M Slusarz slusarz

MFH: CHANGES - 1.100-1.102; index.php - 1.67-1.68; DraggableMail.js - 1.51;
dragdrop.js - 1.9-1.14; DimpBase.js - 1.78-1.83; DIMP.php - 1.134-1.135;
screen.css - 1.261, 1.263; ViewPort.js - 1.252; index.inc - 1.197, 1.200;
ie6_or_less.css - 1.31; imp.php - 1.222

1.222 (+12 -18 lines) 06/10/2008 06:39 PM Michael M Slusarz slusarz

Bug: 6881
Add ability to move folders to base level.

1.194.2.25 FRAMEWORK_3 (+2 -3 lines) 06/06/2008 06:17 PM Michael M Slusarz slusarz

MFH 1.221

1.221 (+2 -3 lines) 06/06/2008 06:16 PM Michael M Slusarz slusarz

Add an action to the read-only list.

1.194.2.24 FRAMEWORK_3 (+2 -2 lines) 06/06/2008 06:11 PM Michael M Slusarz slusarz

MFH 1.220

1.220 (+2 -2 lines) 06/06/2008 06:07 PM Michael M Slusarz slusarz

Remove ShowPreview from read-only land - I know, at a minimum,
IMAP_MessageCache uses the session to store pruning information.

1.194.2.23 FRAMEWORK_3 (+3 -3 lines) 05/27/2008 11:17 PM Michael M Slusarz slusarz

MFH: imp.php - 1.219; DimpBase.js - 1.69; DimpCore.js - 1.429

1.219 (+3 -3 lines) 05/27/2008 11:14 PM Michael M Slusarz slusarz

Be more consistent about how we pass objects.

1.194.2.22 FRAMEWORK_3 (+12 -7 lines) 05/26/2008 01:46 AM Michael M Slusarz slusarz

MFH: CHANGES - 1.91; imp.php - 1.217-1.218; DimpBase.js - 1.65;
ViewPort.js - 1.244-1.245; ListMessages.php - 1.70-1.72

1.218 (+2 -2 lines) 05/23/2008 01:47 PM Michael M Slusarz slusarz

Only need serialize in here.

1.217 (+13 -8 lines) 05/23/2008 01:40 PM Michael M Slusarz slusarz

Fix loading viewport slice in background when scrolling up. Seemed like
a trivial fix (an incorrect variable name in ViewPort was causing the limit
tolerance to calculate at 0), but fixing the issue broke other things. In
short, ViewPort didn't really work seamlessly when scrolling up through
slices that have not yet been loaded. The solution is to have ViewPort handle
all slice range generation instead of the server. Makes much more sense from
the perspective of being able to use ViewPort elsewhere in the future, but
it touches quite a bit of code so I am not comfortable merging to 1.0. Will
appear in 1.0.1.

1.194.2.21 FRAMEWORK_3 (+2 -2 lines) 05/13/2008 02:22 PM Michael M Slusarz slusarz

MFH: Remove remaining static 'href="#"' attributes.

Tags: DIMP_1_0

1.216 (+2 -2 lines) 05/13/2008 02:19 PM Michael M Slusarz slusarz

Remove remaining static 'href="#"' attributes.

1.194.2.20 FRAMEWORK_3 (+5 -1 lines) 05/12/2008 01:48 AM Michael M Slusarz slusarz

MFH: DimpBase.js - 1.59-1.60; DIMP.php - 1.125-1.126; compose.php - 1.143;
message.php - 1.2; index.inc - 1.184; DimpCore.js - 1.424-1.425;
imp.php - 1.215

1.215 (+5 -1 lines) 05/12/2008 01:42 AM Michael M Slusarz slusarz

Allow logout to work properly with CRSF tokens. Logout link can't be a
static link since DIMP session may persist long after token has expired. Need
to generate the logout link at the time we are logging out.

1.194.2.19 FRAMEWORK_3 (+12 -7 lines) 05/06/2008 01:54 PM Michael M Slusarz slusarz

MFH: IMP.php - 1.679-1.682; rss.php - 1.15-1.16; Util.php - 1.426-1.428;
imp/docs/INSTALL - 1.94; dimp/docs/INSTALL - 1.18; dimple.php - 1.18-1.19;
imp.php - 1.213-1.214; cache.php - 1.9; conf.xml - 1.126

Tags: DIMP_1_0_RC4

1.214 (+18 -26 lines) 05/06/2008 01:33 PM Michael M Slusarz slusarz

Use Util::getPathInfo() to always get PATH_INFO.

1.213 (+26 -13 lines) 05/06/2008 01:00 PM Michael M Slusarz slusarz

Don't make PATH_INFO mandatory.

1.194.2.18 FRAMEWORK_3 (+3 -7 lines) 05/02/2008 12:30 AM Michael M Slusarz slusarz

MFH: Split message template into separate preview and fullmessage templates.

1.212 (+3 -7 lines) 04/30/2008 06:21 PM Michael M Slusarz slusarz

Want to get this in before 1.0 because it changes template files so much...
Rework message display code. Preview mode vs. popup message mode are really
two different things. Hard code the message template into both views.  The
major benefit is we no longer have to create the full HTML page/set
event observers every time we view a preview message - we can set it up once
on login and simply update the relevant fields with the new information.
Greatly reduces bandwith and lessens resource needs on server side.  The
only drawback is the change of several templates and the addition of a new
hook for preview messages - since we are dynamically populating at load time,
we can't adopt the old template approach.  But there is a net -1 gain on
template files so that's always a good thing.

1.194.2.17 FRAMEWORK_3 (+8 -26 lines) 04/16/2008 07:58 PM Michael M Slusarz slusarz

Bug: 6248
MFH: imp.php - 1.211; DimpBase.js - 1.36; DIMP.php - 1.119

1.211 (+8 -26 lines) 04/16/2008 07:55 PM Michael M Slusarz slusarz

Bug: 6248
Move prefs screen to an iframe to work around limitations in the current
Prefs_UI system.  Dynamically hide menu on every prefs page (this may result
in a slight flicker when the menu is first displayed then hidden, but I can't
think of another way to do this since obviously DIMP's CSS is worthless inside
the iframe).

1.194.2.16 FRAMEWORK_3 (+3 -2 lines) 04/08/2008 12:32 PM Michael M Slusarz slusarz

MFH: DimpBase.js - 1.33, 1.34; imp.php - 1.210; prefs.js - 1.5

1.210 (+3 -2 lines) 04/08/2008 02:31 AM Michael M Slusarz slusarz

Incorporate prefs js code into DimpBase instead of including it on every ajax
request.

1.194.2.15 FRAMEWORK_3 (+40 -14 lines) 03/28/2008 04:35 PM Michael M Slusarz slusarz

MFH: CHANGES - 1.87; imp.php - 1.209; DimpBase.js - 1.30

1.209 (+40 -14 lines) 03/28/2008 03:27 PM Michael M Slusarz slusarz

Update poll count in destination folder when moving messags.  More generally,
rewrote delete response code to return poll information on current and
destination mailboxes whenever a delete action occurs.

1.194.2.14 FRAMEWORK_3 (+15 -8 lines) 03/17/2008 01:37 AM Michael M Slusarz slusarz

MFH 1.208

1.208 (+15 -8 lines) 03/17/2008 01:20 AM Michael M Slusarz slusarz

Several fixes relating to deleting messages when trash is disabled.

1.194.2.13 FRAMEWORK_3 (+2 -2 lines) 03/14/2008 05:11 PM Michael M Slusarz slusarz

MFH 1.207

1.207 (+2 -2 lines) 03/14/2008 05:10 PM Michael M Slusarz slusarz

Fix removing deleted rows after running PurgeDeleted.

1.194.2.12 FRAMEWORK_3 (+4 -4 lines) 03/10/2008 01:13 PM Michael M Slusarz slusarz

IMP_MailboxCache -> IMP_MessageCache.

Tags: DIMP_1_0_RC3

1.206 (+4 -4 lines) 03/07/2008 08:26 PM Michael M Slusarz slusarz

IMP_MailboxCache -> IMP_MessageCache.

1.194.2.11 FRAMEWORK_3 (+18 -16 lines) 03/07/2008 10:26 AM Michael M Slusarz slusarz

MFH 1.205

1.205 (+18 -16 lines) 03/07/2008 10:18 AM Michael M Slusarz slusarz

Don't do javascript preg substitutions for dimp blocks.

1.194.2.10 FRAMEWORK_3 (+8 -5 lines) 03/04/2008 05:18 AM Michael M Slusarz slusarz

MFH: imp.php - 1.204; DimpBase.js - 1.12; ViewPort.js - 1.217, 1.218

1.204 (+8 -5 lines) 03/03/2008 11:35 AM Michael M Slusarz slusarz

More ViewPort cleanups.  Don't use individual callbacks for viewport AJAX
responses.  Have the server wrap up all ViewPort information in a
'viewport' variable, and then pass this information direct to ViewPort
(via ajaxResponse) and take care of it internally.
Move get slice logic entirely into ViewPort.
Much more efficient ViewPort_Buffer.remove() - no need to clone multiple
objects, and only iterate through range that is actually changing.
When scrolling through a slice that is already being fetched, correctly flag
to display correct offset when slice finally loaded.

1.194.2.9 FRAMEWORK_3 (+2 -2 lines) 02/28/2008 05:02 PM Michael M Slusarz slusarz

MFH: imp.php - 1.203; DimpBase.js - 1.9, 1.10; ShowMessage.php - 1.76, 1.77;
message.php - 1.56

1.203 (+2 -2 lines) 02/28/2008 04:23 PM Michael M Slusarz slusarz

Since ShowPreview is a read-only session operation, it is possible to have
a ShowPreview request pending when another process comes in and removes the
message.  We don't want to lose the advantage of processing these show preview
requests without having an r/w session, so tweak the return a bit so we catch
and don't display inaccurate message not found errors.

1.194.2.8 FRAMEWORK_3 (+6 -4 lines) 02/28/2008 11:49 AM Michael M Slusarz slusarz

MFH: imp.php - 1.202; foldersummary.php - 1.5; newmail.php - 1.14

1.202 (+6 -4 lines) 02/28/2008 11:39 AM Michael M Slusarz slusarz

Don't include an app's stylesheet (including dimp) multiple times.
Don't ever include imp's stylesheet.

1.194.2.7 FRAMEWORK_3 (+2 -2 lines) 02/28/2008 08:21 AM Michael M Slusarz slusarz

MFH 1.201

1.201 (+2 -2 lines) 02/28/2008 08:16 AM Michael M Slusarz slusarz

Fix parameter name.

1.194.2.6 FRAMEWORK_3 (+2 -2 lines) 02/25/2008 03:42 PM Michael M Slusarz slusarz

MFH 1.200

1.200 (+2 -2 lines) 02/25/2008 03:39 PM Michael M Slusarz slusarz

Make sure PATH_INFO is defined.

1.194.2.5 FRAMEWORK_3 (+3 -3 lines) 02/17/2008 10:12 PM Michael M Slusarz slusarz

MFH: Add "Reply To List".

1.199 (+3 -3 lines) 02/13/2008 01:48 AM Michael M Slusarz slusarz

Add "Reply To List" (finally).

1.194.2.4 FRAMEWORK_3 (+53 -44 lines) 02/11/2008 07:50 PM Michael M Slusarz slusarz

Bug: 6011
MFH: Rework ViewPort to correctly handle lists with messages from more than
1 mailbox, among other fixes and optimizations.

1.198 (+53 -44 lines) 02/04/2008 08:47 PM Michael M Slusarz slusarz

Bug: 6011
This is the result of about 2-3 weeks of work.  Completely revamp our method
of providing message lists to viewport in order to be able to handle
multiple folders. Also, refactor ViewPort to remove all (or at least most)
of the IMAP-list-centric architecture so that ViewPort can be used more
easily in the future for any generic kind of lists. Vastly simplify the
code by introducing a ViewPort_Selection object which allows us to refer
to a selection of rows interchangably via either a rownumber, DOM ID, the
unique row ID, or the data object itself. There are still likely some
lingering issues right now, but it would be great if I could get feedback
since this code really needs to get into DIMP 1.0 (I know its late in the
RC process, but these fixes relate to showstoppers IMHO).

1.194.2.3 FRAMEWORK_3 (+2 -2 lines) 01/03/2008 02:07 AM Michael M Slusarz slusarz

Bug: 5234
MFH: Add hook for adding formatting information to a message list row.

Tags: DIMP_1_0_RC2

1.194.2.2 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:30 AM Jan Schneider jan

Happy New Year

1.197 (+2 -2 lines) 01/02/2008 06:11 AM Jan Schneider jan

Happy New Year

1.196 (+2 -2 lines) 12/26/2007 06:01 PM Michael M Slusarz slusarz

[mms] Add hook for adding formatting information to a message list row.

1.194.2.1 FRAMEWORK_3 (+10 -9 lines) 12/24/2007 02:58 AM Michael M Slusarz slusarz

MFH: imp.php - 1.195; DimpCore.js - 1.374

1.195 (+10 -9 lines) 12/24/2007 02:57 AM Michael M Slusarz slusarz

No need to check PATH_INFO twice.
Follow CamelCase convention of naming actions (checkQuota -> CheckQuota).

1.194 (+14 -1 lines) 11/28/2007 10:47 PM Michael M Slusarz slusarz

Move quota checking to a specific dimp action.  Cleaner code and chunkContent
is kind of meant as a catch-all for 3rd party functionality rather than
internal use.
Use IMP::quotaData() to get the quota information to eliminate duplicate code.

Tags: FRAMEWORK_3, BEFORE_MERGE_3_2

1.193 (+2 -1 lines) 11/14/2007 05:31 AM Michael M Slusarz slusarz

Load IMP_Template library where needed

Tags: DIMP_1_0_RC1

1.192 (+6 -3 lines) 11/12/2007 11:54 AM Jan Schneider jan

Only show source link if allowed.

1.191 (+19 -3 lines) 11/06/2007 06:43 PM Jan Schneider jan

Load all applications' CSS files in the portal (Bug #5831).

1.190 (+6 -2 lines) 09/05/2007 07:39 PM Jan Schneider jan

Bend over block links.
Bug: 5699

1.189 (+5 -8 lines) 09/04/2007 06:05 PM Michael M Slusarz slusarz

Clear selected when switching to filter mode.  Don't clear selected when
switching back to full message list.
Fix sort selection changes when in filter mode. Changes made in filter mode
now stick when returning to full message list.

1.188 (+4 -5 lines) 09/04/2007 05:34 PM Jan Schneider jan

The portal is not the preference tool. Resemble the original portal view. Get
rid of calendar block styles.

1.187 (+21 -1 lines) 08/21/2007 05:04 PM Michael M Slusarz slusarz

Add support for sending MDNs from DIMP.

1.186 (+25 -1 lines) 08/21/2007 01:58 PM Michael M Slusarz slusarz

Add ability to poll/unpoll folders from folder context menus.

1.185 (+2 -2 lines) 08/21/2007 12:50 PM Michael M Slusarz slusarz

Bug: 5545
Correctly add bcc addresses when tying to an identity.
Fix identity tying when doing a quickreply.

1.184 (+2 -2 lines) 08/14/2007 03:35 PM Chuck Hagenbuch chuck

Use a read/write session for preferences
Bug: 5607
Submitted by: Michael Rubinsky (mrubinsk@horde.org)

1.183 (+4 -1 lines) 08/10/2007 03:12 AM Michael M Slusarz slusarz

When moving, messages are always removed from current mailbox no matter what
the preference settings.

1.182 (+40 -18 lines) 08/10/2007 02:42 AM Michael M Slusarz slusarz

Bug: 5561
Add purge deleted button.

1.181 (+11 -10 lines) 07/17/2007 09:41 PM Michael M Slusarz slusarz

Better returns from replyMessage() and forwardMessage().

Tags: DIMP_1_0_ALPHA

1.180 (+5 -3 lines) 07/17/2007 09:10 PM Michael M Slusarz slusarz

Bug: 5545
Implement tie-to in quickreply.

1.179 (+2 -4 lines) 07/17/2007 12:44 PM Michael M Slusarz slusarz

Don't need this no_compress call either - now that we call dimp's base.php
first, compression is handled properly.

1.178 (+15 -17 lines) 07/17/2007 04:30 AM Michael M Slusarz slusarz

Even more simplification of this code.

1.177 (+2 -13 lines) 07/17/2007 04:27 AM Michael M Slusarz slusarz

Bug: 5534
Maybe I am missing something obvious, but this much simpler code seems to
correctly display all notifications in DIMP when using options.

1.176 (+2 -1 lines) 07/17/2007 03:28 AM Michael M Slusarz slusarz

Fix redirect to login screen on session timeout.

1.175 (+3 -3 lines) 07/10/2007 12:42 AM Michael M Slusarz slusarz

Have imp.php return indices arrays in string format.

1.174 (+6 -29 lines) 07/06/2007 02:47 AM Michael M Slusarz slusarz

prefs weren't working at all for me due to issues with output compression -
since we were initing compression when calling Horde's base file in
services/prefs.php.
Move JS code to js/.
Duplicate DIMP_BASE entry removed.
ShowOptions can be a read-only AJAX session.

1.173 (+67 -16 lines) 07/04/2007 07:09 PM Jan Schneider jan

Add AJAX preference interface.
Unfortunately my String.evalScripts() implementation at the end of DimpCore.js
doesn't work as expected even though I was sure it did. I could really use
some bright ideas there.

1.172 (+4 -1 lines) 06/19/2007 12:09 PM Michael M Slusarz slusarz

Don't need to rename if folder name has not changed.

1.171 (+36 -18 lines) 06/15/2007 08:23 AM Michael M Slusarz slusarz

Only do expensive message list update when using thread sorting if one of
the messages we are deleting is a member of a thread.

1.170 (+14 -5 lines) 06/15/2007 07:07 AM Michael M Slusarz slusarz

Add more (optional) configuration options to portal.php to allow easier
customization of the portal.

1.169 (+9 -10 lines) 06/13/2007 01:00 PM Jan Schneider jan

Add blacklist, whitelist, and ham buttons.

1.168 (+13 -7 lines) 06/02/2007 01:26 PM Michael M Slusarz slusarz

Implement moving folders by dragging.  Currently, no easy way to move a
folder into the base of the tree.  Also, not 100% reliable yet.

1.167 (+2 -2 lines) 05/28/2007 03:14 PM Michael M Slusarz slusarz

Add select all option.

1.166 (+2 -2 lines) 05/28/2007 11:04 AM Michael M Slusarz slusarz

This is caught elsewhere now.

1.165 (+2 -2 lines) 05/28/2007 10:02 AM Michael M Slusarz slusarz

Move thread information out of cached UID information and into separate
metadata return.  Need to readd clearing/updating all visible rows (at least
for thread view) since thread view may change on viewport update.  Don't clear
cache on reload() call - instead, have AJAX return explictly tell buffer to
update the rowlist only.

Only showing the 100 latest revisions. Show all revisions? (may take a while).