Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 112
- Log:
After many attempts, a new version of Hub that requires the HubSsoLib
Gem v0.1.0 (see future Changeset #113). HubSsoLib no longer uses cookies
because of problems with the Rails cookies interface and the only viable
workaround being scuppered by after_filter code not always being called
(e.g. if you redirect from within a before_filter). Ultimately, the
solution of using a (very) simple DRb-based authorisation server, as
suggested by RubyPanther on the rubyonrails IRC channel, is perhaps a
little slower but a lot more scalable and a lot more reliable. The server
is included in the 'server' directory.
- Author:
- adh
- Date:
- Fri Oct 27 15:48:03 +0100 2006
- Size:
- 1145 Bytes
1 | ####################################################################### |
2 | # File: tasks_controller.rb # |
3 | # (C) Hipposoft 2006 # |
4 | # # |
5 | # Purpose: RISC OS Open web site user account tasks. # |
6 | # # |
7 | # Author: A.D.Hodgkinson # |
8 | # # |
9 | # History: 17-Oct-2006 (ADH): Adapted from Clubhouse. # |
10 | ####################################################################### |
11 | |
12 | class TasksController < ApplicationController |
13 | helper :Tasks |
14 | layout 'default.rhtml' |
15 | |
16 | skip_before_filter :hubssolib_login_required |
17 | |
18 | def index |
19 | # Generate a list of available tasks. |
20 | |
21 | @title = 'Control panel' |
22 | end |
23 | |
24 | def service |
25 | # Warn that there is a service problem. |
26 | |
27 | @title = 'Service failure' |
28 | @exception_data = hubssolib_get_exception_message(params[:id]) |
29 | end |
30 | end |