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
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
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
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
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
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
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
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
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
Marius Balteanu
81575e7291
Skip validation of required custom fields when creating a project if user does not have permissions to see those custom fields ( #36593 ).
...
Patch by mathieu-mbru.
git-svn-id: https://svn.redmine.org/redmine/trunk@21488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-21 22:13:19 +00:00
Marius Balteanu
e50190a82a
Automatically add the user to the watchers list after contributing to an issue ( #4347 ). User can enable/disable this feature from My Account.
...
Patch by Takenori TAKAKI and Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:14:29 +00:00
Marius Balteanu
23874fa913
Render mentioned users with leading @ and highlight ( #36699 , #13919 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:00:30 +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
b51d40fe38
Comments for Textile text formatting ( #20511 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 03:55:24 +00:00
Marius Balteanu
4cb518049f
Add habtm relation between roles and queries_roles ( #36416 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-28 21:16:08 +00:00
Marius Balteanu
96d32a5226
Destroy overridden time entry activities and rows from the habtm join table @queries_roles@ on project deletion ( #36416 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@21437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 19:44:36 +00:00
Marius Balteanu
ba74ba1c70
Allow users to be mentioned using @ in issues and wiki pages ( #13919 ):
...
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned
git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Marius Balteanu
3e9f0023a1
Fix import with issue relations and invalid issues hangs without any error message in UI ( #35656 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-20 18:12:42 +00:00
Marius Balteanu
4807beaebf
Explicitly specify text formatting in the tests ( #35952 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +00:00
Marius Balteanu
380a3b0345
Enable task list items for Common Mark text formatting ( #35742 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:24:43 +00:00
Go MAEDA
8c147ca2b1
Fix that I18nTest#test_custom_pluralization_rules randomly fails ( #36396 , #36461 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:16:19 +00:00
Go MAEDA
09dc778eb2
Custom I18n Pluralization rules are not applied correctly ( #36396 ).
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-15 03:18:33 +00:00
Go MAEDA
9bfa91ea38
Restore the value of Setting.cross_project_issue_relations to prevent random test failures ( #36361 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-13 00:59:17 +00:00
Go MAEDA
f670f0e572
Change the default value for "Time span format" from "decimal" to "minutes" ( #36391 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +00:00
Go MAEDA
4fbbcf3cdf
Fix wrong variable name in Import#set_default_settings ( #34718 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 10:06:28 +00:00
Go MAEDA
ec0ce00b95
Auto guess file encoding when importing CSV file ( #34718 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 01:29:55 +00:00