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.

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

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] 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

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

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 Javascript

Re: [Trac] Trac on OSX

2010-11-16 Thread David Chase
. 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 received this message because you

[Trac] Possible to disable html processor?

2010-07-19 Thread David Chase
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 Trac Users group. To post

Re: [Trac] Possible to disable html processor?

2010-07-19 Thread David Chase
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 to this group, send email to trac-us

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

2009-11-02 Thread David Chase
.) dvipng=Option('fss', 'dvipng', 'dvipng',Name of the dvipng binary.) emacspath=PathOption('fss','emacs', None,Path to the emacs binary.) On 2009-10-30, at 11:38 PM, Noah Kantrowitz wrote: On Oct 30, 2009, at 2:01 PM, David Chase wrote: On 2009-10-30, at 4:42 PM, Noah Kantrowitz wrote

[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: 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

[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_path

[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

[Trac] Re: Regarding TRAC Install

2007-11-09 Thread David Chase
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 would have been hiring for professional services

[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's

[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

[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). Location /svn/ DAV svn SVNParentPath