[Trac] Help in development of trac macro building links

2017-08-08 Thread Riedel, Torge
Hi, I'm developing a trac macro to make it easier for wiki editors to add links to an external tool. In Wiki-Markup they can then use a macro: [[MyLink(my_value)]] to have a link in trac style on their wiki page to the external tool. The format of the link is similar to this: myschema://myse

[Trac] Re: ticket-workflow-notifications

2017-08-08 Thread mickeyf
I appears that the plug-in has loaded with no error reported, however, I am getting not notifications. I would next suspect an error in my configuration, but I have copied the example of the ini file entry directly from the wiki, changing only the recipients to a valid email, and then later to

Re: [Trac] Help in development of trac macro building links

2017-08-08 Thread Peter Suter
Hi, On 08.08.2017 14:19, Riedel, Torge wrote: Hi, I’m developing a trac macro to make it easier for wiki editors to add links to an external tool. In Wiki-Markup they can then use a macro: [[MyLink(my_value)]] to have a link in trac style on their wiki page to the external tool. The form

Re: [Trac] Help in development of trac macro building links

2017-08-08 Thread RjOllos
On Tuesday, August 8, 2017 at 11:14:25 AM UTC-7, Peter Suter wrote: > > A slightly simpler version: > > from trac.wiki.macros import WikiMacroBase > from trac.wiki.formatter import format_to_html > > > class MyLinkMacro(WikiMacroBase): > def expand_macro(self, formatter, name, text, args)

Re: [Trac] How does the non-local GIT repository be added to the source browser

2017-08-08 Thread Mingxing Tian
在 2017年8月8日星期二 UTC+8下午12:22:45,Jun Omae写道: > > On Tue, Aug 8, 2017 at 11:52 AM, Mingxing Tian > wrote: > > This is the log information I see: > > > > 2017-08-08 10:49:17,339 Trac[PyGIT] ERROR: GIT control files missing in > '/home/git/repositories/testing.git' > > 2017-08-08 10:49:17,339 Tr

[Trac] Introduce the warehouse synchronization documents need to be updated

2017-08-08 Thread Mingxing Tian
I follow the following document configuration each time you push to the Git repository, insert a change record to the corresponding task order. http://trac.idouzi.com/wiki/TracRepositoryAdmin#Git In my warehouse hooks do not see the "hooks/post-commit" file, only the following files. [root@hos

Re: [Trac] Help in development of trac macro building links

2017-08-08 Thread Peter Suter
On 09.08.2017 00:25, RjOllos wrote: On Tuesday, August 8, 2017 at 11:14:25 AM UTC-7, Peter Suter wrote: A slightly simpler version: return format_to_html(self.env, formatter.context, the_link) Seems like it would be a good idea to change the example code to use format_to_html, as in

[Trac] Re: ticket-workflow-notifications

2017-08-08 Thread RjOllos
On Tuesday, August 8, 2017 at 8:45:25 AM UTC-7, mickeyf wrote: > > I appears that the plug-in has loaded with no error reported, however, I > am getting not notifications. I would next suspect an error in my > configuration, but I have copied the example of the ini file entry directly > from t

[Trac] AccountManager plugin - kudos

2017-08-08 Thread Mike Dewhirst
Just installed AccountManagerPlugin and it works perfectly. Thank you. Respect Mike -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googl