summaryrefslogtreecommitdiffstats
path: root/lib/redmine/plugin.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Redmine::Plugin.assets_directory is not working after r21283 (#36835).Marius Balteanu2022-03-241-2/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract Redmine::PluginLoader from Redmine::Plugin (#32938).Marius Balteanu2021-11-171-81/+7
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21283 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: wrong number of arguments (given 1, expected 2) on ↵Go MAEDA2021-04-011-5/+5
| | | | | | | | | Redmine::PluginTest#test_migrate_redmine_plugin" (#29914, #32939). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/plugin.rbToshi MARUYAMA2020-12-091-11/+42
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/plugin.rbToshi MARUYAMA2020-11-201-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20448 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a hook after all plugins have been loaded (#34072).Go MAEDA2020-10-201-0/+1
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in ↵Toshi MARUYAMA2019-10-171-1/+1
| | | | | | lib/redmine/plugin.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18715 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ElseAlignment in lib/redmine/plugin.rbToshi MARUYAMA2019-10-171-12/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18703 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib (#31506).Go MAEDA2019-06-061-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-251-3/+3
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise an exception if the plugin directory name differs from the plugin id ↵Go MAEDA2019-04-191-0/+4
| | | | | | | | | (#31110). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include plugin name in the exception when the plugin required by ↵Jean-Philippe Lang2019-03-151-1/+5
| | | | | | | | requires_redmine_plugin is not found (#31030). Patch by Jérôme BATAILLE and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add plugin lib directory to rails autoload paths (#30753).Jean-Philippe Lang2019-03-151-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add plugin directories to rails autoload paths (#30753).Go MAEDA2019-03-041-5/+6
| | | | | | | Patch by Florian Schwab. git-svn-id: http://svn.redmine.org/redmine/trunk@17923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Plugin eager_load should depend on environment setting instead of name (#30725).Go MAEDA2019-02-011-1/+1
| | | | | | | Patch by Florian Schwab. git-svn-id: http://svn.redmine.org/redmine/trunk@17841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Redmine::Plugin documentation (#28996).Jean-Philippe Lang2018-11-291-1/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed message to stdout (#28934).Jean-Philippe Lang2018-09-291-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support migration context for plugins (#28934).Jean-Philippe Lang2018-09-231-11/+47
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17514 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove RDoc tags (#28943).Go MAEDA2018-06-081-1/+1
| | | | | | | Patch by Sho HASHIMOTO. git-svn-id: http://svn.redmine.org/redmine/trunk@17370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 5: "Page not found" error when accessing a page of a plugin in ↵Jean-Philippe Lang2018-04-081-0/+1
| | | | | | | | production mode (#26636). Patch by Akiko Takano. git-svn-id: http://svn.redmine.org/redmine/trunk@17293 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix "schema_migrations_table_name is deprecated" warning during ↵Toshi MARUYAMA2017-08-311-2/+3
| | | | | | | | redmine:plugins:migrate (#26615) Contributed by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes plugins_path from configuration file (#24007).Jean-Philippe Lang2017-06-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change plugins directory through the configuration.yml file (#24007).Jean-Philippe Lang2016-11-181-1/+1
| | | | | | Patch by Helder Manuel Torres Vieira. git-svn-id: http://svn.redmine.org/redmine/trunk@15963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Plugin migration directory should use plugin directory (#14402).Jean-Philippe Lang2015-06-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14364 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates #wiki_format_provider plugin API with changes to wiki formatting ↵Jean-Philippe Lang2015-06-211-4/+11
| | | | | | (#20141). git-svn-id: http://svn.redmine.org/redmine/trunk@14363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Plugin migration confuses two plugins with similar names (#18685).Jean-Philippe Lang2014-12-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds methods for loading and adding settings.Jean-Philippe Lang2014-12-051-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a warning if two plugins have the same settings partial name (#14008).Jean-Baptiste Barth2014-08-131-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at lib/redmine/plugin.rbToshi MARUYAMA2014-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't clear plugins in tests (#16258).Jean-Philippe Lang2014-03-211-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Rails.application.config.i18n.load_path for adding plugin locales (#12753).Jean-Philippe Lang2014-01-051-1/+1
| | | | | | Patch by Takeshi Yaegashi. git-svn-id: http://svn.redmine.org/redmine/trunk@12482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/plugin.rbToshi MARUYAMA2013-06-061-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow plugins to define their base directory (#13927).Jean-Baptiste Barth2013-05-021-5/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: implement Plugin#to_param for generating routes.Jean-Philippe Lang2012-12-131-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10995 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes #requires_redmine comments (#12299).Jean-Philippe Lang2012-11-171-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes Plugin#requires_redmine accept a range of versions (#12299).Jean-Philippe Lang2012-11-171-8/+27
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10827 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes Plugin#requires_redmine accept only major and minor version (#12299).Jean-Philippe Lang2012-11-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10826 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add more error message if public/plugin_assets cannot be created (#11945)Toshi MARUYAMA2012-09-261-1/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10472 e93f8b46-1217-0410-a6f0-8f06a7374b81