Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Moving view specs to more standard place, moving helper method inside spec ↵ | louise | 2009-04-14 | -21/+21 |
| | | | | scope - will run more reliably when specs run in different orders | |||
* | Moving view specs to more standard place - helps tools like autotest handle ↵ | louise | 2009-04-14 | -3/+3 |
| | | | | them. Tweak to charity number spec - when no charity number is present, the request sidebar should still be there, but the charity link should not | |||
* | Link to Charity Commission website where we have a Charity Number | tony | 2009-04-13 | -0/+17 |
| | ||||
* | it's -> its | tony | 2009-04-13 | -4/+4 |
| | ||||
* | Adding a flag to allow user model to be saved without reindexing associated ↵ | louise | 2009-04-09 | -8/+59 |
| | | | | models | |||
* | Adding specs for track alert emails. All users get updated, which I think ↵ | louise | 2009-04-09 | -1/+94 |
| | | | | causes extra xapian updating | |||
* | Reminders sent to users to update the status of their request now use ↵ | louise | 2009-04-08 | -2/+2 |
| | | | | InfoRequest.find_old_unclassified | |||
* | Make old_unclassfied function a bit more flexible for reuse elsewhere e.g. ↵ | louise | 2009-04-08 | -16/+26 |
| | | | | in mailing reminders to requesters | |||
* | Adding specs for current behaviour of RequestMailer when sending out ↵ | louise | 2009-04-08 | -1/+79 |
| | | | | reminders to requesters to classify a response to their request | |||
* | Moving logic for determining old and unclassified requests to the model in ↵ | louise | 2009-04-08 | -0/+64 |
| | | | | preparation for allowing anyone to edit them | |||
* | TMail rebuilds address when constructing emails. Move our more | francis | 2009-04-08 | -3/+31 |
| | | | | | | aggressive quoting rule into a TMail monkey patch proper so it is always called when constructing emails, and remove the hacky function (Address.encode_quoted_string) it used to call in special places | |||
* | Tests for use of different addresses in replies. | francis | 2009-04-08 | -16/+51 |
| | | | | | Fix bug in quoting of those replies. Make it remove @ signs from name part of them. | |||
* | Start to add test for the mail reply address functions. | francis | 2009-04-07 | -1/+31 |
| | ||||
* | Removed debug line | louise | 2009-04-07 | -1/+0 |
| | ||||
* | Allow request owners or admins to update the status of a request at any time ↵ | louise | 2009-04-07 | -14/+351 |
| | | | | from the main request page | |||
* | Remove real_owning_user method - not required | louise | 2009-04-06 | -28/+1 |
| | ||||
* | Adding a fixture for an admin user | louise | 2009-04-06 | -1/+12 |
| | ||||
* | Added methods to InfoRequest for figuring out if a user is the real owner of ↵ | louise | 2009-04-06 | -2/+53 |
| | | | | the request (not just an admin owner) and if the request needs admin | |||
* | Add a convenience method User.requires_admin_power? for determining whether ↵ | louise | 2009-04-06 | -1/+21 |
| | | | | a user has the power to edit "requires_admin" requests | |||
* | Adding is_owning_user? method to info request to replace logic in ↵ | louise | 2009-04-06 | -0/+29 |
| | | | | RequestController | |||
* | Adding specs for describe_state partial - think this can be reused for new ↵ | louise | 2009-04-03 | -0/+97 |
| | | | | feature to let owner change request status at any time, and want to specify current behaviour before modifying. | |||
* | Add method to info request for getting last event that needs a description - ↵ | louise | 2009-04-03 | -80/+103 |
| | | | | will replace calculation in RequestController | |||
* | Rebuild xapian index before specs that require it - to allow tests to be ↵ | louise | 2009-04-03 | -30/+62 |
| | | | | more independent, so they can be run in any order. Nest specs so that specs that do not need views generated do not have integrate_views set - mocks for these specs can now be simpler. Add new specs and code for handling an update_status param. | |||
* | Allowing extra parameters to be passed to request_url | louise | 2009-04-03 | -0/+23 |
| | ||||
* | Need history loaded in fixture in order to find by it. | francis | 2009-03-30 | -1/+1 |
| | ||||
* | add a validate_as_body helper method for tests | tony | 2009-03-22 | -0/+12 |
| | ||||
* | Extract validate_html so can be used elsewhere | tony | 2009-03-22 | -10/+14 |
| | ||||
* | Rebuild in an :all | tony | 2009-03-22 | -6/+2 |
| | ||||
* | Move Xapian tests into one file so they don't slow down normal model | tony | 2009-03-22 | -21/+40 |
| | | | | tests. Add test for searching users. | |||
* | Add admin + banned tests to User | tony | 2009-03-22 | -0/+18 |
| | ||||
* | Test for specific errors in User | tony | 2009-03-22 | -3/+3 |
| | ||||
* | Add some new TrackThing tests | tony | 2009-03-22 | -1/+21 |
| | ||||
* | split into distinct named tests | tony | 2009-03-22 | -10/+11 |
| | ||||
* | rspec provides a useful errors_on test | tony | 2009-03-22 | -4/+5 |
| | ||||
* | Rollback 14514 and 14515 - model can't call methods in general_controller | tony | 2009-03-22 | -8/+1 |
| | ||||
* | Add 'xapian_requests' methods to PublicBody | tony | 2009-03-22 | -3/+8 |
| | ||||
* | Tweak test | tony | 2009-03-22 | -1/+7 |
| | ||||
* | New view test for Body | tony | 2009-03-22 | -0/+71 |
| | ||||
* | Add PublicBody.find_by_urlname method that falls back to historic names | tony | 2009-03-22 | -0/+21 |
| | ||||
* | Only rebuild the Xapian index once, rather than for each test, as we're | tony | 2009-03-22 | -2/+1 |
| | | | | not modifying the index between them. | |||
* | test should be for single body | tony | 2009-03-21 | -1/+1 |
| | ||||
* | View test for recent requests | tony | 2009-03-20 | -0/+50 |
| | ||||
* | Switch recent request test from fixtures to stubs | tony | 2009-03-20 | -16/+4 |
| | ||||
* | Pre-set body/user in test (harmonisation step) | tony | 2009-03-20 | -13/+18 |
| | ||||
* | add test for not allowing a user to use an email address as their name | tony | 2009-03-20 | -1/+8 |
| | ||||
* | Test that banned user can't create new request | tony | 2009-03-19 | -2/+9 |
| | ||||
* | add test for preventing new requests when old ones uncategorised | tony | 2009-03-19 | -0/+31 |
| | ||||
* | Use mocks instead of fixtures | tony | 2009-03-19 | -5/+5 |
| | ||||
* | Set up test info request and user beforehand | tony | 2009-03-19 | -4/+9 |
| | ||||
* | We don't care what actual count is, just that it's increased by one | tony | 2009-03-19 | -2/+2 |
| |