[Trac] Can Custom query show equivalent TicketQuery macro?
Folks, Is there any way to get the Custom query builder to display the equivalent TicketQuery macro parameters? I thought this used to almost show up in the address but my 0.12 only shows `.../query` in the address bar. If not, does anyone else think this is worth raising as an enhancement ticket? Cheers, ~ mark c -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
RE: [Trac] ISO date format in revision log possible? (Trac 0.11.7)
Quoting Cooke, Mark mark.co...@siemens.com: Have a look at:- http://trac.edgewall.org/ticket/5813 (for tickets) Many thanks, this is indeed a similar issue. This ended as a `wontfix` but has a snippet of template customisation that might work with the revision log (just guessing)... Unfortunately, it's not possible to handle this with a template customisation, if I understand the code correctly. One has to change timeline/web_ui.py instead: --- web_ui.py.orig 2012-01-20 13:29:33.0 +0100 +++ web_ui.py 2012-01-20 13:25:14.0 +0100 @@ -241,7 +241,7 @@ if data: def dateinfo(date): return self.get_timeline_link(req, date, - pretty_timedelta(date), + format_datetime(date), precision='second') data['dateinfo'] = dateinfo return template, data, content_type The good news is, that the all the absolute vs relative date and ISO vs whatever format wars are over with Trac 0.13. The ticket you mentioned contains a link to: http://trac.edgewall.org/demo-0.13/prefs/datetime Bad news for me: I'm in the process of switching to 0.12 soon. Cheers -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Re: Can Custom query show equivalent TicketQuery macro?
On Jan 20, 12:59 pm, Cooke, Mark mark.co...@siemens.com wrote: Is there any way to get the Custom query builder to display the equivalent TicketQuery macro parameters? I thought this used to almost show up in the address but my 0.12 only shows `.../query` in the address bar. It does, only you need to Refresh the query first. For requests to just /query (no query string) we fetch the [query] default_query or default_anonymous_query configuration settings behind the scenes and present that as 'front page'. Any changes you then make will be reflected in the address of the page - and same if you save a custom query as a report and access it later. :::simon -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
RE: [Trac] Re: Can Custom query show equivalent TicketQuery macro?
-Original Message- From: trac-users@googlegroups.com On Behalf Of osimons Sent: 20 January 2012 13:35 To: Trac Users Subject: [Trac] Re: Can Custom query show equivalent TicketQuery macro? On Jan 20, 12:59 pm, Cooke, Mark mark.co...@siemens.com wrote: Is there any way to get the Custom query builder to display the equivalent TicketQuery macro parameters? I thought this used to almost show up in the address but my 0.12 only shows `.../query` in the address bar. It does, only you need to Refresh the query first. For requests to just /query (no query string) we fetch the [query] default_query or default_anonymous_query configuration settings behind the scenes and present that as 'front page'. Any changes you then make will be reflected in the address of the page - and same if you save a custom query as a report and access it later. :::simon Ah, thanks. I checked and thought it was not working until I discovered that Opera (11.50) is hiding the query parameters until I click in the address bar... My bad. ~ mark c -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: TracMercurial not working inside Apache
Hi, I've solved this issue and I thought I'd just say what I did to hopefully save other people some time. It turns out that the solution was to not use the prebuilt binaries, but rather to compile Mercurial on my own system using MingGW. For some reason this results in Apache finding all relevant DLLs (something to do with the manifests created and the paths that Apache searches automatically). On Wed, Nov 23, 2011 at 3:51 PM, Jon Hodgson jonhodgson.devli...@googlemail.com wrote: I've done some further investigating and it seems the problem occurs with the line from mercurial.context import filectx in the hg file in TracMercurial I don't know how to drill down any further inside trac when it is running on apache (I've used trac log messages to get this far) but using process monitor it looks like the culprit is context.pyd and possibly its requirement for MSVCR90.DLL, which isn't found, though confusingly it has been found earlier during starting up apache, in the place where the vs 2008 run time distribution is installed So I tried copying msvcr90.dll, msvcp90.dll and msvcm90.dll to system32, and now according to process monitor it's found after loading osutil.pyd but now rather than getting a failure to load DLL message, I get a hang when I refresh the page I am seriously confused On Nov 21, 5:11 pm, Jon Hodgson jonhodgson.devli...@googlemail.com wrote: This is the second time I'm sending this, since the last one seems to have vanished without a trace, apologies if it now appears twice Ok, I have the following Windows XP Python 2.6.7.20 Trac 0.12.2 Mercurial 1.9.2 TracMercurial-0.12.0.28dev_r10784-py2.6 (built from checked out repository) Now, Mercurial's repo browser works in apache trac works in apache mercurial works in trac using its own server (tracd) but somehow mercurial doesn't work in trac in apache It says Warning: Can't synchronize with repository (default) (Unsupported version control system hg: DLL load failed: The specified module could not be found.). Look in the Trac log for more information. but the log shows no errors Has anyone got any ideas? thanks -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.