Raphael Michel
e99ee91573
Allow to use custom domains for some but not all events (Z#23153875) ( #4627 )
...
* Allow to use custom domains for some but not all events
* Update src/pretix/multidomain/urlreverse.py
* Apply suggestions from code review
Co-authored-by: Mira <weller@rami.io >
* Logging for domain config changes
---------
Co-authored-by: Mira <weller@rami.io >
2024-12-02 15:58:50 +01:00
Mira
e8e9698a31
Update address field logic (Z#23163120) ( #4659 )
...
* Move country-dependent JS logic to separate file (avoids code duplication for presale and control)
* Correctly apply "required" attribute to address state field
* Load address format information when selecting country
* Fix some other bugs and inconsistencies
2024-11-29 14:56:56 +01:00
Richard Schreiber
a1bf7be244
[A11y] Improve customer account pages ( #4654 )
2024-11-29 14:16:40 +01:00
Raphael Michel
5896ca0197
Event creation: Prevent accidentally creating events without tax rate ( #4623 )
...
* Event creation: Prevent accidentally creating events without tax rate
* Update src/pretix/control/forms/event.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Fix tests
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-11-19 16:14:56 +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
Mira
3170744c56
Bleach 6 update ( #4610 )
...
* Update bleach requirement from ==5.0.* to ==6.2.*
Updates the requirements on [bleach](https://github.com/mozilla/bleach ) to permit the latest version.
- [Changelog](https://github.com/mozilla/bleach/blob/main/CHANGES )
- [Commits](https://github.com/mozilla/bleach/compare/v5.0.0...v6.2.0 )
---
updated-dependencies:
- dependency-name: bleach
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update bleach parameter types
* Fix tests
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 15:34:40 +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
Raphael Michel
4ca9a43890
Fix performance issue in filtering checkin list (Z#23170917) ( #4607 )
...
* Fix performance issue in filtering checkin list
* remove test
2024-11-06 12:30:37 +01:00
Mira
91de0f93e6
Allow organizers to manually add fees to an existing order ( #4590 )
2024-11-05 14:37:50 +01:00
Martin Gross
eb685b5141
API: Expose cancellation_date on order endpoint (Z#23170733) ( #4606 )
...
Co-authored-by: robbi5 <richt@rami.io >
2024-11-04 16:41:44 +01:00
Raphael Michel
81d7045b31
Public event filter: Make "all" option clearer (Z#23169843) ( #4585 )
...
* Public event filter: Make "all" option clearer
* Fix widget tests
* Update src/tests/presale/test_widget.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-10-29 17:31:51 +01:00
Raphael Michel
3e4e86742a
Add print logs ( #4475 )
...
* Add print logs
* Add attribute successful
* Rebase migration
* Fix tests on postgres
2024-10-28 12:24:23 +01:00
Raphael Michel
8f1d53d016
Tests: Add separation of database lock indices by pytest worker ( #4553 )
...
* Add separation of database lock indices by pytest worker
* Fix ID derivation
* Update conftest.py
2024-10-25 22:05:02 +02:00
Raphael Michel
54f077665c
CI: Remove mentions of travis CI, we have migrated away years ago ( #4562 )
2024-10-25 17:47:04 +02:00
Raphael Michel
0cd1290624
Tests: Fix two flaky tests ( #4557 )
...
* Test: Fix test that relies on unstable database result order
* Tests: Fix test that fails between 0am and 1am
2024-10-25 17:04:16 +02:00
Raphael Michel
565f5e2ea7
Tests: Run fakeredis on different virtual ports per pytest worker ( #4555 )
2024-10-25 16:44:22 +02:00
Raphael Michel
7a870ee521
Fix test that does not work on postgresql
2024-10-25 00:02:52 +02:00
Mira
a10bf2a939
Include "Cross-selling condition products" option when cloning category ( #4534 )
...
* Include "Cross-selling condition products" option when cloning category
* Add test case
* Remove print
2024-10-23 17:12:03 +02:00
Raphael Michel
99ce7effde
Add ticket renderer RPC API (Z#23165429) ( #4525 )
...
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-10-15 12:11:09 +02:00
Mira
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
8f0a277c7b
Fix tax rule calculation of negative amounts (PRETIXEU-ANN)
2024-10-11 15:28:07 +02:00
Raphael Michel
221f14cc21
API: Fix crash PRETIXEU-AN5
2024-10-09 12:25:36 +02:00
Felix Schäfer
1dda2eb4fb
Fix reauth loops with redirect style authentication plugins ( #4512 )
...
* Test reauth with redirect style auth #4498
* Fix reauth loops with redirect style auth #4498
2024-10-09 09:24:49 +02:00
Raphael Michel
8efe276ed0
Fix negative prices in bundles when tax rate is 0 ( #4513 )
2024-10-09 08:16:01 +02:00
Raphael Michel
6cc9529d9a
Authentication: Support for fallback secret keys in get_session_auth_hash ( #4481 )
...
* Authentication: Support for fallback secret keys in get_session_auth_hash
* Update src/pretix/presale/utils.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-10-07 16:58:37 +02:00
Raphael Michel
1334a570e4
Generate email confirmation secret from tagged_secret ( #4480 )
2024-10-07 13:58:08 +02:00
Raphael Michel
9bf4fb2d0f
Sendmail: Fix incorrect filtering of subevents when mailing to attendees (Z#23166274) ( #4474 )
2024-09-25 17:55:33 +02:00
Raphael Michel
32d6ded003
Stricten password validation to match PCI DSS requirements ( #4467 )
...
* Stricten password validation to match PCI DSS requirements
* Review fix
* Fix a file header
2024-09-17 13:29:17 +02:00
Raphael Michel
24e2b1b9ab
Import: Parse iso dates
2024-09-12 09:32:25 +02:00
Raphael Michel
a01d105829
Bank Transfer: Fix weird error code on duplicate match (Z#23164140) ( #4428 )
2024-08-29 13:58:37 +02:00
Raphael Michel
b1bfa1acee
API: Provide useful device_id in checkins (Z#23163025) ( #4427 )
2024-08-29 12:36:27 +02:00
Raphael Michel
54079797d2
Event list: Do not include old or inactive subevents in event list (Z#23163541) ( #4415 )
2024-08-28 09:28:35 +02:00
Mira
91e69f793d
Show weekday in subevent dates [Z#23161884] ( #4383 )
2024-08-27 22:22:44 +02:00
Raphael Michel
a6f93b6cf0
Seats API: Add is_available filter (Z#23163419) ( #4409 )
...
* Seats API: Add is_available filter (Z#23163419)
* docs
2024-08-21 17:43:13 +02:00
Raphael Michel
b96374fcf6
Do not create duplicate memberships on order changes (Z#23163336) ( #4408 )
2024-08-21 17:30:42 +02:00
Mira
dc1973f4ff
Add API endpoint /seats to event (Z#23159536) ( #4321 )
...
* add API endpoint /seats to event
* fix logging
* add Seat annotations
* add seats endpoint for subevents
* return ids of occupying objects instead of boolean flags
* wip
* include orderposition instead of order in seat info
* add API documentation
* Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io >
* Apply suggestions from code review
* Clarify API docs
* add api examples
* add test cases
* require can_view_orders permission for retrieving seats
* improve permission handling
* Revert "improve permission handling"
This reverts commit f32b532cc68760a8a4af03208bd17e75e8c5723d.
* improve permission handling (minimal version)
* formatting
* add permission tests
* fix bug
* update permission checks
* Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io >
* add tests for permission checks
* add tests for expand=voucher and expand=cartposition
* remove unused parameter
* test query count
* codestyle
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-08-02 09:17:46 +02:00
Raphael Michel
13720e731e
Easier PCI DSS compliance for payment pages ( #4273 )
...
* Assign names to compressed scripts
* Make PCI-relevant pages detectable
* Make payment summary markup more consistant to easy work in tracking plugin
* Add docs note
2024-07-31 13:11:38 +02:00
Raphael Michel
a65f94fa85
Autocheckin: Fix handling of mixed orders
2024-07-31 10:05:12 +02:00
Raphael Michel
ad33785f4c
API: Allow to set seating_allow_blocked_seats_for_channel (Z#23159519) ( #4333 )
2024-07-30 16:28:08 +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
Raphael Michel
fa3ac69b8e
API: Allow to filter enabled webhooks (Z#23160605) ( #4336 )
...
* API: Allow to filter enabled webhooks (Z#23160605)
* Fix naming
* Fix isort
2024-07-26 17:04:12 +02:00
Raphael Michel
17f1d571b0
API: Allow querying invoices with multiple order codes (Z#23158921) ( #4332 )
2024-07-26 16:32:29 +02:00
Richard Schreiber
22e2143623
API: add api_meta to order
2024-07-18 10:01:03 +02:00
Martin Gross
d63e2ebe2d
Chore/flake8: Remove extra blank line
2024-07-12 12:34:39 +02:00
Mira
032e958a00
Fix test cases for checkinlist export ( #4301 )
2024-07-12 11:58:10 +02:00
Raphael Michel
8d6d885f6e
API: Add various filtering options
...
* API: Add various filtering options (#23158339 )
* fix query-param description
* simplify payment provider qs-filter
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-07-08 21:31:54 +02:00
Raphael Michel
73038b0d97
Fix enforcement of restricted plugins ( #4286 )
2024-07-03 17:14:03 +02:00
Raphael Michel
a173e347ea
Optimize availability queries
2024-07-02 18:29:44 +02:00
Raphael Michel
e618441231
API: Fix crash expanding variations
2024-07-02 14:44:35 +02:00
Raphael Michel
cd57f1f024
API: Fix creation of embedded variations with explicit sales channels
2024-07-02 09:25:19 +02:00