Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add test case for cross-module inheritance | Dirkjan Ochtman | 2017-12-25 | 1 | -0/+29 | |
| | ||||||
* | Apply suggestions from rustfmt to improve style | Dirkjan Ochtman | 2017-11-21 | 7 | -29/+32 | |
| | ||||||
* | Support matching custom enums | Anthony Nowell | 2017-11-02 | 2 | -0/+27 | |
| | ||||||
* | Make match ref/deref as needed | Anthony Nowell | 2017-11-02 | 2 | -0/+33 | |
| | | | | | Much of this can be yanked out and made simpler when match-modes lands in stable | |||||
* | support literals in match arms | Anthony Nowell | 2017-11-02 | 3 | -6/+36 | |
| | ||||||
* | implement basic match functionality | Anthony Nowell | 2017-11-02 | 2 | -0/+24 | |
| | ||||||
* | Make empty string literals work | Dirkjan Ochtman | 2017-10-22 | 1 | -2/+2 | |
| | ||||||
* | Add support for array literals (fixes #59) | Dirkjan Ochtman | 2017-10-20 | 1 | -0/+11 | |
| | ||||||
* | Add scope when importing macros | Lars Erik Rosengren | 2017-10-15 | 1 | -2/+2 | |
| | ||||||
* | Add test for path expressions (see #56) | Dirkjan Ochtman | 2017-10-04 | 1 | -0/+18 | |
| | ||||||
* | Fix whitespace handling for macros and imports (#55) | larros | 2017-10-01 | 3 | -7/+17 | |
| | | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments | |||||
* | Add support for importing template files with macros (#51) | larros | 2017-09-26 | 2 | -0/+14 | |
| | | | | * Fix review comments for macro imports | |||||
* | Add support for tuple indexing in templates | Lars Erik Rosengren | 2017-09-10 | 2 | -0/+13 | |
| | ||||||
* | Extend escaping according to OWASP recommendations | Dirkjan Ochtman | 2017-09-07 | 1 | -3/+4 | |
| | ||||||
* | Move JSON test into filters test module | Dirkjan Ochtman | 2017-09-07 | 2 | -28/+31 | |
| | ||||||
* | Move escaping tests into a separate module | Dirkjan Ochtman | 2017-09-07 | 1 | -52/+0 | |
| | ||||||
* | Add test case for inferred escape mode | Dirkjan Ochtman | 2017-09-07 | 1 | -0/+13 | |
| | ||||||
* | Make ext attribute mandatory for source-specified templates | Dirkjan Ochtman | 2017-09-07 | 3 | -5/+5 | |
| | ||||||
* | Add some tests for escaping functionality | Dirkjan Ochtman | 2017-09-05 | 1 | -0/+39 | |
| | ||||||
* | Moved precedence test into operators module | Dirkjan Ochtman | 2017-09-04 | 2 | -15/+11 | |
| | ||||||
* | Changed implementation of precedence rules | Lars Erik Rosengren | 2017-09-03 | 2 | -0/+22 | |
| | | | | | | | | | | | | | | This implementation resolves djc/askama#44 by changing the precedence implementation. The previous solution was very slow because it had to try to parse all combinations of precedence layers leading to 2^9 iterations for each expr_any. This is solved by reusing the left operand instead of reparsing it when the operator isn't found. This implementation also solves another related issue that expressions with multiple operators couldn't be parsed, for example {{1 * 2 * 3}}. This is handled by using expr_any for the right operand instead of only using higher level precedence layers. | |||||
* | Add `join` filter & tests for it | defyrlt | 2017-09-02 | 2 | -0/+26 | |
| | ||||||
* | Add test for parent default block implementations | Bastien Orivel | 2017-08-25 | 2 | -2/+3 | |
| | ||||||
* | Simplify Rocket test slightly | Dirkjan Ochtman | 2017-08-24 | 1 | -1/+1 | |
| | ||||||
* | Allow {% block name %} {% endblock name %} | Bastien Orivel | 2017-08-24 | 1 | -1/+1 | |
| | | | | This makes converting an app from tera to askama easier. | |||||
* | Add test case for user-defined filters | Dirkjan Ochtman | 2017-08-24 | 1 | -0/+19 | |
| | ||||||
* | Clean up order in Cargo manifests | Dirkjan Ochtman | 2017-08-24 | 1 | -2/+2 | |
| | ||||||
* | Add test for Rocket support | Dirkjan Ochtman | 2017-08-23 | 2 | -0/+39 | |
| | ||||||
* | Add test for Iron support | Dirkjan Ochtman | 2017-08-23 | 2 | -2/+23 | |
| | ||||||
* | Forgot to remove debugging cruft, again | Dirkjan Ochtman | 2017-08-23 | 1 | -1/+1 | |
| | ||||||
* | Adding optional json filter | Anthony Nowell | 2017-08-23 | 3 | -7/+25 | |
| | ||||||
* | Add test for basic macro use | Dirkjan Ochtman | 2017-08-22 | 2 | -0/+21 | |
| | ||||||
* | Change one test case to use source attribute | Dirkjan Ochtman | 2017-08-16 | 1 | -1/+1 | |
| | ||||||
* | Add test for variable declaration | Dirkjan Ochtman | 2017-08-16 | 2 | -0/+21 | |
| | ||||||
* | Add test for let blocks | Dirkjan Ochtman | 2017-08-15 | 2 | -0/+17 | |
| | ||||||
* | Disable debug output for example by default | Dirkjan Ochtman | 2017-08-10 | 1 | -1/+1 | |
| | ||||||
* | Add README example as a test case | Dirkjan Ochtman | 2017-08-10 | 2 | -0/+19 | |
| | ||||||
* | Forgot to commit test template | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+1 | |
| | ||||||
* | Implement Display for all Templates | Dirkjan Ochtman | 2017-08-10 | 1 | -0/+13 | |
| | ||||||
* | Propagate format errors and rename `render_to()` to `render_into()` | Dirkjan Ochtman | 2017-08-10 | 6 | -23/+23 | |
| | ||||||
* | Add test for deref implementation (see #28) | Dirkjan Ochtman | 2017-08-08 | 2 | -2/+2 | |
| | ||||||
* | Add test for include blocks (see #25) | Dirkjan Ochtman | 2017-08-04 | 3 | -0/+23 | |
| | ||||||
* | Merge changes | Dirkjan Ochtman | 2017-08-02 | 2 | -0/+20 | |
|\ | ||||||
| * | Add test for basic chained attributes | Dirkjan Ochtman | 2017-05-26 | 2 | -0/+20 | |
| | | ||||||
* | | Add test that starts with a single brace (see #24) | Dirkjan Ochtman | 2017-08-02 | 2 | -0/+15 | |
|/ | ||||||
* | Remove type parameter defaults from impls (fixes #12) | Dirkjan Ochtman | 2017-03-08 | 1 | -1/+2 | |
| | ||||||
* | Add missing template for test_generics | Dirkjan Ochtman | 2017-03-08 | 1 | -0/+1 | |
| | ||||||
* | Add test for type parameters and where clauses (see #9) | Dirkjan Ochtman | 2017-03-08 | 1 | -0/+14 | |
| | ||||||
* | Remove debugging cruft from test_nested_for | Dirkjan Ochtman | 2017-03-07 | 1 | -1/+1 | |
| | ||||||
* | Add test for nested loops and loops over slices (see #6, #7, #9) | Dirkjan Ochtman | 2017-03-07 | 2 | -0/+23 | |
| |