Changeset 5329

Show
Ignore:
Timestamp:
09/01/08 03:29:22 (4 months ago)
Author:
carndt
Message:

Require MochiKit? version 1.4 by default in TG 1.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/turbogears/qstemplates/quickstart/+package+/config/app.cfg_tmpl

    r5175 r5329  
    1717tg.defaultview = "genshi" 
    1818 
    19 # The following genshi settings determine the settings used by the genshi serializer. 
     19# The following Genshi settings determine the settings used by the Genshi 
     20# serializer. 
    2021 
    2122# One of (html|html-strict|html-transitional|xhtml|xhtml-strict|html5|json) 
     
    4445# Kid output method (e.g. html, html-strict, xhtml, xhtml-strict, xml, json) 
    4546# and formatting (e.g. default, straight, compact, newlines, wrap, nice) 
    46 # kid.outputformat="html default" 
    47  
    48 # kid.encoding="utf-8" 
     47# kid.outputformat = "html default" 
     48 
     49# kid.encoding = "utf-8" 
    4950 
    5051# The sitetemplate is used for overall styling of a site that 
    5152# includes multiple TurboGears applications 
    52 # tg.sitetemplate="<packagename.templates.templatename>" 
     53# tg.sitetemplate = "<packagename.templates.templatename>" 
    5354 
    5455# Allow every exposed function to be called as json, 
    5556# tg.allow_json = False 
    5657 
    57 # Control how MochiKit is loaded using tgMochiKit: 
     58# Control how MochiKit is loaded using tgMochiKit. 
     59# See http://docs.turbogears.org/tgMochiKit for more information. 
    5860# tg_mochikit.packed = False 
    59 # tg_mochikit.version = '1.3.1' 
    6061# tg_mochikit.xhtml = False 
     62# TurboGears 1.1 needs MochiKit >= 1.4 for all JS-enhanced widgets to work 
     63# correctly. Don't change the following setting unless you know what you are 
     64# doing! 
     65tg_mochikit.version = '1.4' 
    6166 
    6267# List of Widgets to include on every page. 
    63 # for example ['turbogears.mochikit'] 
    6468# tg.include_widgets = [] 
     69# For example to include the MochiKit library provided by TurboGears+tgMochiKit: 
     70# tg.include_widgets = ['turbogears.mochikit'] 
    6571 
    6672# Set to True if the scheduler should be started 
     
    8894 
    8995# Enable Visit tracking 
    90 visit.on=True 
     96visit.on = True 
    9197 
    9298# Number of minutes a visit may be idle before it expires. 
    93 # visit.timeout=20 
     99# visit.timeout = 20 
    94100 
    95101# Where to look for the key of an existing visit in the request and in which 
    96102# order. Comma-separated list of possible values: 'cookie', 'form'. 
    97103# By default only use visit key in session cookie. 
    98 # visit.source="cookie" 
     104# visit.source = "cookie" 
    99105 
    100106# The name of the cookie to transmit to the visitor's browser. 
    101 # visit.cookie.name="tg-visit" 
     107# visit.cookie.name = "tg-visit" 
    102108 
    103109# The name of the request parameter with the session key (for when 
    104110# 'visit.source' includes 'form'). Name MUST NOT contain dashes or dots! 
    105 # visit.form.name="tg_visit" 
     111# visit.form.name = "tg_visit" 
    106112 
    107113# Domain name to specify when setting the cookie (must begin with . according to 
     
    109115# the machine to which the request was made. NOTE: localhost is NEVER a valid 
    110116# value and will NOT WORK. 
    111 # visit.cookie.domain=None 
     117# visit.cookie.domain = None 
    112118 
    113119# Specific path for the cookie 
    114 # visit.cookie.path="/" 
     120# visit.cookie.path = "/" 
    115121 
    116122# The name of the VisitManager plugin to use for visitor tracking. 
    117 visit.manager="${identity}" 
     123visit.manager = "${identity}" 
    118124 
    119125#if $identity == "sqlobject" 
     
    132138 
    133139# Switch to turn on or off the Identity management module 
    134 identity.on=True 
     140identity.on = True 
    135141 
    136142# [REQUIRED] URL to which CherryPy will internally redirect when an access 
    137143# control check fails. If Identity management is turned on, a value for this 
    138144# option must be specified. 
    139 identity.failure_url="/login" 
     145identity.failure_url = "/login" 
    140146 
    141147# If force_external_redirect is set to True, then the identity 
     
    143149# This is mainly used to make sure that if you use 
    144150# an https:// url in the failure_url, this will be respected. 
    145 identity.force_external_redirect=False 
     151identity.force_external_redirect = False 
    146152 
    147153#if $identity=='sqlobject' 
    148 # identity.provider='${identity}' 
     154# identity.provider = '${identity}' 
    149155#else 
    150 identity.provider='${identity}' 
     156identity.provider = '${identity}' 
    151157#end if 
    152158 
     
    155161# existence may be stripped out prior to passing the form data to the target 
    156162# controller. 
    157 # identity.form.user_name="user_name" 
    158 # identity.form.password="password" 
    159 # identity.form.submit="login" 
     163# identity.form.user_name = "user_name" 
     164# identity.form.password = "password" 
     165# identity.form.submit = "login" 
    160166 
    161167# What sources should the identity provider consider when determining the 
    162168# identity associated with a request? Comma separated list of identity sources. 
    163169# Valid sources: form, visit, http_auth 
    164 # identity.source="form,http_auth,visit" 
     170# identity.source = "form,http_auth,visit" 
    165171 
    166172#if $identity=='sqlobject' 
     
    172178# SQL keywords for class names (at least unless you specify a different table 
    173179# name using sqlmeta). 
    174 identity.soprovider.model.user="${package}.model.User" 
    175 identity.soprovider.model.group="${package}.model.Group" 
    176 identity.soprovider.model.permission="${package}.model.Permission" 
     180identity.soprovider.model.user = "${package}.model.User" 
     181identity.soprovider.model.group = "${package}.model.Group" 
     182identity.soprovider.model.permission = "${package}.model.Permission" 
    177183 
    178184# The password encryption algorithm used when comparing passwords against what's 
     
    187193# use (in situations where identity may not yet be running, like tests). 
    188194 
    189 # identity.soprovider.encryption_algorithm=None 
     195# identity.soprovider.encryption_algorithm = None 
    190196#else 
    191197# SqlAlchemyIdentityProvider 
     
    196202# SQL keywords for class names (at least unless you specify a different table 
    197203# name using sqlmeta). 
    198 identity.saprovider.model.user="${package}.model.User" 
    199 identity.saprovider.model.group="${package}.model.Group" 
    200 identity.saprovider.model.permission="${package}.model.Permission" 
     204identity.saprovider.model.user = "${package}.model.User" 
     205identity.saprovider.model.group = "${package}.model.Group" 
     206identity.saprovider.model.permission = "${package}.model.Permission" 
    201207 
    202208# The password encryption algorithm used when comparing passwords against what's 
     
    211217# use (in situations where identity may not yet be running, like tests). 
    212218 
    213 # identity.saprovider.encryption_algorithm=None 
     219# identity.saprovider.encryption_algorithm = None 
    214220#end if 
    215221#end if