summaryrefslogtreecommitdiffstats
path: root/extra/sample_plugin
Commit message (Collapse)AuthorAgeFilesLines
* Fix that Example plugin (extra/sample_plugin) breaks Activity page (#38114).Go MAEDA2023-01-271-1/+1
| | | | | | | Patch by Karel Pičman. git-svn-id: https://svn.redmine.org/redmine/trunk@22079 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-1/+1
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Evaluate acts_as_activity_provider's scope lazily (#33664).Go MAEDA2020-10-171-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20148 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove frozen_string_literal magic comment from files which are not used ↵Go MAEDA2019-03-216-12/+0
| | | | | | when running the application or tests (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-156-0/+11
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update the app name in extra/sample_plugin/init.rb: s/RedMine/Redmine/ (#28478).Go MAEDA2018-04-021-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17255 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove 'unloadable' from bundled sample plugin (#27963).Go MAEDA2018-01-101-2/+0
| | | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@17170 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use versioned migrations for sample plugin in the same way of core r16807Toshi MARUYAMA2017-08-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added missing :permission option in sample plugin.Jean-Philippe Lang2015-02-181-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14031 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed no longer used :find_options option for acts_as_activity_provider.Jean-Philippe Lang2015-02-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14030 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ActionController::IntegrationTest is ActionDispatch::IntegrationTest.Jean-Philippe Lang2013-01-221-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11255 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add routing test to sample pluginToshi MARUYAMA2012-10-131-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10656 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restores support for :plugin support to stylesheet_link_tag and ↵Jean-Philippe Lang2012-04-282-2/+2
| | | | | | javascript_include_tag helpers. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-255-10/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from extra/sample_plugin/init.rbToshi MARUYAMA2012-04-011-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from extra/sample_plugin/app/models/meeting.rbToshi MARUYAMA2012-04-011-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2012-04-011-5/+5
| | | | | | extra/sample_plugin/app/controllers/example_controller.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9293 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: rename sample_plugin .rhtml to .html.erb (#6317, #4796)Toshi MARUYAMA2011-12-204-0/+0
| | | | | | :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not use settings/settings partial name in sample plugin (#3557).Jean-Philippe Lang2009-07-022-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2798 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates sample plugin README.Jean-Philippe Lang2009-02-261-8/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow My Page blocks to be added to from a plugin (#2840).Jean-Philippe Lang2009-02-261-0/+3
| | | | | | | Partials must be placed under the app/views/my/blocks directory of the plugin. An example can be found in the sample plugin. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-215-10/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Follows r1703.Jean-Philippe Lang2008-07-271-0/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1704 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity provider example in sample plugin.Jean-Philippe Lang2008-07-276-13/+28
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1703 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add unloadable to the sample plugin controller ↵Jean-Philippe Lang2008-03-211-0/+2
| | | | | | (http://dev.rubyonrails.org/ticket/6001). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1282 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Menus items:Jean-Philippe Lang2008-02-221-1/+1
| | | | | | | * fixed broken translation when a plugin is installed (closes #649) * small fix to the plugin API: options parameter added to Redmine::Plugin#menu git-svn-id: http://redmine.rubyforge.org/svn/trunk@1172 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine acts_as_* plugins moved to vendor/plugins.Jean-Philippe Lang2007-09-291-4/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a sample plugin.Jean-Philippe Lang2007-09-2311-0/+105
git-svn-id: http://redmine.rubyforge.org/svn/trunk@753 e93f8b46-1217-0410-a6f0-8f06a7374b81