1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-30 07:08:58 +01:00
Commit Graph

45 Commits

Author SHA1 Message Date
Oliver Steele
a07e5fa28b Add some tests 2017-07-21 11:56:04 -04:00
Oliver Steele
dde3ea7604 Lint 2017-07-19 10:54:38 -04:00
Oliver Steele
29c902f6b3 Coverage 2017-07-15 12:13:07 -04:00
Oliver Steele
c11cf2aa25 Move interpreter ops into evaluator package 2017-07-13 23:46:12 -04:00
Oliver Steele
6ff5721080 Move package expression -> expressions 2017-07-13 20:18:23 -04:00
Oliver Steele
3c242c40f1 Complete #17 sort_natural filter 2017-07-12 13:10:19 -04:00
Oliver Steele
2e5cc60c90 Complete #14 and #15 url{en,de}code filters 2017-07-12 12:34:07 -04:00
Oliver Steele
8882a7ddd7 Rename files -> standard_tags, standard_filters 2017-07-12 08:43:23 -04:00
Oliver Steele
4163dfa842 fun w/ time zones 2017-07-10 22:04:13 -04:00
Oliver Steele
f39a2d25f9 Parse in local time; switch to stdlib strftime 2017-07-10 21:13:13 -04:00
Oliver Steele
fdfc5d3a81 Implement #15 truncate_words filter 2017-07-10 16:47:11 -04:00
Oliver Steele
e332e535e6 remove a debug print 2017-07-08 14:29:33 -04:00
Oliver Steele
8397c5e004 Optional filter arguments declared as functions 2017-07-08 09:08:06 -04:00
Oliver Steele
585cc5df35 Implement uniq filter 2017-07-07 09:32:24 -04:00
Oliver Steele
846987d86a simplify 2017-07-07 07:30:32 -04:00
Oliver Steele
903acb8d2e Split package render->parser 2017-07-07 05:51:40 -04:00
Oliver Steele
a434a750f5 Move generics -> evaluator 2017-07-05 11:35:07 -04:00
Oliver Steele
9691dc203d Move expressions -> expression 2017-07-04 11:12:40 -04:00
Oliver Steele
405c5bf694 Rename Settings -> Config 2017-07-04 11:08:57 -04:00
Oliver Steele
ba874de258 Implement drops 2017-07-03 12:00:43 -04:00
Oliver Steele
e71bc95d5f Lint 2017-07-01 23:52:23 -04:00
Oliver Steele
f6c4299739 Simplify external tag interface 2017-07-01 10:36:47 -04:00
Oliver Steele
a3c646cea2 slice, truncate use runes not bytes 2017-07-01 10:02:00 -04:00
Oliver Steele
2e9903ffe6 Filters are an engine configuration 2017-06-30 16:13:18 -04:00
Oliver Steele
25e97ed864 Uh-oh – strftime gets the day of week wrong!
Temp out some test cases.
2017-06-30 12:17:01 -04:00
Oliver Steele
247bec3376 Use C strptime to format dates 2017-06-30 10:09:56 -04:00
Oliver Steele
8ea72e4300 Add strptime for time parsing 2017-06-29 21:53:11 -04:00
Oliver Steele
6a8127a707 Match split filter to observed 2017-06-29 13:41:04 -04:00
Oliver Steele
09d36504b4 Lint 2017-06-29 13:14:47 -04:00
Oliver Steele
fb26bb3f88 Lint; remove dead code 2017-06-29 12:26:04 -04:00
Oliver Steele
fc227aadc3 Work around missing %-H in strftime 2017-06-29 11:30:43 -04:00
Oliver Steele
e2fd3bbf81 SortByProperty can sort nil first or last 2017-06-29 08:22:12 -04:00
Oliver Steele
c4ff3d2083 Rationalize some filenames 2017-06-29 07:54:31 -04:00
Oliver Steele
3a1506badf Add an type filter; inspect is more robust 2017-06-28 20:49:27 -04:00
Oliver Steele
5ec1f66a88 Implement remaining numeric filters 2017-06-28 16:43:18 -04:00
Oliver Steele
c433c0894e More filters 2017-06-28 15:33:13 -04:00
Oliver Steele
910d4b25cb More filters 2017-06-28 14:41:46 -04:00
Oliver Steele
1630af7664 Implement a big chunk of filters 2017-06-28 13:28:55 -04:00
Oliver Steele
2083747c7d Generic Convert handles conversion to time 2017-06-27 20:56:17 -04:00
Oliver Steele
54b9f137ad Add reverse filter; improve generics 2017-06-27 17:29:50 -04:00
Oliver Steele
61b651ce31 Implement date formats 2017-06-27 16:53:34 -04:00
Oliver Steele
b1cf056e36 Catch unimplemented panics 2017-06-27 16:11:32 -04:00
Oliver Steele
d849e74d1d Implement filters: default; date (w/out format) 2017-06-27 16:02:05 -04:00
Oliver Steele
c4bd99bc2c Lint 2017-06-27 13:36:38 -04:00
Oliver Steele
4189f03261 Move filters to own package 2017-06-27 12:06:24 -04:00