Commit Graph

157 Commits

Author SHA1 Message Date
Raphael Michel
c5ec918e78 Fix a PDF generation loop 2016-12-23 13:44:11 +01:00
Raphael Michel
62ef5271de Handle MultipleObjectsReturned in tickets.py 2016-12-23 13:30:50 +01:00
Raphael Michel
18c24623d7 Use new position ids in order change logs 2016-12-21 18:59:51 +01:00
Raphael Michel
77e917345c Decouple CachedTicket from CachedFile 2016-12-21 18:37:12 +01:00
Raphael Michel
7639ef9a42 Protect against empty orders 2016-12-21 16:28:33 +01:00
Raphael Michel
248ab25567 Fix #296 -- DST issues with expiry dates 2016-11-29 17:05:33 +01:00
Raphael Michel
eea6a5e9da Refs #145 -- Vouchers that grant discounts 2016-11-29 16:18:07 +01:00
Raphael Michel
fdbe71ff63 Fix #141 -- Caching improvements for ticket outputs 2016-11-29 15:52:16 +01:00
Raphael Michel
4d7b5a0a3b Update German translation 2016-11-27 19:54:25 +01:00
Raphael Michel
db6fb51fc6 Refs #145 -- Multi-use vouchers 2016-11-27 16:02:40 +01:00
Tobias Kunze
8648e9c04d Fix #302 -- Change column layout in order overview (#336)
* Change column layout in order overview. Closes #302

* Include expired orders explicitly in order overview
2016-11-27 14:36:53 +01:00
Raphael Michel
8f3ffd6f2e Add profiling for celery tasks 2016-11-20 15:19:31 +01:00
Raphael Michel
f580f1fce5 Add meta_info to orders 2016-11-13 16:04:32 +01:00
Tobias Kunze
2f0c7c0ebc Fix #301 -- Add net revenue to sales overview (#313) 2016-11-10 22:24:43 +01:00
Raphael Michel
5999604e8e Improve an ddocument dictsum 2016-11-10 19:58:32 +01:00
Raphael Michel
427a0fdf71 Document stats.tuplesup 2016-11-10 19:50:41 +01:00
Raphael Michel
38c4bd454e Translation in reports 2016-11-09 12:08:53 +01:00
Raphael Michel
455d0ba64f Remove debugging statement 2016-11-09 10:48:19 +01:00
Raphael Michel
7b48a17b51 Reduce number of redundant SQL queries 2016-11-06 19:59:19 +01:00
Raphael Michel
ad35110166 Offer download options per position, not per order 2016-11-02 14:51:05 +01:00
Raphael Michel
3596fcd4dd Include a sample address for sample orders 2016-11-01 15:44:58 +01:00
Tobias Kunze
aa63a4cded Improved voucher interface with new methods (#284)
* Check that a voucher's variation matches its item

* Add method to check applicability of a voucher

* Add method to check if a voucher can be used

* Add tests for new voucher methods

* Test for ValidationErrors in Voucher.clean()

* Test for voucher state during ordering process
2016-10-24 12:40:06 +02:00
Raphael Michel
853510a375 Added an upper price limit to fit our decimal context 2016-10-23 19:34:29 +02:00
Raphael Michel
dcd6f2d8d1 Fixed unused import 2016-10-21 10:49:09 +02:00
Raphael Michel
0dece9e62b Add a custom context manager for rollbacks (#282) 2016-10-21 10:40:04 +02:00
Raphael Michel
39e940da5e Preview for ticket outputs 2016-10-20 20:43:31 +02:00
Raphael Michel
d6478e66de Fix #278 -- Preview for invoices 2016-10-20 18:58:05 +02:00
Raphael Michel
32d00e4313 Refs #273 -- Fix broken migration tree and timezone issues 2016-10-20 15:10:55 +02:00
Raphael Michel
f22596a5a5 Fix #273 -- Set correct all order expiry times to the end of the day 2016-10-20 11:56:46 +02:00
Raphael Michel
d82e159ffc Removed duplicate keys from dictionary 2016-10-18 19:00:44 +02:00
Raphael Michel
158043e29e Fixed a bug in order validation 2016-10-18 19:00:44 +02:00
Raphael Michel
503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Tobias Kunze
9db333bf80 Transactiontask (#268)
* Introduce TransactionAwareTask

As described in
https://blog.hypertrack.io/2016/10/08/dealing-with-database-transactions-in-django-celery/

* Use TransactionAwareTask instead of countdown

… to prevent race conditions when using a newly created object in a
task.
2016-10-10 16:38:06 +02:00
Raphael Michel
96a640ad90 Fixed a bug that lead to wrong payment type links in the order overview 2016-10-02 19:13:55 +02:00
Raphael Michel
68987970bf OrderChangeManager: Deal with unlimited quotas correctly 2016-09-26 14:13:33 +02:00
Raphael Michel
2a8bbb9952 Fixed missing check for variation.active 2016-09-25 20:54:40 +02:00
Raphael Michel
48791b2f02 Refs #250 -- Keep payment deadlines on weekdays 2016-09-25 12:19:15 +02:00
Tobias Kunze
1a69185754 There was a missing in a sentence (#247)
;)
2016-09-22 09:38:09 +02:00
Raphael Michel
84fd7cb166 Merge remote-tracking branch 'remotes/flaviabastos/187_unify_canceled_spelling' 2016-09-21 19:07:15 +02:00
Flavia Bastos
8ef6439c44 Unify spelling of 'canceled'
Issue 187
Remove typeahead JS file.
2016-09-21 10:35:41 -06:00
Raphael Michel
1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02:00
Raphael Michel
96828c3f5a Fixed bug introduced in last commit 2016-09-17 23:50:56 +02:00
Raphael Michel
5a9c760633 Fixed bug when modifying an expired cart including a voucher 2016-09-17 23:42:23 +02:00
cherti
ecef64c035 Change signature-separator (#242)
`"-- "` on a single line as a signature-delimiter is noticed by a lot of mail programs out there as an actual signature separator and the text below may be marked that way, e.g. is greyed out a little in Mozilla Thunderbird.

This change should leverage that behavior for e-mails sent by pretix.
2016-09-17 12:13:13 +02:00
Martin Gross
8fb363f815 Fix #233 -- Make orderlist and overview filterable by payment_provider (#234)
* Make orderlist and overview filterable by payment_provider (fixing #233)

* Remove checks for allowed and enabled payment_providers as discussed
2016-09-14 13:01:22 +02:00
Raphael Michel
e93a24afb2 Call order_placed signal after invoice address is set 2016-09-12 17:31:02 +02:00
Raphael Michel
582eb1b7a8 Fixed a TypeError in send_expiry_warnings 2016-09-11 17:11:04 +02:00
Raphael Michel
9b67d8d363 Strip whitespace from voucher codes 2016-09-09 14:47:22 +02:00
Raphael Michel
15b9d8420c Improve error messages, update German translation 2016-09-09 14:47:22 +02:00
Raphael Michel
54d5477069 Resolve naive datetime warning 2016-09-08 21:42:20 +02:00