aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Test for creating a new request via the APIRobin Houston2012-06-06-0/+33
| | | | This is not yet implemented. Test first!
* Reorder methodsRobin Houston2012-06-06-4/+4
|
* Authenticated APIRobin Houston2012-06-06-0/+54
| | | | | | An authenticated API for public bodies. So far just one method is implemented, which gives the details of a request in JSON format.
* Redirect numeric request URLs in JSON mode tooRobin Houston2012-06-06-1/+1
| | | | | | URLs such as http://localhost:3000/en/request/106.json should be redirected to the corresponding named URL, including the .json on the end.
* External requestsRobin Houston2012-06-06-1/+39
| | | | | Add data model support for “external” requests, i.e. requests added via the API rather than made using the site.
* Correct syntax for making column NOT NULLRobin Houston2012-06-06-1/+1
|
* Generate an API key for each public bodyRobin Houston2012-06-06-1/+20
|
* Add the annotate gemRobin Houston2012-06-06-2/+8
|
* Remove gem spec from environmentRobin Houston2012-06-06-2/+0
| | | | This was causing me strange errors, and we think is not needed.
* Switch to robinhouston/xapian-full temporarilyRobin Houston2012-06-06-1/+7
| | | | | It just has a small fix for Mac compatibility. This can be reverted when Seb has merged the fix back to his fork.
* Merge branch 'wdtk' into developRobin Houston2012-06-05-9/+13
|\
| * Multi-theme support for custom routesRobin Houston2012-06-05-2/+8
| | | | | | | | | | A simple mechanism for allowing multiple themes to register custom routes.
| * Let everyone know, not just usRobin Houston2012-06-05-1/+1
| |
| * Silly syntax bugRobin Houston2012-06-04-2/+2
| | | | | | | | | | | | 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.
| * Fix admin debug methodRobin Houston2012-06-04-6/+4
| | | | | | | | | | | | | | | | | | | | | | > 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
* | Remove WDTK-specific config variablesRobin Houston2012-06-04-5/+0
|/
* Log an event when a request is hiddenRobin Houston2012-06-04-1/+12
|
* trailing whitespaceRobin Houston2012-06-03-1/+1
|
* Copy the admin team on messages sent to usersRobin Houston2012-06-03-0/+1
| | | | | When a user is notified of a request having been hidden, BCC the site admin team.
* Allow subject to be specified when request hiddenRobin Houston2012-06-03-1/+2
| | | | When a request is hidden by an admin, allow the subject line to be specified.
* Improve wordingRobin Houston2012-06-03-1/+1
| | | | Mention that the user will be able to see the request themselves.
* Respect ADMIN_BASE_URLRobin Houston2012-06-03-8/+8
| | | | It turns out the admin layout has NEVER respected ADMIN_BASE_URL.
* Prevent spiders from reporting requestsRobin Houston2012-06-03-2/+14
| | | | | | | Make the "report request" button submit a POST rather than a GET request. Also restrict this action to logged-in users. Fixes #501.
* File.dirname(__FILE__) is not necessarily absoluteRobin Houston2012-06-03-7/+7
| | | | | | | 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.
* Make handle-mail-replies bundler-aware tooRobin Houston2012-06-03-179/+183
|
* Make the scripts bundler-awareRobin Houston2012-06-03-34/+28
|
* Use the foi- prefix consistently on Debian scriptsRobin Houston2012-06-03-1/+1
|
* Correct copy-and-pasta in the purge-varnish-debian.uglyRobin Houston2012-06-03-7/+7
|
* Upgrade xapian-full-alaveteli a third timeRobin Houston2012-06-01-3/+3
|
* Upgrade xapian-full-alaveteli yet againRobin Houston2012-06-01-3/+3
|
* Upgrade xapian-full-alaveteli againRobin Houston2012-06-01-3/+3
|
* Upgrade xapian-full-alaveteli to latestRobin Houston2012-06-01-3/+3
|
* Comment correctionRobin Houston2012-06-01-2/+2
|
* Switch to our own xapian-full gemRobin Houston2012-05-31-8/+3
|
* Revert "Revert "Let’s try fixing bundler instead""Robin Houston2012-05-31-23/+1
| | | | | | | | | 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).
* Revert "Let’s try fixing bundler instead"Robin Houston2012-05-31-1/+23
| | | | This reverts commit 9f5ad85b6ff541a8e4dc83e91548af9c745d64af.
* Let’s try fixing bundler insteadRobin Houston2012-05-31-23/+1
| | | | Instead of trying to work around the bug in bundler, what if we fixed it?
* Bug still present in Debian 6.0.5Robin Houston2012-05-31-1/+1
|
* local can only be used in a functionRobin Houston2012-05-31-1/+1
|
* Bundler fix for rails-post-deployRobin Houston2012-05-31-8/+31
| | | | | | | | | | | | | 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.
* Add SURVEY_URL and SURVEY_SECRETRobin Houston2012-05-31-0/+5
|
* clearer indentationRobin Houston2012-05-31-11/+12
|
* Move before_body_end to before the </body>Robin Houston2012-05-31-1/+1
| | | | | | | | 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.
* Merge branch 'wdtk' into wdtk-futureRobin Houston2012-05-31-0/+0
|\ | | | | | | | | | | | | Conflicts: app/models/info_request_event.rb app/models/track_thing.rb spec/controllers/track_controller_spec.rb
| * Change alert-overdue-requests to run once a dayRobin Houston2012-05-29-2/+2
| | | | | | | | | | | | 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.
| * Display issue on request listsRobin Houston2012-05-25-2/+3
| | | | | | | | http://cl.ly/2w3B2u3o2T1d3u2a0p1o
| * Merge branch 'master' into wdtkRobin Houston2012-05-25-1/+5
| |\
| * | Filter public body tracks by event typeRobin Houston2012-05-04-25/+66
| | | | | | | | | | | | | | | Add the facility to filter the public body feed by event type using a query string parameter, e.g. event_type=sent.
| * | Fixes to integration/admin_specRobin Houston2012-03-20-2/+1
| | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'release/0.6' of github.com:sebbacon/alaveteli into release/0.6Robin Houston2012-05-31-1/+1
|\ \ \