aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting with cargo fmtLibravatar Dirkjan Ochtman2020-04-231-4/+1
|
* Fix clippy suggestionLibravatar Dirkjan Ochtman2020-04-231-1/+1
|
* Fix taking references of function arguments (fixes #311)Libravatar Dirkjan Ochtman2020-04-231-6/+20
|
* fix: make filesizeformat work with all types that implement ↵Libravatar Zachary Kohnen2020-03-311-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 exceptionsLibravatar João Oliveira2020-03-311-6/+35
|
* add urlencode filterLibravatar João Oliveira2020-03-301-1/+20
|
* Use _visit_args in var/path callsLibravatar Nathan Lapel2020-03-181-15/+8
|
* Support function callsLibravatar Nathan Lapel2020-03-182-9/+96
|
* Fix askama_shared clippy warningLibravatar Paolo Barbolini2020-02-241-6/+7
|
* Adapt to new warnings and formattingLibravatar Dirkjan Ochtman2020-02-084-6/+1
|
* add 2 more testLibravatar D.Loh2020-02-071-0/+3
|
* add unit test, and do not truncate when len equalLibravatar D.Loh2020-02-071-1/+23
|
* eliminate panic on len not lie on boundaryLibravatar D.Loh2020-02-071-1/+5
| | | check boundary, add truncate len per 1 as needed till checking pass
* Generalize hashmap parameter as suggested by clippyLibravatar Dirkjan Ochtman2020-01-291-8/+8
|
* Move code generation into askama_sharedLibravatar Dirkjan Ochtman2020-01-293-1/+1529
|
* Move input module into askama_sharedLibravatar Dirkjan Ochtman2020-01-292-0/+222
|
* Move parser into askama_sharedLibravatar Dirkjan Ochtman2020-01-292-0/+1094
|
* Error::description() will be deprecated soonLibravatar Dirkjan Ochtman2020-01-291-12/+2
|
* Remove unnecessary explicit lifetimesLibravatar Dirkjan Ochtman2020-01-151-1/+1
|
* Fix up formattingLibravatar Dirkjan Ochtman2020-01-151-1/+1
|
* Make dependencies optional where possibleLibravatar Dirkjan Ochtman2020-01-152-12/+49
|
* Modernize and simplify importsLibravatar Dirkjan Ochtman2020-01-151-8/+4
|
* Clean up clippy warningsLibravatar Dirkjan Ochtman2020-01-022-36/+34
|
* Update formattingLibravatar Dirkjan Ochtman2019-07-251-2/+8
|
* Implement selected clippy recommendations.Libravatar Bardi Harborow2019-07-111-1/+1
|
* Fix tests for extensionsLibravatar Dirkjan Ochtman2019-04-011-2/+2
|
* Add md and yml to non-escaped extensions (fixes #229)Libravatar Dirkjan Ochtman2019-04-011-1/+1
|
* Make html-escaper also escape .j2, .jinja and .jinja2 filesLibravatar Daniel Wiesenberg2019-02-061-0/+2
|
* Add optional support for yaml filter (see #192)Libravatar Dirkjan Ochtman2019-01-173-3/+54
|
* Rename deprecate method Error::cause()Libravatar Dirkjan Ochtman2019-01-121-2/+2
|
* Allow configuration of escape modesLibravatar Dirkjan Ochtman2019-01-121-0/+57
|
* Specify a trait that handles the output format's escapingLibravatar Dirkjan Ochtman2019-01-122-20/+28
|
* Fix import orderLibravatar Dirkjan Ochtman2019-01-121-1/+1
|
* Fix loop.lastLibravatar yossyJ2019-01-081-29/+30
|
* Add support for loop.lastLibravatar yossyJ2019-01-082-0/+49
|
* Use 2018 edition idiomsLibravatar Dirkjan Ochtman2018-12-084-26/+20
|
* Upgrade to 2018 editionLibravatar Dirkjan Ochtman2018-12-082-2/+2
|
* Fix typo in serde_json featureLibravatar Dirkjan Ochtman2018-12-074-11/+10
|
* Fix unnecessary len at capitalize filterLibravatar Juan Aguilar Santillana2018-12-011-9/+6
|
* Add filesizeformat filterLibravatar youmouse2018-11-162-1/+19
|
* Create askama_escape crateLibravatar bott2018-11-073-103/+3
|
* Reorder and tweak code style a little bitLibravatar Dirkjan Ochtman2018-11-051-19/+18
|
* Improve performance simplifyLibravatar bott2018-11-051-32/+20
|
* Escape into FormatterLibravatar Dirkjan Ochtman2018-11-053-58/+60
|
* Improve performance of html escapeLibravatar bott2018-11-051-46/+39
|
* Add f64 filterLibravatar Tomas2018-11-051-1/+19
|
* Add isize filterLibravatar Tomas2018-11-051-1/+26
|
* Fix off-by-one error with HTML escapingLibravatar Benjamin Li2018-10-251-1/+2
| | | | | | If the second-to-last character of a string should be escaped, but not the last, the last character was not being included in the result.
* Replace `format!()` with `to_string()` in filtersLibravatar Casey Rodarmor2018-10-171-10/+10
|
* Add `indent` filterLibravatar Casey Rodarmor2018-10-171-1/+32
|