[#538] Improve the project hierarchy plugin



Detailed description
  1. Display the correct projects in the widget 'project information'
  2. Sort the content of the select box for the selection of the son
  3. Check if the project does not already have a parent (to avoid conflict in the project tree)
  4. Multiple translations into French
  5. Keep the plugin enabled if the project is a template
  6. Remove the plugin in the database when the project using the plugin is deleted
General Information
Submitted by:
Jean-Christophe Masson
Date Submitted: 2013-02-20 16:04
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2013-05-02 20:20
Permalink: https://fusionforge.org/tracker/a_follow.php/538
Internal Fields
Data Type: Patches
Assigned to: Franck Villaume (nerville)
State: Closed
Priority: 3
Extra Fields
Base branch:
Follow-up tabs
Message  ↓
Date: 2013-05-02 20:19
Sender: Franck Villaume

translations updated.

Date: 2013-05-01 17:28
Sender: Franck Villaume

  1. ok understand what you mean. Code merged in master.

  2. still need to be merged.

Date: 2013-04-24 08:54
Sender: Jean-Christophe Masson

  1. We don't understand exactly what you mean. The purpose of our patch is to take into account the configuration. From our point of view, the code at line 2412 takes into account the use of the plugin but not the configuration used by the plugin, configuration found in the table "pluginprojectshierarchy".

Date: 2013-04-23 19:45
Sender: Franck Villaume

2bis has been fully merged in Branch52. In master, there is also an enhancement on this topic to avoid the situation.

  1. merged in Branch52.

Date: 2013-04-23 18:20
Sender: Franck Villaume

thanks for the patch (by the way, it would easier for the community if you provide the version of fusionforge you patched, i'm just guessing you're patching branch52)

  1. actually the code in Group.class.php does already the job. take a look at line 2412 in master. I tested and it works like expected. I wont merge your code.

  2. still need to be merged. 2bis. still to be fully merged

Date: 2013-04-18 10:00
Sender: Jean-Christophe Masson

Here is a new patch taking into consideration your comments for points 4 and 5

Date: 2013-04-17 13:07
Sender: Franck Villaume

  1. need to check if the template does use the plugin before activate it by default.
  2. not needed. check is done in the delegated function.

Date: 2013-04-17 09:58
Sender: Jean-Christophe Masson

4 At project creation with a template,the purpose is to initialize the configuration of the plugin 5 We just added the control on the use of the plugin like the other implementations. Example in MantisBTPlugin.class.php if ($group->usesPlugin($this->name)) { if ($this->isProjectMantisCreated($groupid)) { if ($this->removeProjectMantis($groupid)) { $returned = true; } } else { $returned = true; } }

Date: 2013-04-14 17:45
Sender: Franck Villaume

status : 1 is fixed 2 is fixed 2bis is almost fixed 3 need to be merged 4 not sure what you want here. Can you provide more informations ? 5 native code already works.

Date: 2013-02-22 10:31
Sender: Franck Villaume

I take a look at your patch. I started to commit some part, some other need to rewritten (not the sure the clone part does what you expect).

Size Name Date By Download
21 KiBimprove_hierarchy_plugin v2.patch2013-04-18 10:00
Jean-Christophe Masson
improve_hierarchy_plugin v2.patch
21 KiBimprove_hierarchy_plugin.patch2013-02-20 16:04
Jean-Christophe Masson

No related commits.

Field Old Value Date By
status_idOpen2013-05-02 20:20
Franck Villaume
close_dateNone2013-05-02 20:20
Franck Villaume
ResolutionNone2013-05-02 20:19
Franck Villaume
Base branchNone2013-04-25 13:25
Franck Villaume
ResolutionAwaiting Response2013-04-23 18:27
Franck Villaume
File Added322: improve_hierarchy_plugin v2.patch2013-04-18 10:00
Jean-Christophe Masson
Target branch5.2.12013-04-14 17:45
Franck Villaume
ResolutionNone2013-04-14 17:45
Franck Villaume
Target branchNone2013-02-23 11:25
Franck Villaume
assigned_tonone2013-02-22 10:31
Franck Villaume
File Added307: improve_hierarchy_plugin.patch2013-02-20 16:04
Jean-Christophe Masson

No relations found.