Re: [Trac] example of hooks for new user registration

2011-04-27 Thread David Chase
Our Trac site is being shut down (so look fast! We're migrating to a "company standard") but we did something like this. This is all a little dated, and I like the time or incentive to bring it up to date, but it is not rocket science. http://trac-hacks.org/attachment/ticket/874/acct_mgr_0.11.

Re: [Trac] Fun with SQLite Manager

2011-04-18 Thread David Chase
There's a trac-hack for that: http://trac-hacks.org/wiki/TicketDeletePlugin Apparently incorporated into 0.12, anyway. David On 2011-04-18, at 1:56 PM, David S wrote: > Ok, now that I've finally have two newly created projects working I'd > figure I'd learn on how SQLite Manager works. I've be

Re: [Trac] Keeping spammers out

2011-02-18 Thread David Chase
In answer to my question, I went looking on Trac-hacks.org, found http://trac-hacks.org/wiki/DetailedRssFeedPlugin installed it in my test version of the project, and it seems to work as advertised. Very nice. David > > One persistent problem is that there is no RSS feed on all ticket comme

Re: [Trac] Keeping spammers out

2011-02-18 Thread David Chase
At our site, we do the following: - we're not that high profile - I have an RSS feed on the whole site, I check to see if a change is from a familiar face - we have the Trac TicketDelete plugin, and use it - we have a home-grown CAPTCHA for registration that requires addition of two numbers.

Re: [Trac] mathjax

2010-12-06 Thread David Chase
> Anyone looked into integrating this into trac? Probably not this year, but it seems interesting. Our solution for this (for a new programming language, Fortress, with a Wiki-like syntax) involved post-processing with emacs in batch mode, invoking latex, and ghostscript (obviously, it caches

Re: [Trac] Re: Upgrade trac environment failed

2010-11-30 Thread David Chase
Not sure what you are using for a database, but if you are with the stock sqllite3, it's pretty easy to rsync the whole pile over to a test machine, and experiment and tweak in a low-stress environment. I test upgrades to our site on a Mac laptop, using Trac, Apache, and all the other bits inst

Re: [Trac] 'Spoiler' tag

2010-11-29 Thread David Chase
On 2010-11-29, at 7:35 AM, Сикорский Сергей wrote: > Hi. > > Is there any way to 'fold' some text on a page to one clickable line, like it > 'spoiler' tag does on some sites? > > It would be useful to hide lots of pictures, for example. We have a plugin on our site, that uses a dab of Javascr

Re: [Trac] Trac on OSX

2010-11-16 Thread David Chase
rom a Python script. And MacPorts keeps it all up to date, and it works identically on the two servers (to the best of my ability to tell). So, I very much recommend using MacPorts, and just going with what is the canned install, especially if you are just a few people. David Chase -- You rece

Re: [Trac] Possible to disable html processor?

2010-07-19 Thread David Chase
1:58 PM, David Chase wrote: > {{{ > #!html > ... > }}} > > What we want, is to turn it off completely, unless this would break some > vital function of Trac. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post

[Trac] Possible to disable html processor?

2010-07-19 Thread David Chase
7;m happy to give it a whack myself in my own sandbox and see what happens. Alternately, is it possible to write plugins for the sanitizer, so as to make it much pickier about the html it accepts? David Chase -- You received this message because you are subscribed to the Google Groups "Tr

[Trac] Re: Confused about "PathOption" in a plugin/macro

2009-11-02 Thread David Chase
;, 'attachments','../attachments',"""Path to the directory where attachments are stored. The default setting should work.""") latex=Option('fss', 'latex',

[Trac] Re: Confused about "PathOption" in a plugin/macro

2009-10-30 Thread David Chase
On 2009-10-30, at 4:42 PM, Noah Kantrowitz wrote: > The *Option classes are accessors, you use them in the context of > the class > definition like this: > > class Blah(Component): >latex_path = PathOption('fss', etc etc) > >def my_plugin_function(self, req): >print self.latex_

[Trac] Re: Confused about "PathOption" in a plugin/macro

2009-10-30 Thread David Chase
And the apparent answer is, I am doing it all wrong. config.latexpath=self.config.getpath('fss', 'latexroot') # # Paths to executables config.latex=config.latexpath+'/' + self.config.get ('fss','latex','latex') This was figured out by poking through the trac hacks until I fo

[Trac] Confused about "PathOption" in a plugin/macro

2009-10-30 Thread David Chase
I am working on a macro, attempting to make it be more configured from trac.ini than it originally was. My Python-wrangling abilities are not extensive, so this is probably an obvious mistake. However, I googled and searched my Trac mail, and an answer did not appear, and the examples that

[Trac] Re: Problem installing trac on a Mac

2008-04-02 Thread David Chase
I'll be moving to Leopard real soon now, but I had not too much trouble installing trac from MacPorts. And, I documented my work: http://projectfortress.sun.com/Projects/AboutThisInstallation/wiki/ MacTips Do note, MacPorts can be a little boneheaded about upgrades. I wrote a small program t

[Trac] Re: Bugzilla vs Trac

2007-12-11 Thread David Chase
I'm an expert in neither. That said, I prefer Trac to Bugzilla because: 1) Integration bugs are in the timeline bugs can be referred to in the Wiki, in commit comments, etc. 2) Lightweight and simple. Trac, by default, does not burden bug submitters (or anyone else) with a lot of wha

[Trac] Re: Regarding TRAC Install

2007-11-09 Thread David Chase
especially when I consider the alternatives. yours, David Chase On 2007-11-09, at 5:05 PM, Tyrone Hed wrote: > > Noah, >Thank you for your kind reply. Trac is too difficult to install > on our AIX box. I'm back to square one looking for ALTERNATIVES to > Trac. We wou

[Trac] Re: wysiwyg editor available at http://trac-hacks.org/wiki/TracWysiwygPlugin

2007-11-07 Thread David Chase
Works in Firefox, formatting controls seem buggy in Safari. Button appears in both. On 2007-11-07, at 10:31 AM, Rainer Sokoll wrote: > On Wed, Nov 07, 2007 at 10:29:58AM +0200, Jani Tiainen wrote: > >> I installed it on my 0.10.4, but... It doesn't show up! >> >> It's enabled (I can see that it'

[Trac] Re: No admin tab with WebAdmin

2007-05-15 Thread David Chase
I also had trouble installing WebAdmin, and this is what worked for me: mkdir TracWebAdmin-0.1.2dev_r4240-py2.4.egg cd TracWebAdmin-0.1.2dev_r4240-py2.4.egg unzip ../TracWebAdmin-0.1.2dev_r4240-py2.4.egg.zip cd ../ sudo easy_install TracWebAdmin-0.1.2dev_r4240-py2.4.egg Notice the incredibly che

[Trac] Re: multiple authentication systems

2007-04-27 Thread David Chase
Could you do this with mod_authnz_external? Trac registration comes with the account manager plugin, and you can also direct Apache and Trac to use the same htdigest file, like so (here, I am using Trac's htdigest to identify users to subversion). DAV svn SVNParentPath "/export/home/dc