aboutsummaryrefslogtreecommitdiffstats
path: root/testing (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for importing template files with macros (#51)Libravatar larros2017-09-262-0/+14
| | | | * Fix review comments for macro imports
* Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren2017-09-102-0/+13
|
* Extend escaping according to OWASP recommendationsLibravatar Dirkjan Ochtman2017-09-071-3/+4
|
* Move JSON test into filters test moduleLibravatar Dirkjan Ochtman2017-09-072-28/+31
|
* Move escaping tests into a separate moduleLibravatar Dirkjan Ochtman2017-09-071-52/+0
|
* Add test case for inferred escape modeLibravatar Dirkjan Ochtman2017-09-071-0/+13
|
* Make ext attribute mandatory for source-specified templatesLibravatar Dirkjan Ochtman2017-09-073-5/+5
|
* Add some tests for escaping functionalityLibravatar Dirkjan Ochtman2017-09-051-0/+39
|
* Moved precedence test into operators moduleLibravatar Dirkjan Ochtman2017-09-042-15/+11
|
* Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2017-09-032-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 itLibravatar defyrlt2017-09-022-0/+26
|
* Add test for parent default block implementationsLibravatar Bastien Orivel2017-08-252-2/+3
|
* Simplify Rocket test slightlyLibravatar Dirkjan Ochtman2017-08-241-1/+1
|
* Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel2017-08-241-1/+1
| | | | This makes converting an app from tera to askama easier.
* Add test case for user-defined filtersLibravatar Dirkjan Ochtman2017-08-241-0/+19
|
* Clean up order in Cargo manifestsLibravatar Dirkjan Ochtman2017-08-241-2/+2
|
* Add test for Rocket supportLibravatar Dirkjan Ochtman2017-08-232-0/+39
|
* Add test for Iron supportLibravatar Dirkjan Ochtman2017-08-232-2/+23
|
* Forgot to remove debugging cruft, againLibravatar Dirkjan Ochtman2017-08-231-1/+1
|
* Adding optional json filterLibravatar Anthony Nowell2017-08-233-7/+25
|
* Add test for basic macro useLibravatar Dirkjan Ochtman2017-08-222-0/+21
|
* Change one test case to use source attributeLibravatar Dirkjan Ochtman2017-08-161-1/+1
|
* Add test for variable declarationLibravatar Dirkjan Ochtman2017-08-162-0/+21
|
* Add test for let blocksLibravatar Dirkjan Ochtman2017-08-152-0/+17
|
* Disable debug output for example by defaultLibravatar Dirkjan Ochtman2017-08-101-1/+1
|
* Add README example as a test caseLibravatar Dirkjan Ochtman2017-08-102-0/+19
|
* Forgot to commit test templateLibravatar Dirkjan Ochtman2017-08-101-0/+1
|
* Implement Display for all TemplatesLibravatar Dirkjan Ochtman2017-08-101-0/+13
|
* Propagate format errors and rename `render_to()` to `render_into()`Libravatar Dirkjan Ochtman2017-08-106-23/+23
|
* Add test for deref implementation (see #28)Libravatar Dirkjan Ochtman2017-08-082-2/+2
|
* Add test for include blocks (see #25)Libravatar Dirkjan Ochtman2017-08-043-0/+23
|
* Merge changesLibravatar Dirkjan Ochtman2017-08-022-0/+20
|\
| * Add test for basic chained attributesLibravatar Dirkjan Ochtman2017-05-262-0/+20
| |
* | Add test that starts with a single brace (see #24)Libravatar Dirkjan Ochtman2017-08-022-0/+15
|/
* Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman2017-03-081-1/+2
|
* Add missing template for test_genericsLibravatar Dirkjan Ochtman2017-03-081-0/+1
|
* Add test for type parameters and where clauses (see #9)Libravatar Dirkjan Ochtman2017-03-081-0/+14
|
* Remove debugging cruft from test_nested_forLibravatar Dirkjan Ochtman2017-03-071-1/+1
|
* Add test for nested loops and loops over slices (see #6, #7, #9)Libravatar Dirkjan Ochtman2017-03-072-0/+23
|
* Create separate test module for loopsLibravatar Dirkjan Ochtman2017-03-072-15/+18
|
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-065-7/+2
|
* Update version numbers and dependenciesLibravatar Dirkjan Ochtman2017-03-031-3/+3
|
* Add test for commentsLibravatar Dirkjan Ochtman2017-03-032-1/+2
|
* Add test for parenthesized expressionsLibravatar Dirkjan Ochtman2017-03-031-1/+1
|
* Discard trailing newlines from templates by defaultLibravatar Dirkjan Ochtman2017-03-034-14/+14
| | | | This matches Jinja's behavior, and seems sensible.
* Add basic test for loop variablesLibravatar Dirkjan Ochtman2017-02-192-2/+2
|
* Add test for handling Option types (with method calls)Libravatar Dirkjan Ochtman2017-02-182-0/+20
|
* Add test for format filterLibravatar Dirkjan Ochtman2017-02-182-0/+14
|
* Add test for attribute supportLibravatar Dirkjan Ochtman2017-02-182-0/+18
|
* Add support for integer literalsLibravatar Dirkjan Ochtman2017-02-171-1/+1
|