Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 434
- Log:
Fix breakage of graphical revisions by character set conversion of
all data from the CVS viewer script; just parse text/* types.Switch from forced HTTP fetching of related resources to forced
HTTPS fetching, with certificate chain support.
- Author:
- rool
- Date:
- Fri Aug 30 03:16:00 +0100 2013
- Size:
- 2713 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 | # Rails Gem Version |
8 | RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION |
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) and location in the filesystem, rather than |
16 | # according to the Web server, of the CVSweb and CVShistory scripts. |
17 | # Next up is the filesystem location of CVSLog2Web output and the |
18 | # path to use for URLs for CVShistory - the bit up to and including |
19 | # the ".cgi", before the query string is appended, excluding the |
20 | # host. The host is taken from ENV['SERVER_ADDR']. If the request |
21 | # uses port DEVEL_HTTP_PORT, it is switched to DEVEL_HTTPS_PORT for |
22 | # an HTTPS request. If the port is already DEVEL_HTTPS_PORT it |
23 | # is left alone, again for an HTTPS request. Otherwise, the port |
24 | # is reset to 443. |
25 | # |
26 | # Since HTTPS requests may require a certificate chain, you can |
27 | # configure this in SSL_CERT_CHAIN; this should point to a ".crt" |
28 | # bundle (as a full path) giving the chain of trust for your SSL |
29 | # certificate at the target site. You may choose to provide this |
30 | # via an environment variable if you wish. Use 'nil' or an empty |
31 | # string if you want no such chain specifying. |
32 | |
33 | PATH_PREFIX = '/viewer' |
34 | CVSWEB_LOCATION = '/home/rool/devel/perl/cvsweb/cvsweb.cgi' |
35 | CVSHISTORY_LOCATION = '/home/rool/devel/python/cvshistory/cvshistory.cgi' |
36 | CVSLOG2WEB_OUTPUT = '/home/rool/devel/python/cvslog2web/public' |
37 | CVSLOG2WEB_PREFIX = '/python/cvshistory/cvshistory.cgi' |
38 | DEVEL_HTTP_PORT = '25080' |
39 | DEVEL_HTTPS_PORT = '25081' |
40 | SSL_CERT_CHAIN = ENV[ 'SSL_CERT_CHAIN' ] |
41 | |
42 | Rails::Initializer.run do |config| |
43 | # Skip frameworks that are not used. |
44 | |
45 | # config.frameworks -= [ :action_web_service, :action_mailer, :active_record ] |
46 | config.frameworks -= [ :action_web_service, :action_mailer ] |
47 | |
48 | # Force all environments to use the same logger level |
49 | # (by default production uses :info, the others :debug). |
50 | |
51 | config.log_level = :warn |
52 | end |
53 | |
54 | # Allow multiple Rails applications by giving the session cookie a |
55 | # unique prefix. In this application the ApplicationController class |
56 | # turns sessions off (at the time of writing, 22-Aug-2006) anyway, |
57 | # but in future sessions may be used again in which case the line |
58 | # below will be important. |
59 | |
60 | ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = 'rcvswebapp_session_id' |