[commits] Horde branch master updated. e6a5a80835ffcf5a625383ad0d68754676c42b71

Michael M Slusarz slusarz at horde.org
Mon Sep 20 05:43:57 UTC 2010


The branch "master" has been updated.
The following is a summary of the commits.

from: df8469fd272df56f33085ab018a0f7de1535ebb6

9351a5d Fix deletion of messages in virtual folders.
ee41bef Fix warning if no indices exist in object.
a885d6b Need to escape these values
e6a5a80 Rewrite of IMP search handling.

-----------------------------------------------------------------------

commit 9351a5d5f564df97d6bc2ed4ce1fa00665e5d5be
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Fri Sep 17 23:54:35 2010 -0600

    Fix deletion of messages in virtual folders.
    
    Can't rely on global IMP_Mailbox instances, since the master mailbox is
    instead the search mailbox. Need to explicitly pass in the mailbox
    object to be updated.

 imp/lib/Message.php |   55 +++++++++++++++++++++++++++++++++++++-------------
 imp/message.php     |   25 ++++++++++++++++++++--
 2 files changed, 62 insertions(+), 18 deletions(-)

http://git.horde.org/diff.php/imp/lib/Message.php?rt=horde-git&r1=7980771d0684f78a9f996512a6c38b6df3f3491b&r2=9351a5d5f564df97d6bc2ed4ce1fa00665e5d5be
http://git.horde.org/diff.php/imp/message.php?rt=horde-git&r1=7277728730e6ab11d05f3a5f0c7133315a350917&r2=9351a5d5f564df97d6bc2ed4ce1fa00665e5d5be

-----------------------------------------------------------------------

commit ee41befbee2e640ba74e255e9bd4a15d0fd675d2
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Sat Sep 18 00:26:11 2010 -0600

    Fix warning if no indices exist in object.

 imp/lib/Indices.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

http://git.horde.org/diff.php/imp/lib/Indices.php?rt=horde-git&r1=a5fc25ac47ede9d08e683a5cd6112f5e00925e03&r2=ee41befbee2e640ba74e255e9bd4a15d0fd675d2

-----------------------------------------------------------------------

commit a885d6b4944e2c414c99e55cca636c5b817fd7c6
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Sun Sep 19 23:15:40 2010 -0600

    Need to escape these values

 imp/lib/Prefs/Ui.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

http://git.horde.org/diff.php/imp/lib/Prefs/Ui.php?rt=horde-git&r1=7277728730e6ab11d05f3a5f0c7133315a350917&r2=a885d6b4944e2c414c99e55cca636c5b817fd7c6

-----------------------------------------------------------------------

commit e6a5a80835ffcf5a625383ad0d68754676c42b71
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Sun Sep 19 23:33:16 2010 -0600

    Rewrite of IMP search handling.
    
    Total rewrite of search system.
    
    Search queries, elements, and virtual folders broken into separate
    classes for easier generation and better encapsulation of the data.
    Also allows for more complex search types - for example, the "To:"
    header search has been replaced by the Recipients search, which searches
    all of To/Cc/Bcc. Another example: the bulk search query has been
    created (although it is not yet implemented in the UI).
    
    Virtual folder maintenance is now handled within a prefs groups to
    consolidate duplicate code in both imp and dimp.
    
    Internal storage of virtual folders has changed. IMP 4 virtual folders
    will be automatically converted, but any virtual folders created using
    git code in the last year or so is now invalid and no upgrade path is
    available.
    
    Removed the use_vinbox, use_vtrash, vinbox_id, and vtrash_id prefs.

 imp/config/prefs.php.dist                           |   60 +-
 imp/docs/UPGRADING                                  |    4 +
 imp/folders.php                                     |    8 -
 imp/js/dimpbase.js                                  |   55 +-
 imp/js/search.js                                    |  120 ++-
 imp/js/searchesprefs.js                             |   45 +
 imp/lib/Ajax/Application.php                        |    8 +-
 imp/lib/Api.php                                     |    2 +-
 imp/lib/Application.php                             |   19 +-
 imp/lib/Auth.php                                    |   11 +-
 imp/lib/Block/Newmail.php                           |    2 +-
 imp/lib/Dimp.php                                    |   13 +
 imp/lib/Filter.php                                  |    2 +-
 imp/lib/Folder.php                                  |    6 -
 imp/lib/IMP.php                                     |   38 +-
 imp/lib/Imap/Flags.php                              |   25 +
 imp/lib/Imap/Tree.php                               |   73 +-
 imp/lib/Imap/Tree/Element.php                       |   35 +-
 imp/lib/LoginTasks/SystemTask/GarbageCollection.php |    3 +-
 imp/lib/LoginTasks/SystemTask/UpgradeFromImp4.php   |  111 ++-
 imp/lib/LoginTasks/Task/PurgeSentmail.php           |    2 +-
 imp/lib/LoginTasks/Task/PurgeSpam.php               |    2 +-
 imp/lib/LoginTasks/Task/PurgeTrash.php              |   25 +-
 imp/lib/Mailbox.php                                 |    2 +-
 imp/lib/Message.php                                 |   35 +-
 imp/lib/Mime/Viewer/Partial.php                     |    2 +-
 imp/lib/Prefs/Ui.php                                |  158 +++-
 imp/lib/Search.php                                  |  847 +++++++------------
 imp/lib/Search/Element.php                          |   99 +++
 imp/lib/Search/Element/Bulk.php                     |   56 ++
 imp/lib/Search/Element/Date.php                     |   82 ++
 imp/lib/Search/Element/Flag.php                     |   66 ++
 imp/lib/Search/Element/Header.php                   |   60 ++
 imp/lib/Search/Element/Or.php                       |   43 +
 imp/lib/Search/Element/Recipient.php                |   71 ++
 imp/lib/Search/Element/Size.php                     |   68 ++
 imp/lib/Search/Element/Text.php                     |   65 ++
 imp/lib/Search/Element/Within.php                   |  101 +++
 imp/lib/Search/Query.php                            |  249 ++++++
 imp/lib/Search/Vfolder.php                          |   24 +
 imp/lib/Search/Vfolder/Vinbox.php                   |   92 ++
 imp/lib/Search/Vfolder/Vtrash.php                   |   95 +++
 imp/lib/Tree/Flist.php                              |   27 +-
 imp/lib/Ui/Search.php                               |  166 ----
 imp/lib/Views/ListMessages.php                      |   91 +--
 imp/mailbox-mimp.php                                |   14 +-
 imp/mailbox.php                                     |   46 +-
 imp/rss.php                                         |    4 +-
 imp/search-basic.php                                |   71 ++-
 imp/search.php                                      |  356 ++++++--
 imp/templates/dimp/index.inc                        |    8 +-
 imp/templates/imp/mailbox/header.html               |    3 -
 imp/templates/imp/search/search-basic.html          |   26 +-
 imp/templates/imp/search/search.html                |   29 +-
 imp/templates/prefs/searches.html                   |   43 +
 imp/templates/prefs/trash.html                      |    2 +
 imp/themes/dimp/screen.css                          |    2 +-
 imp/themes/screen.css                               |   37 +-
 imp/themes/silver/dimp/screen.css                   |    2 +-
 59 files changed, 2550 insertions(+), 1261 deletions(-)
 create mode 100644 imp/js/searchesprefs.js
 create mode 100644 imp/lib/Search/Element.php
 create mode 100644 imp/lib/Search/Element/Bulk.php
 create mode 100644 imp/lib/Search/Element/Date.php
 create mode 100644 imp/lib/Search/Element/Flag.php
 create mode 100644 imp/lib/Search/Element/Header.php
 create mode 100644 imp/lib/Search/Element/Or.php
 create mode 100644 imp/lib/Search/Element/Recipient.php
 create mode 100644 imp/lib/Search/Element/Size.php
 create mode 100644 imp/lib/Search/Element/Text.php
 create mode 100644 imp/lib/Search/Element/Within.php
 create mode 100644 imp/lib/Search/Query.php
 create mode 100644 imp/lib/Search/Vfolder.php
 create mode 100644 imp/lib/Search/Vfolder/Vinbox.php
 create mode 100644 imp/lib/Search/Vfolder/Vtrash.php
 delete mode 100644 imp/lib/Ui/Search.php
 create mode 100644 imp/templates/prefs/searches.html

http://git.horde.org/diff.php/imp/config/prefs.php.dist?rt=horde-git&r1=af6ed3fb72eb8940f6564e8efccf683bdb78d8c4&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/docs/UPGRADING?rt=horde-git&r1=6fa2e17b5837ca3cb53bc35641b29824a03ea08a&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/folders.php?rt=horde-git&r1=7277728730e6ab11d05f3a5f0c7133315a350917&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/js/dimpbase.js?rt=horde-git&r1=354f56b3b0d8112b3d7bb7d4624330de9d6c2d85&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/js/search.js?rt=horde-git&r1=d1b477c104edb2c52b95f5e3097beeefd48b3bd3&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/js/searchesprefs.js?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Ajax/Application.php?rt=horde-git&r1=17dedaed2a260044770fe1dc0b368de469d0b8f6&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Api.php?rt=horde-git&r1=2f4586dcf17324b98eb90fe0a81b4b9b8fb2478b&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Application.php?rt=horde-git&r1=f5572e6e941c25e9c0325019f9456fde2aa5741c&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Auth.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Block/Newmail.php?rt=horde-git&r1=37a428f865c64b4605a428973d14487a477bc512&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Dimp.php?rt=horde-git&r1=1ca9d5c85057326aef567d0045924601ac13629d&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Filter.php?rt=horde-git&r1=a5fc25ac47ede9d08e683a5cd6112f5e00925e03&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Folder.php?rt=horde-git&r1=0e25e36e22e7849db29081ff2fd991c6f368aebd&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/IMP.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Imap/Flags.php?rt=horde-git&r1=8895b50e360862005e345c93e205cebbfd24bbab&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Imap/Tree.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Imap/Tree/Element.php?rt=horde-git&r1=cb0acd0149cad3637bd3319716f2a051a82eed70&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/LoginTasks/SystemTask/GarbageCollection.php?rt=horde-git&r1=1065ab77abdfe7b025e24dab33a2db9cbbea90ac&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/LoginTasks/SystemTask/UpgradeFromImp4.php?rt=horde-git&r1=01a19acd3015ab7b7e89133dc7f64893bc6c4943&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/LoginTasks/Task/PurgeSentmail.php?rt=horde-git&r1=a5fc25ac47ede9d08e683a5cd6112f5e00925e03&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/LoginTasks/Task/PurgeSpam.php?rt=horde-git&r1=bf4719ffd4d666e00287a27dc1f42085a36ccb0e&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/LoginTasks/Task/PurgeTrash.php?rt=horde-git&r1=a5fc25ac47ede9d08e683a5cd6112f5e00925e03&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Mailbox.php?rt=horde-git&r1=97bdf350b9aa13d3ee8dd575d7ac20e8cc26ba05&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Message.php?rt=horde-git&r1=9351a5d5f564df97d6bc2ed4ce1fa00665e5d5be&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Mime/Viewer/Partial.php?rt=horde-git&r1=a5fc25ac47ede9d08e683a5cd6112f5e00925e03&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Prefs/Ui.php?rt=horde-git&r1=a885d6b4944e2c414c99e55cca636c5b817fd7c6&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Search.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Bulk.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Date.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Flag.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Header.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Or.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Recipient.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Size.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Text.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Element/Within.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Query.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Vfolder.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Vfolder/Vinbox.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/lib/Search/Vfolder/Vtrash.php?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Tree/Flist.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Ui/Search.php?rt=horde-git&r1=d1b477c104edb2c52b95f5e3097beeefd48b3bd3&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/lib/Views/ListMessages.php?rt=horde-git&r1=265a4f89d756745cd6254a4decd44ec33ac978d5&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/mailbox-mimp.php?rt=horde-git&r1=e20fab25bf99a04fdda2fbfc2ef0bdfdc60dca26&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/mailbox.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/rss.php?rt=horde-git&r1=d95db6493f5bd74089776868c1bd1715f5eccacc&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/search-basic.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/search.php?rt=horde-git&r1=9f991643afb408b96ac210d4b7aa4a7349133572&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/templates/dimp/index.inc?rt=horde-git&r1=814e2509aef27451e94e68a986c027cfe5993c08&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/templates/imp/mailbox/header.html?rt=horde-git&r1=4610569c2a8015d47b0dd6c41ed5258c2a04b3c9&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/templates/imp/search/search-basic.html?rt=horde-git&r1=55b00688ec61efc6d4b74eb5d7bd928ffb9a541a&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/templates/imp/search/search.html?rt=horde-git&r1=99bd829e7f5f6b49997435525f135e266c26bfc1&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/co.php/imp/templates/prefs/searches.html?rt=horde-git&r=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/templates/prefs/trash.html?rt=horde-git&r1=0d69a0076ef7e6da85afff8bfaa82f917424bcf6&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/themes/dimp/screen.css?rt=horde-git&r1=f63271888ac1442d761bca7f334e62ee0aaa0ca3&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/themes/screen.css?rt=horde-git&r1=16426015731aabfac3b2e1d2944e86fa4d66e3aa&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71
http://git.horde.org/diff.php/imp/themes/silver/dimp/screen.css?rt=horde-git&r1=814e2509aef27451e94e68a986c027cfe5993c08&r2=e6a5a80835ffcf5a625383ad0d68754676c42b71




More information about the commits mailing list