Christopher Neugebauer
|
8796670328
|
handle_products now uses the transactional set_quantities.
|
2016-04-02 20:12:27 +11:00 |
|
Christopher Neugebauer
|
e3ec128147
|
Factors limits testing in set_quantities into _test_limits()
|
2016-04-02 20:12:27 +11:00 |
|
Christopher Neugebauer
|
194f98bcc4
|
Refactors available_products to use test_enabling_conditions
|
2016-04-02 18:18:06 +11:00 |
|
Christopher Neugebauer
|
1e7a2abc7f
|
Refactors testing of enabling conditions so that they are done in bulk in ConditionsController, rather than one product at a time.
|
2016-04-02 18:18:06 +11:00 |
|
Christopher Neugebauer
|
5716af0afa
|
Replaces a bunch of len(queryset) with queryset.count()
|
2016-04-02 18:17:18 +11:00 |
|
Christopher Neugebauer
|
1c6dc12781
|
Replaces user_can_add_within_limit with user_quantity_remaining
|
2016-04-02 18:17:18 +11:00 |
|
Christopher Neugebauer
|
576dddcaad
|
Adds user_quantity_remaining to CategoryController
|
2016-04-02 18:17:18 +11:00 |
|
Christopher Neugebauer
|
39021cd3dd
|
Adds set_quantities, refactors set_quantity in terms of set_quantities
|
2016-04-02 18:16:29 +11:00 |
|
Christopher Neugebauer
|
2e0144effe
|
flake8
|
2016-04-02 13:29:53 +11:00 |
|
Christopher Neugebauer
|
77b6c87973
|
Merge branch 'ui_sanitisation'
|
2016-04-02 13:28:46 +11:00 |
|
Christopher Neugebauer
|
8f233c7943
|
available_products now refers to the user’s product limits as well as enabling conditions
|
2016-04-02 13:14:34 +11:00 |
|
Christopher Neugebauer
|
f7289c2101
|
Adds ‘available_categories’ as something that actually works
|
2016-04-02 11:56:03 +11:00 |
|
Christopher Neugebauer
|
bdd3714f47
|
flake8 style issue
|
2016-04-02 11:34:19 +11:00 |
|
Christopher Neugebauer
|
26af6e8672
|
Adds messages when items are updated; disables product forms when there are no products available.
|
2016-04-02 11:33:20 +11:00 |
|
Christopher Neugebauer
|
69a65ac3ed
|
Fixes tests on Django 1.9
|
2016-04-02 11:02:01 +11:00 |
|
Christopher Neugebauer
|
3a6b4125e9
|
Bugfix
|
2016-04-01 12:34:06 +01:00 |
|
Christopher Neugebauer
|
12e4d0a3cb
|
flake8
|
2016-04-01 12:14:39 +01:00 |
|
Christopher Neugebauer
|
a65b7935a9
|
Merge branch 'pluggable_profile'
|
2016-04-01 11:55:38 +01:00 |
|
Christopher Neugebauer
|
89cba55807
|
Pre-fills the attendee name from a speaker profile, if there is one.
Resolves #8.
|
2016-04-01 21:39:54 +11:00 |
|
Christopher Neugebauer
|
be277c17d2
|
BadgeAndProfile is replaced with AttendeeProfileBase — consumer apps should subclass AttendeeProfileBase to make the registration process work :)
|
2016-04-01 21:21:09 +11:00 |
|
Christopher Neugebauer
|
660e8cb75f
|
Removes BadgeAndProfile.get_instance
|
2016-04-01 16:58:55 +11:00 |
|
Christopher Neugebauer
|
28fbacbd28
|
Merge branch 'guided_registration_2'
|
2016-04-01 16:57:38 +11:00 |
|
Christopher Neugebauer
|
d2d2a1b0ec
|
Work for making invoices contain complete profile information
|
2016-04-01 16:54:40 +11:00 |
|
Christopher Neugebauer
|
aa6377f4ce
|
Adds multiply as a template filter (for invoices)
|
2016-04-01 16:54:40 +11:00 |
|
Christopher Neugebauer
|
8324b51094
|
Adds new guided registration process.
|
2016-04-01 16:54:40 +11:00 |
|
Christopher Neugebauer
|
466c664b68
|
factor out handle_profile
|
2016-04-01 16:54:07 +11:00 |
|
Christopher Neugebauer
|
d796b0de32
|
Merge branch 'demo_site_integration'
|
2016-04-01 10:51:53 +11:00 |
|
Christopher Neugebauer
|
8b79670608
|
Fixes issue #8
|
2016-03-31 19:15:04 +11:00 |
|
Christopher Neugebauer
|
5e0c87c435
|
Deletes templates — moved to registrasion-demo repo
|
2016-03-31 19:15:03 +11:00 |
|
Christopher Neugebauer
|
2d5caa3299
|
Renames edit_profile to attendee_edit
|
2016-03-31 19:15:03 +11:00 |
|
Christopher Neugebauer
|
c6394ecf4a
|
Increments version number of django_nested_admin so that you can use Django 1.9
|
2016-03-31 19:15:03 +11:00 |
|
Christopher Neugebauer
|
e0e0d4bf3b
|
views.py renders from registrasion/
|
2016-03-31 19:15:03 +11:00 |
|
Christopher Neugebauer
|
62d5c5b2bf
|
Revert "Registrasion URLs now include django-nested-admin"
This reverts commit 58eed33c429c1035801e840b41aa7104c02b9b5a.
|
2016-03-31 19:14:43 +11:00 |
|
Christopher Neugebauer
|
9ec9e68ee6
|
Registrasion URLs now include django-nested-admin
|
2016-03-31 19:14:42 +11:00 |
|
Christopher Neugebauer
|
96c4998a34
|
Initial Setuptools bits.
|
2016-03-31 19:14:42 +11:00 |
|
Christopher Neugebauer
|
eebf9e81f5
|
Resolves #3 — start_time, end_time, and limit can now be blank. Tests already dealt with the null case.
|
2016-03-31 14:45:39 +11:00 |
|
Christopher Neugebauer
|
4c7024c9ff
|
Merge branch 'more_admins'
|
2016-03-31 14:39:54 +11:00 |
|
Christopher Neugebauer
|
c7b6c81071
|
adds setuptools’ build directory to the flake8 ignore path.
|
2016-03-31 14:38:48 +11:00 |
|
Christopher Neugebauer
|
ba0682a5f9
|
Fleshes out the admin interface and adds help_text attributes to the model fields that need it
|
2016-03-31 14:38:48 +11:00 |
|
Christopher Neugebauer
|
c790d5afd0
|
Merge branch 'refunds'
|
2016-03-28 11:50:31 +11:00 |
|
Christopher Neugebauer
|
cf85af7719
|
Adds refund function, adds tests, makes sure that refunds are obeyed elsewhere in the codebase
|
2016-03-27 21:04:10 +11:00 |
|
Christopher Neugebauer
|
b65223aaa1
|
Adds model for released carts
|
2016-03-27 19:13:05 +11:00 |
|
Christopher Neugebauer
|
3e4e52b165
|
Adds more constraints around payment and voiding of invoices
|
2016-03-27 14:41:43 +11:00 |
|
Christopher Neugebauer
|
8080d7851b
|
Invoices now automatically void themselves if their cart is out of date
|
2016-03-27 14:04:47 +11:00 |
|
Christopher Neugebauer
|
77ab00bc67
|
Merge branch 'category_user_limits'
|
2016-03-27 13:13:09 +11:00 |
|
Christopher Neugebauer
|
0d458bea06
|
Allows Product.limit_per_user to be blank and null. Adds Category.limit_per_user. Adds functionality and tests to verify that this is legal.
|
2016-03-27 13:12:33 +11:00 |
|
Christopher Neugebauer
|
7c99750f3a
|
Simplifies creation of test data in test_cart, adds an extra product category and two new products
|
2016-03-27 13:12:33 +11:00 |
|
Christopher Neugebauer
|
db332da958
|
flake8
|
2016-03-27 13:12:33 +11:00 |
|
Christopher Neugebauer
|
3562772c13
|
Adds RadioBoxProductsForm
|
2016-03-27 13:12:33 +11:00 |
|
Christopher Neugebauer
|
0ae005a5f5
|
Factors _QuantityBoxForm out of _ProductsForm
|
2016-03-27 11:30:11 +11:00 |
|