2
0
mirror of https://github.com/boostorg/website.git synced 2026-02-20 15:22:08 +00:00
Commit Graph

547 Commits

Author SHA1 Message Date
Daniel James
6156e13636 Merge remote-tracking branch 'origin/feature/more-mustache-support' 2016-05-22 23:25:19 +01:00
Daniel James
c6b8722361 Add signature + windows downloads. 2016-05-19 23:30:56 +01:00
Daniel James
18904dd490 Wonky path/file handling for partials.
The ruby version resolves partial paths to the current working
directory, this resolves them to the path of the current file. I can't
see it specified anywhere and this seems like better behaviour to me.
2016-05-19 23:19:08 +01:00
Daniel James
32c9ac5114 Make 'render' return a string. 2016-05-19 23:18:34 +01:00
Daniel James
73ccea8a16 Preset tokenizer regexp. 2016-05-18 18:54:31 +01:00
Daniel James
ddbe2d277e Reindent interpret. 2016-05-18 18:54:31 +01:00
Daniel James
2059fc7c22 Convenience function for checking regexp matches. 2016-05-18 18:54:19 +01:00
Daniel James
e1f29e7df7 Hopefully better node representation. 2016-05-18 18:54:19 +01:00
Daniel James
831fc57a2e Partials. Just from an array for now. 2016-05-18 18:54:19 +01:00
Daniel James
e8922d0698 Move parameters into a class, implementing proper lookup. 2016-05-18 18:54:18 +01:00
Daniel James
3bbbb5d883 Remove pointless array member. 2016-05-18 18:54:18 +01:00
Daniel James
569bc80157 Stop version check overwriting page version. 2016-05-18 08:58:41 +01:00
Daniel James
59bbb4cb3d Small clean-up. Mainly renaming variables. 2016-05-17 09:10:10 +01:00
Daniel James
7ea257f921 Single stack. 2016-05-17 09:10:10 +01:00
Daniel James
d26b41a12e Update comment. 2016-05-17 09:10:10 +01:00
Daniel James
5d71cde30c Support delimiters. 2016-05-17 09:10:10 +01:00
Daniel James
1082b6ddef Add sha256 signatures. 2016-05-15 12:01:49 +01:00
Daniel James
6c23a3a35e Add link to tar.bz2 file. 2016-05-13 13:16:44 +01:00
Daniel James
51cee3fe7e Release 1.61.0 2016-05-13 09:33:54 +01:00
Daniel James
5312289756 Fix for php 5.3 2016-05-11 09:57:30 +01:00
Daniel James
9f681ce318 Basic tests using the mustache spec tests. 2016-05-11 09:49:21 +01:00
Daniel James
2487142d91 First stab at dotted variables. 2016-05-11 09:37:20 +01:00
Daniel James
34b41aa161 Remove pointless square brackets. 2016-05-11 09:37:19 +01:00
Daniel James
ecbcd71de8 Handle lists of values.
I don't think I need to check for any types other than objects/arrays
here. But I'm more interested in handling arbitrary templates than
arbitrary data.
2016-05-11 09:37:19 +01:00
Daniel James
9b6064dbb7 Slightly better error handling. 2016-05-11 09:37:17 +01:00
Daniel James
dd5eeeac38 Detect when tags fail to parse. 2016-05-11 09:37:03 +01:00
Daniel James
975d35a3cd Some more things that aren't supported. 2016-05-11 09:13:02 +01:00
Daniel James
5162e5d86e Handle standalone tags.
Messy!
2016-05-11 09:13:02 +01:00
Daniel James
8e3366480a Get operator details before processing text.
Need to know the operator to handle standalone tags.
2016-05-11 09:13:02 +01:00
Daniel James
5e1ade2227 Allow whitespace in tags. 2016-05-11 09:13:02 +01:00
Daniel James
a14549192a Function to render template to string. 2016-05-11 09:13:01 +01:00
Daniel James
1a3dedd63b Update comment on Mustache support.
Might support lambdas? But don't think partials or set delimiters are
worth the bother.
2016-05-11 09:13:01 +01:00
Daniel James
1bb1664ad4 Unescaped html 2016-05-11 09:13:01 +01:00
Daniel James
7e1ecb8830 Named subpatterns. 2016-05-11 09:13:01 +01:00
Daniel James
d16dd734f4 Template comments. 2016-05-11 09:13:01 +01:00
Daniel James
6dcd19cb00 Turn on DOTALL and MULTILINE flags. 2016-05-11 09:13:01 +01:00
Daniel James
3eb7a67899 Extended PCRE syntax. 2016-05-11 09:13:01 +01:00
Daniel James
fe7b6e1d34 Move template code into its own file. 2016-05-11 09:13:01 +01:00
Daniel James
095be89684 Convert the tests to use Nette Tester.
This requires the use of composer, which I've been avoiding to make
running the website easier, but in this case it isn't needed as part of
general operations, so it should be okay.
2016-05-11 09:02:21 +01:00
Daniel James
72eed824d8 Quick and dirty mustache style template engine.
I didn't want to use the existing mustache, as I want to keep the site
dependency free for now, and not have to deal with caching compiled
templates. Might switch to using composer on the site in the future.

This isn't full mustache syntax, and might behave slightly differently?
2016-05-08 14:08:44 +01:00
Daniel James
8cac79b264 Extra library output code. 2016-05-06 09:46:17 +01:00
Daniel James
f5614c4da9 Fix character encoding. 2016-05-06 09:44:15 +01:00
Daniel James
f2551f20f9 Sort libraries by name. 2016-05-06 09:38:27 +01:00
Daniel James
67d1c7ce7f Messy template for libraries.htm in main repo. 2016-05-06 09:15:21 +01:00
Daniel James
5ad81026e9 Move scan_location_for_new_quickbook_pages to BoostPages. 2016-04-10 10:08:55 +01:00
Daniel James
00ba6c5e5a Replace match_pages with some basic filtering. 2016-04-10 10:08:55 +01:00
Daniel James
726020e1f7 Stop filtering pages in get_downloads. 2016-04-10 10:08:54 +01:00
Daniel James
36eb7eeff0 Filter pages before generating everything. 2016-04-10 10:08:54 +01:00
Daniel James
ec7032f433 Clean BoostSiteTools a tad bit more. 2016-04-10 10:08:54 +01:00
Daniel James
00bc1a97a5 Move RSS generation into its own class. 2016-04-10 10:08:54 +01:00