| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
.rhtml is deprecated in favour of .erb in Rails 3
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Gemfile
Gemfile.lock
app/controllers/general_controller.rb
app/controllers/track_controller.rb
app/models/outgoing_message.rb
app/models/public_body.rb
app/models/user.rb
app/views/general/frontpage.rhtml
config/environment.rb
config/initializers/inflections.rb
config/initializers/mime_types.rb
db/migrate/094_remove_old_tags_foreign_key.rb
lib/timezone_fixes.rb
spec/models/request_mailer_spec.rb
spec/views/request/list.rhtml_spec.rb
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | | |
request ID, rather than distributing them across the download directories by the generated SHA. Preserve the uniqueness of the subdirectory.
|
| | |
| | |
| | |
| | | |
location.
|
| | | |
|
| | |
| | |
| | |
| | | |
have been set twice - safety first!
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
session in the case where the default locale is not being included in URLs. This allows the user to return to the default locale.
|
|/ |
|
| |
|
|
|
|
| |
request environment, set the admin_name on the session instead.
|
|
|
|
| |
admin_current_user
|
| |
|
| |
|
|
|
|
| |
param of 1. Fixes #557.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
app/controllers/admin_request_controller.rb
config/httpd.conf
spec/models/info_request_spec.rb
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The locale was not being set correctly for error pages, causing
some order-dependent test failures, e.g.:
script/spec spec/controllers/services_controller_spec.rb spec/integration/errors_spec.rb
was failing.
Many many many thanks to Louise Crow for tracking this one down!
|
|/
|
|
| |
(including from themes). Fixes #524
|
|
|
|
|
|
|
|
|
|
|
| |
> 10) admin debug (https://secure.mysociety.org/admin/foi/debug) - "you
> are" - sentence that isn't finished
>
> 11) admin debug (https://secure.mysociety.org/admin/foi/debug) -
> versioning incorrect & URLs to github malformed:
> Alaveteli version: 0.5.2-297-g4ec7f6e
> Alaveteli branch: (no
> Alaveteli commit: 4ec7f6edbf2c00abc8464eafc889047f43533f90
|
|
|
|
|
|
|
| |
It’s weird that there’s so much code here that implicitly
assumes File.dirname(__FILE__) is an absolute path, because
really in general it very much is not! This assumption was
invalidated by the recent bundler-awareness changes.
|
|\ |
|
| |
| |
| |
| | |
wombleton:feature/440_sparkly_admin_css)
|
| |
| |
| |
| | |
controller when the method doesn't exist in Alaveteli code. See [this comment](https://github.com/sebbacon/alaveteli/issues/320#issuecomment-5711523) for discussion.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the "log in as" function after 3b6e5a692b852a88f55b21a7210f60a6f7cfc24b
would attempt to log the admin user out before issuing the redirect. Unfortunately
this approach does not work on WhatDoTheyKnow, where the admin pages are served via
a different domain (secure.mysociety.org) and so do not share session information with
the rest of the site.
This commit changes it to mark the PostRedirect with circumstance == "login_as",
which signals the user controller to log out the previous user even if they are
an admin. In other words, the user is logged out on the main site rather than the
admin site, skirting this problem.
Closes #450.
|
|
|
|
| |
Just trailing whitespace & one comment.
|
|
|
|
| |
Fixes #446. See issue for details.
|
|
|
|
|
|
| |
This *ought* to fix the problem with the alert-tracks daemon
opening more and more copies of the xapian db till it exhausts
the available file descriptors.
|
|
|
|
|
| |
So, well, I found this change when I ran git diff; and the truth
is that I just prefer it aesthetically. Is that so sinful?
|
|
|
|
|
| |
This is a test for what I thought issue #370 might be. However this
test is passing, so it isn’t that.
|
| |
|
|
|
|
|
|
|
| |
(If DEBUG_RECORD_MEMORY is enabled)
This is useful for tracking down bugs that cause Rails to go into an infinite or very long
loop, as the recent Xapian wildcard bug does.
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
app/views/public_body/_search_ahead.rhtml
|
| | |
| | |
| | |
| | | |
fails.
|
| | |
| | |
| | |
| | | |
didn't call "integrate_views", so the rendering part was mocked by RSpec instead of executed.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Wildcard searches in Xapian can expand uncontrollably, consuming
all available RAM and crashing the server. This has been a real
problem on WhatDoTheyKnow.com. The underlying issue is tracked
in http://trac.xapian.org/ticket/350
This changeset imposes a limit on wildcard expansion. The type-ahead
search will first try a wildcard query, and if that fails because
of too much expansion will fall back to a plain non-wildcard search.
|
|/ |
|
|
|
|
| |
errors ad hoc as I find them that result from the workaround code. Fixes #328 (for good, I hope).
|
| |
|
|
|
|
| |
issue #343.
|