Changeset 77:113117691b9e
- Timestamp:
- 07/15/11 21:33:51 (2 years ago)
- Author:
- fs
- Branch:
- default
- Message:
-
TracDiscussion captcha plugin 0.1.1: also show captchas for discussions embedded in wiki pages (fixes #32)
- Location:
- contrib/tracdiscussion
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r24
|
r77
|
|
| 3 | 3 | =================================== |
| 4 | 4 | |
| | 5 | 0.1.1 (15.07.2011) |
| | 6 | - also show captchas for discussions embedded in wiki pages (#32) |
| | 7 | |
| | 8 | |
| 5 | 9 | 0.1 (29.06.2010) |
| 6 | 10 | - initial release |
-
|
r19
|
r77
|
|
| 7 | 7 | setuptools.setup( |
| 8 | 8 | name='TracDiscussionCaptcha', |
| 9 | | version='0.1', |
| | 9 | version='0.1.1', |
| 10 | 10 | |
| 11 | 11 | description='Add captchas for the TracDiscussion plugin ', |
-
|
r19
|
r77
|
|
| 48 | 48 | |
| 49 | 49 | def filter_stream(self, req, method, filename, stream, data): |
| 50 | | if filename not in ('topic-add.html', 'message-list.html'): |
| | 50 | if filename not in ('topic-add.html', 'message-list.html', 'wiki-message-list.html'): |
| 51 | 51 | return stream |
| 52 | 52 | transformer = Transformer('//div[@class="buttons"]') |