1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 18:01:14 +00:00

3664 Commits

Author SHA1 Message Date
Go MAEDA
cffbf0a359 Make "Project" label translatable in app/views/projects/bulk_destroy.html.erb (#36691, #37210).
Patch by Robert Korulczyk.


git-svn-id: https://svn.redmine.org/redmine/trunk@21624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-06 09:06:10 +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
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
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
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
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
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
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
Marius Balteanu
d8d0f38a6b Revert undesired changes (#36593)
git-svn-id: https://svn.redmine.org/redmine/trunk@21489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-21 22:16:29 +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
3cee462b67 Fix that @tracker_ids[]@ field is rendered multiple time. Add some assertions to @test_index@ (#6432).
git-svn-id: http://svn.redmine.org/redmine/trunk@21482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-20 22:16:11 +00:00
Marius Balteanu
7c0edc26d4 Add missing partial (#4347).
git-svn-id: http://svn.redmine.org/redmine/trunk@21470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 11:27:57 +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
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
Marius Balteanu
65a91d13a0 Fix file drop feature not working in @documents#new@ (#36686).
git-svn-id: http://svn.redmine.org/redmine/trunk@21466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 08:08:09 +00:00
Marius Balteanu
3c2c5fbc50 Reindent code in documents/_form view (#36686).
git-svn-id: http://svn.redmine.org/redmine/trunk@21465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 08:07:32 +00:00
Go MAEDA
4926771a8a Update Chart.js to 3.7.1 (#36701).
Patch by Maciej Pankanin.


git-svn-id: http://svn.redmine.org/redmine/trunk@21446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-03 14:17:19 +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
Go MAEDA
6a46743cd3 Fix code copying in common browsers (#36580).
Patch by Vitaly vit9696.


git-svn-id: http://svn.redmine.org/redmine/trunk@21415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-19 07:36:40 +00:00
Marius Balteanu
9f82265782 Fix WikiContentVersion API returns 500 if author is nil (#36494).
git-svn-id: http://svn.redmine.org/redmine/trunk@21414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-18 08:08:10 +00:00
Go MAEDA
b0e1f8d8f3 Reduce database queries when rendering Custom fields box in the project settings tab (#36505).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-14 08:08:47 +00:00
Go MAEDA
6f6d380e74 Structured Document list for more flexible UI design with CSS (#17924).
Patch by Yonghwan SO and Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-08 02:40:24 +00:00
Marius Balteanu
eb868ad932 Add "required for administrators" option to Two-factor authentication settings that behaves like optional, but will require all users with administration rights to set up two-factor authentication at their next login (#35439).
git-svn-id: http://svn.redmine.org/redmine/trunk@21395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-01 20:17:27 +00:00
Marius Balteanu
d2f64ee928 Fix autocomplete for users fails with 403 error when there are multiple objects from different projects (#36446).
Patch by Dmitry Makurin.


git-svn-id: http://svn.redmine.org/redmine/trunk@21394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-01 20:11:56 +00:00
Marius Balteanu
ca3f4d0e0a Remove sidebar views (#36524).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-30 09:27:23 +00:00
Marius Balteanu
a2997b8f78 Remove sidebar with invalid query links from imports views (#36524).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-30 09:24:37 +00:00
Marius Balteanu
218948d4c5 Display "Two-factor authentication" on two lines to save some space (#35934).
git-svn-id: http://svn.redmine.org/redmine/trunk@21381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:14:23 +00:00
Marius Balteanu
a5cd3f791c Add "Two-factor authentication" filter and column to Users list in administration (#35934).
git-svn-id: http://svn.redmine.org/redmine/trunk@21380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 08:53:41 +00:00
Go MAEDA
5d0798c0d1 Include avatar URL in Users API (#36303).
Contributed by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-21 00:31:11 +00:00
Go MAEDA
a5785c8ee6 Display source project for cross-project associated revisions for issues (#5242).
Contributed by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-18 15:03:29 +00:00
Go MAEDA
8cc4cff362 Make issue tabs DOM more consistent (#36429).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-17 13:53:35 +00:00
Go MAEDA
41c8d8a7f6 "Edit" misaligned in project members view (#13199).
Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-16 05:02:31 +00:00
Go MAEDA
873580ca74 Permission check of the setting button on the issues page mismatches button semantics (#35090).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-10 07:11:14 +00:00
Go MAEDA
bcdb13f1fd Change Delete button name to Delete issue (#31278).
Contributed by Frederico Camara.


git-svn-id: http://svn.redmine.org/redmine/trunk@21346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-05 00:05:45 +00:00
Go MAEDA
32dfdf186f Update copyright year in the footer to 2022 (#36378).
git-svn-id: http://svn.redmine.org/redmine/trunk@21339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 04:50:14 +00:00
Go MAEDA
81e25404aa Fix a missing closing div due to r21312 (#35755, #36326).
Contributed by Enziin System.


git-svn-id: http://svn.redmine.org/redmine/trunk@21318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-16 04:30:51 +00:00
Go MAEDA
9955844da1 Drop OpenID support (#35755).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 00:09:53 +00:00
Marius Balteanu
70f8ca64dd You can configure default project queries in the following places (#35795):
* App-level: Administration > Projects > Default query (Projects list defaults section)
* User-level: My account > Default project query

git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-15 21:58:39 +00:00
Marius Balteanu
9def0fa3d0 Migrate @setting_default_issue_query@ locale key to @label_default_query@ (#7360).
git-svn-id: http://svn.redmine.org/redmine/trunk@21280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-15 21:13:22 +00:00
Marius Balteanu
1245708ba7 Fix typo in class 'icon-expended' (#36149).
Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 20:14:49 +00:00
Marius Balteanu
e9b94a19de Adds button to "Create and follow" when adding a subtask from the parent issue. Now the user have the following options:
* Create: redirects the user to the parent task (existing behaviour)
* Create and follow: redirects the user to the newly created subtask (new behaviour)
* Create and add another: redirects the user to new subtask (existing behaviour).

(#29076).

git-svn-id: http://svn.redmine.org/redmine/trunk@21269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-06 09:11:58 +00:00
Go MAEDA
ac8aa6b1f3 Change the "Edit" label in the context menu to "Bulk Edit" when multiple issues are selected (#35770).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-20 07:55:44 +00:00
Marius Balteanu
715ffcda43 Append two spaces to lines when importing an email on CommonMark with hardbreaks disabled (#32424).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:20:04 +00:00
Marius Balteanu
09618a274b Make hardbreaks behaviour configurable in config/configuration.yml (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 05:17:18 +00:00
Go MAEDA
975e485afd Add information about whether an issue is open or closed to Issues API response (#15855).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-02 06:16:15 +00:00
Go MAEDA
2b1d88fa59 Allow Roadmap view without any related issues (#6432).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@21204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-04 01:43:50 +00:00
Go MAEDA
b0416adcda Hide graphs when printing the Issues Report details (#35669).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@21202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-28 07:04:38 +00:00