Go MAEDA
4fb1e4bea0
Use fixtures :all to ensure consistent test data and improve test reliability ( #41961 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +00:00
Go MAEDA
e6f8fe77cb
Fix random test failure in IssueTest due to unsorted expected_statuses ( #41951 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-09 00:45:33 +00:00
Go MAEDA
55c7a3177f
Fix missing deletion of custom field attachments upon issue deletion ( #38966 ).
...
Patch by Takenori TAKAKI (user:takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@23161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-26 02:14:09 +00:00
Go MAEDA
55b0664b4c
Fix test to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated "Hongkong" ( #41313 ).
...
Patch by Soren Stoutner (user:sorenstoutner).
git-svn-id: https://svn.redmine.org/redmine/trunk@23079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-25 21:31:24 +00:00
Go MAEDA
94d9a2337b
Add "Author / Previous assignee" group to assignee dropdown in issue form ( #16045 ).
...
Patch by Luka Lüdicke (user:dkd-luedicke), Mizuki ISHIKAWA (user:ishikawa999), and Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-15 06:31:30 +00:00
Go MAEDA
68121841b5
Fix NoMethodError in Issue#blocked? due to invalid issue_from_id in Issue#relations_from ( #8539 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-10 00:55:32 +00:00
Marius Balteanu
f9f486bdd0
Check view watchers permission when copying issues ( #40946 ).
...
Patch by Jens Kraemer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:30: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
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
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
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
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
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
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
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
55408c480b
Ability to disable the priority field ( #38416 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-14 01:05:02 +00:00
Go MAEDA
41b4bc54a5
Disable auto watch for the anonymous user ( #38238 ).
...
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-26 07:48:19 +00:00
Go MAEDA
9a625f2610
Auto watch issues on issue creation ( #38238 ).
...
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-26 07:46:35 +00:00
Go MAEDA
1481c721a2
Use require_relative instead of require File.expand_path(..., __FILE__) ( #38093 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
0f2378c121
Reverts r21958 and r21959 ( #1739 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-18 08:17:50 +00:00
Go MAEDA
b3e4214989
Add the ability to change the author of an issue ( #1739 ).
...
Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-16 09:24:17 +00:00
Go MAEDA
d4b7634cc6
Consider only roles with either add_issues or edit_issues permissions for any status transitions ( #37635 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-17 06:14:27 +00:00
Marius Balteanu
68031b6544
Improved @fixed_version_id@ validation ( #37171 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 15:13:09 +00:00
Marius Balteanu
e5550d5ed4
Ensure @category_id@ is valid within the issue's project ( #37171 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 15:10:25 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
390841721e
Fix test failure due to r21309 ( #13099 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-13 13:37:33 +00:00
Marius Balteanu
a84efa8046
Add tests for #35764 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:55:10 +00:00
Marius Balteanu
05e9d7883b
Use sanitize_sql_like in like scopes ( #35073 ).
...
Patch Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:44:39 +00:00
Marius Balteanu
805b36cbfb
Remove unused setting 'Blind carbon copy recipients (bcc)' ( #30820 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-01 17:25:13 +00:00
Go MAEDA
e86476eb5b
Fix "ActiveRecord::StaleObjectError: Attempted to update a stale object: Issue." ( #29914 , #32912 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:48:50 +00:00
Go MAEDA
f134831602
Do not journalize attachments that are added during a "Copy Issue" operation ( #34921 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@20872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-29 03:32:38 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
73648a0b9c
Add test for 4 byte characters (emoji) support ( #32054 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@20780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-13 01:16:10 +00:00
Go MAEDA
3f3514d8b1
Show only valid projects on issue form when the issue is a subtask ( #33419 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@20701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-01 00:59:07 +00:00
Toshi MARUYAMA
ce605ea31d
remove spaces inside {} of test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-19 13:31:17 +00:00
Toshi MARUYAMA
24feec3bb7
shorten long line of test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 14:39:16 +00:00
Toshi MARUYAMA
0470d27d0d
shorten long line of test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-22 14:18:36 +00:00
Go MAEDA
a7b9fa9996
Fix that Issues API bypasses add_issue_notes permission ( #33689 ).
...
Patch by Junya Tomono and Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-12 02:28:46 +00:00
Go MAEDA
3f11c1f10b
Add "behind-schedule" CSS class to issues ( #31881 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 00:45:19 +00:00
Go MAEDA
e9e0c538da
Use more efficient "exists?" instead of "first" in tests when checking the existence of rows ( #33367 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-03 00:44:08 +00:00
Go MAEDA
5917137d12
Show warning and the reason when the issue cannot be closed or reopen because of open subtask(s), blocking issue(s) or closed parent issue ( #31589 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-10 03:50:47 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
d48769f152
Enable users to receive email notifications about high issues (only) ( #32628 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@19449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-21 04:23:26 +00:00
Toshi MARUYAMA
3f6d9f74f7
cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:44:51 +00:00
Toshi MARUYAMA
8e3d0354a5
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:28:14 +00:00
Toshi MARUYAMA
bd0f849e08
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:28:03 +00:00
Toshi MARUYAMA
4588fb20c5
cleanup: rubocop: fix Layout/AlignArguments in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:33:58 +00:00
Go MAEDA
545a050ba3
Code cleanup: RuboCop: Fix Performance/Count and Performance/Detect.
...
This change corrects newly detected offenses after updating rubocop-performance to 1.5.0 in r18579.
git-svn-id: http://svn.redmine.org/redmine/trunk@18580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-02 00:53:11 +00:00