aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | Use UTF-8 database for Travis testsGareth Rees2014-06-13-1/+4
| | | |_|_|/ | | |/| | |
* | / | | | Removing houndci.com configLouise Crow2014-06-26-11/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's producing too many style messages at the moment. Consistent style is good, but we don't want it at the risk of discouraging contributions. Maybe we can restore it when we have a more consistent house style to work from.
* | | | | Don't check line length until we change the tab default to 2 spacesLouise Crow2014-06-25-0/+3
| | | | |
* | | | | Strip prefix from syntax following the example on ↵Louise Crow2014-06-25-2/+2
| | | | | | | | | | | | | | | | | | | | https://houndci.com/configuration
* | | | | Merge branch 'issues/1415-bulk-update-public-bodies' into rails-3-developGareth Rees2014-06-25-54/+266
|\ \ \ \ \
| * | | | | Move PublicBody domain logic from controllerGareth Rees2014-06-06-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 specsGareth Rees2014-06-06-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Shouldn't include non-visible bodies - Shouldn't include internal admin bodies
| * | | | | Extract public body CSV export to its own classGareth Rees2014-06-06-50/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * | | | | Remove FasterCSV dependencyGareth Rees2014-06-04-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | The last remaining usage was removed in c1ee22fe
* | | | | | Merge branch 'issues/1434-email-highlighting' into rails-3-developGareth Rees2014-06-25-41/+494
|\ \ \ \ \ \
| * | | | | | Handle unhelpful stemmingGareth Rees2014-06-25-8/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_excerptGareth Rees2014-06-25-1/+50
| | | | | | |
| * | | | | | Use regex based highlightingGareth Rees2014-06-25-19/+33
| | | | | | |
| * | | | | | Add helper to highlight and excerpt by regexGareth Rees2014-06-25-19/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_highlightGareth Rees2014-06-16-15/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Ignore stopwords - Use Stemming - Wrap words with regex for use in a highlighter (optional)
* | | | | | | Merge branch 'convert-crontab-mailto' into rails-3-developGareth Rees2014-06-25-3/+4
|\ \ \ \ \ \ \
| * | | | | | | Add MAILTO option to convert_crontab taskGareth Rees2014-06-25-3/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Less manual editing for reinstallers. Existing backwards-compatibility: $ bundle exec rake config_files:convert_crontab \ DEPLOY_USER=deploy \ VHOST_DIR=/home/vagrant/ \ VCSPATH=alaveteli \ SITE=alaveteli \ CRONTAB=config/crontab-example | grep 'MAILTO=' MAILTO=cron-alaveteli@mysociety.org New optional MAILTO option: $ bundle exec rake config_files:convert_crontab \ DEPLOY_USER=deploy \ VHOST_DIR=/home/vagrant/ \ VCSPATH=alaveteli \ SITE=alaveteli CRONTAB=config/crontab-example \ MAILTO=cron@example.org | grep 'MAILTO=' MAILTO=cron@example.org
* | | | | | | Merge branch 'quiet_assets' into rails-3-developGareth Rees2014-06-25-0/+4
|\ \ \ \ \ \ \
| * | | | | | | Add quiet_assets gemGareth Rees2014-06-18-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mutes assets pipeline log messages in development mode
* | | | | | | | Merge branch 'issues/112-replace-run-with-lockfile' into rails-3-developLouise Crow2014-06-24-13/+12
|\ \ \ \ \ \ \ \
| * | | | | | | | Use the run-with-lockfile shell script instead of the C programLouise Crow2014-06-19-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then re-installers don't have to compile anything.
* | | | | | | | | Use the EnforcedStyle key to switch from the ruby19 default to hashrocketsLouise Crow2014-06-24-4/+1
|/ / / / / / / /
* | | | | | | | Merge branch 'reference-new-docs' into rails-3-developLouise Crow2014-06-18-12/+12
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Update locations, use bullet points.Louise Crow2014-06-18-6/+6
| | | | | | | |
| * | | | | | | Update useful locationsLouise Crow2014-06-18-6/+6
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Most useful documentation now at alaveteli.org
* | | | | | | Merge branch 'rails-3-develop' of ↵Louise Crow2014-06-16-233/+362
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
| * | | | | | Fix typoGareth Rees2014-06-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes typo in 6bd0bfe
| * | | | | | Merge branch 'replace-xxx-todo' into rails-3-developGareth Rees2014-06-16-117/+117
| |\ \ \ \ \ \
| | * | | | | | Rename XXX comments with TODO:Gareth Rees2014-06-10-117/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Picks these up in `rake notes` and adds semantic meaning
| * | | | | | | Merge branch 'issues/788-notification-email-cache-buster' into rails-3-developGareth Rees2014-06-16-116/+245
| |\ \ \ \ \ \ \
| | * | | | | | | Remove DateTimeHelper#year_from_dateGareth Rees2014-06-05-33/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DateTime, Date and Time all have #year methods
| | * | | | | | | Minor tidying of DateTimeHelper and specsGareth Rees2014-06-05-8/+8
| | | | | | | | |
| | * | | | | | | Add specs for DateTimeHelper#simple_timeGareth Rees2014-06-05-1/+29
| | | | | | | | |
| | * | | | | | | Add specs for DateTimeHelper#year_from_dateGareth Rees2014-06-05-1/+27
| | | | | | | | |
| | * | | | | | | Move date helpers to DateTimeHelperGareth Rees2014-06-05-109/+120
| | | | | | | | |
| | * | | | | | | Remove duplication from new correspondence urlsGareth Rees2014-06-05-19/+42
| | | | | | | | |
| | * | | | | | | Add cache-busting to request response notificationGareth Rees2014-06-04-3/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users get a new response email, click the link, but get a cached page. This is a quick fix to ensure they always see the response when clicking the link.
* | | | | | | | | Merge branch 'feature/restore-highlight' into rails-3-developLouise Crow2014-06-16-1/+4
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Restore search term highlighting in the responsive stylesheets.Louise Crow2014-06-13-1/+4
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | Merge branch 'issues/1561-remove-duplicate-documentation' into rails-3-developLouise Crow2014-06-13-1130/+9
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Update pathsLouise Crow2014-06-13-6/+6
| | | | | | | |
| * | | | | | | Remove DEPLOY.md and point to new version.Louise Crow2014-06-10-41/+1
| | | | | | | |
| * | | | | | | Removing MTA setup instructions in favour of docs.Louise Crow2014-06-09-167/+1
| | | | | | | |
| * | | | | | | Remove INSTALL.md - superceded by ↵Louise Crow2014-06-09-653/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://code.alaveteli.org/installing/manual_install/
| * | | | | | | Remove translators document - duplicate of new docs.Louise Crow2014-06-09-107/+2
| | | | | | | |
| * | | | | | | Add README.md giving new docs location.Louise Crow2014-06-09-165/+5
|/ / / / / / /
* | | | | | | Merge remote-tracking branch 'origin/hotfix/0.18.0.3' into rails-3-developLouise Crow2014-06-06-0/+13
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Handle converting empty RTF fileshotfix/0.18.0.3Gareth Rees2014-06-06-0/+13
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Fixes https://github.com/mysociety/alaveteli/issues/1563
* | | | | | Merge branch 'hotfix/0.18.0.2' into rails-3-developLouise Crow2014-06-06-7/+26
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | / | | |_|_|/ | |/| | |
| * | | | Allow a message with more than one event to be destroyed.hotfix/0.18.0.2Louise Crow2014-06-06-7/+26
| |/ / / | | | | | | | | | | | | Fixes #1569