1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

17954 Commits

Author SHA1 Message Date
Go MAEDA
253e15e575 Update RuboCop target Rails version to 7.1 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-30 08:28:37 +00:00
Marius Balteanu
54afecb2ca Revert r21883 which was an workaround for #37626 (#37732, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-29 07:11:50 +00:00
Marius Balteanu
7b911245d3 Updates Rails to 7.1.2 (#36320).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-27 20:58:55 +00:00
Marius Balteanu
859bc07edb Updates for 5.1.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@22483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-27 20:19:39 +00:00
Marius Balteanu
8a1bff856f Add missing copyrights (#37730).
Patch by Karel Pičman.

git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 14:07:17 +00:00
Marius Balteanu
10d667f6dd Add test for #39714.
git-svn-id: https://svn.redmine.org/redmine/trunk@22479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:54:24 +00:00
Marius Balteanu
3abf021e4b Fix query grouping filter not working for custom field relations (#39714).
Patch Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@22478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:53:41 +00:00
Marius Balteanu
a9cb76278f Add @transaction_isolation@ variable to database.yml.example (#39592, #39737).
Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:21:13 +00:00
Marius Balteanu
9441710fae Update database versions and MySQL related documentation to include the workaround for concurrency issues (#39737, #39592).
git-svn-id: https://svn.redmine.org/redmine/trunk@22476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:20:27 +00:00
Marius Balteanu
68fa456223 Workaround to fix a random failing test on MySQL 8 caused by the removal of implicit sorting for GROUP BY (#39737).
git-svn-id: https://svn.redmine.org/redmine/trunk@22475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:11:23 +00:00
Marius Balteanu
83c671d40e Remove @request_store@ gem (#39110).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 06:48:03 +00:00
Marius Balteanu
fd3843d821 Replace request_store with ActiveSupport::CurrentAttributes (#39110).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 06:45:54 +00:00
Go MAEDA
f5d68651a0 Add data-text-formatting attribute for selected markup language to body tag (#20620).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 01:03:43 +00:00
Jean-Philippe Lang
9e07e16bf1 CI server: disable ssl connexion to mysql server.
git-svn-id: https://svn.redmine.org/redmine/trunk@22470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-20 17:01:04 +00:00
Jean-Philippe Lang
b9a629cd25 Adds support for environment variable for CI mysql host.
git-svn-id: https://svn.redmine.org/redmine/trunk@22469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-20 16:52:22 +00:00
Jean-Philippe Lang
543674090e Adds support for environment variable for CI postgresql host.
git-svn-id: https://svn.redmine.org/redmine/trunk@22468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-20 16:04:44 +00:00
Go MAEDA
291d23e5fe Deprecate unused ApplicationHelper#render_if_exist (#39527).
git-svn-id: https://svn.redmine.org/redmine/trunk@22466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-19 07:41:21 +00:00
Go MAEDA
d6b86ca53d Fix typo in test names in application_helper_test.rb: Change "redner" to "render" (#39527).
git-svn-id: https://svn.redmine.org/redmine/trunk@22465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-19 07:30:08 +00:00
Marius Balteanu
f24631a8bd Use tx_isolation for MySQL lower than 8. (#39437).
git-svn-id: https://svn.redmine.org/redmine/trunk@22464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-19 07:10:53 +00:00
Marius Balteanu
0a329dce2f Workaround to use READ-COMMITTED as transaction_isolation level when running the concurrency tests in MySQL. (#39437).
git-svn-id: https://svn.redmine.org/redmine/trunk@22462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 22:30:52 +00:00
Marius Balteanu
92e779cafa Add concurrent subtask removal test to cover corrupted nested sets (#39437).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 22:27:35 +00:00
Marius Balteanu
a2c203cca0 Revert undesired change (#22458).
git-svn-id: https://svn.redmine.org/redmine/trunk@22460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 16:36:23 +00:00
Marius Balteanu
a54155d206 Moves create parent issue journal to after_commit hook to work around stale object errors on concurrency (#39437).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 14:40:25 +00:00
Marius Balteanu
aa9b681678 Use a global lock provided by @with_advisory_lock@ gem to work around deadlock issues when MySQL >= 5.7 (#39437).
Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 14:39:28 +00:00
Marius Balteanu
b7a190399f Remove deprecated methods in Repository and AbstractAdapter (#39558).
Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 12:58:19 +00:00
Go MAEDA
72dcb6a570 Fix rake yard does not work with Ruby >= 3.2 due to nested array issue (#39576).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 04:18:59 +00:00
Go MAEDA
635e31a952 Add missing fixture file intended for r22440 (#39511).
git-svn-id: https://svn.redmine.org/redmine/trunk@22453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-17 06:54:17 +00:00
Go MAEDA
0d30af1bc2 Prevent auto requiring of 'yard' gem (#39547).
git-svn-id: https://svn.redmine.org/redmine/trunk@22452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-17 06:38:05 +00:00
Go MAEDA
50381970d8 Disable RuboCop warning for intentional comma in percent string array (#39553).
git-svn-id: https://svn.redmine.org/redmine/trunk@22451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-17 04:24:28 +00:00
Marius Balteanu
60f7d22249 Simply regex (#39553).
git-svn-id: https://svn.redmine.org/redmine/trunk@22450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:19:15 +00:00
Marius Balteanu
d9e72d6ba2 Cover more tests for #39553.
git-svn-id: https://svn.redmine.org/redmine/trunk@22449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:17:30 +00:00
Marius Balteanu
f75c4c3247 Fix mention notification is not sent when user pattern is leading by some punctuation marks like ! or ? (#39553).
Patch by Thomas Löber.

git-svn-id: https://svn.redmine.org/redmine/trunk@22445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:07:51 +00:00
Go MAEDA
fa7c481028 Auto-detection of field wrapper type when importing CSV file (#39511).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 11:13:39 +00:00
Go MAEDA
57ee20d92f Update locales (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 08:36:55 +00:00
Go MAEDA
384cde0a46 New email notification option "For any event on my bookmarked projects" (#35189).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 08:32:41 +00:00
Go MAEDA
bd1fe1184b Simplified Chinese translation update for 5.1-stable (#39551).
Patch by lei shi.


git-svn-id: https://svn.redmine.org/redmine/trunk@22436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 08:26:32 +00:00
Go MAEDA
07b28d3e89 Fix RuboCop offense Layout/SpaceAfterComma due to r22418 (#39534).
git-svn-id: https://svn.redmine.org/redmine/trunk@22435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 08:16:29 +00:00
Marius Balteanu
01e9671291 Wait for autocomplete to return all 3 issues in order to avoid @StaleElementReferenceError@ (#38852).
git-svn-id: https://svn.redmine.org/redmine/trunk@22429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 22:17:55 +00:00
Marius Balteanu
daa5010cbb Add system test for #39521.
git-svn-id: https://svn.redmine.org/redmine/trunk@22428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 21:41:12 +00:00
Marius Balteanu
4731a0970a Fix mention autocomplete not displaying for users without "Edit issues" permission (#39521).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 21:40:02 +00:00
Go MAEDA
1fcbc17e07 Bulgarian translation update (#39513).
Patch by Ivan Cenov.


git-svn-id: https://svn.redmine.org/redmine/trunk@22421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 09:46:12 +00:00
Marius Balteanu
5f028722d5 Keep existing @##@ syntax when triggering an issue from the inline autocomplete (#38852).
git-svn-id: https://svn.redmine.org/redmine/trunk@22419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 07:10:51 +00:00
Marius Balteanu
5013c28431 Fix undefined method error in issue list PDF export when export contains a custom field block column with full width layout enabled that is not part of the tracker of the exported ticket(s) (#39534).
git-svn-id: https://svn.redmine.org/redmine/trunk@22418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 06:41:09 +00:00
Marius Balteanu
98fa89400e Fix an expression of non-boolean type specified in a context where a condition is expected when MSSQL is used (#39443).
Patch by Pavel Rosický.

git-svn-id: https://svn.redmine.org/redmine/trunk@22417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 06:00:20 +00:00
Marius Balteanu
f0f1d49b56 Remove @rss_*@ deprecated methods (#36806).
git-svn-id: https://svn.redmine.org/redmine/trunk@22416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-06 20:36:48 +00:00
Go MAEDA
63188014b0 Replace hardcoded issues count check with limit variable in IssuesController#retrieve_previous_and_next_issue_ids (#39380).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-31 13:02:09 +00:00
Go MAEDA
c6fdc7db86 Redirect to repositories#show after repository#fetch_changesets to avoid the user-visible browser URL (#39238).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-31 12:45:15 +00:00
Go MAEDA
146ee1cec4 Set version to 5.1.0.
git-svn-id: https://svn.redmine.org/redmine/trunk@22410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-30 22:03:29 +00:00
Go MAEDA
1010f536a2 Update the Changelog for v5.1.0.
git-svn-id: https://svn.redmine.org/redmine/trunk@22409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-30 21:59:48 +00:00
Go MAEDA
12952e9186 Remove mistakenly added experimental flag of label_preferred_body_part_html in some languages (#38408).
git-svn-id: https://svn.redmine.org/redmine/trunk@22407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-30 09:51:45 +00:00