Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed from pyblackbird_cc to alphabetlearning - everywhere | Matthew Lemon | 2024-10-15 | 41 | -2243/+0 |
| | |||||
* | wip: implementing CSS classes for category colours on detail page | Matthew Lemon | 2024-10-09 | 1 | -0/+1 |
| | |||||
* | wip: redesigning the detail page | Matthew Lemon | 2024-10-07 | 1 | -0/+1 |
| | |||||
* | Looking crap but getting there - the basket... | Matthew Lemon | 2024-09-19 | 2 | -2/+10 |
| | |||||
* | wip: getting the thumbnails of resources | Matthew Lemon | 2024-09-19 | 2 | -0/+9 |
| | |||||
* | wip: testing adding resources to shopping cart | Matthew Lemon | 2024-09-14 | 1 | -8/+0 |
| | |||||
* | Removes apparently redundant checks on filepath | Matthew Lemon | 2024-09-11 | 1 | -4/+0 |
| | |||||
* | Cleaning up with ruff, typechecking, etc. | Matthew Lemon | 2024-09-11 | 1 | -2/+3 |
| | | | | | I am enabling lots of capability in neovim which is resulting in all this. Don't be scared. | ||||
* | Some formatting changes and calming down ruff slightly | Matthew Lemon | 2024-09-11 | 8 | -30/+35 |
| | |||||
* | Removed extraneous function | Matthew Lemon | 2024-09-10 | 1 | -10/+0 |
| | | | | | - _write_pdf_to_tempdir(), don't know why i put this in in the first place | ||||
* | Removes extranneous e | Matthew Lemon | 2024-09-10 | 1 | -1/+1 |
| | |||||
* | Removes exception object from logging statement | Matthew Lemon | 2024-09-10 | 1 | -1/+1 |
| | |||||
* | Fix bug in subcategories choices func | Matthew Lemon | 2024-09-10 | 1 | -1/+4 |
| | |||||
* | Replace relative imports with absolute | Matthew Lemon | 2024-09-10 | 1 | -5/+5 |
| | |||||
* | All tests pass and sign-up page is editable | Matthew Lemon | 2024-09-10 | 3 | -46/+63 |
| | |||||
* | resources tests passing | Matthew Lemon | 2024-09-08 | 5 | -32/+51 |
| | |||||
* | wip: implementing checkout | Matthew Lemon | 2024-09-08 | 3 | -20/+59 |
| | | | | - also some formatting changes | ||||
* | Fix for tabbed filter in resource list page | Matthew Lemon | 2024-09-03 | 1 | -6/+7 |
| | | | | Previously the link selected on the tabbed filter navbar in resources list would filter the featured resources too. This fixes that. | ||||
* | Another docstring only | Matthew Lemon | 2024-09-03 | 1 | -0/+14 |
| | |||||
* | Adds a docstring to a view function | Matthew Lemon | 2024-09-03 | 1 | -0/+14 |
| | |||||
* | wip: implementing the tabbed filter for standard resources | Matthew Lemon | 2024-09-01 | 1 | -2/+16 |
| | | | | - it is filtering Featured resources too and it shouldn't. Fix. | ||||
* | Added pagination to the resource list page | Matthew Lemon | 2024-09-01 | 1 | -1/+5 |
| | |||||
* | Logo and new navbar and new detail design | Matthew Lemon | 2024-09-01 | 1 | -6/+3 |
| | | | | | | | - logo in place - new navbar - removed Joanna Lemon, etc - tidying up the detail page, using cards and nicer titles - better detail panel at the top of the page with a table in it | ||||
* | The Cancel button is now managed by crispy forms. | Matthew Lemon | 2024-08-08 | 2 | -5/+12 |
| | |||||
* | wip: adding delete and replace buttons for PDFs | Matthew Lemon | 2024-08-05 | 2 | -2/+2 |
| | |||||
* | Add feature to add PDFs to resources | Matthew Lemon | 2024-08-03 | 3 | -3/+89 |
| | | | | Implemented the ability to upload and manage PDFs for resources. Added the necessary form, view, and templates to support this functionality. Updated routes and UI elements to integrate the new feature seamlessly. | ||||
* | Add return type hint to upload_snapshotted_pages_to_s3 | Matthew Lemon | 2024-08-03 | 1 | -1/+1 |
| | | | | This change explicitly specifies that the function upload_snapshotted_pages_to_s3 returns a boolean. Adding type hints helps improve code readability and maintainability by providing clear expectations on the function's return value. | ||||
* | Add admin models for PDFResource and PDFPageSnapshot | Matthew Lemon | 2024-08-03 | 2 | -1/+15 |
| | | | | Expand the admin interface to include PDFResource and PDFPageSnapshot models. The new admin classes define `list_display` attributes to manage displayed columns in the admin list views. | ||||
* | Removes blackism.... | Matthew Lemon | 2024-08-03 | 1 | -3/+1 |
| | |||||
* | Remove Client created log line that is unnecessary. | Matthew Lemon | 2024-08-03 | 1 | -1/+0 |
| | |||||
* | Add S3 utility module and refactor S3 functions into it | Matthew Lemon | 2024-08-03 | 4 | -113/+116 |
| | | | | Created a new `s3.py` utility module for handling S3 interactions including file uploads and generating presigned URLs. Refactored views to utilize these new utility functions and moved the PDF collection type function to a new `utils.py` module to improve code organization and readability. | ||||
* | Updated help text in form field. | Matthew Lemon | 2024-08-03 | 1 | -1/+1 |
| | |||||
* | Adds ability to update the thumbnail/feature images | Matthew Lemon | 2024-08-03 | 2 | -7/+51 |
| | |||||
* | wip: adding the update thumbnails form | Matthew Lemon | 2024-08-03 | 4 | -4/+46 |
| | |||||
* | Refactor PDF collection type conditions for readability. | Matthew Lemon | 2024-08-01 | 1 | -5/+5 |
| | | | | Simplify conditional checks for PDF collection types by removing unnecessary line continuations. Also, fix param format in hx_download_button docstring and adjust string formatting for error messages. | ||||
* | Fix: bug where thumbnail image filenames were not being saved on the ↵ | Matthew Lemon | 2024-08-01 | 1 | -0/+1 |
| | | | | resource object. | ||||
* | Renamed additional_resource_categories to subcategories in ResourceInfo object. | Matthew Lemon | 2024-08-01 | 1 | -2/+2 |
| | |||||
* | Ordering the subcategories dropdown list on the update form. | Matthew Lemon | 2024-08-01 | 1 | -0/+1 |
| | |||||
* | Ordering the subcategories on the admin page. | Matthew Lemon | 2024-08-01 | 1 | -1/+3 |
| | |||||
* | Releasing the exception working to the error message. | Matthew Lemon | 2024-08-01 | 1 | -2/+2 |
| | |||||
* | Fix bug where new subcategories were being created on selection | Matthew Lemon | 2024-08-01 | 5 | -12/+56 |
| | |||||
* | Fix error with validation on additional_resource_category | Matthew Lemon | 2024-08-01 | 1 | -1/+0 |
| | |||||
* | wip: Adds a new model for additional categories | Matthew Lemon | 2024-07-29 | 7 | -9/+119 |
| | | | | | | | | - Adds new ResourceSubcategory - Uses this for choices= in the Resource form (create) - Adds this new model to the admin Doesn't validate in the edit form yet, | ||||
* | Formatting changes only | Matthew Lemon | 2024-07-29 | 1 | -25/+24 |
| | |||||
* | wip: creating a multiple choice field for additional categories | Matthew Lemon | 2024-07-29 | 2 | -4/+12 |
| | |||||
* | Added border and badge colour based on category | Matthew Lemon | 2024-07-28 | 3 | -0/+21 |
| | | | | - You have to define them on the ResourceCategory model in the database | ||||
* | Adds ability to add colour class to main category | Matthew Lemon | 2024-07-11 | 3 | -0/+21 |
| | | | | | - Creates a new line in the database - Uses this in the template instead of the default bootstrap class | ||||
* | Curriculum is optional and age ranges are fixed | Matthew Lemon | 2024-07-11 | 4 | -6/+46 |
| | |||||
* | Removed pypdfium2 which doesn't build on FreeBSD | Matthew Lemon | 2024-06-23 | 1 | -17/+19 |
| | | | | | | | | | | | | Libraries used: - PdPDF2 (to get basic PDF length) - https://pypi.org/project/PyPDF2/ - pdf2image (to extract images from each page) - https://github.com/Belval/pdf2image Reduction of quality of screenshotted image is in place. Reduced pdf screenshot quality considerably | ||||
* | Fix erroneous return statement | Matthew Lemon | 2024-06-22 | 1 | -3/+1 |
| |