Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 109
- Log:
Miscellaneous bug fixes. Breadcrumb trail while browsing SVN.
Hub integration - see also Changeset #107 and Changeset #108.
- Author:
- adh
- Date:
- Mon Oct 23 18:22:45 +0100 2006
- Size:
- 3245 Bytes
1 | # Be sure to restart your webserver when you modify this file. |
2 | |
3 | # Uncomment below to force Rails into production mode |
4 | # (Use only when you can't set environment variables through your web/app server) |
5 | # ENV['RAILS_ENV'] = 'production' |
6 | |
7 | # Bootstrap the Rails environment, frameworks, and default configuration |
8 | require File.join(File.dirname(__FILE__), 'boot') |
9 | |
10 | Rails::Initializer.run do |config| |
11 | # We don't run in the document root, so images etc. must come from |
12 | # a non-root location too. Hijack the 'asset host' facility to get |
13 | # helper-based links pointing in the right place. |
14 | config.action_controller.asset_host = "/rails/collaboa" |
15 | |
16 | # Skip frameworks you're not going to use |
17 | config.frameworks -= [ :action_web_service, :action_mailer ] |
18 | |
19 | # Add additional load paths for your own custom dirs |
20 | # config.load_paths += %W( #{RAILS_ROOT}/app/services ) |
21 | |
22 | # Force all environments to use the same logger level |
23 | # (by default production uses :info, the others :debug) |
24 | config.log_level = :warn |
25 | |
26 | # Use the database for sessions instead of the file system |
27 | # (create the session table with 'rake create_sessions_table') |
28 | config.action_controller.session_store = :active_record_store |
29 | |
30 | # Enable page/fragment caching by setting a file-based store |
31 | # (remember to create the caching directory and make it readable to the application) |
32 | # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" |
33 | |
34 | # Activate observers that should always be running |
35 | # config.active_record.observers = :cacher, :garbage_collector |
36 | |
37 | # Make Active Record use UTC-base instead of local time |
38 | config.active_record.default_timezone = :utc |
39 | |
40 | # Use Active Record's schema dumper instead of SQL when creating the test database |
41 | # (enables use of different database adapters for development and test environments) |
42 | config.active_record.schema_format = :ruby |
43 | |
44 | # See Rails::Configuration for more options |
45 | end |
46 | |
47 | # Add new inflection rules using the following format |
48 | # (all these examples are active by default): |
49 | # Inflector.inflections do |inflect| |
50 | # inflect.plural /^(ox)$/i, '\1en' |
51 | # inflect.singular /^(ox)en/i, '\1' |
52 | # inflect.irregular 'person', 'people' |
53 | # inflect.uncountable %w( fish sheep ) |
54 | # end |
55 | |
56 | Inflector.inflections do |inflect| |
57 | inflect.uncountable %w( status ) |
58 | end |
59 | |
60 | # Include your application configuration below |
61 | |
62 | # Allow multiple Rails applications by giving the session cookie a |
63 | # unique prefix. |
64 | |
65 | ActionController::Base.session_options[:session_key] = 'collaboaapp_session_id' |
66 | ActionController::Base.session_options[:tmpdir] = "/home/adh/rails/collaboa/sessions/" |
67 | |
68 | # Make ruby use utf8 |
69 | $KCODE = 'u' |
70 | |
71 | require 'jcode' |
72 | require 'syntax/lib/syntax' |
73 | Syntax::all().each { |syntax| Syntax::load(syntax) } |
74 | require 'syntax/lib/syntax/convertors/html' |
75 | require 'digest/sha1' |
76 | require 'redcloth' |
77 | #require 'redcloth/lib/redcloth' |
78 | |
79 | # Where do we store our attachments? |
80 | ATTACHMENTS_PATH = RAILS_ROOT + '/attachments' |
81 | |
82 | # Load our config file |
83 | REPOS_CONF = YAML::load(File.open("#{RAILS_ROOT}/config/repository.yml")) |
84 | |
85 | # Require ActionSubversion |
86 | require 'actionsubversion/lib/action_subversion' |
87 | # Setup the path to our Subversion repository |
88 | ActionSubversion::Base.repository_path = REPOS_CONF[RAILS_ENV]['repos_path'].to_s |