Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Unset any "using_admin" flag when logging out | Seb Bacon | 2012-06-27 | -0/+1 |
| | ||||
* | Show the admin navigation bar when browsing the main site. Fixes #512 | Seb Bacon | 2012-06-27 | -1/+1 |
| | ||||
* | Don't allow non-superusers to access admin interface (eek!) Fixes #515 | Seb Bacon | 2012-06-27 | -2/+5 |
| | ||||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-06-23 | -4/+9 |
|\ | | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb | |||
| * | Merge branch 'master' into develop | Seb Bacon | 2012-06-20 | -4/+9 |
| |\ | ||||
| | * | Only extend the cache time on InfoRequest views for sites with Varnish ↵ | Seb Bacon | 2012-06-20 | -1/+7 |
| | | | | | | | | | | | | purging set up | |||
| | * | Increase the time a page is cached for sites that are using Varnish. ↵ | Seb Bacon | 2012-06-20 | -1/+1 |
| | | | | | | | | | | | | Relatedly, document the consequences of getting the Varnish config wrong; and make it easier to grep for problems with Varnish in the log. | |||
| | * | Revert "Set a "Content-Disposition: attachment" header when downloading ↵ | Seb Bacon | 2012-06-15 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | files. Closes #428" This reverts commit 506af7a640f63b17000ccfc5e1344bbc3039c913. See issue #428 for a discussion | |||
| | * | Make emails requesting admin attention appear to come from the user who ↵ | Seb Bacon | 2012-06-12 | -1/+1 |
| | | | | | | | | | | | | requested the attention, not the user who made the original request. | |||
* | | | Merge branch 'feature/public-body-api' into develop | Robin Houston | 2012-06-20 | -3/+174 |
|\ \ \ | |/ / |/| | | ||||
| * | | API controller tests all pass | Robin Houston | 2012-06-18 | -3/+3 |
| | | | ||||
| * | | WIP API | Robin Houston | 2012-06-07 | -28/+8 |
| | | | ||||
| * | | WIP attachment uploading via API | Robin Houston | 2012-06-06 | -1/+21 |
| | | | ||||
| * | | API: Some testing of show_request | Robin Houston | 2012-06-06 | -0/+1 |
| | | | ||||
| * | | API: we can add a response to a request | Robin Houston | 2012-06-06 | -0/+81 |
| | | | ||||
| * | | more comments | Robin Houston | 2012-06-06 | -0/+3 |
| | | | ||||
| * | | Just include all the error messages | Robin Houston | 2012-06-06 | -5/+1 |
| | | | | | | | | | | | | I can’t see any way the error could be triggered by the caller, anyway. | |||
| * | | Improve explanation | Robin Houston | 2012-06-06 | -2/+4 |
| | | | | | | | | | | | | | | | I struggled to understand this comment. I hope the new wording is clearer. | |||
| * | | API create_request method is working | Robin Houston | 2012-06-06 | -18/+40 |
| | | | | | | | | | | | | | | | | | | "when using the API", it "should create a new request from a POST", AND IT DOES! | |||
| * | | Work in progress on getting new APIController test to pass. They don't, yet! | Seb Bacon | 2012-06-06 | -1/+21 |
| | | | ||||
| * | | Reorder methods | Robin Houston | 2012-06-06 | -4/+4 |
| | | | ||||
| * | | Authenticated API | Robin Houston | 2012-06-06 | -0/+46 |
| | | | | | | | | | | | | | | | | | | 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 too | Robin Houston | 2012-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. | |||
* / | After a dry-run, cause the public body "import" button to use the data ↵ | Seb Bacon | 2012-06-12 | -9/+13 |
|/ | | | | uploaded in the dry-run. Fixes #507 | |||
* | Silly syntax bug | Robin Houston | 2012-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 method | Robin Houston | 2012-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 | |||
* | Log an event when a request is hidden | Robin Houston | 2012-06-04 | -1/+9 |
| | ||||
* | Allow subject to be specified when request hidden | Robin Houston | 2012-06-03 | -1/+2 |
| | | | | When a request is hidden by an admin, allow the subject line to be specified. | |||
* | Prevent spiders from reporting requests | Robin Houston | 2012-06-03 | -0/+6 |
| | | | | | | | 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 absolute | Robin Houston | 2012-06-03 | -2/+2 |
| | | | | | | | 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 the logic that tells you about other countries' Alavetelis prefer the ↵ | Seb Bacon | 2012-05-30 | -0/+3 |
| | | | | browser language; and make the tests pass. | |||
* | Test for user turning email alerts off. Also includes a fix not to rely on ↵ | Seb Bacon | 2012-05-30 | -1/+1 |
| | | | | HTTP_REFERER for subsequent redirect. | |||
* | Make it possible to view other people's activities on their own walls. | Seb Bacon | 2012-05-30 | -5/+5 |
| | ||||
* | Fix typo that broke one of the "follow" informational messages | Seb Bacon | 2012-05-30 | -1/+1 |
| | ||||
* | Limit the number of results returned on the wall | Seb Bacon | 2012-05-30 | -2/+2 |
| | ||||
* | Support "following" functionality: | Seb Bacon | 2012-05-30 | -4/+65 |
| | | | | | | * Change "email me about stuff" wording to "follow" throughout * Introduce a new flag that the user can set, which controls if they get email alerts * Add a new link to a "wall" for logged in users where they can see a feed of all the things they're following | |||
* | Always supply admins with reason why a request was sent to the holding pen, ↵ | Seb Bacon | 2012-05-29 | -1/+1 |
| | | | | even if it's "unknown" | |||
* | Allow messages to be redelivered to more than one request. Closes #442 | Seb Bacon | 2012-05-29 | -25/+29 |
| | ||||
* | Support easy hiding of requests for admins. Currently not exposed in core ↵ | Seb Bacon | 2012-05-25 | -0/+40 |
| | | | | admin interface (requires adminbootstraptheme). | |||
* | Test for reporting functionality | Seb Bacon | 2012-05-24 | -1/+3 |
| | ||||
* | First stab at new feature. Adds new box in sidebar for reporting an issue, a ↵ | Seb Bacon | 2012-05-24 | -0/+12 |
| | | | | | | new "needs admin attention"-type state to InfoRequests, a flag indicating that a request has ever been marked as needing admin attention, and a controller method and route for setting this state & flag. Also adds the reason something needs admin attention to the subject of the email that gets sent to administrators. Neeeds tests. | |||
* | Show Alaveteli version number on debug page (using last git tag in history) | Seb Bacon | 2012-05-23 | -0/+1 |
| | ||||
* | Merge branch 'develop' into feature/fix-404-in-themes | Seb Bacon | 2012-05-15 | -163/+163 |
|\ | ||||
| * | Remove trailing whitespace (to make a cleaner forthcoming merge with ↵ | Seb Bacon | 2012-05-15 | -163/+163 |
| | | | | | | | | wombleton:feature/440_sparkly_admin_css) | |||
* | | Add a comment to explain why we're calling `set_view_paths` in the ↵ | Seb Bacon | 2012-05-15 | -2/+7 |
| | | | | | | | | controller when the method doesn't exist in Alaveteli code. See [this comment](https://github.com/sebbacon/alaveteli/issues/320#issuecomment-5711523) for discussion. | |||
* | | Allow themes to effect the design of error pages | Seb Bacon | 2012-05-15 | -0/+7 |
|/ | ||||
* | Improve administrative user account support: | Seb Bacon | 2012-05-14 | -14/+31 |
| | | | | | | * Allow users with `super` admin level to use the administrative interface. * Allow bootstrapping these users with an Emergency User over HTTP Basic Auth * Introduce new `SKIP_ADMIN_AUTH` setting to allow all admin auth to be bypassed (used by mySociety) | |||
* | Redirect people to more user-friendly search results page (where possible) ↵ | Seb Bacon | 2012-05-11 | -1/+17 |
| | | | | after they've "followed" search results. Fixes #487 | |||
* | Don't cache results from pages with different locales using the same key. ↵ | Seb Bacon | 2012-05-04 | -1/+1 |
| | | | | Fixes #454 | |||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-05-03 | -10/+3 |
|\ |