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

3382 Commits

Author SHA1 Message Date
Marius Balteanu
4cc0b8d2ca Fixes random failing test by using @async_count@ in order to avoid query caching (#36320).
Patch by @maeda-m.

git-svn-id: https://svn.redmine.org/redmine/trunk@22520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-14 07:13:03 +00:00
Marius Balteanu
a2c90c462f Reverts r22507, r22508 and r22510 (#36320, #39803).
git-svn-id: https://svn.redmine.org/redmine/trunk@22515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 16:26:34 +00:00
Go MAEDA
9935af7e01 Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 09:20:06 +00:00
Go MAEDA
21423d4b7f Revert r22504 that missing a necessary file (#39500).
git-svn-id: https://svn.redmine.org/redmine/trunk@22511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 09:14:47 +00:00
Marius Balteanu
7c7c1dac16 Remove unnecessary line that changes the @PluginLoader@ directory inside @plugins_test.rb@ (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 07:49:47 +00:00
Marius Balteanu
a255430b68 Adds test for plugin autoloading plugins issue (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:41:09 +00:00
Marius Balteanu
e6f2e33856 Allows configure plugins directory path in order to change the default location in test environment (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:34:16 +00:00
Go MAEDA
9b2b30b887 Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 08:29:17 +00:00
Go MAEDA
a73ffaebd3 Code cleanup: unnecessary use of instance variables in UserTest (#39500).
git-svn-id: https://svn.redmine.org/redmine/trunk@22503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 08:17:05 +00:00
Go MAEDA
7a06338a04 Fix CommonMark Markdown help page to reflect user's language setting (#39755).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-06 14:26:57 +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
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
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
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
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
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
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
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
Marius Balteanu
f1437b7ec5 Reinitialize an empty Wiki page after after project wiki is deleted (#34634).
git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:33:40 +00:00
Marius Balteanu
94da4a33f5 Revert r22368.
git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:31:04 +00:00
Marius Balteanu
5e17a276a8 Traditional Chinese translation update (#39221).
Patch by ChunChang (Nagaharu) Lo.

git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:23:37 +00:00
Go MAEDA
6a7f2536b5 Add field separator option to CSV export dialog (#37621).
Patch by Karel Pičman.


git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 06:19:13 +00:00
Go MAEDA
21541b250c Revert r22342 as it became unnecessary after the addition of the :user_preferences fixture to WatcherTest in r22350 (#38238).
git-svn-id: https://svn.redmine.org/redmine/trunk@22351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 15:16:18 +00:00
Go MAEDA
f7b3f4ae58 Add requirement for user_preferences for watcher_test (#39186).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 15:05:43 +00:00
Go MAEDA
fd132a8e82 Fix watcher handling on unsaved objects (#39186).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 15:03:08 +00:00
Go MAEDA
ff93ee3cfa API compatibility to legacy status and name query params (#39181, #37674)
- adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname
- maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter

Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 01:42:07 +00:00
Go MAEDA
26c392d3c3 Fix a test failure due to the auto watch on issue creation (#38238).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 01:31:29 +00:00
Go MAEDA
b81818100c Fix RuboCop offense Rails/RedundantActiveRecordAllMethod (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-12 23:10:25 +00:00
Go MAEDA
ea38a40b7a Fix an intermittent test failure in JournalTest (#39180).
Patch by Vincent Robert.


git-svn-id: https://svn.redmine.org/redmine/trunk@22336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-12 09:17:42 +00:00
Go MAEDA
43873746ba Replace custom EMAIL_REGEXP with URI::MailTo::EMAIL_REGEXP for more accurate email validation (#36969).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-07 03:43:00 +00:00
Go MAEDA
949f57f521 Correctly escape issue text in Gantt PNG export for ImageMagick convert (#38728).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-21 00:35:13 +00:00
Go MAEDA
3928d82ee1 Avoid exception during validation if the spent_on date of a time entry was removed (#39079).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-20 04:43:20 +00:00
Go MAEDA
5e07a72413 Adapt markdown autolink behavior to that of common_mark (#38806).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 05:07:22 +00:00
Go MAEDA
fe9ef2fc27 Add description for issue statuses and display them in issue new/edit form (#2568).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-31 13:21:34 +00:00
Go MAEDA
2415c9f5d7 Fix exception raised during thumbnail macro to image tag conversion in emails (#38697).
Patch by Y saku and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-30 07:30:16 +00:00
Go MAEDA
937124443c Raise the maximum length of the last name to 255 characters (#37679).
Patch by Anthony Mallet.


git-svn-id: https://svn.redmine.org/redmine/trunk@22284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-27 08:59:33 +00:00
Go MAEDA
21a6fc71d6 Fix RuboCop offense Performance/MapMethodChain (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-23 09:05:20 +00:00
Go MAEDA
86c5d7814f Retry in case of stale issue during Issue.update_versions (#38820).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-23 07:40:25 +00:00
Go MAEDA
945a82b5c0 <=> operator should return nil when invoked with an incomparable object (#38772).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 14:42:54 +00:00
Go MAEDA
f500357ba2 Fix SQL error when passing invalid value to "Related to" filter (#38301).
git-svn-id: https://svn.redmine.org/redmine/trunk@22256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-21 06:05:09 +00:00
Go MAEDA
bd2a9027f1 Fix RuboCop offense Style/RedundantFilterChain (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-07 12:37:09 +00:00
Go MAEDA
9d0b073f7d Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-13 08:05:32 +00:00
Go MAEDA
2caf5eaf97 New issues filter operators "has been", "has never been", and "changed from" (#38527).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-11 02:08:41 +00:00
Go MAEDA
5352225a8c Make the "Any searchable text" filter search only open issues when the status filter is set to "open" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-01 14:33:22 +00:00
Go MAEDA
d97beec1d4 Add "View annotation prior to this change" button in the annotate view of Git (#35432).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-30 04:00:57 +00:00
Go MAEDA
b1510836b0 Rendering a custom field with a URL pattern set and containing " :" in the value raises Addressable::URI::InvalidURIError (#38464).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-21 03:06:06 +00:00
Go MAEDA
fae39a9542 Fix "Any searchable text" filter doesn't support the project filter with the value "my projects" or "my bookmarks" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-18 12:05:49 +00:00