Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Exclude hidden responses when calculating old_unclassified | Louise Crow | 2013-09-16 | -7/+13 |
| | | | | | Make old_unclassified_params method consistent with last_public_response_event and associated methods. | |||
* | Only include public messages in who_can_followup_to | Louise Crow | 2013-09-16 | -0/+37 |
| | ||||
* | Add public criteria for message event access methods | Louise Crow | 2013-09-16 | -2/+61 |
| | | | | | | | get_last_response_event and get_last_outgoing_event are used in various places to determine which events to link to, use in queries etc. Restrict them to refer to the last publicly visible event of the relevant type, and rename them to make that clear. | |||
* | InfoRequestEvent.indexed_by_search consults OutgoingMessage. | Louise Crow | 2013-09-16 | -1/+18 |
| | ||||
* | Move indexed_by_search to MessageProminence | Louise Crow | 2013-09-16 | -2/+23 |
| | | | | Add some tests that it's working on the outgoing message model. | |||
* | Add some tests for user_can_view? on outgoing message. | Louise Crow | 2013-09-16 | -0/+52 |
| | ||||
* | Don't index hidden and requester_only incoming messages. | Louise Crow | 2013-09-16 | -0/+64 |
| | ||||
* | Adding prominence_reason to IncomingMessage. | Louise Crow | 2013-09-16 | -0/+1 |
| | ||||
* | Refactor common logic about prominence and access. | Louise Crow | 2013-09-16 | -1/+1 |
| | | | | Move it into the Ability module. | |||
* | Add a method to ask whether a user can view an incoming message. | Louise Crow | 2013-09-16 | -0/+57 |
| | ||||
* | Add response_event helper | Louise Crow | 2013-09-16 | -0/+12 |
| | | | | | Add a convenience method for getting the 'response' event associated with an incoming message. | |||
* | Add prominence to incoming message. | Louise Crow | 2013-09-16 | -0/+21 |
| | ||||
* | Re-annotate models with database fields | Louise Crow | 2013-09-16 | -0/+264 |
| | ||||
* | Merge branch 'feature/localisation-fixes' into rails-3-develop | Louise Crow | 2013-07-29 | -1/+7 |
|\ | ||||
| * | Prepare the xapian database before running tests that rely on it existing. | Louise Crow | 2013-07-29 | -0/+5 |
| | | ||||
| * | 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. | |||
* | | 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 | -0/+203 |
|\ \ | |/ |/| | | | | | | | | | 'openaustralia_github/tests_set_described_state' into rails-3-develop Conflicts: spec/models/info_request_spec.rb | |||
| * | 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 '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. | |||
* | | | 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.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 |
|\| | | ||||
| * | | Merge branch 'release/0.11'0.11.0.3 | Louise Crow | 2013-06-04 | -951/+115 |
| |\ \ | ||||
| * | | | 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. | |||
| * | | | 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 |
| | | | | ||||
* | | | | Handle request for json for an external request. Closes #973. | Louise Crow | 2013-06-07 | -0/+29 |
| | | | | ||||
* | | | | Merge branch 'release/0.11' into rails-3-develop | Louise Crow | 2013-06-04 | -0/+8 |
|\ \ \ \ | | |/ / | |/| | | ||||
| * | | | Parse the 'to' address as if on a real mail to trigger quoted string encoding. | Louise Crow | 2013-06-03 | -0/+8 |
| | | | | ||||
* | | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-06-04 | -51/+52 |
|\ \ \ \ | | | | | | | | | | | | | | | | 'openaustralia_github/inline_search_method_refactor' into rails-3-develop | |||
| * | | | | Inline method InfoRequest.full_search | Matthew Landauer | 2013-03-25 | -51/+52 |
| | |_|/ | |/| | | ||||
* | | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-06-04 | -0/+26 |
|\ \ \ \ | | | | | | | | | | | | | | | | 'openaustralia_github/fix_search_highlight_non_ascii_characters' into rails-3-develop |