Daniel James
ac91fe9cc7
Fix generate.php for non-standard branches
2017-06-09 21:16:51 +01:00
Daniel James
6d8c91b3b5
Fix download links
2017-04-19 19:31:30 +01:00
Daniel James
6a6fabdab1
Add option to specify version when loading release data
...
Was inferring it from the download page URL, but that isn't currently
following the normal format.
2017-04-17 17:27:59 +01:00
Daniel James
568e661541
Support for new download path
2017-03-22 21:46:29 +00:00
Daniel James
0f3ebbdf09
When checking release data, convert DateTime objects to strings
...
This will trigger a rebuild of the 1.63.0 release notes, but that should
be tolerable. Without this change, different versions of php will encode
the DateTime differently in json, resulting in unnecessary rebuilds.
2017-03-02 10:27:26 +00:00
Daniel James
40126d7210
Add configuration option for quickbook executable
2017-03-02 10:27:26 +00:00
Daniel James
5e03142069
Remove unnecessary 'clear' tag
...
It's already in $BOOST_ROOT/index.php, so isn't needed in the template
file.
2017-03-02 10:27:26 +00:00
Daniel James
52761eb196
Disable one of the tests for PHP 5.3
2017-02-19 13:39:06 +00:00
Daniel James
f5540f032c
Fix the error_handler test cases
...
The problem is that when nette tester runs the tests using a CGI
executable it expects HTTP error statuses, but because it's not a real
HTTP request, SERVER_PROTOCOL isn't set. I tried to fix this before
using `http_repsonse_code` which does the right thing, but it's not
always available, so I had to revert that. So instead I've changed it so
that it assumes that it's an HTTP request unless it knows for sure that
it's a command line run.
2017-02-19 13:20:40 +00:00
Daniel James
a8d10c4211
Remove special case for HEAD requests
...
It's not really any more efficient than GET, so it's mostly pointless.
I still want to go through the motions of the unzip for a HEAD request,
as I want it to fail when a GET request would fail. They're almost never
used to efficiency isn't much of a concern.
2017-02-19 01:09:02 +00:00
Daniel James
5034261b57
Revert http_repsonse_code Changes
...
It isn't available on the server.
2017-02-17 21:46:53 +00:00
Daniel James
889bdc314f
Allow syntax error in travis test
2017-02-09 13:28:48 +00:00
Daniel James
9489e3b0b7
Use exit(255) to match php
2017-02-09 13:28:46 +00:00
Daniel James
a604fa9df3
Convert a couple more places to use http_response_code
2017-02-09 13:28:46 +00:00
Daniel James
5dfc5183e0
Fix a couple of error handling issues
...
- Use `http_response_code` as it's a bit more robust than using `header`.
- Check errors against `error_reporting()`, so that error checks can be
ignored when appropriate.
2017-02-09 13:28:45 +00:00
Daniel James
e02f26deaa
Fix filter test for php 5.4+
2017-02-09 13:28:44 +00:00
Daniel James
7a543697b6
Temporary fix for Chrono/Stopwatch in documentation list
...
Its metadata was added before 'status unreleased' was added, so it
doesn't have it yet.
2017-02-03 09:08:01 +00:00
Daniel James
38a3eaa5ec
Auto-capitalize library names
2017-01-25 01:10:56 +00:00
Daniel James
3c2505c531
Escape the '>' in '?>'
...
Php is fine with it, but it confuses vim's syntax highlighter, and
possibly others.
2017-01-22 13:14:55 +00:00
Daniel James
6c188dd604
Link to github commmit in master/develop documentation
2017-01-22 13:14:55 +00:00
Daniel James
5051b6d233
Redirect old beta documentation
2017-01-22 13:14:55 +00:00
Daniel James
fea0ea2563
Remove use of boolval, which is from php 5.5
2017-01-21 13:20:14 +00:00
Daniel James
9f080f25b6
Remove use_http_expire_date option
...
Not much point since it was always true.
2017-01-21 13:13:34 +00:00
Daniel James
12ec17b86c
Some tests for boost_state + a fix.
2017-01-21 13:13:34 +00: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
5639754447
Fix typo
2017-01-17 17:29:14 +00:00
Daniel James
d8534ea0d6
Merge branch 'master' into develop
2017-01-14 23:05:02 +00:00
Daniel James
f354897980
Handle non-UTF-8 encoded files without suppresing warnings
2016-12-26 19:41:10 -05:00
Daniel James
2328f06445
Try to fix encoding error
2016-12-26 19:02:28 -05:00
Daniel James
ee63a54d26
Rewrite the latest link box
2016-12-11 15:38:51 +00:00
Daniel James
1ff8cddecc
Add 'latest_link' box to documentation list
2016-12-11 15:38:50 +00:00
Daniel James
af5bb69290
Rename/comment a few variables and functions
2016-12-11 14:56:42 +00:00
Daniel James
42e837259a
Fix documentation links in library list
2016-12-11 13:36:03 +00:00
Daniel James
addd2d0edf
Merge branch 'master' into develop
2016-12-11 04:59:16 +00:00
Daniel James
220bdf5a59
Remove print_r debug_backtrace from exception handler
2016-12-08 09:22:45 +00:00
Daniel James
c9376119b1
Option to only update 'in progress' pages in update-pages.php
...
I think I'll use this in a cron job, so that updates to more public
pages can be checked before being released. Also won't have to deal with
automatically adding new files.
2016-12-06 00:16:08 +00:00
Daniel James
6f879e327f
Remove code for dealing with incomplete boostbook_values
...
Shouldn't happen now that I'm clearing the cache in a migration.
2016-12-05 23:37:33 +00:00
Daniel James
1dd412b072
Clear the old page cache
...
It doesn't include all the data the is currently stored, there's some
code that attempts to work round that, but it generates incomplete pages
because some of the data is missing. So better just to clear the cache.
2016-12-05 23:37:33 +00:00
Daniel James
3e03a9846b
Store the beta release notes in a separate file
2016-12-05 23:37:33 +00:00
Daniel James
5e300a2e7e
Don't require paths in BoostPages constructor
2016-12-05 23:37:32 +00:00
Daniel James
04dc83a139
Add a global define for the root directory of the website
2016-12-05 23:14:52 +00:00
Daniel James
9625a0fe34
Add migration to fix hash of unversioned quickbook notes
2016-12-05 09:29:56 +00:00
Daniel James
08358f40f9
Extract hash calculation from update_qbk_file
2016-12-05 09:29:56 +00:00
Daniel James
da52af088f
Rename add_qbk_file to update_qbk_file
2016-12-05 09:29:55 +00:00
Daniel James
b6cf324f43
Only use the boostbook values store in page class in indexes
...
It's a bit awkward, but to generate a page needed to update
BoostPages_Page, which wasn't always appropriate. So now generate pages
just using the data from the quickbook source, combined with the state
data.
2016-12-05 09:01:39 +00:00
Daniel James
2196c54291
Comment the BostPages_Page members
...
I feel like this shouldn't be stored in one big object, but also
breaking it up feels like more trouble than it's worth.
2016-12-05 09:01:38 +00:00
Daniel James
df315c5535
Remove unused $page parameter
...
They can all get it from the page data if they really need it.
2016-12-05 09:01:38 +00:00
Daniel James
3818306884
Stop storing description in BoostPages_Page
2016-12-05 09:01:38 +00:00
Daniel James
fcbfde323c
Remove unused template variable
2016-12-05 09:01:38 +00:00
Daniel James
895ce62b6b
Fix logic for rebuilding items in rss feed
2016-12-05 09:01:37 +00:00