Ignore:
Timestamp:
29 Nov 2022, 15:09:46 (2 years ago)
Author:
uli
Message:

Upgrade beaker and dependencies.

The old version of beaker we used was using outdated cryptolibs that do not work on more recent operating systems. This upgrade introduces a new ZCML snippet in ftesting.zcml and site.zcml which replaces the former beaker.py submodule. Therefore this change is not backwards compatible and you must run buildout again to generate a new site.zcml (or at least change it manually).

Location:
main/waeup.kofa/branches/uli-upgrade-beaker/src/waeup/kofa
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-upgrade-beaker/src/waeup/kofa/ftesting.zcml

    r9855 r17179  
    11<configure
    22   xmlns="http://namespaces.zope.org/zope"
     3   xmlns:browser="http://namespaces.zope.org/browser"
    34   xmlns:kofa="http://namespaces.waeup.org/kofa"
    45   i18n_domain="waeup.kofa"
     
    7071  <grant role="zope.Manager" principal="zope.mgr" />
    7172
     73   <!-- session -->
     74   <browser:beakerSession
     75        key="waeup.kofa.session.id"
     76        secret="KofaRocks"
     77        timeout="3600"
     78        type="cookie"
     79        validate_key="thisMightBeChanged"
     80        />
     81
    7282</configure>
  • main/waeup.kofa/branches/uli-upgrade-beaker/src/waeup/kofa/tests/test_beaker.py

    r12110 r17179  
    2020        session = ISession(request)
    2121        self.assertTrue(session.__module__.startswith('dolmen.beaker'))
     22        self.assertTrue(session.get("_path", None) is not None)
    2223        return
Note: See TracChangeset for help on using the changeset viewer.