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
Kian Cross and GitHub
5d4b218aa6
Banktransfer: Handle trailing commas in headers for Lloyds Bank CSV files ( #4782 )
...
Lloyds Bank (UK) CSV files include a trailing comma in the header row
but not in the data rows, causing the `csvimport.parse` function to
skip the data rows. This occurs because the header length exceeds the
row length, making them unequal to `hint.cols`.
This commit adjusts the length check to allow a range of acceptable row
lengths, from the index of the last non-empty column in the header to
`hint.cols`. This ensures compatibility with headers containing one or
more trailing commas without affecting rows with correctly labelled columns.
The solution avoids breaking changes by leaving underlying data structures
untouched. Alternative approaches, such as dropping trailing commas before
parsing or removing empty elements after parsing, were avoided due to
potential risks. Specifically, trailing columns might contain data that
banks provide but fail to label in the header row.
2025-02-05 16:56:28 +01:00
Raphael Michel and GitHub
58db550e23
Do not allow to cancel pending payments by default (Z#23179178)
2025-02-03 17:07:19 +01:00
Mira Weller
f014a9bbd3
Reapply "Implement hidden_if_item_available_mode option (Z#23177008) ( #4776 )"
...
This reverts commit 5cd7959e86 .
2025-01-24 14:48:28 +01:00
Mira Weller
5cd7959e86
Revert "Implement hidden_if_item_available_mode option (Z#23177008) ( #4776 )"
...
This reverts commit b847612e1a .
2025-01-24 14:07:55 +01:00
Mira and GitHub
b847612e1a
Implement hidden_if_item_available_mode option (Z#23177008) ( #4776 )
2025-01-24 11:24:50 +01:00
Raphael Michel and GitHub
1635118772
Copy ItemVariation.limit_sales_channels when copying items ( #4752 )
2025-01-21 15:01:28 +01:00
c8d4815c9e
LogEntryType registry ( #4235 )
...
Move display of LogEntry details from the `logentry_display` and
`logentry_object_link` signals to a class hierarchy based approach.
For each action_type, an instance of a subclass of `LogEntryType`
is registered in the `log_entry_types` registry.
Analogous to EventPluginSignal, this registry is an `EventPluginRegistry`,
so it keeps track of the plugin the LogEntryType is defined in.
---------
Co-authored-by: Raphael Michel <michel@rami.io >
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-01-16 13:05:57 +01:00
Raphael Michel and GitHub
5cf2f1beef
New invoice generation setting: User request but paid only ( #4740 )
2025-01-14 13:54:25 +01:00
Raphael Michel and GitHub
62c028d9ac
Fix order availability with blocked seeat (Z#23178286) ( #4734 )
2025-01-13 12:49:49 +01:00
Raphael Michel
595c042624
Regenerate OrderPosition.web_secret when chaning other secrets
2025-01-03 15:21:45 +01:00
Raphael Michel
5a5a551c21
Fix tests failing after 2025-01-01
2025-01-03 15:21:32 +01:00
Raphael Michel
13c40f9bb7
API: Fix sales channels when copying events (Z#23177154, Z#23169537)
2024-12-20 14:09:10 +01:00
Raphael Michel and GitHub
20f171b790
Order import: Respect sales channel when validating seats ( #4707 )
2024-12-18 13:57:29 +01:00
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
ae8ec42905
Fix backend validation if name is required as part of a required non-business invoice address ( #4674 )
...
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-12-09 12:27:59 +01:00
Raphael Michel and GitHub
11ab5c5eeb
Event dashboard: Use intcomma in numbers (Z#23175343) ( #4687 )
2024-12-05 17:11:57 +01:00
Raphael Michel and GitHub
6b199a2b9c
Allow to enter gift cards into the voucher input (Z#23171961) ( #4670 )
2024-12-05 13:43:46 +01:00
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
cc4fbfe4c7
API: Allow to block/unblock seats in bulk ( #4668 )
...
* API: Allow to block/unblock seats in bulk
* Update doc/api/resources/seats.rst
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update doc/api/resources/seats.rst
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update doc/api/resources/seats.rst
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/api/views/event.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-12-02 16:03:11 +01:00
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 and GitHub
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 and GitHub
a1bf7be244
[A11y] Improve customer account pages ( #4654 )
2024-11-29 14:16:40 +01:00
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 and GitHub
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
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 and GitHub
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 and GitHub
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 and GitHub
91de0f93e6
Allow organizers to manually add fees to an existing order ( #4590 )
2024-11-05 14:37:50 +01:00
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
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 and GitHub
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 and GitHub
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 and GitHub
54f077665c
CI: Remove mentions of travis CI, we have migrated away years ago ( #4562 )
2024-10-25 17:47:04 +02:00
Raphael Michel and GitHub
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 and GitHub
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 and GitHub
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
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
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 and GitHub
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 and GitHub
8efe276ed0
Fix negative prices in bundles when tax rate is 0 ( #4513 )
2024-10-09 08:16:01 +02:00
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 and GitHub
1334a570e4
Generate email confirmation secret from tagged_secret ( #4480 )
2024-10-07 13:58:08 +02:00
Raphael Michel and GitHub
9bf4fb2d0f
Sendmail: Fix incorrect filtering of subevents when mailing to attendees (Z#23166274) ( #4474 )
2024-09-25 17:55:33 +02:00
Raphael Michel and GitHub
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 and GitHub
a01d105829
Bank Transfer: Fix weird error code on duplicate match (Z#23164140) ( #4428 )
2024-08-29 13:58:37 +02:00