2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-24 06:22:15 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Daniel James
451e564c26 Use exceptions for http errors
Not how I'd normally do this, but seems cleaner than exiting the script
in the middle of a constructor.
2016-11-30 01:30:37 +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
068a037ea3 Store version string for title in BoostDocumentation
Also pulled the BoostDocumentation logic in libraries.php into the
class, which makes it slightly cleaner.
2016-11-30 01:30:36 +00:00
Daniel James
ea3fc601a6 Store documentation details in BoostDocumentation
Allows the library list implementation to be a bit cleaner.
2016-11-30 01:30:15 +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
4e7e504f1d Fix date of last release in docs
Was relying on boost.php being updated for every release, but now the
version number is stored in a separate file, so check that instead.
2016-11-30 01:10:30 +00:00
Daniel James
d8c89f8c9a Move the documentation configuration into boost_documentation
Remove a little duplication and makes it easier to see how the class is
actually used. Would normally be stored in a separate file, but I didn't
really want to create one.
2016-11-30 01:10:20 +00:00
Daniel James
c465903879 Make the documentation fix directory configurable
After merging this, I'm planning on splitting putting the fix directoy
in a separate repo, as it's getting large.
2016-11-30 01:08:36 +00:00
Daniel James
d827cf8866 Fix links from regression source into boost source 2016-11-14 22:53:35 +00:00
Daniel James
c8f365bd26 Merge branch 'develop'
Pretty large development merge. Including:

- More robust PHP error handling.
- Automatically update release data from various sources. Manually
  updating a json file was too error prone.
- Normalize hashes of release notes, so that they won't need to be
  manually updated so often.
- Small improvements to quickbook page data.
- Cache html generated from quickbook - so no need to reparse when
  changing release data. Much of the site can now be rebuilt without
  installing quickbook, although changes in quickbook won't be included.
- Scripts in site-tools have are more consistent at the command line,
  and all support '--help' (although some have very little information).
- Automatically update more of the site for new releases.
2016-10-30 19:57:32 +00:00
Daniel James
a64572a217 Check fix_dir as well as archive_dir in latest_link 2016-10-27 19:40:01 +01:00
Daniel James
d2ea07cee1 Fix documentation list when no PATH_INFO 2016-10-26 19:38:13 +01:00
Daniel James
58543a3ae5 Fix the unversioned library page. 2016-09-28 22:42:30 +01:00
Daniel James
3bd06c1594 Cleaner code to decide whether to show documentation list. 2016-09-21 09:14:21 +01:00
Daniel James
c7369480c7 Extract the documentaion path logic.
I normally try to avoid using compact/extract, but that seems the
simplest way to do this here.
2016-09-21 09:14:21 +01:00
Daniel James
f160d6cc55 Autoload URL handling. 2016-05-26 00:12:07 +01:00
Daniel James
b2d368cbe9 Check that path exists earlier.
To avoid warning when getting the last_modified date.
2016-05-25 14:41:38 +01:00
Daniel James
3f7ba6f770 Fix regression documentation. 2016-05-25 14:41:07 +01:00
Daniel James
569bc80157 Stop version check overwriting page version. 2016-05-18 08:58:41 +01:00
Daniel James
51ecd32bdf Remove special case code for build docs + regression results. 2016-03-06 22:23:08 +00:00
Daniel James
e97035c7d6 Fix directory listing. 2016-03-06 22:23:08 +00:00
Daniel James
106c6e73a3 Replace more of params with variables. 2016-03-06 22:23:08 +00:00
Daniel James
9b8ffcfed3 Remove support for override_extractor. 2016-03-06 22:23:08 +00:00
Daniel James
2e675975b9 Use variable for 'use_http_expire_date'
Should possibly always be true.
2016-03-06 22:23:08 +00:00
Daniel James
c8faba5777 Remove use of archive_file_prefix.
I think it was only really appropriate for zipfiles, and should never
have been used in this way.
2016-03-06 22:23:08 +00:00
Daniel James
79cad5cf4c Remove more uses of params in BoostDocumenation. 2016-03-06 22:23:07 +00:00
Daniel James
b623ed84a4 Remove archive_subdir parameter. 2016-03-06 22:23:07 +00:00
Daniel James
ea2e9c2c72 Replace params[key] with variable. 2016-03-06 22:23:07 +00:00
Daniel James
a0088752f3 Inline get_archive_location. 2016-03-06 22:23:07 +00:00
Daniel James
86a4bd1f4c Set up BoostFilterData earlier. 2016-03-06 22:23:07 +00:00
Daniel James
25322ab066 Replace $params with class in filters. 2016-03-06 22:23:07 +00:00
Daniel James
fe3dcc08b7 Rejig BoostWeb::error_page. 2016-03-06 22:23:06 +00:00
Daniel James
01f32a76da Inline some now trivial functions in BoostDocumentation. 2016-03-06 22:23:06 +00:00
Daniel James
cc4686cb7b Extract some of the common code into a new file.
It's a bit arbitrary, so might reconsider later.
2016-03-06 22:23:06 +00:00
Daniel James
5b64662904 Clean up 'last_modified' handling, not need in BoostArchive 2016-03-06 22:23:06 +00:00
Daniel James
60ea43d74b Remove the 'zipfile' parameter, and supporting code.
Now BoostDocumentation is always from the file system. BoostArchive
always from a zipfile.
2016-03-06 22:23:05 +00:00
Daniel James
1c4b3b1dda Separate classes for serving documentation + test results.
Obviously a lot of code duplication, that will be removed soon.
2016-03-06 22:23:05 +00:00