aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix bug when user not owner of request changing state to requires_admin ↵Matthew Landauer2013-03-04-4/+13
| | | | email should come from user making the change
* Use Ability::can_update_request_state? in RequestController#describe_stateMatthew Landauer2013-03-04-5/+4
|
* Inline temporary variablesMatthew Landauer2013-03-04-6/+3
|
* No need for instance variables in action without viewMatthew Landauer2013-03-04-34/+34
|
* Simplify controller test by mock behaviour in AbilityMatthew Landauer2013-03-03-45/+13
|
* Add tests for Ability.can_update_request_state?Matthew Landauer2013-03-03-0/+51
|
* Extract method that knows who can update the state of a requestMatthew Landauer2013-03-03-4/+11
|
* Can update status when request is old and unclassifiedMatthew Landauer2013-03-03-1/+25
|
* admin user can change statusMatthew Landauer2013-03-03-3/+17
|
* Refactor tests a littleMatthew Landauer2013-03-03-19/+21
|
* only can make the change as the owner of a requestMatthew Landauer2013-03-03-1/+15
|
* Add basic authentication to new actionMatthew Landauer2013-03-03-25/+30
|
* Switch to pretty urlsMatthew Landauer2013-03-02-3/+3
|
* Restrict route for new action to post onlyMatthew Landauer2013-03-02-1/+1
|
* Add authenticationMatthew Landauer2013-03-02-2/+15
|
* New request controller action for requires_admin state with messageMatthew Landauer2013-03-02-0/+22
|
* When setting a state optionally pass a messsageMatthew Landauer2013-03-02-2/+2
|
* Add optional message to requires_admin emailMatthew Landauer2013-03-02-2/+9
|
* Avoid using return in the middle of methodsMatthew Landauer2013-03-02-7/+8
|
* Simplify method by using array to store mappingMatthew Landauer2013-03-02-39/+24
|
* InfoRequestEvent should know about its event typesMatthew Landauer2013-03-02-4/+12
|
* Simplify methodsMatthew Landauer2013-03-02-8/+3
|
* Extract methodMatthew Landauer2013-03-02-6/+5
|
* Simplify methodsMatthew Landauer2013-03-02-19/+7
|
* Simplify logic in methodMatthew Landauer2013-03-02-7/+2
|
* Inline methodMatthew Landauer2013-03-02-19/+9
|
* Inline methodMatthew Landauer2013-03-02-6/+1
|
* Small refactor.Matthew Landauer2013-03-02-5/+1
|
* Refactor state logicMatthew Landauer2013-03-02-35/+36
|
* git ignore sublime project fileMatthew Landauer2013-03-02-0/+1
|
* Use routes to only allow post to RequestController#describe_stateMatthew Landauer2013-03-02-18/+6
|
* Test for what happens when user is playing the classification gameMatthew Landauer2013-03-02-0/+11
|
* Test for situation where request changes while user is looking at it and ↵Matthew Landauer2013-03-02-0/+10
| | | | they change the status
* Test for forgetting to select the statusMatthew Landauer2013-03-02-0/+8
|
* Run local coverage tests as well as those on coveralls.io and exclude ↵Matthew Landauer2013-03-02-1/+11
| | | | plugins and commonlib directories
* Add coveralls.io. Think travis.ci for coverage testingMatthew Landauer2013-03-01-1/+21
|
* Merge remote-tracking branch ↵Louise Crow2013-02-19-1/+1
|\ | | | | | | 'openaustralia_github/country_message_escaping_fix' into develop
| * Mark html string in country message as html safeMatthew Landauer2013-02-20-1/+1
| |
* | Merge remote-tracking branch 'openaustralia_github/categorise_escaping_fix' ↵Louise Crow2013-02-19-2/+2
|\ \ | | | | | | | | | into develop
| * | Mark html for number of requests in categorisation game as html_safeMatthew Landauer2013-02-19-2/+2
| | |
* | | Mark the info request name as safe - hidden_user_explanation's content will ↵Louise Crow2013-02-19-3/+4
| | | | | | | | | | | | be escaped in the parent template. Strip content in the controller and mark as HTML safe.
* | | Move test runner disabling to request mailer in order to have access to ↵Louise Crow2013-02-19-6/+6
|/ / | | | | | | rails environment and make hack specific to ruby 1.9.
* / Prevent Autorunner from test-unit from hooking into the exit of script/runnerLouise Crow2013-02-17-2/+6
|/
* Use an empty incoming email to avoid interaction with other tests.Louise Crow2013-02-17-1/+9
|
* Merge branch 'hotfix/0.7.0.3' into developLouise Crow2013-02-17-27/+27
|\
| * Mark the public body notes as html safe.hotfix/0.7.0.3Louise Crow2013-02-17-27/+27
| |
| * Merge branch 'hotfix/0.7.0.2'0.7.0.2Louise Crow2013-02-16-5/+5
| |\
* | | Add magic encoding line.Louise Crow2013-02-16-0/+1
| | |
* | | Don't use a from address that will affect other tests.Louise Crow2013-02-16-1/+1
| | |
* | | Clear purge requests in the setup of tests that count them.Louise Crow2013-02-16-7/+12
| | |