aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/resources (unfollow)
Commit message (Collapse)AuthorFilesLines
38 hoursAdd tests for cart functionality and refactor related filesHEADmasterMatthew Lemon1-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.
39 hoursfixed remaining failing legacy testMatthew Lemon1-0/+1
3 dayswip: sorting out tests and factoriesMatthew Lemon1-0/+1
4 daysManually reverting two commits ago - price on ResourceMatthew Lemon3-8/+25
- the correct structure is a Price object with a relation to the Resource
4 daysSome minor formattingMatthew Lemon1-5/+2
4 daysAdds price to Resource modelMatthew Lemon3-8/+26
- the test_forms tests now pass - fixed some imports too here
4 daysisorting the importsmassive-cleanupMatthew Lemon1-5/+3
6 daysAdds isort as dev depenedencyMatthew Lemon1-18/+8
10 daysMajor refactoring and removal of junkMatthew Lemon20-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.
2024-12-23testing llms ability to liberally add comments to a funcMatthew Lemon1-27/+50
2024-12-08wip: sorting out the email sendingMatthew Lemon1-2/+2
2024-10-20bugfix: assign price of 0 to resource without Price objectMatthew Lemon1-0/+5
2024-10-20Can now delete item from basketMatthew Lemon1-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?
2024-10-20bugfix: detail view failed if user had no shopping cartMatthew Lemon1-4/+6
2024-10-20Cart shows items in it; disables buttons if item in basketMatthew Lemon1-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
2024-10-19Changes the Resource to include Stripe referenceMatthew Lemon2-7/+31
2024-10-15Renamed from pyblackbird_cc to alphabetlearning - everywhereMatthew Lemon41-0/+2242