Go MAEDA
5407fea873
Drop deprecated Redcarpet based Markdown formatter ( #40149 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:51:38 +00:00
Go MAEDA
309e6a27f3
Replace "even" and "odd" CSS classes with "this-month" and "other-month" for calendar days ( #41509 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:02:22 +00:00
Go MAEDA
95add1af5c
Include attachment filename in "File added" email notification subject ( #41450 ).
...
Patch by minoura makoto (user:minoura).
git-svn-id: https://svn.redmine.org/redmine/trunk@23148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 04:46:37 +00:00
Go MAEDA
8ca5d2fa1a
Partial quoting feature for Issues and Forums ( #41294 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-09 21:51:52 +00:00
Marius Balteanu
ed866a45c5
Fixed tests ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 20:56:39 +00:00
Go MAEDA
b1767ab637
Fix RuboCop offense Rails/PluralizationGrammar ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-25 05:08:12 +00:00
Go MAEDA
93645a279e
Use anonymous block forwarding introduced in Ruby 3.1 ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:46:15 +00:00
Go MAEDA
c069ea3a24
Use Array#intersect? introduced in Ruby 3.1 ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 23:40:58 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Marius Balteanu
61c7d539dc
Adds Watcher list to the list of available query columns for issues ( #29894 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
ab2f00f2eb
Fixes that watcher groups on new issue form get dereferenced on validation error ( #40410 , #40555 ).
...
Patch by Felix Schäfer (@felix) and Kenta Kumojima (@kumojima).
git-svn-id: https://svn.redmine.org/redmine/trunk@22792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:12:32 +00:00
Go MAEDA
4506524ea5
Revert r22764 ( #33829 ).
...
It breaks activities_controller_test.rb.
git-svn-id: https://svn.redmine.org/redmine/trunk@22770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-06 14:09:21 +00:00
Go MAEDA
c94d7c5a57
Fix Atom feed for issues to correctly use the updated time for "updated" element instead of the created time ( #33829 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-04 14:25:49 +00:00
Marius Balteanu
805e51464e
Fix rubocop warning ( #39995 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:26:24 +00:00
Marius Balteanu
54aa810240
Fix rubocop warning ( #39111 , #40137 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:24:58 +00:00
Marius Balteanu
38d950df55
Remove current year from source file copyright headers and update year in footer to 2024 ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
0c31799517
Subprojects checkbox should be shown in Activity and Roadmap sidebars only if the project has visible descendants ( #39995 ).
...
Patch by Holger Just (@hjust) and Marius BALTEANU (@marius.balteanu).
git-svn-id: https://svn.redmine.org/redmine/trunk@22739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 21:14:47 +00:00
Marius Balteanu
7ad881aeb4
Use @assert_select@ to assert text from h1 element of wiki syntax pages ( #39111 , #40137 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 21:42:51 +00:00
Marius Balteanu
eef8f625c8
Adds route for code highlighting languages page ( #39111 , #40137 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 21:41:14 +00:00
Marius Balteanu
0d9700268a
Add tests for @HelpController@ ( #39111 , #40137 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 20:53:52 +00:00
Go MAEDA
e8c373e559
Remove an empty file ( #40190 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-14 01:48:05 +00:00
Marius Balteanu
353ac52d47
Stop appending the utf8 checkmark parameter to form URLs ( #40190 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 23:13:49 +00:00
Marius Balteanu
f59ac49dea
Remove overrides that inserts a non-breaking space (nbsp) to empty option elements ( #40210 ).
...
Patch by Go MAEDA (maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-10 10:28:35 +00:00
Marius Balteanu
c517664985
Reverts r22438 ( #35189 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:05:38 +00:00
Go MAEDA
fc26af7136
Refactor CustomFieldsControllerTest#custom_field_classes ( #40008 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:14:31 +00:00
Go MAEDA
52a55f407b
Replace String#sub with delete_prefix / delete_suffix ( #40008 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-08 01:04:37 +00:00
Go MAEDA
82fc543ea1
Fix RuboCop offense Style/TrailingCommaInArguments introduced in r22584 ( #39999 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 02:10:13 +00:00
Marius Balteanu
fe9fd97f6d
Explicitly render a 404 on non-JS requests to messages#quote ( #39999 ).
...
Patch by Holger Just (@hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@22584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-03 01:19:25 +00:00