Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Make logging in as a user a POST-constrained action. | Louise Crow | 2014-12-18 | -1/+1 |
| | ||||
* | Use RESTful routes for CRUD admin user actions | Louise Crow | 2014-12-18 | -5/+5 |
| | ||||
* | Move outgoing message admin actions to RESTful model. | Louise Crow | 2014-12-18 | -2/+2 |
| | ||||
* | Move admin incoming message actions to use RESTful routes. | Louise Crow | 2014-12-18 | -9/+9 |
| | | | | | So data changing actions require a POST and can be protected against CSRF. | |||
* | Move change request actions to use RESTful routes. | Louise Crow | 2014-12-18 | -4/+6 |
| | ||||
* | Move edit and update to RESTful routing | Louise Crow | 2014-12-18 | -1/+1 |
| | ||||
* | Move new action to use RESTful routing. | Louise Crow | 2014-12-18 | -1/+1 |
| | ||||
* | Use RESTful routing for index | Louise Crow | 2014-12-18 | -2/+2 |
| | ||||
* | Make downloading a raw email a RESTful route | Louise Crow | 2014-12-18 | -3/+19 |
| | ||||
* | Make marking an event as a clarification a RESTful route | Louise Crow | 2014-12-18 | -0/+53 |
| | ||||
* | Make hide a RESTful action accessed via POST | Louise Crow | 2014-12-12 | -3/+3 |
| | ||||
* | Make show_raw_email a RESTful action via GET | Louise Crow | 2014-12-12 | -48/+53 |
| | | | | | Move specs that involve receiving email and then viewing the interface to be integration specs, which is what they really are. | |||
* | RESTful routing for editing and updating comments | Louise Crow | 2014-12-12 | -0/+66 |
| | ||||
* | Use RESTful routing for destroy action | Louise Crow | 2014-12-12 | -2/+2 |
| | ||||
* | Use RESTful routing for index and show actions | Louise Crow | 2014-12-12 | -7/+6 |
| | ||||
* | Merge branch 'catch-openuri-timeout-errors' into rails-3-develop | Louise Crow | 2014-12-11 | -1/+5 |
|\ | ||||
| * | Use exception notification for third party url errors | Louise Crow | 2014-11-14 | -1/+5 |
| | | | | | | | | Include URL and error in notification and log. | |||
* | | Merge branch 'sanitize-non-utf8-request-uri' into rails-3-develop | Louise Crow | 2014-12-09 | -8/+6 |
|\ \ | ||||
| * | | Use rack-utf8_sanitizer gem | Louise Crow | 2014-11-18 | -8/+6 |
| | | | | | | | | | | | | This sanitises non utf-8 params before they're processed by Rails. | |||
* | | | Merge branch 'owasp-fixes' into rails-3-develop | Louise Crow | 2014-12-09 | -3/+0 |
|\ \ \ | ||||
| * | | | Don't display specific error messages in production. | Louise Crow | 2014-12-05 | -3/+0 |
| | | | | ||||
* | | | | Merge branch '1666-related-requests-search' into rails-3-develop | Gareth Rees | 2014-12-08 | -0/+17 |
|\ \ \ \ | ||||
| * | | | | RequestController#search_typaahead limit results | Gareth Rees | 2014-11-11 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | Use the per_page parameter to limit the results returned | |||
| * | | | | RequestController#search_typeahead filter by body | Gareth Rees | 2014-11-11 | -0/+6 |
| | |/ / | |/| | | | | | | | | | | | | | | Action now supports the `request_from` param as per the Xapian filtering system to filter search typeaheads by public body | |||
* | | | | Merge branch '2000-validate-category-description' into rails-3-develop | Louise Crow | 2014-12-01 | -0/+6 |
|\ \ \ \ | ||||
| * | | | | Validate the presence of the description. | Louise Crow | 2014-12-01 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | It's required in [PublicBody#type_of_authority]( https://github.com/mysociety/alaveteli/blob/rails-3-develop/app/models/public_body.rb#L343-L347) | |||
* | | | | | Merge branch '1965-censor-rule-creation-failure' into rails-3-develop | Louise Crow | 2014-12-01 | -0/+503 |
|\ \ \ \ \ | |/ / / / |/| | | | | ||||
| * | | | | Use instance variable for CensorRule in #destroy | Gareth Rees | 2014-11-19 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Easier to check against the assigned variable, but the spec still fails because an internal error is raised if the rule is not associated with a User or InfoRequest | |||
| * | | | | Set the form URL to POST to in #create | Gareth Rees | 2014-11-19 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Direct the (re-rendered) form at the correct route for the association (or use the generic route if the rule is being created for some other reason) | |||
| * | | | | Associate censor rule with something in #create | Gareth Rees | 2014-11-19 | -0/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Build the CensorRule against the object that is found by an additional parameter (either :info_request_id or :user_id) | |||
| * | | | | Set the form URL to POST to in #new | Gareth Rees | 2014-11-19 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Direct the form at the correct route for the association (or use the generic route if the rule is being created for some other reason) | |||
| * | | | | Associate censor rule with something in #new | Gareth Rees | 2014-11-19 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Build the CensorRule against the object that is found by an additional parameter (either :info_request_id or :user_id) | |||
| * | | | | Initialize a new CensorRule in #new | Gareth Rees | 2014-11-19 | -0/+5 |
| | | | | | ||||
| * | | | | Specs for AdminCensorRuleController#update | Gareth Rees | 2014-11-19 | -0/+126 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Note that these specs describe what the system does – not what it _should_ do! | |||
| * | | | | Specs for AdminCensorRuleController#create | Gareth Rees | 2014-11-19 | -0/+111 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Note that these specs describe what the system does – not what it _should_ do! | |||
| * | | | | Specs for AdminCensorRuleController#destroy | Gareth Rees | 2014-11-18 | -0/+65 |
| | | | | | | | | | | | | | | | | | | | | Note that these specs describe what the system does – not what it _should_ do! | |||
| * | | | | Specs for AdminCensorRuleController#edit | Gareth Rees | 2014-11-18 | -0/+23 |
| | | | | | ||||
| * | | | | Specs for AdminCensorRuleController#new | Gareth Rees | 2014-11-18 | -0/+48 |
| | | | | | ||||
| * | | | | Add CensorRule factories | Gareth Rees | 2014-11-18 | -0/+32 |
| | | | | | ||||
* | | | | | Merge branch 'issues/1969-inconsistent-public-body-admin-interface' into ↵ | Gareth Rees | 2014-11-19 | -7/+16 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | rails-3-develop | |||
| * | | | | | Remove restricton on deleting PublicBodyHeadings with associated ↵ | lizconlan | 2014-11-19 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | PublicBodyCategories | |||
| * | | | | | Fix view bug preventing PublicBodyCategories being deleted in the admin ↵ | lizconlan | 2014-11-19 | -4/+10 |
| | |/ / / | |/| | | | | | | | | | | | | | interface | |||
* | | | | | Remove stubs of removed method | Gareth Rees | 2014-11-18 | -5/+0 |
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | PublicBodyCategory#load_categories no longer exists, so don't try to stub it. Fixes https://github.com/mysociety/alaveteli/issues/1970 | |||
* | | | | Use flash[:error] for error condition | Gareth Rees | 2014-11-18 | -1/+3 |
| | | | | | | | | | | | | Also use double quotes rather than string escaping | |||
* | | | | Add specs to cover unsuccessful creation | Gareth Rees | 2014-11-17 | -1/+12 |
| | | | | ||||
* | | | | Add coverage to ensure ‘new’ templates are rendered | Gareth Rees | 2014-11-17 | -0/+11 |
| | | | | ||||
* | | | | Add expectation to #index spec | Gareth Rees | 2014-11-17 | -0/+1 |
| | | | | | | | | | | | | | | | | The spec that covers AdminPublicBodyCategoriesController#index did not have an expectation | |||
* | | | | Redirect to #edit after updating | Gareth Rees | 2014-11-17 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | On an unsuccessful update AdminPublicBodyHeadingsController and AdminPublicBodyCategoriesController #update should render the #edit action. | |||
* | | | | Redirect to #edit after updating | Gareth Rees | 2014-11-17 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a successful update AdminPublicBodyHeadingsController and AdminPublicBodyCategoriesController #update should redirect to the #edit action rather than simply rendering the ‘edit’ template. Fixes https://github.com/mysociety/alaveteli/issues/1977 | |||
* | | | | Provide expectations for controller specs | Gareth Rees | 2014-11-17 | -4/+17 |
|/ / / | | | | | | | | | | This commit adds expectations to AdminPublicBodyCategoriesController and AdminPublicBodyHeadingsController edit actions |