…ard). Simplifying logic in app/helpers/search_sources_helper.rb
…ldn't have been.
…t indefinite page load times. Default is 2 seconds per search source.
…es for the basis of the engine.
…an just drop them in without having to edit init.rb)
…credit links in html and displayed below search source results
* Moved or_syntax to the model so the dependancy of acts_as_configurable is no longer needed. * Added and_syntax and not_syntax support, which will convert users input to the case needed for a search source * Wrapping Feedzirra fetch because parsing errors may occur and cause the page to return an error 500.
…providing a text input for users to add their api key before importing.
* Updated README.rdoc to include more detail about its developers and funding. Also contains clearer instructions, more detail about source targets, and a section on translating. * Adding ability to sent limit along to the search source for possible speed boosts. A limit_param is set when making/editing search source, which if not empty, is used when it fetches the results. * Search source model has been cleaned up, to make it clearer which methods should be called and which shouldn't. * Fixing a bug with the more link (would not show up unless source.limit was under 3). Also now takes into account options[:limit] * Few more tests and changes to existing ones for model changes.
* Updated README.rdoc to reflect recent changes and give better formatting. * Added ability to load test data from the engines controller web interface (rather than having to use the console) * Two methods that require a specific environment now call super (for overriding) and fall back to defaults if super doesn't exist. * Ability to override the search source boxes title (pass :title into the view helper) * Added a bunch of tests to make sure various parts of the code are working. Still need to do actual fetch tests, but left them out until I find a way to get it done without internet connection (which makes tests slow).
…iles. One preset one for people to try out. Switched from MIT license to GPL2. Refined language strings a bit. Cache interval and limit are no longer needed to make a search source (if not supplied, they'll fall back to defaults). Hiding cache interval field if caching is disabled. Updating README.rdoc file for developers.
* NEW: Added source target - search source field that allows you to limit search sources to various pages of the site, rather than have them all displayed. * CHANGE: Allow caching to be turned off on a page by page basis. * CHANGE: Allow the limit to be overwritten from the search source default by passing in :limit option to the display_search_sources method. * BUGFIX: Configuration options were using the old style and were failing. * BUGFIX: In the case that search text was nil or blank, we now show nothing.