summaryrefslogtreecommitdiff
path: root/modules/search
AgeCommit message (Collapse)Author
2013-01-30Improve the display context API to return a "siblings_callback" fieldBharat Mediratta
containing a callback that returns all the siblings. Fixes #1975.
2013-01-22gallery.menalto.com -> galleryproject.orgBharat Mediratta
codex.gallery2.org -> codex.galleryproject.org Fixes #1957.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-12-17Minor whitespace fix.Bharat Mediratta
2012-12-14fix, use $current->scoreChris Chilvers
2012-12-14search within the current album by defaultChris Chilvers
When searching, limit search results to the current album. In the search results screen, display which album was searched and provide a link to search the whole gallery.
2012-12-09Eliminate the search context if we encounter an item that cannot beBharat Mediratta
found in the search results. Fixes #1923.
2012-06-05Remove <h2> added in last commit, it's unclear why that's necessary. The ↵Bharat Mediratta
last commit had the wrong ticket #, this actually resolves 1878.
2012-06-05CSS Style Update to match with other viewTony Fung
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-11-03In get_position() don't try to truncate the score if it's empty. Follow-on ↵Bharat Mediratta
to ce43f29e2ceaac3d638061f81dc6037b5e0018d3
2011-10-26Follow on to 7f62f09cf377b92b615e456ec4539300b331fd4b for #1663 to fix badBharat Mediratta
query syntax, pointed out by Singularis in http://gallery.menalto.com/gallery_3.0.2_feedback#comment-383135
2011-08-27Refactor the display context code a bit:Bharat Mediratta
1) Move the display context code into the controller themselves so that it's more logically a continuation callback from the original controller rendering code. 2) Simplify the display context set/get code and put it in the item helper, it's just a couple of lines of code now. 3) Add more descriptive breadcrumb strings
2011-08-11Patch for tickets #1428 and #1760Tim Almdal
Create the concept of a Photo_Display_Context. If the user is browsing a dynamic album (i.e. tags) and chooses to look at an image in that album. The display of the image happens correctly, but the 'next' and 'previous' buttons are no longer consistent. When one of these is clicked, Gallery will open the adjacent image in the actuall album, not the dynamic album.
2011-08-11Simplification of 59b04b897b8a664cd7334b017fac8158a6281434 for #1764:Bharat Mediratta
- Breadcrumb::build_from_item becomes Breadcrumb::array_from_item_parents - Eliminate Breadcrumb::$id -- it's no longer necessary - Fold Breadcrumb::generate_show_query_strings into Breadcrumb::array_from_item_parents - Create Breadcrumb::set_first() and Breadcrumb::set_last() - Breadcrumb::build_from_list goes away, we just use arrays for this - Change Search_Controller and Tag_Controller to just create an array of Breadcrumb instances with the first/last marked appropriately - Breadcrumb_Test loses a bunch of complexity.
2011-08-11Initial commit of a patch for Ticket #1764. as discussed here: ↵Tim Almdal
https://github.com/gallery/gallery3/pull/58/files#r72949. Create a Breadcrumb library which has two static methods for_item (which takes a an item and builds the entire breadcrumb for the item) or build (which takes a variable number of Breadcrumb elements and creates a breadcrumb based on the specified elements). Used tag->url() to build the tag album url. Escaped the query string for the search. Tightened up the breadcrumb code in page.html.php. When adding the show query parameter, we can't blindly concatenate using the ? separator. We have to check that we use a & if a query parameter already exists.
2011-07-24Patch for ticket #1763. Where offset could be converted to a null string. ↵Tim Almdal
It's not really a problem in the current release, but will cause isses when we serialize the offset as part of the display context.
2011-04-23Oops, fix broken codex urls. For #1698.Bharat Mediratta
2011-04-23Oops, this is the rest of the modules and themes for #1696 and #1698.Bharat Mediratta
2011-04-02Sanitize page value before setting offset based on itJoe7
2011-03-27Improve search to use wildcard matching, thanks to some code from tempg.Bharat Mediratta
Fixes #1663.
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-15whitespace fix.Bharat Mediratta
2011-01-03Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569Joe7
2010-10-25All modules should be named Xxx_Core for extensibility. Fixes #1458.Bharat Mediratta
2010-09-11Tune timeouts to work better on large installs.Bharat Mediratta
2010-08-21Added text and submit classes to search form input and submit buttons, ↵Chad Kieffer
respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode.
2010-06-11Remove the duplicate query when searching as pointed out by joe7 on ticket #844Tim Almdal
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
2010-01-09Fix for ticket #972 and more. In Kohana 2.4, ORM::delete_all ignores any whereTim Almdal
clauses and deletes all the entries in the table unless an array of id's are passed as the parameter. This fix used the Database_builder to specify any where conditions. Thanks psvo for find the first one. :-)
2009-12-21Updates for the latest version of Kohana 2.4:Bharat Mediratta
1) Controller::$input is gone -- use Input::instance() now 2) Handle new 'database.<default>.connection.params' parameter 3) Handle new 'cache.<default>.prefix' parameter
2009-12-18Database::escape_str() is now Database::escape().Bharat Mediratta
2009-12-02Fix a bunch of places where we were using "= null" instead of "IS NULL".Bharat Mediratta
2009-12-02Convert more database calls over to the new formatBharat Mediratta
- admin/maintenance page loads, the rebuild thumbs/resizes task works - Fixed up some conversion bugs in the Cache driver
2009-11-26Database::orwhere() is now Database_Builder::or_where()Bharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
2009-11-21Truncate the text of the title/description for results on the search page. ↵Bharat Mediratta
Partial fix for ticket #580.
2009-11-20The search results page is a "collection" page type.Bharat Mediratta
2009-11-19Revert "Create theme::get_var(), theme::set_var() methods to set the options ↵Tim Almdal
of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme." This reverts commit 26114972c3388f065220b94a0d5962f20a6ccd0c.
2009-11-18Create theme::get_var(), theme::set_var() methods to set the options of the ↵Tim Almdal
active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme.
2009-11-17Redesign the way that we consider page types to create buckets of pageBharat Mediratta
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
2009-11-14Add in proper template variables to support pagination.Bharat Mediratta
2009-11-14Rename "pager" to "paginator" so that we differentiate page.html.phpBharat Mediratta
from paginator.html.php
2009-11-01Remove g-right from quick search form, leave positioning to the theme.Chad Kieffer
2009-10-28Normalize capitalization ticket #596Tim Almdal
2009-10-28Initial RTL update work. Consolidated shared rtl-related css selectors in ↵Chad Kieffer
gallery.common. Applied g-right and g-left to a few banner items, including login menu and the logo.
2009-10-26Merge branch 'master' into talmdal_devTim Almdal
2009-10-25Add clearfix to search results gallery-grid to clear the pager navigation. ↵Chad Kieffer
Other minor search results style updates. Don't display legends in short forms.