aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix style suggestion per nightly clippyLibravatar Dirkjan Ochtman2021-02-281-1/+1
|
* Reworked constants to be parsed as pathsLibravatar vallentin2021-02-232-11/+26
|
* Added var and path parser testsLibravatar vallentin2021-02-221-1/+72
|
* Fixed path parser to account for single identifier type namesLibravatar vallentin2021-02-221-7/+23
|
* Removed needless borrow of rangeLibravatar vallentin2021-02-221-0/+1
|
* Rename askama_actix trait method as suggested by clippyLibravatar Dirkjan Ochtman2021-02-151-2/+2
| | | | | By bumping the dependency versions for askama and askama_shared, this should be safe.
* Fix formatting for rust 1.50.0Libravatar Dirkjan Ochtman2021-02-151-4/+6
|
* Bring Ws type name in line with API guidelinesLibravatar Dirkjan Ochtman2021-02-012-84/+84
|
* Apply suggestions from nightly clippyLibravatar Dirkjan Ochtman2021-01-221-4/+2
|
* Fixed constants (fixes #291)Libravatar vallentin2021-01-131-2/+5
|
* Added urlencode filter to bookLibravatar vallentin2021-01-061-5/+5
|
* Improved comment parsing testLibravatar vallentin2021-01-061-0/+18
|
* Fixed comment parsingLibravatar vallentin2021-01-061-7/+1
|
* Removed implicit borrowing of literals, calls, and more (fixes #404)Libravatar vallentin2021-01-055-55/+105
|
* Added numbers parser testLibravatar vallentin2021-01-051-0/+13
|
* Fixed parsing floatsLibravatar vallentin2021-01-051-2/+4
|
* Improved filter parsing testLibravatar vallentin2021-01-051-1/+35
|
* Fixed precedence of filters and unary operators (fixes #424)Libravatar vallentin2021-01-051-3/+3
|
* Resolved Clippy lintsLibravatar vallentin2021-01-011-10/+10
|
* Added tojson aliasLibravatar vallentin2020-12-301-1/+5
|
* Fixed yaml filter generationLibravatar vallentin2020-12-291-1/+1
|
* Refactored into filters constantLibravatar vallentin2020-12-291-8/+6
|
* Added error to hint enabling serde featuresLibravatar vallentin2020-12-291-0/+9
|
* Added support for redefining variables (fixes #329)Libravatar vallentin2020-12-251-5/+34
|
* Improved implicit borrowing and changed to resolve Askama variables at ↵Libravatar vallentin2020-12-211-49/+127
| | | | compile time
* Remove an explicit lifetime to fix a clippy warningLibravatar Randati2020-12-211-1/+1
|
* Added comment parser testsLibravatar vallentin2020-12-181-0/+17
|
* Added support for nested commentsLibravatar vallentin2020-12-181-4/+22
|
* Added set alias for letLibravatar vallentin2020-12-161-1/+1
|
* Improved template loop generation (fixes #107, #333)Libravatar vallentin2020-12-161-1/+19
|
* Merge pull request #400 from djc/localLibravatar Dirkjan Ochtman2020-12-151-2/+2
|\ | | | | Sync local repo with GitHub
| * Adapt to changed mendes APILibravatar Dirkjan Ochtman2020-11-191-2/+2
| |
* | Fixed whitespace issue when generating match (#399)Libravatar Christian Vallentin2020-12-123-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)Libravatar Christian Vallentin2020-12-031-5/+6
| | | | | | * Fixed #377
* | Allow paths to start with `::` (#393)Libravatar Christian Vallentin2020-12-021-4/+25
| |
* | Improved if statement generation to avoid issues with implicit borrows (#392)Libravatar Christian Vallentin2020-12-011-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)Libravatar Christian Vallentin2020-12-011-33/+173
| |
* | Fixed implicit borrow of expressions (#390)Libravatar Christian Vallentin2020-12-011-2/+3
|/
* Fix urlencode to be usable for URL segments and query keys/values (#384)Libravatar Jakub Valtar2020-11-161-30/+88
|
* Correctly scope macro argument name bindings (fixes #382)Libravatar Dirkjan Ochtman2020-11-131-3/+12
|
* Improve error handling (see #368)Libravatar Dirkjan Ochtman2020-11-025-418/+554
|
* Apply clippy suggestionsLibravatar Dirkjan Ochtman2020-11-021-2/+2
|
* Upgrade to nom 6Libravatar Dirkjan Ochtman2020-11-021-36/+37
|
* fix into_f64 and into_isizeLibravatar Yuxuan Shui2020-09-161-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 calculationLibravatar Dirkjan Ochtman2020-08-251-1/+1
|
* Add mendes integrationLibravatar Dirkjan Ochtman2020-07-282-0/+52
|
* Use modern dyn syntax to prevent warningsLibravatar Dirkjan Ochtman2020-07-281-1/+1
|
* Point to relevant book chapter from the filters module docsLibravatar Dirkjan Ochtman2020-07-231-2/+2
|
* Clean up clippy issuesLibravatar Dirkjan Ochtman2020-07-201-8/+7
|
* Add fmt filter that swaps the first two arguments to format!().Libravatar Andrew Dona-Couch2020-07-142-1/+41
| | | | | | This allows a more natural filter usage: `{{ val | fmt("{:?}") }}` as well as enabling convenient filter composition: `{{ price | to_f64 | fmt("${:.2}") | center }}`