luelista
7e3f6df945
Document datasync_providers registry ( #5387 )
2025-08-19 12:01:26 +02:00
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
Raphael Michel and luelista
650b4b461f
Voucher: Add creation date (Z#23202621) ( #5359 )
...
* Voucher: Add creation date (Z#23202621)
* Migration fix
* Update doc/api/resources/vouchers.rst
Co-authored-by: luelista <weller@rami.io >
* Update src/pretix/base/migrations/0285_voucher_created.py
Co-authored-by: luelista <weller@rami.io >
---------
Co-authored-by: luelista <weller@rami.io >
2025-08-18 10:56:53 +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 and Phin Wolkwitz
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
luelista and Raphael Michel
d5bccf8726
Queueing and mapping utilities for outbound data sync ( #4881 )
...
Add a registry for datasync providers and an associated sync queue, to be used by
plugins that transfer data from pretix orders to external systems.
Additionally, provide a generic data mapping interface to be used in settings pages
of such plugins, to let users configure which information from pretix to fill into
which data fields of the external system.
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2025-08-06 14:34:04 +02:00
Martin Gross and Richard Schreiber
e1756a1ebb
API/Vouchers: Expose "budget" and "budget_used" (Z#286557) ( #5325 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-07-28 18:53:15 +02:00
Martin Gross
f5b0454e9f
API/Quotas: Expose "ignore_for_event_availability" (Z#23202218) ( #5324 )
2025-07-28 18:22:39 +02:00
Raphael Michel
3ddf759a1b
Helper and docs for offlinesales API ( #5302 )
2025-07-17 17:01:23 +02:00
Raphael Michel
614a086227
Add API change from pretix-exhibitors (Z#23198169) ( #5289 )
2025-07-17 16:53:26 +02:00
luelista
38be6d13da
Update setup.rst ( #5283 )
2025-07-17 11:21:09 +02:00
Raphael Michel and Richard Schreiber
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 and luelista
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
eba5c1b36d
API: Fix crash on distributing a fee over tax rates with zero value (Z#23196669) ( #5226 )
2025-06-12 14:03:25 +02:00
Raphael Michel and Richard Schreiber
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
2359307462
Remove replaced docs
2025-06-12 10:54:28 +02:00
Raphael Michel
c53fc8df4e
Developer docs: Remove some ancient history ( #5224 )
2025-06-10 12:20:41 +02:00
Martin Gross
94671f6f70
Docs/Certificates: Fix download-path in API-call sample (Z#23189733)
2025-04-22 10:49:45 +02:00
luelista
277a5bffa8
Allow changing ticket secret via API (Z#23188201) ( #4989 )
2025-04-07 13:49:19 +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
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
luelista
5375e22781
Add search and links to plugin settings ( #4854 )
...
* Show links to plugin views and settings in plugin list and in success message after activating a plugin
* Fix menu highlighting in payment provider settings
* Specify settings_links and navigation_links for built-in plugins
* Add link to payment plugins from payment settings
* Add client-side search and "View only active plugins" for plugins page
2025-03-24 15:04:35 +01:00
Raphael Michel and Mira Weller
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
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
Raphael Michel
2f2551cc71
Prepare for new docs, remove user docs as they move to own repo ( #4819 )
2025-02-14 14:05:19 +01:00
Raphael Michel and Richard Schreiber
0079be68d3
Allow plugins to add data to the order API (Z#23179688) ( #4822 )
...
* Allow plugins to add data to the order API (Z#23179688)
* Update src/pretix/api/serializers/media.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Fix failing test
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2025-02-10 14:06:20 +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
b847612e1a
Implement hidden_if_item_available_mode option (Z#23177008) ( #4776 )
2025-01-24 11:24:50 +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
Richard Schreiber
c25d6988a7
Widget: add option to always show event info
2025-01-16 11:54:24 +01:00
Nicolas Thumann
6846348a7f
Fix typo ( #4748 )
2025-01-14 19:49:23 +01:00
Raphael Michel
595c042624
Regenerate OrderPosition.web_secret when chaning other secrets
2025-01-03 15:21:45 +01:00
Raphael Michel
db614d36e6
Block access to manifests in default nginx configurations
2024-12-15 11:59:11 +01:00
Raphael Michel and Mira
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 and Richard Schreiber
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
7dd455ce15
Fix #4641 -- Make usage of argon2id optional ( #4643 )
2024-11-26 17:31:27 +01:00
Mira
4b8416df8f
docs: update nginx config example ( #4640 )
2024-11-19 09:28:01 +01:00
Raphael Michel
d2a364e848
Docs: Fix documentation of invoice API
2024-11-18 17:08:51 +01:00
Raphael Michel and robbi5
a5c39271dd
Make API security profiles pluggable ( #4597 )
...
* Make API security profiles pluggable
* Update src/pretix/api/signals.py
Co-authored-by: robbi5 <richt@rami.io >
* REmove dead class
---------
Co-authored-by: robbi5 <richt@rami.io >
2024-11-11 17:13:53 +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 and robbi5
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
Mira
d97c983b6f
Fix API serializer for auto_checkin_rules to accept sales channel identifiers (Z#23170095) ( #4579 )
...
* Fix API serializer for auto_checkin_rules to accept sales channel identifiers instead of PKs
* False -> false in json
2024-10-29 09:14:22 +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
5795aa6492
Docs: Fix various sphinx warnings
2024-10-25 21:58:14 +02:00
Mira
401218b0a3
API: Allow filtering subevents by is_public ( #4544 )
2024-10-23 16:42:22 +02:00
Raphael Michel and Mira Weller
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
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