Go MAEDA
095cc967cc
Fix RuboCop offense Lint/RedundantStringCoercion, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:51:02 +00:00
Go MAEDA
b3d1deeece
Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:45:54 +00:00
Go MAEDA
6e21ae7209
Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:36:05 +00:00
Go MAEDA
74e2262efb
Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:46:58 +00:00
Go MAEDA
de76bb3a4a
Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:42:12 +00:00
Go MAEDA
0c28b0974a
Add test for r22947 ( #41079 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-11 08:33:21 +00:00
Go MAEDA
c96ef014dd
Fix issue where minutes part of a time entry is displayed as 60 instead of being carried over ( #36897 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-08 04:24:44 +00:00
Go MAEDA
fded8025d5
Add project identifier to List-Id header in notification emails ( #13359 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-26 03:19:22 +00:00
Go MAEDA
ee31bf8fe9
Add an option to render Integer and Float custom fields with thousands delimiters ( #39997 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:56:20 +00:00
Go MAEDA
4879302930
Refactor ApplicationHelper#format_object to accept options as a hash ( #39997 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:26:49 +00:00
Marius Balteanu
a08f31ca28
Update users routing test to include assertions for bulk actions (delete, lock and unlock) ( #40913 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 10:43:31 +00:00
Marius Balteanu
42b01c19ca
Adds test for bulk unlock users ( #40913 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 10:35:51 +00:00
Marius Balteanu
d22c55fafa
Fix tests for updated git repository ( #40948 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 10:16:39 +00:00
Marius Balteanu
ac16961a97
Updates broken git repository archive introduced in r22910 ( #40948 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 10:14:59 +00:00
Go MAEDA
6c8b04d6d5
Add configurable setting for copying attachments when copying an issue ( #36197 ).
...
Patch by Yuichi HARADA (user:yui.har).
git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 01:49:53 +00:00
Marius Balteanu
20dcd39f42
Increases number of revisions and fileschanges in test/unit/repository_git_test.rb ( #40948 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-13 09:34:40 +00:00
Go MAEDA
32b5992c22
Fix RuboCop offense Style/MapCompactWithConditionalBlock ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-11 08:48:35 +00:00
Marius Balteanu
21e657f572
Fixes rubocop offenses ( #40946 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:56:03 +00:00
Marius Balteanu
c15c754589
Introduces @valid_watcher?@ check on watchables (@40946).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:33:50 +00:00
Marius Balteanu
57743c4145
Permission check based on the type of @watchables@ ( #40946 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:32:15 +00:00
Marius Balteanu
f9f486bdd0
Check view watchers permission when copying issues ( #40946 ).
...
Patch by Jens Kraemer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:30:36 +00:00
Marius Balteanu
2d20811f40
Improve watcher list permissions check to explicitly require @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
2024-07-08 21:28:24 +00:00
Marius Balteanu
c1eff66f68
Truncate git authors to 255 characters ( #40948 ).
...
The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this.
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 20:35:16 +00:00
Go MAEDA
baf32a3fa4
Add test for r22906 ( #40716 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:46:47 +00:00
Go MAEDA
2b786a6f48
Spent hours ignoring "Time Span Format" Setting on several pages ( #40924 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-30 14:37:12 +00:00
Marius Balteanu
193ca9faee
Add bulk lock feature to user list context menu ( #40913 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 19:03:36 +00:00
Go MAEDA
61eeefb7dc
Add test for r22895 ( #40860 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 02:15:35 +00:00
Go MAEDA
719b0ce615
Reject passwords that are the same as login, first name, last name, or email ( #37279 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-21 05:32:46 +00:00
Go MAEDA
5a96997f6a
Support multiple multi-word phrases in the search engine ( #38446 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-19 14:27:20 +00:00
Go MAEDA
af6a627d20
Revisions count is wrong on the wiki content page ( #40655 ).
...
Contributed by Karel Pičman (@picman).
git-svn-id: https://svn.redmine.org/redmine/trunk@22877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-13 03:06:04 +00:00
Go MAEDA
b803bddb1f
Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack 3.1.0+ in assert_response ( #39889 ).
...
Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`.
Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+.
This fix is a follow-up to r22837.
git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 16:09:37 +00:00
Go MAEDA
abacac918b
Add missing fixture journal_details to JournalsHelperTest ( #40801 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 07:19:58 +00:00
Marius Balteanu
82c88b3700
Adds estimated remaining time to version page ( #37862 , #1671 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:17:01 +00:00
Marius Balteanu
38a8adb2a2
Adds description field to custom queries ( #9309 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +00:00
Go MAEDA
a73eb69648
Introduce configuration for done ratio options interval ( #31756 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-29 15:06:28 +00:00
Marius Balteanu
3acc94914f
Link "Last activity" column to project activity page ( #40706 , #23954 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-28 17:40:09 +00:00
Go MAEDA
6a4abab8ce
Add timeout for thumbnail generation process ( #37530 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-27 14:26:16 +00:00
Go MAEDA
a4e7d34cb7
Add updated_on and updated_by fields to Issues API journal response ( #40449 ).
...
Contributed by Thomas Hoffmann (@ThomasHo).
git-svn-id: https://svn.redmine.org/redmine/trunk@22846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-27 07:41:57 +00:00
Go MAEDA
c9fda88a40
Fix duplicated alt and title attributes for attached images in Textile formatter ( #40650 ).
...
Patch by Katsuya HIDAKA (@hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@22845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-24 02:52:32 +00:00
Go MAEDA
9293b72a45
Add tests for current alt attribute behavior in images ( #40650 ).
...
Patch by Katsuya HIDAKA (@hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@22844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-24 02:16:23 +00:00
Go MAEDA
c0af36b12d
Dynamic generation of supported code highlighting languages in help section ( #40681 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-19 05:07:42 +00:00
Go MAEDA
a9518e28b8
Fix RuboCop offense Rails/HttpStatus ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-18 05:56:55 +00:00
Go MAEDA
f4c7e08d0f
Key/value-pair custom field type not available to all customizable contents ( #27543 ).
...
Patch by Felix Schäfer (@felix) and Takenori TAKAKI (@takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@22834 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-16 08:38:04 +00:00
Go MAEDA
9189837e7b
Ignore statuses in Project#rolled_up_statuses which only have an identity transition defined ( #40693 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-16 07:20:19 +00:00
Marius Balteanu
bd6a07cd14
Adds test to check @view_issue_watchers@ permission when filter "Watched by" ( #40412 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-11 08:53:42 +00:00
Marius Balteanu
47099ccd3a
Fixes issue list filter "Watched by: me" only shows issues watched via group for projects with the @view_issue_watchers@ permission ( #40412 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-11 08:35:27 +00:00
Marius Balteanu
b4bfb6b581
Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest ( #35217 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-07 18:36:46 +00:00
Marius Balteanu
8b57ffc3c7
Adds the date of the last activity to the list of available columns for 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
2024-05-03 13:14:18 +00:00
Marius Balteanu
6ca7d4df55
Fixes random failing tests.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-03 11:57:47 +00:00
Marius Balteanu
a4abae2324
Fixes failing tests on postgresql ( #29894 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-03 08:24:49 +00:00