Go MAEDA
f52b3f90eb
Mark edited journal notes as "Edited" ( #31505 ).
...
Patch by Marius BALTEANU.
git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 04:40:01 +00:00
Go MAEDA
0afe0cf609
Add missing fixture to IssuesPdfHelperTest ( #37451 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 00:25:16 +00:00
Go MAEDA
6badcf374b
Make the only enabled activity in a project the default one for time entry ( #10314 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 00:16:31 +00:00
Go MAEDA
7a5f7fe003
Add a missing fixture to RoleTest ( #37448 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-16 08:52:16 +00:00
Go MAEDA
0ef56a4bfb
Fix passing a wrong parameter to with_settings in UserTest::test_random_password_include_required_characters ( #37449 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-16 05:31:41 +00:00
Go MAEDA
675adf74bd
Add missing fixture to JournalObserverTest ( #37389 ).
...
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-06 21:55:51 +00:00
Go MAEDA
856f104031
Fix RuboCop offense Layout/FirstHashElementIndentation ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-30 09:30:03 +00:00
Marius Balteanu
0b4aab3144
Add test for #37349 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 18:05:22 +00:00
Marius Balteanu
6e5b8f07ef
Fix filter for chained User custom fields returns 500 internal server error when filtering after a float value ( #37349 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 17:58:14 +00:00
Marius Balteanu
bfcb1b0054
Fix time entry activity is not set as default when the default activity exists as project specific activity ( #33914 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:26:47 +00:00
Marius Balteanu
e0f0f2c210
Fix random failing test ( #37138 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:16:14 +00:00
Marius Balteanu
4da97ddb30
Revert r21662 ( #37255 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:15:25 +00:00
Marius Balteanu
e6ec471c60
Fix random failing test ( #37255 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:09:36 +00:00
Marius Balteanu
6ffbd3c29e
Respect group memberships when checking if an object is watched ( #37065 ).
...
Patch Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 05:53:43 +00:00
Marius Balteanu
1b300f138f
Fix mentions of users with "@" in their username not working ( #37138 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 05:50:29 +00:00
Marius Balteanu
6f5920e4cb
Fix failing test caused by r21646 ( #37255 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-19 19:30:13 +00:00
Marius Balteanu
b2bf7c6d8c
Respect field visibility when filtering/sorting by associated issue fields ( #37255 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:44:46 +00:00
Marius Balteanu
1a3ee38c2e
Respect field visibility when showing associated issue fields ( #37255 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:43:58 +00:00
Marius Balteanu
9c4df39c7d
Setting @--no-permission-check@ in the mail receiver should not allow creating issues in closed and archived projects ( #37187 ).
...
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:32:02 +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
aef5983bdd
The done ratio of a parent issue may not be 100% even if all subtasks have a done ratio of 100% ( #37151 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-08 15:40:45 +00:00
Marius Balteanu
ab4a055397
Merged r21618 to trunk ( #35892 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-28 18:25:49 +00:00
Marius Balteanu
e09426552c
Update footnotes markup after commonmarker gem update ( #35892 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-28 09:42:15 +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
630b71975f
Wiki notation attachment:file_name cannot make a link to a file attached to other journals ( #35462 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-26 15:36:46 +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
7e386b7063
Remove test code ( #36691 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-19 08:14:05 +00:00
Marius Balteanu
239c198a68
Fix two typos.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 21:21:41 +00:00
Marius Balteanu
b5673a0522
Fix Rubocop warnings.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 21:16:38 +00:00
Marius Balteanu
75124f4076
Fix random failing tests ( #36691 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:53:12 +00:00
Marius Balteanu
e1d6bfbdcc
Adds projects bulk delete ( #36691 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:50:37 +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
Marius Balteanu
c3a08d99f5
Add test for #37053 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 19:53:42 +00:00
Marius Balteanu
2a60a7bd79
Fix that mentions not working after issue status is changed ( #36909 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-11 20:29:14 +00:00
Marius Balteanu
1d02d8ec0b
Don't verify CSRF authenticity token in mail handler ( #37030 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-11 20:09:16 +00:00
Marius Balteanu
95336e48ad
Add a test for #36958 .
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-03 16:50:52 +00:00
Marius Balteanu
ed65e9d2a2
Add missing fixture in InlineAutocompleteSystemTest.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-02 20:21:36 +00:00
Marius Balteanu
277818cf42
Use click_button to click on buttons in test_bulk_edit.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-02 20:09:07 +00:00
Marius Balteanu
a554e1d7bd
Add test for #36932 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:56:52 +00:00
Marius Balteanu
5914b0ebc2
Allow imported time entries to override the selected project with the actual project of their issue ( #36823 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-03 07:54:27 +00:00
Marius Balteanu
83ed32e8d7
Reuse ProjectQuery filters on the admin project list ( #33422 ).
...
Patch by Takenori TAKAKI.
git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:08:52 +00:00
Marius Balteanu
d3988aedd1
Add test for #34029 .
...
Patch by Vincent Robert.
git-svn-id: https://svn.redmine.org/redmine/trunk@21503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-27 21:30:33 +00:00
Go MAEDA
d27582644a
Fix RuboCop offense Rails/RefuteMethods ( #36824 , #30924 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-26 04:01:51 +00:00
Go MAEDA
511abef657
Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) ( #36824 , #30924 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-26 03:57:48 +00:00
Marius Balteanu
9b25b348c3
Allow to filter issues by its version status with shared versions ( #36824 , #30924 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-24 16:52:20 +00:00
Marius Balteanu
40ffbff49d
Fix Redmine::Plugin.assets_directory is not working after r21283 ( #36835 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-24 16:47:54 +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
30d91c8503
Fix that Log time and/or Add notes sections from issue form page do not show or hide dynamically based on user permission ( #34641 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-22 07:03:19 +00:00
Go MAEDA
2e86acfa87
Add tasks to prune registered users after a certain number of days ( #30998 ).
...
Patch by Yuichi HARADA and Marius BALTEANU.
git-svn-id: https://svn.redmine.org/redmine/trunk@21490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-22 04:02:39 +00:00