Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 171
- Log:
Initial import of Beast 0.9 from downloaded Tarball. Beast is a Ruby
On Rails based forum application. The original tarball came from the
following location:http://s3.amazonaws.com/beast-forum/beast-0.9.tar.gz
The forum post which announced this version's availability was at:
http://beast.caboo.se/forums/1/topics/446
- Author:
- rool
- Date:
- Fri Mar 02 15:51:55 +0000 2007
- Size:
- 1549 Bytes
1 | # Settings specified here will take precedence over those in config/environment.rb |
2 | |
3 | # The production environment is meant for finished, "live" apps. |
4 | # Code is not reloaded between requests |
5 | config.cache_classes = true |
6 | |
7 | # Use a different logger for distributed setups |
8 | # config.logger = SyslogLogger.new |
9 | |
10 | # Full error reports are disabled and caching is turned on |
11 | config.action_controller.consider_all_requests_local = false |
12 | config.action_controller.perform_caching = true |
13 | |
14 | # Enable serving of images, stylesheets, and javascripts from an asset server |
15 | # config.action_controller.asset_host = "http://assets.example.com" |
16 | |
17 | # Disable delivery errors if you bad email addresses should just be ignored |
18 | # config.action_mailer.raise_delivery_errors = false |
19 | |
20 | config.after_initialize do |
21 | require 'application' unless Object.const_defined?(:ApplicationController) |
22 | LoggedExceptionsController.class_eval do |
23 | session :session_key => '_beast_session_id' |
24 | include AuthenticationSystem |
25 | before_filter :login_required |
26 | self.application_name = "Beast" |
27 | |
28 | protected |
29 | alias admin? authorized? |
30 | |
31 | # modify beast's login required to accept http basic auth |
32 | def login_required_with_basic |
33 | respond_to do |accepts| |
34 | accepts.html { login_required_without_basic } |
35 | accepts.rss do |
36 | access_denied_with_basic_auth unless self.current_user = User.authenticate(*get_auth_data) |
37 | end |
38 | end |
39 | end |
40 | |
41 | alias_method_chain :login_required, :basic |
42 | end |
43 | end |