Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | Remove now-unused OutgoingMessage#send_message | Gareth Rees | 2014-10-17 | -44/+0 | |
| | | | | | | | | Models should not send emails | ||||
| * | Extract resending a message from the model | Gareth Rees | 2014-10-17 | -3/+3 | |
| | | |||||
| * | Use updated method for sending an InfoRequestBatch | Gareth Rees | 2014-10-17 | -1/+7 | |
| | | | | | | | | | | Could do with extracting the sending from the model, but this allows the removal of OutgoingMessage#send_message | ||||
| * | OutgoingMessage methods for async email sending | Gareth Rees | 2014-10-14 | -0/+42 | |
| | | | | | | | | | | | | | | | | | | #sendable? checks whether the message is in a state that we can send, otherwise it raises an appropriate exception. Not ideal (should just return false, but this is existing behaviour) #record_email_delivery updates the OutgoingMessage instance, logs an event with the InfoRequest and updates the InfoRequest state. | ||||
* | | Require heading and category in PublicBodyCategoryLink. | Louise Crow | 2014-10-09 | -0/+2 | |
| | | | | | | | | Update default factory accordingly. | ||||
* | | Remove old PublicBodyCategories calls. | Louise Crow | 2014-10-09 | -2/+2 | |
| | | | | | | | | | | Add deprecation notice to draw attention to any place where PublicBodyCategories is called from themes. | ||||
* | | Don't migrate categories automatically. | Louise Crow | 2014-09-26 | -2/+0 | |
| | | | | | | | | | | It becomes confusing in the test environment, better to have a clean script. | ||||
* | | Don't require a category description | Louise Crow | 2014-09-26 | -1/+0 | |
| | | | | | | | | | | Some existing themes don't use one for categories like 'misc' and that seems reasonable usage. Add some specs for the things we do validate. | ||||
* | | Use double quotes to avoid backslash | Louise Crow | 2014-09-26 | -3/+3 | |
| | | |||||
* | | Create module to clarify what code is just for migrating from files. | Louise Crow | 2014-09-25 | -79/+11 | |
| | | |||||
* | | fixup! Basic category admin screen | Louise Crow | 2014-09-25 | -2/+2 | |
| | | |||||
* | | fixup! Use translation tables for PublicBodyCategory and PublicBodyHeading | Louise Crow | 2014-09-25 | -53/+51 | |
| | | |||||
* | | fixup! Replace existing PublicBodyCategories functionality with db models ↵ | Louise Crow | 2014-09-24 | -1/+1 | |
| | | | | | | | | PublicBodyCategory and PublicBodyHeading | ||||
* | | fixup! Replace existing PublicBodyCategories functionality with db models ↵ | Louise Crow | 2014-09-24 | -53/+54 | |
| | | | | | | | | PublicBodyCategory and PublicBodyHeading | ||||
* | | fixup! Add display order to public body categories and headings | Louise Crow | 2014-09-24 | -1/+1 | |
| | | |||||
* | | fixup! Replace existing PublicBodyCategories functionality with db models ↵ | Louise Crow | 2014-09-24 | -10/+10 | |
| | | | | | | | | PublicBodyCategory and PublicBodyHeading | ||||
* | | fixup! Basic category admin screen | Louise Crow | 2014-09-24 | -16/+17 | |
| | | |||||
* | | fixup! Validation of display order, default setting callbacks. | Louise Crow | 2014-09-24 | -3/+3 | |
| | | |||||
* | | Validation of display order, default setting callbacks. | Louise Crow | 2014-09-22 | -14/+34 | |
| | | |||||
* | | Destroy link on destruction of heading or category. | Louise Crow | 2014-09-22 | -2/+2 | |
| | | |||||
* | | Add display order to public body categories and headings | lizconlan | 2014-09-22 | -6/+62 | |
| | | |||||
* | | Reinstate automatic loading of categories on get if no categories defined | lizconlan | 2014-09-22 | -0/+2 | |
| | | |||||
* | | List categories without headings on the admin screen | lizconlan | 2014-09-22 | -0/+9 | |
| | | |||||
* | | Basic category admin screen | lizconlan | 2014-09-22 | -4/+69 | |
| | | |||||
* | | Use translation tables for PublicBodyCategory and PublicBodyHeading | lizconlan | 2014-09-22 | -18/+51 | |
| | | |||||
* | | Replace existing PublicBodyCategories functionality with db models ↵ | lizconlan | 2014-09-22 | -0/+137 | |
|/ | | | | PublicBodyCategory and PublicBodyHeading | ||||
* | Use dot rather than colon for method call | Gareth Rees | 2014-09-19 | -1/+1 | |
| | |||||
* | Group class methods before instance methods | Gareth Rees | 2014-09-19 | -12/+12 | |
| | |||||
* | Remove uneeded code / Tidy up | Gareth Rees | 2014-09-19 | -66/+88 | |
| | |||||
* | Remove unused validation | Gareth Rees | 2014-09-19 | -1/+1 | |
| | |||||
* | Tidy OutgoingMessage macro methods | Gareth Rees | 2014-09-19 | -22/+22 | |
| | |||||
* | Merge branch 'issues/1833-censor-rule-validation' into rails-3-develop | Gareth Rees | 2014-09-15 | -1/+5 | |
|\ | |||||
| * | Add correct validations to CensorRule | Gareth Rees | 2014-09-12 | -1/+5 | |
| | | |||||
* | | Merge branch 'hotfix/0.19.0.1' into rails-3-develop | Louise Crow | 2014-09-04 | -0/+13 | |
|\ \ | |/ |/| | |||||
| * | Return a list of all cache directories for the request | Louise Crow | 2014-09-01 | -4/+10 | |
| | | |||||
| * | Use request dirs method. | Louise Crow | 2014-09-01 | -2/+1 | |
| | | |||||
| * | Use path relative to Rails root. | Louise Crow | 2014-09-01 | -1/+1 | |
| | | |||||
| * | Move method to model to make it more testable, add spec. | Louise Crow | 2014-09-01 | -0/+8 | |
| | | |||||
* | | Make csv import fields a class attribute that can be overriden | Steven Day | 2014-08-22 | -1/+19 | |
|/ | |||||
* | Refactor state update API, better error handling | lizconlan | 2014-07-28 | -0/+10 | |
| | | | | Filters; more 403s, fewer 500s; added logging; less duplication | ||||
* | Merge branch 'issues/1415-bulk-update-public-bodies' into rails-3-develop | Gareth Rees | 2014-06-25 | -39/+3 | |
|\ | |||||
| * | Move PublicBody domain logic from controller | Gareth Rees | 2014-06-06 | -0/+3 | |
| | | | | | | | | | | | | Moves the magic 'site_administration' tag logic to the PublicBody model. Easier to make the string passed to `PublicBody#has_tag?` configurable if we want to allow this to be set per install. | ||||
| * | Extract public body CSV export to its own class | Gareth Rees | 2014-06-06 | -39/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - SRP: Do one thing. PublicBodyCSV converts a collection of bodies in to a CSV formatted String - Adds some parenthesis around parameters in PublicBodyController#list_all_csv - Let the controller handle what records to pull out for the CSV export Arguably this doesn't really need to be anything to do with PublicBody, but it allows us to set nice defaults. | ||||
* | | Merge branch 'replace-xxx-todo' into rails-3-develop | Gareth Rees | 2014-06-16 | -32/+32 | |
|\ \ | |||||
| * | | Rename XXX comments with TODO: | Gareth Rees | 2014-06-10 | -32/+32 | |
| |/ | | | | | | | Picks these up in `rake notes` and adds semantic meaning | ||||
* / | Allow a message with more than one event to be destroyed.hotfix/0.18.0.2 | Louise Crow | 2014-06-06 | -7/+8 | |
|/ | | | | Fixes #1569 | ||||
* | Remove translation of error messages | Louise Crow | 2014-05-12 | -2/+2 | |
| | | | | These messages will only appear in the admin interface so currently shouldn't be translated - https://github.com/mysociety/alaveteli/issues/1353 | ||||
* | Add PublicBody.search | Gareth Rees | 2014-05-01 | -0/+28 | |
| | | | | | Search for public bodies whose searchable attributes are like a given query. | ||||
* | Merge branch 'issues/337-attachment-title' into rails-3-develop | Gareth Rees | 2014-04-14 | -77/+4 | |
|\ | |||||
| * | Update gubbins to call AttachmentToHTML | Gareth Rees | 2014-04-07 | -1/+2 | |
| | |