﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
3264	Provide workflow actions to hold transitions based on form status.	enhancement	0.10	Rich Harkins	new	2008-06-26T00:19:31+02:00	2012-02-19T23:18:48+01:00	Add ability to get at information from the forms and hold up progress if certain fields do not contain appropriate values.	Rich Harkins
3282	tracforms for test cases?	enhancement	0.11	Rich Harkins	new	2008-06-28T23:07:36+02:00	2020-05-01T06:51:13+02:00	"could this be used to plan tests and execute test cases multiple times, like e.g.  TestCaseManagementPlugin supports it?
"	anonymous
3294	Add documentation for polling	enhancement	0.11	Rich Harkins	new	2008-07-01T15:45:36+02:00	2012-02-19T23:34:22+01:00	!TracForms can be used for weighted polling.  Need to write some example documentation to illustrate that.	Rich Harkins
3295	Write TracForm test workflow examples	enhancement	0.11	Rich Harkins	new	2008-07-01T15:46:44+02:00	2011-04-27T04:56:52+02:00	TracForm can be used for testing.  Need to write some example documentation to illustrate that.	Rich Harkins
12686	Populate Owner field with list of usernames from ldap	enhancement	1.0		new	2016-03-01T17:03:10+01:00	2017-08-27T17:03:44+02:00	"When creating a table similar to the one below, you have to populate the list of users for the drop down values. Is there anyway to be able to populate the Owner field drop down with users from ldap? 

{{{
{{{
#!TracForm
#!keep_history
== Tasklist: ==
|| '''Task''' || '''Status''' || '''Owner''' ||
|| Task1 || [tf.select:values1 Not_Started In_Progress Complete] || [tf.select:values2 user1 user2 user3 || 
|| Task2 || [tf.select:values3 Not_Started In_Progress Complete] || [tf.select:values4 user1 user2 user3 ||
'''Form Last Updated:'''
by [tf.form_updater:]
on [tf.form_updated_on:]
}}}
}}}"	anonymous
8715	Add WikiForms functionality	enhancement	0.12		new	2011-04-18T03:35:39+02:00	2020-05-01T06:51:13+02:00	"Have you looked at the other Forms plugin called [WikiFormsPlugin WikiForms]?  I started using !TracForms originally and switched to !WikiForms because there seemed to be more flexibility there (additional field types besides check boxes, user-definable permissions on fields, etc) and !TracForms development had slowed at that time.

However, since then, development on !WikiForms seems to have slowed and development on !TracForms seems to have picked up.  The functionality that I need is the ability to use permissions to limit parts of forms to specific user groups.  Also, the ability for the form to trigger an external event or condition would make the forms more usable for me."	David.Byrne@…
9640	I can't reference a field using the subcontext from the ticket	enhancement	0.12		new	2011-12-27T21:02:42+01:00	2016-12-02T23:51:54+01:00	"How can i reference a field from the Sandbox\example1 to another field inside Sandbox\example2?
Any idea? I tried to ""Include"" another Sandbox but it didn't work."	cobra
10787	add email notification when just the form has changed in the database	enhancement			new	2013-01-11T10:47:27+01:00	2016-12-02T23:51:54+01:00	"A form change should trigger a ticket change notification, even if no change happened to the ticket (description/comment) wiki markup.

If several people are involved in the ticket form, changes to the form controls should notify the current owner, CC and reporter. If forms are embedded in tickets, users usually wonder if they get noticed about e.g. owner changes but not if the actual data changes.

Maybe this could also be implemented as Announcer plugin.

Note: this here is continued from a discussion in #10774."	falkb
5353	Transform input text to static text on submit	enhancement	0.11		new	2009-06-09T08:06:57+02:00	2016-12-02T23:51:54+01:00	"I'd like to generate forms that can be filled out, and once the information is submitted the data is stored statically, meaning another user cannot come along and change an entry.

The idea I had was to use an input box, and have it change to read only or static text after submit.

It would be nice if the number of columns adjusted to fit the amount of text entered as well.

Finally, if there was a way to delete rows from the form, as addressed in ticket #3445, that would be nice as well.  Particularly if this feature could be restricted to someone with, say, FORM_MODIFY permissions."	Ryan J Ollos
6033	[Patch] tf.who should be passed through format_author	enhancement	0.11		new	2009-10-26T14:53:28+01:00	2016-12-02T23:51:54+01:00	"When you have a ""who"" it would be nice to run that through format_author... especially if you've patched format_author to show the full name. ;-)

Patch attached."	Matt Caron
8748	Add a timeline event provider	enhancement	0.11		new	2011-04-29T23:41:35+02:00	2016-12-02T23:51:54+01:00	This is a development reminder to track the similar request from within #4759 as a separate issue.	Steffen Hoffmann
8749	Add supplementary wiki macros	enhancement	0.11		new	2011-04-30T00:02:38+02:00	2016-12-02T23:51:54+01:00	"Develop some useful add-on functions for [t:TracWiki TracWiki] like i.e. the

`[[ListForms(count|list|table)]]` and `[[FormsQuery(who=$USER)]]`

mentioned in #3500 before."	Steffen Hoffmann
8750	Resolve 'form:' as TracLink to TracForm resouces	enhancement	0.11		new	2011-04-30T00:07:05+02:00	2016-12-02T23:51:54+01:00	This is a development reminder to track the similar request from within #3500 as a separate issue. 	Steffen Hoffmann
9286	Only first update of Form works, all others fail	defect	0.12		new	2011-10-19T13:41:57+02:00	2016-12-02T23:51:54+01:00	"Hi There!

I am trying to use TracForms 0.4.1-r10799 on trac 0.12.2 on an Ubuntu Lucid (10.4.2) Installation with python-2.6.5 and Genshi-6.1 (what else do you need?).

My problem is now, whenever I create a form and use it from the users point of view, the first modification succeeds perfectly.
But when I try to modify the form again (eg. unset a checkbox) the command fails with ""not enough arguments for format string"".
This is what is written in the log about that:
{{{
2011-10-19 13:38:39,471 Trac[api] DEBUG: UPDATE ARGS:{'__backpath__':
 u'/admintrac/wiki', '__FORM_TOKEN': u'cdfe1a1440e3758e59cf2df8',
 '__track_fields__': u'yes', '__basever__': u'1319023921', '__context__':
 u'[""wiki"",""WikiStart"",""""]'}
}}}
This Problem does not occur, whenever I modify a text-field, it only happens with checkboxes.

salute

Jan
"	tracformsTrachacks@…
10614	[PATCH]: Formulardetails list not time-sorted	enhancement	1.0		new	2012-11-13T11:14:16+01:00	2016-12-02T23:51:54+01:00	I don't see the order criteria of that list but how can I have it sorted by time? It seems it doesn't work.	falkb
10649	who and when of last changes in tooltip	enhancement			new	2012-11-23T08:27:43+01:00	2016-12-02T23:51:54+01:00	Looking at FieldTooltipPlugin I wonder if it's a great idea to show the who and when of the last change information in a tooltip for each form field, isn't it?	falkb
10821	Ticket submit should trigger form update	enhancement			new	2013-01-23T20:02:23+01:00	2016-12-02T23:51:54+01:00	"If TracFormsPlugin is used to embed a form within a ticket, the embedded form will have a Submit button, and so will the ticket.   

A user might enter data in BOTH the embedded form and in the ticket fields.   If the user then selects the ticket's Submit button, changes to the form will be lost.   Users must be trained to always submit the embedded form first.   

It would be desirable for the ticket Submit button to also trigger the embedded form's Submit button.   

(Bonus points for only triggering the embedded form if new or changed data is present, but this strikes me as a much more challenging task.)
"	djones@…
11017	If accidentally create a form with two input fields with the same ID, after first edit it fails to load the page	defect	0.11		new	2013-04-15T07:01:06+02:00	2016-12-02T23:51:54+01:00	"Hello.
I'm using TracFormsPlugin r12970
with the following trac installation (only relevant information):
|| '''Trac''' || 1.0.1 ||
|| '''Genshi''' || 0.7 (without speedups) ||
|| '''pysqlite''' || 2.6.0 ||
|| '''Python''' || 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] ||
|| '''SQLite''' || 3.7.9 ||
I'm using the default sqlite database that trac offered me while creating environment.

If I accidentally create a form with two fields with the same ID, after first edit it fails to open the page I added the form to, with the following error:
{{{
AttributeError: 'list' object has no attribute 'replace'

File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/templates/wiki_view.html"", line 49, in <Expression u'wiki_to_html(context, text)'>
File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"", line 1546, in format_to_html
File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"", line 1501, in generate
File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"", line 1244, in format
File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"", line 1134, in handle_code_block
File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"", line 356, in process
File ""/usr/local/lib/python2.7/dist-packages/trac/wiki/formatter.py"", line 343, in _macro_processor
File ""/home/tsyganov/projects/trac-plugins/TracFormsPlugin/trunk/0.11/tracforms/macros.py"", line 48, in expand_macro
File ""/home/tsyganov/projects/trac-plugins/TracFormsPlugin/trunk/0.11/tracforms/macros.py"", line 133, in execute
File ""/home/tsyganov/projects/trac-plugins/TracFormsPlugin/trunk/0.11/tracforms/macros.py"", line 638, in _xml_escape

}}}

Here is the form I worked on (I only changed the labels). Two pairs of fields with the same ID are at the end:

{{{
#! TracForm
#! track_fields
|| Routine || Time, h || Result ||
|| Label 1 || [tf.input:deployment.time.note '' 3] || [tf.input:deployment.result.note '' 5] ||
|| Label 2 || [tf.input:deployment.time.adhoc '' 3] || [tf.input:deployment.result.adhoc '' 5] ||
|| Label 3 || [tf.input:deployment.time.ship '' 3] || [tf.input:deployment.result.ship '' 5] ||
|| Label 4 || [tf.input:deployment.time.test '' 3] || [tf.input:deployment.result.test '' 5] ||
|| Label 5 || [tf.input:deployment.time.test '' 3] || [tf.input:deployment.result.test '' 5] ||
}}}

So, the plugin saves the data of the same id as the list of values (here is the result of the selection with sqlite3):
{{{
sqlite> select * from forms where realm = 'wiki';
1|wiki|TestTracForms||{""deployment.time.note"":""1"",""deployment.result.note"":""blah"",""deployment.result.test"":[""afdsf"",""afdsf""],""deployment.result.adhoc"":""b"",""deployment.time.adhoc"":""2"",""deployment.result.ship"":""yip"",""deployment.time.ship"":""3"",""deployment.time.test"":[""5"",""5""]}|admin|1366001113||
}}}

Here you can see the `""deployment.result.test"":[""afdsf"",""afdsf""]` and `""deployment.time.test"":[""5"",""5""]` values.

As the quick fix, I added two following lines to the macros.py file at line 131:
{{{
        for name, value in json.loads(state or '{}').iteritems():
            if isinstance(value, list):
                value = value[0]
            self.env[name] = _xml_escape(value)
}}}
Please tell me if I'm doing anything wrong or if the problem exists, if there is another way to prevent this from happening (disallow saving forms with same IDs or something like that).

Thanks in advance,

Dmitrii"	sylvix.dh@…
12889	"Have a single ""Submit Forms"" button to trigger updating all TracForms on a page"	enhancement	1.0		new	2016-10-04T01:28:59+02:00	2016-12-02T23:51:54+01:00	"It is of course possible to have [https://trac-hacks.org/wiki/TracFormsPlugin/Expert multiple TracForms per page] by specifying the `subcontext`. But each form has its own submit button, and if you modify two different forms, hitting ""Submit"" on one form will cause the other form to reset. 

Is it possible to have a Submit button that does a submit for ''all'' forms on the page?"	clayton.chu@…
13058	Links that contain fom values don't work	enhancement	0.12		new	2017-01-30T11:11:50+01:00	2017-01-30T11:11:50+01:00	"I would like to generate a link that consists of a given text plus the value of a field.

My background: There are automate test cases in Jenkins, and a release ticket in trac eith several checkboxes for things to be done durin a release. One pont is to run the tests and to reference to the number of the test run in jenkins. Then I would like to generate a link that leads directly to the test result.

This is the relevant part in trac:

{{{
{{{
#!TracForm
#! subcontext integration
[tf.input:itstnum 'num' 4] [https://my.jenkins.net/job/my-tests/[tf.value:itstnum] Test Results]
}}}
}}}

If I enter e.g. number {{{74}}}, it should generate a link:
{{{<a href=""https://my.jenkins.net/job/my-tests/74""><span class=""icon"">​</span>Test Results</a>}}}

But it generates:
{{{<a class=""ext-link"" href=""https://dev0004.int.swisssign.net/jenkins/job/websites.wt/[tf.value:itstnum""><span class=""icon"">​</span>https://dev0004.int.swisssign.net/jenkins/job/websites.wt/</a>}}}

I also tried to use the simpler form {{{https://my.jenkins.net/job/my-tests/[tf.value:itstnum]}}} without the additional square-braces, but it does not work either.

Request:
1. Is there a another way to get what I want?
2. If not, could you improve the parsing?"	marc.waeckerlin@…
