aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/views.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Renamed from pyblackbird_cc to alphabetlearning - everywhereMatthew Lemon2024-10-151-431/+0
|
* wip: implementing CSS classes for category colours on detail pageMatthew Lemon2024-10-091-0/+1
|
* wip: redesigning the detail pageMatthew Lemon2024-10-071-0/+1
|
* Cleaning up with ruff, typechecking, etc.Matthew Lemon2024-09-111-2/+3
| | | | | I am enabling lots of capability in neovim which is resulting in all this. Don't be scared.
* Removed extraneous functionMatthew Lemon2024-09-101-10/+0
| | | | | - _write_pdf_to_tempdir(), don't know why i put this in in the first place
* Removes extranneous eMatthew Lemon2024-09-101-1/+1
|
* Removes exception object from logging statementMatthew Lemon2024-09-101-1/+1
|
* wip: implementing checkoutMatthew Lemon2024-09-081-20/+26
| | | | - also some formatting changes
* Fix for tabbed filter in resource list pageMatthew Lemon2024-09-031-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 onlyMatthew Lemon2024-09-031-0/+14
|
* Adds a docstring to a view functionMatthew Lemon2024-09-031-0/+14
|
* wip: implementing the tabbed filter for standard resourcesMatthew Lemon2024-09-011-2/+16
| | | | - it is filtering Featured resources too and it shouldn't. Fix.
* Added pagination to the resource list pageMatthew Lemon2024-09-011-1/+5
|
* The Cancel button is now managed by crispy forms.Matthew Lemon2024-08-081-2/+2
|
* wip: adding delete and replace buttons for PDFsMatthew Lemon2024-08-051-1/+1
|
* Add feature to add PDFs to resourcesMatthew Lemon2024-08-031-2/+48
| | | | 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.
* Removes blackism....Matthew Lemon2024-08-031-3/+1
|
* Add S3 utility module and refactor S3 functions into itMatthew Lemon2024-08-031-112/+2
| | | | 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.
* Adds ability to update the thumbnail/feature imagesMatthew Lemon2024-08-031-0/+30
|
* wip: adding the update thumbnails formMatthew Lemon2024-08-031-4/+15
|
* Refactor PDF collection type conditions for readability.Matthew Lemon2024-08-011-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 Lemon2024-08-011-0/+1
| | | | resource object.
* Renamed additional_resource_categories to subcategories in ResourceInfo object.Matthew Lemon2024-08-011-2/+2
|
* Releasing the exception working to the error message.Matthew Lemon2024-08-011-2/+2
|
* Fix bug where new subcategories were being created on selectionMatthew Lemon2024-08-011-7/+8
|
* wip: Adds a new model for additional categoriesMatthew Lemon2024-07-291-4/+6
| | | | | | | | - 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,
* Added border and badge colour based on categoryMatthew Lemon2024-07-281-0/+2
| | | | - You have to define them on the ResourceCategory model in the database
* Adds ability to add colour class to main categoryMatthew Lemon2024-07-111-0/+2
| | | | | - Creates a new line in the database - Uses this in the template instead of the default bootstrap class
* Fix erroneous return statementMatthew Lemon2024-06-221-3/+1
|
* Fixes bug where multiple PDFs not snappshottedMatthew Lemon2024-06-221-7/+24
| | | | | Includes test of new function which determines the length and composition of the snappshotted pages.
* Removes extraneous code create_resource_objectsMatthew Lemon2024-05-261-20/+0
|
* Correctly handles the unique constraint on feature_slotMatthew Lemon2024-05-261-34/+42
|
* Better presentation of the feature resourcesMatthew Lemon2024-05-261-1/+4
|
* Removes breakpointMatthew Lemon2024-05-261-1/+0
|
* Basic feature slot presentation in index pageMatthew Lemon2024-05-261-1/+9
|
* wip: starting to test the featured resource viewMatthew Lemon2024-05-221-0/+5
|
* wip: replacing os.path.basename with PathMatthew Lemon2024-05-161-3/+5
|
* Cleans up a few LSP errorsMatthew Lemon2024-05-161-11/+11
|
* Basic form to update Resource metadataMatthew Lemon2024-05-151-0/+23
|
* Added cards to resource list pageMatthew Lemon2024-05-141-0/+4
|
* Further tidyingMatthew Lemon2024-05-141-5/+3
|
* Can now upload to SpacesMatthew Lemon2024-05-141-1/+357
|
* After first pre-commit processingMatthew Lemon2024-05-131-0/+1