48 Commits

Author SHA1 Message Date
daveoconnor
69a652d066 Release reports refactor (#1996) (#1999)
Co-authored-by: Greg Kaleka <greg@gregkaleka.com>
2025-12-01 10:27:05 -08:00
daveoconnor
c980879935 Release Report Enhancements (#1750) (#1992) 2025-11-04 14:14:20 -08:00
daveoconnor
65fdf7c91a Correct documentation URL issues (#1975) 2025-10-17 13:14:07 -07:00
daveoconnor
122d1739c6 Canonical URI reverse proxy workaround (#1961) (#1962) 2025-10-15 14:51:41 -07:00
daveoconnor
8088234bf7 Refactor docs retrieval, and canonical uri addition (#1857) (#1924) 2025-09-30 08:42:27 -07:00
daveoconnor
6dbfb017bc Release report changes (#1862) 2025-08-04 19:26:52 -07:00
Greg Kaleka
8b43040399 Website traffic stats gathering (#1679) 2025-03-23 16:11:21 -04:00
daveoconnor
2f7cf8514e Word cloud theming, added word listing page (#1623) 2025-02-10 18:19:01 -08:00
daveoconnor
d2ec29fd52 Fill out develop/master branch support (#1583) 2025-01-08 13:26:06 -08:00
Brian Perrett
2981976b80 Add functionality to track LibraryVersion dependencies (#1524) 2024-12-16 14:28:33 -05:00
daveoconnor
91f36c3eeb Simplified/centralised version dropdowns population (#1500) (#1510) 2024-12-10 09:29:50 -08:00
daveoconnor
1fd3f6ce5b Fix for release vs latest redirect on doc/libs urls (#1515) 2024-12-04 14:56:05 -08:00
Brian Perrett
350119e0d7 Add slack activity to release report. (#1490) 2024-11-26 16:54:14 -08:00
daveoconnor
f6a5f4fbcf Make URLs more consistent, refactor libraries/releases (#1489) 2024-11-25 16:08:38 -05: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
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
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
50559609e9 fixed issues with libraries navigation, refactors (#1213) (#1250)
There's a good amount of refactoring in this, so this is going to look
like a much bigger change than it is. In reality it makes the dispatch
code simpler.

Fixes: 
1. Resolved the issue with the libraries pages not redirecting correctly
2. Resolved an issue around categories not being preserved moving from
page to page.

The issue with the redirects was there was a tug of war on arriving on
/library between the various ways of determining where the user should
end up.
I added a `/libraries/grid/` url and now `/libraries/` determines which
list page the user should end up on based on 1) url 2) cookie, 3) the
default, same for version preference. We can probably get rid of
dispatch() later. This has the added bonus of allowing reliable linking
to a specific list view (e.g. for users to bookmark one type)

Refactors:
1. Separated the navigation on the three library pages into a standalone
template.
2. Moved some constants to constants.py
3. Moved a lot of the views methods which were only used by the
dispatch() call to utils.py .
4. At that stage there were circular imports so I moved the docs
generation functions which were only used in constants.py to
constants_utils.py. utils.py is more general.
2024-09-19 12:06:36 -07:00
Kenneth Reitz
d77e38e883 improve code documentation 2024-04-08 11:07:19 -04:00
Kenneth Reitz
4fed2c1483 Fixes [regression] list and category views not working on www.stage.boost.cppalliance.org #1046 2024-04-08 10:46:31 -04:00
Lacey Williams Henschel
b7bb979724 Add exception logic for more historical library docs
- Lexical Cast
- Local Function
- Math Quaternion
- Min Max
- Numeric Conversion
- Result Of
- Scope Exit
- Throw Exception
- Type Erasure
- Type Index
- Correction for Value Initialized library

Also:
- Remove version import from docs refresh
- Add more helper functions for docs url generation
2024-02-15 13:37:48 -08:00
Lacey Williams Henschel
e5268ed7d8 Fix Container Hash and other docs:
- Add LibraryVersion inline to LibraryAdmin for easier debugging
- Add convenience function to generate random string
- Adjust Library slug so it functions as unique without being unique
- Add exception logic for older Container Hash versions
- Fix bugs in management commands
- Add exception logic for older Container Hash docs
- Add exception logic for Functional/Overloaded Function docs
- Add task to import all library-versions, and add that to existing admin refresh buttons
- Add logic to import github_url if we dont have it
2024-02-15 10:08:03 -08:00
Lacey Williams Henschel
2ed461d294 Add exception logic for some versions of Member Function docs; fix tests 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
881def7147 Add exception logic for Math Common Factor docs 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
ba19df67aa Add exception logic for Typed In Place docs 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
eab88eb401 Add exception logic for Identity Type docs 2024-02-09 10:01:44 -08:00
Lacey Williams Henschel
f3262f1de6 Add exception logic for even older Circular Buffer versions 2024-02-09 10:01:44 -08:00
Lacey Williams Henschel
4156a188c4 Fix exception logic -- html vs htm 2024-02-08 14:21:34 -08:00
Lacey Williams Henschel
d865cf2711 Add exception logic for Multi Array, Multi Index, and Smart Ptr docs 2024-02-08 14:02:33 -08:00
Lacey Williams Henschel
57e1de2db6 Add exception logic for older Interval docs 2024-02-08 13:36:57 -08:00
Lacey Williams Henschel
b9d8778976 Add exception logic for older Compressed Pair docs 2024-02-08 13:20:25 -08:00
Lacey Williams Henschel
759d2d9c28 Add exception logic for older Dynamic Bitset docs 2024-02-08 13:08:00 -08:00
Lacey Williams Henschel
4f80c1871a Add exception logic for older Call Traits docs 2024-02-08 11:33:06 -08:00
Lacey Williams Henschel
c95e5407db Add exception logic for Any library
- Fix bug when a libraries.json file is not found
2024-02-07 13:17:48 -08:00
Lacey Williams Henschel
4a7200472b Add exception logic for StringView docs 2024-02-07 10:29:11 -08:00
Lacey Williams Henschel
17da0c8610 Fix docs urls for string-ref 1.77.0 and prior 2024-02-07 09:21:26 -08:00
Lacey Williams Henschel
2ec3702f4e Fix documentation urls for IO library
- Refactor to allow for multiple documentation paths for a single library
- Add more helper functions

Also did a live test
2024-02-05 17:06:54 -08:00
Lacey Williams Henschel
c9cc3c49b3 Add exception logic to load the Detail docs links
- Add a button to the LibraryVersion admin to reload the docs links
- Add some minimal docs on the admin features
2024-02-05 14:14:55 -08:00
Lacey Williams Henschel
0a8ed5e755 Add util function to get first, last day of last month 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
688ae87e76 Add methods to retrieve adoc content for libraries
(Part of #394 and #252)

- Add method to the GitHub API class to retrieve a specific file from a repo by its tag and path (to retrieve README or adocc files)
- Add method to Library model to retrieve the description content and render it
- Fail gracefully if no content is found
- Add caching logic for redis and database caching
2023-06-15 15:08:42 -07:00
Natalia
a8cd8f507a Ran pre-commit run -a
Completed runs of black and rest of pre-commit checks.
2023-05-30 23:21:53 -03:00
Lacey Williams Henschel
47eeaee2ef 🔧 Refactor fake email function into util 2023-03-27 12:08:19 -07:00
Lacey Williams Henschel
e9a90fa548 🔥 Remove old code, merged in another PR 2023-03-10 10:02:32 -08:00
Lacey Williams Henschel
da1c28c64b 🔧 Move name extraction to utils 2023-03-03 14:01:44 -08:00
Lacey Williams Henschel
54bb53407b 🔧 Move generate_email to utils 2023-03-03 13:53:49 -08:00
Lacey Williams Henschel
8baaaedc8f 🔧 Reorder functions 2023-03-03 13:48:44 -08:00
Lacey Williams Henschel
f9247e7d24 🔧 Start moving things to testable util functions
- Move extract_email to util
- Correct get_names method to strip the formatted email from the string before parsing
2023-03-03 13:47:18 -08:00
Lacey Williams Henschel
7f7ea7fdc4 Util function to parse date 2022-12-15 10:03:46 -08:00