aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning (unfollow)
Commit message (Collapse)AuthorFilesLines
21 hoursAdds replacement funnel6 file on front pageHEADmasterMatthew Lemon1-0/+0
22 hourswip: sorting out tests and factoriesMatthew Lemon5-2/+39
48 hoursManually reverting two commits ago - price on ResourceMatthew Lemon4-27/+34
- the correct structure is a Price object with a relation to the Resource
2 daysSome minor formattingMatthew Lemon1-5/+2
2 daysAdds price to Resource modelMatthew Lemon3-8/+26
- the test_forms tests now pass - fixed some imports too here
2 daysisorting the importsmassive-cleanupMatthew Lemon1-5/+3
2 daysfixes bug when running pytest due to misconfigured app.py fileMatthew Lemon1-2/+2
2 daysChanged wording for basket to test deploy scriptMatthew Lemon1-2/+2
4 daysAdds isort as dev depenedencyMatthew Lemon1-18/+8
8 daysMajor refactoring and removal of junkMatthew Lemon42-1078/+180
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.
8 daysRemoved Mailgun - all of itv.0.1-funnelMatthew Lemon1-108/+15
10 dayswip: Adds the shopping cart link if user logged inMatthew Lemon1-12/+12
- basic text-only link visible if user logged in - can still click the link and get an empty card - this needs to be removed
2024-12-23testing llms ability to liberally add comments to a funcMatthew Lemon1-27/+50
2024-12-16Adds Google AnalyticsMatthew Lemon1-0/+9
2024-12-10Added links and changed order of imagesMatthew Lemon3-7/+10
2024-12-09Adds v3 reCAPCHA to the fieldMatthew Lemon3-2/+17
2024-12-09wip: moving home page to home app and implementing reCAPTCHAMatthew Lemon13-1/+50
2024-12-08wip: working on ratelimit - not quite working in the browserMatthew Lemon1-0/+2
2024-12-08Adds spinner after submissionMatthew Lemon2-0/+51
2024-12-08Tidy imports, remove breakpoint, remove logged in linkMatthew Lemon2-7/+3
2024-12-08Make the form look slightly better without the blue outlineMatthew Lemon1-10/+15
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 Lemon6-49/+83
2024-12-05Add unique constraint to EmailVerification email fieldMatthew Lemon5-197/+267
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 Lemon3-19/+61
- 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 Lemon6-11/+32
2024-12-03First cut at email verificationMatthew Lemon10-81/+209
2024-12-03Sorted importsMatthew Lemon1-12/+15
2024-12-02Some tweaks to the spurtMatthew Lemon3-15/+20
2024-12-02Now has spurting letters coming from the radgeMatthew Lemon2-3/+4
2024-12-02With text on the success pageMatthew Lemon1-17/+32
2024-12-02First cut of Javascript letters explosion animationMatthew Lemon1-2/+125
2024-12-02wip: site is betterMatthew Lemon9-176/+138
2024-12-01wip: workingMatthew Lemon17-34/+31
2024-12-01wip: working on the form and front pageMatthew Lemon3-151/+313
2024-12-01Adds some nice images and tidies up funnel pageMatthew Lemon12-38/+100
2024-11-26Added two boxes of text to the home page.Matthew Lemon4-35/+137
2024-11-26Got the basic form anbd privacy policy in placeMatthew Lemon9-432/+135
2024-11-10Change month on front pageMatthew Lemon1-1/+1
2024-10-20tweak position of buttonMatthew Lemon1-3/+3
2024-10-20bugfix: assign price of 0 to resource without Price objectMatthew Lemon2-1/+6
2024-10-20Can now delete item from basketMatthew Lemon6-6/+30
- 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 Lemon5-39/+31
2024-10-20bugfix: detail view failed if user had no shopping cartMatthew Lemon1-4/+6
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 Lemon9-16/+131
- 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-20Adds basic login, logout and profile link to navMatthew Lemon1-0/+13
2024-10-20Updates the TODO list for payments viewsMatthew Lemon1-4/+4
2024-10-19Add multiple items to the cart and Stripe processMatthew Lemon8-28/+63
- Very rough but it works - Multiple items can be added to cart - Can be bought with stripe - Shopping cart is deleted after successful transaction