Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/trac/templates/trac.ini.erb

Issue 5748484741267456: Issue #615 Added anti-spam automation to Trac at issues1. (Closed)
Patch Set: Wrong patch set uploaded accidentially. Created June 3, 2014, 4:33 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/trac/templates/trac.ini.erb
===================================================================
--- a/modules/trac/templates/trac.ini.erb
+++ b/modules/trac/templates/trac.ini.erb
@@ -238,6 +238,19 @@
themeengine.* = enabled
themeengine.admin.CustomThemeAdminModule = disabled
tractags.* = enabled
+tracspamfilter.accountadapter.* = enabled
+tracspamfilter.adapters.TicketFilterAdapter = enabled
+tracspamfilter.admin.BayesAdminPageProvider = enabled
+tracspamfilter.admin.SpamFilterAdminPageProvider = enabled
+tracspamfilter.admin.StatisticsAdminPageProvider = enabled
+tracspamfilter.filters.bayes.* = enabled
+tracspamfilter.filters.ip_regex.* = enabled
+tracspamfilter.filters.ip_throttle.* = enabled
+tracspamfilter.filters.regex.* = enabled
+tracspamfilter.filters.registration.* = enabled
+tracspamfilter.filters.trapfield.* = enabled
+tracspamfilter.filtersystem.* = enabled
+
[tickettemplate]
field_list = summary, description, reporter, owner, priority, cc, milestone, component, version, type
@@ -260,6 +273,7 @@
user_lock_time_progression = 2
username_regexp = .
verify_email = true
+register_check = BasicCheck, EmailCheck, RegExpCheck, UsernamePermCheck, RegistrationFilterAdapter
[blackmagic]
permissions = TICKET_SET_PRIORITY, TICKET_CREATE_CC, TICKET_EDIT_KEYWORDS,TICKET_SET_OWNER, TICKET_SET_MILESTONE, TICKET_DEPENDENCY
@@ -312,3 +326,7 @@
[theme]
enable_css = true
+
+[spam-filter]
+max_posts_by_ip = 50
+bayes_min_training = 10
« no previous file with comments | « modules/trac/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld