Changeset 11109 for main


Ignore:
Timestamp:
17 Feb 2014, 15:46:03 (11 years ago)
Author:
Henrik Bettermann
Message:

Diazofy skeleton package. waeup.skeleton is deprecated and will be removed soon.

Location:
main/kofacustom.skeleton/branches/henrik-diazo-themed
Files:
4 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/branches/henrik-diazo-themed

    • Property svn:ignore
      •  

        old new  
        55develop-eggs
        66parts
         7sources
        78var
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/CHANGES.txt

    r10765 r11109  
    11Changes
    22*******
     31.0 (unreleased)
     4================
     5
     6* Diazofied whole package.
     7
    38
    490.2 (unreleased)
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/buildout-zeo.cfg

    r10765 r11109  
    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.
     
    115119# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    116120recipe = zc.recipe.egg
    117 eggs = kofacustom.skeleton [beaker]
     121eggs = kofacustom.skeleton [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.skeleton [beaker]
     128eggs = kofacustom.skeleton [beaker, diazo]
    125129arguments = "${buildout:parts-directory}/etc/zeo2.conf"
    126130scripts = kofactl=zeo_client2
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/buildout.cfg

    r10765 r11109  
    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/trunk
     47waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/branches/uli-diazo-themed
    4448kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/trunk
    4549
     
    6367# number of preopened paster threads, default 10
    6468threadpool_workers = 10
     69devel_pkg = kofacustom.skeleton
    6570
    6671[app]
    6772# This creates all scripts in bin/. The kofactl created here is 'faulty'.
    6873recipe = zc.recipe.egg
    69 eggs = kofacustom.skeleton [beaker]
     74eggs = kofacustom.skeleton [beaker, diazo]
    7075       z3c.evalexception>=2.0
    7176       Paste
     
    8186# fixed path to zdaemon.conf as argument.
    8287recipe = zc.recipe.egg
    83 eggs = kofacustom.skeleton [beaker]
     88eggs = kofacustom.skeleton [beaker, diazo]
    8489arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
    8590scripts = kofactl=kofactl
     
    147152output = ${buildout:parts-directory}/etc/zdaemon.conf
    148153
    149 [deploy_ini]
    150 recipe = collective.recipe.template
    151 input = etc/deploy.ini.in
    152 output = ${buildout:parts-directory}/etc/deploy.ini
    153 
    154 [debug_ini]
    155 recipe = collective.recipe.template
    156 input = etc/debug.ini.in
    157 output = ${buildout:parts-directory}/etc/debug.ini
     154[raw_debug_ini]
     155recipe = collective.recipe.template
     156input = etc/raw/debug.ini.in
     157output = ${buildout:parts-directory}/etc/raw-debug.ini
     158
     159[raw_deploy_ini]
     160recipe = collective.recipe.template
     161input = etc/raw/deploy.ini.in
     162output = ${buildout:parts-directory}/etc/raw-deploy.ini
     163
     164[themed_debug_ini]
     165recipe = collective.recipe.template
     166input = etc/themed/debug.ini.in
     167output = ${buildout:parts-directory}/etc/themed-debug.ini
     168
     169[themed_deploy_ini]
     170recipe = collective.recipe.template
     171input = etc/themed/deploy.ini.in
     172output = ${buildout:parts-directory}/etc/themed-deploy.ini
    158173
    159174[profile_ini]
     
    187202scripts = coveragereport
    188203arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
     204
     205[lxml]
     206recipe = z3c.recipe.staticlxml
     207egg = lxml
     208
     209[diazo]
     210recipe = zc.recipe.egg
     211eggs =
     212    diazo [wsgi]
     213    PasteScript
     214    kofacustom.skeleton [beaker, diazo]
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/docs/build

    • Property svn:ignore set to
      Makefile
      make.bat
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/etc/zdaemon.conf.in

    r10765 r11109  
    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.skeleton/branches/henrik-diazo-themed/setup.py

    r10765 r11109  
    22from setuptools import setup, find_packages
    33
    4 version = '0.1dev'
     4version = '1.0dev'
    55
    66install_requires = [
     
    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.skeleton.browser.resources:waeup_custom
    9397      [console_scripts]
    9498      kofa-debug = grokcore.startup:interactive_debug_prompt
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/browser/tests.py

    r10765 r11109  
    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('...Skeleton 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.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/interswitch/browser_templates/applicant_goto_interswitch.pt

    r10765 r11109  
    7171  <input type="hidden" name="payment_params" value="college_split" />
    7272  <span tal:replace="structure view/xml_data"></span>
     73  <br />
    7374
    74   <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
     75  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
    7576
    7677</form>
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/interswitch/browser_templates/student_goto_interswitch.pt

    r10765 r11109  
    7171  <input type="hidden" name="payment_params" value="college_split" />
    7272  <span tal:replace="structure view/xml_data"></span>
     73  <br />
    7374
    74   <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
     75  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
    7576
    7677</form>
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/src/kofacustom/skeleton/interswitch/tests.py

    r10765 r11109  
    1717##
    1818import os
     19from datetime import datetime, date, timedelta
    1920from zope.component import createObject, getUtility
    2021from zope.catalog.interfaces import ICatalog
     
    172173    def setUp(self):
    173174        super(InterswitchTestsApplicants, self).setUp()
     175        configuration = SessionConfiguration()
     176        configuration.academic_session = datetime.now().year - 2
     177        self.app['configuration'].addSessionConfiguration(configuration)
     178        self.configuration = configuration
    174179        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    175180        self.browser.open(self.manage_path)
  • main/kofacustom.skeleton/branches/henrik-diazo-themed/versions.cfg

    r10765 r11109  
    128128# zc.recipe.testrunner==2.0.0
    129129zope.testrunner = 4.3.3
     130
     131# Added by buildout at 2014-02-17 16:26:51.455299
     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
Note: See TracChangeset for help on using the changeset viewer.