Raphael Michel
788f73d842
Fix #1255 -- Approvals of free orders after last date of payments
2019-05-01 14:01:26 +02:00
Raphael Michel
a6c72abe75
Change semantics of changing orders ( #1260 )
...
* Change semantics of changing orders
This basically does two things to the "Change products" view of orders and the
OrderChangeManager program API:
1) It decouples changing items or subevents from changing prices.
OrderChangeManager.change_item() and .change_subevent() no longer
touch the price of a position. Instead .change_price() needs to be
called explicitly. However, a client-side JavaScript component now
*proposes* a new price based on the changed item or subevent.
2) The user interface now exposes the possibility of doing multiple
things at the same time, i.e. changing the item, subevent and price
in the same operation. OrderChangeManager already allowed this
before.
(1) is basically a consequence of (2), while (2) is a prerequesite for
e.g. the `seating` branch, where changing the subevent will always
require changing the seat.
* Add tests for price calculation API
2019-04-30 09:51:19 +02:00
Raphael Michel
df3e6f4b9a
dekodi: Fix version and mandatory fields
2019-04-30 09:50:47 +02:00
Raphael Michel
8ef99ba828
Dekodi: Merchant PayPal IDs
2019-04-30 09:50:17 +02:00
Raphael Michel
e8e5f5c7bf
Dekodi: Get rid of null values
2019-04-29 15:46:48 +02:00
Raphael Michel
2bc0dd6076
Dekodi export: date filter
2019-04-26 15:22:10 +02:00
Raphael Michel
f286c5af28
Dekodi: Never encode money as strings
2019-04-25 21:07:10 +02:00
Raphael Michel
ec27ed198b
Add Dekodi exporter
2019-04-25 20:36:24 +02:00
Raphael Michel
2ee0f684c5
PDF variable: price including add-ons
2019-04-25 19:34:51 +02:00
Raphael Michel
951386b32c
Add subevent column to order list export
2019-04-25 15:08:22 +02:00
Raphael Michel
ef600ceddb
Fix invalid handling of variations with quota-level vouchers
2019-04-25 11:54:03 +02:00
Raphael Michel
840b30c3c2
Linkify email addresses
2019-04-23 17:06:24 +02:00
Raphael Michel
6a4e6e227c
Fix isort issue
2019-04-23 11:19:19 +02:00
Raphael Michel
9c3abc5338
More precise log message for skipped attachments
2019-04-23 11:18:03 +02:00
Raphael Michel
ee495f2777
Add property SubEvent.is_public
2019-04-23 10:46:09 +02:00
Raphael Michel
ad8fdd6935
Ignore quota errors during order creation
2019-04-23 09:47:44 +02:00
Raphael Michel
02e936ee7a
Fix #522 -- Do not allow any orders after the last date of payments
2019-04-23 09:46:34 +02:00
Raphael Michel
45a6923220
Refs #522 -- Do not allow to create orders after the last date of payments
2019-04-23 09:41:01 +02:00
Raphael Michel
dbce9b0395
Allow error pages to be embedded in frames (to ease widget troubleshooting)
2019-04-18 17:19:42 +02:00
Martin Gross
2eb88840bd
Original price for variations ( #1258 )
...
* Original price for variations
* Documentation
* API-GET
* Fix existing tests to accomodate new attribute
* Test for variation's original_price on API
2019-04-18 16:13:49 +02:00
Martin Gross
4838835b1b
Remove debug-toolbar template override
2019-04-18 12:21:42 +02:00
Raphael Michel
ab452bd9e3
Fix typo
2019-04-18 09:50:07 +02:00
Raphael Michel
9ad4607d26
Move ticket cache invalidation to background task
2019-04-18 09:17:01 +02:00
Raphael Michel
b3684377cd
Fix crash in item validation
...
Fixes Sentry PRETIXEU-10B
2019-04-17 15:40:25 +02:00
Raphael Michel
2fac8592d4
Add modern invoice renderer
2019-04-17 15:08:58 +02:00
Raphael Michel
ec53022cc8
Do not call task synchronously inside task (celery doesn't allow it any more)
2019-04-15 15:46:37 +02:00
Raphael Michel
0b65b18459
Send emails in an TransactionAwareTask
2019-04-15 15:22:58 +02:00
Raphael Michel
750d5eda48
Do not mark free orders as paid that require approval
2019-04-15 15:12:26 +02:00
Raphael Michel
f2cd9a2002
Fix logic bug in attachment size check
2019-04-15 12:58:36 +02:00
Raphael Michel
874b38db17
Mark order as paid immediately
2019-04-15 12:58:20 +02:00
Raphael Michel
6d1dea7922
Upgrade to Django 2.2 and modern DRF and py.test ( #1246 )
...
* Upgrade django and stuff
* Update to Django 2.2 and recent versions of similar packages
* Provide explicit orderings to all models used in paginated queries
* Resolve naive datetime warnings in test suite
* Deal with deprecation warnings
* Fix sqlparse version
2019-04-07 14:09:49 +01:00
Raphael Michel
b686978074
Add order lifecycle signals
2019-04-06 15:05:39 +02:00
Raphael Michel
d395db8142
Box office payments: Always display device and receipt ID
2019-04-05 14:40:58 +02:00
Raphael Michel
0c82e92882
REST API: Add support for idempotency keys
2019-04-05 14:21:51 +02:00
Raphael Michel
243e4ac4c8
Allow not to ask for invoice addresses on free orders
2019-04-04 09:57:57 +02:00
Raphael Michel
b931d27486
Solve cart deletion issues once and for all
2019-04-04 09:57:57 +02:00
Raphael Michel
2810e2a760
CartManager: Do not try to extend positions while they are being removed
2019-04-04 09:57:57 +02:00
Raphael Michel
2d37c6d94d
Make device token revokation more explicit
2019-04-02 09:36:07 +02:00
Raphael Michel
73ec5bac79
Allow to set a custom error message when presale is ended
2019-03-29 16:38:47 +01:00
Raphael Michel
697cdfd5c9
Allow to redirect to checkout directly after adding a product to the cart
2019-03-27 16:45:15 +01:00
Raphael Michel
d4795868d6
Correcly cancel payments when starting a new one
2019-03-26 09:41:03 +01:00
Raphael Michel
45af18a23d
Work around SubEvent.DoesNotExist in refresh_quota_caches
...
Fix PRETIXEU-Z8
2019-03-26 09:06:34 +01:00
Raphael Michel
a6de586b80
Make ItemBundle.designated_price non-nullable
2019-03-23 23:42:58 +01:00
Raphael Michel
420649e10a
Refs #654 -- REST API: Allow to resend order link
2019-03-23 13:33:57 +01:00
Raphael Michel
90f881c48e
Fix #1001 -- Add product bundles ( #1041 )
...
* Data model + Editor
* Cart and order management
* Rebase migrations
* Fix typos, add tests on cart handling
* Add tests for checkout and quotas
* Add API endpoints
* Validation of settings
* Front page tax display
* Voucher handling
* Widget foo
* Show correct net pricing
* Front page tests
* reverse charge foo
* Allow to require bundling
* Fix test failure on postgres
2019-03-22 14:48:48 +00:00
Raphael Michel
49e706a580
Fix #878 -- Add multi-event widget
2019-03-22 09:18:04 +00:00
Martin Gross
ca7d55082b
Refs #654 -- Add writable API for subevents ( #1217 )
...
- [x] Write operations for subevents
- [x] Tests
- [x] Documentation
2019-03-21 20:40:59 +00:00
Raphael Michel
516fab52da
Do not send payment reminders to orders pending approval
2019-03-20 23:09:13 +01:00
Raphael Michel
07b4b8c473
Allow to add a custom text above the invoice address
2019-03-18 17:01:23 +01:00
Raphael Michel
586e7cc997
Add sales channel to order export
2019-03-18 16:54:08 +01:00