Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix urlencode to be usable for URL segments and query keys/values (#384) | Jakub Valtar | 2020-11-16 | 1 | -30/+88 |
| | |||||
* | Correctly scope macro argument name bindings (fixes #382) | Dirkjan Ochtman | 2020-11-13 | 1 | -3/+12 |
| | |||||
* | Improve error handling (see #368) | Dirkjan Ochtman | 2020-11-02 | 5 | -418/+554 |
| | |||||
* | Apply clippy suggestions | Dirkjan Ochtman | 2020-11-02 | 1 | -2/+2 |
| | |||||
* | Upgrade to nom 6 | Dirkjan Ochtman | 2020-11-02 | 2 | -37/+38 |
| | |||||
* | fix into_f64 and into_isize | Yuxuan Shui | 2020-09-16 | 1 | -13/+13 |
| | | | | | | | | | | | askama passes references to the filters (e.g. &f64), and &f64 doesn't implement NumCast, only f64 does. So, the filters should take &T instead of T. Fixes #357 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com> | ||||
* | Use unstable sort for size median calculation | Dirkjan Ochtman | 2020-08-25 | 1 | -1/+1 |
| | |||||
* | Bump version numbers | Dirkjan Ochtman | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | Add mendes integration | Dirkjan Ochtman | 2020-07-28 | 2 | -0/+52 |
| | |||||
* | Use modern dyn syntax to prevent warnings | Dirkjan Ochtman | 2020-07-28 | 1 | -1/+1 |
| | |||||
* | Point to relevant book chapter from the filters module docs | Dirkjan Ochtman | 2020-07-23 | 1 | -2/+2 |
| | |||||
* | Clean up clippy issues | Dirkjan Ochtman | 2020-07-20 | 1 | -8/+7 |
| | |||||
* | 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 }}` | ||||
* | Bump versions to prepare for askama_tide release | Dirkjan Ochtman | 2020-07-14 | 1 | -1/+1 |
| | |||||
* | alphabetize frameworks | Jacob Rothstein | 2020-07-14 | 2 | -57/+58 |
| | |||||
* | askama tide | Jacob Rothstein | 2020-07-14 | 2 | -0/+30 |
| | |||||
* | Bump askama_shared version with whitespace fixes | Dirkjan Ochtman | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Bump version number for askama_shared | Dirkjan Ochtman | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | Tweak dependency on futures for Actix integration | Dirkjan Ochtman | 2020-06-30 | 1 | -2/+2 |
| | |||||
* | Reference READMEs in crate metadata | Dirkjan Ochtman | 2020-06-30 | 1 | -0/+1 |
| | |||||
* | Add README files for subcrates | Dirkjan Ochtman | 2020-06-30 | 1 | -0/+9 |
| | |||||
* | Bump version numbers | Dirkjan Ochtman | 2020-06-30 | 1 | -2/+2 |
| | |||||
* | Add license files to each crate (fixes #339) | Dirkjan Ochtman | 2020-06-30 | 2 | -0/+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 | 2 | -3/+23 |
| | |||||
* | 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 | 5 | -1/+1531 |
| |