summaryrefslogtreecommitdiffstats
path: root/lib/redmine/plugin.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix Rubocop Style/ArgumentsForwarding (#42496).Go MAEDA2025-04-211-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23698 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update RuboCop to 1.74 (#41884).Go MAEDA2025-04-121-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-211-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 7.2.0 (#36320).Marius Balteanu2024-08-201-2/+2
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses ↵Go MAEDA2024-08-121-1/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/MapCompactWithConditionalBlock (#39887).Go MAEDA2024-07-111-5/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces Redmine::Plugin#attachment_object_type to provide better API for ↵Marius Balteanu2024-02-271-0/+12
| | | | | | | | registering plugin models having attachments (#39948, #39862). Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuntimeError on `reload!` in the Rails console (#38155).Go MAEDA2024-02-051-1/+1
| | | | | | | Patch by Thomas Löber (@tloeber). git-svn-id: https://svn.redmine.org/redmine/trunk@22681 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Propshaft library to enable the asset pipeline without modifying ↵Marius Balteanu2024-01-251-0/+12
| | | | | | | | existing assets (#39111). Patch by Takashi Kato (@tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/StringIdentifierArgument (#39888).Go MAEDA2023-12-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo (#36320).Marius Balteanu2023-12-101-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22506 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-271-5/+5
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* <=> operator should return nil when invoked with an incomparable object ↵Go MAEDA2023-06-291-0/+2
| | | | | | | | | (#38772). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/InverseMethods: Use `present?` instead of ↵Go MAEDA2023-03-251-1/+1
| | | | | | inverting `blank?` (#37248). git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Database migrations don't run correctly for plugins when specifying the ↵Go MAEDA2022-10-301-0/+4
| | | | | | | | | `VERSION` env variable (#31116). Contributed by crypto gopher. git-svn-id: https://svn.redmine.org/redmine/trunk@21933 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