Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Return a string from user.name always to avoid any complications with other ↵hotfix/0.9.0.5 | Louise Crow | 2013-05-28 | -3/+14 |
| | | | | functions calling gsub on the result. SafeBuffer won't work with gsub until Rails 3.2 https://github.com/rails/rails/commit/b4a6e2f8442ceda118367f9a61c38af754be1cbf | |||
* | Bugfix for the case where a suspended user sends a contact message. Their ↵hotfix/0.9.0.2 | Louise Crow | 2013-05-07 | -1/+15 |
| | | | | name (with the '(account suspended)' suffix) is marked by the translation call as HTML safe, so escapes the angled brackets when they are appended to it in the contact mailer code. Use string interpolation instead. | |||
* | Set locale with I18n rather than through globalize | Matthew Landauer | 2013-04-02 | -3/+3 |
| | | | | | | Conflicts: app/controllers/general_controller.rb | |||
* | When force_ssl is true make links in emails https | Matthew Landauer | 2013-04-02 | -7/+22 |
| | ||||
* | Merge remote-tracking branch ↵ | Louise Crow | 2013-03-13 | -6/+12 |
|\ | | | | | | | | | | | | | | | | | | | | | 'openaustralia_github/one_support_email_on_admin_attention_state' into develop Conflicts: Gemfile.lock app/controllers/request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml spec/models/request_mailer_spec.rb | |||
| * | Add optional message to requires_admin email | Matthew Landauer | 2013-03-02 | -0/+5 |
| | | ||||
| * | InfoRequestEvent should know about its event types | Matthew Landauer | 2013-03-02 | -2/+2 |
| | | ||||
| * | Inline method | Matthew Landauer | 2013-03-02 | -4/+4 |
| | | ||||
* | | Merge remote-tracking branch 'openaustralia_github/make-links-relative' into ↵ | Louise Crow | 2013-03-06 | -12/+0 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop Conflicts: app/controllers/admin_request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml app/views/admin_general/stats.rhtml app/views/admin_public_body/_one_list.rhtml app/views/admin_public_body/_tags.rhtml app/views/admin_public_body/show.rhtml app/views/admin_request/show.rhtml app/views/admin_user/show.rhtml app/views/layouts/admin.rhtml app/views/public_body/show.rhtml app/views/request/new.rhtml | |||
| * | Stop using admin_url to generate absolute url for the admin interface | Matthew Landauer | 2013-02-15 | -12/+0 |
| | | ||||
* | | Add magic encoding line. | Louise Crow | 2013-02-16 | -0/+1 |
| | | ||||
* | | Clear purge requests in the setup of tests that count them. | Louise Crow | 2013-02-16 | -4/+5 |
| | | ||||
* | | Fix for #808. SafeBuffer and ActionMailer::Quoting.quoted_printable don't ↵ | Louise Crow | 2013-02-15 | -0/+21 |
|/ | | | | play well together, so convert all subject lines to strings before passing them off to actionmailer. | |||
* | Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵ | Matthew Landauer | 2013-01-28 | -1/+1 |
| | | | | do anything as used here | |||
* | As we're validating filename with validates_presence_of, which doesn't allow ↵ | Louise Crow | 2013-01-14 | -1/+12 |
| | | | | blanks, ensure_filename! should populate a default filename on a blank filename, as well as on nil. | |||
* | Handle case where info request doesn't have a user_name | Louise Crow | 2013-01-07 | -0/+7 |
| | ||||
* | Wrap specs on the extraction of RFC-822 headers in code that sets the ENV ↵ | Louise Crow | 2012-12-11 | -24/+32 |
| | | | | timezone. TMail renders headers using localtime, which is not ideal, but we're migrating away from it anyway, so I'm not sure it's worth delving into the internals of TMail to fix it. | |||
* | Convert url in comment to spec. | Louise Crow | 2012-12-06 | -0/+8 |
| | | | | | | Conflicts: lib/mail_handler/backends/tmail_backend.rb | |||
* | Rename _get_attachment_text_internal_one_file to ↵ | Louise Crow | 2012-12-06 | -2/+2 |
| | | | | get_attachment_text_one_file as it is now an externally-accessed method of the mail handler module. | |||
* | Move methods for getting the text out of attachments to the mail handler module. | Louise Crow | 2012-12-06 | -24/+3 |
| | ||||
* | Add spec for handling an RFC822 attachment. | Louise Crow | 2012-12-04 | -0/+18 |
| | | | | | | Conflicts: spec/models/incoming_message_spec.rb | |||
* | Add spec for the adding of headers to plain text bodies in attachments. | Louise Crow | 2012-12-04 | -0/+13 |
| | ||||
* | Rewrite and move spec so that it tests the mail handler method. | Louise Crow | 2012-12-04 | -5/+0 |
| | ||||
* | Rewrite spec to reflect delegation of low-level mail methods to mail ↵ | Louise Crow | 2012-12-04 | -23/+14 |
| | | | | handler, use mail handler methods. | |||
* | Standardize slug generation for external users so that it uses the same ↵ | Louise Crow | 2012-11-29 | -0/+16 |
| | | | | underlying method as other slug generation. Fixes #567. | |||
* | Use new function that copies existing xapian index in spec setup where a ↵ | Louise Crow | 2012-11-21 | -11/+11 |
| | | | | clean copy of the xapian index with fixtures loaded is required. | |||
* | Wrap address parsing in a address_from_string method in the mail handler. | Louise Crow | 2012-11-15 | -6/+41 |
| | ||||
* | Move address_from_name_and_email to mail handler. | Louise Crow | 2012-11-15 | -1/+1 |
| | ||||
* | Use mail handler in request mailer spec. | Louise Crow | 2012-11-15 | -1/+1 |
| | ||||
* | Move TMail extensions to mail handler. | Louise Crow | 2012-11-15 | -0/+20 |
| | ||||
* | Don't load raw emails data in specs that don't use it. | Louise Crow | 2012-11-15 | -18/+0 |
| | ||||
* | Factor out method for getting a mail object from a fixture file. | Louise Crow | 2012-11-15 | -10/+7 |
| | ||||
* | Use mailhandler method in incoming message specs. | Louise Crow | 2012-11-15 | -10/+5 |
| | ||||
* | Make error message expectation slightly less specific - message format is ↵ | Louise Crow | 2012-11-08 | -2/+4 |
| | | | | slightly different under ruby 1.9. | |||
* | use safe_mock_model | James McKinney | 2012-11-01 | -6/+6 |
| | ||||
* | Restore removed testing config param, remove spec for unset param - I think ↵ | Louise Crow | 2012-10-25 | -9/+0 |
| | | | | not really worth it. | |||
* | Given that MAX_REQUESTS_PER_USER_PER_DAY is documented as an optional ↵ | Louise Crow | 2012-10-25 | -49/+58 |
| | | | | variable, but that commonlib/rblib/config.rb does not allow nil defaults, replace nil value clause (which can never be reached) with blank value condition(blank now returned by default by lib/configuation.rb) | |||
* | Merge remote-tracking branch ↵ | Louise Crow | 2012-10-25 | -4/+5 |
|\ | | | | | | | 'openaustralia_github/follow-all-requests-description' into develop | |||
| * | Fix description of a search | Henare Degan | 2012-10-18 | -1/+2 |
| | | | | | | | | Used to say "comments or requests which are " when you did: View requests > All requests > Follow | |||
| * | Make test a bit more Rubyesque | Henare Degan | 2012-10-18 | -4/+4 |
| | | | | | | | | The purist would probably say separate these into 3 tests | |||
* | | Merge branch 'feature/ruby-19-compat-immediate' into develop | Louise Crow | 2012-10-24 | -0/+17 |
|\ \ | |/ |/| | | | | | Conflicts: Gemfile.lock | |||
| * | Convert example in comment to failing spec, update regex to make spec pass - ↵ | Louise Crow | 2012-10-18 | -0/+9 |
| | | | | | | | | again the use of converted HTML parts in emails means extra leading spaces. | |||
| * | Convert request cited in comment to failing spec, update regex to make it ↵ | Louise Crow | 2012-10-18 | -0/+8 |
| | | | | | | | | pass (we now use the HTML parts of emails by preference, so there are some leading spaces.) | |||
* | | Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ↵ | Louise Crow | 2012-10-12 | -0/+166 |
|\ \ | |/ |/| | | | | | | | | | | | develop Conflicts: Gemfile.lock app/models/exim_log.rb | |||
| * | Revert "Also allow arbitrary subdomain on email addresses picked up in the logs" | Matthew Landauer | 2012-10-12 | -5/+0 |
| | | | | | | | | This reverts commit 9ae51d5ff6a9f56fd1bd4ba4bdd84bfd43ac6d95. | |||
| * | Also allow arbitrary subdomain on email addresses picked up in the logs | Matthew Landauer | 2012-10-11 | -0/+5 |
| | | ||||
| * | Fix small bug where email domain wasn't being quoted in the regular expression | Matthew Landauer | 2012-10-11 | -0/+4 |
| | | ||||
| * | Ignore emails in logs with incorrect prefixes | Matthew Landauer | 2012-10-11 | -2/+7 |
| | | ||||
| * | Added tests for MailServerLog.email_addresses_on_line | Matthew Landauer | 2012-10-11 | -0/+20 |
| | | ||||
| * | Rename models and tables exim -> mail_server | Matthew Landauer | 2012-10-11 | -37/+37 |
| | |