1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 17:31:14 +00:00

6675 Commits

Author SHA1 Message Date
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
Marius Balteanu
e002d26e55 Add tests for @/help/wiki_syntax@ route (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-25 20:12:27 +00:00
Marius Balteanu
259a394513 Deletes @Redmine::WikiFormatting::CommonMark::HelperTest@ tests that are no longer required after wiki syntax help files refactor (#39111, #40137).
git-svn-id: https://svn.redmine.org/redmine/trunk@22729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-21 06:36:06 +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
17a0ec4c9a Fix ThemesTest may fail if a third-party theme having theme.js is installed (#40205).
git-svn-id: https://svn.redmine.org/redmine/trunk@22707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 22:58:30 +00:00
Marius Balteanu
f486091b24 Fix one more failing test related to favicon after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 22:54:36 +00:00
Marius Balteanu
437e46aa45 Fix failing tests related to favicon in themes after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 22:14:34 +00:00
Marius Balteanu
d896a2d546 Fix failing tests related to favicon after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 21:55:57 +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
Go MAEDA
759bececdd Fix robots.txt route to enforce .txt format (#40208).
Contributed by Liane Hampe (@liane_hampe).


git-svn-id: https://svn.redmine.org/redmine/trunk@22698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-09 04:46:13 +00:00
Go MAEDA
b61ee85e4d Principal.not_member_of scope does not accept ActiveRecord::Relation (#28243).
git-svn-id: https://svn.redmine.org/redmine/trunk@22697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-08 00:57:07 +00:00
Go MAEDA
609ddf2577 Remove trailing whitespaces from test/unit/lib/redmine/unified_diff_test.rb (#31507).
git-svn-id: https://svn.redmine.org/redmine/trunk@22680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-05 07:55:34 +00:00
Go MAEDA
04992e0c0f Ensure tests remain robust against trailing whitespace removal (#31507).
git-svn-id: https://svn.redmine.org/redmine/trunk@22679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-05 07:53:11 +00:00
Go MAEDA
5c492560b5 Fix RuboCop offense Layout/SpaceAroundBlockParameters (#23307).
git-svn-id: https://svn.redmine.org/redmine/trunk@22668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-01 11:45:48 +00:00
Go MAEDA
4517a4684e Add support for IDN (internationalized domain name) email addresses in user accounts (#29208).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-01 08:46:41 +00:00
Marius Balteanu
c1fa75386c Include auth_source in /users API response if request includes auth_source (#23307).
git-svn-id: https://svn.redmine.org/redmine/trunk@22666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-31 03:24:44 +00:00