| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
This is not yet implemented. Test first!
|
| |
|
|
|
|
|
|
| |
An authenticated API for public bodies. So far just one method
is implemented, which gives the details of a request in JSON
format.
|
|
|
|
|
|
| |
URLs such as http://localhost:3000/en/request/106.json should
be redirected to the corresponding named URL, including the
.json on the end.
|
|
|
|
|
| |
Add data model support for “external” requests, i.e. requests added
via the API rather than made using the site.
|
| |
|
| |
|
| |
|
|
|
|
| |
This was causing me strange errors, and we think is not needed.
|
|
|
|
|
| |
It just has a small fix for Mac compatibility. This can be
reverted when Seb has merged the fix back to his fork.
|
|\ |
|
| |
| |
| |
| |
| | |
A simple mechanism for allowing multiple themes to register
custom routes.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Backslashes are interpreted twice inside backticks, once by Ruby
and a second time by the shell, so you need twice as many as you
think you do.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
> 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
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
When a user is notified of a request having been hidden,
BCC the site admin team.
|
|
|
|
| |
When a request is hidden by an admin, allow the subject line to be specified.
|
|
|
|
| |
Mention that the user will be able to see the request themselves.
|
|
|
|
| |
It turns out the admin layout has NEVER respected ADMIN_BASE_URL.
|
|
|
|
|
|
|
| |
Make the "report request" button submit a POST rather than a GET
request. Also restrict this action to logged-in users.
Fixes #501.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This reverts commit 57bfe1f4fd19f766677e08b132d0a16fad2ad706.
In fact this time we are not going to try fixing bundler instead,
but rather we are going to try to work around the bundler bug in
a different way, by uploading our version of xapian-full to rubygems
(under a different name: xapian-full-alaveteli).
|
|
|
|
| |
This reverts commit 9f5ad85b6ff541a8e4dc83e91548af9c745d64af.
|
|
|
|
| |
Instead of trying to work around the bug in bundler, what if we fixed it?
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ordinarily we would expect simply to run "bundle install" here.
However, at the time of writing there is a bug in bundler that
causes gems from github to be rebuilt every time bundle install
is run, which makes the process very extremely slow in our case
because Xapian takes a long time to build. Running
"bundle exec bundle install" is a workaround for this bug.
However clearly one cannot run bundle exec till the bundle has
initially been installed, so we use a flag file .bundler-has-run
to indicate whether we are doing an initial install.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
There was a load of other stuff between before_body_end and the
body end, which a) doesn’t seem right, morally speaking, and b)
makes it impossible to put any code in the before_body_end template
in your theme that interacts with Google Analytics, which is a thing
we want to do in whatdotheyknow-theme.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
app/models/info_request_event.rb
app/models/track_thing.rb
spec/controllers/track_controller_spec.rb
|
| |
| |
| |
| |
| |
| | |
The logic is such that only the first run of the day will have any
effect, in any case, since the InfoRequest calculate_status method
depends only on the date and not on the time of day.
|
| |
| |
| |
| | |
http://cl.ly/2w3B2u3o2T1d3u2a0p1o
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Add the facility to filter the public body feed by event type
using a query string parameter, e.g. event_type=sent.
|
| | |
| | |
| | |
| | |
| | |
| | | |
1. Remove useless call to spec_helper’s basic_auth_login method
2. Use Base64.encode64, rather than b64encode which also prints
the encoded string to standard output.
|
|\ \ \ |
|