Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add fmt filter that swaps the first two arguments to format!(). | Andrew Dona-Couch | 2020-07-14 | 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 }}` | |||||
* | alphabetize frameworks | Jacob Rothstein | 2020-07-14 | 2 | -57/+58 | |
| | ||||||
* | askama tide | Jacob Rothstein | 2020-07-14 | 2 | -0/+30 | |
| | ||||||
* | Add support for more whitespace positions within expressions: | Ciprian Dorin Craciun | 2020-06-30 | 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. | |||||
* | Tweak dependency on futures for Actix integration | Dirkjan Ochtman | 2020-06-30 | 1 | -2/+2 | |
| | ||||||
* | Remove redundant clone | Dirkjan Ochtman | 2020-06-24 | 1 | -1/+1 | |
| | ||||||
* | Reorder parser type definitions | Dirkjan Ochtman | 2020-06-03 | 1 | -46/+46 | |
| | ||||||
* | Revert whitespace matching to old macro behavior | Dirkjan Ochtman | 2020-06-03 | 1 | -6/+8 | |
| | ||||||
* | Strip 0 or more instead of 1 whitespace character (fixes #337) | Dirkjan Ochtman | 2020-06-03 | 1 | -2/+2 | |
| | ||||||
* | Allow block definitions in if/for/match blocks (fixes #335) | Dirkjan Ochtman | 2020-06-03 | 2 | -9/+14 | |
| | ||||||
* | Refactor code for finding nested blocks | Dirkjan Ochtman | 2020-06-03 | 1 | -32/+27 | |
| | ||||||
* | Cast empty arrays to slice to get around clippy | Dirkjan Ochtman | 2020-05-21 | 1 | -3/+2 | |
| | ||||||
* | Allow clippy reversed-empty-ranges for now | Dirkjan Ochtman | 2020-05-21 | 1 | -0/+1 | |
| | | | | Pending https://github.com/rust-lang/rust-clippy/issues/5628. | |||||
* | Remove now unused match arms | Dirkjan Ochtman | 2020-05-17 | 1 | -2/+0 | |
| | ||||||
* | Properly annotate non-exhaustive enum | Dirkjan Ochtman | 2020-05-17 | 1 | -6/+1 | |
| | ||||||
* | Fix wrong num_traits cfg feature in askama_shared | Jerome Gravel-Niquet | 2020-04-25 | 1 | -8/+8 | |
| | ||||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2020-04-23 | 1 | -4/+1 | |
| | ||||||
* | Fix clippy suggestion | Dirkjan Ochtman | 2020-04-23 | 1 | -1/+1 | |
| | ||||||
* | Fix taking references of function arguments (fixes #311) | Dirkjan Ochtman | 2020-04-23 | 1 | -6/+20 | |
| | ||||||
* | fix: make filesizeformat work with all types that implement ↵ | Zachary Kohnen | 2020-03-31 | 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 | |||||
* | fix urlencode bug, do not encode a fixed size of character exceptions | João Oliveira | 2020-03-31 | 1 | -6/+35 | |
| | ||||||
* | add urlencode filter | João Oliveira | 2020-03-30 | 1 | -1/+20 | |
| | ||||||
* | Use _visit_args in var/path calls | Nathan Lapel | 2020-03-18 | 1 | -15/+8 | |
| | ||||||
* | Support function calls | Nathan Lapel | 2020-03-18 | 2 | -9/+96 | |
| | ||||||
* | Fix askama_shared clippy warning | Paolo Barbolini | 2020-02-24 | 1 | -6/+7 | |
| | ||||||
* | Adapt to new warnings and formatting | Dirkjan Ochtman | 2020-02-08 | 4 | -6/+1 | |
| | ||||||
* | add 2 more test | D.Loh | 2020-02-07 | 1 | -0/+3 | |
| | ||||||
* | add unit test, and do not truncate when len equal | D.Loh | 2020-02-07 | 1 | -1/+23 | |
| | ||||||
* | eliminate panic on len not lie on boundary | D.Loh | 2020-02-07 | 1 | -1/+5 | |
| | | | check boundary, add truncate len per 1 as needed till checking pass | |||||
* | Generalize hashmap parameter as suggested by clippy | Dirkjan Ochtman | 2020-01-29 | 1 | -8/+8 | |
| | ||||||
* | Move code generation into askama_shared | Dirkjan Ochtman | 2020-01-29 | 3 | -1/+1529 | |
| | ||||||
* | Move input module into askama_shared | Dirkjan Ochtman | 2020-01-29 | 2 | -0/+222 | |
| | ||||||
* | Move parser into askama_shared | Dirkjan Ochtman | 2020-01-29 | 2 | -0/+1094 | |
| | ||||||
* | Error::description() will be deprecated soon | Dirkjan Ochtman | 2020-01-29 | 1 | -12/+2 | |
| | ||||||
* | Remove unnecessary explicit lifetimes | Dirkjan Ochtman | 2020-01-15 | 1 | -1/+1 | |
| | ||||||
* | Fix up formatting | Dirkjan Ochtman | 2020-01-15 | 1 | -1/+1 | |
| | ||||||
* | Make dependencies optional where possible | Dirkjan Ochtman | 2020-01-15 | 2 | -12/+49 | |
| | ||||||
* | Modernize and simplify imports | Dirkjan Ochtman | 2020-01-15 | 1 | -8/+4 | |
| | ||||||
* | Clean up clippy warnings | Dirkjan Ochtman | 2020-01-02 | 2 | -36/+34 | |
| | ||||||
* | Update formatting | Dirkjan Ochtman | 2019-07-25 | 1 | -2/+8 | |
| | ||||||
* | Implement selected clippy recommendations. | Bardi Harborow | 2019-07-11 | 1 | -1/+1 | |
| | ||||||
* | Fix tests for extensions | Dirkjan Ochtman | 2019-04-01 | 1 | -2/+2 | |
| | ||||||
* | Add md and yml to non-escaped extensions (fixes #229) | Dirkjan Ochtman | 2019-04-01 | 1 | -1/+1 | |
| | ||||||
* | Make html-escaper also escape .j2, .jinja and .jinja2 files | Daniel Wiesenberg | 2019-02-06 | 1 | -0/+2 | |
| | ||||||
* | Add optional support for yaml filter (see #192) | Dirkjan Ochtman | 2019-01-17 | 3 | -3/+54 | |
| | ||||||
* | Rename deprecate method Error::cause() | Dirkjan Ochtman | 2019-01-12 | 1 | -2/+2 | |
| | ||||||
* | Allow configuration of escape modes | Dirkjan Ochtman | 2019-01-12 | 1 | -0/+57 | |
| | ||||||
* | Specify a trait that handles the output format's escaping | Dirkjan Ochtman | 2019-01-12 | 2 | -20/+28 | |
| | ||||||
* | Fix import order | Dirkjan Ochtman | 2019-01-12 | 1 | -1/+1 | |
| | ||||||
* | Fix loop.last | yossyJ | 2019-01-08 | 1 | -29/+30 | |
| |