Commit Graph

189 Commits

Author SHA1 Message Date
daveoconnor
e2a2caebce Improved error processing (#1590) 2025-01-10 13:19:11 -08:00
daveoconnor
b8c04c42df Documentation anchor links fixes (#1585) 2025-01-09 10:07:03 -08:00
daveoconnor
8224425acc Fix plausible logging on doc_libs_placeholder based pages (#1579) (#1582) 2025-01-07 12:03:43 -08:00
Rob Beeston
2fc04a1016 Removed boostbookv2.css and references (#1574) 2024-12-24 12:52:40 -08:00
Greg Kaleka
cb2b340ecd Add Boost Development page (#1565) 2024-12-23 16:44:06 -05:00
Greg Kaleka
08534ba727 Add test ensuring nginx redirect map points to valid urls (#1553) 2024-12-23 13:36:18 -05:00
daveoconnor
baae39d75f Asciidoc doc pages theme switching/footer hiding (#1564) 2024-12-23 10:25:47 -08:00
Mohammad Nejati
cf21a46cf4 Update Boost-Gecko (#1566) 2024-12-20 15:40:01 -05:00
Brian Perrett
2981976b80 Add functionality to track LibraryVersion dependencies (#1524) 2024-12-16 14:28:33 -05:00
Greg Kaleka
c57d905594 Support release report pdf attachment to news (#1543) 2024-12-11 17:22:49 -05:00
Greg Kaleka
b44c1cab6c Render library README code blocks without highlighting; hljs (#1538)
Co-authored-by: Julio Estrada <estradacjulio@gmail.com>
2024-12-11 13:32:19 -05:00
Greg Kaleka
a2412b6545 Remove 'Proposed for boost.org' text (#1534) 2024-12-10 12:32:57 -05:00
Greg Kaleka
650a3f5e06 Fix Home nav link active color (#1523) 2024-12-06 18:36:39 -05:00
daveoconnor
1fd3f6ce5b Fix for release vs latest redirect on doc/libs urls (#1515) 2024-12-04 14:56:05 -08:00
daveoconnor
3a311469df Added boostlook css to docs (#1507) 2024-12-02 12:38:32 -05:00
daveoconnor
d52613035d Hide boostbook for non-asciidocs display (#1460) 2024-11-25 13:28:52 -08:00
daveoconnor
f6a5f4fbcf Make URLs more consistent, refactor libraries/releases (#1489) 2024-11-25 16:08:38 -05:00
Greg Kaleka
0384ee994e Fix straggler links to old review process page (#1487) 2024-11-23 09:56:46 -05:00
Greg Kaleka
6a64dce691 Skip -bgl versions in version_import script (#1478) 2024-11-21 07:54:21 -05:00
Brian Perrett
5a72f58e55 Remove per library release notes from release report. (#1474) 2024-11-19 14:56:41 -08:00
Brian Perrett
1b529a5805 Add staff-editable wordcloud ignore list in the admin (#1472)
Co-authored-by: Greg Kaleka <greg@gregkaleka.com>
2024-11-19 14:56:15 -08:00
Greg Kaleka
12cfb3a7e9 Fall back to _x filename for beta release notes (#1455) 2024-11-18 13:44:42 -05:00
daveoconnor
b4a6ddd751 Added support for release notes asciidoc macros (#1082) (#1377)
Related to ticket #1082, this adds support for asciidoc macros to
emulate macros from qbk. Macro support is documented at https://github.com/cppalliance/asciidoctor-boost/
2024-11-08 13:31:32 -08:00
Gavin Wahl
a86375dd15 Use serif fallback for fonts in dev (#1392)
fixes #1335
2024-11-06 11:45:47 -07:00
Brian Perrett
83d486e442 Add release notes to release report (#1409)
- fixes #1407
2024-11-04 14:06:11 -08:00
Brian Perrett
646f916ee6 Updates and additions to release report stats (#1401)
- Add basic line change counts for each x.x.0 library versions.
- import line change counts during `import_commits` task.
- Add `update_issues` management command for importing Issues for each
LibraryVersion.
- Add update issues runnable command in `Issue` admin.
- Build word cloud using mailinglist content.
- Update release report with new data.
2024-10-31 10:14:41 -07:00
daveoconnor
642ef7f5ca Added skip use boostbook for v2 on antora docs (#1394)
@julioest requested a change to not adding boostbookV2.css on the user
guides.
2024-10-29 11:16:11 -07:00
daveoconnor
8c71bddfe7 WIP - Switched guides to iframe, other fixes (#1386)
This sets the User Guides to show in an iframe, 

Other changes: 
* Hides the footer in the base template by a context variable.
* Fixes integrity sha for htmx.
* Fixes selector for avatar loading indicator.
2024-10-28 17:32:17 -07:00
daveoconnor
9fbf58a5f1 Fix library dropdown switching (#1388)
* Resolves the issue with libraries not updating on version dropdown
selection going back from version to latest
* Fixes edge case of version alert not showing when query params are
deleted from location bar
* Adds refactor of version selection drop downs on library preference
page and cleans up some unused ones.
2024-10-28 16:49:26 -07:00
daveoconnor
d4be6fd7f8 Div id=footer for copyright hidden on release page only (#1381)
… (#1380)
2024-10-24 16:29:46 -07:00
daveoconnor
f55c2a2f87 Added filtering out of footer from boost.org release content (#1342) (#1355) 2024-10-21 17:28:34 -07:00
daveoconnor
2c6e7af997 Docs in iframe changes (#1372) 2024-10-21 17:11:07 -07:00
daveoconnor
c0d453a58f Show asciidocs library docs in iframe (#1369)
Related to ticket #1358, libraries docs iframe

~~This also contains some of the work for refactoring away from version
selects being copy pasted everywhere.~~ Removed for now, had side
effects.
2024-10-18 16:15:58 -07:00
Gavin Wahl
cb25772a13 AsciiDoc use the embedded option (#1344)
Instead of parsing out the HTML body from the full HTML document.

All adoc parsing now goes through `convert_adoc_to_html`. I removed the
`adoc_to_html` task because it was never `.delay`ed, probably because it
doesn't necessarily work: it expects content to be passed in a temp
file, which might not exist on the worker processing the task. The new
function passes the content as a string instead of a temp file.

This removes the `div#header` and `div#content` containers from the
output. It's wrong to have IDs in embeddable html because multiple
asciidoc outputs might be included on the same page, resulting in
duplicate IDs. I couldn't find a place where these containers are
necessary, though, because markdown output doesn't include them,
resulting in a discrepancy in the output for markdown vs asciidoc that
is now fixed. If we need to include the containers, I'd wrap the
asciidoc output in the template where it is used rather than expecting
it to be returned by `convert_adoc_to_html`.

Fixes #1302
2024-10-11 10:34:04 -06:00
daveoconnor
59b9ae3167 Added wrappers for docs (#1322) (#1348)
For now this will wrap based on the view with the assumption, based on
our discussions, that User Guide docs are based on antora and lib docs
are asciidocs. Should there turn out to be edge cases we will make some
adjustments.

Generated classes will be `source-docs-antora` and
`source-docs-asciidoc`.
2024-10-10 13:02:47 -07:00
Brian Perrett
e230128f61 Add authors to LibraryVersions. (#1347)
- fixes #1325
- reuses the logic that imports authors for libraries to do the same for
LibraryVersions.
- Authors are only added if an email is listed for the author in the
metadata
2024-10-10 10:39:16 -07:00
daveoconnor
463112e5af fixed issues with releases page and versioning (#1300)
* Fixed issues with releases page and versioning
* Added latest support and version alert
* Updated version alert to link to /release and clarify most recent vs
vs "release" selection
* Refactored Libraries and Releases pages to align similar code for
reuse.
2024-10-07 15:42:18 -07:00
Brian Perrett
48c09d3d5e Import commits per release and create release reports (#1263)
View stats per release, we do this by
doing log diffs between release tags. Ex: `git log
boost-1.78.0..boost-1.79.0`. The output is parsed and the commits
are saved with a foreign key to the `LibraryVersion` it relates to.

- commits are imported by doing "bare" clones (no project files, only
git data) of repos into temporary directories, as created by python's
bulitin `tempfile.TemporaryDirectory`
- Added Commit model
- Added CommitAuthor model
- Added CommitAuthorEmail model
  - One CommitAuthor can have many emails.
- Added task for importing commits. (and admin link to trigger it)
- Added task for importing CommitAuthor github data (avatar and profile
url, with admin link to trigger it)
- Added a basic Library stat page which can be viewed by going to the
admin -> library -> view stats.
- Added a `Get Release Report` button in the `LibraryAdmin` which allows
a staff member to select a boost version and up to 8 libraries to
generate a report for. The report is just a webpage which attempts to
convert cleanly to a pdf using the browser's print to pdf functionality.
- Updated the Library Detail page to show commits per release instead of
per month.
- Updated the Library Detail page to show `Maintainers & Contributors`
sorted by maintainers, then the top contributors for the selected
release, then the top contributors overall by commits descending.
- Removed CommitData, which was tracking monthly commit stats
2024-09-25 15:09:07 -07:00
daveoconnor
30ab003561 added support for 'release' in urls (#1084) (#1266)
1. added support for 'release' in library urls
2. fixed versioning not working from the non-grid library list pages
3. fixed library detail user selection of versioning not working
4. unified cookie handling to share across both LibraryList and
LibraryDetail
2024-09-24 13:56:13 -07:00
daveoconnor
b8ace378df Neighbours based injection wrapping (#1272)
wrap injection based on neighbours, not expected contents
2024-09-20 16:52:20 -07:00
daveoconnor
bd0bb66cc3 Wrap injection body (#1271)
wrap only the body in the injection not the entire injection which
includes heading (#1183)
2024-09-20 13:29:48 -07:00
daveoconnor
46ecdec695 add footer and docs wrapper div injection (#1183) (#1259) 2024-09-19 16:25:13 -07:00
Frank Wiles
ef3b79134f Add url path to handle /doc/libs/release/* (#1204)
Redirect to the latest release when this URL prefix exists on
documentation.

Fixes #1084
2024-08-26 19:01:30 -05:00
Kenneth Reitz
c3e6e3b70e Remove sponsorship links about downloads from release notes (#1141)
Solves #1116

The code changes in `htmlhelper.py` remove the sponsorship links about
downloads from the release notes. This improves the clarity and focus of
the release notes by removing unnecessary information.
2024-07-09 13:35:41 -04:00
Julio Estrada
150e6ec9f8 Refactor add_class_to_sibling_by_header function and fix argument name in reformat_new_libraries_list 2024-06-26 06:39:41 -04:00
Julio Estrada
055b306f4e Refactor add_class_to_sibling_by_header function in htmlhelper.py 2024-06-26 06:39:41 -04:00
Julio Estrada
c5887d7834 Fix release notes formatting 2024-06-26 06:39:41 -04:00
Kenneth Reitz
25f2e36d77 Refactor test_views.py to reflect new redirect changes 2024-06-17 09:08:46 -04:00
Kenneth Reitz
cee432678b Fix URL pattern for library page redirects 2024-06-17 08:57:01 -04:00
Kenneth Reitz
329acad55b Remove unnecessary code for formatting nested lists in release notes 2024-06-14 17:26:57 -04:00