Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Merge branch 'feature/localisation-fixes' into rails-3-develop | Louise Crow | 2013-07-29 | -148/+143 | |
|\ | |||||
| * | Prepare the xapian database before running tests that rely on it existing. | Louise Crow | 2013-07-29 | -0/+5 | |
| | | |||||
| * | Move some more config into AlaveteliLocalization so that it can be called ↵ | Louise Crow | 2013-07-24 | -10/+4 | |
| | | | | | | | | outside initialization e.g. in tests. | ||||
| * | Patch Globalize to compensate for the way gettext_i18n_rails patches ↵ | Louise Crow | 2013-07-23 | -0/+32 | |
| | | | | | | | | 118n.locale in the handling of locales with underscores. Fixes #999. | ||||
| * | Add loading of raw emails - test depends on this. | Louise Crow | 2013-07-23 | -0/+1 | |
| | | |||||
| * | Use AlaveteliConfiguration wrapper in test so we can be more specific about ↵ | Louise Crow | 2013-07-23 | -1/+1 | |
| | | | | | | | | the method to be stubbed and avoid side effects. | ||||
| * | Extract code for setting locales in FastGettext and I18n | Louise Crow | 2013-07-18 | -11/+5 | |
| | | |||||
| * | Switch routing-filter (which takes locale out of the params and puts it in ↵ | Louise Crow | 2013-07-18 | -144/+113 | |
| | | | | | | | | the URL) off by default in model, controller, and helper tests. This means we can supply the locale as a param. Turn it on specifically for a couple of controller tests that test routing, and change other url localization tests into integration tests. | ||||
* | | Merge branch 'hotfix/0.12.0.1' into rails-3-develop | Louise Crow | 2013-07-29 | -0/+7 | |
|\ \ | | | | | | | | | | | | | | | | Conflicts: locale/he_IL/app.po locale/nb_NO/app.po | ||||
| * | | Backport https://github.com/mikel/mail/pull/405 to prevent stack overflow ↵0.12.0.1hotfix/0.12.0.1 | Louise Crow | 2013-07-26 | -0/+7 | |
| | | | | | | | | | | | | errors when parsing large mails with envelopes on memory limited systems. | ||||
* | | | Prevent erroneous internal error messages with multibyte characters under ↵ | Louise Crow | 2013-07-25 | -1/+12 | |
| | | | | | | | | | | | | ruby 1.8 by using mb_chars for length comparison - it counts multibyte characters. | ||||
* | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-07-23 | -5/+209 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | 'openaustralia_github/tests_set_described_state' into rails-3-develop Conflicts: spec/models/info_request_spec.rb | ||||
| * | | Now record a state_update event *whenever* a user classifies a request | Matthew Landauer | 2013-04-20 | -5/+6 | |
| | | | |||||
| * | | How we would handle event states if we added a state_update event whenever a ↵ | Matthew Landauer | 2013-04-20 | -17/+41 | |
| | | | | | | | | | | | | user classifies a request | ||||
| * | | Access events in tests as an array | Matthew Landauer | 2013-04-20 | -42/+43 | |
| | | | |||||
| * | | Test case that shows up event states bug in ↵ | Matthew Landauer | 2013-04-18 | -1/+18 | |
| | | | | | | | | | | | | https://www.whatdotheyknow.com/details/request/family_support_worker_redundanci | ||||
| * | | Test case that shows up event states bug in ↵ | Matthew Landauer | 2013-04-18 | -0/+20 | |
| | | | | | | | | | | | | https://www.whatdotheyknow.com/request/human_rights_and_deprivation_of | ||||
| * | | Testing an internal review | Matthew Landauer | 2013-04-18 | -109/+131 | |
| | | | |||||
| * | | Add test for events in another situation | Matthew Landauer | 2013-04-15 | -0/+28 | |
| | | | |||||
| * | | Check event_type in tests | Matthew Landauer | 2013-04-15 | -0/+7 | |
| | | | |||||
| * | | Test event states when follow up message is sent | Matthew Landauer | 2013-04-15 | -0/+24 | |
| | | | |||||
| * | | Added a comment | Matthew Landauer | 2013-04-15 | -0/+2 | |
| | | | |||||
| * | | Test events some more | Matthew Landauer | 2013-04-15 | -5/+22 | |
| | | | |||||
| * | | Test event status after a response is received | Matthew Landauer | 2013-04-15 | -12/+39 | |
| | | | |||||
| * | | Test to check event states after initial request is sent | Matthew Landauer | 2013-04-15 | -0/+14 | |
| | | | |||||
* | | | Merge branch 'release/0.12' into rails-3-develop | Louise Crow | 2013-06-26 | -6/+0 | |
|\ \ \ | | |/ | |/| | |||||
| * | | Revert "Assume that format will be specified in the url requested, or ↵ | Louise Crow | 2013-06-26 | -6/+0 | |
| | | | | | | | | | | | | | | | | | | default to HTML. Fixes #989." This reverts commit c1b3324922687778b316ee1a180582013bcf6d0e. | ||||
* | | | Add test case and fix for unrecognized encoding in subject line | Louise Crow | 2013-06-25 | -0/+41 | |
|/ / | |||||
* | | Don't call out to external urls during controller tests | Louise Crow | 2013-06-20 | -0/+12 | |
| | | |||||
* | | Use request.params to generate a json format url when @has_json is true, not ↵ | Louise Crow | 2013-06-20 | -0/+7 | |
| | | | | | | | | request.query_parameters. The latter has unexpected results when a querystring parameter of 'action' or 'controller' is supplied. Fixes #981. | ||||
* | | Assume that format will be specified in the url requested, or default to ↵ | Louise Crow | 2013-06-20 | -0/+6 | |
| | | | | | | | | HTML. Fixes #989. | ||||
* | | Respond to a (currently unsupported) json request for a public body list ↵ | Louise Crow | 2013-06-20 | -1/+4 | |
| | | | | | | | | with a 406, not a 500 caused by a missing template. | ||||
* | | Merge branch 'hotfix/0.11.0.14' into rails-3-develop | Louise Crow | 2013-06-19 | -0/+10 | |
|\ \ | |||||
| * | | Allow the HTML display of the body of an email to handle the case where the ↵0.11.0.14hotfix/0.11.0.14 | Louise Crow | 2013-06-19 | -0/+10 | |
| | | | | | | | | | | | | body is only quoted text and there is no subject. | ||||
* | | | Merge branch 'hotfix/0.11.0.13' into rails-3-develop | Louise Crow | 2013-06-17 | -3/+28 | |
|\| | | | | | | | | | | | | | | Conflicts: spec/mailers/outgoing_mailer_spec.rb | ||||
| * | | Explicitly set I18n.locale in set_gettext_locale in order to get Rails to ↵0.11.0.13hotfix/0.11.0.13 | Louise Crow | 2013-06-17 | -2/+27 | |
| | | | | | | | | | | | | expire the template cache and trigger a lookup. | ||||
| * | | Fix a security vulnerability: eval used in quoting display name0.11.0.12 | Mark Longair | 2013-06-17 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This use of eval allows arbitrary remote code execution on parsing of a maliciously formed email. Two tests are updated to match the behaviour of the new code to return the display name - these introduce extra escaping, so should be innocous. | ||||
* | | | Fix typo | Louise Crow | 2013-06-12 | -1/+1 | |
| | | | |||||
* | | | Make sure raw emails are loaded before running test. | Louise Crow | 2013-06-12 | -0/+4 | |
| | | | |||||
* | | | Merge branch 'hotfix/0.11.0.9' into rails-3-develop | Louise Crow | 2013-06-11 | -3/+3 | |
|\| | | |||||
| * | | Get user records in batches, remove unneeded clause. | Louise Crow | 2013-06-11 | -3/+3 | |
| | | | |||||
* | | | Better spec isolation - these specs require raw emails, so make sure they're ↵ | Louise Crow | 2013-06-10 | -0/+1 | |
| | | | | | | | | | | | | loaded. | ||||
* | | | Merge branch 'hotfix/0.11.0.7' into rails-3-develop | Louise Crow | 2013-06-10 | -24/+36 | |
|\| | | | | | | | | | | | | | | Conflicts: spec/models/info_request_spec.rb | ||||
| * | | Cope with replying to a message with a missing or empty Subject | Mark Longair | 2013-06-07 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | Conflicts: spec/models/info_request_spec.rb | ||||
* | | | Merge branch 'hotfix/0.11.0.4' into rails-3-develop | Louise Crow | 2013-06-10 | -3/+14 | |
|\| | | |||||
| * | | We're assuming feed urls without format suffixes should serve up atom/xml, ↵0.11.0.4hotfix/0.11.0.4 | Louise Crow | 2013-06-05 | -0/+12 | |
| | | | | | | | | | | | | so ignore any format from content negotiation in favour of that default. | ||||
| * | | Merge branch 'release/0.11'0.11.0.3 | Louise Crow | 2013-06-04 | -863/+1772 | |
| |\ \ | |||||
| * | | | Use class instead of type - type is removed in Ruby 1.90.9.0.6hotfix/0.9.0.6 | Louise Crow | 2013-05-28 | -1/+1 | |
| | | | | |||||
| * | | | 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. |