Skip to content
This repository
branch: plugins

Mar 18, 2013

  1. Doug Latornell

    Add dongrui to contributors list re: #23.

    authored March 17, 2013
  2. Doug Latornell

    Drop pytest from development requirements list.

    authored March 17, 2013
  3. Doug Latornell

    Update prod & dev requirements files to versions used in development.

    authored March 17, 2013

Mar 15, 2013

  1. Doug Latornell

    Add Python 3.3 to list of versions that we test against.

    authored March 15, 2013

Dec 24, 2012

  1. Doug Latornell

    Update changelog re: EngimaCurry/blogofile_blog#5 & #140.

    authored December 23, 2012
  2. Doug Latornell

    Merge pull request #140 from ncw/plugins

    Add allow_reuse_address to server stop occasional "Address already in use" errors
    authored December 23, 2012

Dec 21, 2012

  1. Nick Craig-Wood

    Add allow_reuse_address to server stop occasional "Address already in…

    … use" errors
    authored December 21, 2012

Nov 22, 2012

  1. Doug Latornell

    Merge pull request #137 from zsoldosp/patch-1

    better error messages for undefined variables in mako templates
    authored November 22, 2012

Nov 17, 2012

  1. Doug Latornell

    Add a unit test for site_path_helper().

    authored November 17, 2012
  2. Doug Latornell

    Make test method names more concise.

    authored November 17, 2012

Nov 16, 2012

  1. Doug Latornell

    Don't track Sublime Text 2 editor project & workspace files.

    authored November 15, 2012
  2. Doug Latornell

    Add trailing_slash arg re: EnigmaCurry/blogofile_blog#5

    authored November 15, 2012

Nov 14, 2012

  1. Peter Zsoldos

    better error messages for undefined variables in mako templates

    The following template (mako_undefined.html.mako)
    <%
        mistyeped_variable = 'some value'
    %>
    Hello, this is the mistyped_variable value ${mistyped_variable}
    --- EOF ---
    
    
    
    
    In non strict mode produces a similar error
    
    
    
    
    Traceback (most recent call last):
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\blogofile-0.8b1-py2.7.egg\blogofile\template.py", line 157, in render
        rendered = self.mako_template.render(**self)
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\template.py", line 412, in render
        return runtime._render(self, self.callable_, args, data)
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 766, in _render
        **_kwargs_for_callable(callable_, data))
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 798, in _render_context
        _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 824, in _exec_template
        callable_(context, *args, **kwargs)
      File "memory:0x2d9da30", line 4, in render_body
        Hello, this is the mistyped_variable value ${mistyped_variable}
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 194, in __str__
        raise NameError("Undefined")
    NameError: Undefined
    
    
    
    
    After adding strict_undefined=True, the error message is the following, which is more useful IMO:
    
    
    
    
    Traceback (most recent call last):
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\blogofile-0.8b1-py2.7.egg\blogofile\template.py", line 159, in render
        rendered = self.mako_template.render(**self)
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\template.py", line 412, in render
        return runtime._render(self, self.callable_, args, data)
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 766, in _render
        **_kwargs_for_callable(callable_, data))
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 798, in _render_context
        _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
      File "c:\lib\Python\2.7.1-x86\lib\site-packages\mako-0.7.2-py2.7.egg\mako\runtime.py", line 824, in _exec_template
        callable_(context, *args, **kwargs)
      File "memory:0x2c70250", line 1, in render_body
        <%
    NameError: 'mistyped_variable' is not defined
    
    
    
    
    
    
    
    
    --- DISCLAIMERS --
    * This commit was made via the github web interface
    * I've tested it locally using the installed the 0.81b version, not github HEAD
    ** even then, I have not tested the second line of modification, only the first 
    ** eventually I get around to setting up a blogofile development environment though
    * Nonetheless, I thought in this case a pull requests might be easier than to open an issue and wait for someone (me) to eventually fix it
    authored November 14, 2012

Nov 12, 2012

  1. Doug Latornell

    Add another contributor's name.

    authored November 12, 2012

Nov 08, 2012

  1. Doug Latornell

    Update contributors list.

    authored November 07, 2012
  2. Doug Latornell

    Let Mako/Jinja2 read templates & deal with encoding; re: #134 & #135.

    authored November 07, 2012

Nov 05, 2012

  1. Doug Latornell

    Remove version pinning as much as possible.

    textile is still pinned to textile==2.1.4-p3k for Python 3.
    authored November 05, 2012

Oct 14, 2012

  1. Doug Latornell

    Add docs placeholder for migration to 0.8.

    authored October 13, 2012

Oct 13, 2012

  1. Doug Latornell

    Add reminder about how to publish to blogofile.com.

    authored October 13, 2012
  2. Doug Latornell

    Cleanup

    authored October 13, 2012
  3. Doug Latornell

    Fix typo.

    authored October 13, 2012
  4. Doug Latornell

    Add developers section to docs.

    authored October 13, 2012

Oct 08, 2012

  1. Doug Latornell

    Update top-of-docs note re: 0.7.1 and 0.8; latter is now stable release.

    authored October 08, 2012
  2. Doug Latornell

    Add Makefile for building and link-checking docs.

    authored October 08, 2012
  3. Doug Latornell

    Prep for 0.8b1 release.

    authored October 08, 2012

Sep 19, 2012

  1. Doug Latornell

    Use Sphinx graphviz extension to render build process flowchart.

    authored September 18, 2012

Sep 06, 2012

  1. Doug Latornell

    Fix typos re: EnigmaCurry/blogofile.com#6.

    authored September 05, 2012
  2. Doug Latornell

    Refactor PluginTools and add more tests.

    authored September 05, 2012

Sep 05, 2012

  1. Doug Latornell

    Change constructor arg to module object; improve testability. Add uni…

    …t tests.
    authored September 04, 2012
  2. Doug Latornell

    Add note re: fix of template lookup order issue.

    authored September 04, 2012

Sep 03, 2012

  1. Doug Latornell

    Delete commented out import.

    authored September 03, 2012

Sep 02, 2012

  1. Doug Latornell

    Fix template lookup order re: emigmacurry/blogofile_blog#13

    Thanks to Ravikiran Rajagopal for help sorting out this issue.
    authored September 02, 2012

Aug 31, 2012

  1. Doug Latornell

    Add a couple more contributor's names.

    authored August 31, 2012
  2. Doug Latornell

    Update change log.

    authored August 31, 2012

Aug 30, 2012

  1. Doug Latornell

    Add project contributors list.

    authored August 30, 2012
Something went wrong with that request. Please try again.