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
Toshi MARUYAMA
cc8750f7dd
code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 02:44:32 +00:00
Toshi MARUYAMA
2e1da01790
code cleanup: rubocop: fix Layout/EmptyLinesAroundMethodBody in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 17:55:14 +00:00
Toshi MARUYAMA
83d5633a5f
code cleanup: rubocop: fix Style/TrailingCommaInArguments in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 11:18:59 +00:00
Toshi MARUYAMA
9a5cb65b9e
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 15:43:56 +00:00
Toshi MARUYAMA
5611ee0e02
backout r13743
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-19 05:49:21 +00:00
Toshi MARUYAMA
c7c2bb2b24
code cleanup: rubocop: fix Lint/UselessSetterCall in test/unit/issue_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-18 01:56:43 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
1ff42ec5bc
New Permission: Edit own issue ( #1248 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-25 05:32:58 +00:00
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00