Mira
f7cba6a2bd
Fix log display for checkins and order splits (Z#23181229) ( #4818 )
...
- Fix link in pretix.event.order.changed.split
- Add link to existing order in pretix.event.order.changed.split_from
- Fix display of checkin entries without datetime in data
- Add additional info for admins (action type, linked content object)
2025-02-07 11:53:17 +01:00
Raphael Michel
5d56cd3917
Fix missing atomicity for handling forms and logs (might be the reason for Z#23178997) ( #4755 )
2025-02-05 16:56:38 +01:00
Mira
026a5e2941
Log automatic team creation in event create wizard ( #4802 )
2025-02-05 16:52:36 +01:00
Mira
832f4e4d68
Define LogEntryTypes for all actions in pretix core, improve content_object handling ( #4768 )
...
Create LogEntryType definitions for all missing action_types (order changes, check-in events, settings changes of PaymentProviders and TicketOutputs).
Check whether the stored content_object is of the expected model type, preventing incorrect links.
Refactoring:
- Move the base LogEntryType definitions for our models to their own file
- Move HTML escaping into make_link to make it less likely to oversee in the LogEntryType definitions
- Log pretix.event.order.deleted with the deleted Order model as content_object, matching the other *.deleted action_types
2025-01-24 10:05:19 +01:00
Mira
0a23aeece4
Allow 0% tax rate on event creation ( #4756 )
...
(but still warn if tax rate is not filled at all)
2025-01-23 12:59:39 +01:00
Raphael Michel
5cf2f1beef
New invoice generation setting: User request but paid only ( #4740 )
2025-01-14 13:54:25 +01:00
Raphael Michel
595c042624
Regenerate OrderPosition.web_secret when chaning other secrets
2025-01-03 15:21:45 +01:00
Raphael Michel
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
Raphael Michel
11ab5c5eeb
Event dashboard: Use intcomma in numbers (Z#23175343) ( #4687 )
2024-12-05 17:11:57 +01:00
Raphael Michel
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
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
Martin Gross
a601c75923
CheckIns: Display a source_type icon (barcode/nfc) where known ( #4628 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2024-11-18 17:50:43 +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
f9a93b765c
Use correct LogEntry type for changes to product categories ( #4617 )
2024-11-08 10:45:46 +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
Mira
91de0f93e6
Allow organizers to manually add fees to an existing order ( #4590 )
2024-11-05 14:37:50 +01:00
Mira
826bd07b01
Add action buttons to "missing quota" warnings ( #4533 )
...
* Add action buttons to "missing quota" warnings
* Update item.py
2024-10-28 12:25:03 +01: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
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
Martin Gross
17b2e95569
Questions: Add SubEvent-Filter; Renew Filter-Form Layout (Z#23168996) ( #4538 )
2024-10-21 13:25:18 +02:00
Raphael Michel
d160c9fd67
Fix crash in checkin list action view (PRETIXEU-AN8)
2024-10-09 17:11:10 +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
02a4ed4be2
Teams: Improve handling of revoked keys and team deletion (Z#23163674) ( #4414 )
2024-08-28 09:27:53 +02:00
Raphael Michel
1879e440a7
Fix isort issue
2024-08-23 15:24:56 +02:00
Mira
f819f0c316
Escape HTML in placeholder samples in mail preview ( #4413 )
...
CVE-2024-8113
2024-08-23 14:41:25 +02:00
Raphael Michel
6087665775
Email preview: Include prefix in subject ( #4395 )
2024-08-23 13:42:29 +02:00
Raphael Michel
b96374fcf6
Do not create duplicate memberships on order changes (Z#23163336) ( #4408 )
2024-08-21 17:30:42 +02:00
Raphael Michel
73038b0d97
Fix enforcement of restricted plugins ( #4286 )
2024-07-03 17:14:03 +02:00
Raphael Michel
075b9c187f
Item list: Fix exclusive tax rules
2024-07-02 09:03:57 +02:00
Raphael Michel
d2cf8f801d
Sales channels: Fix update view
2024-07-01 17:50:27 +02:00
Raphael Michel
3453818c16
Fix email layout preview (PRETIXEU-AB9)
2024-07-01 08:56:36 +02:00
Raphael Michel
4fb5c6bef0
New implementation of sales channels ( #4111 )
...
Co-authored-by: Martin Gross <gross@rami.io >
2024-06-30 19:24:30 +02:00
Raphael Michel
f0a06cd9fe
Replace SCSS compilation with CSS variables ( #4191 )
...
* Replace SCSS compilation with CSS variables
* Update tests
* Update src/pretix/presale/style.py
Co-authored-by: Mira <weller@rami.io >
* Update src/pretix/presale/context.py
Co-authored-by: Mira <weller@rami.io >
* Update src/pretix/presale/views/widget.py
Co-authored-by: Mira <weller@rami.io >
* Update src/pretix/presale/context.py
Co-authored-by: Mira <weller@rami.io >
* Update src/pretix/static/pretixbase/scss/_variables.scss
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Last minor changes
* Rename file
---------
Co-authored-by: Mira <weller@rami.io >
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-06-25 13:01:20 +02:00
Mira
a73c4ad937
Improve List Sorting UI ( #4215 )
...
Improve product list UI (allow move between categories, more useful columns and links)
and hide "move up/down" arrows in lists by default if drag-drop is available
2024-06-25 12:54:11 +02:00
Martin Gross
cb95cdc6ce
item_forms: Allow signals to return None ( #4237 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-06-18 16:24:39 +02:00
Raphael Michel
e9a95b0b09
Add system report for pretix Enterprise ( #4213 )
...
* Add system report for pretix Enterprise
* Update src/pretix/control/sysreport.py
Co-authored-by: Mira <weller@rami.io >
* ADd missing license header
---------
Co-authored-by: Mira <weller@rami.io >
2024-06-13 17:08:36 +02:00
Mira
dd6ebd7a48
Improve validation of email templates ( #4184 )
...
* Improve validation of email templates
* simplify SafeFormatter (skip attribute access code path altogether instead of blocklisting characters)
* let SafeFormatter optionally raise on missing key
* simplify placeholder validation
* rename parameter
* Remove unused import
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-06-10 16:41:52 +02:00
Mira
b638c00952
Time machine mode [Z#23129725] ( #3961 )
...
Allows organizers to test their shop as if it were a different date and time.
Implemented using a time_machine_now() function which is used instead of regular now(), which can overlay the real date time with a value from a ContextVar, assigned from a session value in EventMiddleware.
For more information, see doc/development/implementation/timemachine.rst
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2024-05-17 10:52:17 +02:00
Raphael Michel
0e20d897d2
Prevent parallel refunds for the same order (Z#23152965) ( #4136 )
2024-05-07 14:32:02 +02:00
Raphael Michel
cebb6d3b43
Introduce locking to prevent duplicate invoices (Z#23150548) ( #4067 )
...
* Introduce locking to prevent duplicate invoices
This is not a perfect solution as it does not handle all code paths to
create invoices, but it handles all that seem likely to be triggered
concurrently
* Review note
2024-04-30 10:43:13 +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
Raphael Michel
a3139944f6
Send notifications about login with new client or country ( #4032 )
...
* Send notifications about login with new client or country
* Rebase migration
* Remove immediately
* Fix isort
* Text update
2024-04-03 11:19:20 +02:00
Raphael Michel
990e9da21d
Generalize import process from orders to more models ( #4002 )
...
* Generalize import process from orders to more models
* Add voucher import
* Model import: Guess assignments of based on column headers
* Fix lock_seats being pointless
* Update docs
* Update doc/development/api/import.rst
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/base/modelimport_vouchers.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-04-03 10:15:30 +02:00
Raphael Michel
4afb7a4976
Allow admins to generate emergency 2FA tokens ( #4035 )
...
* Allow admins to generate emergency 2FA tokens
* Update src/pretix/control/views/users.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-04-03 10:15:17 +02:00
Raphael Michel
4ea4189e6d
Allow team admins to require two-factor authentication ( #4034 )
...
* Allow team admins to require two-factor authentication
* Add API tests
* Improve logic
* ADd button tooltip
2024-04-02 17:15:16 +02:00
Raphael Michel
f3f42a8a42
Login: Add logging for incorrect JS hostnames
2024-04-02 11:34:43 +02:00
Raphael Michel
fb49046ac1
Log and count user logins ( #4020 )
...
* Log and count user logins
* Allow metrics without label
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-03-28 17:18:51 +01:00
Martin Gross
d67f5c650c
Event-specific fonts and Web-Embedded Fonts (Z#23130701) ( #3893 )
2024-03-26 09:55:08 +01:00
Raphael Michel
93eb041acc
Quota item selection: Strike disabled items in select2
2024-02-14 16:38:53 +01:00
Raphael Michel
57738f19bf
Update webauthn requirement from ==0.4.* to ==2.0.* ( #3880 )
...
* Get rid of unmaintained dependency python-u2flib-server
* Update webauthn requirement from ==0.4.* to ==2.0.*
* Fix tests
* Update src/pretix/control/views/auth.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/control/views/auth.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/control/views/user.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/control/views/user.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/control/views/user.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-02-14 13:27:24 +01:00