aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body.rb
Commit message (Collapse)AuthorAgeLines
* Restore disclosure log fields.Louise Crow2012-10-24-0/+2
|
* Merge remote-tracking branch ↵Louise Crow2012-10-24-0/+37
|\ | | | | | | | | | | | | 'openaustralia_github/csv_export_internal_admin_authority_bug' into develop Conflicts: app/controllers/public_body_controller.rb
| * added notes to csv exportMatthew Landauer2012-10-24-0/+2
| |
| * When exporting the authorities as csv don't include the internal admin authorityMatthew Landauer2012-10-24-2/+2
| |
| * Extract methodMatthew Landauer2012-10-24-0/+35
| |
* | Allow disclosure_log to be imported in csvMatthew Landauer2012-10-22-1/+1
|/
* Don't include admin authority in count on home pageMatthew Landauer2012-10-17-0/+6
|
* Rerun annotate -mMatthew Landauer2012-10-11-1/+1
|
* Use new Configuration for OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILSMatthew Landauer2012-10-02-1/+1
|
* Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵Louise Crow2012-10-01-1/+1
|\ | | | | | | | | | | | | into develop Conflicts: config/general.yml-example
| * Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-1/+1
| |
* | override_request_email returns nil if configuration not setMatthew Landauer2012-09-27-2/+4
| |
* | Extract methodMatthew Landauer2012-09-27-3/+6
| |
* | Add option to override all public body request emailsMatthew Landauer2012-09-27-0/+9
|/
* Add an option to disable comments on a requestRobin Houston2012-09-19-23/+18
| | | | Closes #30.
* Add a counter cache for the number of info_requests associated with public ↵Louise Crow2012-09-12-1/+1
| | | | bodies.
* Memoize the notes_without_html calculated value for the life of the model ↵Louise Crow2012-09-12-1/+2
| | | | instance - no need to keep applying the regex if called multiple times e.g. in a view.
* Move default value setting for publication scheme to before_save callback ↵Louise Crow2012-09-12-2/+4
| | | | rather than after_initialize - after_initialize accessing of the variable value was causing eager loading of public body translations to happen after the first attribute access, resulting in n+1 queries for translations.
* Quote name correctly in query. Fixes #598.Louise Crow2012-09-04-1/+1
|
* Add association between public bodies and censor rules, have info_request ↵Louise Crow2012-08-14-0/+1
| | | | apply rules from its public body.
* Set api_key in before_save rather than after_initialize (to avoid errors ↵Seb Bacon2012-07-19-2/+4
| | | | when uploading via CSV)
* WIP new requests feedRobin Houston2012-07-04-4/+0
|
* Use 33 bytes consistentlyRobin Houston2012-07-02-1/+1
| | | | | Let’s use 33 bytes consistently for the API key, to avoid an = pad at the end when it’s base64-encoded.
* Initialise API key in the modelRobin Houston2012-06-06-2/+6
|
* Generate an API key for each public bodyRobin Houston2012-06-06-1/+2
|
* Further annotation correctionsSeb Bacon2012-05-24-1/+1
|
* Merge from wombleton:feature/440_sparkly_admin_cssSeb Bacon2012-05-23-0/+25
| | | | | | | Includes a couple of additional fixes: * Remember to HTML-quote things that could come from users * Fix form post action for editing users
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-24/+24
| | | | wombleton:feature/440_sparkly_admin_css)
* Improve handling of nil for public body notesDavid Cabo2012-05-08-1/+1
|
* Ensure we always return a string of some kind when asking for the ↵Seb Bacon2012-05-02-1/+1
| | | | short_or_long_name of a public body
* first stab at sending PURGE requests to upstream varnish for request pages. ↵Seb Bacon2012-03-13-0/+5
| | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job.
* Don't add http when https is presentHenare Degan2012-03-13-1/+1
|
* Don't add extra www characters to web addresses that have been explicitly ↵Henare Degan2012-03-13-1/+1
| | | | defined
* Refactor methodHenare Degan2012-03-13-17/+4
|
* Make public authority home page links work. Fixes #271Henare Degan2012-03-13-1/+6
|
* Remove trailing whitespaceRobin Houston2012-02-02-1/+1
|
* A missing i18n stringSeb Bacon2012-01-31-1/+1
|
* Don't make any entries in the translations table for bodies with entirely ↵Seb Bacon2011-12-02-0/+7
| | | | empty strings in all their fields. See issue #280.
* Always create a the Internal Admin Authority using the default locale. ↵Seb Bacon2011-12-02-15/+16
| | | | Fixes #303.
* Fix OrderedHash-related test failure. Closes issue #274.Seb Bacon2011-11-24-1/+1
|
* sort hash keys consistently in Ruby 1.8 and 1.9James McKinney2011-10-17-3/+3
|
* CSV::Reader#parse doesn't exist in 1.9. Using CSV#parse works in both 1.8 ↵James McKinney2011-10-16-1/+1
| | | | and 1.9
* Check against default locale more robustly when importing public bodies. ↵David Cabo2011-09-24-2/+2
| | | | Fixes #193
* Import bodies even if name is the only known info. Fixes #192David Cabo2011-09-24-1/+1
|
* Fix null pointer exception when importing bodies with no email. Fixes #191David Cabo2011-09-24-1/+1
|
* Add support for add/replace tags when importing public bodies from CSV. ↵David Cabo2011-09-19-2/+20
| | | | Fixes #60
* Wrap categories loading into singleton and add support for multiple locales ↵David Cabo2011-09-19-13/+3
| | | | simultaneously. Fixes #178
* Add support for tags to CSV import, via field "tag_string" (issue #60)David Cabo2011-09-13-2/+1
|
* Make tag optional when importing public bodies through CSV (issue #60)David Cabo2011-09-13-3/+7
|
* Further work in progress on better search functionalitySeb Bacon2011-08-29-1/+1
|