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 f32b532cc6 .
* 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
Raphael Michel
3b64e6046c
API: Add endpoints for scheduled exports ( #3659 )
...
* API: Add endpoints for scheduled exports
* ADd note to docs
2023-10-27 17:15:53 +02:00
Raphael Michel
4587fed81b
API: Allow to filter orders by customer
2023-10-25 13:24:26 +02:00
Raphael Michel
9299ac5813
API: Fix N+1 query in gift card list
2023-10-17 14:55:42 +02:00
Raphael Michel
7545e92373
[SECURITY] Do not allow Pillow to parse EPS files
2023-09-12 11:50:01 +02:00
Raphael Michel
eb04fdf4d2
Check-in rules: New variables ( #3521 )
2023-09-12 09:43:57 +02:00
Raphael Michel
c842ea597c
New locking mechanism ( #2408 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-09-11 11:44:50 +02:00
robbi5
231e05f967
API: Add parent event slug to subevent list search ( #3567 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2023-09-06 10:10:04 +02:00
Raphael Michel
b43523ea65
API: Fix order and invoice viewset with staff permissions
2023-09-06 09:38:42 +02:00
Raphael Michel
447370d7b3
API: Fix subevent_before/after on organizer-level order view
2023-09-06 09:38:42 +02:00
Raphael Michel
2e8447486c
Improve edge cases in handling of check-in nonces ( #3516 )
2023-08-30 10:43:24 +02:00
Raphael Michel
8d2224e725
API: Allow organizer-level access of orders and invoices ( #3547 )
2023-08-28 16:54:42 +02:00
Raphael Michel
f7d4460deb
Fix N+1 query issues detected by Sentry
2023-08-26 16:24:03 +02:00
Raphael Michel
721e7549bc
Remove forgotten debug statement
2023-08-09 10:34:24 +02:00
Raphael Michel
52023cde09
Reusable Media: Mifare Ultralight AES support ( #3335 )
2023-07-21 13:45:42 +02:00
Raphael Michel
8e9d0fb723
API: Order position search, add invoice company
2023-07-17 09:37:20 +02:00
robbi5
db7c52ca93
Add OS name and version to stored device information ( #3434 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2023-06-28 09:02:07 +02:00
Raphael Michel
b51ca58820
Add BaseExporter.available_for_user()
2023-06-16 17:35:36 +02:00
Raphael Michel
f8be8296dd
Gift cards: Improved support for cross-organizer acceptance ( #3311 )
...
Co-authored-by: Martin Gross <martin@pc-coholic.de >
2023-06-15 14:17:40 +02:00
Raphael Michel
002416e435
Add check-in simulator ( #3380 )
2023-06-13 14:57:24 +02:00
Raphael Michel
635bb94cc4
API: Add date range filters for events and subevents
2023-06-09 15:20:53 +02:00
Richard Schreiber
74e9a4ad2d
API: add log_action/webhook for confirmed payments ( #3395 )
2023-06-09 09:29:32 +02:00
Raphael Michel
bd32b33ba9
Bump Django to 4.1.* ( #2989 )
2023-06-05 09:56:31 +02:00
Raphael Michel
35350a13d6
Fix #3360 -- Allow to revoke devices before initialized
2023-06-04 18:06:00 +02:00
Phin Wolkwitz
b3298c91c3
Event settings: Extend product metadata (Z#23116647) ( #3241 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2023-05-26 14:09:41 +02:00
Raphael Michel
02b42bd7ab
Check-in: Fix checking in products with add-ons through their medium
2023-05-19 09:28:19 +02:00
Raphael Michel
c0419518c3
GiftCard: Add more information to transactions ( #3308 )
2023-05-12 09:38:35 +02:00