Mira Weller
4be74b7955
extend cart without full page reload
2025-05-16 20:47:55 +02:00
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
b045274d8c
CartPosition: add max_extend field
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
Luca Sorace "Stranck and Raphael Michel
4f4903b00e
Metrics: Fix Content Type header ( #5099 )
...
* Metrics: Fix Content Type header
Now it follows the PrometheusText1.0.0 ContentType header specified from their code: https://github.com/prometheus/prometheus/blob/32d306854b77352fec62f5df1268d745b84dfd96/config/config.go#L516-L529
* Update src/pretix/base/views/metrics.py
---------
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
2025-05-13 18:42:02 +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 and Richard Schreiber
31bb0f4a91
Product list: Show icon for seated products ( #5015 )
...
* Product list: Show icon for seated products
* Use updated seat icon
* Update src/pretix/static/pretixbase/scss/_theme.scss
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-05-06 11:14:28 +02:00
Richard Schreiber
f4478da5ce
Fix handling of empty giftcard-code
2025-04-30 07:15:18 +02:00
Richard Schreiber
b3919973f1
Fix order export for empty attendee_name_parts
2025-04-29 13:35:25 +02:00
Raphael Michel
e1027e3e8c
OrderChangeManager: Re-use same instances of OrderPosition/OrderFee
2025-04-29 12:38:41 +02:00
Richard Schreiber and Raphael Michel
7ca2f8ec04
[A11y] add min/max as help_text to date/time inputs
...
* [A11y] add min/max as help_text to date/time inputs
* update text
* Fix help-text (suggestions from code review)
Co-authored-by: Raphael Michel <michel@rami.io >
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2025-04-29 09:10:29 +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
Richard Schreiber
9d01072880
[A11y] allow users to scale website
...
* on smaller screens, make fontsize bigger for inputs to not have iPhones zoom on focus
2025-04-23 14:36:28 +02:00
Raphael Michel and Richard Schreiber
66dfa99e58
Questions: validate that min < max ( #4992 )
...
* Questions: validate that min < max
* Update src/pretix/base/models/items.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-04-13 18:25:40 +02:00
Richard Schreiber
ea955c779e
Fix image size in help-text for logo-images
2025-04-08 20:40:18 +02:00
luelista
8c3ac46ddf
Fix bug in Question.clean_answer ( #4987 )
2025-04-07 15:19:54 +02:00
luelista
277a5bffa8
Allow changing ticket secret via API (Z#23188201) ( #4989 )
2025-04-07 13:49:19 +02:00
dependabot[bot] and Raphael Michel
1bbefddc11
Update flake8 requirement from ==7.1.* to ==7.2.* ( #4972 )
...
* Update flake8 requirement from ==7.1.* to ==7.2.*
Updates the requirements on [flake8](https://github.com/pycqa/flake8 ) to permit the latest version.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.2.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Resolve warning
---------
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-04-06 09:23:56 +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
Renne Rocha
a3d721c08b
Add Federal district (DF) to state dropdown for Brazil (BR) ( #4966 )
2025-03-31 12:15:17 +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
Raphael Michel
6c7041c875
Add a label for empty salutation option (Z#23183319) ( #4913 )
2025-03-27 12:09:04 +01:00
Kian Cross
06efb37d5d
Clarify description for offsetting refunds ( #4943 )
...
The 'offsetting' payment method includes a clear description specifying
which order the offsetting applies to, but the associated refund does
not. This commit ensures refunds use the same message as payments,
making the associated order explicit.
2025-03-25 16:52:04 +01:00
Raphael Michel
7652f48dc1
New consistent representation of date ranges with times (Z#23184657)
2025-03-18 14:40:38 +01:00
Richard Schreiber
7da03ac17c
Fix concurrent login and duplicate UserKnownLoginSources ( #4880 )
2025-03-18 10:24:15 +01:00
Raphael Michel
f475781a89
Order email history: Record more information about attachments (Z#23185463) ( #4914 )
2025-03-18 08:58:54 +01:00
Raphael Michel
0cca053d45
Address form: Add provinces for Italy
2025-03-17 10:36:29 +01:00
Raphael Michel
9581457d2f
Fix typo on 400 error page ( fixes #4897 )
2025-03-17 09:44:21 +01:00
Raphael Michel
03bdfe3540
Base payment provider: Reorder fields
2025-03-16 10:40:47 +01:00
Raphael Michel
c8cdf0438f
Fix a typo
2025-03-16 10:40:47 +01:00
Richard Schreiber
032be74d77
Add min/max-limit on giftcard_expiry_years
2025-03-12 08:54:40 +01:00
Martin Gross
de3fd54a27
ical: Remove Markdown indicator for mail_attach_ical_description (Z#23184634)
2025-03-06 12:31:35 +01:00
Raphael Michel
982069720e
Change links to new documentation
2025-02-25 17:17:02 +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
Kian Cross and Raphael Michel
352d4e29f1
Allow ticket QR code colour to be configured ( #4726 )
...
* Allow ticket QR code colour to be configured
This commit introduces a feature enabling users to customise the QR
code colour in the ticket editor.
* Remove redundant argument from `Dict.get` call
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
---------
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
2025-02-24 17:28:59 +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
Raphael Michel and Richard Schreiber
d721d9577c
Improve efficiency of bulk operations ( #4832 )
...
* Improve efficiency of bulk operations
* Update src/pretix/base/models/log.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Review notes
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-02-21 16:11:47 +01:00
Raphael Michel
67db230f72
OIDC: Implement PKCE in OP and RP
2025-02-21 13:23:17 +01:00
Raphael Michel
7afe2e66d7
API: Validate input locales (Z#23182219) ( #4833 )
2025-02-12 12:50:13 +01:00