Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 7
- Log:
Initial import of RForum 0.2 sources from a downloaded Tarball.
RForum is a Ruby On Rails based forum and mail gateway service.
- Author:
- adh
- Date:
- Sat Jul 22 18:43:13 +0100 2006
- Size:
- 3262 Bytes
1 | # Site-specific parameters |
2 | module RForum |
3 | |
4 | CONFIG = { |
5 | |
6 | # Name of the forum site (e.g., 'Mikrocontoroller Forum') |
7 | :site_name => 'RForum', |
8 | |
9 | # All email generated by the forum will have this sender address |
10 | :site_email => 'forum@example.com', |
11 | |
12 | # Hostname of this forum (used for messageids) |
13 | :hostname => 'example.com', |
14 | |
15 | # See /public/skins/ for available skins. |
16 | :skin => nil, |
17 | |
18 | # true: completely anonymous (no guest name) posting is |
19 | # allowed (not recommended) |
20 | :anon_posting_allowed => true, |
21 | |
22 | # See 'lang' directory for available languages |
23 | :default_language => 'en', |
24 | |
25 | # Character sets to use for various purposes. You have to use the same |
26 | # value for every setting at the moment. There should be no reson to use |
27 | # anything else than utf-8, though. |
28 | :nntp_charset => 'utf-8', |
29 | :web_charset => 'utf-8', |
30 | :db_charset => 'utf-8', |
31 | :mail_charset => 'utf-8', |
32 | |
33 | # Configure the forum search function. |
34 | # Possible values: |
35 | # - SearchFerret (recommended, needs Ferret extension) |
36 | # - SearchOdeum (no forum-limited search, needs RubyOdeum extension) |
37 | # - SearchLike (slow, no additional extensions needed) |
38 | :search_handler => :SearchLike, |
39 | :search_results_per_page => 40, |
40 | |
41 | :topics_per_page => 40, |
42 | |
43 | # Who should be allowed to see the email address of a user? |
44 | # Possible values: |
45 | # :noone (don't show email address) |
46 | # :users (show email address to other registered users) |
47 | # :everyone (show email address to everyone) |
48 | :show_user_email_to => :users, |
49 | |
50 | # Should the forum send posts to the mailing list |
51 | # (only if a forum has a list_address) |
52 | :deliver_mail => true, |
53 | :bounce_address => 'list-bounce@example.com', |
54 | |
55 | :accept_mail_from_guests => true, |
56 | |
57 | # Path relative to root directory. This has no effect at the moment. |
58 | :attachment_path => '/public/attachments', |
59 | |
60 | # Formatting of posts with quoting. |
61 | # :simple is fixed with and with colored quoting levels |
62 | # :new looks like messages in Mozilla Thunderbird |
63 | :post_formatting => :simple, |
64 | |
65 | # When user forgets a password, RForum generates a security token that is |
66 | # added to the URL and sent to the user by email. Such token allows the user to perform certain |
67 | # security-sensitive activities without providing a password. This token will expire |
68 | # after the number of hours specified by the parameter below. |
69 | :security_token_life_hours => 24 |
70 | } |
71 | |
72 | # Mailer configuration |
73 | if RAILS_ENV != 'test' |
74 | ActionMailer::Base.delivery_method = :sendmail |
75 | ActionMailer::Base.raise_delivery_errors = false |
76 | end |
77 | |
78 | # If you want tp configure RForum to work with SMTP server, |
79 | # write the following in the site.rb: |
80 | # require 'default_site' |
81 | # ActionMailer::Base.delivery_method = :smtp |
82 | # ActionMailer::Base.server_settings = { |
83 | # :address => 'nautilus.spidernet.net', # replace with your SMTP server |
84 | # :port => 25, # replace with your SMTP server's port |
85 | # :domain => 'nautilus.spidernet.net', # replace with your HELO domain |
86 | # :user_name => nil, # set if your SMTP server requires authentication |
87 | # :password => nil, # set if your SMTP server requires authentication |
88 | # :authentication => nil # set to true if your SMTP server requires authentication |
89 | # } |
90 | end |
91 |