Commit Graph

330 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
1d32a44afa Only check for @set_filter@ param when retriving the default query (#7360, 35795, #36389).
git-svn-id: http://svn.redmine.org/redmine/trunk@21481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-20 21:49:57 +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
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
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
4ec384d5a6 Fix Layout/MultilineArrayBraceLayout offense (#21210).
git-svn-id: http://svn.redmine.org/redmine/trunk@21218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-11 10:07:01 +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
5fa84c0b4e API to close/reopen projects (#35507).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-09 02:42:47 +00:00
Go MAEDA
6d3d2b3adb Reduce amount of work on projects show API (#35374).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-01 01:42:42 +00:00
Go MAEDA
890dc20ad7 API to archive/unarchive projects (#35420).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-24 13:55:06 +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
Toshi MARUYAMA
29de4e73b3 remove spaces inside {} of ProjectsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 13:43:59 +00:00
Toshi MARUYAMA
ff300581ca shorten long line of ProjectsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-20 11:35:59 +00:00
Toshi MARUYAMA
67d8f2e5df shorten long line of ProjectsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-13 12:40:10 +00:00
Toshi MARUYAMA
4374f4aaf3 use "do end" instead of {} at ProjectsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-07 12:31:02 +00:00
Toshi MARUYAMA
e665b1e8b0 shorten long line of ProjectsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 14:39:24 +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
f19c291b59 Show groups in members box on project overview page (#33174).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-22 14:52:58 +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
Jean-Philippe Lang
5a72c19e5d Don't paginate the board view for now (#29482).
Subprojects may appear as root projects if their parents are on a previous page.

git-svn-id: http://svn.redmine.org/redmine/trunk@18866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 07:09:52 +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
6c5440a21b Filters for Projects page (#29482).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 11:36:13 +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
07b3087fda Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Jean-Philippe Lang
84f322b2af Add a description for trackers (#442).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:38:56 +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
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
Go MAEDA
21d5bb33a2 Use sorted instead of sort (#29406).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 22:31:44 +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
Jean-Philippe Lang
3821b34a8b Reverts change made to ProjectController in r16766 (#26376).
git-svn-id: http://svn.redmine.org/redmine/trunk@16768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-08 12:16:36 +00:00
Jean-Philippe Lang
d2cc2f9dca Fixed that issue counts are 0 on project overview (#26376).
git-svn-id: http://svn.redmine.org/redmine/trunk@16766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-08 07:20:01 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
23dc616850 Moves project quick search to a dedicated action.
git-svn-id: http://svn.redmine.org/redmine/trunk@16550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-13 09:20:29 +00:00
Jean-Philippe Lang
2734eaffd8 Adds a link to all projects in the jump drop down (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@16172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-10 18:33:36 +00:00
Jean-Philippe Lang
4ee4fad19a Menu items mapping.
git-svn-id: http://svn.redmine.org/redmine/trunk@16077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-16 07:51:56 +00:00
Jean-Philippe Lang
62823442d3 Replaces project jump select with custom dropdown (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@15994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-26 08:16:15 +00:00
Jean-Philippe Lang
124a459d55 Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 10:30:02 +00:00
Jean-Philippe Lang
efabbedebe Enable filtering versions on Project -> Settings -> Versions (#22608).
git-svn-id: http://svn.redmine.org/redmine/trunk@15759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 21:05:22 +00:00
Jean-Philippe Lang
daab32923d Adds pagination to admin project list.
git-svn-id: http://svn.redmine.org/redmine/trunk@15755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 20:10:56 +00:00
Jean-Philippe Lang
ee82a55602 Use .before_action instead of .before_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:27:31 +00:00
Jean-Philippe Lang
d4edd4d6a4 Removes action caching on /robots.txt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 20:34:37 +00:00
Jean-Philippe Lang
6cd84af522 Limits the tracker list in filters and issue counts (#285).
git-svn-id: http://svn.redmine.org/redmine/trunk@15540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:42:25 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00