2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 16:52:15 +00:00

57 Commits

Author SHA1 Message Date
sdarwin
1c53e5434f Lock mustache/spec to sha in composer.lock 2021-03-09 19:33:39 +00:00
Donovan
047a33cb22 Remove all std references
- Removed 'std', 'std-proposal', 'std-tr1' throughout the codes
- Titlize 'C++ standard minimum level' in the doc page
2021-01-11 10:19:38 +08:00
Glen Fernandes
d6d26b348d Further changes from US-ASCII to UTF-8 2020-04-10 17:41:08 -04:00
Daniel James
a4f4815023 Code changes to support HTTPS 2018-04-13 09:14:48 +01:00
Daniel James
d60c77817a Test that base_links works with a https base 2018-03-25 11:22:43 +01:00
Daniel James
48f05b1a47 Use html_encode that handles invalid UTF-8 everywhere
Trying to view documentation with an invalid path would cause an error when it
encoded the path in the 404 error page, so rather than fix that case, just use
a safer function everywhere. Although maybe should be a bit more cautious about
displaying user supplied text?
2018-02-09 17:21:53 +00:00
Daniel James
9dd59ce7e0 Use json for release data
Wrote some custom code for writing json as the pretty print option isn't
available on older versions of php.
2018-02-06 20:32:12 +00:00
Daniel James
2f6d3a0e3f Add viewport metatag to boostbook documentation 2017-11-05 22:15:55 +00:00
Daniel James
52761eb196 Disable one of the tests for PHP 5.3 2017-02-19 13:39:06 +00:00
Daniel James
889bdc314f Allow syntax error in travis test 2017-02-09 13:28:48 +00:00
Daniel James
9489e3b0b7 Use exit(255) to match php 2017-02-09 13:28:46 +00:00
Daniel James
5dfc5183e0 Fix a couple of error handling issues
- Use `http_response_code` as it's a bit more robust than using `header`.
- Check errors against `error_reporting()`, so that error checks can be
  ignored when appropriate.
2017-02-09 13:28:45 +00:00
Daniel James
e02f26deaa Fix filter test for php 5.4+ 2017-02-09 13:28:44 +00:00
Daniel James
12ec17b86c Some tests for boost_state + a fix. 2017-01-21 13:13:34 +00:00
Daniel James
768ceaa946 Fix case insensitive category names
Now they are indexed by lower case name, and library category is stored
in lower case.
2017-01-21 13:13:34 +00:00
Daniel James
d74bcf2a29 Use BoostDocumentation instead of BoostFilterData
Move some of BoostFilterData's member into BoostFilter.
2016-11-30 01:30:36 +00:00
Daniel James
be4fd29599 Strict version parsing in BoostVersion::from
It used to just grab anything that looked like a version number from a
string. Now the whole string must be a version number. Left the library
list in a little bit of a mess, but will clean that up next.
2016-11-30 01:29:27 +00:00
Daniel James
5ae00e9eb0 Support more release stages in BoostVersion
So that a release can have a version number before it goes into beta.

Note: needed to run update-doc-list for this to work, as the serialised
documentation list includes version numbers.
2016-11-14 22:53:35 +00:00
Daniel James
136f1c8f33 Allow separator between beta and number. 2016-09-29 10:54:08 +01:00
Daniel James
7ca520e013 Get the tests working again. 2016-09-29 02:08:52 +01:00
Daniel James
8d15a6f84d More BoostLibraries tests. 2016-08-24 17:26:28 +01:00
Daniel James
0cfef1fceb Store library path in metadata, instead of module.
This allowed me to simplify some of update-doc-list as there's no longer
any need to work out the module for a library.  This might break
update-doc-list in places. Will work on that next.
2016-07-04 22:45:49 +01:00
Daniel James
75000f5de7 Move tests into subdirectory.
To avoid running all the vendor tests on Travis.
2016-06-02 09:04:44 +01:00
Daniel James
f9034e55a7 Remove dependencies on DOMDocument. 2016-06-02 09:04:44 +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
831fc57a2e Partials. Just from an array for now. 2016-05-18 18:54:19 +01:00
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
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
d21c628e98 Rename BoostFilters to BoostFilter 2016-03-06 22:23:08 +00:00
Daniel James
86a4bd1f4c Set up BoostFilterData earlier. 2016-03-06 22:23:07 +00:00
Daniel James
514753eae2 Update test_filters.php 2016-03-06 22:23:07 +00:00
Daniel James
140b6c042e Rejig the update mechanism.
Now cleans up the database even when there are no updates. Updating for
a relese is better integrated. And also sets up the ground work for
deleting libraries.
2015-11-15 15:08:32 +00:00
Daniel James
b6d2e41e81 Update test_filters for better UTF-8 handling. 2015-09-08 13:18:12 +01:00
Daniel James
914b778b68 Normalize category case in libraries. 2015-04-26 23:59:40 +01:00
Daniel James
3bfd969251 Fix test_libraries for category checks. 2015-04-26 23:59:08 +01:00
Daniel James
061dd50a41 Update from array of BoostLibrary rather than BoostLibraries.
The code was pretty messy because it was using BoostLibraries for
everything, this will hopefully let it be a bit cleaner.

Also removes support for xml metadata files. No one has ever used it.
2015-04-21 00:20:08 +01:00
Daniel James
2f3985736a Remove some more unused filters. 2014-11-05 00:57:50 +00:00
Daniel James
8b28506bdf Update site to use new build sub-site.
Updated redirects, removed now unused filter, added some notes about
directories that need to be set up.
2014-11-05 00:57:50 +00:00
Daniel James
66744b51ab Use $info parameter for BoostLibraries methods. 2014-08-20 20:08:31 +01:00
Daniel James
a713234ed9 Create BoostLibrary for a library's info. 2014-08-20 20:08:31 +01:00
Daniel James
d810ac06b2 Move display_template into BoostArchives.
Also remove 'template' from $params.
2014-08-07 20:34:31 +01:00
Daniel James
ffd362a55d Remove title and charset from params. 2014-08-07 20:34:31 +01:00
Daniel James
75d70fec56 Setup test_libraries properly. 2014-08-07 20:34:31 +01:00
Daniel James
c4c3fa8ce6 Rename boost_libraries to BoostLibraries. 2014-08-07 20:34:30 +01:00
Daniel James
24a8f38712 Better support for beta versions.
It used to just ignore the beta information, but that wasn't quite right.
This does means that the library details will still have information about
the beta version after a release, which isn't desirable, but it
shouldn't be too hard to write something to strip out old beta
information.
2014-07-21 22:29:42 +01:00
Daniel James
860cb21970 Custom html_encode to use UTF-8.
PHP 5.4 uses UTF-8 by default, but PHP 5.3 uses ISO-8859-1 so character
encoding is going wrong there. So replace htmlentities with a function
that uses the correct encoding.
2014-07-20 23:36:24 +01:00
Daniel James
02a6c12cad Rename test_template so it doesn't look like a test. 2014-04-13 14:24:47 +01:00