Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Allow RAILS_ENV to be set in sysvinit-thinhotfix/0.19.1hotfix/0.19.0.2 | Gareth Rees | 2014-08-29 | -1/+2 |
| | | | | Install script on AWS uses development mode by default | |||
* | Add charset to view-as-html template | Gareth Rees | 2014-08-19 | -0/+1 |
| | ||||
* | Fix typo in config_files:convert_init_script | Gareth Rees | 2014-08-07 | -1/+1 |
| | ||||
* | Tidy config_files:convert_init_script | Gareth Rees | 2014-08-07 | -10/+11 |
| | ||||
* | Merge branch 'stats_export_body_name_quoting' into rails-3-develop | Gareth Rees | 2014-08-05 | -2/+2 |
|\ | ||||
| * | Quote body name in stats csv export | Gareth Rees | 2014-08-04 | -2/+2 |
| | | | | | | | | Some Public Body names contain commas (or other characters) which lead to a malformed CSV where parts of the body name are in later columns. | |||
* | | Use correct site name for alert tracks log and pid | Gareth Rees | 2014-07-15 | -3/+5 |
| | | | | | | | | | | ENV[‘SITE’] can be specified for the crontab (and elsewhere) so allow the option here too. | |||
* | | Generate alert-tracks pid & log to default location | Gareth Rees | 2014-07-15 | -2/+3 |
| | | | | | | | | | | Deployment system should handle linking the original location to wherever necessary on the specific platform. | |||
* | | Minor tidying of alert-tracks generation | Gareth Rees | 2014-07-15 | -6/+10 |
|/ | ||||
* | Merge branch 'issues/1585-responsive-styling-by-default' into rails-3-develop | Gareth Rees | 2014-07-15 | -1/+1 |
|\ | ||||
| * | Set fallback responsitve styling to true | Gareth Rees | 2014-07-11 | -1/+1 |
| | | | | | | | | | | 156481f set the default example to true but this ensures the fallback is true. | |||
* | | Update list of world FOI websites. | Louise Crow | 2014-07-08 | -3/+14 |
|/ | ||||
* | Merge branch 'issues/1415-bulk-update-public-bodies' into rails-3-develop | Gareth Rees | 2014-06-25 | -0/+95 |
|\ | ||||
| * | Extract public body CSV export to its own class | Gareth Rees | 2014-06-06 | -0/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 'issues/1434-email-highlighting' into rails-3-develop | Gareth Rees | 2014-06-25 | -12/+50 |
|\ \ | ||||
| * | | Handle unhelpful stemming | Gareth Rees | 2014-06-25 | -5/+32 |
| | | | | | | | | | | | | | | | | | | | | | Stemming returns 'bore' as the word to highlight which can't be matched in the original phrase. Also removes duplicates from the results | |||
| * | | Improve ActsAsXapian::Search#words_to_highlight | Gareth Rees | 2014-06-16 | -10/+21 |
| | | | | | | | | | | | | | | | | | | - Ignore stopwords - Use Stemming - Wrap words with regex for use in a highlighter (optional) | |||
* | | | Add MAILTO option to convert_crontab task | Gareth Rees | 2014-06-25 | -2/+3 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'replace-xxx-todo' into rails-3-develop | Gareth Rees | 2014-06-16 | -19/+19 |
|\ \ | ||||
| * | | Rename XXX comments with TODO: | Gareth Rees | 2014-06-10 | -19/+19 |
| |/ | | | | | | | Picks these up in `rake notes` and adds semantic meaning | |||
* | | Merge remote-tracking branch 'origin/hotfix/0.18.0.3' into rails-3-develop | Louise Crow | 2014-06-06 | -0/+2 |
|\ \ | |/ |/| | ||||
| * | Handle converting empty RTF fileshotfix/0.18.0.3 | Gareth Rees | 2014-06-06 | -0/+2 |
| | | | | | | | | Fixes https://github.com/mysociety/alaveteli/issues/1563 | |||
* | | Rake task for cleaning up holding pen events | Louise Crow | 2014-06-02 | -0/+20 |
|/ | ||||
* | Remove obsolete require | Louise Crow | 2014-05-15 | -2/+0 |
| | ||||
* | Work around bug#77932 in pdftohtml | Gareth Rees | 2014-05-06 | -0/+11 |
| | | | | | | | | | Sometimes pdftohtml will generate thousands of images when converting an image embedded in a PDF. This causes a request spike when a user tries to view the converted PDF as HTML. See https://bugs.freedesktop.org/show_bug.cgi?id=77932 for the bug report. | |||
* | Merge branch 'issues/1390-james-cheshire-infographic' into rails-3-develop | Gareth Rees | 2014-05-01 | -0/+77 |
|\ | ||||
| * | Remove Total Requests from quarterly stats | Gareth Rees | 2014-05-01 | -6/+6 |
| | | | | | | | | | | Was confusing what the number meant; easier to just sum numbers in the quartery columns to get totals. | |||
| * | Add rake tasks for James Cheshire stats | Gareth Rees | 2014-05-01 | -0/+55 |
| | | ||||
| * | Extract quarters_between to DateQuarter lib | Gareth Rees | 2014-05-01 | -0/+22 |
| | | ||||
* | | Merge branch 'hotfix/0.17.0.1' into rails-3-develop | Louise Crow | 2014-04-25 | -0/+8 |
|\ \ | ||||
| * | | Make sure mail/part is loaded.hotfix/0.17.0.1 | Louise Crow | 2014-04-25 | -0/+2 |
| | | | ||||
| * | | Fix for badly-formed content-disposition header. | Louise Crow | 2014-04-25 | -0/+6 |
| | | | | | | | | | | | | Taken from https://github.com/mikel/mail/pull/602 | |||
* | | | Add feature flag for responsive styling | Louise Crow | 2014-04-24 | -0/+1 |
| |/ |/| | | | | | Sets viewport, uses responsive header and footer templates. | |||
* | | Dynamically inject AttachmentToHTML::View content | Gareth Rees | 2014-04-07 | -2/+21 |
| | | ||||
* | | Remove redundant AttachmentToHTML::HTML | Gareth Rees | 2014-04-07 | -15/+0 |
| | | ||||
* | | Update AttachmentToHTML for new View class | Gareth Rees | 2014-04-07 | -6/+7 |
| | | ||||
* | | Simpler AttachmentToHTML::Adapters::CouldNotConvert interface | Gareth Rees | 2014-04-07 | -29/+15 |
| | | ||||
* | | Simpler AttachmentToHTML::Adapters::GoogleDocsViewer interface | Gareth Rees | 2014-04-07 | -30/+13 |
| | | ||||
* | | Simpler AttachmentToHTML::Adapters::RTF interface | Gareth Rees | 2014-04-07 | -46/+16 |
| | | | | | | | | | | | | | | | | | | | | | | TODO: We really should be testing the full output of RTF#body, but we currently want to remain consistent with Adapters::PDF as many methods are shared between the Adapters. A more correct spec might be: expected = %Q(<font size=3><font color="#000000">thisisthebody</font></font>) adapter.body.should == expected | |||
* | | Simpler AttachmentToHTML::Adapters::PDF interface | Gareth Rees | 2014-04-07 | -46/+16 |
| | | | | | | | | | | | | | | | | | | | | | | TODO: We really should be testing the full output of PDF#body, but inconsistencies between pdftohtml prevent sensible means of doing this. For example: adapter.body.should == %Q(\n<A name=1></a>thisisthebody<br/>\n<hr>\n) Fails because some versions (correctly!) use lower case tag names. | |||
* | | Simpler AttachmentToHTML::Adapters::Text interface | Gareth Rees | 2014-04-07 | -41/+20 |
| | | ||||
* | | Add an AttachmentToHTML::View to deal with rendering | Gareth Rees | 2014-04-07 | -0/+41 |
| | | ||||
* | | Work around a bug in unrtf | Gareth Rees | 2014-04-01 | -1/+12 |
| | | ||||
* | | Get attachment body outside of chdir | Gareth Rees | 2014-04-01 | -24/+36 |
| | | ||||
* | | Add AttachmentToHTML library | Gareth Rees | 2014-03-28 | -0/+516 |
| | | | | | | | | | | | | | | | | | | | | | | | | Extracts the attachment processing from FoiAttachment#body_to_html AttachmentToHTML contains adapters which convert - text/plain - application/pdf - application/rtf Results are returned as an AttachmentHTML::HTML instance which contains the raw HTML and other metadata about the conversion. | |||
* | | Merge remote-tracking branch ↵ | Louise Crow | 2014-03-13 | -7/+5 |
|\ \ | |/ |/| | | | 'opennewzealand_github/feature/handle-undefined-conversion' into rails-3-develop | |||
| * | Remove unused variable | Rowan Crawford | 2014-03-01 | -2/+0 |
| | | ||||
| * | Handle UndefinedConversionError when converting to utf-8 | Rowan Crawford | 2014-03-01 | -5/+5 |
| | | | | | | | | | | | | From: http://ruby-doc.org/core-2.0/String.html#method-i-encode Ducktypes for having encode rather than relying on RUBY_VERSION | |||
| * | Make all WDTK references use HTTPS. | Matthew Somerville | 2014-02-18 | -2/+2 |
| | | ||||
* | | Make all WDTK references use HTTPS. | Matthew Somerville | 2014-01-30 | -2/+2 |
| | |