aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body.rb
Commit message (Expand)AuthorAgeLines
* 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
* | Add a info_requests_visible_classified_count column to PublicBodyMark Longair2013-11-05-20/+22
* | Update the helpful model schema annotationsMark Longair2013-11-01-17/+20
* | Add a rake task to import public bodies from a CSV fileMark Longair2013-10-15-0/+2
* | Fix upcasing of a non-US-ASCII first letter under Ruby 1.8Mark Longair2013-10-04-1/+1
|/
* Merge branch 'feature/hide-individual-responses' into rails-3-developLouise Crow2013-09-17-18/+18
|\
| * Re-annotate models with database fieldsLouise Crow2013-09-16-18/+18
* | Don't dirty the first_letter attribute when not changed.Louise Crow2013-09-05-3/+14
* | Don't re-index body when updating statsLouise Crow2013-09-05-0/+1
* | Don't save versions of new counter cache columnsLouise Crow2013-09-05-1/+5
* | Don't include NULL column values in the statisticsMark Longair2013-08-20-1/+1
* | Refactor calculation of statisticsMark Longair2013-08-20-0/+59
|/
* Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-2/+2
* Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-2/+2
|\
| * PublicBody model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-9/+10
* | Update to globalize3 methodHenare Degan2013-02-07-1/+1
* | Overwriting validate has been deprecatedHenare Degan2013-01-25-9/+12
* | Merge branch 'rails_xss' into rails-3-spikeMatthew Landauer2013-01-25-0/+2
|\|
| * Merge remote-tracking branch 'mysociety/develop' into rails_xssMatthew Landauer2013-01-15-0/+2
| |\
| | * Don't export the fake authorities that we use for admin.Louise Crow2013-01-08-0/+2
* | | Change method name as it conflicts with globalize3 method nameHenare Degan2013-01-24-1/+1
* | | PublicBody.locale doesn't exist anymoreMatthew Landauer2013-01-04-2/+2