Commit Graph

1693 Commits

Author SHA1 Message Date
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
Raphael Michel
54d5477069 Resolve naive datetime warning 2016-09-08 21:42:20 +02:00
Raphael Michel
09c175e3bb Merge pull request #226 from pretix/refactor_bankimport
Refactor bankimport
2016-09-08 21:04:50 +02:00
Raphael Michel
dae5d859db Banktransfer: Big import refactoring 2016-09-08 20:43:05 +02:00
Raphael Michel
01f30485de Merge pull request #225 from rixx/invoice_string_from_payment_provider
Invoice string from payment provider
2016-09-08 18:32:28 +02:00
Tobias Kunze
55120fc4ea Proper regeneration behavior for cancellations 2016-09-08 15:46:26 +02:00
Tobias Kunze
988dfc32a3 Use @transaction.atomic instead of @transaction.atomic() 2016-09-07 15:30:38 +02:00
Tobias Kunze
65db55f21b Extract common code of generate_invoice and regenerate_invoice
Only change is that a regenerated invoice's date is updated to the
current date, which would seem to be better to me, anyways.
2016-09-07 15:30:36 +02:00
Tobias Kunze
3eb4e84db4 Allow payment providers to supply invoice content 2016-09-07 15:30:35 +02:00
Raphael Michel
6e829ff30a Removed redundant voucher.is_ordered 2016-09-06 21:29:21 +02:00
Raphael Michel
2576d3680d Directly serve cached files through django 2016-09-05 23:58:16 +02:00
Raphael Michel
f1495f242f Fixed transaction handling problem if a race condition occurs during invoice creation 2016-09-05 23:19:25 +02:00
Raphael Michel
30ab315fec Use full codes in orders 2016-09-05 22:47:44 +02:00
Raphael Michel
d8f81955ba Changed order overview columns to increase usefulness 2016-09-04 22:57:42 +02:00
Raphael Michel
a6bafd816b Send automatic payment reminder emails, redesign mail settings 2016-09-02 10:16:08 +02:00
Raphael Michel
972ad211bf Only expire orders in the evening of their expiry date 2016-09-02 10:09:15 +02:00
Raphael Michel
eef9e287aa Added exporter for a list of orders 2016-09-01 11:30:21 +02:00
Raphael Michel
795d0ec333 Improve help on the Item model 2016-09-01 09:00:16 +02:00
Tobias Kunze
7e19effe3c Fix #122 -- Allow users to re-send order links (#197)
If the provided mail address has not ordered anything, there will still
be a mail generated and sent to an invalid mail address, to avoid
obvious timing attacks to determine active users.
2016-09-01 08:59:36 +02:00
Enrique Saez
841cfe52a2 Fix #91 -- Make products/orders that are not cancelable (#204)
* Make products/orders that are not cancellable
Update Unit Tests

* Make use of select_related instead of prefetch_related
Simplify cancellable logic
Migrations

* Simplify cancellable logic
Maske use of select_related instead of prefetch_related

* Fix cancelable condition bug
2016-09-01 08:55:02 +02:00
Raphael Michel
022e02d913 Fix #177 - Allow to change the payment method 2016-08-31 19:54:45 +02:00
Raphael Michel
b21ed4d99f Fix #163 -- Form to change orders (#191) 2016-08-31 19:10:11 +02:00
Raphael Michel
5659cb17cc Fixed missing migrations 2016-08-30 21:53:47 +02:00
Tobias Kunze
5f401f17d8 Add a footer and a second text field to invoices
Also, move to using localized strings for Invoice.additional_text
settings for consistency.
2016-08-30 19:49:29 +02:00
Tobias Kunze
157a16810d Add a net_value column to invoices
TODO: localization
2016-08-30 19:05:35 +02:00
Tobias Kunze
b8e77aeca4 Render line breaks in invoices "Additional text" 2016-08-30 19:05:35 +02:00
Tobias Kunze
3c8f9f5a62 Catch and display mail sending errors (#215) 2016-08-30 16:49:52 +02:00
Raphael Michel
dc3e1e3d30 Got rid of javascript-based random generator 2016-08-29 23:46:17 +02:00
Raphael Michel
1cb6c0e3da Add more tolerance about handwriting in order code detection 2016-08-29 23:21:55 +02:00
Raphael Michel
c30ff5e657 Only call now() once inside any event.lock() call 2016-08-29 22:33:51 +02:00
Raphael Michel
5f64aecafa Merge pull request #201 from rixx/ticket165_reactivate_voucher
Fix #165 -- Reactivate voucher on cancelled orders
2016-08-29 21:15:10 +02:00
Raphael Michel
0bc504761b Fixed a problem with default values in I18nWidget 2016-08-29 20:07:36 +02:00
Tobias Kunze
6027262194 Fix #203 -- Add mouseover text to I18nFormFields (#217) 2016-08-29 19:17:24 +02:00
Tobias Kunze
4a02ed566f Use get_random_string everywhere (#210)
Django's get_random_string tries really hard to either use sysrandom or
be otherwise as unpredictable as possible. Thanks to David Gullasch for
pointing out both the problem and the solution.
2016-08-29 19:10:01 +02:00
Tobias Kunze
e440782545 Fix #199 - Export an item's tax_rate in the JSON export 2016-08-29 19:01:24 +02:00