Daniel James
e2a0580191
Proper support for HEAD in display_raw_file.
2015-12-18 08:50:14 +00:00
Daniel
8f04920749
Merge branch 'feature/error-message'
2015-12-18 08:49:43 +00:00
Daniel James
a53ed74520
Try reactivating corrupt zipfile error.
...
Unzip appears to have started returning that status correctly. Will have
to wait and see if it causes the problems it used to cause.
2015-11-06 15:13:18 +00:00
Daniel James
a60840c0c1
Update $params in extract_file/unzip_error, and use with error_page.
2015-09-20 13:12:12 +01:00
Daniel James
f1bd8d55e7
A more flexible error page.
2015-09-20 13:08:31 +01:00
Daniel James
9800b5df2c
Tweak error message.
2015-09-20 12:52:59 +01:00
Daniel James
2d41fa59a4
Fix for PHP 5.3
2015-09-20 12:47:37 +01:00
Daniel James
075c84e98c
Appropriate HTTP codes for unzip error messages.
2015-09-20 12:42:11 +01:00
Daniel James
b17e5d64bc
More detail in unzip error message.
2015-09-18 13:29:45 +01:00
Daniel James
3abfe38677
Add a 'min version' parameter to the matcher list.
...
Will match for any versions later than the given version. Note that the
first match is the successful one, so will need to put versions in
reverse order, as will be seen in next commit.
2015-08-23 17:25:23 +01:00
Daniel James
2cd61259d8
Add an error message to development sites for missing extractors.
2015-08-04 23:30:21 +01:00
Daniel James
d197f0e805
Serve SVG files.
2015-08-04 22:34:04 +01:00
Daniel James
6b8859aeba
Display regression docs from a local repo clone.
2015-04-12 15:18:06 +01:00
Daniel James
b78601ebfb
Only use 301 redirect for releases.
2015-04-02 12:04:32 +01:00
Daniel James
796b9511ab
Display xsl files on website.
...
Fixes https://svn.boost.org/trac/boost/ticket/11007
2015-02-23 09:08:39 +00:00
Daniel James
d23d58ff30
Bump the date again.
2015-02-07 21:44:14 +00:00
Daniel James
c066809eb4
New modified date.
2015-02-07 17:47:13 +00:00
Daniel James
107ea4f99d
Go back to using the URL to generate the version path.
...
The new code doesn't work for something like:
http://www.boost.org/development/tests/release-1_35_0/developer/summary.html
As it doesn't follow the same URL convention as the documentation.
2014-08-19 18:06:14 +01:00
Daniel James
aca73143c7
Try to fix test results.
...
It was incorrectly changing 'develop' to 'boost_develop'.
2014-08-19 17:49:57 +01:00
Daniel James
334388a833
Restore change lost in f8cc382db
2014-08-19 17:34:53 +01:00
Daniel James
aaed6a4525
Merge branch 'master' into beta
...
Conflicts:
common/code/boost_archive.php
generated/libraries.txt
2014-08-19 17:14:29 +01:00
Daniel James
1f7fca4e0e
Fix getting started guide for 1.56.
2014-08-09 20:27:50 +01:00
Daniel James
666b0354df
Fix more php 5.3 issues.
...
Php code in site-tools still requires 5.4, but that's normally not run on the server.
2014-08-07 21:27:43 +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
54b4ed12b4
Move boost_archive_render_callbacks + rename.
2014-08-07 20:34:31 +01:00
Daniel James
eb8a65620d
Convert display_dir into a class.
2014-08-07 20:34:31 +01:00
Daniel James
f8cc382db8
Create a BoostArchive class.
2014-08-07 20:34:31 +01:00
Daniel James
8574966611
Make params a member.
2014-08-07 20:34:31 +01:00
Daniel James
13ce1c1ca6
Convert filters to classes.
2014-08-07 20:34:30 +01:00
Daniel James
88d546207d
Use a version object from the start.
...
Although it still doesn't assume that the version is an object in the
filter and template functions, just in case they're called by some other
means.
2014-08-07 20:34:30 +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
287032b9d1
Set build docs version to null.
...
Which is accurate, and removes the need for a special case. If boost
build needs special behaviour, that could be set by adding an extra
entry to `$params`.
2014-05-03 16:01:18 +01:00
Daniel
a965217851
Don't display link to latest version in error pages.
2014-04-30 22:51:05 +01:00
Daniel
8a09c60cd5
Only support arrays in file_not_found.
2014-04-30 22:51:05 +01:00
Daniel
d2f2b875be
Use $params in get_archive_location.
2014-04-30 22:51:05 +01:00
Daniel
ee8ea45f9e
Use archive_dir from params in latest_link.
2014-04-30 22:51:05 +01:00
Daniel James
4ece40aeac
Fix latest_link for directories.
2014-04-30 09:16:34 +01:00
Daniel James
26e90f1602
Move latest_link into boost_archive.php.
...
It's a display function rather than a filter function.
2014-04-30 09:12:57 +01:00
Daniel James
874164e494
Pass full $params array to 'display_template'.
...
The 'display_template' mechanism is pretty rubbish. There's only ever
one template, and it's probably not flexible enough to ever be of use.
Might be best to just remove it.
2014-04-30 09:10:02 +01:00
Daniel James
3a683575db
Avoid a couple of warnings.
2014-04-13 14:24:47 +01:00
Daniel James
11c12a0419
Fix test_filters.php.
...
Did it ever work?
2014-04-13 14:24:47 +01:00
Daniel James
7d1bbcd38b
A more capable 'resolve_url'.
2014-02-23 14:32:35 +00:00
Daniel James
ed28dbbf2b
Display documentation for super project branches.
...
This won't actually work, as the documentation isn't on the server.
2014-02-01 21:54:22 +00:00
Daniel James
74df1e9486
Mark documentation updated with every release.
...
[SVN r86670]
2013-11-12 21:42:08 +00:00
Daniel James
06de38c810
Website: Merge latest documentation links to live.
...
[SVN r80770]
2012-09-30 10:35:00 +00:00
Daniel James
e0f90d8c00
Website: Update script to use fixes when available.
...
[SVN r80718]
2012-09-26 20:10:53 +00:00
Daniel James
fc003287e9
Website: Bump modified date.
...
[SVN r80661]
2012-09-23 09:49:27 +00:00
Daniel James
35a0ab9d0a
Website: Merge from live to beta
...
[SVN r80341]
2012-08-31 22:46:03 +00:00
Daniel James
232b37dbc7
Website: For a change to cache details.
...
[SVN r80340]
2012-08-31 22:35:40 +00:00
Daniel James
b0e5a052f6
Website: Fix boost build docs.
...
[SVN r80339]
2012-08-31 22:31:38 +00:00