Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-07-23 | Point to relevant book chapter from the filters module docs | Dirkjan Ochtman | 1 | -2/+2 | |
2020-07-20 | Clean up clippy issues | Dirkjan Ochtman | 1 | -8/+7 | |
2020-07-14 | Add fmt filter that swaps the first two arguments to format!(). | Andrew Dona-Couch | 2 | -1/+41 | |
This allows a more natural filter usage: `{{ val | fmt("{:?}") }}` as well as enabling convenient filter composition: `{{ price | to_f64 | fmt("${:.2}") | center }}` | |||||
2020-07-14 | alphabetize frameworks | Jacob Rothstein | 2 | -57/+58 | |
2020-07-14 | askama tide | Jacob Rothstein | 2 | -0/+30 | |
2020-06-30 | Add support for more whitespace positions within expressions: | Ciprian Dorin Craciun | 1 | -11/+20 | |
* in function calls: `x ( 1 , 2 )`; * in path elements: `module :: element`; * in attributes: `x . y . z`; * in filter arguments: `x| filter ( 1 , 2 )`; * before unary operators: `! false` and `- 42`; * in grouped expressions: `( 1 + 2 )`; * also allow more than a single whitespace; Change some tests to include whitespaces in various positions. | |||||
2020-06-30 | Tweak dependency on futures for Actix integration | Dirkjan Ochtman | 1 | -2/+2 | |
2020-06-24 | Remove redundant clone | Dirkjan Ochtman | 1 | -1/+1 | |
2020-06-03 | Reorder parser type definitions | Dirkjan Ochtman | 1 | -46/+46 | |
2020-06-03 | Revert whitespace matching to old macro behavior | Dirkjan Ochtman | 1 | -6/+8 | |
2020-06-03 | Strip 0 or more instead of 1 whitespace character (fixes #337) | Dirkjan Ochtman | 1 | -2/+2 | |
2020-06-03 | Allow block definitions in if/for/match blocks (fixes #335) | Dirkjan Ochtman | 2 | -9/+14 | |
2020-06-03 | Refactor code for finding nested blocks | Dirkjan Ochtman | 1 | -32/+27 | |
2020-05-21 | Cast empty arrays to slice to get around clippy | Dirkjan Ochtman | 1 | -3/+2 | |
2020-05-21 | Allow clippy reversed-empty-ranges for now | Dirkjan Ochtman | 1 | -0/+1 | |
Pending https://github.com/rust-lang/rust-clippy/issues/5628. | |||||
2020-05-17 | Remove now unused match arms | Dirkjan Ochtman | 1 | -2/+0 | |
2020-05-17 | Properly annotate non-exhaustive enum | Dirkjan Ochtman | 1 | -6/+1 | |
2020-04-25 | Fix wrong num_traits cfg feature in askama_shared | Jerome Gravel-Niquet | 1 | -8/+8 | |
2020-04-23 | Fix formatting with cargo fmt | Dirkjan Ochtman | 1 | -4/+1 | |
2020-04-23 | Fix clippy suggestion | Dirkjan Ochtman | 1 | -1/+1 | |
2020-04-23 | Fix taking references of function arguments (fixes #311) | Dirkjan Ochtman | 1 | -6/+20 | |
2020-03-31 | fix: make filesizeformat work with all types that implement ↵ | Zachary Kohnen | 1 | -6/+6 | |
humansize::FileSize (#307) * fix: make filesizeformat work with all types that implement humanzie::FileSize Enabled dynamic dispatch on the filesizeformat filter as to allow for numbers other than usize to work * fix: remove dynamic dispatch dynamic dyspatch would not work since file_size takes a generic. Instead we use a generic function with type B being any type that implements FileSize. * fix: add AsRef to allow for references to be passed as well as owned values * fix: move AsRef into a generic as to allow for owned values * fix: move to borrow from asref as it is implemented by primitives * format: fix import ordering * fix: remove borrow for it was useless * fix: add borrow to input value * refactor: remove unused imports | |||||
2020-03-31 | fix urlencode bug, do not encode a fixed size of character exceptions | João Oliveira | 1 | -6/+35 | |
2020-03-30 | add urlencode filter | João Oliveira | 1 | -1/+20 | |
2020-03-18 | Use _visit_args in var/path calls | Nathan Lapel | 1 | -15/+8 | |
2020-03-18 | Support function calls | Nathan Lapel | 2 | -9/+96 | |
2020-02-24 | Fix askama_shared clippy warning | Paolo Barbolini | 1 | -6/+7 | |
2020-02-08 | Adapt to new warnings and formatting | Dirkjan Ochtman | 4 | -6/+1 | |
2020-02-07 | add 2 more test | D.Loh | 1 | -0/+3 | |
2020-02-07 | add unit test, and do not truncate when len equal | D.Loh | 1 | -1/+23 | |
2020-02-07 | eliminate panic on len not lie on boundary | D.Loh | 1 | -1/+5 | |
check boundary, add truncate len per 1 as needed till checking pass | |||||
2020-01-29 | Generalize hashmap parameter as suggested by clippy | Dirkjan Ochtman | 1 | -8/+8 | |
2020-01-29 | Move code generation into askama_shared | Dirkjan Ochtman | 3 | -1/+1529 | |
2020-01-29 | Move input module into askama_shared | Dirkjan Ochtman | 2 | -0/+222 | |
2020-01-29 | Move parser into askama_shared | Dirkjan Ochtman | 2 | -0/+1094 | |
2020-01-29 | Error::description() will be deprecated soon | Dirkjan Ochtman | 1 | -12/+2 | |
2020-01-15 | Remove unnecessary explicit lifetimes | Dirkjan Ochtman | 1 | -1/+1 | |
2020-01-15 | Fix up formatting | Dirkjan Ochtman | 1 | -1/+1 | |
2020-01-15 | Make dependencies optional where possible | Dirkjan Ochtman | 2 | -12/+49 | |
2020-01-15 | Modernize and simplify imports | Dirkjan Ochtman | 1 | -8/+4 | |
2020-01-02 | Clean up clippy warnings | Dirkjan Ochtman | 2 | -36/+34 | |
2019-07-25 | Update formatting | Dirkjan Ochtman | 1 | -2/+8 | |
2019-07-11 | Implement selected clippy recommendations. | Bardi Harborow | 1 | -1/+1 | |
2019-04-01 | Fix tests for extensions | Dirkjan Ochtman | 1 | -2/+2 | |
2019-04-01 | Add md and yml to non-escaped extensions (fixes #229) | Dirkjan Ochtman | 1 | -1/+1 | |
2019-02-06 | Make html-escaper also escape .j2, .jinja and .jinja2 files | Daniel Wiesenberg | 1 | -0/+2 | |
2019-01-17 | Add optional support for yaml filter (see #192) | Dirkjan Ochtman | 3 | -3/+54 | |
2019-01-12 | Rename deprecate method Error::cause() | Dirkjan Ochtman | 1 | -2/+2 | |
2019-01-12 | Allow configuration of escape modes | Dirkjan Ochtman | 1 | -0/+57 | |
2019-01-12 | Specify a trait that handles the output format's escaping | Dirkjan Ochtman | 2 | -20/+28 | |