accounts2/fas/fas/config __init__.py, NONE, 1.1 app.cfg, NONE, 1.1 log.cfg, NONE, 1.1
Michael Patrick McGrath (mmcgrath)
fedora-extras-commits at redhat.com
Mon Mar 26 15:11:19 UTC 2007
- Previous message (by thread): accounts2/fas/fas/static/css/static/images favicon.ico, NONE, 1.1 header-icon_account.png, NONE, 1.1 header_inner.png, NONE, 1.1 hr.png, NONE, 1.1 icon_tool-item.png, NONE, 1.1 icon_warning.png, NONE, 1.1 info.png, NONE, 1.1 ok.png, NONE, 1.1 status_approved.png, NONE, 1.1 status_incomplete.png, NONE, 1.1 status_rejected.png, NONE, 1.1 tg_under_the_hood.png, NONE, 1.1 under_the_hood_blue.png, NONE, 1.1
- Next message (by thread): accounts2/fas/fas/static/images favicon.ico, NONE, 1.1 header-icon_account.png, NONE, 1.1 header_inner.png, NONE, 1.1 hr.png, NONE, 1.1 icon_tool-item.png, NONE, 1.1 icon_warning.png, NONE, 1.1 info.png, NONE, 1.1 ok.png, NONE, 1.1 status_approved.png, NONE, 1.1 status_incomplete.png, NONE, 1.1 status_rejected.png, NONE, 1.1 tg_under_the_hood.png, NONE, 1.1 under_the_hood_blue.png, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmcgrath
Update of /cvs/fedora/accounts2/fas/fas/config
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26831/fas/fas/config
Added Files:
__init__.py app.cfg log.cfg
Log Message:
added tg fas2 code
--- NEW FILE __init__.py ---
--- NEW FILE app.cfg ---
[global]
# The settings in this file should not vary depending on the deployment
# environment. dev.cfg and prod.cfg are the locations for
# the different deployment settings. Settings in this file will
# be overridden by settings in those other files.
# The commented out values below are the defaults
# VIEW
# which view (template engine) to use if one is not specified in the
# template name
# tg.defaultview = "kid"
# The following kid settings determine the settings used by the kid serializer.
# One of (html|html-strict|xhtml|xhtml-strict|xml|json)
# kid.outputformat="html"
# kid.encoding="utf-8"
# The sitetemplate is used for overall styling of a site that
# includes multiple TurboGears applications
# tg.sitetemplate="<packagename.templates.templatename>"
# Allow every exposed function to be called as json,
# tg.allow_json = False
# List of Widgets to include on every page.
# for exemple ['turbogears.mochikit']
# tg.include_widgets = []
# Set to True if the scheduler should be started
# tg.scheduler = False
# VISIT TRACKING
# Each visit to your application will be assigned a unique visit ID tracked via
# a cookie sent to the visitor's browser.
# --------------
# Enable Visit tracking
visit.on=True
# Number of minutes a visit may be idle before it expires.
visit.timeout=20
# The name of the cookie to transmit to the visitor's browser.
# visit.cookie.name="tg-visit"
# Domain name to specify when setting the cookie (must begin with . according to
# RFC 2109). The default (None) should work for most cases and will default to
# the machine to which the request was made. NOTE: localhost is NEVER a valid
# value and will NOT WORK.
# visit.cookie.domain=None
# Specific path for the cookie
# visit.cookie.path="/"
# The name of the VisitManager plugin to use for visitor tracking.
visit.manager="safas"
#visit.manager="sqlobject"
# Database class to use for visit tracking
visit.saprovider.model = "fedora.accounts.tgfas.Visit"
#visit.soprovider.model = "fas.model.Visit"
identity.saprovider.model.visit="fedora.accounts.tgfas2.VisitIdentity"
sqlalchemy.dburi='sqlite://'
# IDENTITY
# General configuration of the TurboGears Identity management module
# --------
# Switch to turn on or off the Identity management module
identity.on=True
# [REQUIRED] URL to which CherryPy will internally redirect when an access
# control check fails. If Identity management is turned on, a value for this
# option must be specified.
identity.failure_url="/login"
identity.provider='safas2'
# identity.provider='sqlobject'
# The names of the fields on the login form containing the visitor's user ID
# and password. In addition, the submit button is specified simply so its
# existence may be stripped out prior to passing the form data to the target
# controller.
# identity.form.user_name="user_name"
# identity.form.password="password"
# identity.form.submit="login"
# What sources should the identity provider consider when determining the
# identity associated with a request? Comma separated list of identity sources.
# Valid sources: form, visit, http_auth
# identity.source="form,http_auth,visit"
# SqlObjectIdentityProvider
# Configuration options for the default IdentityProvider
# -------------------------
# The classes you wish to use for your Identity model. Remember to not use reserved
# SQL keywords for class names (at least unless you specify a different table
# name using sqlmeta).
#identity.soprovider.model.user="fas.model.User"
#identity.soprovider.model.group="fas.model.Group"
#identity.soprovider.model.permission="fas.model.Permission"
#identity.soprovider.model.autocreate="True"
# The password encryption algorithm used when comparing passwords against what's
# stored in the database. Valid values are 'md5' or 'sha1'. If you do not
# specify an encryption algorithm, passwords are expected to be clear text.
# The SqlObjectProvider *will* encrypt passwords supplied as part of your login
# form. If you set the password through the password property, like:
# my_user.password = 'secret'
# the password will be encrypted in the database, provided identity is up and
# running, or you have loaded the configuration specifying what encryption to
# use (in situations where identity may not yet be running, like tests).
# identity.soprovider.encryption_algorithm=None
# compress the data sends to the web browser
# [/]
# gzip_filter.on = True
# gzip_filter.mime_types = ["application/x-javascript", "text/javascript", "text/html", "text/css", "text/plain"]
[/static]
static_filter.on = True
static_filter.dir = "%(top_level_dir)s/static"
[/favicon.ico]
static_filter.on = True
static_filter.file = "%(top_level_dir)s/static/images/favicon.ico"
--- NEW FILE log.cfg ---
# LOGGING
# Logging is often deployment specific, but some handlers and
# formatters can be defined here.
[logging]
[[formatters]]
[[[message_only]]]
format='*(message)s'
[[[full_content]]]
format='*(asctime)s *(name)s *(levelname)s *(message)s'
[[handlers]]
[[[debug_out]]]
class='StreamHandler'
level='DEBUG'
args='(sys.stdout,)'
formatter='full_content'
[[[access_out]]]
class='StreamHandler'
level='INFO'
args='(sys.stdout,)'
formatter='message_only'
[[[error_out]]]
class='StreamHandler'
level='ERROR'
args='(sys.stdout,)'
- Previous message (by thread): accounts2/fas/fas/static/css/static/images favicon.ico, NONE, 1.1 header-icon_account.png, NONE, 1.1 header_inner.png, NONE, 1.1 hr.png, NONE, 1.1 icon_tool-item.png, NONE, 1.1 icon_warning.png, NONE, 1.1 info.png, NONE, 1.1 ok.png, NONE, 1.1 status_approved.png, NONE, 1.1 status_incomplete.png, NONE, 1.1 status_rejected.png, NONE, 1.1 tg_under_the_hood.png, NONE, 1.1 under_the_hood_blue.png, NONE, 1.1
- Next message (by thread): accounts2/fas/fas/static/images favicon.ico, NONE, 1.1 header-icon_account.png, NONE, 1.1 header_inner.png, NONE, 1.1 hr.png, NONE, 1.1 icon_tool-item.png, NONE, 1.1 icon_warning.png, NONE, 1.1 info.png, NONE, 1.1 ok.png, NONE, 1.1 status_approved.png, NONE, 1.1 status_incomplete.png, NONE, 1.1 status_rejected.png, NONE, 1.1 tg_under_the_hood.png, NONE, 1.1 under_the_hood_blue.png, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list