aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body.rb
Commit message (Expand)AuthorAgeLines
* Fix translating Public BodiesGareth Rees2015-03-18-28/+17
* Use routing helper to generate localised urls.Louise Crow2015-03-05-25/+0
* Remove 'html' param.Louise Crow2015-03-05-7/+3
* Merge branch '2134-fix-same-attribute-value-across-locales' into rails-3-developLouise Crow2015-02-23-80/+99
|\
| * Refactor massive import method into smaller instance level methodsLouise Crow2015-02-23-89/+83
| * Use standard spacing for hashes, new lines for commentsLouise Crow2015-02-23-2/+3
| * Test localised value for import against existing localised valueLouise Crow2015-02-23-2/+26
* | Move logic to modelLouise Crow2015-02-20-0/+5
* | Use correct method name in error.Louise Crow2015-02-20-1/+1
* | Refactor common logicLouise Crow2015-02-20-15/+7
* | Standard separation of methods.Louise Crow2015-02-20-1/+3
* | Merge branch 'hotfix/0.20.0.6' into rails-3-developLouise Crow2015-02-05-3/+16
|\ \
| * | Deprecate PublicBody#translations_attributes=(Array)Gareth Rees2015-02-03-0/+13
| * | Fix submission of form containing both existing and new translationsLouise Crow2015-02-03-2/+2
| * | Add specs for PublicBody#translated_versions=Gareth Rees2015-01-30-1/+1
| |/
* | Use each_with_index rather than magic booleanGareth Rees2015-02-04-2/+2
* | Use map instead of creating empty arrayGareth Rees2015-02-04-3/+4
* | Nicer capitalize first letter onlyGareth Rees2015-02-04-5/+4
* | Use each instead of forGareth Rees2015-01-23-1/+1
* | Remove home-grown Array#to_sentence dupGareth Rees2015-01-23-8/+4
|/
* Try to avoid n+1 queries, and multiple admin authority queries.0.20.0.1hotfix/0.20.0.1Louise Crow2014-12-18-2/+3
* Group PublicBody callbacks and macros at topGareth Rees2014-10-29-18/+21
* Remove old PublicBodyCategories calls.Louise Crow2014-10-09-2/+2
* fixup! Basic category admin screenLouise Crow2014-09-24-5/+5
* Make csv import fields a class attribute that can be overridenSteven Day2014-08-22-1/+19
* Merge branch 'issues/1415-bulk-update-public-bodies' into rails-3-developGareth Rees2014-06-25-39/+3
|\
| * Move PublicBody domain logic from controllerGareth Rees2014-06-06-0/+3
| * Extract public body CSV export to its own classGareth Rees2014-06-06-39/+0
* | Rename XXX comments with TODO:Gareth Rees2014-06-10-2/+2
|/
* Add PublicBody.searchGareth Rees2014-05-01-0/+28
* Handle validation errors in PublicBody.import_csvGareth Rees2014-04-14-1/+9
* Add missing validation to PublicBodyGareth Rees2014-04-14-0/+1
* Add default blank string to PublicBody@short_nameGareth Rees2014-04-09-1/+1
* Use more semantic allow_blank validationGareth Rees2014-04-09-1/+1
* Merge branch 'feature/batch-requests' into rails-3-developLouise Crow2014-01-29-0/+1
|\
| * Add InfoRequestBatch model.Louise Crow2013-12-04-0/+1
* | Ignore translations when finding the internal admin bodyMark Longair2014-01-14-15/+19
* | Merge branch 'feature/locale-underscore-fixes' into rails-3-developLouise Crow2013-12-09-3/+4
|\ \
| * | Make sure globalize uses the right locale version when updating.Louise Crow2013-12-05-2/+2
| * | Search for bodies using the underscore version of the locale.Louise Crow2013-12-05-1/+2
| |/
* / Fix the command-line CSV importer under Ruby 1.9Mark Longair2013-12-03-4/+19
|/
* Merge remote-tracking branch 'origin/merged-rails-3-2-assset-pipeline' into r...Louise Crow2013-11-29-1/+0
|\
| * Merge branch 'feature/rails-3-2-upgrade-spike' into feature/switch-to-asset-p...Mark Longair2013-11-29-1/+0
| |\
| | * Remove virtual attribute created_atLouise Crow2013-11-12-1/+0
* | | Use built-in SQL quoting.Louise Crow2013-11-25-2/+3
* | | Move getting popular bodies into a model method.Louise Crow2013-11-25-0/+23
|/ /
* | Reduce the memory used to serve /body/all-authorities.csvMark Longair2013-11-14-5/+3
* | Don't include public bodies tagged 'test' in public body statisticsMark Longair2013-11-07-2/+12
* | Add "(n)" to the tooltips on the stats graphsMark Longair2013-11-05-2/+4
* | For percentage stats, exclude hidden or unclassified requestsMark Longair2013-11-05-1/+1