2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-26 19:12:15 +00:00
Commit Graph

529 Commits

Author SHA1 Message Date
Daniel James
5d71cde30c Support delimiters. 2016-05-17 09:10:10 +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
Daniel James
7be5ca9a1f Remove direct use of BoostPages in RSS code. 2016-04-10 10:08:54 +01:00
Daniel James
684b764aec Remove BoostPageSettings::$feeds. 2016-04-10 10:08:54 +01:00
Daniel James
7c9094f4f3 Remove BoostPageSettings::$downloads. 2016-04-10 10:08:54 +01:00
Daniel James
7e96468fa3 Remove BoostPageSettings::$pages. 2016-04-10 10:08:54 +01:00
Daniel James
1db0568654 Remove BoostPageSettings::$index_pages. 2016-04-10 10:08:54 +01:00
Daniel James
0f33b8211b Remove use of 'compact', I don't like it now. 2016-04-10 10:08:54 +01:00
Daniel James
0fab99b918 Merge branch 'feature/separate-docs-and-test-results'
The documentation pages and the test results were handled by the same
code. That made sense originally when they were served in a very similar
manner, but over time their requirements got increasingly different and
it was getting overcomplicated to serve both in one place. So replace
the generic implementation with two more specific implementations.
2016-04-10 09:57:27 +01:00
Daniel James
7ade8661fc Switch to sourceforge downloads for 1.61.0 beta1. 2016-04-06 15:31:53 +01:00
Daniel James
a9bf1bc203 Add link to windows binaries.
Accidentally comitted this to the beta branch first, so this commit is duplicated.
2016-04-05 22:33:09 +01:00
Daniel James
abf87cd904 Update beta details. 2016-04-04 16:34:15 +01:00
Daniel James
bf8fc30581 Include who signed the release.
I need to look into the best way to present this stuff.
2016-04-04 09:12:56 +01:00
Daniel James
d030dbcab1 Add download details, including download signature for beta.
Not pushing to front page until we have proper download links. Will
probably adjust somewhat for the proper release. The location of the
signature file will almost certainly change.
2016-04-04 09:02:50 +01:00
Daniel James
36b08bcb91 Hard-code in 1.61.0 release details.
Going to replace with a better mechanism later.
2016-03-30 09:18:01 +01:00
Daniel James
3f4540944a Use a nested array to allow for more download data. 2016-03-30 09:18:01 +01:00
Daniel James
91d1d48fa2 Return full URLs in download_table_data. 2016-03-30 09:18:01 +01:00
Daniel James
83d049ab38 Separate function for getting download data to display in table. 2016-03-30 09:18:01 +01:00
Daniel James
2d24fcb2a5 Fixes for regenerating site from any directory. 2016-03-30 09:18:01 +01:00
Daniel James
ca4dc5b017 Make display_template static. 2016-03-06 22:23:08 +00:00