Ignore:
Timestamp:
28 Feb 2012, 10:14:55 (13 years ago)
Author:
uli
Message:

Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)

Location:
main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/debug.ini.in

    r5677 r7713  
    1 # debug.ini
    2 #
    3 # Debugging configuration for use with paster/WSGI
    4 #
    5 
    6 [loggers]
    7 keys = root, wsgi
    8 
    9 [handlers]
    10 keys = console, accesslog
    11 
    12 [formatters]
    13 keys = generic, accesslog
    14 
    15 [formatter_generic]
    16 format = %(asctime)s %(levelname)s [%(name)s] %(message)s
    17 
    18 [formatter_accesslog]
    19 format = %(message)s
    20 
    21 [handler_console]
    22 class = StreamHandler
    23 args = (sys.stderr,)
    24 level = NOTSET
    25 formatter = generic
    26 
    27 [handler_accesslog]
    28 class = FileHandler
    29 args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
    30         'a')
    31 level = INFO
    32 formatter = accesslog
    33 
    34 [logger_root]
    35 level = INFO
    36 handlers = console
    37 
    38 [logger_wsgi]
    39 level = INFO
    40 handlers = accesslog
    41 qualname = wsgi
    42 propagate = 0
    43 
    44 [filter:translogger]
    45 use = egg:Paste#translogger
    46 setup_console_handler = False
    47 logger_name = wsgi
    48 
    49 [filter-app:main]
    50 # Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
    51 # on the console:
    52 use = egg:z3c.evalexception#ajax
    53 next = zope
    54 
    55 [app:zope]
    56 use = egg:waeup.sirp#debug
    57 filter-with = translogger
    58 exempt-exceptions = zope.security.interfaces.IUnauthorized
     1[DEFAULT]
     2zope_conf = %(here)s/zope.conf
    593
    604[server:main]
     
    637port = 8080
    648
    65 [DEFAULT]
    66 # set the name of the zope.conf file
    67 zope_conf = %(here)s/zope.conf
     9[pipeline:main]
     10pipeline = accesslogging evalexception fanstatic grok
     11
     12[filter:accesslogging]
     13use = egg:Paste#translogger
     14
     15[filter:evalexception]
     16use = egg:z3c.evalexception#ajax
     17
     18[filter:fanstatic]
     19use = egg:fanstatic#fanstatic
     20versioning = true
     21recompute_hashes = true
     22
     23[app:grok]
     24use = egg:grokcore.startup#debug
     25exempt-exceptions = zope.security.interfaces.IUnauthorized
     26
     27# Logging configuration
     28
     29[loggers]
     30keys = root
     31
     32[logger_root]
     33level = DEBUG
     34handlers = console
     35
     36[handlers]
     37keys = console
     38
     39[handler_console]
     40class = StreamHandler
     41args = (sys.stderr,)
     42level = DEBUG
     43formatter = generic
     44
     45[formatters]
     46keys = generic
     47
     48[formatter_generic]
     49format = %(asctime)s %(levelname)s [%(name)s] %(message)s
  • main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/deploy.ini.in

    r5677 r7713  
    5555host = 0.0.0.0
    5656port = 8080
     57threadpool_workers = 50
     58use_threadpool = True
    5759
    5860[DEFAULT]
  • main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/site.zcml.in

    r7577 r7713  
    3030      <!-- Replace the following directive if you do not want
    3131           public access -->
    32       <grant permission="zope.app.dublincore.view"
    33              principal="zope.Anybody" />
     32      <!-- grant permission="zope.app.dublincore.view"
     33             principal="zope.Anybody" / -->
    3434      <grant permission="zope.View"
    3535             principal="zope.Authenticated" />
    36       <grant permission="zope.app.dublincore.view"
    37              principal="zope.Authenticated" />
     36      <!-- grant permission="zope.app.dublincore.view"
     37             principal="zope.Authenticated" / -->
    3838      <grant permission="waeup.Public"
    3939             principal="zope.Everybody" />
  • main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/zope.conf.in

    r5495 r7713  
    33
    44<zodb>
     5
     6  #cache-size
     7
     8  # num of concurrent pre-opened ZODB threads; default: 7
     9  pool-size 50
     10
    511  # Standard blob storage
    612  <blobstorage>
     
    2531#    #client zeo1
    2632#  </zeoclient>
     33
     34# Uncomment this if you want to run a ZEO server instead:
     35#  <zeo>
     36#    # required; 'host:port' for TCP/IP, path to a socket file for UDP
     37#    address localhost:8090
     38#
     39#    # optional; 'address' remarks apply
     40#    #monitor-address localhost:8091
     41#
     42#    # optional; keep queue of last N transactions. Speeds up client cache verif.
     43#    #invalidation-queue-size 10
     44#
     45#    # optional; is this a read-only instance? true or false
     46#    #read-only false
     47#
     48#    # optional; seconds to wait for client to commit after acquiring lock
     49#    #transaction-timeout 20
     50#
     51#    # optional; authentication protocol. With ZEO only 'digest' supported
     52#    #authentication-protocol digest
     53#
     54#    # optional; Path of the database containing authentication credentials.
     55#    #authentication-database
     56#
     57#    # optional; the authentication realm of server
     58#    #authentication-realm myrealm
     59#  </zeo>
    2760
    2861</zodb>
Note: See TracChangeset for help on using the changeset viewer.