59 Commits

Author SHA1 Message Date
Lacey Williams Henschel
e32aa9e3ec Link to GitHub tag on library details page 2023-06-19 16:23:30 -07:00
Lacey Williams Henschel
63cd961a7e Remove unused template fields and view methods 2023-06-19 14:52:19 -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
Greg Newman
62adb98d0a hooks up library view types
* View by cards
* View by flat list
* View by category lists

fixes #400
2023-06-01 19:06:53 -04:00
Lacey Williams Henschel
a691306569 Add mini versions of library list pages 2023-05-23 16:28:52 -07:00
Lacey Williams Henschel
6ad9f148b0 Add libraries by category view 2023-05-23 12:50:51 -07:00
Lacey Williams Henschel
84145c4668 Remove django-filters 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
32442de272 📝 Add query string filtering to library list 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
f5d87f960c ⬆️ Add django-filters 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
a0f6411ad1 WIP moving to query strings 2023-05-23 10:26:16 -07:00
Lacey Williams Henschel
111ae5aa2b Cleanup 2023-05-09 13:41:18 -07:00
Lacey Williams Henschel
35d1bf3f53 Add ability to select a Version of a library 2023-05-09 13:36:11 -07:00
Natalia
c06b75123c Remove pagination from library list and library by version list (fixes #227) 2023-05-02 22:31:40 -03:00
Lacey Williams Henschel
f1161e0d1c Add maintainers to lib detail view and template 2023-03-14 13:58:34 -07:00
Lacey Williams Henschel
0ee20dbe11 🔧 The last one I promise. 2023-02-15 09:46:15 -08:00
Lacey Williams Henschel
025e030f33 🔧 I can't stop refactoring 2023-02-15 09:43:58 -08:00
Lacey Williams Henschel
a9ddbeb452 🔧 Minor refactor for simplification 2023-02-15 09:38:43 -08:00
Lacey Williams Henschel
b3bc2b1c5e 🔨 Comment back in the version_name, small refactor 2023-02-15 09:35:16 -08:00
Lacey Williams Henschel
79cd10d5ff 🔧 Refactoring and misc cleanup 2023-02-14 14:56:20 -08:00
Lacey Williams Henschel
02fdad96f6 Merge branch 'main' of github.com:revsys/boost.org into library-version-views 2023-02-14 14:10:00 -08:00
Lacey Williams Henschel
8c251bdab6 Fix merge 2023-02-14 10:44:04 -08: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
811adaa38d 👕 Linter 2023-02-13 12:20:49 -08:00
Lacey Williams Henschel
45ee2c7a9b Add libraries by versions and categories, redirect libraries by category
- Adds /versions/{pk}/libraries-by-category/{slug}/
- Redirects /libraries-by-category/{slug}/ to ^
2023-02-13 12:17:46 -08:00
Lacey Williams Henschel
ea283f114a 🔧 Fixes for library-detail-by-version view 2023-02-13 12:02:35 -08:00
Lacey Williams Henschel
be8ee1f5fa Add URL for library detail by version 2023-02-13 11:56:41 -08:00
Lacey Williams Henschel
35f73bc8b2 👕 Linter 2023-02-13 11:51:06 -08:00
Lacey Williams Henschel
7e7db0b218 Add libraries-by-version list view
Note: This does NOT address the categories functionality. This commit adds the new URL, but if the user filters by category on that page, the page redirects to `/libraries-by-category/` and doesn't respect the version.
2023-02-13 11:50:23 -08:00
Lacey Williams Henschel
d1de45aacc 🔧 Refactors libs-by-cat to use most recent Boost version 2023-02-11 08:39:01 -08:00
Lacey Williams Henschel
da79803555 🔧 Library detail URL uses most recent active Boost version 2023-02-11 08:19:57 -08:00
Lacey Williams Henschel
6f4d66b32d 🔧 Have library list URL use most recent active Boost version 2023-02-11 06:53:46 -08:00
Lacey Williams Henschel
4e768cf56d 👕 Linter 2023-02-10 08:31:58 -08:00
Lacey Williams Henschel
70870c6294 Merge branch 'main' of github.com:revsys/boost.org into library-version-views 2023-02-10 08:31:49 -08:00
Lacey Williams Henschel
1ed6a8ca29 🔧 Make detail breadcrumbs version-sensitive 2023-02-10 08:20:54 -08:00
Lacey Williams Henschel
23df76ac32 🔧 Dynamic form action for version-sensitive category filtering 2023-02-10 08:11:00 -08:00
Lacey Williams Henschel
4ed9641b0a 🔧 Change breadcrumbs to be version-sensitive 2023-02-09 11:08:51 -08:00
Lacey Williams Henschel
09bc47781a 🔨 Load library detail directly, don't redirect 2023-02-09 10:45:46 -08:00
Lacey Williams Henschel
9e4b77f4a3 🔥 Remove the libraries-by-letter view 2023-02-09 10:21:36 -08:00
Lacey Williams Henschel
a8ab1e19f7 🚧 Progress on the category filter 2023-02-08 16:37:26 -08:00
Lacey Williams Henschel
9507ddca56 🔧 Have LibraryList view load directly instead of redirect 2023-02-08 14:21:58 -08:00
Lacey Williams Henschel
d1ce7b7794 📝 Change URLs to use version slug and not PK 2023-02-08 14:04:25 -08:00
Lacey Williams Henschel
f3b2a3795f 🏦 Get distinct libraries 2023-02-08 11:34:52 -08:00
Lacey Williams Henschel
67eb40faf0 🚧 Raise error for no version, get distinct results 2023-02-03 10:02:38 -08:00
Lacey Williams Henschel
d953754583 Add libraries by versions and categories, redirect libraries by category
- Adds /versions/{pk}/libraries-by-category/{slug}/
- Redirects /libraries-by-category/{slug}/ to ^
2023-02-02 15:03:22 -08:00
Lacey Williams Henschel
9789c56f13 📝 Redirect libraries list to libraries-by-version list
In case we want to preserve the /libraries/ url.
2023-02-02 11:45:18 -08:00
Lacey Williams Henschel
1d80f35638 Redirect library detail to versioned library detail
Wasn't sure if we wanted to fully replace the URL or preserve the /libraries/ endpoint? It wasn't hard to add the redirect.
2023-02-02 11:23:49 -08:00
Lacey Williams Henschel
95743b9f56 Add URL for library detail by version 2023-02-02 10:43:26 -08:00
Lacey Williams Henschel
ed53f9322a Add libraries-by-version list view
Note: This does NOT address the categories functionality. This commit adds the new URL, but if the user filters by category on that page, the page redirects to `/libraries-by-category/` and doesn't respect the version.
2023-02-02 09:35:13 -08:00
Lacey Williams Henschel
8f1c675ea4 Add category to breadcrumb, preselect category 2023-01-09 14:34:51 -08:00
Lacey Williams Henschel
0c8552a45b User is able to filter libraries by category in the UI 2023-01-06 10:13:20 -08:00