Commit graph

349 commits

Author SHA1 Message Date
Christopher Neugebauer
b709da97f1 Checks that required category constraints are met before letting you check out your cart.
Closes #35
2016-04-25 17:13:58 +10:00
Christopher Neugebauer
a69d3f051e Makes cart amendment methods fail if the cart is no longer active.
Closes #16
2016-04-25 17:13:11 +10:00
Christopher Neugebauer
e2687cfa6f Stops testing using ManualPayment, and just uses PaymentBase instead 2016-04-25 16:45:42 +10:00
Christopher Neugebauer
2afa6a8d79 Adds “NO SELECTION” to radio buttons form.
Closes #32.
2016-04-25 16:16:41 +10:00
Christopher Neugebauer
00f87e30b7 Adds an upper limit on quantity boxes (it’s set to 500 for the moment though).
Closes #19.
2016-04-25 16:16:22 +10:00
Christopher Neugebauer
42912519f1 Adds entered_by to manual payments. Closes #22. 2016-04-25 16:06:29 +10:00
Christopher Neugebauer
bf053242de Closes #25 — changes what invoice_access will redirect to 2016-04-25 16:00:33 +10:00
Christopher Neugebauer
c135c77d6c Merge branch 'cart_status_overhaul' 2016-04-25 15:37:13 +10:00
Christopher Neugebauer
397ba207bb Adds utility to defeat segfaults in tests. Hopefully you won’t need it. 2016-04-25 15:36:55 +10:00
Christopher Neugebauer
63dfd353c1 Replaces active/released flags in Cart with a single int flag. Closes #41 2016-04-25 15:36:55 +10:00
Christopher Neugebauer
203a4a2212 Merge branch 'documentation' 2016-04-25 13:25:11 +10:00
Christopher Neugebauer
213c11ac11 Removes sphinx warnings 2016-04-25 13:24:57 +10:00
Christopher Neugebauer
c0b0ae780d Removes confusingness from cart.py 2016-04-25 13:20:48 +10:00
Christopher Neugebauer
9d25725514 Documents the template tags 2016-04-25 13:15:06 +10:00
Christopher Neugebauer
1b9f76823f Etc 2016-04-25 12:59:43 +10:00
Christopher Neugebauer
4373b7260d Finishes the public views documentation 2016-04-25 12:53:01 +10:00
Christopher Neugebauer
2d8602a6da views documentation 2016-04-25 11:14:17 +10:00
Christopher Neugebauer
eefec32cb0 Makes private helper functions private 2016-04-25 10:19:20 +10:00
Christopher Neugebauer
9c289acadd Starts documenting the public views. 2016-04-25 10:15:13 +10:00
Christopher Neugebauer
32ffa25895 Adds util.all_arguments_optional 2016-04-25 09:57:36 +10:00
Christopher Neugebauer
d921860614 Updates for-zookeeper-users 2016-04-25 09:52:53 +10:00
Christopher Neugebauer
05c55bd7db Merge branch 'master' into documentation 2016-04-25 09:51:19 +10:00
Christopher Neugebauer
6f1a3684c5 Merge pull request #36 from glasnt/patch-1
Nested list RST formatting
2016-04-25 09:50:37 +10:00
Christopher Neugebauer
b0d1f69f1a Writes the integration guide 2016-04-25 09:49:19 +10:00
Christopher Neugebauer
9e215d1575 Merge branch 'master' into documentation 2016-04-25 09:07:15 +10:00
Christopher Neugebauer
12e54ac5ba Merge branch 'payments_api_improvements' 2016-04-25 08:35:25 +10:00
Christopher Neugebauer
f309d92a24 Discusses access control for payments 2016-04-25 08:34:54 +10:00
Christopher Neugebauer
00b79a4bec Documentation now reflects that issue #37 is solved. 2016-04-25 08:27:20 +10:00
Christopher Neugebauer
12e04c248f Credit notes are now generated when invoices are overpaid, or invoices are paid into void or refunded invoices. Closes #37. 2016-04-25 08:26:54 +10:00
Christopher Neugebauer
9a4574ef2c DRYs up test_invoice a bit 2016-04-25 08:25:19 +10:00
Christopher Neugebauer
67b047e7b3 Simplifies invoice-getting documentation. 2016-04-25 07:20:41 +10:00
Christopher Neugebauer
9f72b67510 Uses for_id_or_404 in views.py 2016-04-25 07:20:41 +10:00
Christopher Neugebauer
ca8f67c2f3 Adds for_id, which lets you get an InvoiceController or CreditNoteController by the ID of the invoice/credit note/. Closes #38. 2016-04-25 07:20:41 +10:00
Christopher Neugebauer
dc3d64e6a8 Merge branch 'documentation' 2016-04-24 21:42:50 +10:00
Christopher Neugebauer
3b3744578e First pass at the payments documentation. 2016-04-24 21:42:20 +10:00
Christopher Neugebauer
86ac7bdd03 Explains the name “registration” 2016-04-24 21:42:10 +10:00
Christopher Neugebauer
670671a3b3 Adds a CONTRIBUTING guide 2016-04-22 16:41:59 +10:00
Katie McLaughlin
135aa7e333 Nested list RST formatting 2016-04-22 16:20:11 +10:00
Christopher Neugebauer
32135dbb25 Merge branch 'user-documentation' 2016-04-22 16:08:34 +10:00
Christopher Neugebauer
e9ebf5da03 Writes inventory and overview documentation, and updates docstrings on a LOT of modules. 2016-04-22 16:08:18 +10:00
Christopher Neugebauer
539dbd3525 Merge branch 'models-reorg' 2016-04-22 15:07:12 +10:00
Christopher Neugebauer
875f736d67 Consolidates models.py into a directory module. 2016-04-22 15:06:24 +10:00
Christopher Neugebauer
278ca23c29 Merge branch 'admin_models_cleanup' 2016-04-12 19:41:31 +10:00
Christopher Neugebauer
ffa1ca6783 Fixes flags admin 2016-04-12 11:43:38 +10:00
Christopher Neugebauer
87e6fa064a Merge branch 'master' into admin_models_cleanup 2016-04-12 11:39:54 +10:00
Christopher Neugebauer
961a11b64c Merge branch 'rename_to_flags'
Renames the 'enabling conditions' functionality to 'flags', and replaces the former mandatory/non-mandatory concept with 'enabling' and 'disabling' flags.
2016-04-12 08:53:24 +10:00
Christopher Neugebauer
d3f7431f7d Squashes migrations from rename_to_flags branch; marks as normal migration 2016-04-12 08:47:17 +10:00
Christopher Neugebauer
c24b9ee213 Makes EnablingConditionBase a minimal reification of an abstract base model FlagBase, replaces enablingconditionbase with flagbase where possible, and fixes method names and documentation 2016-04-12 08:42:22 +10:00
Christopher Neugebauer
638ec26126 Replaces the mandatory/non-mandatory concept with the enabled_if_true/disabled_if_false concept. Closes #4. 2016-04-11 20:48:18 +10:00
Christopher Neugebauer
61dbe60cfa Renames the admin-visible names for many model classes, and adds a default ordering where they’re useful too. 2016-04-11 19:23:38 +10:00