Skip to content
Snippets Groups Projects
  1. Jan 28, 2012
  2. Jan 21, 2012
  3. Jan 19, 2012
  4. Jan 18, 2012
  5. Jan 17, 2012
  6. Jan 16, 2012
  7. Jan 12, 2012
  8. Jan 05, 2012
  9. Dec 30, 2011
  10. Dec 28, 2011
  11. Dec 21, 2011
  12. Dec 15, 2011
  13. Dec 05, 2011
  14. Dec 03, 2011
  15. Oct 02, 2011
  16. Oct 01, 2011
    • Mike Bayer's avatar
      install extreme hoops for pkg_resources and I'm starting to wonder if · b19513c8
      Mike Bayer authored
      I really want to do it like this
      b19513c8
    • Mike Bayer's avatar
      pkg_resources hoops · 907a37e7
      Mike Bayer authored
      907a37e7
    • Mike Bayer's avatar
      need this too · a6b60799
      Mike Bayer authored
      a6b60799
    • Mike Bayer's avatar
      branch merge, hooray · 7cba856e
      Mike Bayer authored
      7cba856e
    • Mike Bayer's avatar
      - Template caching has been converted into a plugin · 643701f1
      Mike Bayer authored
        system, whereby the usage of Beaker is just the
        default plugin.   Template and TemplateLookup
        now accept a string "cache_impl" parameter which
        refers to the name of a cache plugin, defaulting
        to the name 'beaker'.  New plugins can be
        registered as pkg_resources entrypoints under
        the group "mako.cache", or registered directly
        using mako.cache.register_plugin().  The
        core plugin is the mako.cache.CacheImpl
        class.
      
      - The <%def>, <%block> and <%page> tags now accept
        any argument named "cache_*", and the key
        minus the "cache_" prefix will be passed as keyword
        arguments to the CacheImpl methods.
      
      - Template and TemplateLookup now accept an argument
        cache_args, which refers to a dictionary containing
        cache parameters.  The cache_dir, cache_url, cache_type,
        cache_timeout arguments are deprecated (will probably
        never be removed, however) and can be passed
        now as cache_args={'url':<some url>, 'type':'memcached',
        'timeout':50, 'dir':'/path/to/some/directory'}
      643701f1
  17. Sep 28, 2011
    • Mike Bayer's avatar
      Added tag rel_0_5_0 for changeset 5cd508ff · bd0fe956
      Mike Bayer authored
      bd0fe956
    • Mike Bayer's avatar
      - A Template is explicitly disallowed · 5cd508ff
      Mike Bayer authored
        from having a url that normalizes to relative outside
        of the root.   That is, if the Lookup is based
        at /home/mytemplates, an include that would place
        the ultimate template at
        /home/mytemplates/../some_other_directory,
        i.e. outside of /home/mytemplates,
        is disallowed.   This usage was never intended
        despite the lack of an explicit check.
        The main issue this causes
        is that module files can be written outside
        of the module root (or raise an error, if file perms aren't
        set up), and can also lead to the same template being
        cached in the lookup under multiple, relative roots.
        TemplateLookup instead has always supported multiple
        file roots for this purpose.
        [ticket:174]
      rel_0_5_0
      5cd508ff
  18. Aug 09, 2011
  19. Aug 05, 2011
  20. Jul 08, 2011
  21. Apr 06, 2011
  22. Mar 22, 2011
Loading