206 Commits

Author SHA1 Message Date
Lacey Williams Henschel
9f5db36d3f Try to get the library-version repo with another field if it fails with the submodule name 2023-07-20 09:23:00 -07:00
Lacey Williams Henschel
dd039d20c2 Catch the error with version 1.61.0 2023-07-20 09:23:00 -07:00
Lacey Williams Henschel
b897e2d679 Explain an import error log 2023-07-20 09:23:00 -07:00
Lacey Williams Henschel
91a1936dcd Change monthly refresh to update only last month's commit counts 2023-07-10 06:22:36 -07: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
0c6593fdfa Improve locating author records 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
f8475f1009 Refactor to fetch API commit data in method that adds the CommitData objects 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
b26c319bb0 Fix bug related to getting tag info in get_ref 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
173b0360a1 Fix some tests 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
f82d299559 Refactor to make update methods simpler, remove duplicate method 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
f319378d45 Refactor to add libraries if they don't exist 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
2a2358d60a Make library and version on LibraryVersion required 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
5233b1510a Make categories in drop-down version-sensitive 2023-07-06 10:30:50 -07:00
Lacey Williams Henschel
57c4f0e8fb Add version alert to detail view and template 2023-06-23 10:47:26 -07:00
Lacey Williams Henschel
e83fd73426 Add VersionAlertMixin to ListView 2023-06-23 10:47:26 -07:00
Lacey Williams Henschel
81fe8c0694 Return commit data in view using manager methods 2023-06-21 15:20:42 -07:00
Lacey Williams Henschel
c59f88154b Add manager methods to get commit data 2023-06-21 15:20:42 -07:00
Lacey Williams Henschel
3fd030ac5c Retrieve the versioned docs url for each library 2023-06-20 12:21:18 -07:00
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
Natalia
8a9af8a137 Fixed code style issues. 2023-06-16 22:04:04 -03: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
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