Added branch for sys controller refactoring.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1006 e93f8b46-1217-0410-a6f0-8f06a7374b81
@@ -0,0 +1,55 @@
|
||||
# General Apache options
|
||||
<IfModule mod_fastcgi.c>
|
||||
AddHandler fastcgi-script .fcgi
|
||||
</IfModule>
|
||||
<IfModule mod_fcgid.c>
|
||||
AddHandler fcgid-script .fcgi
|
||||
</IfModule>
|
||||
<IfModule mod_cgi.c>
|
||||
AddHandler cgi-script .cgi
|
||||
</IfModule>
|
||||
Options +FollowSymLinks +ExecCGI
|
||||
|
||||
# If you don't want Rails to look in certain directories,
|
||||
# use the following rewrite rules so that Apache won't rewrite certain requests
|
||||
#
|
||||
# Example:
|
||||
# RewriteCond %{REQUEST_URI} ^/notrails.*
|
||||
# RewriteRule .* - [L]
|
||||
|
||||
# Redirect all requests not available on the filesystem to Rails
|
||||
# By default the cgi dispatcher is used which is very slow
|
||||
#
|
||||
# For better performance replace the dispatcher with the fastcgi one
|
||||
#
|
||||
# Example:
|
||||
# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
|
||||
RewriteEngine On
|
||||
|
||||
# If your Rails application is accessed via an Alias directive,
|
||||
# then you MUST also set the RewriteBase in this htaccess file.
|
||||
#
|
||||
# Example:
|
||||
# Alias /myrailsapp /path/to/myrailsapp/public
|
||||
# RewriteBase /myrailsapp
|
||||
|
||||
RewriteRule ^$ index.html [QSA]
|
||||
RewriteRule ^([^.]+)$ $1.html [QSA]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
<IfModule mod_fastcgi.c>
|
||||
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
|
||||
</IfModule>
|
||||
<IfModule mod_fcgid.c>
|
||||
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
|
||||
</IfModule>
|
||||
<IfModule mod_cgi.c>
|
||||
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
|
||||
</IfModule>
|
||||
|
||||
# In case Rails experiences terminal errors
|
||||
# Instead of displaying this message you can supply a file here which will be rendered instead
|
||||
#
|
||||
# Example:
|
||||
# ErrorDocument 500 /500.html
|
||||
|
||||
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
|
||||
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<title>redMine 404 error</title>
|
||||
<style>
|
||||
body{
|
||||
font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
|
||||
color:#303030;
|
||||
margin:10px;
|
||||
}
|
||||
h1{
|
||||
font-size:1.5em;
|
||||
}
|
||||
p{
|
||||
font-size:0.8em;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<h1>Page not found</h1>
|
||||
<p>The page you were trying to access doesn't exist or has been removed.</p>
|
||||
<p><a href="javascript:history.back()">Back</a></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<title>redMine 500 error</title>
|
||||
<style>
|
||||
body{
|
||||
font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
|
||||
color:#303030;
|
||||
margin:10px;
|
||||
}
|
||||
h1{
|
||||
font-size:1.5em;
|
||||
}
|
||||
p{
|
||||
font-size:0.8em;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<h1>Internal error</h1>
|
||||
<p>An error occurred on the page you were trying to access.<br />
|
||||
If you continue to experience problems please contact your redMine administrator for assistance.</p>
|
||||
<p><a href="javascript:history.back()">Back</a></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby
|
||||
|
||||
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
||||
|
||||
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
||||
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
||||
require "dispatcher"
|
||||
|
||||
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
||||
Dispatcher.dispatch
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/ruby
|
||||
#
|
||||
# You may specify the path to the FastCGI crash log (a log of unhandled
|
||||
# exceptions which forced the FastCGI instance to exit, great for debugging)
|
||||
# and the number of requests to process before running garbage collection.
|
||||
#
|
||||
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
|
||||
# and the GC period is nil (turned off). A reasonable number of requests
|
||||
# could range from 10-100 depending on the memory footprint of your app.
|
||||
#
|
||||
# Example:
|
||||
# # Default log path, normal GC behavior.
|
||||
# RailsFCGIHandler.process!
|
||||
#
|
||||
# # Default log path, 50 requests between GC.
|
||||
# RailsFCGIHandler.process! nil, 50
|
||||
#
|
||||
# # Custom log path, normal GC behavior.
|
||||
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
|
||||
#
|
||||
require File.dirname(__FILE__) + "/../config/environment"
|
||||
require 'fcgi_handler'
|
||||
|
||||
RailsFCGIHandler.process!
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby
|
||||
|
||||
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
||||
|
||||
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
||||
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
||||
require "dispatcher"
|
||||
|
||||
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
||||
Dispatcher.dispatch
|
||||
@@ -0,0 +1,57 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Wiki formatting</title>
|
||||
<link rel="stylesheet" href="html.css" type="text/css">
|
||||
<style>
|
||||
h1 { font-family: Verdana, sans-serif; font-size: 14px; text-align: center; color: #444; }
|
||||
table { font-family: Verdana, sans-serif; font-size: 12px; color: #444; }
|
||||
table td { vertical-align: top; background-color: #f5f5f5; height: 2em; vertical-align: middle;}
|
||||
table td code { font-size: 1.2em; }
|
||||
table td h1 { font-size: 1.8em; text-align: left; }
|
||||
table td h2 { font-size: 1.4em; text-align: left; }
|
||||
table td h3 { font-size: 1.2em; text-align: left; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Wiki Syntax Quick Reference</h1>
|
||||
|
||||
<table width="100%">
|
||||
<tr><th colspan="3">Font Styles</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" /></th><td width="50%">*Strong*</td><td width="50%"><strong>Strong</strong></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" /></th><td>_Italic_</td><td><em>Italic</em></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ins.png" style="border: 1px solid #bbb;" /></th><td>+Underline+</td><td><ins>Underline</ins></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" /></th><td>-Deleted-</td><td><del>Deleted</del></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_quote.png" style="border: 1px solid #bbb;" /></th><td>??Quote??</td><td><cite>Quote</cite></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" /></th><td>@Code@</td><td><code>Code</code></td></tr>
|
||||
<tr><th></th><td><pre><br> lines<br /> of code<br /></pre></td><td>
|
||||
<pre>
|
||||
lines
|
||||
of code
|
||||
</pre>
|
||||
</td></tr>
|
||||
|
||||
<tr><th colspan="3">Lists</th></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" /></th><td>* Item 1<br />* Item 2</td><td><ul><li>Item 1</li><li>Item 2</li></ul></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" /></th><td># Item 1<br /># Item 2</td><td><ol><li>Item 1</li><li>Item 2</li></ol></td></tr>
|
||||
|
||||
<tr><th colspan="3">Headings</th></tr>
|
||||
<tr><th></th><td>h1. Title 1</td><td><h1>Title 1</h1></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_heading.png" style="border: 1px solid #bbb;" /></th><td>h2. Title 2</td><td><h2>Title 2</h2></td></tr>
|
||||
<tr><th></th><td>h3. Title 3</td><td><h3>Title 3</h3></td></tr>
|
||||
|
||||
<tr><th colspan="3">Links</th></tr>
|
||||
<tr><th></th><td>http://foo.bar</td><td><a href="#">http://foo.bar</a></td></tr>
|
||||
<tr><th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" /></th><td>[[Wiki page]]</td><td><a href="#">Wiki page</a></td></tr>
|
||||
<tr><th></th><td>Issue #12</td><td>Issue <a href="#">#12</a></td></tr>
|
||||
<tr><th></th><td>Revision r43</td><td>Revision <a href="#">r43</a></td></tr>
|
||||
|
||||
<tr><th colspan="3">Inline images</th></tr>
|
||||
<tr><th></th><td>!<em>image_url</em>!</td><td></td></tr>
|
||||
<tr><th></th><td>!<em>attached_image</em>!</td><td></td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 343 B |
|
After Width: | Height: | Size: 335 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 432 B |
|
After Width: | Height: | Size: 985 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 926 B |
|
After Width: | Height: | Size: 679 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 991 B |
|
After Width: | Height: | Size: 772 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 950 B |
|
After Width: | Height: | Size: 396 B |
|
After Width: | Height: | Size: 409 B |
|
After Width: | Height: | Size: 646 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 595 B |
|
After Width: | Height: | Size: 998 B |
|
After Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 995 B |
|
After Width: | Height: | Size: 997 B |
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 593 B |
|
After Width: | Height: | Size: 433 B |
|
After Width: | Height: | Size: 200 B |
|
After Width: | Height: | Size: 199 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 291 B |
|
After Width: | Height: | Size: 333 B |
|
After Width: | Height: | Size: 265 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 266 B |
|
After Width: | Height: | Size: 194 B |
|
After Width: | Height: | Size: 588 B |
|
After Width: | Height: | Size: 492 B |
|
After Width: | Height: | Size: 325 B |
|
After Width: | Height: | Size: 359 B |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 526 B |
|
After Width: | Height: | Size: 322 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 551 B |
|
After Width: | Height: | Size: 610 B |
|
After Width: | Height: | Size: 566 B |
|
After Width: | Height: | Size: 244 B |
|
After Width: | Height: | Size: 338 B |
|
After Width: | Height: | Size: 368 B |
|
After Width: | Height: | Size: 311 B |
|
After Width: | Height: | Size: 415 B |
|
After Width: | Height: | Size: 322 B |
|
After Width: | Height: | Size: 900 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 323 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 239 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 566 B |
|
After Width: | Height: | Size: 150 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 435 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 530 B |
|
After Width: | Height: | Size: 403 B |
|
After Width: | Height: | Size: 690 B |
|
After Width: | Height: | Size: 528 B |
|
After Width: | Height: | Size: 498 B |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 461 B |
|
After Width: | Height: | Size: 52 B |
|
After Width: | Height: | Size: 970 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 333 B |
|
After Width: | Height: | Size: 643 B |
|
After Width: | Height: | Size: 455 B |
|
After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 535 B |
|
After Width: | Height: | Size: 593 B |
|
After Width: | Height: | Size: 312 B |