Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds ability to add colour class to main category | Matthew Lemon | 2024-07-11 | 6 | -2/+33 |
| | | | | | - 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 |
| | |||||
* | Better display of number of files in PDF | Matthew Lemon | 2024-07-07 | 1 | -4/+6 |
| | | | | | | | | - The header bar now contains a Number of files: X dependent on the number of files in the resource - The File Preview header now includes a counter number if this is a multi-page PDF - The title of PDF file is put alongside the File Preview text in the h4 | ||||
* | Better implementation of carousel | Matthew Lemon | 2024-07-07 | 3 | -2/+20 |
| | | | | | | - Removed the primary coloured background - Changed the colour of the next and previous icons - Reduced the width of the actual image | ||||
* | Basic implementation of a carousel | Matthew Lemon | 2024-07-04 | 1 | -9/+28 |
| | | | | Needs lots of work and tidying up mind... | ||||
* | Adds htmx.js local file | Matthew Lemon | 2024-06-29 | 1 | -0/+1 |
| | |||||
* | Adds whitenoise compression | Matthew Lemon | 2024-06-29 | 1 | -8/+8 |
| | |||||
* | Adds flake8 config | Matthew Lemon | 2024-06-29 | 1 | -0/+2 |
| | |||||
* | Removed pypdfium2 which doesn't build on FreeBSD | Matthew Lemon | 2024-06-23 | 2 | -19/+21 |
| | | | | | | | | | | | | 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 |
| | |||||
* | Removes unnecessary comment | Matthew Lemon | 2024-06-22 | 1 | -28/+0 |
| | |||||
* | Better use of pytest-django mark | Matthew Lemon | 2024-06-22 | 1 | -3/+2 |
| | |||||
* | Fixes bug where multiple PDFs not snappshotted | Matthew Lemon | 2024-06-22 | 2 | -7/+38 |
| | | | | | Includes test of new function which determines the length and composition of the snappshotted pages. | ||||
* | Some tidying only | Matthew Lemon | 2024-06-22 | 2 | -4/+7 |
| | | | | | | Includes the DATABASE_URL in the local settings. Linting changes. | ||||
* | Merge branch 'master' of ↵ | Matthew Lemon | 2024-05-31 | 1 | -97/+26 |
|\ | | | | | | | ssh://git.yulqen.org:2222/home/git/repositories/python/pyblackbird_cc | ||||
| * | Got rid of the cookiecutter README guff | Matthew Lemon | 2024-05-30 | 1 | -97/+26 |
| | | | | | | | | | | - Replaced with a nice set of requirements - Sets out user definitions | ||||
* | | Keep tags out of docker containers | Matthew Lemon | 2024-05-31 | 1 | -0/+1 |
|/ | |||||
* | Started work on a Perl script to check/assit with deployment | Matthew Lemon | 2024-05-29 | 1 | -0/+34 |
| | |||||
* | Adds .env-prod - intended to be pushed to server | Matthew Lemon | 2024-05-29 | 2 | -0/+4 |
| | |||||
* | Fixed incorrect AWS URL | Matthew Lemon | 2024-05-28 | 1 | -1/+1 |
| | |||||
* | Remove django-extensions | Matthew Lemon | 2024-05-28 | 1 | -0/+0 |
| | |||||
* | Should be a buildable Django container | Matthew Lemon | 2024-05-28 | 9 | -62/+117 |
| | |||||
* | Remove django-extensions | Matthew Lemon | 2024-05-27 | 2 | -2/+1 |
| | |||||
* | Trying to remove django_toolbar - also removes whitenose settings | Matthew Lemon | 2024-05-27 | 1 | -8/+7 |
| | |||||
* | Removes debug_toolbar line from conf/urls - 3 | Matthew Lemon | 2024-05-27 | 1 | -2/+2 |
| | |||||
* | Removes debug_toolbar line from conf/urls - again | Matthew Lemon | 2024-05-27 | 1 | -3/+0 |
| | |||||
* | Removes debug_toolbar line from conf/urls | Matthew Lemon | 2024-05-27 | 1 | -0/+3 |
| | |||||
* | Removes most celery, storages and sentry config | Matthew Lemon | 2024-05-27 | 2 | -130/+125 |
| | | | | | | | | | | | | Comments out in the settings files. Leaves a couple of imports of celery, but we're not removing the requirements on celery so should be fine, it will be installed. Comments out storages and sentry code. Leaves it all in Dockerfile and compose, but this change is aimed at getting Django running WITHOUT docker and compose. | ||||
* | comment out traefik service config | Matthew Lemon | 2024-05-27 | 1 | -21/+21 |
| | |||||
* | Calming pytest | Matthew Lemon | 2024-05-26 | 1 | -1/+2 |
| | |||||
* | Removes extraneous code create_resource_objects | Matthew Lemon | 2024-05-26 | 1 | -20/+0 |
| | |||||
* | Tweaking borders | Matthew Lemon | 2024-05-26 | 1 | -1/+1 |
| | |||||
* | Changes the flex alignment to start for non-featured resources | Matthew Lemon | 2024-05-26 | 1 | -1/+1 |
| | |||||
* | Tweaking the layout of the list page | Matthew Lemon | 2024-05-26 | 2 | -5/+9 |
| | |||||
* | Correctly handles the unique constraint on feature_slot | Matthew Lemon | 2024-05-26 | 5 | -69/+88 |
| | |||||
* | Fix link on card which was overriding the detail and edit links | Matthew Lemon | 2024-05-26 | 1 | -5/+3 |
| | |||||
* | Changes the layout of the index slightly - better spacing | Matthew Lemon | 2024-05-26 | 1 | -2/+2 |
| | |||||
* | Adds a link to each card on the index page | Matthew Lemon | 2024-05-26 | 1 | -0/+2 |
| | |||||
* | Changes title of the admin | Matthew Lemon | 2024-05-26 | 1 | -1/+6 |
| | |||||
* | Better presentation of the feature resources | Matthew Lemon | 2024-05-26 | 7 | -84/+174 |
| | |||||
* | Markdown for the card description | Matthew Lemon | 2024-05-26 | 1 | -2/+3 |
| | |||||
* | Removes breakpoint | Matthew Lemon | 2024-05-26 | 1 | -1/+0 |
| | |||||
* | Basic feature slot presentation in index page | Matthew Lemon | 2024-05-26 | 6 | -55/+118 |
| | |||||
* | wip: create form now as a feature field | Matthew Lemon | 2024-05-26 | 2 | -2/+6 |
| | |||||
* | Tests validation of resource create form | Matthew Lemon | 2024-05-24 | 3 | -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 test | Matthew Lemon | 2024-05-22 | 1 | -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 field | Matthew Lemon | 2024-05-22 | 6 | -6/+80 |
| | |||||
* | Adds a new page template to manipulate feature resources - but we may not ↵ | Matthew Lemon | 2024-05-22 | 1 | -2/+14 |
| | | | | need this | ||||
* | wip: starting to test the featured resource view | Matthew Lemon | 2024-05-22 | 5 | -0/+28 |
| | |||||
* | wip: | Matthew Lemon | 2024-05-20 | 4 | -3/+27 |
| | | | | | | - Passing test for raw ORM handling to find snapshot files from an object - Quietens down pytest output |