id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
8961	[PATCH] improve option / default handling, introduce two more options	bof	ChrisNelson	This is an enhancement patch I just cooked up. It provides for the following:\r\n\r\n * the builtin defaults for all macro arguments (except query arguments), can now\r\n   be changed in trac.ini, like this:\r\n{{{\r\n[trac-jsgantt]\r\noption.openLevel = 0\r\n}}}\r\n * all these options, when representing integer values, are type converted, whether\r\n   coming from trac.ini or macro instantiations. A suitable python conversion error\r\n   is shown, instead of just not displaying the JS at all (e.g. {{{res=xxx}}} now\r\n   shows an error.)\r\n * a new option (trac.ini or macro argument) '''openClosedTickets''',\r\n   defaulting to 1, can be set to 0 to make parent tickets with\r\n   status ''closed'', initially show as collapsed, regardless of openLevel setting.\r\n * a new option (trac.ini or macro argument) '''userMap''', defaulting to 1,\r\n   can be set to 0 to avoid the conversion of login (ticket owner) names to\r\n   full / real names in the ''Resource'' display column.[[BR]]\r\n   Setting '''userMap=0''' makes ''Resource'' show the login names.[[BR]]\r\n   In particular, not doing this conversion, avoids the internal call\r\n   to self.env.get_known_users(), which could be pretty expensive when you\r\n   have a huge list of users.\r\n\r\n   \r\n	enhancement	closed	normal	TracJsGanttPlugin	normal	fixed		rjollos	0.11
