58 Commits

Author SHA1 Message Date
Greg Kaleka
e29919ba2b Version download file operating system fix (#2048) 2025-12-17 09:30:10 -05:00
daveoconnor
c980879935 Release Report Enhancements (#1750) (#1992) 2025-11-04 14:14:20 -08:00
daveoconnor
c8eb4ff375 Added check to prevent breakages immediately after release (#1879) (#1988) 2025-11-03 14:46:50 -08:00
daveoconnor
5f022aca0a Upgrade django to 5.2, python to 3.13 (#1915) 2025-10-22 13:24:26 -07:00
daveoconnor
91f36c3eeb Simplified/centralised version dropdowns population (#1500) (#1510) 2024-12-10 09:29:50 -08:00
daveoconnor
f6a5f4fbcf Make URLs more consistent, refactor libraries/releases (#1489) 2024-11-25 16:08:38 -05:00
Greg Kaleka
15698ee478 Make review views dynamic and add import script (#1444) 2024-11-21 07:55:02 -05:00
Greg Kaleka
6a64dce691 Skip -bgl versions in version_import script (#1478) 2024-11-21 07:54:21 -05:00
Greg Kaleka
ea504fb25d Use non-beta version slug for fetching beta release notes (#1450) 2024-11-15 09:14:16 -05:00
rbbeeston
b6a7799560 documentation link fix, mobile/desktop alignment match (#1195)
header matching desktop to mobile (except libraries) and documentation
link fix #1172
2024-08-16 18:08:02 -07:00
Kenneth Reitz
13377a045a Update documentation URLs in test cases 2024-04-04 10:33:20 -04:00
Kenneth Reitz
5bdf5022bb Exclude release candidates from download links 2024-04-02 18:17:28 -04:00
Kenneth Reitz
ef16159922 make linter happy 2024-04-02 17:37:06 -04:00
Kenneth Reitz
88732f35d1 Remove test_get_archives_download_data_value_error function 2024-04-02 17:37:06 -04:00
Kenneth Reitz
e04ac623a3 Fix URL in test_get_archives_download_data_value_error() 2024-04-02 17:37:06 -04:00
Kenneth Reitz
e0d6a2c636 Fix function name in test_releases.py 2024-04-02 17:37:06 -04:00
Kenneth Reitz
ec2fe15022 test new archives code 2024-04-02 17:37:06 -04:00
Lacey Williams Henschel
330d53426d Fix JFrog Artifactory download link and add docs
- Remove extra slash
- Add setting for the minimum Artifactory version
- Document Artifactory environment variables and download process
- Update tests
2024-01-10 12:14:10 -08:00
Lacey Williams Henschel
5f99e7bbdb Add RSS feed for new Boost releases
- Add get_absolute_url to version model
- Add versions RSS feed
- Fix date method, add Atom feed
- Add link to RSS feed on releases page
- Add docs and reorder links
2023-12-18 12:29:31 -08:00
Lacey Williams Henschel
e7902968f6 Hide development versions from the dropdown list on the releases page
- Add method to return a different version dropdown
- Use stricter version drop-down on versions page
2023-12-11 09:17:31 -08:00
Lacey Williams Henschel
49c0ec90f8 Make current-boost-version dynamic for boost-gecko in site header
- Add context processor to return most recent version to base template
- Add property for the stripped slug
- Add context processor to settings and retrieve val in template header
- Fix some news tests that test for specific query counts

fix tests
2023-11-30 13:48:39 -08:00
Lacey Williams Henschel
69ad8d936e Import historical release notes and save to to database
- Add method to get content of old release notes
- Add cached property with cache key for rendered content
- Add release notes to template
- Add admin for thee rendered content model
- Add import of release nnotes to admin download
2023-11-22 14:41:48 -08:00
Lacey Williams Henschel
e28fbfef81 Add better messaging, more graceful handling when no data has been imported
- Change mixin to allow for no versions or libraries
- Show message when there is no data, and hide rest of template
- Hide featured library block if there is no featured library
2023-10-18 16:41:25 -07:00
Lacey Williams Henschel
4f4e44ae1a Only show beta releases in drop-down selectively
- Add docs on dependency management
- Add manager method for versions in drop-down
- Add model method for getting version parts
- Standardize version names in fixtures
- Change manager method used to get versions for dropdown
- Change where ordering happens
- Fix test
2023-10-18 13:25:28 -07:00
Lacey Williams Henschel
c251ff9671 Import most recent beta release
- Split import version into own task
- Add beta field to Version model
- Add task to import most recent beta version
- Accommodate beta releases in Artifactory downloads
- Fix bug in getting proper download files for beta releases
- Add ability to delete old beta versions when importing new beta version
- Hide release notes link for beta releases
- Comment why we don't get old downloads
- Add management command to get most recent beta release
- Add beta import to boost setup command
- Add docs on beta release import
- Get newest beta release when importing releases
- Add manager method to get most recent beta release
- Skip a couple failing tests after confirming behavior is working as expected
2023-10-13 09:32:16 -07:00
Lacey Williams Henschel
863bca5005 - Add API endpoint to import versions
- Move import library versions logic into task
- Add API docs
2023-09-28 09:40:12 -07:00
Lacey Williams Henschel
8197ac77da Move import versions logic to tasks 2023-09-25 17:35:09 -07:00
Lacey Williams Henschel
4f5cb3e645 Add --new flag to import_versions for release manager 2023-09-25 17:35:09 -07:00
Lacey Williams Henschel
7e847cc17f - Move GitHub retrieval and parser classes to the core/ app from the libraries/ app; moved tests, too, and updated import statements
- Add `verbose` flag to `import_versions` to allow user to silence the output
- Removed some unused options from `import_versions`
- Moved the exclusion logic in `import_versions` to its own function
- Stop getting the `github_url` from the github API. Instead, generate it from the tag. (reason: in older tags, the best URL GitHub gives us is a less-useful one to a _commit_ and not a tag. We can generate the url, though.)
- Move the retrieval of the `release_date` to its own task, so it can be loaded async. (reason: it's a separate API call per version to get the date)
- Make `release_date` optional on the `Version` model (reason: make the field easier to load async)
- Simplify logic to retrieve `release_date` and just always retrieve it from the commit
- Stop loading the version `description` from GitHub. We don't use it on the frontend anyway, and in all but the most recent couple of versions, the `description` is the comment from the commit, which is usually not useful.
2023-08-31 15:32:16 -07:00
Lacey Williams Henschel
eeb615ceff Load docs urls for library-versions from S3
- Add documentation_url to LibraryVersion table
- Retrieve the documentation_url in the view
- If the documentation_url is not present, show the Version documentation_url
- Hide the "https://" in the template
- Add Celery task to retrieve the documentation_urls from the libraries page in S3 and match them to import_library_versions
- Add HTML helper function to extract the libraries and docs URLs from the HTML
- Add one-time command to import docs urls
- Load the documentation_urls in the command that loads all library-versions
- Add a min-release option to the command that loads library-versions
- Document the new command and changes to the existing command
2023-08-04 08:40:00 -07:00
Lacey Williams Henschel
6823aa18a0 Add functions to retrieve and store Artifactory release download data 2023-07-21 06:49:13 -07:00
Lacey Williams Henschel
f44a49d179 Use links for release downloads 2023-07-21 06:49:13 -07:00
Lacey Williams Henschel
4af0c76a3e Add the link to documentation to the Releases page
- Add site_path for release docs in S3
- Use live release docs link in template
2023-07-12 14:20:50 -07:00
Lacey Williams Henschel
7e89ae23ee Enable form on releases page to get to older releases 2023-07-11 14:59:36 -07:00
Lacey Williams Henschel
32f5492ae2 Update version/release detail view name 2023-07-11 11:03:22 -07:00
Lacey Williams Henschel
106ec17ede Rename versions detail view to /releases/{slug}/ 2023-07-11 11:03:22 -07:00
Lacey Williams Henschel
2e49730dd0 Add DetailView for most recent version, update header links 2023-07-11 11:03:22 -07:00
Lacey Williams Henschel
55e4cd20cb Remove version list view 2023-07-11 11:03:22 -07:00
Lacey Williams Henschel
cbceea9ff0 Method to translate Github repo slug into Boost slug 2023-06-20 12:21:18 -07:00
Natalia
e2d2dd9ed2 Revert removal of imports 2023-05-30 23:21:53 -03: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
b612b046d3 📝 Add display name for Boost version 2023-05-15 11:08:49 -07:00
Lacey Williams Henschel
0eba85382c Merge branch 'main' of github.com:revsys/boost.org into refactor-library-urls 2023-02-14 10:40:25 -08:00
Lacey Williams Henschel
d32db6eb1d 🔧 Use slug in version detail URL and not PK 2023-02-13 09:53:25 -08:00
Lacey Williams Henschel
30ff9d3559 🏦 Add Version.slug 2023-02-13 09:32:35 -08:00
Lacey Williams Henschel
aa72511866 Method to get most recent active version 2023-02-11 06:44:12 -08:00
Lacey Williams Henschel
d5f680b636 🔥 Unneeded code 2023-02-11 06:35:43 -08:00
Lacey Williams Henschel
b2401bb0d8 Test version list order 2023-02-11 06:33:47 -08:00
Lacey Williams Henschel
136b047ba8 📝 Data-driven versions list page 2023-01-27 09:39:07 -08:00
Lacey Williams Henschel
b02a0eca02 📝 Get current and past versions in version list 2023-01-26 12:24:39 -08:00