summaryrefslogtreecommitdiffstats
path: root/lib/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing deletion of custom field attachments upon issue deletion (#38966).Go MAEDA2024-10-261-0/+13
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces removed `ActiveSupport::Deprecation.warn` with custom deprecators ↵Marius Balteanu2024-08-201-2/+2
| | | | | | | | | (#41141, #36320). Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces @valid_watcher?@ check on watchables (@40946).Marius Balteanu2024-07-081-0/+8
| | | | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve watcher list permissions check to explicitly require ↵Marius Balteanu2024-07-081-0/+10
| | | | | | | | | | @view_issue_watchers@ permission (#40946). Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the date of the last activity to the list of available columns for ↵Marius Balteanu2024-05-031-3/+6
| | | | | | | | Projects (#23954). Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switches from MD5 to SHA256 when computing the hash for gravatar URL (#40652).Marius Balteanu2024-05-021-2/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22802 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-2612-14/+14
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ApplicationRecord instead of ActiveRecord::Base (#38975).Marius Balteanu2024-01-2311-11/+27
| | | | | | Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove wrong copyright headers from acts_as_tree plugin (#37730).Marius Balteanu2024-01-113-69/+18
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes exception in @acts_as_attachable@ when running on Ruby 2.7 (#39862).Marius Balteanu2023-12-271-1/+1
| | | | | | Patch by @maeda. git-svn-id: https://svn.redmine.org/redmine/trunk@22569 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes attachments functionality for (custom) plugins broken since fix for ↵Marius Balteanu2023-12-221-0/+24
| | | | | | | | CVE-2022-44030 by adding a dynamic routing constraint which can be modified by plugins (#39862). Patch by @jkraemer. git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing copyrights (#37730).Marius Balteanu2023-11-2610-0/+170
| | | | | | Patch by Karel Pičman. git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix watcher handling on unsaved objects (#39186).Go MAEDA2023-10-161-6/+16
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22349 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `File.dirname(__FILE__) + ...` (#38093).Go MAEDA2023-01-168-8/+8
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22052 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-015-5/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Respect group memberships when checking if an object is watched (#37065).Marius Balteanu2022-06-201-5/+17
| | | | | | | Patch Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-025-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-1421-1006/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add require to acts_as_tree (#29914, #32938).Marius Balteanu2021-10-271-0/+1
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21265 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use full full path for require (#29914, #32938).Marius Balteanu2021-10-272-2/+2
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like on search tokens (#35073).Marius Balteanu2021-10-031-1/+1
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validate attachment filenames on every change (#34367).Go MAEDA2021-04-161-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reload detached attachments (#32922).Go MAEDA2021-04-081-3/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-255-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Evaluate acts_as_activity_provider's scope lazily (#33664).Go MAEDA2020-10-171-1/+8
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20148 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Locked users in a group receive notifications when the group is added as a ↵Go MAEDA2020-09-011-1/+1
| | | | | | | | | watcher (#4511, #33935). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use scope assignable_watchers (#4511).Go MAEDA2020-04-251-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use principals in acts_as_watchable (#4511).Go MAEDA2020-04-251-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-035-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updating custom fields does not trigger update to "updated_on" field in the ↵Go MAEDA2020-02-291-0/+1
| | | | | | | | | customized object (#5354). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19541 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19510 that breaks ↵Go MAEDA2020-02-111-2/+0
| | | | | | IssueTest#test_closed_on_should_be_set_when_closing_an_open_issue (#5354). git-svn-id: http://svn.redmine.org/redmine/trunk@19511 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updating custom fields does not trigger update to "updated_on" field in the ↵Go MAEDA2020-02-111-0/+2
| | | | | | | | | customized object (#5354). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19510 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow adding user groups as watchers for issues (#4511).Go MAEDA2020-02-061-3/+5
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix ruby 2.7 warning: The last argument is used as the keyword parameter ↵Go MAEDA2020-01-231-1/+1
| | | | | | | | | (#32542, #31500). Patch by Seiei Miyagi. git-svn-id: http://svn.redmine.org/redmine/trunk@19454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove code for unsupported versions of Rails from open_id_authentication ↵Go MAEDA2019-10-221-4/+0
| | | | | | | | | (#32297). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-255-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small refactorization of avatar methods (#31391).Go MAEDA2019-05-191-1/+1
| | | | | | | | | | | | | * move existing methods from ApplicationHelper to a new helper file (AvatarsHelper) * change default avatar size from 50 to 24 because most of the avatars are using the size 24 * class 'gravatar' is always added and all custom classes are appended * added user name as default title for avatar images * added two new methods: @assignee_avatar@ and @author_avatar@ Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove the :ssl option which is not used anymore (#31022).Go MAEDA2019-05-081-3/+0
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add avatar_server_url configuration option in order to support Libravatar ↵Go MAEDA2019-05-041-1/+1
| | | | | | | | | (#9112). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove frozen_string_literal magic comment from files which are not used ↵Go MAEDA2019-03-2112-24/+0
| | | | | | when running the application or tests (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/**/*.rb (#26561).Go MAEDA2019-03-1717-17/+17
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for files which don't contain string literals ↵Go MAEDA2019-03-174-4/+4
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Always use HTTPS when accessing gravatar.com (#31022).Go MAEDA2019-03-151-2/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-1537-2/+76
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib/plugins/gravatar/lib/gravatar.rbGo MAEDA2019-03-141-11/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deadlock when assigning custom values (#30465).Jean-Philippe Lang2019-01-191-1/+1
| | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that issue details page shows default values for custom fields that ↵Jean-Philippe Lang2018-09-231-0/+6
| | | | | | aren't actually set (#25726). git-svn-id: http://svn.redmine.org/redmine/trunk@17499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Hash#keys.each with faster Hash#each_key (#29305).Go MAEDA2018-08-011-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove RDoc tags (#28943).Go MAEDA2018-06-081-2/+2
| | | | | | | Patch by Sho HASHIMOTO. git-svn-id: http://svn.redmine.org/redmine/trunk@17370 e93f8b46-1217-0410-a6f0-8f06a7374b81