Ignore:
Timestamp:
22 Feb 2014, 20:12:28 (11 years ago)
Author:
uli
Message:

Merge changes from henrik-diazo-themed.

Location:
main/kofacustom.ekodisco/trunk
Files:
6 deleted
17 edited
15 copied

Legend:

Unmodified
Added
Removed
  • main/kofacustom.ekodisco/trunk

  • main/kofacustom.ekodisco/trunk/CHANGES.txt

    r11192 r11278  
    22*******
    33
    4 0.2dev (unreleased)
     41.0dev (unreleased)
    55===================
    66
    7 No changes yet.
     7* Diazofied whole package.
    88
    99
  • main/kofacustom.ekodisco/trunk/buildout-zeo.cfg

    r10770 r11278  
    1313    site_zcml
    1414    zdaemon_conf
    15     deploy_ini
    16     debug_ini
     15    raw_deploy_ini
     16    raw_debug_ini
     17    themed_deploy_ini
     18    themed_debug_ini
    1719    profile_ini
    1820    zeo1_ini
     
    2325# kofactl creation must be _after_ app!
    2426    kofactl
     27    lxml
     28    diazo
    2529# For backward compatibility, telling buildout not to throw away
    2630# the data and log subdirectories from the parts directory.
     
    9397[zeo1_ini]
    9498recipe = collective.recipe.template
    95 input = etc/zeo1.ini.in
    96 output = ${buildout:parts-directory}/etc/zeo1.ini
     99input = etc/themed/zeo1.ini.in
     100output = ${buildout:parts-directory}/etc/themed-zeo1.ini
    97101
    98102[zeo2_ini]
    99103recipe = collective.recipe.template
    100 input = etc/zeo2.ini.in
    101 output = ${buildout:parts-directory}/etc/zeo2.ini
     104input = etc/themed/zeo2.ini.in
     105output = ${buildout:parts-directory}/etc/themed-zeo2.ini
    102106
    103107[zeo1_conf]
     
    115119# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    116120recipe = zc.recipe.egg
    117 eggs = kofacustom.ekodisco [beaker]
     121eggs = kofacustom.ekodisco [beaker, diazo]
    118122arguments = "${buildout:parts-directory}/etc/zeo1.conf"
    119123scripts = kofactl=zeo_client1
     
    122126# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    123127recipe = zc.recipe.egg
    124 eggs = kofacustom.ekodisco [beaker]
     128eggs = kofacustom.ekodisco [beaker, diazo]
    125129arguments = "${buildout:parts-directory}/etc/zeo2.conf"
    126130scripts = kofactl=zeo_client2
  • main/kofacustom.ekodisco/trunk/buildout.cfg

    r11188 r11278  
    1818    site_zcml
    1919    zdaemon_conf
    20     deploy_ini
    21     debug_ini
     20    raw_deploy_ini
     21    raw_debug_ini
     22    themed_deploy_ini
     23    themed_debug_ini
    2224    profile_ini
    2325    waeupdocs
     
    2628# kofactl creation must be _after_ app!
    2729    kofactl
     30    lxml
     31    diazo
    2832# For backward compatibility, telling buildout not to throw away
    2933# the data and log subdirectories from the parts directory.
     
    4145
    4246[sources]
    43 waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/branches/0.2
    44 kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/branches/0.x
     47waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/branches/uli-diazo-themed
     48kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
    4549
    4650[kofa_params]
     
    5054# default is 8080
    5155base_port = 7091
     56
     57zeo1_port = 7091
     58zeo2_port = 7092
     59# zeo3_port = 7093
     60server_port = 7090
    5261
    5362# default 7. Number of pre-opened ZODB threads/client
     
    5968# number of preopened paster threads, default 10
    6069threadpool_workers = 10
     70devel_pkg = kofacustom.ekodisco
    6171
    6272[app]
    6373# This creates all scripts in bin/. The kofactl created here is 'faulty'.
    6474recipe = zc.recipe.egg
    65 eggs = kofacustom.ekodisco [beaker]
     75eggs = kofacustom.ekodisco [beaker, diazo]
    6676       z3c.evalexception>=2.0
    6777       Paste
     
    7787# fixed path to zdaemon.conf as argument.
    7888recipe = zc.recipe.egg
    79 eggs = kofacustom.ekodisco [beaker]
     89eggs = kofacustom.ekodisco [beaker, diazo]
    8090arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
    8191scripts = kofactl=kofactl
     
    143153output = ${buildout:parts-directory}/etc/zdaemon.conf
    144154
    145 [deploy_ini]
    146 recipe = collective.recipe.template
    147 input = etc/deploy.ini.in
    148 output = ${buildout:parts-directory}/etc/deploy.ini
    149 
    150 [debug_ini]
    151 recipe = collective.recipe.template
    152 input = etc/debug.ini.in
    153 output = ${buildout:parts-directory}/etc/debug.ini
     155[raw_debug_ini]
     156recipe = collective.recipe.template
     157input = etc/raw/debug.ini.in
     158output = ${buildout:parts-directory}/etc/raw-debug.ini
     159
     160[raw_deploy_ini]
     161recipe = collective.recipe.template
     162input = etc/raw/deploy.ini.in
     163output = ${buildout:parts-directory}/etc/raw-deploy.ini
     164
     165[themed_debug_ini]
     166recipe = collective.recipe.template
     167input = etc/themed/debug.ini.in
     168output = ${buildout:parts-directory}/etc/themed-debug.ini
     169
     170[themed_deploy_ini]
     171recipe = collective.recipe.template
     172input = etc/themed/deploy.ini.in
     173output = ${buildout:parts-directory}/etc/themed-deploy.ini
    154174
    155175[profile_ini]
     
    183203scripts = coveragereport
    184204arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
     205
     206[lxml]
     207recipe = z3c.recipe.staticlxml
     208egg = lxml
     209
     210[diazo]
     211recipe = zc.recipe.egg
     212eggs =
     213    diazo [wsgi]
     214    PasteScript
     215    kofacustom.ekodisco [beaker, diazo]
  • main/kofacustom.ekodisco/trunk/docs/build

    • Property svn:ignore set to
      *
  • main/kofacustom.ekodisco/trunk/etc/zdaemon.conf.in

    r10770 r11278  
    11<runner>
    2   program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/deploy.ini
     2  program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/themed-deploy.ini
    33  daemon on
    44  transcript ${zope_conf:logfiles}/zdaemon.log
  • main/kofacustom.ekodisco/trunk/etc/zeo1.conf.in

    r10770 r11278  
    11<runner>
    2   program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo1.pid ${buildout:directory}/parts/etc/zeo1.ini
     2  program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo1.pid ${buildout:directory}/parts/etc/themed-zeo1.ini
    33  daemon on
    44  transcript ${zope_conf:logfiles}/zdaemon-zeo1.log
    55  socket-name ${zope_conf:logfiles}/zeo1.sock
    66  # Enable this to run the child process as a different user
    7   user kofa
     7  # user kofa
    88</runner>
  • main/kofacustom.ekodisco/trunk/etc/zeo2.conf.in

    r10770 r11278  
    11<runner>
    2   program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/zeo2.ini
     2  program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/themed-zeo2.ini
    33  daemon on
    44  transcript ${zope_conf:logfiles}/zdaemon-zeo2.log
    55  socket-name ${zope_conf:logfiles}/zeo2.sock
    66  # Enable this to run the child process as a different user
    7   user kofa
     7  # user kofa
    88</runner>
  • main/kofacustom.ekodisco/trunk/etc/zope_zeo1.conf.in

    r10770 r11278  
    2424# Uncomment this if you want to connect to a ZEO server instead:
    2525  <zeoclient>
    26     server localhost:7010
     26    server localhost:7090
    2727    storage 1
    2828    # ZEO client cache, in bytes
     
    6363<zodb async>
    6464  <zeoclient>
    65     server localhost:7010
     65    server localhost:7090
    6666    storage async
    6767    name async
  • main/kofacustom.ekodisco/trunk/etc/zope_zeo2.conf.in

    r10770 r11278  
    2424# Uncomment this if you want to connect to a ZEO server instead:
    2525  <zeoclient>
    26     server localhost:7010
     26    server localhost:7090
    2727    storage 1
    2828    # ZEO client cache, in bytes
     
    6363<zodb async>
    6464  <zeoclient>
    65     server localhost:7010
     65    server localhost:7090
    6666    storage async
    6767    name async
  • main/kofacustom.ekodisco/trunk/setup.py

    r11192 r11278  
    22from setuptools import setup, find_packages
    33
    4 version = '0.2dev'
     4version = '1.0dev'
    55
    66install_requires = [
     
    99    'grokui.admin',
    1010    'grokcore.startup',
    11     'waeup.kofa < 1.0',
    12     'kofacustom.nigeria < 1.0',
     11    'waeup.kofa >= 1.0',
     12    'kofacustom.nigeria >= 1.0',
    1313    ],
    1414
     
    2121    'dolmen.beaker',
    2222    ]
     23
     24diazo_require = [
     25    'diazo',
     26    'webob',
     27]
    2328
    2429tests_require = [
     
    8691        docs = docs_require,
    8792        beaker = beaker_require,
     93        diazo = diazo_require,
    8894        ),
    8995      entry_points="""
    9096      # Add entry points here
    91       [hurry.resource.libraries]
    92       waeup_custom = kofacustom.ekodisco.browser.resources:waeup_custom
    9397      [console_scripts]
    9498      kofa-debug = grokcore.startup:interactive_debug_prompt
  • main/kofacustom.ekodisco/trunk/src

    • Property svn:ignore set to
      kofacustom.ekodisco.egg-info
  • main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/browser/tests.py

    r10770 r11278  
    4949        shutil.rmtree(self.dc_root)
    5050
    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('...EkoDisco 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
    59 
    6051    def test_access_live_url(self):
    6152        # We can't access the system with basic authentication
  • main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/interswitch/browser_templates/applicant_goto_interswitch.pt

    r10770 r11278  
    7272  <span tal:replace="structure view/xml_data"></span>
    7373
    74   <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
     74  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
     75
     76  <br /><br />
     77
     78  <img src="/static/img/interswitch_verve_mastercard.gif" />
    7579
    7680</form>
  • main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/interswitch/browser_templates/student_goto_interswitch.pt

    r10770 r11278  
    7272  <span tal:replace="structure view/xml_data"></span>
    7373
    74   <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
     74  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
     75
     76  <br /><br />
     77
     78  <img src="/static/img/interswitch_verve_mastercard.gif" />
    7579
    7680</form>
  • main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/students/browser_templates/studycoursepage.pt

    r10804 r11278  
    11<table class="form-table" i18n:domain="waeup.kofa">
    2   <thead>
    3   </thead>
    42  <tbody>
    53    <tal:block repeat="widget view/widgets">
  • main/kofacustom.ekodisco/trunk/versions.cfg

    r10770 r11278  
    128128# zc.recipe.testrunner==2.0.0
    129129zope.testrunner = 4.3.3
     130
     131# Added by buildout at 2014-02-21 10:04:01.964204
     132WebOb = 1.3.1
     133diazo = 1.0.5
     134repoze.xmliter = 0.5
     135z3c.recipe.staticlxml = 0.10
     136
     137# Required by:
     138# diazo==1.0.5
     139experimental.cssselect = 0.3
     140
     141# Required by:
     142# diazo==1.0.5
     143# experimental.cssselect==0.3
     144lxml = 3.3.1
     145
     146# Required by:
     147# z3c.recipe.staticlxml==0.10
     148zc.recipe.cmmi = 1.3.5
     149
     150# Added by buildout at 2014-02-21 10:08:16.811630
     151zc.zodbrecipes = 2.0.0
Note: See TracChangeset for help on using the changeset viewer.