This file contains 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 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 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 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 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 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 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> |
This file contains 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
Index: app/helpers/users_helper.rb | |
=================================================================== | |
--- app/helpers/users_helper.rb (revision 3733) | |
+++ app/helpers/users_helper.rb (working copy) | |
@@ -45,6 +45,20 @@ | |
end | |
end | |
+ def change_status_options_for_select(user) | |
+ disabled = [] |
This file contains 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
# put this into the console started by | |
# RAILS_ENV=production script/console --sandbox | |
user = User.find_by_login("my_login") | |
Mailer.deliver_test(user) |
This file contains 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
Index: app/controllers/my_controller.rb | |
=================================================================== | |
--- app/controllers/my_controller.rb (revision 3739) | |
+++ app/controllers/my_controller.rb (working copy) | |
@@ -136,7 +136,7 @@ | |
block = params[:block].to_s.underscore | |
(render :nothing => true; return) unless block && (BLOCKS.keys.include? block) | |
@user = User.current | |
- layout = @user.pref[:my_page_layout] || {} | |
+ layout = @user.pref[:my_page_layout] || DEFAULT_LAYOUT.dup |