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
Daniel James
65e910553b
Release 1.59.0
2015-08-13 16:52:07 +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
7479780ad1
Handle missing category in library data.
2015-05-16 12:13:19 +01:00
Daniel James
6bff54b597
Another fix for old php.
2015-05-12 02:22:10 +01:00
Daniel James
93a3d601a9
Will hopefully fix the library list.
2015-05-12 02:21:21 +01:00
Daniel James
fd367cf81a
Only allow 'Miscellaneous' libraries that aren't in other categories.
2015-04-27 00:07:19 +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
1beb15a282
Validate categories when updating library data.
...
Just a quick implementation for now, should be done more generally.
2015-04-21 00:32:12 +01:00
Daniel James
7db317dd25
Create json output from array of BoostLibrary.
2015-04-21 00:20:08 +01:00
Daniel James
b70a11aa95
Remove the $info stuff.
2015-04-21 00:20: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
65f53470aa
Remove $info stuff from BoostLibrary.
...
Module + path can be set after construction. This will be useful when
loading from a release without the git metadata. Also, the $info stuff
was pretty rubbish.
2015-04-21 00:20:08 +01:00
Daniel James
6b8859aeba
Display regression docs from a local repo clone.
2015-04-12 15:18:06 +01:00
Daniel James
c0215c6588
Add configuration variable for data directory.
2015-04-12 15:18:06 +01:00
Daniel James
5a9dda8347
Prep for 1.58.0 release.
...
Not happening yet, just getting it ready for the release.
2015-04-06 18:59:57 +01:00