Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2260 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

[PATCH] Using your own visit provider without modifying turbogears files

Reported by: nic.bellamy Owned by: Chris Arndt
Priority: normal Milestone: 1.1
Component: TurboGears Version: 1.1 HEAD
Severity: minor Keywords: custom visit provider


This is exactly the same idea as ticket #1178 but applied to Visit providers instead of Identity providers.

Currently, to use a custom Visit provider, you have to fiddle around with setup entry points.

This patch allows you to set visit.manager to a class name, and have it used directly, eg.

# The name of the VisitManager class or plugin to use for visitor tracking.


turbogears-1.0.8-custom-visit-provider.patch Download (1.1 KB) - added by nic.bellamy 10 years ago.

Change History

Changed 10 years ago by nic.bellamy

comment:1 Changed 10 years ago by chrisz

  • Version changed from 1.0 HEAD to 1.1 HEAD

1.0 is in feature freeze, but we may consider this for 1.1.

comment:2 Changed 10 years ago by chrisz

  • Milestone changed from 1.0.x bugfix to 1.1.x bugfix

comment:3 Changed 10 years ago by Chris Arndt

  • Status changed from new to assigned
  • Owner set to Chris Arndt
  • Milestone changed from 1.1.x bugfix to 1.1

comment:4 Changed 10 years ago by Chris Arndt

  • Status changed from assigned to closed
  • Resolution set to fixed

Implemented in r6651 in slightly altered form complete with tests.

Note: See TracTickets for help on using tickets.