﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
10770,Add configuration option for image type of workflow diagram,enhancement,0.12,Jun Omae,new,2013-01-08T09:35:41+01:00,2021-01-26T21:37:11+01:00,"It would be nice to use all image types dot is supporting to generate the workflow diagram. Especially with complex workflows the PNG image is almost unreadable and SVG would be the better choice.

I already have added a sample implementation.",Stephan Wurm
12678,Error message when diagram image cannot be written,enhancement,1.0,Jun Omae,new,2016-02-22T08:27:54+01:00,2020-02-04T23:54:58+01:00,"I just took over maintenance of a server and saw the following error after running the TracAdmin `deploy` command.

[[Image(Screen Shot 2016-02-21 at 23.22.15.png)]]

Here is the traceback from the logs:
{{{
2016-02-22 02:06:16,740 Trac[main] ERROR: Internal Server Error: 
Traceback (most recent call last):
  File ""/usr/lib/python2.6/site-packages/Trac-1.0.2-py2.6.egg/trac/web/main.py"", line 512, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.6/site-packages/Trac-1.0.2-py2.6.egg/trac/web/main.py"", line 221, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/usr/lib/python2.6/site-packages/Trac-1.0.2-py2.6.egg/trac/admin/web_ui.py"", line 120, in process_request
    path_info)
  File ""build/bdist.linux-x86_64/egg/tracworkflowadmin/web_ui.py"", line 137, in render_admin_panel
    self._parse_request(req)
  File ""build/bdist.linux-x86_64/egg/tracworkflowadmin/web_ui.py"", line 700, in _parse_request
    self._update_diagram(req, params) # not return
  File ""build/bdist.linux-x86_64/egg/tracworkflowadmin/web_ui.py"", line 455, in _update_diagram
    self._create_diagram_image(path, dir, script, errors)
  File ""build/bdist.linux-x86_64/egg/tracworkflowadmin/web_ui.py"", line 462, in _create_diagram_image
    fd, tmp = mkstemp(suffix='.png', dir=dir)
  File ""/usr/lib64/python2.6/tempfile.py"", line 293, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File ""/usr/lib64/python2.6/tempfile.py"", line 228, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 13] Permission denied: '<path/to>/htdocs/tracworkflowadmin/tmp7GtMK8.png'
}}}

The error was due to the following ownership permissions:

{{{#!sh
$ ls -ald htdocs/tracworkflowadmin
drwxr-xr-x 5 root apache 4096 Feb 22 02:13 htdocs/tracworkflowadmin
}}}

The fix was straightforward after looking at the code to see what it was doing.

{{{#!sh
$ ls -ald htdocs/tracworkflowadmin
drwxr-xr-x 5 apache apache 4096 Feb 22 02:13 htdocs/tracworkflowadmin
}}}

I was just thinking that this scenario is probably not all that uncommon, and it might be nice to provide an error message to guide the user to a solution in this case.",Ryan J Ollos
13745,Refactor image path generation,enhancement,,Jun Omae,new,2020-01-31T03:38:46+01:00,2020-01-31T03:38:46+01:00,Proposed refactoring that will make it easier to implement #12678.,Ryan J Ollos
12025,Allow advanced workflow editing,enhancement,,Jun Omae,new,2014-10-20T21:06:25+02:00,2020-01-31T03:28:21+01:00,"It would be nice if this plugin could detect if either the AdvancedTicketWorkflowPlugin or the TypedTicketWorkflowPlugin are installed and include them in the workflow admin.

Currently I have these add-ins and while I can edit the core options through the workflow admin panel, anytime I want to configure the features of the other add-ins, I have to edit `trac.ini` directly.

",paresh138@…
12015,Add graph view settings to the workflow admin panel,enhancement,,Jun Omae,new,2014-10-14T20:49:10+02:00,2017-03-19T02:11:17+01:00,"In addition to the hardcoded settings in trac.ini, having settings directly available on the workflow administration panel would allow for easier previewing of workflows. Also, in conjunction with #12014, this would allow users who cannot edit trac.ini to preview images in a way that suits them.

The following options should be present on the workflow administration panel:
  - diagram_colors
  - diagram_font
  - diagram_fontsize
  - diagram_size

In addition, the following options should be added to the workflow-admin section in trac.ini:
  - max_diagram_size

The addition of a max_diagram_size prevents abuse of the diagram_size option that would be available on the admin page (Preventing, say, a 10!^24 x 10!^24 image being rendered).",Keluri
10663,Support extra workflow operations,enhancement,1.0,Jun Omae,new,2012-11-29T16:58:39+01:00,2013-10-21T16:21:40+02:00,It would be great to support additional operations done when changing state that may be provided by plugins like AdvancedTicketWorkflowPlugin.,Guillaume Brocker
10291,Integrate plugin with MultipleWorkflowPlugin,enhancement,0.12,Jun Omae,new,2012-09-07T22:35:13+02:00,2012-09-07T22:35:13+02:00,"It would be a nice feature if the GUI could be used to modify multiple workflows as defined in the MultipleWorkflowPlugin

A dropdown on the page could be used to select the workflow that needs to be customized",Chris Bush
