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
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
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
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
b6a26a60f3
Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 ( #35142 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +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
649d69ea26
Fix that deleting a closed or archived projects not working anymore after r20034 ( #35827 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:11:59 +00:00
Go MAEDA
f30c91341a
Rails 6.1: add header=present to csv tests ( #29914 , #32921 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:59:31 +00:00
Go MAEDA
e9f9767089
Fix cannot change the default version under settings ( #34982 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@20875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-31 08:28:32 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
1e906c5ebf
Fix that disabled trackers of subprojects are listed in project overview ( #10084 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 05:40:09 +00:00
Go MAEDA
586ff28733
Require to enter project's identifier to confirm project deletion ( #34417 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@20601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-10 01:09:33 +00:00
Go MAEDA
dbe76a23b3
Allow normal users to delete a project ( #33945 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@20034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-15 04:15:13 +00:00
Go MAEDA
a14697df68
Unify CSS classes for custom fields in issue#show, issue#edit and issue#bulk_edit ( #32471 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-11 09:00:34 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
b9b841b23f
Updating custom fields does not trigger update to "updated_on" field in the customized object ( #5354 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 06:42:00 +00:00
Go MAEDA
39c979b341
Reverts r19510 that breaks IssueTest#test_closed_on_should_be_set_when_closing_an_open_issue ( #5354 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 04:56:03 +00:00
Go MAEDA
89c4e16807
Updating custom fields does not trigger update to "updated_on" field in the customized object ( #5354 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 04:06:25 +00:00
Go MAEDA
5b74828013
Fix totals not displayed in projects list view ( #32896 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-28 01:15:14 +00:00
Go MAEDA
f37ed77665
Use #media_type instead of #content_type to test the MIME type of a response ( #32886 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-27 03:54:25 +00:00
Go MAEDA
a853fc0e73
Fix sort projects table by custom field ( #32769 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-12 07:03:10 +00:00
Go MAEDA
2de3dfeae5
CSV related tests fail with Rails 5.2.4 ( #32526 , #32525 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-08 00:10:43 +00:00
Toshi MARUYAMA
8853b62cb5
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/projects_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 16:48:45 +00:00
Toshi MARUYAMA
05ab4e13de
cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/projects_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 16:44:40 +00:00
Jean-Philippe Lang
5011117086
Fix CSV export of projects ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-02 07:22:45 +00:00
Jean-Philippe Lang
6319efe95c
Test failure ( #29482 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 12:18:15 +00:00
Jean-Philippe Lang
95188f26c3
Set default columns for the projects list ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:43:23 +00:00
Jean-Philippe Lang
45f039187d
Option to switch between table list and board list ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:42:20 +00:00
Jean-Philippe Lang
e7d52eb0af
Filter after parent project ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:38:15 +00:00
Jean-Philippe Lang
80844362db
Filter after projects ( #29482 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:37:30 +00:00
Go MAEDA
5ce4a363a9
Fix test failure due to missing call to set_tmp_attachments_directory ( #32122 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-04 11:17:33 +00:00
Go MAEDA
3495cba92b
Per role visibility settings for project custom fields ( #31925 ).
...
Patch by Jens Krämer and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-20 01:44:44 +00:00
Jean-Philippe Lang
b9cbfb2846
Duplicate method definition in tests ( #31093 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:33:32 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
29403e710a
Adds favorites and recently used projects lists to project jump box ( #31355 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +00:00
Go MAEDA
391c069d87
Project search should select subprojects scope when the project has subprojects ( #30923 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-25 01:57:20 +00:00
Go MAEDA
292f5ac97f
Remove trailing whitespaces from test/functional/projects_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-25 01:54:15 +00:00
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
7b5131a229
Add CSS class to project custom fields ( #30977 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-06 22:31:14 +00:00
Go MAEDA
bb17ee5295
Show estimated time on the overview page as well as spent time ( #30464 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-22 23:34:57 +00:00
Jean-Philippe Lang
3ba51f205d
Let admins unarchive the project when trying to access an archived project ( #29993 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 11:23:10 +00:00
Go MAEDA
d510c4e50e
Mark default version in versions tab from project settings ( #27799 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-09 11:49:53 +00:00
Go MAEDA
c7d52e7c55
Fix improper way of getting roles in test_settings_should_show_tabs_depending_on_permission ( #28693 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-03 03:42:50 +00:00
Go MAEDA
701cb251c8
Tests for r17359 ( #28693 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-03 01:25:18 +00:00
Jean-Philippe Lang
09e55e3e3a
Adds a few tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-31 16:44:06 +00:00
Jean-Philippe Lang
6712ef52c2
Removes wiki tab in project settings ( #26579 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 08:28:50 +00:00
Jean-Philippe Lang
000ff80320
Project settings: Move issue tracking settings to their own tab ( #26488 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-27 16:42:50 +00:00
Jean-Philippe Lang
449d5e6d34
Removes the Modules tab in project settings ( #26488 ).
...
Modules can now be select on the first tab, just like when creating a project.
git-svn-id: http://svn.redmine.org/redmine/trunk@16892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-26 17:07:43 +00:00