aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed pypdfium2 which doesn't build on FreeBSDMatthew Lemon2024-06-231-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 statementMatthew Lemon2024-06-221-3/+1
|
* Removes unnecessary commentMatthew Lemon2024-06-221-28/+0
|
* Better use of pytest-django markMatthew Lemon2024-06-221-3/+2
|
* Fixes bug where multiple PDFs not snappshottedMatthew Lemon2024-06-222-7/+38
| | | | | 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-264-54/+68
|
* Better presentation of the feature resourcesMatthew Lemon2024-05-266-3/+77
|
* Removes breakpointMatthew Lemon2024-05-261-1/+0
|
* Basic feature slot presentation in index pageMatthew Lemon2024-05-265-6/+27
|
* wip: create form now as a feature fieldMatthew Lemon2024-05-262-2/+6
|
* Tests validation of resource create formMatthew Lemon2024-05-243-8/+39
| | | | | | | | In particular related to the new feature_slot field. Ensures that the feature_slot integer must be unique when attempts to save to the database and that the value given in the form is between 1 and 3.
* Fixed the failing form testMatthew Lemon2024-05-221-38/+23
| | | | | We now pass a MultiValueDict object to which allows self.files.getlist() to work properly inside clean_pdf_files()
* Resource now has a feature slot fieldMatthew Lemon2024-05-226-6/+80
|
* wip: starting to test the featured resource viewMatthew Lemon2024-05-224-0/+19
|
* wip:Matthew Lemon2024-05-203-2/+26
| | | | | | - Passing test for raw ORM handling to find snapshot files from an object - Quietens down pytest output
* Removes unnwanted tests.py fileMatthew Lemon2024-05-191-1/+0
|
* wip: improving the test setup - againMatthew Lemon2024-05-161-1/+5
|
* wip: improving the test setupMatthew Lemon2024-05-162-24/+19
|
* wip: working on setting up the testsMatthew Lemon2024-05-162-4/+43
|
* wip: starting to test feature resource functionality with factoriesMatthew Lemon2024-05-165-2/+68
|
* wip: replacing os.path.basename with PathMatthew Lemon2024-05-161-3/+5
|
* wip: markdown implemented for description field but working on help_textMatthew Lemon2024-05-165-2/+55
|
* Moving to pytest syntax for testsMatthew Lemon2024-05-161-13/+13
|
* Cleans up a few LSP errorsMatthew Lemon2024-05-161-11/+11
|
* Fix additional resource field in update formMatthew Lemon2024-05-152-1/+25
|
* Migrates tests over from old projectMatthew Lemon2024-05-158-0/+434
|
* Adds an admin bar to resources page and moves some stuff to homeMatthew Lemon2024-05-151-1/+1
|
* Basic form to update Resource metadataMatthew Lemon2024-05-154-25/+67
|
* Tidying up the create form - using custom cssMatthew Lemon2024-05-151-1/+1
|
* Added cards to resource list pageMatthew Lemon2024-05-141-0/+4
|
* Further tidyingMatthew Lemon2024-05-142-5/+9
|
* Adds crispy forms helperMatthew Lemon2024-05-141-7/+40
|
* Can now upload to SpacesMatthew Lemon2024-05-147-1/+744
|
* After first pre-commit processingMatthew Lemon2024-05-137-0/+10