aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix deprecation warningsHenare Degan2013-01-23-3/+3
| | | | | * Errors#on have been deprecated * Errors#[] now always returns an Array
* Change syntax - this looks like a test to meHenare Degan2013-01-23-1/+1
|
* In 447e4af we started adding the error to each attribute so start testing eachHenare Degan2013-01-23-4/+10
|
* We expect timestamps in a later migration but they're no longer added by the ↵Henare Degan2013-01-22-0/+2
| | | | newer version of acts_as_versioned we're using since 2ba57e8
* Add some more xapian methods for models/xapian_spec.rbHenare Degan2013-01-18-20/+21
|
* Update one method in RequestMailer to new mailer rails 3 apiMatthew Landauer2013-01-04-6/+8
|
* PublicBody.locale doesn't exist anymoreMatthew Landauer2013-01-04-2/+2
|
* Temporary hack to disable mailer monkeypatch for overriding multipart mail ↵Matthew Landauer2013-01-04-7/+9
| | | | templates in themes
* Activerecord 3 small api change for find_or_create_byMatthew Landauer2013-01-04-1/+1
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-spikeMatthew Landauer2013-01-04-184/+3765
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock Rakefile app/controllers/request_controller.rb lib/tasks/rspec.rake spec/controllers/services_controller_spec.rb spec/spec_helper.rb spec/views/request/_after_actions.rhtml_spec.rb
| * Handle the case of a comment on an external request.Louise Crow2012-12-21-1/+1
| |
| * Don't require rspec in production.Louise Crow2012-12-18-2/+0
| |
| * If we're not going to run the commonlib tests (and I think that's correct - ↵Louise Crow2012-12-18-3/+0
| | | | | | | | they belong in commonlib and should only be run when commonlib is changed), then don't load them. Allows us not to include the rspec gem in production.
| * Include Rake::DSL module manually to avoid deprecation warnings as perLouise Crow2012-12-18-0/+3
| | | | | | | | https://github.com/dchelimsky/rspec-rails/commit/be52a9841dde0292c7bc7ecfe39e7214b4db1cab
| * Latest translation files re-pulled from Transifex to get rid of fuzzy strings.Louise Crow2012-12-18-963/+467
| |
| * Latest translations from Transifex.Louise Crow2012-12-18-11/+3926
| |
| * Limit pagination on similar pages in line with new upper limit on page offset.Louise Crow2012-12-17-1/+3
| |
| * Only serve up 'similar' pages up to the offset we use for list.Louise Crow2012-12-17-0/+13
| |
| * Don't test travis fix branch anymore.Louise Crow2012-12-17-1/+0
| |
| * Don't install the develop or development group of gems in travis.Louise Crow2012-12-17-0/+4
| |
| * Add a spec to test that mailin does not produce any output. This is ↵Louise Crow2012-12-17-0/+21
| | | | | | | | important as under some MTA configurations, any output will result in a bounce message being sent to the original mail sender.
| * Adding mocking of incoming message id.Louise Crow2012-12-17-0/+1
| |
| * Don't install packages from the package list that we've already installed ↵Louise Crow2012-12-17-1/+1
| | | | | | | | another way.
| * Don't install rubygems - just need to update. However, seems like you can't ↵Louise Crow2012-12-17-1/+1
| | | | | | | | downgrade from the current rubygems under ruby 1.9.3 (1.8.24) to 1.6.2 in one go :( - add an intermediate version.
| * Actually the 1st Nov, not 15th.Louise Crow2012-12-17-1/+1
| |
| * Send the annual bank holiday reminder half-way through November, not on the ↵Louise Crow2012-12-17-1/+1
| | | | | | | | 1st of January, so there's actually time to act on it before the usual Jan 1 Bank Holiday being missing starts resulting in incorrect due dates.
| * Rewrite specs that were in spec/controller/application_controller as ↵Louise Crow2012-12-17-56/+71
| | | | | | | | full-stack controller specs in the relevant controllers. It turns out that having spec blocks that reference the ApplicationController class directly i.e. "describe ApplicationController" can have unpredictable effects. actionpack's action_controller/test_case.rb rewrites rescue_action_without_handler on whatever it is included in, and if this is done on a controller class, and then directly on action controller, it can result in an infinite loop of recursive calls. This turns out to be the problem that was causing some tests in error_spec.rb to fail in Travis under Ruby 1.9.
| * Merge branch 'hotfix/authenticate-and-expire-download-zips' into developLouise Crow2012-12-13-13/+67
| |\
| | * Remove any download zip files when a request's cached files are expired.Louise Crow2012-12-13-0/+8
| | |
| | * Put download zips in a predictable location - sharded folders based on ↵Louise Crow2012-12-13-1/+9
| | | | | | | | | | | | request ID, rather than distributing them across the download directories by the generated SHA. Preserve the uniqueness of the subdirectory.
| | * Use helper method for download path, and use Rails.root instead of file ↵Louise Crow2012-12-13-1/+5
| | | | | | | | | | | | location.
| | * Check that a request is publicly visible before generating a download link.Louise Crow2012-12-13-10/+26
| | |
| | * Only offer download links on publicly visible requestsLouise Crow2012-12-13-1/+19
| | |
| | * Merge branch 'hotfix/no-html-conversion-for-hidden'0.6.8.1Louise Crow2012-12-13-8/+29
| | |\
| * | | Updated lock file.Louise Crow2012-12-13-0/+1
| | | |
| * | | Restore rspec - causing errors on production deploy with cap.Louise Crow2012-12-13-0/+1
| | | |
| * | | Merge branch 'hotfix/no-html-conversion-for-hidden' into developLouise Crow2012-12-13-3/+18
| |\ \ \ | | | |/ | | |/|
| | * | Don't offer or allow viewing of an HTML version of a response attachment if ↵Louise Crow2012-12-13-8/+29
| | |/ | | | | | | | | | the request is hidden, or requester_only. Google docs viewer won't be able to access it, and our own conversion process currently can produce image files that will then be publicly viewable directly from the webserver (see config/httpd.conf). If necessary we can revisit this code to enable admins and requesters to view the HTML version created by our own conversion without adding these files to a path that is served directly by the web server.
| | * Emphasise the importance of adding a newrelic.yml file, fix formatting.Louise Crow2012-11-12-1/+2
| | |
| | * Merge remote-tracking branch 'origin/release/0.6.8'0.6.8Louise Crow2012-11-12-8979/+9638
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: locale/cs/app.po locale/sl/app.po locale/sq/app.po locale/tr/app.po locale/uk/app.po
| | * \ Merge branch 'hotfixes/translations0.6.7'Louise Crow2012-11-06-316/+8006
| | |\ \
| | | * | Latest translations from Transifex.Louise Crow2012-11-06-316/+8006
| | |/ /
| | * | Require rather than load to avoid already defined constant error when ↵0.6.7Louise Crow2012-10-17-1/+1
| | | | | | | | | | | | | | | | loading rails environment.
| | * | Merge branch 'release/0.6.7'Louise Crow2012-10-17-809/+2629
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: locale/cs/app.po locale/ro_RO/app.po
| | * | | Revert "Revert "Merge remote-tracking branch 'henare_github/patch-1'""Louise Crow2012-10-17-86/+156
| | | | | | | | | | | | | | | | | | | | This reverts commit 211fe84dc40d97df8aa8724906d9170ed4f78477.
| | * | | Latest translations from Transifex.Louise Crow2012-10-11-129/+3931
| | | | |
| | * | | Revert "Merge remote-tracking branch 'henare_github/patch-1'"Louise Crow2012-10-09-156/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mistakenly merged into master. Please note that we'll want to merge this work into master on the next release, at which point we'll want to revert this reversion in order that the changes are properly re-applied. This reverts commit 54281fd50c3271835a54ab4bc08d40da09d643ee, reversing changes made to 793ca358c37458e6cc4385d2366621aaee93a25e.
| | * | | Merge remote-tracking branch 'henare_github/patch-1'Louise Crow2012-09-24-86/+156
| | |\ \ \
| * | | | | Reformat for line length, add the expected response code.Louise Crow2012-12-13-2/+9
| | | | | |
| * | | | | Don't offer or allow viewing of an HTML version of a request if it is ↵Louise Crow2012-12-13-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | hidden, or requester_only. Google docs viewer won't be able to access it, and our own conversion process currently produces image files that will then be publicly viewable. If necessary we can revisit this code to enable admins and requesters to view the HTML version created by our own conversion without adding these files to a path that is served directly by the web server.