Commit graph

485 commits

Author SHA1 Message Date
Sachi King
189abf3e23 Add a CSS class on required fields labels
This makes it possible to add a ' *' required notifier to labels without
needing a bunch of custom form code in templates.
2017-04-24 23:05:45 +10:00
Sachi King
03c7633169 Test fixes
There are a number of attempts to use Deci in ints, which won't work in
2.7 or 3.x, we fix that.

Description doesn't exist in symposion.  So that fails our tests pretty
hard.  Switch that to Private Abstract.  It's clear these tests have not
been run in a very long time.  So both failures and especially passes
need to be taken with salt.
2017-04-22 18:47:24 +10:00
Sachi King
b156be1e7e Python 3 fixes 2017-04-22 18:43:13 +10:00
Sachi King
a2464bd95e ve is scoped to the except block.
We probably want to see a whole bunch of errors collected in errors
anyways.  That should get converted to a string uppon being raised, so
pass errors directly.
2017-04-22 18:40:40 +10:00
Sachi King
17693754de Huge batch of pep8 fixes 2017-04-22 18:39:07 +10:00
Sachi King
bcb63fd1cd Import fixups - not relative 2017-04-17 22:55:48 +10:00
Sachi King
4456398735 Price is not a relation and cannot select_related
This field is ignored in 1.9, however in 1.10+ it is an error.
As this is a no-op in 1.9, removal keeps functionality while
extending compatability going forward.

For full details please see Django Ticket 10414 at:
https://code.djangoproject.com/ticket/10414
2017-04-05 21:07:59 +10:00
Christopher Neugebauer
be0d04c9c4 Correct ordering of badges 2017-01-15 12:20:14 +11:00
Christopher Neugebauer
8ebb371a67 Correct ordering of invoices 2017-01-15 12:16:03 +11:00
Christopher Neugebauer
cb42289f4c Adds “view badge” link 2017-01-15 07:55:52 +11:00
Christopher Neugebauer
b6b6a600ee Merge branch 'chrisjrn/manifest' 2017-01-15 07:52:01 +11:00
Christopher Neugebauer
e956c4c6a0 Adds manifests 2017-01-15 07:48:43 +11:00
Christopher Neugebauer
91284e66c7 Merge branch 'chrisjrn/badges' 2017-01-09 19:42:21 +11:00
Christopher Neugebauer
66dedfc101 Adds “badges” view, which lets us render multiple users’ badges into a zipfile. 2017-01-09 19:39:27 +11:00
Christopher Neugebauer
4fc494783d Refactors the email form into an InvoicesWithProductAndStatus form 2017-01-09 19:27:47 +11:00
Christopher Neugebauer
78714600bf Refactors badge to have render_badge too. 2017-01-09 19:16:30 +11:00
Christopher Neugebauer
c949a87b8a uses template.render rather than the render shortcut 2017-01-09 19:13:49 +11:00
Christopher Neugebauer
9da41c06de Adds first badge support 2017-01-09 18:57:49 +11:00
Christopher Neugebauer
cbb04cbdf4 Can send out information e-mails to people with paid invoices.
Merge branch 'chrisjrn/email_reminders'
2017-01-08 11:08:08 +11:00
Christopher Neugebauer
42711dde69 Renames a tempalte. 2017-01-08 10:45:08 +11:00
Christopher Neugebauer
fd7fff7879 Allows contexts to directly supply a user (so we can access registration data when e-mailing people.) 2017-01-08 10:44:19 +11:00
Christopher Neugebauer
274187b8bf Renames “nag_unpaid” to “invoice_mailout”, better matches current intent. 2017-01-08 09:52:49 +11:00
Christopher Neugebauer
de902a213d Adds invoice status to nag_unpaid 2017-01-08 09:48:48 +11:00
Christopher Neugebauer
3b985d40ac Missing line 2017-01-08 09:47:54 +11:00
Christopher Neugebauer
479bdd36a3 s/InvoiceNagForm/InvoiceEmailForm/ 2017-01-08 09:43:20 +11:00
Christopher Neugebauer
06fe8a8ffa Adds preview function to nag_unpaid 2017-01-08 09:42:40 +11:00
Christopher Neugebauer
221b4d6a22 quiet please 2016-12-07 21:00:47 +11:00
Christopher Neugebauer
f4e11ee53f Merge branch 'chrisjrn/20161207' 2016-12-07 18:05:03 +11:00
Christopher Neugebauer
056008c6e7 Credit notes can be applied to any invoice.
Fixes #85
2016-12-07 18:04:50 +11:00
Christopher Neugebauer
52376dff59 Adds nag mails to the UI.
Fixes #50
2016-12-07 17:39:13 +11:00
Christopher Neugebauer
19b59d7676 Adds functionality for sending nag e-mails 2016-12-07 17:31:42 +11:00
Christopher Neugebauer
051a942ffe Forms for nag e-mail 2016-12-07 11:52:10 +11:00
Christopher Neugebauer
fcf4e5cffb Adds forms for nag_unpaid 2016-12-07 11:19:30 +11:00
Christopher Neugebauer
37fbc2ee40 Adds some reporting documentation 2016-12-07 10:18:54 +11:00
Christopher Neugebauer
ea07469634 Fixes individual attendee view, which had disappeared. 2016-12-07 10:18:48 +11:00
Christopher Neugebauer
c76c0f6f4b Merge branch 'chrisjrn/20161014-b'
Fixes #63
2016-10-14 16:52:59 -07:00
Christopher Neugebauer
6a37134172 Stops relying on a form 2016-10-14 16:26:36 -07:00
Christopher Neugebauer
ed2327bedd Cleans up the architecture for report views 2016-10-14 16:10:36 -07:00
Christopher Neugebauer
67ac01e599 Adds a tag to take the CSV version of a report 2016-10-14 11:36:31 -07:00
Christopher Neugebauer
517da70536 CSV fixes 2016-10-14 11:19:10 -07:00
Christopher Neugebauer
2637930996 Adds CSV output support 2016-10-14 11:11:27 -07:00
Christopher Neugebauer
ea7a8d9ae7 Indentation 2016-10-14 10:28:38 -07:00
Christopher Neugebauer
320f6ab6eb First step refactoring ReportView into a class 2016-10-14 10:27:22 -07:00
Christopher Neugebauer
4e3f4aa9ad Merge branch 'chrisjrn/20161013' 2016-10-13 11:23:54 -07:00
Christopher Neugebauer
ff342bb06e Merge branch 'master' into chrisjrn/20161013 2016-10-13 11:23:46 -07:00
Christopher Neugebauer
3f192c2626 Zeroed & paid invoices that are voided now release the cart.
Fixes #95.
2016-10-13 11:23:41 -07:00
Christopher Neugebauer
c9c9d2a2b2 Cancelled presentations no longer enable SpeakerCondition.
Fixes #94
2016-10-13 10:50:48 -07:00
Christopher Neugebauer
6a5e4ff92d Merge branch 'chrisjrn/20161013' 2016-10-13 09:37:26 -07:00
Christopher Neugebauer
17cc088a6e Adds an “invoices” view 2016-10-13 09:32:30 -07:00
Christopher Neugebauer
232dc9e452 Invoices are tested for cart validity before display.
Fixes #99.
2016-10-13 09:19:18 -07:00