Raphael Michel
cda8144ff0
Enforce uniqueness of order codes and ticket secrets ( #3988 )
...
* Enforce uniqueness of order codes and ticket secrets
* Fix test cases which created orders with identical codes
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-04-02 11:07:40 +02:00
Raphael Michel
f532853021
Memberships: Prefer valid_from over event date for .is_valid() ( #4003 )
...
* Memberships: Prefer valid_from over event date for .is_valid()
* Fix tests
* Add parameter description
* Use reasonable default for requested_valid_from if membership starts in the future
* Set datetimepicker viewDate to closest allowed date
* Keep current value on going back to QuestionsStep
* Fix min_date/max_date in SplitDateTimePickerWidget
* Remove unused import
* Update src/pretix/base/models/memberships.py
Co-authored-by: Mira <weller@rami.io >
* Respect variations
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-03-27 12:11:20 +01:00
Raphael Michel
273c1ae0a6
Waiting list: Allow to set auto-disable date (Z#23141338) ( #4004 )
...
* Waiting list: Allow to set auto-disable date (Z#23141338)
* ADd warning on non-esries events
2024-03-22 11:17:02 +01:00
Mira
39705556cd
Fix tests that failed between 0:00 and 4:00 / 4:30 AM ( #3987 )
2024-03-15 16:40:56 +01:00
Raphael Michel
9f794290dc
Memberships: Check valid_from/valid_until for parallel usage ( #3975 )
2024-03-15 16:40:41 +01:00
Raphael Michel
d9019ae735
Fix splitting free orders that require approval
2024-03-15 11:37:27 +01:00
Raphael Michel
6bf23b0fdd
Allow to create blocking vouchers for items with unspecified variation ( #3932 )
2024-02-29 16:45:41 +01:00
Mira
fa3265b1fb
Let plugins prevent the download of individual tickets in an order ( #3858 )
...
* Let plugins allow/prevent the download of individual tickets in an order (#3836 )
(extends the functionality of the allow_ticket_download signal)
(cherry picked from commit e20edab98f )
* fix bug where in some cases, only the first ticket could be downloaded
2024-02-06 17:35:59 +01:00
Martin Gross
9d115c30d7
Revert "Let plugins allow/prevent the download of individual tickets in an order ( #3836 )"
...
This reverts commit e20edab98f .
2024-02-02 16:09:42 +01:00
Mira
e20edab98f
Let plugins allow/prevent the download of individual tickets in an order ( #3836 )
...
(extends the functionality of the allow_ticket_download signal)
2024-02-01 17:45:58 +01:00
Raphael Michel
4fb49820af
Add upper limit on positions in an order ( #3806 )
...
* Add upper limit on positions in an order
* Fix form validation
2024-01-19 18:14:45 +01:00
Raphael Michel
0220965ca9
Check-in: Add rule for number of days with entries since ( #3808 )
2024-01-12 17:09:51 +01:00
Raphael Michel
dcb1d920eb
Check-in rules: Do not use empty lists in SQL converted query
2024-01-03 09:56:59 +01:00
Raphael Michel
8c8650090d
Improve logentry shredder function
2023-12-21 22:46:39 +01:00
Raphael Michel
bd14be485a
Order change: Do not set invoice_dirty if invoicing is disabled
2023-11-30 11:51:41 +01:00
Raphael Michel
b92feb382b
Discounts: Fix scoping error with distinct subevents
2023-11-29 16:02:27 +01:00
Raphael Michel
ab28086779
Copy event meta data when cloning events
2023-11-28 14:50:46 +01:00
Raphael Michel
965fcec9df
Check-in: New error reason for unapproved orders ( #3741 )
...
* Check-in: New error reason for unapproved orders
* Fix documentation verbiage
2023-11-28 12:50:29 +01:00
Raphael Michel
2ef015015a
Allow to postpone invoice creation on order changes ( #3716 )
...
* Allow to postpone invoice creation on order changes
* Add tests
* isort fix
* Fix failures
* More tests
* Update src/pretix/presale/views/order.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/services/orders.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/services/orders.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/services/orders.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/models/orders.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-11-22 15:45:27 +01:00
Mira
1d5a8a5948
Add test for money filter + streamline rounding error protection logic ( #3714 )
...
* add test cases
* use rounding protection only for currencies with <2 decimal places
* add more test cases
* use parameterized tests
2023-11-13 17:37:18 +01:00
Raphael Michel
27e042baf7
Relative dates: Add UI to specify dates after reference date ( #3707 )
...
* Relative dates: Add UI to specify dates after reference date
* Do not use form fields twice
* Update src/pretix/base/reldate.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/reldate.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/reldate.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-11-10 12:13:33 +01:00
Raphael Michel
3af2342d7b
Replace Item.hidden_if_available with relationship to other Item ( #3686 )
...
* draft
* Implementation that is closer to old one
* Fix tests
* Add tests
* Update src/pretix/control/forms/item.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Review notes
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-11-06 13:26:32 +01:00
Raphael Michel
d8ecb43e5d
OrderChangeManager: Prevent race conditions (Z#23131769) ( #3623 )
2023-10-09 16:00:58 +02:00
Raphael Michel
ecb4c34e08
Payment providers: Allow to set an availability start date per method (Z#23126769) ( #3569 )
...
Co-authored-by: Mira <weller@rami.io >
2023-09-14 11:08:37 +02:00
Raphael Michel
dea7de4e6c
Fix Order.can_modify_answers if only invoice name is required
2023-09-14 10:35:04 +02:00
Raphael Michel
eb04fdf4d2
Check-in rules: New variables ( #3521 )
2023-09-12 09:43:57 +02:00
Raphael Michel
c842ea597c
New locking mechanism ( #2408 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-09-11 11:44:50 +02:00
Phin Wolkwitz
3f07050d42
Payment: Add setting to prevent reminder mails (Z#23123914) ( #3573 )
...
Adds a checkbox in each payment provider's settings controlling whether sending out expiry reminders should be prevented
2023-09-07 14:27:09 +02:00
Mira
be4bc9a6f3
TemplateBasedMailRenderer: make markdown compiler call overridable ( #3550 )
2023-08-30 09:41:34 +02:00
Raphael Michel
5d90a42acf
Discounts: Allow "buy X to get Y" with different product sets for X and Y ( #3543 )
2023-08-28 16:21:52 +02:00
Mira
38173e3a54
Tax rules: add custom rules for country subdivision (e.g. state) (Z#23111850) ( #3520 )
2023-08-24 14:11:10 +02:00
Raphael Michel
0c96f758a8
Fix quota cache mixup ( #3539 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-08-23 10:09:50 +02:00
Raphael Michel
b51c9f7552
Upgrade to Django 4.2 ( #3497 )
2023-08-09 14:47:41 +02:00
Martin Gross
aee86de330
Import: Allow to import "False"-value (Z#23127414) ( #3505 )
2023-08-08 15:36:51 +02:00
Raphael Michel
0365f6d9fc
Order change manager: Set new expiry date if splitted order is pending ( #3509 )
2023-08-07 14:13:44 +02:00
Raphael Michel
ef0024b2ef
Payment deadline delay: Respect week days
2023-07-27 13:49:31 +02:00
Phin Wolkwitz
52ae7626b0
Send mail on payment failure [Z#23122835] ( #3473 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2023-07-21 14:17:51 +02:00
Raphael Michel
6dbbfe3b04
Fix test failures caused by b2c49461b
2023-07-20 15:47:10 +02:00
Raphael Michel
8fa7aeef78
Markdown: Allow to escape domain name ( #3430 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-06-28 14:03:53 +02:00
Raphael Michel
c6bb3e71bf
Order expiration: Allow to configure a delay in days ( #3425 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-06-28 13:30:36 +02:00
Raphael Michel
456bee7efa
Order import: Allow to assign a customer
2023-06-27 17:09:09 +02:00
Raphael Michel
206b57adfd
Revert "Markdown: Allow to escape domain name"
...
This reverts commit b7f3f7a7a1 .
2023-06-23 15:32:16 +02:00
Raphael Michel
b7f3f7a7a1
Markdown: Allow to escape domain name
2023-06-23 15:32:00 +02:00
Raphael Michel
3df64a46e7
Rich text: Support intentional newlines in emails
2023-06-16 15:16:20 +02:00
Raphael Michel
bd32b33ba9
Bump Django to 4.1.* ( #2989 )
2023-06-05 09:56:31 +02:00
Raphael Michel
c8ef681cc3
Event calendar: Respect voucher for availability ( #3351 )
2023-05-24 17:52:10 +02:00
Raphael Michel
c0419518c3
GiftCard: Add more information to transactions ( #3308 )
2023-05-12 09:38:35 +02:00
Phin Wolkwitz
73776ce0dd
Order approval: Add attendee mail settings (Z#23114617, Z#23118978) ( #3234 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2023-04-24 13:31:03 +02:00
Raphael Michel
2dfd507134
Order change: Allow to add bundled products later on
2023-04-23 18:25:44 +02:00
Raphael Michel
ddade60625
Question: Allow limit of string length ( #3214 )
2023-04-06 09:58:50 +02:00