Commit Graph

427 Commits

Author SHA1 Message Date
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
05ecfdb9e2 Refs #273 -- Add backwards migration (noop) and fix tests 2016-10-20 17:56:48 +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
f3509707d7 Use CachedTicket.get_or_create to avoid duplicates 2016-10-18 19:00:44 +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
067b80cd3c Account history view 2016-10-09 12:59:43 +02:00
Raphael Michel
db49f8ea89 EventPluginSignal: Call core plugins even when no event is given 2016-10-09 12:59:43 +02:00
Raphael Michel
f82b5ddaae Account security notifications via email 2016-10-09 12:59:43 +02:00
Raphael Michel
d7719d0bc7 2FA: Login via U2F 2016-10-09 12:59:43 +02:00
Raphael Michel
aecf263de7 2FA: Registraion of U2F devices 2016-10-09 12:59:43 +02:00
Raphael Michel
2f24af824e 2FA: Support for adding TOTP-based devices 2016-10-09 12:59:43 +02:00
FlaviaBastos
5e3a8325ca Fix #155 -- Remove javascript URIs for CSP (#261)
* remove javascript URIs for CSP

#155

* remove javascript URIs for CSP
Issue 155

Combining js error handling files.
2016-10-05 18:17:54 +02:00
Raphael Michel
b5a23224c8 Added admin action to make an expired order pending again 2016-10-03 11:14:20 +02:00
Raphael Michel
d00eb41222 Merge branch 'django110' 2016-10-03 10:31:49 +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
Tobias Kunze
2166fa6f4a Add spaces before ellipses … (#257) 2016-10-02 17:05:06 +02:00
Raphael Michel
3e318d0dcf Django 1.10: User.is_authenticated is now a property 2016-09-27 10:25:20 +02:00
Raphael Michel
965428e422 Django 1.10: New-style middlewares 2016-09-27 10:00:03 +02:00
Raphael Michel
6d894bf98c Custom 404 error view to handle translated error messages correctly 2016-09-26 19:01:38 +02:00
Raphael Michel
00810cdfab Stop instantiating context objects as it is deprecated 2016-09-26 19:01:38 +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
Raphael Michel
f8c99f6d02 Added can_view_vouchers permission 2016-09-24 17:18:32 +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
d1f79faef2 New tests and minor fixes 2016-09-20 16:13:13 +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
Raphael Michel
852e3cced7 SecurityMiddleware: Add child-src 2016-09-17 23:18:51 +02:00
Raphael Michel
2138faecf9 SecurityMiddleware: Increase CSP parser tolerance 2016-09-17 23:09:33 +02:00
Raphael Michel
e29ccca49b Fix #229 -- Consistent language between django and javascript 2016-09-17 22:46:07 +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
Raphael Michel
122221c218 Fixed code style in vouchers.py 2016-09-16 00:04:05 +02:00
koebi
5aa1ecec7c Add documentation for voucher tags (#240)
Voucher tags were not documented in the help text at the beginning
of the voucher class.
Related to #228
2016-09-15 21:52:02 +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
f128a5f559 Fixed a referer leak 2016-09-14 10:34:20 +02:00
Raphael Michel
f165275ade Do not generate upper case secrets if we treat them case-insensitively 2016-09-12 17:41:55 +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
84d264d626 Stripe: Optional support for Stripe checkout 2016-09-09 10:20:30 +02:00