Changeset 7713
- Timestamp:
- 28 Feb 2012, 10:14:55 (13 years ago)
- Location:
- main/waeup.sirp/branches/ulif-groktoolkit-1.4
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-groktoolkit-1.4/buildout.cfg
r7583 r7713 1 1 [buildout] 2 2 develop = . 3 # #eggbasket 3 4 parts = 4 eggbasket5 5 app 6 6 i18n … … 17 17 coverage-detect 18 18 coverage-report 19 interactive_debugger 19 20 # sirpctl creation must be _after_ app! 20 21 sirpctl … … 26 27 27 28 #extends = versions.cfg 28 extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg 29 extends= http://grok.zope.org/releaseinfo/1.4.1/versions.cfg 30 #extends= http://grok.zope.org/releaseinfo/grok-1.4/versions.cfg 29 31 # eggs will be installed in the default buildout location 30 32 # (see .buildout/default.cfg in your home directory) … … 34 36 35 37 [versions] 38 fanstatic = 0.11.4 36 39 collective.recipe.sphinxbuilder = 0.7.0 37 40 hurry.workflow = 0.11 38 41 # Pinned to circumvent breakage in 0.4.x 39 42 hurry.zoperesource = 0.6 43 zope.fanstatic = 40 44 # Pinned to prevent buildout svn-error. 41 45 lovely.recipe = 1.0.0 42 megrok.layout = 1.0.246 #megrok.layout = 1.0.2 43 47 reportlab = 2.5 44 48 transaction = 1.1.0 45 49 z3c.testsetup = 0.6.1 46 zc.buildout = 1.5.050 #zc.buildout = 1.5.0 47 51 zc.recipe.egg = 1.3.0 48 52 zc.recipe.testrunner = 1.4.0 49 zope.app.testing = 3.8.153 #zope.app.testing = 3.8.1 50 54 # for support of @provider directive 51 zope.interface = 3.6.355 #zope.interface = 3.6.3 52 56 # for support of contextual default values 53 57 zope.schema = 3.8.0 54 zope.testing = 3.10.255 zope.xmlpickle = 3.4.058 #zope.testing = 3.10.2 59 #zope.xmlpickle = 3.4.0 56 60 # Require latest version... 57 61 Sphinx = 1.0.7 … … 188 192 scripts = coveragereport 189 193 arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') 194 195 [interactive_debugger] 196 recipe = z3c.recipe.scripts 197 eggs = waeup.sirp 198 entry-points = 199 interactive_debugger=grokcore.startup.startup:interactive_debug_prompt 200 arguments = zope_conf="${zope_conf:output}" -
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] 2 zope_conf = %(here)s/zope.conf 59 3 60 4 [server:main] … … 63 7 port = 8080 64 8 65 [DEFAULT] 66 # set the name of the zope.conf file 67 zope_conf = %(here)s/zope.conf 9 [pipeline:main] 10 pipeline = accesslogging evalexception fanstatic grok 11 12 [filter:accesslogging] 13 use = egg:Paste#translogger 14 15 [filter:evalexception] 16 use = egg:z3c.evalexception#ajax 17 18 [filter:fanstatic] 19 use = egg:fanstatic#fanstatic 20 versioning = true 21 recompute_hashes = true 22 23 [app:grok] 24 use = egg:grokcore.startup#debug 25 exempt-exceptions = zope.security.interfaces.IUnauthorized 26 27 # Logging configuration 28 29 [loggers] 30 keys = root 31 32 [logger_root] 33 level = DEBUG 34 handlers = console 35 36 [handlers] 37 keys = console 38 39 [handler_console] 40 class = StreamHandler 41 args = (sys.stderr,) 42 level = DEBUG 43 formatter = generic 44 45 [formatters] 46 keys = generic 47 48 [formatter_generic] 49 format = %(asctime)s %(levelname)s [%(name)s] %(message)s -
main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/deploy.ini.in
r5677 r7713 55 55 host = 0.0.0.0 56 56 port = 8080 57 threadpool_workers = 50 58 use_threadpool = True 57 59 58 60 [DEFAULT] -
main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/site.zcml.in
r7577 r7713 30 30 <!-- Replace the following directive if you do not want 31 31 public access --> 32 < grant permission="zope.app.dublincore.view"33 principal="zope.Anybody" / >32 <!-- grant permission="zope.app.dublincore.view" 33 principal="zope.Anybody" / --> 34 34 <grant permission="zope.View" 35 35 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" / --> 38 38 <grant permission="waeup.Public" 39 39 principal="zope.Everybody" /> -
main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/zope.conf.in
r5495 r7713 3 3 4 4 <zodb> 5 6 #cache-size 7 8 # num of concurrent pre-opened ZODB threads; default: 7 9 pool-size 50 10 5 11 # Standard blob storage 6 12 <blobstorage> … … 25 31 # #client zeo1 26 32 # </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> 27 60 28 61 </zodb> -
main/waeup.sirp/branches/ulif-groktoolkit-1.4/setup.py
r7666 r7713 14 14 'hurry.jqueryui', 15 15 'hurry.workflow >= 0.11', 16 'fanstatic', 17 #'zope.fanstatic', 18 'js.jquery_datatables', 16 19 # Add extra requirements here 17 20 'docutils', # For RST-processing... … … 24 27 'reportlab', 25 28 'PIL', 26 'zope.app.authentication', # BBB: During switch to grok 1.1 27 'zope.app.file', 28 'zope.app.testing', # XXX: test_permissions needs this 29 'zope.app.undo', 30 'zope.file', 29 #'zope.app.authentication', # BBB: During switch to grok 1.1 30 'zope.authentication', 31 'zope.pluggableauth', 32 'zope.principalannotation', 33 #'zope.app.file', 34 #'zope.app.testing', # XXX: test_permissions needs this 35 #'zope.app.undo', 36 #'zope.app.zcmlfiles', 37 #'zope.app.wsgi', 38 #'zope.app.appsetup', 39 #'zope.file', 40 'zope.app.schema', # XXX: for registering named vocabs 31 41 'zope.interface >= 3.6.0', 32 42 'zope.testbrowser', # XXX: test_permissions needs this … … 122 132 main = grokcore.startup:application_factory 123 133 debug = grokcore.startup:debug_application_factory 134 [fanstatic.libraries] 135 waeup.sirp = waeup.sirp.browser.resources:waeup_kofa 124 136 125 137 """, -
main/waeup.sirp/branches/ulif-groktoolkit-1.4/src/waeup/sirp/browser/resources.py
r7592 r7713 197 197 #: use of datatables you might want to add some specialized CSS like 198 198 #: `datatable_css` below. 199 datatables = ResourceInclusion(waeup_sirp, 'jquery.dataTables.js', 200 minified='jquery.dataTables.min.js', 201 depends=[jquery]) 199 from js.jquery_datatables import jquery_datatables as datatables 200 from fanstatic import Library, Resource 201 waeup_kofa = Library('waeup_kofa', 'static') 202 #datatables = ResourceInclusion(waeup_sirp, 'jquery.dataTables.js', 203 # minified='jquery.dataTables.min.js', 204 # depends=[jquery]) 202 205 203 206 #: A stylesheet for datatables 204 datatables_css = ResourceInclusion(waeup_sirp, 'datatables.css') 207 #datatables_css = ResourceInclusion(waeup_sirp, 'datatables.css') 208 datatables_css = Resource(waeup_kofa, 'datatables.css') 205 209 206 210 #: A resource that turns HTML tables into sortable, searchable and : … … 251 255 #: for details. 252 256 #: 253 datatable = ResourceInclusion(waeup_sirp, 'datatable.js', 254 depends=[datatables, datatables_css]) 257 #datatable = ResourceInclusion(waeup_sirp, 'datatable.js', 258 # depends=[datatables, datatables_css]) 259 datatable = Resource(waeup_kofa, 'datatable.js', 260 depends=[datatables, datatables_css]) 255 261 256 262 #: Register Twitter's Bootsrap css including dropdown js as a resource.
Note: See TracChangeset for help on using the changeset viewer.