Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 98
- Log:
Initial import of Hub, an account management application.
- Author:
- adh
- Date:
- Thu Oct 19 15:18:43 +0100 2006
- Size:
- 3785 Bytes
1 | # Be sure to restart your web server when you modify this file. |
2 | |
3 | # Uncomment below to force Rails into production mode when |
4 | # you don't control web/app server and can't set it the proper way |
5 | # ENV['RAILS_ENV'] ||= 'production' |
6 | |
7 | # Specifies gem version of Rails to use when vendor/rails is not present |
8 | # RAILS_GEM_VERSION = '1.1.6' |
9 | |
10 | # Bootstrap the Rails environment, frameworks, and default configuration |
11 | require File.join(File.dirname(__FILE__), 'boot') |
12 | |
13 | # Location of application relative to document root in terms of |
14 | # URLs (i.e. according to the web server configuration, not the |
15 | # filesystem location). |
16 | PATH_PREFIX = '/rails/hub' |
17 | |
18 | Rails::Initializer.run do |config| |
19 | # We don't run in the document root, so images etc. must come from |
20 | # a non-root location too. Hijack the 'asset host' facility to get |
21 | # helper-based links pointing in the right place. |
22 | config.action_controller.asset_host = "/rails/hub" |
23 | |
24 | # Settings in config/environments/* take precedence those specified here |
25 | |
26 | # Skip frameworks you're not going to use (only works if using vendor/rails) |
27 | # config.frameworks -= [ :action_web_service, :action_mailer ] |
28 | |
29 | # Add additional load paths for your own custom dirs |
30 | # config.load_paths += %W( #{RAILS_ROOT}/extras ) |
31 | |
32 | # Force all environments to use the same logger level |
33 | # (by default production uses :info, the others :debug) |
34 | config.log_level = :warn |
35 | |
36 | # Use the database for sessions instead of the file system |
37 | # (create the session table with 'rake db:sessions:create') |
38 | # config.action_controller.session_store = :active_record_store |
39 | |
40 | # Use SQL instead of Active Record's schema dumper when creating the test database. |
41 | # This is necessary if your schema can't be completely dumped by the schema dumper, |
42 | # like if you have constraints or database-specific column types |
43 | # config.active_record.schema_format = :sql |
44 | |
45 | # Activate observers that should always be running |
46 | # config.active_record.observers = :cacher, :garbage_collector |
47 | |
48 | # Make Active Record use UTC-base instead of local time |
49 | # config.active_record.default_timezone = :utc |
50 | |
51 | # See Rails::Configuration for more options |
52 | end |
53 | |
54 | # Add new inflection rules using the following format |
55 | # (all these examples are active by default): |
56 | # Inflector.inflections do |inflect| |
57 | # inflect.plural /^(ox)$/i, '\1en' |
58 | # inflect.singular /^(ox)en/i, '\1' |
59 | # inflect.irregular 'person', 'people' |
60 | # inflect.uncountable %w( fish sheep ) |
61 | # end |
62 | |
63 | # Include your application configuration below |
64 | |
65 | # Allow multiple Rails applications on this host by giving the session |
66 | # cookie a unique prefix. |
67 | |
68 | ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = 'hubapp_session_id' |
69 | |
70 | # Ensure ActiveRecord does something sensible with timezones. By |
71 | # default it rather surprisingly works in local time. |
72 | |
73 | ActiveRecord::Base.default_timezone = :utc |
74 | |
75 | # HUB CONFIGURATION |
76 | # ================= |
77 | |
78 | # Administrator e-mail address to use as the 'From' address in |
79 | # account notification e-mail messages. |
80 | EMAIL_ADMIN = 'info@riscosopen.org' |
81 | |
82 | # Prefix to use in subject lines of account notification e-mail |
83 | # messages, including trailing spaces if you want a space between |
84 | # your prefix and the subject text. |
85 | EMAIL_PREFIX = '[ROOL Hub] ' |
86 | |
87 | # Hostname to use in notification messages. The PATH_PREFIX and |
88 | # controller/action data will be appended to it. |
89 | EMAIL_HOST = "pond.org.uk" |
90 | |
91 | # Time limit, *in seconds*, for password reset e-mail codes. The |
92 | # codes persist in the database indefinitely but will be rejected |
93 | # if too old when someone tries to use one. |
94 | RESET_TIME_LIMIT = 2 * 24 * 60 * 60 |
95 | |
96 | # Time limit, *in seconds*, for the account inactivity timeout. |
97 | # If a user performs no Clubhouse actions during this time they |
98 | # will be automatically logged out upon their next action. |
99 | IDLE_TIME_LIMIT = 15 * 60 |