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
