aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeLines
* Rename ALL THE TEMPLATES!!1!!!one!!1!!Henare Degan2013-02-27-1/+1
| | | | .rhtml is deprecated in favour of .erb in Rails 3
* Overwriting validate is deprecatedHenare Degan2013-02-25-2/+4
|
* Update to new mail sending APIHenare Degan2013-02-25-4/+4
|
* Mailers have their own home in Rails 3Henare Degan2013-02-25-948/+0
|
* New way of sending an emailHenare Degan2013-02-25-1/+1
|
* Under Ruby 1.9 this saved to the DB as a Ruby ActiveSupport::SafeBuffer ↵Henare Degan2013-02-21-1/+1
| | | | object but we want it saved as a String
* Rails.env should never not be set, I think this is a relic of RAILS_ENVHenare Degan2013-02-20-5/+1
|
* Remove deprecated constants - #589Henare Degan2013-02-20-2/+2
|
* Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-55/+67
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/general_controller.rb app/controllers/track_controller.rb app/models/outgoing_message.rb app/models/public_body.rb app/models/user.rb app/views/general/frontpage.rhtml config/environment.rb config/initializers/inflections.rb config/initializers/mime_types.rb db/migrate/094_remove_old_tags_foreign_key.rb lib/timezone_fixes.rb spec/models/request_mailer_spec.rb spec/views/request/list.rhtml_spec.rb
| * Don't escape links that are automatically added in user biosMatthew Landauer2013-02-11-1/+2
| |
| * Mark constructed URL strings which have been escaped as safe, so that they ↵Louise Crow2013-02-08-4/+5
| | | | | | | | aren't escaped when shown in flash notices.
| * Rescue an invalid character exception when handling what appears to be badly ↵Louise Crow2013-02-06-1/+1
| | | | | | | | encoded data.
| * Merge remote-tracking branch ↵Louise Crow2013-02-01-1/+1
| |\ | | | | | | | | | 'openaustralia_github/backport_rails_3_mailer_fix' into develop
| | * Rename mailer method to avoid naming conflict in Rails 3Matthew Landauer2013-01-25-1/+1
| | |
| * | AboutMeValidator model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-2/+6
| | |
| * | PublicBody model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-9/+10
| | |
| * | OutgoingMessage model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-26/+28
| | |
| * | Indentation and spacing fixes onlyHenare Degan2013-01-25-4/+6
| | |
| * | Formatting only: Group associations and validationsHenare Degan2013-01-25-4/+3
| | |
| * | Comment model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-10/+12
| | |
| * | ChangeEmailValidator model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-1/+4
| | |
| * | ProfilePhoto model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-1/+5
| | |
| * | User model - Overwriting validate is deprecated in Rails 3Henare Degan2013-01-25-9/+11
| |/
* | Looks like this is different in the older version of Mail tooHenare Degan2013-02-10-1/+1
| |
* | #errors always returns an array now so check for an empty one insteadHenare Degan2013-02-07-2/+2
| |
* | Update to globalize3 methodHenare Degan2013-02-07-1/+1
| |
* | Move over to rails 3 mail api because there appear to be problems with ↵Matthew Landauer2013-02-01-10/+10
| | | | | | | | sending attachments
* | Added a bit of a safety net. It's an ugly temporary hack to make debugging ↵Matthew Landauer2013-01-31-0/+8
| | | | | | | | easier
* | Merge branch 'i18n_rails3_preparation' into rails-3-spikeMatthew Landauer2013-01-31-10/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock app/controllers/general_controller.rb app/controllers/public_body_controller.rb spec/controllers/public_body_controller_spec.rb
| * | As much as possible use I18n.locale for getting the localeMatthew Landauer2013-01-17-2/+2
| | |
| * | Small refactorMatthew Landauer2013-01-17-6/+1
| | |
| * | Refactor using I18.with_localeMatthew Landauer2013-01-17-4/+3
| | |
| * | Set locale with I18n rather than through globalizeMatthew Landauer2013-01-17-4/+4
| | |
| * | Small refactoring in PublicBody.self.find_by_url_name_with_historic just use ↵Matthew Landauer2013-01-16-22/+19
| | | | | | | | | | | | the current locale
| * | Set locale in controller test by passing parameter in getMatthew Landauer2013-01-16-1/+1
| | | | | | | | | | | | Also using I18n.locale to pass the current locale around.
* | | Workaround for setting default value on attribute when exists? is calledMatthew Landauer2013-01-29-2/+7
| | |
* | | Don't need both url_helpersHenare Degan2013-01-25-1/+0
| | |
* | | Overwriting validate has been deprecatedHenare Degan2013-01-25-9/+12
| | |
* | | Merge branch 'rails_xss' into rails-3-spikeMatthew Landauer2013-01-25-5/+8
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock config/environment.rb lib/i18n_fixes.rb
| * | Merge remote-tracking branch 'mysociety/develop' into rails_xssMatthew Landauer2013-01-15-412/+142
| |\|
| | * As we're validating filename with validates_presence_of, which doesn't allow ↵Louise Crow2013-01-14-1/+1
| | | | | | | | | | | | blanks, ensure_filename! should populate a default filename on a blank filename, as well as on nil.
| | * Don't export the fake authorities that we use for admin.Louise Crow2013-01-08-0/+2
| | |
| | * Handle case where info request doesn't have a user_nameLouise Crow2013-01-07-0/+1
| | |
| * | More escaping fixesMatthew Landauer2013-01-15-4/+4
| | |
* | | Rename mailer method to avoid naming conflict in Rails 3Matthew Landauer2013-01-25-1/+1
| | |
* | | Change method name as it conflicts with globalize3 method nameHenare Degan2013-01-24-1/+1
| | |
* | | Update one method in RequestMailer to new mailer rails 3 apiMatthew Landauer2013-01-04-6/+8
| | |
* | | PublicBody.locale doesn't exist anymoreMatthew Landauer2013-01-04-2/+2
| | |
* | | Temporary hack to disable mailer monkeypatch for overriding multipart mail ↵Matthew Landauer2013-01-04-7/+9
| | | | | | | | | | | | templates in themes
* | | Activerecord 3 small api change for find_or_create_byMatthew Landauer2013-01-04-1/+1
| | |