Commit Graph

99 Commits

Author SHA1 Message Date
Lacey Williams Henschel
e9a90fa548 🔥 Remove old code, merged in another PR 2023-03-10 10:02:32 -08:00
Lacey Williams Henschel
d86cc4b51e Merge branch 'main' of github.com:CPPAlliance/boost.org into upload-authors-maintainers 2023-03-10 09:38:49 -08:00
Lacey Williams Henschel
3b7baa7154 Helper command to return contributor data in dict 2023-03-08 14:33:41 -08:00
Lacey Williams Henschel
d32f3db121 Function to extract and reformat email address 2023-03-08 14:16:25 -08:00
Lacey Williams Henschel
f25e3aacf8 Function to generate fake email 2023-03-08 14:12:12 -08:00
Lacey Williams Henschel
96f0264867 Add helper function to extract contributor names 2023-03-08 14:06:42 -08:00
Lacey Williams Henschel
67ceff967b Add ordering to admin 2023-03-08 13:19:24 -08:00
Lacey Williams Henschel
1ce589a1d4 Merge branch 'main' of github.com:revsys/boost.org into upload-authors-maintainers 2023-03-07 13:41:46 -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
f97e2c44b5 🚧 Command to upload lib authors and maintainers
WIP. Uses a single, randomly-retrieved library to test.

- Gets the library GH libraries.json
- Extracts author and maintainer data
- For each person:
  - Extracts the email if available, or autogenerates a placeholder and marks the email as invalid
  - Separates the name fields into First and Last
- For authors, adds the author's User record to the Library's `authors`
- For maintainers, adds the maintainer's User record to the LibraryVersion's `maintainers` (using the most recent Version)
2023-03-03 13:16:30 -08:00
Lacey Williams Henschel
2497be4eaa Add ordering to admin 2023-03-03 13:12:03 -08:00
Lacey Williams Henschel
bb4bd37713 🏦 Move maintainers M2M to LibraryVersion 2023-03-03 13:11:46 -08:00
Greg Newman
35233a2914 Merge branch 'main' into 88-library-search 2023-03-03 12:03:25 -05:00
Lacey Williams Henschel
597253addb 🔧 👕 Light refactor 2023-03-02 09:12:34 -08:00
Greg Newman
38e2a6aba7 test for library api search
* Adds a simple test for the api search view

Issue: #88
2023-02-24 10:38:16 -05:00
Greg Newman
0d18e76692 🔨 refine search
* Distinct results
* Adds hover states to results
* Rustywind linted

Issue: #88
2023-02-24 09:59:12 -05:00
Lacey Williams Henschel
0070a37e6c 🚧 Add function to get user from GH API 2023-02-16 09:54:40 -08: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
ce2727c5ba Reorder tests 2023-02-13 12:21:01 -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
30ff9d3559 🏦 Add Version.slug 2023-02-13 09:32:35 -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
Greg Newman
5cd743d413 Merge pull request #112 from revsys/88-library-search
🚜 WIP working search
2023-02-10 11:24:47 -05:00
Lacey Williams Henschel
1ed6a8ca29 🔧 Make detail breadcrumbs version-sensitive 2023-02-10 08:20:54 -08:00
Greg Newman
acef7f0055 🚜 format results more
* Add truncated description
* Add link
* Cap library name
2023-02-10 11:16:05 -05:00
Lacey Williams Henschel
23df76ac32 🔧 Dynamic form action for version-sensitive category filtering 2023-02-10 08:11:00 -08:00
Greg Newman
28d64a4ef8 🚜 WIP working search
* Bootstrapped API viewset to search libraries
* Updated templates
* Added htmx for search
* Search results template to display results

Issue: #88
2023-02-10 11:04:33 -05: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