Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 24
- Log:
Initial import of Collaboa 0.5.6 from downloaded Tarball. Collaboa is
a Ruby On Rails based bug tracker and SVN repository browsing tool.
- Author:
- adh
- Date:
- Mon Jul 24 21:54:39 +0100 2006
- Size:
- 2699 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 | # Skip frameworks you're not going to use |
12 | config.frameworks -= [ :action_web_service, :action_mailer ] |
13 | |
14 | # Add additional load paths for your own custom dirs |
15 | # config.load_paths += %W( #{RAILS_ROOT}/app/services ) |
16 | |
17 | # Force all environments to use the same logger level |
18 | # (by default production uses :info, the others :debug) |
19 | # config.log_level = :debug |
20 | |
21 | # Use the database for sessions instead of the file system |
22 | # (create the session table with 'rake create_sessions_table') |
23 | config.action_controller.session_store = :active_record_store |
24 | |
25 | # Enable page/fragment caching by setting a file-based store |
26 | # (remember to create the caching directory and make it readable to the application) |
27 | # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" |
28 | |
29 | # Activate observers that should always be running |
30 | # config.active_record.observers = :cacher, :garbage_collector |
31 | |
32 | # Make Active Record use UTC-base instead of local time |
33 | config.active_record.default_timezone = :utc |
34 | |
35 | # Use Active Record's schema dumper instead of SQL when creating the test database |
36 | # (enables use of different database adapters for development and test environments) |
37 | config.active_record.schema_format = :ruby |
38 | |
39 | # See Rails::Configuration for more options |
40 | end |
41 | |
42 | # Add new inflection rules using the following format |
43 | # (all these examples are active by default): |
44 | # Inflector.inflections do |inflect| |
45 | # inflect.plural /^(ox)$/i, '\1en' |
46 | # inflect.singular /^(ox)en/i, '\1' |
47 | # inflect.irregular 'person', 'people' |
48 | # inflect.uncountable %w( fish sheep ) |
49 | # end |
50 | |
51 | Inflector.inflections do |inflect| |
52 | inflect.uncountable %w( status ) |
53 | end |
54 | |
55 | # Include your application configuration below |
56 | |
57 | |
58 | # Make ruby use utf8 |
59 | $KCODE = 'u' |
60 | require 'jcode' |
61 | require 'syntax/lib/syntax' |
62 | Syntax::all().each { |syntax| Syntax::load(syntax) } |
63 | require 'syntax/lib/syntax/convertors/html' |
64 | require 'digest/sha1' |
65 | |
66 | # Where do we store our attachments? |
67 | ATTACHMENTS_PATH = RAILS_ROOT + '/attachments' |
68 | |
69 | # Load our config file |
70 | REPOS_CONF = YAML::load(File.open("#{RAILS_ROOT}/config/repository.yml")) |
71 | |
72 | # Require ActionSubversion |
73 | require 'actionsubversion/lib/action_subversion' |
74 | # Setup the path to our Subversion repository |
75 | ActionSubversion::Base.repository_path = REPOS_CONF[RAILS_ENV]['repos_path'].to_s |