Changes between Version 67 and Version 68 of SimpleMultiProjectPlugin


Ignore:
Timestamp:
Aug 26, 2016, 7:32:47 AM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • SimpleMultiProjectPlugin

    v67 v68  
    4848 Actually, most database tables of Trac core related to resources would need a new column 'project_id'. This way tickets, components, milestones, versions or even wikis could attach to certain projects. Since a plugin just adds stuff but cannot change the core structure, it implements the new dimension 'project' not by adding a new column to each resource table but rather by adding several mapping tables smp_[resource]_project, each one mapping a certain resource to projects:
    4949 1. smp_milestone_project: the association of milestones to projects
    50  1. smp_version_project:   the association of versions to projects
     50 1. smp_version_project: the association of versions to projects
    5151 1. smp_component_project: the association of components to projects
    5252
     
    5757Admin Interface:
    5858
    59 
    60 [[Image(admin_project.png, 50%)]]
    61 
    62 ----
     59[[Image(admin_project.png, 50%, border=2)]]
    6360
    6461Add project summary and description. This is displayed on the roadmap page as follows:
    6562
    66 
    67 [[Image(admin_projects_modify.png, 50%)]]
    68 
    69 ----
     63[[Image(admin_projects_modify.png, 50%, border=2)]]
    7064
    7165Associate a milestone with a project:
    7266
    73  * Mapping milestones and versions to a project is supported
     67 * Mapping milestones and versions to a project is supported:
    7468   * via main menu item "Admin" -> "Ticket System" -> "Milestones" / "Versions".
    7569   * Another way is doing it from the ''Roadmap'' page:
     
    7973 * Note: "New Ticket" with a chosen project only offers milestones and versions mapped to that certain project.
    8074
    81 [[Image(edit_milestone.png, 50%)]]
    82 
    83 ----
     75[[Image(edit_milestone.png, 50%, border=2)]]
    8476
    8577Group milestones and versions on the roadmap by project, show project summary and description in the header of the project box, and display only projects chosen in the filter box:
    8678
    87 
    88 [[Image(roadmap_projects_filter.png, 50%)]]
    89 
    90 ----
     79[[Image(roadmap_projects_filter.png, 50%, border=2)]]
    9180
    9281Display only tickets in the timeline of projects chosen in the filter box (adapted from TimelineComponentFilterPlugin):
    9382
     83[[Image(timeline_projects_filter.png, 50%, border=2)]]
    9484
    95 [[Image(timeline_projects_filter.png, 50%)]]
    96 
    97 ----
    9885You also can include the Project Name in your Ticket Queries by adding a join to the `ticket_custom` table:
    9986
     
    156143}}}
    157144 1. Give permissions to certain users. Available permissions are:
    158    - {{{ PROJECT_SETTINGS_VIEW }}} - you can see the list of projects with their description and their component mapping on the Admin panel
    159    - {{{ PROJECT_ADMIN }}} - full access, you can also create and delete projects, and map to milestones, versions and components
     145   - `PROJECT_SETTINGS_VIEW` - you can see the list of projects with their description and their component mapping on the Admin panel
     146   - `PROJECT_ADMIN` - full access, you can also create and delete projects, and map to milestones, versions and components
    160147 1. Since plugin version 0.4 we support project-wise restriction of resources to a subset of users (#11367). Switch on the plugin component ''ProjectTicketsPolicy'' to activate it, and add the following to your `trac.ini` file:
    161148 {{{#!ini