Mira Weller
4aac1df4dc
remove unused imports
2025-05-15 18:03:46 +02:00
Mira Weller
ba2bd9bf54
CartManager: use safety margin timedelta for extend-while-valid to avoid race condition
2025-05-15 17:42:58 +02:00
Mira Weller
169355cd43
CartManager: use database NOW() for extend-while-valid to avoid race condition
2025-05-15 15:39:39 +02:00
Mira Weller
cf4babd400
CartManager: increment num_extended_positions only after actually extending them
2025-05-15 15:38:44 +02:00
Mira Weller
496be053ef
remove CartManager(expiry) parameter
2025-05-15 14:12:58 +02:00
Mira Weller
a69927da84
formatting + comments
2025-05-14 18:34:09 +02:00
Mira Weller
54a657c8c9
only display success message if actual extension performed
2025-05-14 18:23:01 +02:00
Mira Weller
87d9f278fb
use correct aggregation
2025-05-14 18:23:01 +02:00
Mira Weller
c84d1706b4
add extend_cart_reservation task and CartExtendReservation view
2025-05-14 18:23:01 +02:00
Mira Weller
29205c490d
CartManager: allow extending expiry of valid positions only up to max_extend
2025-05-14 18:23:01 +02:00
Mira Weller
9729496415
CartManager: expect reservation_time parameter instead of expiry date
2025-05-14 18:23:01 +02:00
Raphael Michel
5bc1fb8e81
Allow to set multiple email invoice recipients (Z#23190766) ( #5090 )
2025-05-13 10:31:07 +02:00
Raphael Michel
1caa71cdbe
Improve validation of Norwegian VAT IDs ( #5089 )
2025-05-12 17:04:58 +02:00
Raphael Michel
e1027e3e8c
OrderChangeManager: Re-use same instances of OrderPosition/OrderFee
2025-04-29 12:38:41 +02:00
Raphael Michel
384d0c4824
Order changes: Correctly respect tax rules when adding or changing items (Z#23190086)
2025-04-28 13:06:45 +02:00
luelista
277a5bffa8
Allow changing ticket secret via API (Z#23188201) ( #4989 )
2025-04-07 13:49:19 +02:00
luelista
d8ec489b13
OrderChangeManager: Fix for change_tax_rule and recalculate_taxes in same transaction (Z#23187299) ( #4964 )
...
* Add test case
* Do not overwrite tax_rule in PriceOperation
2025-03-31 12:27:45 +02:00
luelista
4755200ab0
order_overview: allow filtering by time ( #4958 )
2025-03-27 17:23:08 +01:00
Phin Wolkwitz and Raphael Michel
0b8a7349c7
Discounts: Add applicability date ranges (Z#23151897) ( #4927 )
...
* Add event date fields, add preliminary range check
* Remove function, use filtered queryset for subevent id limit
* Improve and fix date range check
* Add formfields
* Add tests
* Improve tests
* Add new fields to API and documentation
* Add migration
* Change description according to suggestion
* Change discount apply signature, remove unnecessary query
* Rename new fields, simplify range check
* Rename fields in template
* Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io >
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2025-03-27 15:36:20 +01:00
Martin Gross and Raphael Michel
083e5ed265
New Signal: order_expiry_changed ( #4867 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2025-02-25 13:38:26 +01:00
Mira and Raphael Michel
fb6117a307
Fix voucher application on "free price" items (Z#23183254) ( #4863 )
...
* Do not apply vouchers on "free price" items where more than minimum price is selected
* Do apply vouchers on "free price" items if exactly the minimum price is selected
* Update cart.py
* Add test cases, fix bug in adjacent test
* Fix code style
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2025-02-24 17:14:49 +01:00
dependabot[bot] and Raphael Michel
4e4e187a84
Update beautifulsoup4 requirement from ==4.12.* to ==4.13.* ( #4804 )
...
* Update beautifulsoup4 requirement from ==4.12.* to ==4.13.*
Updates the requirements on [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/ ) to permit the latest version.
---
updated-dependencies:
- dependency-name: beautifulsoup4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Replace findAll with find_all
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raphael Michel <michel@rami.io >
2025-02-05 17:39:23 +01:00
Raphael Michel
f6b0e35e40
VAT ID check: Include response in error log
2025-02-05 12:50:20 +01:00
Raphael Michel
c820d742d4
Generate invoice earlier in payment method change process (Z#23179304) ( #4763 )
...
* Generate invoice earlier in payment method change process (Z##23179304)
* Resolve review note
2025-02-03 17:39:46 +01:00
Raphael Michel
23e58996bc
Invoice preview: Fix missing delivery date
2025-01-22 11:49:20 +01:00
Raphael Michel
a56c6ae1e0
Fix secret regeneration
2025-01-03 17:21:12 +01:00
Raphael Michel
595c042624
Regenerate OrderPosition.web_secret when chaning other secrets
2025-01-03 15:21:45 +01:00
Raphael Michel
7525ee853b
Ticket preview: Fix incorrect type of sample price
2024-12-19 13:37:38 +01:00
Raphael Michel
20f171b790
Order import: Respect sales channel when validating seats ( #4707 )
2024-12-18 13:57:29 +01:00
Raphael Michel and Mira
53f129d5d3
Add codification of tax rates ( #4372 )
...
* draft
* .
* Rebase migration
* Update src/pretix/base/models/tax.py
Co-authored-by: Mira <weller@rami.io >
* Test, isort, flake, migration rebase
* carry data & API
* Fix failing tests
* docs fixes
* Improve validation
* Tests
* More fixes
---------
Co-authored-by: Mira <weller@rami.io >
2024-12-13 12:04:38 +01:00
Raphael Michel
6b199a2b9c
Allow to enter gift cards into the voucher input (Z#23171961) ( #4670 )
2024-12-05 13:43:46 +01:00
Raphael Michel and Mira
2dc625cf31
Add the option to introduce rich-text placeholders ( #4657 )
...
* Add the option to introduce rich-text placeholders
* Add tests in test_format
* Add some css
* Block vs inline
* Some fixed css
* Update src/pretix/control/forms/event.py
Co-authored-by: Mira <weller@rami.io >
* Add missing docstring prat
---------
Co-authored-by: Mira <weller@rami.io >
2024-12-03 11:38:15 +01:00
Raphael Michel
fe6fc8df32
Fix placehodler sample in empty series (PRETIXEU-ATN)
2024-11-19 16:14:13 +01:00
Raphael Michel
76ecec8b98
Scheduled mails: Allow subevent-dependent placeholders (Z#23171818) ( #4629 )
2024-11-19 10:50:10 +01:00
Raphael Michel
03d3c389da
Fix #1674 -- Change spelling of e-mail to email ( #4636 )
...
* Fix #1674 -- Change spelling of e-mail to email
* Conflicts and word list
* Add MobilePay to wordlist
* fix usage in tests
2024-11-18 17:21:29 +01:00
Raphael Michel
5aba1f9a23
Do not try to delete cart positions twice (PRETIXEU-ARN)
2024-11-07 14:28:35 +01:00
Raphael Michel
3d85d9d865
Remove deprecated auto_checkin_sales_channels ( #4587 )
...
* Remove deprecated auto_checkin_sales_channels
* Fix Query count
2024-11-06 12:30:41 +01:00
Mira
2d9bfc80dc
Fix "Your order qualifies for a discount" notice for discounted variation products ( #4541 )
2024-10-21 13:26:20 +02:00
Martin Gross
e49f938eb3
BulkVouchers: Append mail-recipient to comment instead of overwriting it (Z#23168852)
2024-10-16 10:37:06 +02:00
359df1f51e
Cross selling ( #4185 )
...
Product categories can now be marked as "cross-selling categories", causing them to
appear in the add-on checkout step as additional recommendations, depending on
their cross-selling visibility (always, only if certain products are already in the cart, or
only if they qualify for a discount according to discount rules).
---------
Co-authored-by: Raphael Michel <michel@rami.io >
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-10-14 14:39:49 +02:00
Raphael Michel
1334a570e4
Generate email confirmation secret from tagged_secret ( #4480 )
2024-10-07 13:58:08 +02:00
Raphael Michel
a2c15ad89e
Check-in: Prevent duplicate auto check-outs (Z#23167003) ( #4488 )
2024-09-26 17:54:27 +02:00
Raphael Michel
6087665775
Email preview: Include prefix in subject ( #4395 )
2024-08-23 13:42:29 +02:00
Raphael Michel
b96374fcf6
Do not create duplicate memberships on order changes (Z#23163336) ( #4408 )
2024-08-21 17:30:42 +02:00
Raphael Michel
cab360bdb6
Move auto check-in to plugin with more functionality ( #4331 )
...
* Move auto check-in to plugin with more functionality
* Rename field
* Add to MANIFEST.in
2024-07-29 09:46:53 +02:00
Martin Gross
a77f2d01a7
CartManager: Allow to explicitly set an order expiration
2024-07-19 11:38:36 +02:00
Richard Schreiber
22e2143623
API: add api_meta to order
2024-07-18 10:01:03 +02:00
Raphael Michel
682d0f886d
Fix order change edge case (PRETIXEU-ABH)
2024-07-01 14:39:34 +02:00
Raphael Michel
d2cbd41a19
Fix ticket preview (PRETIXEU-ABF)
2024-07-01 14:38:25 +02:00
Raphael Michel and Martin Gross
4fb5c6bef0
New implementation of sales channels ( #4111 )
...
Co-authored-by: Martin Gross <gross@rami.io >
2024-06-30 19:24:30 +02:00