Daniel James
dbf576d8cf
Simplify error reporting for unzip.
2016-03-06 22:23:06 +00:00
Daniel James
3c18dc4f42
Remove some more old stuff from BoostArchive.
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
438a81be26
Remove unused error page file.
...
It appears it hasn't been used since 2010 (in
2df3d39042 ).
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
94a7c9bc6c
Remove remaining version handling code.
2016-03-06 22:23:06 +00:00
Daniel James
93278056ac
Remove expiry date handling from BoostArchive.
2016-03-06 22:23:06 +00:00
Daniel James
ced0d34835
Remove HTML processing functions from BoostArchive
2016-03-06 22:23:05 +00:00
Daniel James
b0faef60f2
Remove 'archive_subdir' support from BoostArchive.
2016-03-06 22:23:05 +00:00
Daniel James
aeeb9af7e9
Remove 'extractor' stuff from BoostArchive.
2016-03-06 22:23:05 +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
Daniel James
ffc3b72a43
Support json files.
2016-03-05 10:10:24 +00:00
Daniel James
497af38189
Fix search+replace error.
2016-03-03 16:18:13 +00:00
Daniel James
94fc1afd9d
Remove the restriction on miscellaneous libraries.
2016-02-28 23:44:27 +00:00
Daniel James
c1ec0057eb
Stop a useless message.
...
Was just creating noise. Possibly should just let libraries use
miscellaneous as they want.
2016-01-10 15:18:25 +00:00
Daniel James
a50a35a442
Can only use DOMNodeList as an array in lastest PHP versions.
2015-12-29 14:21:26 +00:00
Daniel James
c3f81f24f7
Fix function that should be static
2015-12-29 14:13:37 +00:00
Daniel James
76affee511
Fix RSS bug from python to php conversion.
...
The php and python versions of fragment_to_string act differently for
xml nodes that aren't fragments. I really should have called
fragment_to_string something different, or at least only used it for
actual fragments.
2015-12-29 09:29:35 +00:00
Daniel James
294dad5b45
Fix search and replace error.
2015-12-19 14:49:55 +00:00
Daniel James
fbdfede44c
Fix python function name in php conversion.
2015-12-19 14:45:32 +00:00
Daniel James
29e597e5b1
Port python code to php
...
Having the site in two different languages is a bit of a pain, so
convert everything to PHP.
2015-12-19 14:30:46 +00:00
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
dd8be1786c
Release 1.60.0
2015-12-17 18:54: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
80c11140c8
Add special versions 'hidden' and 'unreleased'.
...
So that 'boost-version' is never null.
2015-11-15 15:08:32 +00:00
Daniel James
f3402a42f2
Mark beta releases + overwrite for final release.
...
Still have to remove libraries manually, so if a library isn't in a
release will need to do that.
2015-11-15 15:08:32 +00:00
Daniel James
7c34d9b9d4
Normalize categories propely when loading from metadata.
...
This was causing superfluous entries in the library history.
2015-11-14 20:50:44 +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
472e0deb1a
Fix template when there are no params.
2015-11-06 15:02:30 +00:00
Daniel James
12ddd61033
Validate submodule urls.
2015-10-29 00:19:21 +00:00
Daniel James
ca1055f2e3
Remove use of ENT_XML1.
...
Not available in php 5.3.
2015-10-12 22:44:45 +01:00
Daniel James
43363a2a32
Self-closing element for startElement;endElement.
2015-10-12 21:52:29 +01:00
Daniel James
1b63392439
Implement outputMemory's flush parameter.
2015-10-12 21:52:29 +01:00
Daniel James
d2e39b26c1
Slightly abstract writing in BoostLibraries_XMLWriter.
...
Might later expand it to support more of XMLWriter, such as writing to a
resource (openURI).
2015-10-12 21:52:28 +01:00
Daniel James
399f3b528b
Hacky emulation of XMLWriter.
...
XMLWriter isn't always available, so this will do as a replacement. I
wonder if it would have been easier to convert the code to create a
DOMDocument or something similar.
2015-10-12 21:52:28 +01:00
Daniel James
6dda66cb31
Stop using 'git -C', not supported on old git.
2015-10-11 20:20:19 +01: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
59737502bc
Work without a config file if necessary.
...
Makes it easier to run the tests.
2015-09-08 13:18:12 +01:00
Daniel James
b6d2e41e81
Update test_filters for better UTF-8 handling.
2015-09-08 13:18:12 +01:00
Daniel James
d906753f3c
Fix BoostVersion::page_version for git branches.
2015-08-23 17:59:28 +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
f024be9c11
Merge branch 'beta'
2015-08-23 14:58:34 +01:00