Marc Groot Koerkamp wrote :
> Luis Norambuena said:
>> I made a test with Squirrel 1.5.1-cvs (Snapshot
>> 20040502) and SEARCH works fine!
Good ;)

>> Must I upgrade my 1.4.3 installation to 1.5.1, or are
>> you going to fix this SEARCH problem in the STABLE
>> version?
>>
> It's not a matter of fixing 1.4.3. We have to backport a lot of changes
> from devel to stable and that's not going to happen in 1.4.3.
>
> The implementation of search in 1.5.1 completely differs from 1.4.3.
> Probably after we released 1.4.3 we should backport those changes which is
> probably a hell of a job due to other related fixes.
> (Alex, any thoughts on this? )
I spent some time in the last few days on it and just committed a new
version that allows basic or advanced search and is (should be ;)
compatible with any 1.4.x or 1.5.x, among other things. So backporting is
(should be ;) just a matter of tests. Of course 1.5.x contains many other
fixes/features unrelated to search that are worth having.

> Temporarely fixing 1.4.3 is not an option for me because I think the
> search routines in 1.4.3 are broken by design and I don't like wasting my
> time on that.
Same for me.

> In the meantime you could try the advanced search plugin on 1.4.3. That's
> the plugin where the new search in 1.5.1 is based on.
Unfortunately, due to hard-wired references to 'search.php', the code
cannot really be used as a regular plugin without loosing back-and-forth
abilities. It would need some code patching using Brad's HTTP_REFERER
method for instance, so it's still easier to replace the original
search.php.
The newest code (available via anonymous cvs from tomorrow only) should
contain the same good ole' search ui fonctionalities, with added BCC and
NOT options. I left them because I think they are unobtrusive and often
useful, but it's a matter of personal taste. It is also honouring the new
$allow_advanced_search option that Stefan added to conf.pl/config.php, so
it can be controlled by the administrator.
It would be great if the people interested in having a basic search
interface could test it, so it could eventually be available in a stable
distro at some point. In the mean time, the src/search.php replacement and
its companion functions/imap_asearch.php can be released as stand-alone
files (not a plugin) if people require it.
The 2 next steps are to put/get the search criteria into the session, and
add a paginator.

Thoughts, comments, reports ;) ?

Alex.




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to