Changeset 11303 for main/waeup.kwarapoly/trunk
- Timestamp:
- 22 Feb 2014, 21:00:38 (11 years ago)
- Location:
- main/waeup.kwarapoly/trunk
- Files:
-
- 7 deleted
- 13 edited
- 15 copied
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk
- Property svn:ignore
-
old new 5 5 develop-eggs 6 6 parts 7 sources 7 8 var
-
- Property svn:mergeinfo changed
/main/waeup.kwarapoly/branches/henrik-diazo-themed (added) merged: 11135-11136,11145,11148
- Property svn:ignore
-
main/waeup.kwarapoly/trunk/buildout-zeo.cfg
r9884 r11303 13 13 site_zcml 14 14 zdaemon_conf 15 deploy_ini 16 debug_ini 15 raw_deploy_ini 16 raw_debug_ini 17 themed_deploy_ini 18 themed_debug_ini 17 19 profile_ini 18 20 zeo1_ini … … 23 25 # kofactl creation must be _after_ app! 24 26 kofactl 27 lxml 28 diazo 25 29 # For backward compatibility, telling buildout not to throw away 26 30 # the data and log subdirectories from the parts directory. … … 44 48 address ${kofa_params:server_port} 45 49 </zeo> 46 47 50 <blobstorage 1> 48 51 blob-dir ${zope_conf:blobstorage} … … 51 54 </filestorage> 52 55 </blobstorage> 53 54 56 <filestorage async> 55 57 path ${zope_conf:filestorage}/Data.async.fs 56 58 </filestorage> 57 58 59 <eventlog> 59 60 # This sets up logging to a file. … … 96 97 [zeo1_ini] 97 98 recipe = collective.recipe.template 98 input = etc/ zeo1.ini.in99 output = ${buildout:parts-directory}/etc/ zeo1.ini99 input = etc/themed/zeo1.ini.in 100 output = ${buildout:parts-directory}/etc/themed-zeo1.ini 100 101 101 102 [zeo2_ini] 102 103 recipe = collective.recipe.template 103 input = etc/ zeo2.ini.in104 output = ${buildout:parts-directory}/etc/ zeo2.ini104 input = etc/themed/zeo2.ini.in 105 output = ${buildout:parts-directory}/etc/themed-zeo2.ini 105 106 106 107 [zeo1_conf] … … 118 119 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 119 120 recipe = zc.recipe.egg 120 eggs = waeup.kwarapoly [beaker ]121 eggs = waeup.kwarapoly [beaker, diazo] 121 122 arguments = "${buildout:parts-directory}/etc/zeo1.conf" 122 123 scripts = kofactl=zeo_client1 … … 125 126 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 126 127 recipe = zc.recipe.egg 127 eggs = waeup.kwarapoly [beaker ]128 eggs = waeup.kwarapoly [beaker, diazo] 128 129 arguments = "${buildout:parts-directory}/etc/zeo2.conf" 129 130 scripts = kofactl=zeo_client2 -
main/waeup.kwarapoly/trunk/buildout.cfg
r11223 r11303 18 18 site_zcml 19 19 zdaemon_conf 20 deploy_ini 21 debug_ini 20 raw_deploy_ini 21 raw_debug_ini 22 themed_deploy_ini 23 themed_debug_ini 22 24 profile_ini 23 25 waeupdocs … … 26 28 # kofactl creation must be _after_ app! 27 29 kofactl 30 lxml 31 diazo 28 32 # For backward compatibility, telling buildout not to throw away 29 33 # the data and log subdirectories from the parts directory. … … 41 45 42 46 [sources] 43 waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/ tags/0.2.144 kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/t ags/0.147 waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/branches/uli-diazo-themed 48 kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk 45 49 46 50 [kofa_params] … … 52 56 zeo1_port = 7051 53 57 zeo2_port = 7052 54 zeo3_port = 705358 # zeo3_port = 7053 55 59 server_port = 7050 56 60 # default 7. Number of pre-opened ZODB threads/client … … 62 66 # number of preopened paster threads, default 10 63 67 threadpool_workers = 10 68 devel_pkg = waeup.kwarapoly 64 69 65 70 [app] 66 71 # This creates all scripts in bin/. The kofactl created here is 'faulty'. 67 72 recipe = zc.recipe.egg 68 eggs = waeup.kwarapoly [beaker ]73 eggs = waeup.kwarapoly [beaker, diazo] 69 74 z3c.evalexception>=2.0 70 75 Paste … … 80 85 # fixed path to zdaemon.conf as argument. 81 86 recipe = zc.recipe.egg 82 eggs = waeup.kwarapoly [beaker ]87 eggs = waeup.kwarapoly [beaker, diazo] 83 88 arguments = "${buildout:parts-directory}/etc/zdaemon.conf" 84 89 scripts = kofactl=kofactl … … 146 151 output = ${buildout:parts-directory}/etc/zdaemon.conf 147 152 148 [deploy_ini] 149 recipe = collective.recipe.template 150 input = etc/deploy.ini.in 151 output = ${buildout:parts-directory}/etc/deploy.ini 152 153 [debug_ini] 154 recipe = collective.recipe.template 155 input = etc/debug.ini.in 156 output = ${buildout:parts-directory}/etc/debug.ini 153 [raw_debug_ini] 154 recipe = collective.recipe.template 155 input = etc/raw/debug.ini.in 156 output = ${buildout:parts-directory}/etc/raw-debug.ini 157 158 [raw_deploy_ini] 159 recipe = collective.recipe.template 160 input = etc/raw/deploy.ini.in 161 output = ${buildout:parts-directory}/etc/raw-deploy.ini 162 163 [themed_debug_ini] 164 recipe = collective.recipe.template 165 input = etc/themed/debug.ini.in 166 output = ${buildout:parts-directory}/etc/themed-debug.ini 167 168 [themed_deploy_ini] 169 recipe = collective.recipe.template 170 input = etc/themed/deploy.ini.in 171 output = ${buildout:parts-directory}/etc/themed-deploy.ini 157 172 158 173 [profile_ini] … … 186 201 scripts = coveragereport 187 202 arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') 203 204 [lxml] 205 recipe = z3c.recipe.staticlxml 206 egg = lxml 207 208 [diazo] 209 recipe = zc.recipe.egg 210 eggs = 211 diazo [wsgi] 212 PasteScript 213 waeup.kwarapoly [beaker, diazo] -
main/waeup.kwarapoly/trunk/etc/zdaemon.conf.in
r8469 r11303 1 1 <runner> 2 program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/ deploy.ini2 program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/themed-deploy.ini 3 3 daemon on 4 4 transcript ${zope_conf:logfiles}/zdaemon.log -
main/waeup.kwarapoly/trunk/etc/zeo1.conf.in
r8470 r11303 1 1 <runner> 2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo1.pid ${buildout:directory}/parts/etc/ zeo1.ini2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo1.pid ${buildout:directory}/parts/etc/themed-zeo1.ini 3 3 daemon on 4 4 transcript ${zope_conf:logfiles}/zdaemon-zeo1.log 5 5 socket-name ${zope_conf:logfiles}/zeo1.sock 6 6 # Enable this to run the child process as a different user 7 user kofa7 # user kofa 8 8 </runner> -
main/waeup.kwarapoly/trunk/etc/zeo2.conf.in
r8470 r11303 1 1 <runner> 2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/ zeo2.ini2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/themed-zeo2.ini 3 3 daemon on 4 4 transcript ${zope_conf:logfiles}/zdaemon-zeo2.log 5 5 socket-name ${zope_conf:logfiles}/zeo2.sock 6 6 # Enable this to run the child process as a different user 7 user kofa7 # user kofa 8 8 </runner> -
main/waeup.kwarapoly/trunk/setup.py
r11228 r11303 2 2 from setuptools import setup, find_packages 3 3 4 version = ' 0.1.1dev'4 version = '1.0dev' 5 5 6 6 install_requires =[ … … 9 9 'grokui.admin', 10 10 'grokcore.startup', 11 'waeup.kofa ',12 'kofacustom.nigeria ',11 'waeup.kofa >= 1.0', 12 'kofacustom.nigeria >= 1.0', 13 13 ], 14 14 … … 21 21 'dolmen.beaker', 22 22 ] 23 24 diazo_require = [ 25 'diazo', 26 'webob', 27 ] 23 28 24 29 tests_require = [ … … 86 91 docs = docs_require, 87 92 beaker = beaker_require, 93 diazo = diazo_require, 88 94 ), 89 95 entry_points=""" 90 # Add entry points here91 [hurry.resource.libraries]92 waeup_custom = waeup.kwarapoly.browser.resources:waeup_custom93 96 [console_scripts] 94 97 kofa-debug = grokcore.startup:interactive_debug_prompt -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Property svn:mergeinfo changed
/main/waeup.kwarapoly/branches/henrik-diazo-themed/src/waeup/kwarapoly (added) merged: 11135-11136,11145
- Property svn:mergeinfo changed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/browser/tests.py
r9347 r11303 48 48 clearSite() 49 49 shutil.rmtree(self.dc_root) 50 51 def test_custom_theme(self):52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')53 self.browser.open('http://localhost/app/configuration')54 self.assertMatches('...KwaraPoly Theme...', self.browser.contents)55 self.browser.getControl(name="form.skin").value = ['custom theme']56 self.browser.getControl("Save").click()57 self.browser.open('http://localhost/app/configuration')58 return -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py
r10844 r11303 52 52 #URL = '/test_paydirect/services/TransactionQueryWs.asmx' 53 53 httplib.HTTPConnection.debuglevel = 0 54 55 def interswitch_img_url(view):56 static = view.static57 if static is None or static.get(58 'interswitch_verve_mastercard.gif', None) is None:59 static = queryAdapter(60 view.request, Interface, name='waeup.kwarapoly.interswitch')61 return static['interswitch_verve_mastercard.gif']()62 54 63 55 class InterswitchPageStudent(KofaPage): -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser_templates/applicant_goto_interswitch.pt
r10131 r11303 8 8 9 9 <table class="form-table" i18n:domain="waeup.kofa"> 10 <thead>11 </thead>12 10 <tbody> 13 11 <tr> … … 72 70 <input type="hidden" name="payment_params" value="college_split" /> 73 71 <span tal:replace="structure view/xml_data"></span> 74 75 <input type="submit" class="btn " tal:attributes="value view/submit_button"/>72 <br /> 73 <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/> 76 74 77 75 <br /><br /> 78 76 79 <img tal:attributes="src view/interswitch_img_url" />77 <img src="/static/img/interswitch_verve_mastercard.gif" /> 80 78 81 79 </form> -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser_templates/student_goto_interswitch.pt
r9996 r11303 8 8 9 9 <table class="form-table" i18n:domain="waeup.kofa"> 10 <thead>11 </thead>12 10 <tbody> 13 11 <tr> … … 72 70 <input type="hidden" name="payment_params" value="college_split" /> 73 71 <span tal:replace="structure view/xml_data"></span> 74 75 <input type="submit" class="btn " tal:attributes="value view/submit_button"/>72 <br /> 73 <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/> 76 74 77 75 <br /><br /> 78 76 79 <img tal:attributes="src view/interswitch_img_url" />77 <img src="/static/img/interswitch_verve_mastercard.gif" /> 80 78 81 79 </form> -
main/waeup.kwarapoly/trunk/versions.cfg
r11224 r11303 7 7 8 8 [versions] 9 waeup.kofa = 0.2.110 kofacustom.nigeria = 0.111 9 collective.recipe.sphinxbuilder = 0.7.0 12 10 hurry.workflow = 0.11 … … 132 130 zope.testrunner = 4.3.3 133 131 134 # Added by buildout at 2014-02-22 14:34:16.353181 132 # Added by buildout at 2014-02-20 11:46:38.584637 133 WebOb = 1.3.1 134 diazo = 1.0.5 135 repoze.xmliter = 0.5 136 z3c.recipe.staticlxml = 0.10 137 138 # Required by: 139 # diazo==1.0.5 140 experimental.cssselect = 0.3 141 142 # Required by: 143 # diazo==1.0.5 144 # experimental.cssselect==0.3 145 lxml = 3.3.1 146 147 # Required by: 148 # z3c.recipe.staticlxml==0.10 149 zc.recipe.cmmi = 1.3.5 150 151 # Added by buildout at 2014-02-21 08:32:23.099922 135 152 zc.zodbrecipes = 2.0.0
Note: See TracChangeset for help on using the changeset viewer.