Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | | Remove dependence on default public bodies. | Louise Crow | 2014-09-22 | -16/+84 | |
| | | | | | | | | | | | | Seems like this could trip us up later. Use factories instead, they're more clearly associated with tests. | ||||
| * | | Validation of display order, default setting callbacks. | Louise Crow | 2014-09-22 | -14/+74 | |
| | | | |||||
| * | | Allow deletion of public body categories with associatied bodies | lizconlan | 2014-09-22 | -9/+1 | |
| | | | |||||
| * | | Add display order to public body categories and headings | lizconlan | 2014-09-22 | -53/+112 | |
| | | | |||||
| * | | Reinstate automatic loading of categories on get if no categories defined | lizconlan | 2014-09-22 | -1/+12 | |
| | | | |||||
| * | | Enable admins to link public body categories to headings | lizconlan | 2014-09-22 | -0/+14 | |
| | | | |||||
| * | | Restrict category_tag edits to empty public body categories | lizconlan | 2014-09-22 | -0/+18 | |
| | | | |||||
| * | | Basic category admin screen | lizconlan | 2014-09-22 | -0/+275 | |
| | | | |||||
| * | | Use translation tables for PublicBodyCategory and PublicBodyHeading | lizconlan | 2014-09-22 | -5/+33 | |
| | | | |||||
| * | | Replace existing PublicBodyCategories functionality with db models ↵ | lizconlan | 2014-09-22 | -4/+28 | |
| | | | | | | | | | | | | PublicBodyCategory and PublicBodyHeading | ||||
* | | | Merge branch 'issues/1827-healthcheck' into rails-3-develop | Gareth Rees | 2014-09-30 | -0/+316 | |
|\ \ \ | |||||
| * | | | Replace initial checks with DaysAgoCheck | Gareth Rees | 2014-09-25 | -84/+66 | |
| | | | | |||||
| * | | | Add an action to run the checks | Gareth Rees | 2014-09-25 | -0/+45 | |
| | | | | |||||
| * | | | Add some initial health checks | Gareth Rees | 2014-09-25 | -0/+84 | |
| | | | | |||||
| * | | | Add HealthCheck and HealthCheckable | Gareth Rees | 2014-09-25 | -0/+205 | |
| |/ / | | | | | | | | | | | | | | | | | | | HealthCheck is a basic library for creating health checks. HealthCheck works with any class so long as it includes HealthCheckable and defines the `check` method. | ||||
* / / | Create a valid OutgoingMessage factory | Gareth Rees | 2014-09-19 | -0/+9 | |
|/ / | |||||
* | | Merge branch 'issues/1833-censor-rule-validation' into rails-3-develop | Gareth Rees | 2014-09-15 | -6/+27 | |
|\ \ | |||||
| * | | Fix regressions in CensorRule specs | Gareth Rees | 2014-09-12 | -3/+12 | |
| | | | | | | | | | | | | Added extra validations to match Postgres constraints | ||||
| * | | Add correct validations to CensorRule | Gareth Rees | 2014-09-12 | -3/+15 | |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/hotfix/0.19.0.3' into rails-3-develop | Gareth Rees | 2014-09-15 | -0/+10 | |
|\ \ \ | | |/ | |/| | |||||
| * | | Whitelist UserController#signup params0.19.0.3hotfix/0.19.0.3 | Gareth Rees | 2014-09-09 | -0/+10 | |
| | | | | | | | | | | | | Protects from mass-assignment exploit attempts | ||||
* | | | Merge branch 'hotfix/0.19.0.1' into rails-3-develop | Louise Crow | 2014-09-04 | -0/+48 | |
|\| | | |/ |/| | |||||
| * | Add integration spec.0.19.0.1hotfix/0.19.0.1 | Louise Crow | 2014-09-01 | -0/+31 | |
| | | |||||
| * | Return a list of all cache directories for the request | Louise Crow | 2014-09-01 | -2/+7 | |
| | | |||||
| * | Move method to model to make it more testable, add spec. | Louise Crow | 2014-09-01 | -0/+12 | |
| | | |||||
* | | Fix test failures in PublicBody overrideable CSV import specs | Steven Day | 2014-08-22 | -2/+2 | |
| | | |||||
* | | Make csv import fields a class attribute that can be overriden | Steven Day | 2014-08-22 | -0/+52 | |
|/ | |||||
* | Merge branch 'issues/1181-destroy-external-request' into rails-3-develop | Gareth Rees | 2014-08-21 | -0/+6 | |
|\ | |||||
| * | Use different flash for fully_destroy external InfoRequest | Gareth Rees | 2014-08-18 | -0/+6 | |
| | | | | | | | | Uses a different flash message to avoid trying to fetch a non existent user record | ||||
* | | Merge branch 'issues/1744-view-as-html-stylesheet' into rails-3-develop | Gareth Rees | 2014-08-21 | -0/+1 | |
|\ \ | |||||
| * | | Add charset to view-as-html template | Gareth Rees | 2014-08-19 | -0/+1 | |
| |/ | |||||
* / | Add honeypot spam protection to body update form | Gareth Rees | 2014-08-21 | -2/+16 | |
|/ | | | | | Intercepts the request and redirects to the homepage if the comment field is filled in on the public body update form. | ||||
* | Use since_event_id to restrict query, not just data displayed. | Louise Crow | 2014-08-11 | -1/+10 | |
| | | | | | Allow the same params (since_event_id, since_date) for both formats. There doesn't seem to be a particular reason not to treat them the same. | ||||
* | whitespace | lizconlan | 2014-07-28 | -436/+434 | |
| | | | | includes various code layout fixes | ||||
* | Sending an invalid state value to add_correspondence now aborts the entire ↵ | lizconlan | 2014-07-28 | -29/+40 | |
| | | | | operation | ||||
* | Refactor state update API, better error handling | lizconlan | 2014-07-28 | -10/+12 | |
| | | | | Filters; more 403s, fewer 500s; added logging; less duplication | ||||
* | Extend add_correspondence API method to optionally accept a state param | lizconlan | 2014-07-28 | -79/+135 | |
| | |||||
* | New API method for updating request state | lizconlan | 2014-07-28 | -277/+357 | |
| | |||||
* | Merge branch 'issues/1415-bulk-update-public-bodies' into rails-3-develop | Gareth Rees | 2014-06-25 | -0/+145 | |
|\ | |||||
| * | Move PublicBody domain logic from controller | Gareth Rees | 2014-06-06 | -0/+14 | |
| | | | | | | | | | | | | 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. | ||||
| * | Add PublicBodyController#list_all_csv specs | Gareth Rees | 2014-06-06 | -0/+17 | |
| | | | | | | | | | | - Shouldn't include non-visible bodies - Shouldn't include internal admin bodies | ||||
| * | Extract public body CSV export to its own class | Gareth Rees | 2014-06-06 | -0/+114 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. | ||||
* | | Handle unhelpful stemming | Gareth Rees | 2014-06-25 | -1/+21 | |
| | | | | | | | | | | | | | | Stemming returns 'bore' as the word to highlight which can't be matched in the original phrase. Also removes duplicates from the results | ||||
* | | Add spec for highlight_and_excerpt | Gareth Rees | 2014-06-25 | -1/+49 | |
| | | |||||
* | | Use regex based highlighting | Gareth Rees | 2014-06-25 | -4/+13 | |
| | | |||||
* | | Add helper to highlight and excerpt by regex | Gareth Rees | 2014-06-25 | -0/+218 | |
| | | | | | | | | | | | | | | Backport of https://github.com/rails/rails/pull/11793/ Contains integration tests to check that it works as expected with ActsAsXapian. | ||||
* | | Improve ActsAsXapian::Search#words_to_highlight | Gareth Rees | 2014-06-16 | -5/+35 | |
| | | | | | | | | | | | | - Ignore stopwords - Use Stemming - Wrap words with regex for use in a highlighter (optional) | ||||
* | | Fix typo | Gareth Rees | 2014-06-16 | -2/+2 | |
| | | | | | | | | Fixes typo in 6bd0bfe | ||||
* | | Merge branch 'replace-xxx-todo' into rails-3-develop | Gareth Rees | 2014-06-16 | -25/+25 | |
|\ \ | |||||
| * | | Rename XXX comments with TODO: | Gareth Rees | 2014-06-10 | -25/+25 | |
| |/ | | | | | | | Picks these up in `rake notes` and adds semantic meaning |