Martin Gross
39e5711e95
API/Organizer: Allow Device-Token access to Organizer settings; expose mf0aes_random_uid ( #5326 )
2025-09-26 14:41:11 +02:00
Raphael Michel
05c74b7ad6
Pluggable invoice transmission methods ( #5020 )
...
* Flexible invoice transmission
* UI work
* Add peppol and output
* API support
* Profile integration
* Simplify form for individuals
* Remove sent_to_customer usage
* more steps
* Revert "Bank transfer: Allow to send the invoice direclty to the accounting department (#2975 )"
This reverts commit cea6c340be .
* minor fixes
* Fixes after rebase
* update stati
* Backend view
* Transmit and show status
* status, retransmission
* API retransmission
* More fields
* API docs
* Plugin docs
* Update migration
* Add missing license headers
* Remove dead code, fix current tests
* Run isort
* Update regex
* Rebase migration
* Fix migration
* Add tests, fix bugs
* Rebase migration
* Apply suggestion from @luelista
Co-authored-by: luelista <weller@rami.io >
* Apply suggestion from @luelista
Co-authored-by: luelista <weller@rami.io >
* Apply suggestion from @luelista
Co-authored-by: luelista <weller@rami.io >
* Apply suggestion from @luelista
Co-authored-by: luelista <weller@rami.io >
* Apply suggestion from @luelista
Co-authored-by: luelista <weller@rami.io >
* Make migration reversible
* Add TransmissionType.enforce_transmission
* Fix registries API usage after rebase
* Remove code I forgot to delete
* Update transmission status display depending on type
* Add testmode_supported
* Update src/pretix/static/pretixbase/js/addressform.js
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/static/pretixbase/js/addressform.js
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/static/pretixbase/js/addressform.js
Co-authored-by: luelista <weller@rami.io >
* New mechanism for non-required invoice forms
* Update src/pretix/base/invoicing/transmission.py
Co-authored-by: luelista <weller@rami.io >
* Declare testmode_supported for email
* Make transmission_email_other an implementation detail
* Fix failing tests and add new ones
* Update src/pretix/base/services/invoices.py
Co-authored-by: luelista <weller@rami.io >
* Add emails to email history
* Fix comma error
* More generic default email text
* Cleanup
* Remove "email invoices" button and refine logic
* Rebase migration
* Fix edge case
---------
Co-authored-by: luelista <weller@rami.io >
2025-08-19 17:59:45 +02:00
Raphael Michel
a51a6123f5
Organizer-level plugins ( #5305 )
...
* Add version notes to the docs
* Adapt signal handling
* Add UI
* Add API
* API and tests
* Fix registry
* Update doc/development/api/plugins.rst
Co-authored-by: Felix Rindt <felix@rindt.me >
* Fix failing tests
* Apply suggestions from code review
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Update src/pretix/control/templates/pretixcontrol/organizers/plugin_events.html
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/control/templates/pretixcontrol/organizers/plugins.html
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/control/templates/pretixcontrol/organizers/plugins.html
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/control/navigation.py
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/control/urls.py
Co-authored-by: luelista <weller@rami.io >
* Apply suggestion from @wiffbi
* REbase migration
* Fix review note
* Fix test cases
* Remove plugin from all events if disabled on org level
* Update doc/development/api/plugins.rst
* Unify registries
* Rebase migration
---------
Co-authored-by: Felix Rindt <felix@rindt.me >
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: luelista <weller@rami.io >
2025-08-19 11:33:34 +02:00
Luca Sorace "Stranck
69e50d35a7
API: Make case insensitive boolean query params ( #5382 )
2025-08-18 11:17:05 +02:00
Luca Sorace "Stranck
d14f7fb108
Orders API: Add check_quotas to orders/change and PATCH/POST orderpositions query params ( #5323 )
...
* Orders API: Add check_quotas to orders/change and PATCH/POST orderpositions query params
* Refs #5323 : Checkstyle fix
Forgot tu run fkale8 after implementing unit tests oops
* Refs #5323 : Fix unit tests and fix of the previous ones
* Refs #5323 : PR review
2025-08-13 16:15:05 +02:00
Raphael Michel
067e11c265
Allow to annul a check-in ( #5303 )
...
* Allow to annul a check-in
* Fix locking
* Update doc/api/resources/checkin.rst
Co-authored-by: Phin Wolkwitz <wolkwitz@rami.io >
---------
Co-authored-by: Phin Wolkwitz <wolkwitz@rami.io >
2025-08-08 09:22:19 +02:00
Raphael Michel
a381adac33
API: Add transactions ( #5292 )
...
* API: Add transactions
* Apply suggestions from code review
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-07-08 14:11:53 +02:00
Raphael Michel
14ed6982a5
New data model for default tax rule and new options for cancellation fees ( #4962 )
...
* New data model for default tax rule
* Remove misleading empty label when field is not optional
* Allow to split cancellation fee
* Fix API and tests
* Update migration
* Update src/tests/api/test_taxrules.py
Co-authored-by: luelista <weller@rami.io >
* Update src/tests/api/test_taxrules.py
Co-authored-by: luelista <weller@rami.io >
* Review note
* Update src/pretix/base/models/tax.py
Co-authored-by: luelista <weller@rami.io >
* Flip API behaviour for default
* Fix failing tests
* Fix failing test
* Split migration
---------
Co-authored-by: luelista <weller@rami.io >
2025-06-30 16:47:09 +02:00
Raphael Michel
7d30ecf527
API: Add items__in filter for quotas (Z#23195926) ( #5232 )
...
* API: Add items__in filter for quotas (Z#23195926)
* Update doc/api/resources/quotas.rst
Co-authored-by: Richard Schreiber <schreiber@rami.io >
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-06-12 12:24:45 +02:00
Raphael Michel
025ee6710c
Fix #4982 -- API: Do not parse decimal input to float ( #5012 )
2025-04-22 17:36:04 +02:00
Raphael Michel
804b048dbb
Check-in API: Return order locale, and allow to use order locale for … ( #4969 )
...
* Check-in API: Return order locale, and allow to use order locale for reasons
* Fix failing tests
2025-03-31 12:26:46 +02:00
Raphael Michel
5138e86cf1
Order search: Keep searching in canceled positions (Z#23187097) ( #4963 )
2025-03-31 12:14:00 +02:00
Mira
9ca0e41c5f
Do not match failed offline checkins to order positions from another event (Z#23181592) ( #4932 )
2025-03-19 09:49:51 +01:00
Raphael Michel
11632e082f
API: Allow to add a fee to an order ( #4806 ) ( #4829 )
...
* API: Allow to add a fee to an order (#4806 )
* Fix example in docs
* Consistent order of examples
* Add create_fees to example
* docs: None -> null
* docs: update fee_type options
---------
Co-authored-by: Mira Weller <weller@rami.io >
2025-02-25 14:41:28 +01:00
Raphael Michel
4b1bc39617
API: Fix crash on invalid input (PRETIXEU-B7Q) ( #4837 )
2025-02-12 12:51:17 +01:00
Raphael Michel
5cf2f1beef
New invoice generation setting: User request but paid only ( #4740 )
2025-01-14 13:54:25 +01:00
Martin Gross
28e26284a6
API: Return order-information on availability-endpoint, even if quota is unlimited
2025-01-07 17:25:39 +01:00
Raphael Michel
595c042624
Regenerate OrderPosition.web_secret when chaning other secrets
2025-01-03 15:21:45 +01:00
Raphael Michel
6422cd7858
API: Fix format of price calculation
2024-12-13 16:17:24 +01:00
Raphael Michel
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
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
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
9fcef2dcaa
API: Fix deleting checkin-lists (Z#23170525) (PRETIXEU-AS5) ( #4600 )
2024-10-31 17:44:04 +01:00
Raphael Michel
ee2bc93608
Fix handling of device_info_updated signal
2024-10-29 11:30:35 +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
Mira
401218b0a3
API: Allow filtering subevents by is_public ( #4544 )
2024-10-23 16:42:22 +02:00
Raphael Michel
19175258fd
API: Fix event cloning, limit_sales_channels should never be set when all_sales_channels is set (Z#23169537)
2024-10-23 16:30:00 +02:00
George Hickman
9dc38e42d8
Add device_changed signal ( #4412 )
...
This provides both the original and updated version of the Device so
subscribers can see the changes.
2024-10-11 11:08:23 +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
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
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
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
Raphael Michel
9e61f7f978
API: Fix admin permission issue in subevent endpoint
2024-07-18 09:44:30 +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
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
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
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
9d57ea8534
API: Do not write log entry for events when no changes are made ( #4090 )
2024-04-26 13:56:46 +02:00
Raphael Michel
cda8144ff0
Enforce uniqueness of order codes and ticket secrets ( #3988 )
...
* Enforce uniqueness of order codes and ticket secrets
* Fix test cases which created orders with identical codes
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-04-02 11:07:40 +02:00
Raphael Michel
fa4c29cf23
Check-in: Fix crash on medium scan that is mapped to wrong event (PRETIXEU-9P0)
2024-02-15 14:46:24 +01:00
Raphael Michel
f5e3d4b0bc
API: Fix logging of event deletion
2024-02-09 17:27:08 +01:00
Martin Gross
fed5097708
CheckIn: Only run check_rules_qs conditionally on provided boolean
2024-02-05 14:01:42 +01:00
Raphael Michel
b7f0c3cc6c
Fix cookie detection
2024-01-25 10:35:26 +01:00
Michael Stapelberg
c5ede32649
API: Prefetch customer in order list view ( #3768 )
...
Before this change, each order row needed an additional database query just to
resolve the customer id (integer) to customer identifier (string).
With this change, django does a database JOIN.
2023-12-11 13:02:40 +01:00
Raphael Michel
d6d6b73a38
API: Fix cloning events with meta data (PRETIXEU-9FZ)
2023-12-05 12:57:14 +01:00
Raphael Michel
8a3b313cb6
Check-in: Show more information ( #3576 )
...
* Check-in: Show more information
* Add change notes
* Rebase migration
* Add "expand" option to checkinrpc
* REmove accidental file
* Docs fixes
* REbase migration
* Rebase migration
* Fix typo
* REbase migration
* Make web-checkin look more like new android checkin
2023-11-28 14:52:12 +01:00
Raphael Michel
0f709c2275
Device API: Fix RSA encryption crash (PRETIXEU-8Y2)
2023-10-31 10:23:14 +01:00