aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments (unfollow)
Commit message (Collapse)AuthorFilesLines
9 daysMajor refactoring and removal of junkMatthew Lemon15-387/+107
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.
9 daysRemoved Mailgun - all of itv.0.1-funnelMatthew Lemon1-108/+15
2024-12-09Adds v3 reCAPCHA to the fieldMatthew Lemon1-2/+2
2024-12-09wip: moving home page to home app and implementing reCAPTCHAMatthew Lemon2-0/+7
2024-12-08wip: working on ratelimit - not quite working in the browserMatthew Lemon1-0/+2
2024-12-08Tidy imports, remove breakpoint, remove logged in linkMatthew Lemon1-2/+3
2024-12-08Uses Mailgun for production and local settingsMatthew Lemon1-6/+7
- credentials are in the .env file - uses the mailgun http API to send verification messages
2024-12-08wip: temporarily switched to mailgun testingMatthew Lemon1-19/+41
- this uses mailgun sandbox credentials whilst I was setting up the domain on there.
2024-12-08wip: sorting out the email sendingMatthew Lemon5-47/+81
2024-12-05Add unique constraint to EmailVerification email fieldMatthew Lemon4-60/+122
This update enhances the EmailVerification model by ensuring the email field is unique, preventing duplicate records. A new form, EmailVerificationForm, was also introduced to handle email cleaning and validation, which enhances user input handling. Additionally, existing views and templates have been updated to integrate this form, improving the user experience and error feedback.
2024-12-04Email verificationMatthew Lemon2-8/+50
- Associated changes in the .env file now allow us to test the SMTP server config - Added mine and J's email ad admins - Grab env variables from the .env file in the local.py file for testing purposes - Set an expiry of 24hrs for the validation link to work - Added an HTML version of the verification email
2024-12-03Better handling of email verificationMatthew Lemon4-7/+27
2024-12-03First cut at email verificationMatthew Lemon6-33/+132
2024-12-03Sorted importsMatthew Lemon1-12/+15
2024-12-02Some tweaks to the spurtMatthew Lemon1-0/+5
2024-11-26Got the basic form anbd privacy policy in placeMatthew Lemon5-13/+85
2024-10-20Can now delete item from basketMatthew Lemon2-3/+20
- 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-20tidying up the cart detail page - still nowhere near good enoughMatthew Lemon1-19/+16
2024-10-20bugfix: bad request if resource doesn't have price objectMatthew Lemon1-4/+3
2024-10-20Cart shows items in it; disables buttons if item in basketMatthew Lemon2-3/+8
- 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-20Updates the TODO list for payments viewsMatthew Lemon1-4/+4
2024-10-19Add multiple items to the cart and Stripe processMatthew Lemon4-23/+50
- Very rough but it works - Multiple items can be added to cart - Can be bought with stripe - Shopping cart is deleted after successful transaction
2024-10-19Changes the Resource to include Stripe referenceMatthew Lemon4-10/+39
2024-10-19Test email in the consoleMatthew Lemon1-2/+13
2024-10-17skeleton webhook for stripe workingMatthew Lemon2-1/+29
2024-10-17Adds TODO to the payments/view page for the next stepsMatthew Lemon1-0/+12
2024-10-17Update Stripe and include the API keyMatthew Lemon2-2/+6
2024-10-15Renamed from pyblackbird_cc to alphabetlearning - everywhereMatthew Lemon19-0/+691