185 Commits

Author SHA1 Message Date
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
Natalia
db1ad7983b Revert changes to files inside static/img and static/animations
Also revert changes to migrations
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
ccf21dffa5 Better paging logic 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
f677652bc3 change to PositiveIntegerField for count 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
cee6df7b4b Condense mCommitData migration files 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
bd6d229248 Minor bugfixes 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
e238649e58 Add management command to import commit counts 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
5115efd421 Add method to save commit data to model 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
2146e7bc7b Add related_name 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
f3fbe63827 Refactor get_commits to include dates 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
dfb0113012 Add fixture for commit data 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
6ae8418f89 Add CommitData model for commit counts 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
9dee6b0e5c Add methods to get number of commits per month 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
fd06816e6f 🐛 Restore accidentally-deleted URL pattern and test 2023-05-25 11:21:02 -07: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
7911928f4f Add management command to import release dates 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
3d17a9ce3c 🔧 Minor refactor, bugfix 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
fdc7fce1e8 📝 Update field names 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
9b7d64a725 Fix test 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
649b7add15 Minor corrections 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
04ecc158d0 🏦 Add date field, save date 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
0936ab2dd9 WIP testing 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
90f2cc8e06 📝 Fix docstring 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
233d87bc71 Add method to get date first tag for library 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
49850d4261 Code simplifications 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
480dd2422e Add default val 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
2499c4891e Style changes, changes per PR review 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
1bb1da3dc8 Fix test 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
dedd103807 Add command to import library-versions 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
2b4c0a9399 📝 Add options for skipping existing versions and passing an API token 2023-05-16 11:19:37 -07:00
Lacey Williams Henschel
488ca4d3ba Final command, docs, linter 2023-05-15 10:19:32 -07:00
Lacey Williams Henschel
fc63727f0d 🔥 Should not be in this PR 2023-05-15 10:19:32 -07:00
Lacey Williams Henschel
0f3e2af9d2 🏦 Cascade deletions of versions and libraries to LibraryVersions 2023-05-15 10:19:32 -07:00
Lacey Williams Henschel
b0cf084090 WIP load library release dates 2023-05-15 10:19:32 -07:00
Lacey Williams Henschel
25521430f0 📝 Change the display value of cxxstd 03 2023-05-11 12:02:15 -07:00
Lacey Williams Henschel
eb0a6884b6 168 import versions (#295)
* WIP get old versions

* 🏦 Add URL and data dict to Version model

* 🔧 Some refactoring how we get tag data

* First pass at uploading versions

* 🔧 Move parsing logic to the parser and add tests

* Retrieve url and save json data

* Improve version upload docs

* Linter
2023-05-11 05:59:49 -07:00
Lacey Williams Henschel
ce8dfe0ebb Merge pull request #279 from cppalliance/252-min-version
 Add display for cxxstd value
2023-05-09 16:03:52 -07:00
Lacey Williams Henschel
0403f837c4 Add display for cxxstd value 2023-05-09 15:54:24 -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
Lacey Williams Henschel
b4fca48a6e Add version selection form for libraries 2023-05-09 13:33:06 -07:00
Lacey Williams Henschel
b5dda56f93 📝 Change to cached_property 2023-05-09 11:59:13 -07:00
Lacey Williams Henschel
348dd7ec58 Generate library github issues url 2023-05-09 11:34:34 -07:00