Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 14, 2012
Commits on Aug 8, 2012
Commits on Aug 7, 2012
  1. @evanmiller

    Merge pull request #37 from runejuhl/fix-pgsql-timestamp

    evanmiller authored
    is_float is a lot better than not is_integer...
  2. @runejuhl
Commits on Aug 4, 2012
  1. @evanmiller

    Merge pull request #36 from runejuhl/fix-pgsql-timestamp

    evanmiller authored
    Fix pgsql timestamp
  2. @runejuhl
  3. @runejuhl
  4. @runejuhl
Commits on Aug 3, 2012
  1. @runejuhl
  2. @runejuhl
Commits on Jul 20, 2012
  1. @evanmiller

    Merge pull request #35 from psyeugenic/egil/support-elif

    evanmiller authored
    Support {% elif %} clause in if template tag syntax
  2. @psyeugenic

    Add support for {% elif Expr %} syntax

    psyeugenic authored psyeugenic committed
  3. @psyeugenic

    Add unit tests for {% elif Expr %} syntax

    psyeugenic authored psyeugenic committed
Commits on Jul 18, 2012
  1. @evanmiller

    Merge pull request #27 from garazdawi/regroup_extend

    evanmiller authored
    Allow nested keys in regroup and dictsort
  2. @garazdawi
  3. @garazdawi

    Make dictsort use deep find

    garazdawi authored garazdawi committed
  4. @garazdawi

    Extend the regroup syntax to support nested keys

    garazdawi authored garazdawi committed
    This commit allows the user to use nested regroup keys. ie.
    
        {% regroup builds by host.name as hostname_list %}
Commits on Jun 27, 2012
  1. @evanmiller

    More flexible "_" function

    evanmiller authored
Commits on Jun 8, 2012
  1. @evanmiller

    Merge pull request #30 from bluegraybox/master

    evanmiller authored
    date 'h' format fix
  2. Fixed date formatting for 'h', added tests.

    Colin MacDonald authored
    Removed extra integer_to_list conversion from tag_to_value/3 for $h.
    Added tests for "h", "H", "i", and "Y" to each test case.
Commits on May 11, 2012
  1. Support arbitrary number of arguments to ifchanged

    Evan Miller authored
  2. @evanmiller

    Merge pull request #26 from fauxsoup/master

    evanmiller authored
    Use lists module for erlydtl_runtime:find_value
  3. @fauxsoup
Commits on May 7, 2012
  1. @evanmiller

    Merge pull request #24 from thge/master

    evanmiller authored
    Extended {%ifchanged %} syntax to accept parameters
  2. @thge

    Support {% ifchanged Expression(s) %} like Django does

    thge authored
    Django ifchanged can accept parameters, so it is possible to check for a value
    which does not appear in output. Django documentation says to support one or
    more parameters, this implementation supports up to 4 paramters (only limited
    by the parser expression, this can be improved to support even more
    parameters when needed).
    
    {% for date in list %}
      {% ifchanged date.month %}
         {{ date.month }}:{{ date.day }}
      {% else %}
         {{ date.day }}
      {% endifchanged %}
    {% endfor %}
    
    See erlydtl_unittests for some other examples.
    
    The other (Django) syntax to use {% ifchanged %} without parameter works like before.
Commits on Feb 19, 2012
  1. New compile-time option: custom_filters_modules

    Evan Miller authored
  2. Support for {% regroup %} tag.

    Evan Miller authored
  3. Support for {% ifchanged %} tag

    Evan Miller authored
    The implementation is a bit messy as it uses the process dictionary to
    check for previous values in a loop. But I could not think of a clean
    functional way to support this tag without rewriting the entire
    compiler.
Commits on Feb 18, 2012
  1. {% blocktrans %} no longer uses identifiers

    Evan Miller authored
    Previously {% blocktrans %} blocks required an identifier which would be
    passed as an atom to the blocktrans_fun function passed in at
    compile-time. This behavior was inconsistent with Django. Now identifiers
    are no longer used, and the blocktrans_fun function simply receives the
    block to be translated as a string.
    
    For convenience, compiled modules now have a translated_blocks/0
    function which returns a list of blocks that were translated at
    compile-time. A new helper module called blocktrans_extractor is
    provided for extracting blocktrans blocks prior to compilation.
    
    The implementation may result in some oddities; the translatable blocks
    are actually derived from the abstract syntax tree, so there may
    be whitespace or small syntactic differences between the blocks in
    the source code and the blocks used at translation-time. However,
    the blocktrans_extractor module will return blocks that are exactly
    compatible with the translatable blocks. One side-benefit of this
    appproach is that non-semantic whitespace will always be ignored;
    if two {% blocktrans %} blocks have slight syntactic differences
    but are semantically the same, you only need to provide a single
    translation to cover the two of them.
Commits on Jan 17, 2012
  1. Fix compile_dir

    Evan Miller authored
Commits on Jan 9, 2012
  1. @evanmiller

    Merge pull request #20 from nyaray/master

    evanmiller authored
    truncatechars template filter from django dev.
  2. @nyaray
Commits on Dec 15, 2011
  1. Compile to binaries by default

    Evan Miller authored
Commits on Aug 4, 2011
  1. custom_tags_modules (plural) and reqd applications

    Evan Miller authored
Something went wrong with that request. Please try again.