aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/public_body_controller.rb
Commit message (Collapse)AuthorAgeLines
* Convert query to more activerecord 3 formMatthew Landauer2013-01-31-2/+2
|
* Convert query to more activerecord 3 formMatthew Landauer2013-01-31-4/+2
|
* The with_locale has been removed in Globalize3Henare Degan2012-12-11-3/+3
| | | | | | I think Globalize is supposed to pick up the locale from I18n anyway so I don't know if these are needed. I think I still haven't done the right thing but it's time to move on.
* Switch to new method nameHenare Degan2012-12-11-3/+3
|
* Extract methodMatthew Landauer2012-10-24-32/+1
|
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+0
|
* Use faster csv for public body cvs generation, eagerly load tags and ↵Louise Crow2012-09-12-8/+7
| | | | translations.
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-17/+17
| | | | wombleton:feature/440_sparkly_admin_css)
* Make better wording at the top of the page listing subsets of public bodies. ↵Seb Bacon2012-01-30-4/+8
| | | | At the same time, cause the tests not to rely on WDTK data. Fixes #396
* Fix problem with typeahead searches containing " - " characters and similar. ↵Seb Bacon2012-01-11-7/+1
| | | | Closes #328
* Make sure paging authority list works even when using typeahead searchSeb Bacon2012-01-09-1/+1
|
* now we have so many public bodies, there's not much point listing so many on ↵Seb Bacon2012-01-06-1/+1
| | | | one page and having massive page download sizes
* Don't do wildcard searches for partial matches in type ahead searches. ↵Seb Bacon2011-12-21-5/+8
| | | | Fixes #310.
* When listing public bodies, instead of showing only those with translations ↵Seb Bacon2011-12-02-6/+6
| | | | in the current locale, show all those that have entries in the default locale. When there is no translation present for a locale, it will fall back to the default translation. Fixes #280.
* Throw exception if body not found, 404 are handled on the ApplicationControllerDavid Cabo2011-09-26-9/+3
|
* Show 404 instead of error page when body can't be found. Fixes #196David Cabo2011-09-25-1/+4
|
* Handle localized urls when showing public body email. Fixes #195David Cabo2011-09-25-2/+6
|
* Remove invalid collate argument for public body searchesDavid Cabo2011-09-23-1/+1
| | | | The existing bug wasn't catched by the tests, because it only fails when running in dev: otherwise all the classes are loaded before the search is done, and acts_as_xapian can find the provided 'request_collapse' argument, even if the PublicBody class doesn't define it, since all the init options end up together in acts_as_xapian.
* Wrap categories loading into singleton and add support for multiple locales ↵David Cabo2011-09-19-2/+2
| | | | simultaneously. Fixes #178
* Hide Internal Admin from user, but using SQL conditions instead, fixes #173David Cabo2011-09-07-2/+4
|
* Hide Internal Admin body from the user, fixes #173David Cabo2011-09-06-1/+2
|
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developDavid Cabo2011-09-03-0/+1
|\
| * Fixes to get tests pass following new design changesSeb Bacon2011-09-01-0/+1
| |
* | Merge branch 'asktheeu-new-design' into develop (update New Request workflow ↵David Cabo2011-09-01-0/+12
|\ \ | |/ |/| | | to match new wireframes)
| * implementing new request wireframes: new page to select authority to write toDavid Cabo2011-08-02-0/+12
| |
| * Add cache headers to various pages (in three categories: short, medium, and ↵Seb Bacon2011-07-25-0/+2
| | | | | | | | long).
* | Merge branch 'develop' into new-base-design-sebSeb Bacon2011-08-30-1/+1
|\ \
| * | Additional changes omitted from commit ↵Seb Bacon2011-08-30-1/+1
| | | | | | | | | | | | 9d8388c03d0faeaca29d233a340c58bd65f28a97 (distinguish 404s and 500s), fixes #161.
* | | Correct previous bad mergesSeb Bacon2011-08-29-1/+3
|/ /
* | Add tests & fixes for new search/filtering functionalitySeb Bacon2011-08-29-6/+6
| |
* | Further work in progress on better search functionalitySeb Bacon2011-08-29-11/+7
| |
* | more work in progress on search formsSeb Bacon2011-08-29-10/+19
| |
* | Add cache headers to various pages (in three categories: short, medium, and ↵Seb Bacon2011-07-26-0/+2
|/ | | | long).
* initial merge of Kosovan branch; still need to get tests passing, factor out ↵Seb Bacon2011-07-06-3/+6
|\ | | | | | | Kosovan-specific code
| * I18n string for controllersFaton Selishta2011-06-30-1/+1
| |
| * I18n fixFaton Selishta2011-06-02-1/+1
| |
| * added i18n strings in controller's templateFaton Selishta2011-04-26-1/+1
| |
* | ensure all with_locale calls end with explicit renderSeb Bacon2011-06-13-7/+8
| |
* | Make sure the template rendering happens within the scope ofSeb Bacon2011-06-13-5/+8
|/ | | | | with_locale, so it's rendered using the correct locale. (+ test for this)
* fix bad merges from rebase with masterSeb Bacon2011-03-10-1/+1
|
* new i18n tests for controllers and associated fixesSeb Bacon2011-03-10-47/+56
|
* Factor out some of the JSON generationFrancis Irving2010-10-20-17/+1
|
* Note about sensitivity. Update todo.Francis Irving2010-10-09-1/+2
|
* Link to Atom JSON equivalents in HTTP header. Document.Francis Irving2010-10-09-1/+1
|
* Send basic info about public bodies.Francis Irving2010-10-09-0/+20
|
* Factor out model of public body tags into generic tag string modelFrancis Irving2010-09-29-7/+11
|
* This doesn't work with all the Rails cookies.Francis Irving2010-09-06-2/+0
|
* Rename function so doesn't say "squid" in itFrancis Irving2010-09-06-1/+1
|
* Allow links to specific tags.Francis Irving2010-08-04-0/+4
|
* Use machine tag instead of special charity fieldFrancis Irving2010-07-26-2/+0
|