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
Marius Balteanu
473db7e83b
Fixes failing tests caused by r22802 ( #40652 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-03 07:31:17 +00:00
Marius Balteanu
aaed5637b4
Fixes RuboCop offense Layout/SpaceInsideParens ( #24457 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 21:55:52 +00:00
Marius Balteanu
3822b633ef
Adds test for #24457 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 21:15:43 +00:00
Marius Balteanu
cd8d4fe444
Progress of version should be calculated the same way as parent tasks ( #24457 , #4682 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 20:58:03 +00:00
Marius Balteanu
3433731585
Switches from MD5 to SHA256 when computing the hash for gravatar URL ( #40652 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-02 20:23:05 +00:00
Marius Balteanu
6fa12a95ab
Adds estimated remaining hours issue query column calculated based on estimated time and done ratio ( #37862 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 07:49:29 +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
Marius Balteanu
b5c48c1d97
Adds an option to send email notification when an attachment is added ( #40569 ).
...
Patch by Mizuki ISHIKAWA (#ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 06:40:12 +00:00
Go MAEDA
feae42533b
Fix "unexpected invocation" test failure in IssueTest with Mocha 2.2.0 ( #40603 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-23 01:43:07 +00:00
Go MAEDA
f7f40139dd
Fix RuboCop offense Style/MapIntoArray ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-09 09:49:17 +00:00
Go MAEDA
7ed8183290
Remove redundant ApplicationHelper inclusions ( #40506 ).
...
Patch by Takuya Kodama (@otegami).
git-svn-id: https://svn.redmine.org/redmine/trunk@22777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-02 09:18:12 +00:00
Marius Balteanu
466a8aa78e
Fixes missing fixture: add :groups_users fixture to @Redmine::ApiTest::UsersTest@
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-21 21:12:26 +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
e1ffdb2316
Fix rubocop warning ( #38975 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:27:07 +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
18cb44684b
Introduces Redmine::Plugin#attachment_object_type to provide better API for 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
2024-02-27 07:06:47 +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
89e1d165a9
Adds @:user_preference@ fixture to @Redmine::ApiTest::IssuesTest@ ( #40239 ).
...
Patch by Vincent Robert (@Nanego).
git-svn-id: https://svn.redmine.org/redmine/trunk@22734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 23:22:02 +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