aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
Commit message (Collapse)AuthorAgeLines
* Remove last index action and rename it show - index is confusing as an actionfrancis2007-10-30-2/+2
| | | | name as it isn't clear if it is going to be list or show.
* Sort the incoming and outgoing requests by date before displayfrancis2007-10-30-1/+2
|
* Display responses on request page.francis2007-10-30-1/+2
|
* Framework for incoming messages.francis2007-10-26-2/+2
| | | | | Email address for public body to respond to, with hash. Take incoming messages and route to correct info request.
* Read in mySociety style configuration file, if it is there (use sensible ↵francis2007-10-24-5/+9
| | | | | | | defaults if not). Actually send request to public body, or fake address on staging site. Fix minor bug with sending front page form public body to new request page.
* Added some named routeslouise2007-10-16-4/+4
|
* Change to use h1 as first heading.francis2007-10-16-1/+7
| | | | | Add missing view file for request controller's new action. Remove spurious /index controller
* Fixing authentication redirect to go through user controllerlouise2007-10-15-2/+2
|
* Rejigged routing in favour of mostly model-focused controllerslouise2007-10-15-88/+43
|
* Added controller for displaying public bodies.francis2007-10-11-0/+18
| | | | | | Improve front page. Tidying up styling a bit. Add tagline.
* Change loginfrancis2007-10-11-18/+25
|
* Login and logout links at top right when you are logged out or logged in.francis2007-10-10-14/+44
| | | | | Redirect the full URI for login, not just the action/controller. After making request, redirect to the URL for the request with a flash to say it is made.
* Tweak formatting of controllers.francis2007-10-09-11/+16
| | | | Add explicit "private" to encourage adding of non-action functions there.
* Add primitive user page.francis2007-10-09-0/+15
|
* Controller to display an individual request on /request/:id URLs.francis2007-10-09-5/+20
| | | | Added navigation.
* Actually store user id when making request.francis2007-10-08-2/+23
| | | | /list URL displays all requests that are in progress.
* Name frontpage controller index, probably more consistent with URLs.francis2007-10-08-3/+3
|
* Rename file_request_controller to new_controller, so consistent with URLfrancis2007-10-08-3/+3
|
* Added restore of params from session when redirecting a post requestlouise2007-10-03-10/+9
|
* Login stuff with POST redirect not working yetfrancis2007-10-03-10/+55
|
* Remove debuggingfrancis2007-09-17-2/+1
|
* Try to use implicit saving of dependent models, rather than explicit.francis2007-09-17-10/+17
| | | | Still has some problems in error display :(
* Return status of authentication check.francis2007-09-17-1/+3
|
* Use the other model itself, rather than its id, when saving two models at once,francis2007-09-12-11/+12
| | | | | | so that you don't get spurious error. This means if you forget to save the one before the other you are screwed, but hey. Instead of a transaction, just call valid? on both models first.
* Move template for signin dialog to a shared view folder, rather than the one ↵francis2007-09-12-2/+2
| | | | for a specific controller.
* Remove not working bit.francis2007-09-11-2/+1
|
* Tidy up the transaction.francis2007-09-11-11/+18
|
* Model for outgoing messages.francis2007-09-10-8/+10
| | | | | Save body of initial request as an outgoing message. Try and validate and save the pair of models correctly.
* Ask for and save the public body which the request is for.francis2007-09-10-1/+4
|
* Log last editor and allow a comment for public body editing.francis2007-09-03-53/+71
|
* Make /admin URL work, and give link through to public body editor.francis2007-09-03-0/+22
| | | | Layout for admin pages.
* Model for a public body, and basic scaffold to edit it.francis2007-08-29-0/+51
|
* Fix text of error messages.francis2007-08-23-12/+6
|
* Well OK, at least it can vaguely check errors now.francis2007-08-21-4/+11
|
* Skeletal model for an FOI request.francis2007-08-04-12/+40
| | | | Rubbishy display of first form.
* Adfrancis2007-08-03-2/+2
|
* At least use a stylesheet.francis2007-08-01-2/+2
|
* User table, and some dodgy authentication code.francis2007-08-01-4/+49
|
* Add simple frontpage, using layout for HTML header/footer.francis2007-08-01-0/+10
|
* Default Rails gumph.francis2007-08-01-0/+7