2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-30 20:32:16 +00:00
Commit Graph

617 Commits

Author SHA1 Message Date
Daniel James
5afbf3178c Sort pages on access.
There was a bug where the chronological order of pages wasn't updated
immediately for new pages.
2016-09-29 11:21:06 +01:00
Daniel James
3e7cf770c8 Remove empty data 2016-09-29 10:54:08 +01:00
Daniel James
19ffa52457 Get release data for notes based on parsing filename. 2016-09-29 10:54:08 +01:00
Daniel James
65a8d87fe7 Replace release_status with version. 2016-09-29 10:54:08 +01:00
Daniel James
136f1c8f33 Allow separator between beta and number. 2016-09-29 10:54:08 +01:00
Daniel James
dee3c0206f Store the version as a version object. 2016-09-29 10:54:08 +01:00
Daniel James
c648f992db Infer release_status from the version.
Apart from 'unversioned' which needs a special case. Might be better to
store the version object and use that.
2016-09-29 10:54:08 +01:00
Daniel James
8cdac6a4bb Update version comments
Seems at some point I implemented beta numbers, but the comments claim
they're not supported.
2016-09-29 10:54:08 +01:00
Daniel James
ce0e6d38af Use the most recent release data in get_release_data. 2016-09-29 10:54:08 +01:00
Daniel James
b1e65390bd Remove superfluous version field 2016-09-29 10:54:08 +01:00
Daniel James
7ca520e013 Get the tests working again. 2016-09-29 02:08:52 +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
f4472fc751 Website bootstrap file.
Sets up error handling and timezone, maybe other things in the future.
2016-09-29 02:08:52 +01:00
Daniel James
58543a3ae5 Fix the unversioned library page. 2016-09-28 22:42:30 +01:00
Daniel James
8d03a339c0 Update various places where release is set. 2016-09-28 13:07:03 +01:00
Daniel James
3bd06c1594 Cleaner code to decide whether to show documentation list. 2016-09-21 09:14:21 +01:00
Daniel James
c7369480c7 Extract the documentaion path logic.
I normally try to avoid using compact/extract, but that seems the
simplest way to do this here.
2016-09-21 09:14:21 +01:00
Daniel James
862024b0af Don't update new library versions in every beta. 2016-09-15 10:28:31 +01:00
Daniel James
3f0b8b1717 Restore support for numbered beta releases.
This is roughly how it used to work. It's a bit shoddy though, probably
need to support storing details for all beta releases and release candidates.
2016-09-14 13:42:38 +01:00
Daniel James
8d15a6f84d More BoostLibraries tests. 2016-08-24 17:26:28 +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
0eb7661466 Make the note on release notes a bit clearer. 2016-08-24 17:16:18 +01:00
Daniel James
c22d8c28ba Fix documentation link rewriting. 2016-08-24 16:25:49 +01:00
Daniel James
c927a1e22f Link to snapshot download page from dev release notes. 2016-08-08 13:08:02 +01:00
Daniel James
2a9de1a31b Fix quickbook filter. 2016-08-07 10:04:09 +01:00
Daniel James
28cf2392e4 In quiet mode, don't warn about remote doc modules. 2016-08-07 09:53:46 +01:00
Daniel James
61bc6afe84 Optimize some regular expressions.
Prompted by:

http://stackstatus.net/post/147710624694/outage-postmortem-july-20-2016

Not really an issue here, as mostly processing our own files, so they
should be less problematic. The version number parsing code might have
an issue with really long URLs, but I don't think that's possible. But
fix it anyway.
2016-07-30 11:59:45 +01:00
Daniel James
f7821755f7 Cleaner text filter implementation. 2016-07-30 11:58:25 +01:00
Daniel James
0d0006cce7 Fix title on quickbook source. 2016-07-30 11:43:03 +01:00
Daniel James
be3fc4e515 Merge branch 'feature/webhook' 2016-07-30 10:56:17 +01:00
Daniel James
9b1f368020 Remove unused feed parsing class. 2016-07-21 16:05:37 +01:00
Daniel James
607173fae6 Use DateTime for RSS last_modified. 2016-07-21 16:05:37 +01:00
Daniel James
1cee6728cc Support dates in state files. 2016-07-21 16:05:36 +01:00
Daniel James
1d3968a616 Use DateTime for timestamps.
Preserves timezone.
2016-07-21 16:05:35 +01:00
Daniel James
dce6c5ef72 More descriptive function name. 2016-07-21 16:05:35 +01:00
Daniel James
24d2df3697 Only set last_modified when really modified.
Was setting it in the parser, so it would be set on refereshes as well
as when the file was modified.
2016-07-21 16:05:34 +01:00
Daniel James
6892abb9fd Rework last_modified and pub_date.
- Both are now stored as strings.
- Unpublished articles have a null pub_date.
- last_modified is now always the last modified date,
  before it was the pub_date once published.
2016-07-21 16:05:34 +01:00
Daniel James
6a871d2985 Remove TODO note that has already been done. 2016-07-05 09:43:01 +01:00
Daniel James
e40e79ee12 Stop putting pubDate=In Progress in dev RSS feed.
Should probably stop setting pubDate to 'In Progress', it's an artifact
of how the site used to work.
2016-07-05 08:49:23 +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
25d3e1f099 Fix some issues prevents recursion in submodules.
Now get_modules works if there are no submodules, and stop throwing
exceptions for unusal submodule urls, since odeint has an external
documentation submodule.
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
941ab8267c Allow empty array in metadata file. 2016-06-22 08:37:44 +01:00
Daniel James
6ffad99173 Use standard config location for all domains.
Although for unrecognised domains, only use it when the local config
file isn't present.
2016-06-04 16:54:02 +01:00