aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_general_controller.rb
Commit message (Collapse)AuthorAgeLines
* Remove redirect to trailing slash URL.Louise Crow2014-10-30-7/+0
| | | | | Introduced in 4f501309ade230f65f4ba45e1d0161e89587d755 but no longer needed as we don't proxy the admin interface.
* Add change requests to the 'Things to do' listLouise Crow2014-01-13-0/+2
|
* Clean up admin indexLouise Crow2014-01-13-5/+6
| | | | Refactor a bit so it's easier to read.
* Serve admin.js as a static fileMark Longair2013-08-21-5/+0
| | | | | | | | | | | | | | | | | | | admin.js was being generated from a view so that the config variable ADMIN_PUBLIC_URL could be used to direct AJAX requests in the admin interface correctly. ADMIN_PUBLIC_URL was necessary for WhatDoTheyKnow when the admin interface was proxied over SSL, while the rest of the site was non-SSL. Now that the whole site is served over SSL, however, the proxy for the admin interface is not longer used and ADMIN_PUBLIC_URL / ADMIN_BASE_URL have been removed. As a result, admin.js is now being generated from a Rails view unnecessarily, and at some performance cost. This commit moves admin.coffee and admin.js to the public directory, so they will be served more efficiently. In addition, this commit removes admin.coffee / admin.js from public/javascripts/ where there was a second (and different) version that now appears to be unused.
* Merge remote-tracking branch 'openaustralia_github/app_version_api_feature' ↵Louise Crow2013-06-18-1/+1
|\ | | | | | | | | | | | | | | | | into rails-3-develop Conflicts: app/controllers/application_controller.rb app/controllers/general_controller.rb config/routes.rb
| * Extract methodMatthew Landauer2013-02-24-1/+1
| |
* | Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-1/+1
| |
* | Move serving of js for admin interface from general to admin_general controllerMatthew Landauer2013-02-19-0/+7
| |
* | Merge in adminbootstraptheme 323d704ab4f1ffe31f20fcabeaf030c462dfbadf into ↵Matthew Landauer2013-02-19-0/+11
|/ | | | main project
* Redirect calls to admin_http_auth_user to more generic wrapper ↵Louise Crow2012-10-30-1/+1
| | | | admin_current_user
* Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-2/+0
|
* Paginate the timeline to allow it to render in a reasonable amount of time. ↵Louise Crow2012-09-13-8/+51
| | | | In order to avoid sorting large numbers of objects in order to get the right order of combined events across the two model types, get the overall order first from the database and then populate the slice we're interested in.
* 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-3/+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
* First stab at new feature. Adds new box in sidebar for reporting an issue, a ↵Seb Bacon2012-05-24-0/+1
| | | | | | 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 Bacon2012-05-23-0/+1
|
* Remove trailing whitespace (to make a cleaner forthcoming merge with ↵Seb Bacon2012-05-15-2/+2
| | | | wombleton:feature/440_sparkly_admin_css)
* Show some info about the Alaveteli version currently running. Fixes #319.Seb Bacon2012-01-19-0/+4
|
* Force a trailing slash on the end of the administrators' index page. Fixes #106Seb Bacon2011-08-03-0/+7
|
* Use default 21 days for old unclassified.francis2009-10-03-3/+2
|
* Show a few list on admin page.francis2009-10-01-2/+2
|
* Slightly more info on admin page.francis2009-09-07-2/+7
|
* Need to use UTC in conditionsfrancis2009-07-16-3/+3
|
* Some shorter timelines.francis2009-07-16-1/+9
|
* "hidden" option to completely hide requests (from everyone except ↵francis2009-06-23-2/+2
| | | | administrator screens).
* It is no longer 10 days, so rename variable.francis2009-06-05-2/+2
|
* Make old_unclassfied function a bit more flexible for reuse elsewhere e.g. ↵louise2009-04-08-2/+4
| | | | in mailing reminders to requesters
* Moving logic for determining old and unclassified requests to the model in ↵louise2009-04-08-2/+2
| | | | preparation for allowing anyone to edit them
* Restrict 'ten days old unclassified' on front page of admin to 50tony2009-03-10-2/+2
| | | | entries to speed up that page, and provide full list as separate page
* Change it to ask "what best describes the status of this request now"francis2009-02-27-1/+2
| | | | | | rather than "what *is* the status..." Remove "none of the above" for now, see how that goes. Add new error_message state, for delivery failures etc.
* Whoops, accidentally broke half admin interface by overwriting ↵francis2009-01-29-0/+62
admin_controller.rb - put back in general controller.