Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add tests for cart functionality and refactor related filesHEADmaster | Matthew Lemon | 44 hours | 1 | -2/+0 |
| | | | | | | | - Implement test for verifying that the cart contains the correctly priced resource. - Update `ResourceModelFactory` to remove commented price-related code. - Modify HTML meta description for improved clarity. - Adjust `pyproject.toml` to format settings for clarity and organization. | ||||
* | fixed remaining failing legacy test | Matthew Lemon | 45 hours | 1 | -0/+1 |
| | |||||
* | wip: sorting out tests and factories | Matthew Lemon | 3 days | 1 | -0/+1 |
| | |||||
* | Manually reverting two commits ago - price on Resource | Matthew Lemon | 4 days | 3 | -8/+25 |
| | | | | | - the correct structure is a Price object with a relation to the Resource | ||||
* | Some minor formatting | Matthew Lemon | 4 days | 1 | -5/+2 |
| | |||||
* | Adds price to Resource model | Matthew Lemon | 4 days | 3 | -8/+26 |
| | | | | | - the test_forms tests now pass - fixed some imports too here | ||||
* | isorting the importsmassive-cleanup | Matthew Lemon | 4 days | 1 | -5/+3 |
| | |||||
* | Adds isort as dev depenedency | Matthew Lemon | 6 days | 1 | -18/+8 |
| | |||||
* | Major refactoring and removal of junk | Matthew Lemon | 10 days | 20 | -432/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes significant refactoring, cleanup, and updates across various components of the Django project. The following changes were made: - **Database Migration Updates:** - Removed unnecessary migrations in the `alphabetlearning.contrib.sites` and `alphabetlearning.payments` apps, consolidating them into cleaner initial migration files. - Altered the `Site` model in `alphabetlearning.contrib.sites` to streamline its fields and default settings. - Introduced new models in `alphabetlearning.payments` related to email signups and verification, reflecting a shift in focus and better alignment with current business logic. - **Django Settings Changes:** - Updated the database settings to use SQLite for local development, while commenting out production-specific configurations. - Managed third-party dependencies within `requirements.txt` and `pyproject.toml`, ensuring alignment with the latest Django version (5.1.4) and removing obsolete dependencies (e.g., `celery`, `django-celery-beat`, `flower`, etc.). - **Docker and Compose Clean-up:** - Removed old Dockerfiles and unnecessary services from the `docker-compose` configuration, streamlining the local and production setups. - Updated the Dockerfile configuration for local development, focusing on essential services only. - **General Code Clean-up:** - Removed unused tasks, views, tests, and files related to the Celery and Redis frameworks. - Cleaned up various model definitions and their related migrations for consistency and clarity. - **Documentation and Comments:** - Updated comments and code documentation where necessary to reflect the changes made during this cleanup process. This major refactor aims to enhance project maintainability and streamline the development experience while preparing for future feature expansions and improvements. | ||||
* | testing llms ability to liberally add comments to a func | Matthew Lemon | 2024-12-23 | 1 | -27/+50 |
| | |||||
* | wip: sorting out the email sending | Matthew Lemon | 2024-12-08 | 1 | -2/+2 |
| | |||||
* | bugfix: assign price of 0 to resource without Price object | Matthew Lemon | 2024-10-20 | 1 | -0/+5 |
| | |||||
* | Can now delete item from basket | Matthew Lemon | 2024-10-20 | 1 | -1/+0 |
| | | | | | | | - if is only one item left, it is deleted along with the basket - if there are more than one, just that one is deleted - TODO needs proper handling of the confirmation page - it's not formatted. htmx? | ||||
* | bugfix: detail view failed if user had no shopping cart | Matthew Lemon | 2024-10-20 | 1 | -4/+6 |
| | |||||
* | Cart shows items in it; disables buttons if item in basket | Matthew Lemon | 2024-10-20 | 1 | -0/+13 |
| | | | | | | | | | | - Rough cart icon in navbar - Shows items in cart - Styled dependent on existence - Add to cart buttons disabled if resource in cart, on resource list page and detail page - Throws 404 error if trying add item to cart which has no price - eventually all items will have a price | ||||
* | Changes the Resource to include Stripe reference | Matthew Lemon | 2024-10-19 | 2 | -7/+31 |
| | |||||
* | Renamed from pyblackbird_cc to alphabetlearning - everywhere | Matthew Lemon | 2024-10-15 | 41 | -0/+2242 |