Branches

prefetch_related

View source
prefetch_related
Author Commit Message Labels Comments Date
Luke Plant
Used experimental 'prefetch_related' Django API to reduce query count on lots of pages
Luke Plant
Added 'RefundPayment' model and functionality, to allow recording of refunds.
Luke Plant
Temporary fix for latest django-debug-toolbar which errors with latest Django
Luke Plant
Performance fixes for admin
Luke Plant
Added cancelled bookings to account overview page
Luke Plant
Added booking state for 'full refund' cancellation (in case CCIW cancel a camp)
Luke Plant
Fixed test error caused by incomplete DB setup for the view.
Luke Plant
Fixed bug in fabfile deploy process
Luke Plant
Changed deploy process to use hg to download sources
Luke Plant
Correction to booking index page if deposit price has not been set.
Luke Plant
Corrected variables controlling Paypal process to not include shipping or notes prompts
Luke Plant
Added note about refunds.
Luke Plant
Slightly less lurid colour for validation errors
Luke Plant
Nice big 'book now' button.
Luke Plant
Corrected bugs with showing booking problems in admin for already saved objects
Luke Plant
Added functionality for dealing with cancellations/deposit.
Luke Plant
Changed user-visible 'place details' link to less confusing 'camper details'
Luke Plant
Usability of 'use previous data' in 'add place' - if only one option, select it automatically.
Luke Plant
Added fallback method for showing placeholder text
Luke Plant
Used placeholder text for 'YYYY-MM-DD'
Luke Plant
Fixed typo
Luke Plant
Fixed CSS issue with multi-line labels and validation errors in forms
Luke Plant
Changed display of required fields in forms to use bold, rather than a star
Luke Plant
Improved form usability by changing appearance of error messages
Luke Plant
Fixed some comments
Luke Plant
Merged from default
Luke Plant
Code simplification
Luke Plant
Removed unnecessary use of 'lazy'
Luke Plant
Developer friendly changes
Luke Plant
Improved error message for 'add place' page
Luke Plant
Merged from default
Luke Plant
Silence warnings from zc.lockfile
Luke Plant
Fixed performance regression introduce by making menu link query lazy.
Luke Plant
Fixed BookingAccount to deal with concurrent saves so that total_received is not overwritten
Luke Plant
Fixed paths to HTML validator
Luke Plant
Fixed bug in email verification
Luke Plant
Improved admin for ChequePayment
Luke Plant
Added some laziness to standard context processor, to avoid unnecessary DB queries when in admin section.
Luke Plant
More efficient manager for Payment
Luke Plant
docstring added
Luke Plant
Admin interface for ChequePayment
Luke Plant
Migration
Luke Plant
Added ChequePayment model and basic functionality
Luke Plant
Typo in README
Luke Plant
Added test for Payment objects being created by Paypal payments
Luke Plant
Added booking secretary links to officer home page
Luke Plant
Fixd typo
Luke Plant
For the admin Booking form, re-used the functionality for showing actual price in price type drop down
Luke Plant
Added warning for booking secretary that shows the correct price
Luke Plant
Added AJAX feedback of booking problems onto admin Booking page
Luke Plant
Added AJAX enhancements to admin Booking edit page, so that account data can be copied in easily
Luke Plant
Moved utility function out to cciw.utils
Luke Plant
Fixed potential unicode problem with user autocomplete view
Luke Plant
Streamlined adding interface for adding Bookings, using an enhanced BookingAccount autocomplete widget
Luke Plant
Fixed admin for BookingAccount to use NULLs for email/name/post_code
Luke Plant
BookingAccount model changes to give flexibility/tightness required for real world
Luke Plant
Reused exception_notify_admins
Luke Plant
Removed some unused code.
Luke Plant
Made use of exception_notify_admins utility in handle_mailing_lists command
Luke Plant
Merged from default
Luke Plant
New system for handling payments to ensure serial access to BookingAccount.total_recieved
Luke Plant
On 'add place' page, decorated 'Price' dropdown labels with actual current price
Luke Plant
Corrected booking warning email to only be sent out once
Luke Plant
Merged from default
Luke Plant
Don't load mailer app for staging, as it isn't used
Luke Plant
Added note about paying for places together.
Luke Plant
Added a login message
Luke Plant
Removed unnecessary heading
Luke Plant
Renamed booking stage 1 from 'email address' to 'login'
Luke Plant
/booking/start/ now redirects to basket if there is anything in it.
Luke Plant
Added warnings for possible failure to use 2nd and 3rd child discounts
Luke Plant
Fixed dozens of instances where unicode should have been used instead of str
Luke Plant
Added 'expire_bookings' management command (to run as a cron job)
Luke Plant
Tweak to 'place confimed' email
Luke Plant
Added BookingAccount.first_login and last_login fields, for purposes of stats
Luke Plant
Fixed bug with some validation errors being incorrectly cleared on 'add place' page
Luke Plant
Tweak to booking bar
Luke Plant
Increased distinction between adding new place and editing existing.
Luke Plant
Fixed 'copy place details' to exclude the current place in candidates
Luke Plant
Implemented log out
Luke Plant
Implemented booking account overview page
Luke Plant
Added test for payment received signal handler
Luke Plant
Test cleanups
Luke Plant
Handle flagged paypal payments
Luke Plant
Don't spam the booking account holder with multiple emails when places are confirmed together
Luke Plant
Implemented emails for when payment is received.
Luke Plant
Added warning for camper with same name on same camp
Luke Plant
Fixed an HTML error
Luke Plant
Small test cleanup
Luke Plant
Corrected/clarified some code comments
Luke Plant
Fixed corner case where bookings should be marked as confirmed immediately
Luke Plant
Made copying of data on 'add place' page behave more nicely with validation errors
Luke Plant
Code comment
Luke Plant
Added place availability to 'add place' page, changing camp widget to a radio button list
Luke Plant
Changed API of Camp.get_places_left() for efficiency
Luke Plant
Fixed CSS error
Luke Plant
Renamed method for clarity
Luke Plant
Moved some logic to Camp class, for easier re-use
Luke Plant
Changed HTML for rendering forms to be a bit simpler
Luke Plant
Stopped BookingAccount.total_received being edited in admin.
Luke Plant
Ensured that 'add place' cannot be done before adding account details
Luke Plant
Added shortcut for entering camper/contact address details on 'add place' page
Luke Plant
Added test for Ajax 'places_json' view
Luke Plant
Added basic tests for payment return points
Luke Plant
Much more convenient way of ajaxifying forms (using class="ajaxify")
Luke Plant
Switched to Python 2.7
Luke Plant
Send a message when account details have been entered
Luke Plant
Consistency fixes for titles of booking pages
Luke Plant
Ajaxified the account details form
Luke Plant
Improved usability and clarity of booking bar
Luke Plant
Added 'booking bar' that shows the state of the booking process with links to skip backwards/forwards
Luke Plant
Fixed views for paypal return URLs to accept POST and show a simple page
Luke Plant
Improved admin interface for Booking
Luke Plant
Corrections to running of syncdb and migrate in fabfile
Luke Plant
Moved django dependency to be in requirements.txt
Luke Plant
Increased usefulness of staging mail backend
Luke Plant
Fixed pay_done and pay_cancelled views for use by Paypal
Luke Plant
Corrected requirements.txt
Luke Plant
Created a mail backend for testing on the staging site
Luke Plant
Migrations to set up bookings page
Luke Plant
Paypal settings tweaks
Luke Plant
Improved name of item being bought on paypal
Luke Plant
Implemented payment system using django-paypal
Luke Plant
File missing from previous commit
Luke Plant
Implemented 'pay' view for bookings.
Luke Plant
Cleaned up business logic API using explicit 'basket' and 'shelf'
Luke Plant
Implemented 'book now' for 'list bookings' page
Luke Plant
Made use of messages for shelving/unshelving/deleting items in basket
Luke Plant
Added django.contrib.messages integration to main template, for use by booking system.
Luke Plant
Removed some duplication in tests
Luke Plant
Increased test coverage by adding some simple tests for booking 'index' page
Luke Plant
Checked 'view/edit' on 'list bookings' page from link to button for consistency
Luke Plant
Corrected messages about when bookings will be reviewed.
Luke Plant
Added camp place availability functionality - schema, business logic, tests
Luke Plant
Refactoring to reduce duplication in tests
Luke Plant
Fixed hard-coding of value in test
Luke Plant
Corrected a bug in test (hard coded year)
Luke Plant
Corrected some logic to use Booking.camp.year instead of thisyear
Luke Plant
Added validation for minimum and maximum ages for booking camp places.
Luke Plant
Fixed tests for change in Camp model
Luke Plant
Changed Camp.age field to minimum_age and maximum_age so that information is stored at DB level
Luke Plant
Several visual tweaks to 'list bookings' page for clarity
Luke Plant
Used correct value for South Wales transport price on 'add place' page
Luke Plant
Implemented 'delete' function for 'list bookings' pages
Luke Plant
Fixed use of hard-coded number constant
Luke Plant
Added initial migration for bookings app
Luke Plant
Improved Booking admin
Luke Plant
Improved efficiency of Booking YearFilter in admin
Luke Plant
Fixed a bug with Bookings admin list filter showing duplicate items
Luke Plant
Fixed some business logic so that booked places are included in 2nd/3rd child discount logic
Luke Plant
Added business logic for South Wales transport surcharge
Luke Plant
Fixed bug in exception handling
Luke Plant
Implemented 'move to shelf' (and back) functionality for bookings
Luke Plant
Various UI tweaks to 'list bookings' page for clarity
Luke Plant
Clarified message about invalid discounts.
Luke Plant
Visual tweaks on 'list bookings' page
Luke Plant
Implemented 'add another' button on 'list bookings' page
Luke Plant
Grammar/consistency fix.
Luke Plant
Added 'edit place' functionality and business rules.
Luke Plant
Implemented business rules for serious illness
Luke Plant
Implemented business rules regarding 2nd/3rd child discounts
Luke Plant
Added a better related_name for Boooking.account to improved API
Luke Plant
First stab at implementing 'list bookings' page.
Luke Plant
Fixed UI issue with people typing Enter on 'add place' page
Luke Plant
Further refactoring
Luke Plant
Test refactoring
Luke Plant
Removed old code
Luke Plant
Presentation fix for case where stylesheet is slow to load
Luke Plant
For booking page 'add place', limited choices of Camp to 'this year' camps.
Luke Plant
Fixes to bookings model (use DateTime instead of Date and added Booking.email)
Luke Plant
Implemented 'use existing data' functionality for 'add place' page
Luke Plant
Fixed missing field from 'add place' page
Luke Plant
Improved presentation of bookings 'add place' page, splitting into sections
Luke Plant
Fixed business logic so that booking is only open if price data *and* camp data exists
Luke Plant
Fixed business logic for bookings 'add place' to disallow camps from previous years being booked for.
Luke Plant
Implemented most of bookings step 4 - add place details.
Luke Plant
Improved admin interface for bookings models
Luke Plant
Added basic admin interface for bookings app, with fixes to models
Luke Plant
Small cleanup
Luke Plant
Fixed/added some comments
Luke Plant
Added Price model, and used on various pages
Luke Plant
Implemented special case in booking step 1 - skip to step 3/4 if already logged in
Luke Plant
Implemented booking step 3 - account details
Luke Plant
Made use reverse_lazy in bookings views
Luke Plant
Implemented bookings step 2 - email verification and login
Luke Plant
tabs to spaces
Luke Plant
Fixed usage of deprecated functions
Luke Plant
Added test to ensure BookingAccount is not created if email is the same as an existing one
Luke Plant
Used 2011 rather than 2001 as start date for email verification timestamp
Luke Plant
Merged from default
Luke Plant
Notes about leader views for bookings app
Luke Plant
Added comments about admin process
Luke Plant
Booking process step 1b - send email address verification email
Luke Plant
Booking process step 1a - show email form.
Luke Plant
Beginnings of 'bookings' app - models and index view