dependabot[bot]
356f215d8e
Update celery requirement from ==5.3.* to ==5.4.* ( #4091 )
...
Updates the requirements on [celery](https://github.com/celery/celery ) to permit the latest version.
- [Release notes](https://github.com/celery/celery/releases )
- [Changelog](https://github.com/celery/celery/blob/main/Changelog.rst )
- [Commits](https://github.com/celery/celery/compare/v5.3.0a1...v5.4.0 )
---
updated-dependencies:
- dependency-name: celery
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 15:11:40 +02:00
dependabot[bot]
7962c4e380
Update django-otp requirement from ==1.4.* to ==1.5.* ( #4083 )
...
Updates the requirements on [django-otp](https://github.com/django-otp/django-otp ) to permit the latest version.
- [Changelog](https://github.com/django-otp/django-otp/blob/master/CHANGES.rst )
- [Commits](https://github.com/django-otp/django-otp/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: django-otp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 15:11:31 +02:00
dependabot[bot]
a59711ed32
Update django-statici18n requirement from ==2.4.* to ==2.5.* ( #4106 )
...
Updates the requirements on [django-statici18n](https://github.com/zyegfryed/django-statici18n ) to permit the latest version.
- [Changelog](https://github.com/zyegfryed/django-statici18n/blob/main/docs/changelog.rst )
- [Commits](https://github.com/zyegfryed/django-statici18n/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: django-statici18n
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 15:11:18 +02:00
dependabot[bot]
49370a5e08
Update reportlab requirement from ==4.1.* to ==4.2.* ( #4092 )
...
Updates the requirements on [reportlab](https://www.reportlab.com/ ) to permit the latest version.
---
updated-dependencies:
- dependency-name: reportlab
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 15:03:54 +02:00
dependabot[bot]
980aec7326
Update fakeredis requirement from ==2.21.* to ==2.22.* ( #4105 )
...
Updates the requirements on [fakeredis](https://github.com/cunla/fakeredis-py ) to permit the latest version.
- [Release notes](https://github.com/cunla/fakeredis-py/releases )
- [Commits](https://github.com/cunla/fakeredis-py/compare/v2.21.0...v2.22.0 )
---
updated-dependencies:
- dependency-name: fakeredis
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 15:03:09 +02:00
Raphael Michel
44294110fe
Translations: Update German (informal) (de_Informal)
...
Currently translated at 100.0% (5606 of 5606 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de_Informal/
powered by weblate
2024-04-23 14:59:03 +02:00
Raphael Michel
ce1078a783
Translations: Update German
...
Currently translated at 100.0% (5606 of 5606 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de/
powered by weblate
2024-04-23 14:59:03 +02:00
Raphael Michel
0e0cede0ee
Update po files
...
[CI skip]
Signed-off-by: Raphael Michel <michel@rami.io >
2024-04-23 14:41:20 +02:00
Martin Gross
5c833cd493
Add special input widgets for markdown fields ( #1577 )
...
* Add markdown text input widgets
* Update src/pretix/static/pretixcontrol/scss/_forms.scss
* Improvements
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-04-23 14:40:30 +02:00
Raphael Michel
64d6a34039
Ensure correct language of invoice attachment file name (Z#23150936) ( #4094 )
2024-04-23 14:07:30 +02:00
Mira
cf380069b4
Translations: Update German (informal) (de_Informal)
...
Currently translated at 100.0% (5598 of 5598 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de_Informal/
powered by weblate
2024-04-23 14:07:17 +02:00
Mira
48168a4c68
Translations: Update German
...
Currently translated at 100.0% (5598 of 5598 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de/
powered by weblate
2024-04-23 14:07:17 +02:00
Raphael Michel
6482fe79b0
Add force to log entry in extend_order()
2024-04-22 21:34:46 +02:00
Raphael Michel
0f696f42f6
Do not allow currency codes that to not represent money ( #4056 )
...
* Do not allow currency codes that to not represent money
* Rebase migration
* Fix blacklist
2024-04-22 16:22:30 +02:00
Martin Gross
79d59553d7
POS: Do not fail when rendering ZVT-transactions without a cardName or cardType
2024-04-22 13:52:18 +02:00
Raphael Michel
cc903c39f0
Docs: Fix copy-paste error in COEP docs
2024-04-22 13:18:34 +02:00
Raphael Michel
b6a42ac8d2
Widget: Document and improve situation around COEP (Z#23149909) ( #4051 )
2024-04-22 13:15:33 +02:00
Raphael Michel
5f5001edb5
File upload: Fix thumbnailing of current image (Z#23151293) ( #4098 )
2024-04-22 13:14:28 +02:00
Raphael Michel
fb403dad88
Add comment field to subevents (Z#23148472) ( #4099 )
...
* Add comment field to subevents (Z#23148472)
* Review fix
2024-04-22 12:56:29 +02:00
Christiaan de Die le Clercq
a73c8f580d
Translations: Update Dutch
...
Currently translated at 88.1% (4937 of 5598 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/nl/
powered by weblate
2024-04-22 11:38:27 +02:00
Raphael Michel
f490c89e98
Seating plans: Do not allow GUIDs starting or ending with spaces ( #4093 )
2024-04-22 11:31:34 +02:00
Raphael Michel
159658ae46
Fix typo in attribute name
2024-04-19 17:34:38 +02:00
Christiaan de Die le Clercq
595aff0579
Add a community install guide page ( #4096 )
2024-04-19 15:08:47 +02:00
Raphael Michel
b2842ec3a0
Checkin: Allow to use presence state in rules ( #4061 )
2024-04-18 13:15:31 +02:00
Raphael Michel
f09f07ec7c
Add Android Version Support Policy ( #4074 )
2024-04-18 11:35:28 +02:00
Richard Schreiber
cff073f0d6
Fix: show human-readable country name in profile description for custom country-code questions ( #4078 )
2024-04-18 11:08:21 +02:00
dependabot[bot]
eb9d0c6cf9
Update sphinx requirement from ==7.2.* to ==7.3.* ( #4088 )
...
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx ) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.0...v7.3.5 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 11:06:52 +02:00
dependabot[bot]
e263946c3f
Update django-bootstrap3 requirement from ==23.6.* to ==24.2 ( #4087 )
...
Updates the requirements on [django-bootstrap3](https://github.com/zostera/django-bootstrap3 ) to permit the latest version.
- [Changelog](https://github.com/zostera/django-bootstrap3/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zostera/django-bootstrap3/compare/v23.6...v24.2 )
---
updated-dependencies:
- dependency-name: django-bootstrap3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 11:06:46 +02:00
Shiiko
7ee957cff0
Translations: Update Chinese (Simplified)
...
Currently translated at 52.5% (2940 of 5598 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/zh_Hans/
powered by weblate
2024-04-17 17:18:31 +02:00
Raphael Michel
ac2fe4b62d
Fix crash in placeholder samples (PRETIXEU-9YP)
2024-04-17 16:37:40 +02:00
Raphael Michel
577e276df3
Fix voucher import validation issue (PRETIXEU-9YF)
2024-04-17 15:42:05 +02:00
Richard Schreiber
11956a8f4d
fix isort
2024-04-15 16:25:25 +02:00
Raphael Michel
d0c58713c4
Badge/ticket export: Allow to sort by company
2024-04-15 10:55:40 +02:00
Raphael Michel
46da0bda61
Placeholders: Use dynamic sample for name_for_salutation
2024-04-15 10:55:40 +02:00
Raphael Michel
009e3a6d36
Respect Order.valid_if_pending for mail_attach_ical_paid_only ( #4065 )
2024-04-12 15:00:00 +02:00
Martin Gross
c01855270b
Approval Process: Attach ical to approval-messages if properly configured ( #4064 )
2024-04-12 11:18:21 +02:00
dependabot[bot]
2df1585b71
Update sentry-sdk requirement from ==1.44.* to ==1.45.* ( #4058 )
...
Updates the requirements on [sentry-sdk](https://github.com/getsentry/sentry-python ) to permit the latest version.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/1.44.0...1.45.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 13:33:01 +02:00
Raphael Michel
bf48ae567f
NREI export: Fix parsing of stripe data
2024-04-11 09:27:55 +02:00
dependabot[bot]
5a72c72d18
Update django-otp requirement from ==1.3.* to ==1.4.* ( #4057 )
...
Updates the requirements on [django-otp](https://github.com/django-otp/django-otp ) to permit the latest version.
- [Changelog](https://github.com/django-otp/django-otp/blob/master/CHANGES.rst )
- [Commits](https://github.com/django-otp/django-otp/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: django-otp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 09:56:40 +02:00
Raphael Michel
ac02f3b417
API: Fix crash in order creation (PRETIXEU-9XS)
2024-04-10 09:40:35 +02:00
Martin Gross
58add74b3a
Stripe: Add PayPal ( #4049 ) (Z#23123667)
2024-04-09 10:06:58 +02:00
Raphael Michel
0067c3537d
Fix invalid orders being created in a complex situation ( #4054 )
...
This was a bug that took days to find. The story goes like this: A cart
is created with four positions that each include four bundled positions.
A discount is applied, changing the price of *one* of the four top-level
positions to a reduced value. The list of position IDs gets passed to
`perform_order()`, which later passes it on to `transform_cart_positions()`.
`transform_cart_positions()`, however, receives the positions in an order
that has the first-level product *after* the bundled products that
belong to it. Therefore, it can't properly assign the parent-child
relationship between the positions.
The main reason is that cart positions are processed in "database order"
in a number of places, i.e. we make `SELECT` queries without an explicit
`ORDER BY` statement, leading the database to respond in unspecified
order. This is the case for `get_cart()` and hence for `CartMixin.positions`,
and hence for the list of position IDs that is passed to `perform_order()`
and hence for the order in which discounts are processed.
Therefore, if this "databse order" of the cart positions changes, the
discount compuation in `_check_positions()` might make a different choice
of *which* cart position should receive the discount than the CartManager
originally did. That's not nice, but most customers would not even
notice that a different one of their four (otherwise identical) tickets
is now discounted than the cart originally showed.
This leads to `_check_positions()` changing the price on two of the
cart positions. However, it only changes the price on the copy of
the CartPosition object that is directly part of the positions array,
while the `addon_to` attribute of its bundled positions contain a
*different* representation of the same cart position, that is not
refreshed to have the updated price now in the database.
This causes the `CartPosition.sort_key` of the bundled products to be
significantly different from the one of their parent products, which can
cause `transform_cart_positions()` to try to insert them before their
respective parent product, which is how the bug leads to the nasty end
result.
Now, I'm still not sure why this has happened *now* for the first time,
but I suspect it *might* even have something to do with our operations
team tuning our autovacuum parameters on our production installation,
which might make it *more likely* that newly created cart positions are
arbitrarily stored on PostgreSQL disk pages in a different order than
they were inserted than before.
This commit now fixes the bug now in two ways, each of which would be
sufficient to fix it for now, but together they make it hopefully more
stable in the future:
- `perform_order` no longer respects the order of the position IDs it
gets passed in, but instead uses the order last displayed in the cart.
Additionally, both `CartManager` and `_check_positions()` now sort
positions by their `pk` value before applying discounts to ensure
consistent choice of which position is discounted (using `sort_key`
here does not make much sense since it includes sorting by price,
which is about to change).
- `_check_positions()` makes sure that after its completion, only one
copy of the same `CartPosition` is in use that has the current price.
Additionally, this commit makes sure `sort_key` cache is cleared after
e.g. a price change.
It was hard to write a regression test, since "database order" is, by
definition, unreliable, but I tried my best.
2024-04-08 16:55:54 +02:00
Raphael Michel
64ae1d08a6
Docs: Fix incorrect API response
2024-04-05 17:28:44 +02:00
Raphael Michel
ca25c3c81e
Add logging for special bug case (Z#23149646)
2024-04-04 18:13:54 +02:00
Raphael Michel
abbe9ec897
Order creation: Fail loudly on invalid addon-to relationship
2024-04-03 17:21:47 +02:00
Raphael Michel
a7735d5d9e
API: Allow request_valid_from in the past ( #4048 )
2024-04-03 17:21:25 +02:00
Raphael Michel
174c81a22b
Translations: Update German (informal) (de_Informal)
...
Currently translated at 100.0% (5598 of 5598 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de_Informal/
powered by weblate
2024-04-03 13:15:57 +02:00
Raphael Michel
38c6294ede
Translations: Update German
...
Currently translated at 100.0% (5598 of 5598 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de/
powered by weblate
2024-04-03 13:15:57 +02:00
Raphael Michel
217ae90642
Update po files
...
[CI skip]
Signed-off-by: Raphael Michel <michel@rami.io >
2024-04-03 12:43:52 +02:00
Raphael Michel
0c998ca884
Remove special handling of translations in pretix/helpers
2024-04-03 12:43:20 +02:00