1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

17311 Commits

Author SHA1 Message Date
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
3719eb32f4 Update locales (#36891).
git-svn-id: https://svn.redmine.org/redmine/trunk@21590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-17 20:42:27 +00:00
Marius Balteanu
9e8a7abddb Ask more specific confirmation questions when closing/reopening/archiving projects (#36891).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 22:38:20 +00:00
Marius Balteanu
0893331de0 Add missing issues to 5.0.1 changelog.
git-svn-id: https://svn.redmine.org/redmine/trunk@21585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 21:55:56 +00:00
Marius Balteanu
8520f8b4db Updates for 5.0.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@21582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 21:48:08 +00:00
Marius Balteanu
345c1c978c Fix that newly added attachments are lost when the status of the ticket is changed by hiding/showing the fields without removing them (#37053).
git-svn-id: https://svn.redmine.org/redmine/trunk@21580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 20:01:02 +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
5d830c892d Revert changes made to issue form update in r21495 (#37053).
git-svn-id: https://svn.redmine.org/redmine/trunk@21578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-16 19:38:11 +00:00
Marius Balteanu
1eeb7e50ac Add redcarpet gem to common_mark group because the common_mark implementation requires it and Redmine won't start when it is installed without markdown group (#36892).
git-svn-id: https://svn.redmine.org/redmine/trunk@21575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-15 10:54:10 +00:00
Go MAEDA
fe1202d626 Attachment activity provider SQL optimization (#37057).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-14 07:38:36 +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
5e1e8684fc Update Nokogiri to 1.13.6 for Ruby >= 2.6.0 (#36912).
git-svn-id: https://svn.redmine.org/redmine/trunk@21567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-10 06:11:33 +00:00
Marius Balteanu
da57d8fee6 Update Rails to 6.1.6 (#36917).
git-svn-id: https://svn.redmine.org/redmine/trunk@21564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-09 19:08:57 +00:00
Go MAEDA
0e7c0d11dd Czech translation update (#37003).
Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@21562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-05 07:28:31 +00:00
Go MAEDA
525563f98b German translation update (#36905).
Patch by Alexander Meindl.


git-svn-id: https://svn.redmine.org/redmine/trunk@21560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-05 05:46:29 +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
a9e2d1aeb5 Fix rendering invalid URI fails with exception in CommonMark Markdown (#36958).
Patch by Holger Just.



git-svn-id: https://svn.redmine.org/redmine/trunk@21558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-03 16:50:20 +00:00
Marius Balteanu
e72790b73f Reverts r21448 (#36998).
git-svn-id: https://svn.redmine.org/redmine/trunk@21556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-02 20:28:07 +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
Go MAEDA
4e0b548d74 Galician translation update (#37024).
Patch by Guillermo ML.


git-svn-id: https://svn.redmine.org/redmine/trunk@21550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-01 07:17:16 +00:00
Go MAEDA
708cb107b5 Polish translation update (#37025).
Patch by Robert Korulczyk.


git-svn-id: https://svn.redmine.org/redmine/trunk@21548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-01 07:09:30 +00:00
Go MAEDA
d2ce08e794 Update RuboCop to 1.28 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-01 05:51:51 +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
4fdcbc212b Handle nil return of Redmine::Themes.theme(Setting.ui_theme) in Redmine::Info.environment (#36932).
Patch by Mischa The Evil.


git-svn-id: https://svn.redmine.org/redmine/trunk@21541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:56:07 +00:00
Marius Balteanu
9243a5ffaa Use closest form when copy image from clipboard (#36817).
Patch by Yazan Al aeddin.


git-svn-id: https://svn.redmine.org/redmine/trunk@21540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:40:45 +00:00
Marius Balteanu
d4874f303e Update Nokogiri to 1.12.5 for Ruby < 2.6.0 and 1.13.4 for Ruby >= 2.6.0 (#36912).
git-svn-id: https://svn.redmine.org/redmine/trunk@21539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:11:24 +00:00
Marius Balteanu
0de8c6dc17 Update Rails to 6.1.5.1 (#37045).
git-svn-id: https://svn.redmine.org/redmine/trunk@21536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:00:20 +00:00
Go MAEDA
ed4f7851ee Russian translation update (#36934).
Patch by Vitaly vit9696.


git-svn-id: https://svn.redmine.org/redmine/trunk@21534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-16 03:26:01 +00:00
Go MAEDA
67489efaa0 Bulgarian translation update (#36930).
Patch by Ivan Cenov.


git-svn-id: https://svn.redmine.org/redmine/trunk@21532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-14 13:47:56 +00:00
Go MAEDA
cd102e7518 Update RuboCop to 1.27 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-10 07:34:52 +00:00
Go MAEDA
1eab4a19bb Update Rails to 6.1.5 (#36917).
git-svn-id: https://svn.redmine.org/redmine/trunk@21524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-10 06:24:18 +00:00
Marius Balteanu
0bb0191289 Fix that copy paste image from clipboard fails to generate a unique file name (#36887).
git-svn-id: https://svn.redmine.org/redmine/trunk@21523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-05 07:01:10 +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
b1e4411c49 Add missing partial view (33422).
git-svn-id: https://svn.redmine.org/redmine/trunk@21521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:30:23 +00:00
Marius Balteanu
c431606e3e Adds context menu to admin projects list (#33422).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-01 15:09:28 +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
44344cfe8a Add missing v4.2.5 section in Changelog (#36863).
git-svn-id: https://svn.redmine.org/redmine/trunk@21518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-31 08:09:26 +00:00
Go MAEDA
4cc397ca69 Delete duplicate v5.0.0 section in Changelog (#36862).
git-svn-id: https://svn.redmine.org/redmine/trunk@21517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-31 04:09:44 +00:00
Marius Balteanu
bed7816911 Changelog for 5.0.0.
git-svn-id: https://svn.redmine.org/redmine/trunk@21512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-28 19:41:52 +00:00
Marius Balteanu
1375b10f38 Bump version to 5.0.0.
git-svn-id: https://svn.redmine.org/redmine/trunk@21509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-28 19:36:13 +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
Marius Balteanu
883fcb89ee Include roles of built-in "Non member users" and "Anonymous users" members when user is not a member of the project. This fixes #34029.
git-svn-id: https://svn.redmine.org/redmine/trunk@21502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-27 21:29:05 +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
750c5e89fb Increase email address length limit from 60 to 254 (#36825).
Contributed by Brice Beaumesnil.


git-svn-id: https://svn.redmine.org/redmine/trunk@21497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-23 15:26:59 +00:00