This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make sure to require this in your init.rb | |
class MyPluginIssueHook < Redmine::Hook::ViewListener | |
# this just renders the partial | |
# the contents of the context ahsh is made available as local variables to the partial | |
render_on :view_issues_form_details_bottom, :partial => 'hooks/view_issues_form_details_bottom' | |
def controller_account_success_authentication_after(context={ }) | |
# do something here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_passenger.c> | |
PassengerRoot /var/ruby/1.8/gem_home/gems/passenger-2.2.11 | |
PassengerRuby /usr/ruby/1.8/bin/ruby | |
PassengerEnabled on | |
PassengerUserSwitching on | |
PassengerDefaultUser passenger | |
</IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First run script/generate redmine_plugin add_link | |
# Put in vendor/plugins/redmine_add_link/init.rb | |
require 'redmine' | |
Redmine::Plugin.register :redmine_rt_link do | |
name 'Redmine Add Link' | |
author 'Holger Just' | |
url 'http://dev.holgerjust.de/projects/redmine-misc' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first numbered item | |
** subitem | |
# second numbered item | |
** subitem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing OpensearchController#index (for 93.219.166.11 at 2010-04-27 16:57:07) [GET] | |
Parameters: {"project_id"=>"redmine-opensearch/repository/show/trunk/app/views", "action"=>"index", "controller"=>"opensearch"} | |
Rendering template within layouts/base | |
Rendering common/404 (404) | |
Filter chain halted as [:find_optional_project] rendered_or_redirected. | |
Completed in 18ms (View: 11, DB: 3) | 404 Not Found [http://dev.holgerjust.de/projects/redmine-opensearch/repository/show/trunk/app/views/opensearch] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory /var/www/redmine/public> | |
Allow from all | |
Options -MultiViews | |
</Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Level 1 | |
* Level 1 | |
** Level 2 | |
*** Level 3 | |
** Level 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'redmine' | |
require 'dispatcher' | |
Dispatcher.to_prepare do | |
# Patches | |
require_dependency 'query_patch' | |
end | |
Redmine::Plugin.register :redmine_my_plugin do | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'redmine' | |
Redmine::Plugin.register :my_plugin do | |
[...] | |
project_module :my_module do | |
permission :read_my_stuff, :my_controller => [:first_action, :second_action] | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Location /svn> | |
DAV svn | |
SVNParentPath "/var/svn" | |
DirectorySlash Off | |
AuthType Basic | |
AuthName "Secured Area" | |
Require valid-user | |
</Location> |
OlderNewer