Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix whitespace handling for macros and imports (#55) | 2017-10-01 | 1 | -1/+1 | |
| | | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments | ||||
* | Add support for importing template files with macros (#51) | 2017-09-26 | 1 | -0/+12 | |
| | | | | * Fix review comments for macro imports | ||||
* | Add support for tuple indexing in templates | 2017-09-10 | 1 | -0/+12 | |
| | |||||
* | Extend escaping according to OWASP recommendations | 2017-09-07 | 1 | -3/+4 | |
| | |||||
* | Move JSON test into filters test module | 2017-09-07 | 2 | -28/+31 | |
| | |||||
* | Move escaping tests into a separate module | 2017-09-07 | 1 | -52/+0 | |
| | |||||
* | Add test case for inferred escape mode | 2017-09-07 | 1 | -0/+13 | |
| | |||||
* | Make ext attribute mandatory for source-specified templates | 2017-09-07 | 3 | -5/+5 | |
| | |||||
* | Add some tests for escaping functionality | 2017-09-05 | 1 | -0/+39 | |
| | |||||
* | Moved precedence test into operators module | 2017-09-04 | 2 | -15/+11 | |
| | |||||
* | Changed implementation of precedence rules | 2017-09-03 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | 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 | 2017-09-02 | 1 | -0/+25 | |
| | |||||
* | Add test for parent default block implementations | 2017-08-25 | 1 | -2/+2 | |
| | |||||
* | Simplify Rocket test slightly | 2017-08-24 | 1 | -1/+1 | |
| | |||||
* | Add test case for user-defined filters | 2017-08-24 | 1 | -0/+19 | |
| | |||||
* | Add test for Rocket support | 2017-08-23 | 1 | -0/+33 | |
| | |||||
* | Add test for Iron support | 2017-08-23 | 1 | -0/+20 | |
| | |||||
* | Forgot to remove debugging cruft, again | 2017-08-23 | 1 | -1/+1 | |
| | |||||
* | Adding optional json filter | 2017-08-23 | 1 | -4/+18 | |
| | |||||
* | Add test for basic macro use | 2017-08-22 | 1 | -0/+16 | |
| | |||||
* | Change one test case to use source attribute | 2017-08-16 | 1 | -1/+1 | |
| | |||||
* | Add test for variable declaration | 2017-08-16 | 1 | -0/+14 | |
| | |||||
* | Add test for let blocks | 2017-08-15 | 1 | -0/+16 | |
| | |||||
* | Disable debug output for example by default | 2017-08-10 | 1 | -1/+1 | |
| | |||||
* | Add README example as a test case | 2017-08-10 | 1 | -0/+18 | |
| | |||||
* | Implement Display for all Templates | 2017-08-10 | 1 | -0/+13 | |
| | |||||
* | Propagate format errors and rename `render_to()` to `render_into()` | 2017-08-10 | 6 | -23/+23 | |
| | |||||
* | Add test for deref implementation (see #28) | 2017-08-08 | 1 | -1/+1 | |
| | |||||
* | Add test for include blocks (see #25) | 2017-08-04 | 1 | -0/+19 | |
| | |||||
* | Merge changes | 2017-08-02 | 1 | -0/+19 | |
|\ | |||||
| * | Add test for basic chained attributes | 2017-05-26 | 1 | -0/+19 | |
| | | |||||
* | | Add test that starts with a single brace (see #24) | 2017-08-02 | 1 | -0/+14 | |
|/ | |||||
* | Remove type parameter defaults from impls (fixes #12) | 2017-03-08 | 1 | -1/+2 | |
| | |||||
* | Add test for type parameters and where clauses (see #9) | 2017-03-08 | 1 | -0/+14 | |
| | |||||
* | Remove debugging cruft from test_nested_for | 2017-03-07 | 1 | -1/+1 | |
| | |||||
* | Add test for nested loops and loops over slices (see #6, #7, #9) | 2017-03-07 | 1 | -0/+17 | |
| | |||||
* | Create separate test module for loops | 2017-03-07 | 2 | -15/+18 | |
| | |||||
* | Hide askama_derive dependency inside askama (fixes #2) | 2017-03-06 | 4 | -6/+2 | |
| | |||||
* | Add test for comments | 2017-03-03 | 1 | -1/+1 | |
| | |||||
* | Discard trailing newlines from templates by default | 2017-03-03 | 4 | -14/+14 | |
| | | | | This matches Jinja's behavior, and seems sensible. | ||||
* | Add basic test for loop variables | 2017-02-19 | 1 | -1/+1 | |
| | |||||
* | Add test for handling Option types (with method calls) | 2017-02-18 | 1 | -0/+15 | |
| | |||||
* | Add test for format filter | 2017-02-18 | 1 | -0/+13 | |
| | |||||
* | Add test for attribute support | 2017-02-18 | 1 | -0/+17 | |
| | |||||
* | Add tests for more binary operators | 2017-02-17 | 1 | -1/+1 | |
| | |||||
* | Split comparison tests from other operators | 2017-02-17 | 1 | -1/+16 | |
| | |||||
* | Implement support for mul, div, mod operators | 2017-02-13 | 1 | -1/+1 | |
| | |||||
* | Rename comparison tests to be about any operators | 2017-02-13 | 1 | -4/+4 | |
| | |||||
* | Test support for variables in inherited templates | 2017-02-12 | 1 | -7/+9 | |
| | |||||
* | Explicitly pass trait implementation to top-level base template method | 2017-02-12 | 1 | -2/+4 | |
| | | | | | This requires a base template struct to be a member of the derived template's context, but allows the base template to access base template fields. |