Daniel James
2d24fcb2a5
Fixes for regenerating site from any directory.
2016-03-30 09:18:01 +01:00
Daniel James
ca4dc5b017
Make display_template static.
2016-03-06 22:23:08 +00:00
Daniel James
d21c628e98
Rename BoostFilters to BoostFilter
2016-03-06 22:23:08 +00: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
514753eae2
Update test_filters.php
2016-03-06 22:23:07 +00:00
Daniel James
84e86e2009
Fix sending data to template.
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
886b3e1a7a
A little bit of final BoostArchive cleanup.
2016-03-06 22:23:07 +00:00
Daniel James
81219c6d06
Make all functions in boost_archive.php member functions.
2016-03-06 22:23:07 +00:00
Daniel James
28573d56db
Simplify parameter handling in boost_archive.php
2016-03-06 22:23:07 +00:00
Daniel James
199988591b
Store zipfile details in variables instead of $params.
2016-03-06 22:23:07 +00:00
Daniel James
ef3381a3f0
Remove all mentions of $params from unzip code.
2016-03-06 22:23:07 +00:00
Daniel James
81f32dd5c0
Remove 'key' member of params.
2016-03-06 22:23:06 +00:00
Daniel James
ecc736254a
Get pattern when needed.
2016-03-06 22:23:06 +00:00
Daniel James
0d809fcb0b
Don't mutate params member in BoostArchive
2016-03-06 22:23:06 +00:00
Daniel James
d2fba3ead4
Inline get_archive_location
2016-03-06 22:23:06 +00:00
Daniel James
fe3dcc08b7
Rejig BoostWeb::error_page.
2016-03-06 22:23:06 +00:00
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