Marius Balteanu
5c3eef81d4
Merge r23361 from trunk to 5.1-stable ( #41937 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-08 23:37:09 +00:00
Go MAEDA
6b736fe533
Merged r23026 from trunk to 5.1-stable ( #41217 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-07 04:10:21 +00:00
Marius Balteanu
e7980d7f4c
Merged r22910, r22924, r22928 and r22929 from trunk to 5.1-stable ( #40948 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-20 09:46:16 +00:00
Marius Balteanu
526d6e4af1
Merge r22774 from trunk to 5.1-stable ( #40389 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-21 21:16:22 +00:00
Marius Balteanu
03ff0f652c
Merged r22734 from trunk to 5.1-stable.
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-21 21:06:51 +00:00
Marius Balteanu
c7fb4dbad4
Fix rubocop warnings on 5.1-stable branch.
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-03 22:34:44 +00:00
Marius Balteanu
ab17d067a1
Merged r22746 from trunk to 5.1-stable ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-27 20:34:13 +00:00
Go MAEDA
da79bdae45
Merged r22698 from trunk to 5.1-stable ( #40208 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-09 04:49:33 +00:00
Marius Balteanu
6e584774c4
Merged r22623, r22624 and r22625 from trunk to 5.1-stable ( #40099 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 12:57:08 +00:00
Marius Balteanu
a3a29caa63
Add missing change for #39862 to 5.1-stable.
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 02:33:15 +00:00
Marius Balteanu
73ffd58bfa
Merge r22551 from trunk to 5.1-stable ( #39862 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 02:13:32 +00:00
Marius Balteanu
41f7740180
Backport fix of random failing integration test for plugin routes to 5.1-stable branch ( #39864 ).
...
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-17 03:13:02 +00:00
Marius Balteanu
e5034f5ac0
Delete whole @tmp/plugins@ directory ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 20:13:15 +00:00
Marius Balteanu
bfe6121ef3
Fixes a random failing test in @test_plugins@ (integration/routing/plugins_test.rb) by enforcing the plugins path to @tmp/plugins@ ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 20:06:54 +00:00
Marius Balteanu
b141aed19f
Fix typo in plugins_test.rb ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:51:02 +00:00
Go MAEDA
03280712d3
Fix RuboCop offenses due to r22343: Style/RedundantRegexpEscape, Layout/EmptyLinesAroundMethodBody, and Style/HashSyntax ( #39181 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 14:17:35 +00:00
Go MAEDA
28a45b7144
Add missing Homepage attribute in Projects API response ( #39113 ).
...
Patch by Vincent Robert.
git-svn-id: https://svn.redmine.org/redmine/trunk@22345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 02:18:26 +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
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
9ab7d166b2
Fix RuboCop offences introduced in r22328 ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-06 08:18:26 +00:00
Go MAEDA
291206fda1
Add test for r22327 ( #38707 ).
...
Patch by Nishida Yuya.
git-svn-id: https://svn.redmine.org/redmine/trunk@22328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-06 06:12:24 +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
66f16ff348
Unable to retrieve custom fields set as "For all projects" via Projects API ( #38668 ).
...
Patch by Hirokazu Onozato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-30 09:20:09 +00:00
Go MAEDA
555acea780
Check if the user has the permission to add notes or edit an issue when adding an issue attachments ( #38297 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-02 04:32:34 +00:00
Go MAEDA
c80c7f1d26
Fix robots.txt to disallow issue lists with a sort or query_id parameter in any position, not just first ( #38201 ).
...
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-23 08:08:21 +00:00
Go MAEDA
9d65eee424
Avoid double-render error with ApplicationController#find_optional_project ( #38063 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-20 03:31:41 +00:00
Go MAEDA
dbf8c1d921
Fix RuboCop offense Performance/RedundantEqualityComparisonBlock ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:30:25 +00:00
Go MAEDA
1d3a76580f
Fix RuboCop offense Performance/FixedSize ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:29:11 +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
10af27eac3
Fix RuboCop offense Performance/StringInclude ( #37247 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-26 02:46:53 +00:00
Marius Balteanu
df9ff95f2b
Add tests for #37772 .
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:27:17 +00:00
Marius Balteanu
e96d8038fc
Revert r21975.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:21:37 +00:00
Marius Balteanu
3f5f020a78
Add tests for #37772 .
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:18:04 +00:00
Go MAEDA
0f8c36869e
Disallow all in /robots.txt if login is required ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:28:08 +00:00
Go MAEDA
afbec488c4
Always allow access to /robots.txt for Anonymous ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:26:15 +00:00
Go MAEDA
dcdf27b895
Render all visible projects in robots.txt (including closed projects) ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:24:17 +00:00
Go MAEDA
783e986048
Add missing fixture to test/integration/issue_test.rb ( #37851 ).
...
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-29 08:24:03 +00:00
Go MAEDA
ee1476f802
Fix RuboCop offense Rails/Pluck ( #37248 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-28 07:50:11 +00:00
Go MAEDA
099a9adcb3
Add description field to custom fields API ( #37617 ).
...
Patch by Holger Just and Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-01 05:25:04 +00:00
Go MAEDA
8c1fda0b5d
Repository tab is not displayed if no repository is set as the main repository ( #33953 ).
...
Patch by Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-27 15:35:25 +00:00
Go MAEDA
3164895f69
Open Help in a separate tab ( #1069 ).
...
Contributed by Vijay Kiran.
git-svn-id: https://svn.redmine.org/redmine/trunk@21737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-22 01:33:38 +00:00
Marius Balteanu
3ce719b120
Fix internal server error when trying to retrieve AnonymousUser's information via Users API ( #37157 ).
...
Patch by Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-27 22:14:59 +00:00
Go MAEDA
3258ff7244
Fix test failure due to r21601 ( #36938 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-25 13:52:04 +00:00
Marius Balteanu
883aa3b5cc
Background job for project deletion ( #36691 ).
...
Due to the deletion of dependent objects (issues etc), project deletion may take a long time.
This patch moves the actual project deletion into an ActiveJob job. It also introduces a new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide the project that is about to be deleted (and any potential descendant projects) from the system immediately.
A security notification is sent out to the user that deleted the project, informing about success / failure.
The projects list is extended to be able to filter for the new status, so in case of a failure, the project can still be accessed for examination.
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:45:41 +00:00
Go MAEDA
32abb15847
Add support for PUT API to journals ( #10171 ).
...
Patch by Mizuki ISHIKAWA .
git-svn-id: https://svn.redmine.org/redmine/trunk@21496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-23 14:26:47 +00:00
Marius Balteanu
f286a6044b
Deprecate and rename rss_* methods to atom_* methods ( #15118 ).
...
Patch by Mischa The Evil and Marius BĂLTEANU
git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 09:56:46 +00:00
Go MAEDA
2d6f552599
Replace Member.find_or_new with ActiveRecord's find_or_initialize_by ( #36730 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-14 14:25:24 +00:00
Marius Balteanu
1ebb8920d2
Update API test to use token based authentication when twofa is enabled for user ( #35001 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-25 07:57:37 +00:00
Marius Balteanu
1db2566ff9
Disable API authentication with username and password when two-factor authentication is enabled for the user ( #35001 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 19:10:35 +00:00