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
ad33785f4c
API: Allow to set seating_allow_blocked_seats_for_channel (Z#23159519) ( #4333 )
2024-07-30 16:28:08 +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
Richard Schreiber
22e2143623
API: add api_meta to order
2024-07-18 10:01:03 +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
73038b0d97
Fix enforcement of restricted plugins ( #4286 )
2024-07-03 17:14:03 +02:00
Raphael Michel
e618441231
API: Fix crash expanding variations
2024-07-02 14:44:35 +02:00
Raphael Michel
cd57f1f024
API: Fix creation of embedded variations with explicit sales channels
2024-07-02 09:25:19 +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
877401d8c0
Remove subevent.items ( #4220 )
2024-06-14 14:49:55 +02:00
Raphael Michel
fe54a42fc7
Web checkin: Render special cases of pending state in search (Z#23154934) ( #4193 )
2024-06-04 21:53:30 +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
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
ac02f3b417
API: Fix crash in order creation (PRETIXEU-9XS)
2024-04-10 09:40:35 +02:00
Raphael Michel
a7735d5d9e
API: Allow request_valid_from in the past ( #4048 )
2024-04-03 17:21:25 +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
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
7e60d13910
Fix #3984 -- API: Add phone to customer resource ( #3992 )
...
* Fix #3984 -- API: Add phone to customer resource
* add "phone": None to test
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-03-19 10:17:44 +01:00
Raphael Michel
4694719a53
API: Fix creating free orders requiring approval
2024-03-19 10:10:57 +01:00
Raphael Michel
04ef097eb1
Fix #65 -- Disallow None value for product default prices ( #3847 )
...
* Fix #65 -- Disallow None value for product default prices
* Fix #65 -- Disallow None value for product default prices
* Rebase migration
2024-02-28 16:10:53 +01: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
ea74688633
API: Expose OrderPosition.voucher_budget_use ( #3867 )
2024-02-14 13:27:30 +01:00
Mira
22f91f7aa2
Improve UI to configure unavailable items handling (Z#23131828) ( #3739 )
...
* start impl of unavailability modes ui
* add db migration
* use new widget for more fields
* improve contrast
* use new widget for hide_without_voucher field
* improved wording
* rebase migration
* undo changes to require_membership_hidden
* code formatting
* move unavail_reason logic around
* enforce consistent state of hide_without_voucher / require_voucher
* annotate unavailability info in get_grouped_items
* remove MSIE6 compat
* add unavailability reasons to widget
* remove test output
* Apply suggestions from code review
text improvements
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* add css fix for jumping items due to tooltip
* dynamically retrieve unavailability reason message
* widget: simplify logic conditions
* add available_{from,until}_mode to api and api docs
* rebase migration
* rebase migration
* add unavailable_*_mode to ItemVariation
* add available_*_mode to API docs for items
* fix wrong reference
* fix test cases
* add available_*_mode to item variation form
* apply unavailability modes to subevents and variations (presale)
* /o\
* apply unavailability modes to subevents and variations (widget)
* display unavailability mode in subevent product settings
* fix widget test
* fix api item tests
* copy available_*_mode when copying an item
* Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io >
* Add unavail mode indicator to bulk create and edit forms
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2024-02-06 12:27:19 +01:00
Raphael Michel
eac88b5ef7
Widget: Fix language on first iframe request
2024-01-26 11:44:02 +01:00
Raphael Michel
2354affde7
API: Fix CSRF support for session-based usage
2024-01-26 11:20:56 +01:00
Raphael Michel
4fb49820af
Add upper limit on positions in an order ( #3806 )
...
* Add upper limit on positions in an order
* Fix form validation
2024-01-19 18:14:45 +01:00
Raphael Michel
94cbb19db0
Stripe: Convert all payment methods to intents except multibanco ( #3780 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2024-01-12 10:23:00 +01:00
Raphael Michel
7f0ed374b5
API: Support expires attribute during order creation
2023-12-19 11:26:42 +01:00
Raphael Michel
7f948bf263
Refunds in state "done" should always have an execution date
2023-12-12 14:20:59 +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
d7aa94d6ae
Add public filters based on meta data ( #3673 )
...
* Add public filters based on meta data
* Fix licenseheaders
* ignore empty values
* Fix tests
* Full non-widget implementation
* Widget support
* Add a few tests
* Allow to reorder properties
* Fix isort
* Allow to opt-out for specific events
* Fix name clash between new and old field to make migration feasible
2023-11-10 12:10:01 +01:00
Raphael Michel
3af2342d7b
Replace Item.hidden_if_available with relationship to other Item ( #3686 )
...
* draft
* Implementation that is closer to old one
* Fix tests
* Add tests
* Update src/pretix/control/forms/item.py
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* Review notes
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-11-06 13:26:32 +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
000c64755d
Free price: Allow to suggest a different price than the minimum ( #3666 )
...
* Free price: Allow to suggest a different price than the minimum
* Full implementation
* Widget tests
* Add min values to titles
2023-10-27 13:36:01 +02:00
Raphael Michel
a0831890ad
Check-in: New flags for check-in lists ( #3577 )
2023-10-23 15:52:06 +02:00
Raphael Michel
215a2f2dbb
API: Fix bulk voucher creation with server-generated codes
2023-10-15 16:16:32 +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
447370d7b3
API: Fix subevent_before/after on organizer-level order view
2023-09-06 09:38:42 +02:00
Raphael Michel
53e84dfb08
API: Fix validation of duplicate customer email addresses
2023-08-30 16:57:15 +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
5b819b76f0
Check-in: Fix N+1 query issue identified by sentry
2023-08-28 16:54:09 +02:00
Raphael Michel
5d90a42acf
Discounts: Allow "buy X to get Y" with different product sets for X and Y ( #3543 )
2023-08-28 16:21:52 +02:00
Phin Wolkwitz
4baf317934
Automated emails: Extend filter by check-in state ( #3489 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2023-08-23 16:19:27 +02:00
Raphael Michel
37df7a6313
Allow PDF variables to provide a bulk evaluation method (second try at #3517 ) ( #3535 )
2023-08-21 17:59:55 +02:00