Differences between revisions 19 and 20
Revision 19 as of 2013-03-18 13:44:00
Size: 2254
Comment:
Revision 20 as of 2013-06-29 21:42:23
Size: 1102
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
|| [[http://packages.qa.debian.org/t/trac.html|trac]] ||<#79ff79> 1.0.1 ||[[http://anonscm.debian.org/gitweb/?p=users/matthias-guest/pkg-trac.git|pgk-trac.git (git.debian.org)]]|| ||
Line 6: Line 5:
|| [[http://packages.qa.debian.org/t/trac-mercurial.html|trac-mercurial]] ||<#79ff79> 1.0.0.3 || [[http://anonscm.debian.org/gitweb/?p=users/matthias-guest/pkg-trac-mercurial.git | pkg-trac-mercurial.git (git.debian.org)]]|| || || [[http://packages.qa.debian.org/t/trac-mercurial.html|trac-mercurial]] ||<#79ff79> 1.0.0.3 || [[http://anonscm.debian.org/gitweb/?p=collab-maint/trac-mercurial.git | pkg-trac-mercurial.git (git.debian.org)]]|| ||
Line 16: Line 15:

Possible improvements:

fontconfig for font filename lookup: package python-fontconfig and use something like this code:

{{{
fonts = fontconfig.query(family='DejaVu', lang='en')
fonts = [font.file for font in fonts]
}}}

fontconfig-aware rendering: use pango instead of PIL for text rendering, there are some examples [[http://stackoverflow.com/questions/5414639/python-imaging-library-text-rendering|here]].


Hi Paul, after reading around i'am not sure if using fontconfig brings an improvement. The path in the source code [[https://github.com/mattthias/pkg-trac-spamfilter/blob/master/tracspamfilter/captcha/image.py#L41|image.py]] )is only the default to write in the trac.ini (captcha_image_fonts = ....). When the trac admin adds more font files in the "Spam Filtering: Captcha handling" admin page this value in trac.ini will be overwritten. Best wishes, Matthias (Should we disscuss via e-mail or is it ok to use this wiki page?)

This is the link dump for all activity regarding the packaging of trac version 1.0.x and some plugins.

Package

version

temporary scm

comment

trac-spamfilter

0.7.3

pkg-trac-spamfilter (Github)

trac-mercurial

1.0.0.3

pkg-trac-mercurial.git (git.debian.org)

trac-bzr

Spamfilter method

comment

Expression Captcha

(./)

Image Captcha

(./) (with this patch)

Regular Expressions

(./)

Regular Expressions for IP

(./)

Akismet

(./) (tested with Spam response example)