Daniel James
40688e1552
Update links for https
...
Mostly in comments. Might be better to use relative links from html.
2018-04-13 09:14:48 +01:00
Daniel James
53ea7b52cd
Don't write out empty authors tag
2017-07-02 14:52:36 +01:00
Daniel James
2b2298c599
Add support for 'removed' status + remove TR1
2017-07-02 14:52:36 +01: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
f34369d42c
Update library data for hidden libraries
...
For the version, I used the earliest tag in the library. Stopwatch won't
update correctly until my pull request is accepted.
2016-11-30 05:29:47 +00:00
Daniel James
b6fa0ec132
Include hidden libraries in get_for_version
2016-11-30 01:54:00 +00:00
Daniel James
3e28274c53
Clean up some of the confusing version code
2016-11-14 22:54:08 +00:00
Daniel James
dfa8c97cc9
Fix hidden check
...
The 'hidden' method creates a hidden version, it doesn't check for hidden.
2016-11-14 22:52:28 +00:00
Daniel James
3e23bcae9a
Support status=unreleased
2016-11-14 22:45:28 +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
34ce8f168e
Only include visible libraries in library list
2016-10-27 20:09:13 +01:00
Daniel James
975a4c48f8
Converted some error message to interpolated strings.
...
I'd missed a comma in one of them, so it wouldn't work. I find
interpolated strings to be more robust in this regard.
2016-09-29 12:30:33 +01:00
Daniel James
b8120cc53c
Adjust a lot of the error handling.
...
Use exceptions for most internal errors. Return error codes for most errors.
2016-09-29 02:08:52 +01:00
Daniel James
862024b0af
Don't update new library versions in every beta.
2016-09-15 10:28:31 +01:00
Daniel James
9a7a44e073
Work when latest_version isn't set.
2016-08-24 17:26:27 +01:00
Daniel James
43339dda58
Update latest version on release.
2016-08-24 17:16:20 +01:00
Daniel James
ac9efd7b59
Store the latest library version.
...
Will need to automatically update when updating doc list.
2016-08-24 17:16:19 +01:00
Daniel James
d404463956
TODO notes where might want to use hidden libraries.
...
Currently just pretend they don't exist.
2016-07-04 23:31:35 +01:00
Daniel James
23e0d6c01e
Add support for status=hidden.
2016-07-04 23:14:29 +01:00
Daniel James
aafca815c0
Remove transitional code.
2016-07-04 22:45:50 +01:00
Daniel James
2679edc6fa
Script to change 'module' to 'library_path' in metadata.
2016-07-04 22:45:49 +01:00
Daniel James
c97dd3c96c
Allow update_finish to be called without a version parameter.
2016-07-04 22:45:49 +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
f160d6cc55
Autoload URL handling.
2016-05-26 00:12:07 +01:00
Daniel James
dfd1358f68
Make sure every category has a library array.
2016-05-25 14:41:06 +01: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
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
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
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
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
652cee39fb
Don't include unreleased libraries in release list by default.
2015-01-10 13:44:58 +00:00
Daniel James
66160d2fea
Move library loading into boost_libraries.
...
Still a bit shoddy, but at least it's only in one place.
2015-01-10 13:44:58 +00:00
Daniel James
b22054c9b0
Another fix for old versions of php.
2015-01-06 00:39:09 +00:00
Daniel James
2fb1921b9b
Comment out check that libraries has version info.
...
I'm now generating json for develop and master, which contains libraries
with no version info. There are other issues to deal with that might
point to a better solution.
2015-01-06 00:26:01 +00:00
Daniel James
5d9121f71f
Clean up some library details handling code.
2014-08-20 20:08:32 +01:00