Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed precedence of filters and unary operators (fixes #424) | vallentin | 2021-01-05 | 1 | -3/+3 |
| | |||||
* | Resolved Clippy lints | vallentin | 2021-01-01 | 1 | -10/+10 |
| | |||||
* | Added tojson alias | vallentin | 2020-12-30 | 1 | -1/+5 |
| | |||||
* | Fixed yaml filter generation | vallentin | 2020-12-29 | 1 | -1/+1 |
| | |||||
* | Refactored into filters constant | vallentin | 2020-12-29 | 1 | -8/+6 |
| | |||||
* | Added error to hint enabling serde features | vallentin | 2020-12-29 | 1 | -0/+9 |
| | |||||
* | Added support for redefining variables (fixes #329) | vallentin | 2020-12-25 | 1 | -5/+34 |
| | |||||
* | Improved implicit borrowing and changed to resolve Askama variables at ↵ | vallentin | 2020-12-21 | 1 | -49/+127 |
| | | | | compile time | ||||
* | Remove an explicit lifetime to fix a clippy warning | Randati | 2020-12-21 | 1 | -1/+1 |
| | |||||
* | Added comment parser tests | vallentin | 2020-12-18 | 1 | -0/+17 |
| | |||||
* | Added support for nested comments | vallentin | 2020-12-18 | 1 | -4/+22 |
| | |||||
* | Added set alias for let | vallentin | 2020-12-16 | 1 | -1/+1 |
| | |||||
* | Improved template loop generation (fixes #107, #333) | vallentin | 2020-12-16 | 1 | -1/+19 |
| | |||||
* | Merge pull request #400 from djc/local | Dirkjan Ochtman | 2020-12-15 | 1 | -2/+2 |
|\ | | | | | Sync local repo with GitHub | ||||
| * | Adapt to changed mendes API | Dirkjan Ochtman | 2020-11-19 | 1 | -2/+2 |
| | | |||||
* | | Fixed whitespace issue when generating match (#399) | Christian Vallentin | 2020-12-12 | 3 | -23/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed #397 * Updated parser to ignore whitespace between match and when * Updated test cases * Updated Python script to generate match ws tests * Added match ws tests * Resolved rustfmt lint | ||||
* | | Fixed whitespace issue when generating if statement (#394) | Christian Vallentin | 2020-12-03 | 1 | -5/+6 |
| | | | | | | * Fixed #377 | ||||
* | | Allow paths to start with `::` (#393) | Christian Vallentin | 2020-12-02 | 1 | -4/+25 |
| | | |||||
* | | Improved if statement generation to avoid issues with implicit borrows (#392) | Christian Vallentin | 2020-12-01 | 1 | -0/+7 |
| | | | | | | | | | | | | | | * Changed to automatically coerce to bool * Added new test case * Updated test case to include else if | ||||
* | | Fixed parsing precedence and associativity (#391) | Christian Vallentin | 2020-12-01 | 1 | -33/+173 |
| | | |||||
* | | Fixed implicit borrow of expressions (#390) | Christian Vallentin | 2020-12-01 | 1 | -2/+3 |
|/ | |||||
* | 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 | 1 | -36/+37 |
| | |||||
* | 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 |
| | |||||
* | 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 }}` | ||||
* | 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 |
| |