Raphael Michel
50f9cfd402
Widget: Keep language in no-cookie-flow
2023-02-17 09:58:47 +01:00
Richard Schreiber
a7f9e100d2
Clean up localization or error messages in cart ( #3049 )
2023-01-30 17:24:09 +01:00
Raphael Michel
60554dad9a
Remove usage of deprecated Django APIs
2022-12-17 16:26:24 +01:00
Raphael Michel
7b58ddbfde
Don't use Django's redirect() for user-supplied paths
2022-11-17 11:46:03 +01:00
Raphael Michel
e32e7e2a50
Add clever handling of plus button in cart with voucher ( #2893 )
2022-11-14 16:55:39 +01:00
Raphael Michel
489ad87ad6
Fix rare crash in cart ID creation (PRETIXEU-78E)
2022-09-12 12:57:58 +02:00
Raphael Michel
6b7a2e1981
Fix flake8 issue
2022-04-12 11:27:00 +02:00
Richard Schreiber
d19cb14dc1
Voucher redemption: Raise 404 error if subevent_pk is not an integer ( #2590 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2022-04-12 11:12:06 +02:00
Raphael Michel
5210ac3a78
Reduce confusion about customer login with event level domains ( #2380 )
2021-12-15 16:47:08 +01:00
Raphael Michel
b355733f53
Allow to link directly to voucher input form
2021-12-06 18:09:38 +01:00
Raphael Michel
dd0a4df914
Fix error 500 on non-ASCII attachment file names
2021-11-09 11:55:03 +01:00
Richard Schreiber
3dcfa57b70
A11y improvements ( #2081 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
2021-10-17 16:56:16 +02:00
Raphael Michel
0f47bff5cd
Allow to hide products that require membership ( #2240 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2021-10-07 10:11:31 +02:00
Raphael Michel
1844a1fe6d
Fix isort issue
2021-04-18 15:08:12 +02:00
Raphael Michel
95d19dc656
Show collapsed cart on voucher redemption page
2021-04-17 13:46:45 +02:00
Raphael Michel
a93287207b
pretix Community Edition moves to AGPLv3-based license ( #2023 )
2021-04-12 10:33:47 +02:00
Raphael Michel
bbcb41da2b
Cart action views: Improve input validation
2021-03-31 10:38:10 +02:00
Raphael Michel
2b660ccbf7
Allow to enter a voucher before choosing a subevent
2021-03-29 11:04:57 +02:00
Raphael Michel
7a8f90478a
CartAdd with subevents: Useful redirect in error case
2021-01-20 17:26:47 +01:00
Martin Gross
b3e95f54dd
Add option to limit events to specific sales channels ( #1867 )
2020-12-03 17:10:54 +01:00
Raphael Michel
ba4eff5545
Fix cart ID handling issue in widget if cart/add takes longer than one request
2020-10-31 16:22:38 +01:00
Raphael Michel
d999971249
Allow to disable self-choice seating
2020-09-06 17:25:47 +02:00
Raphael Michel
e10e3300ba
Fix ineffective translation of string
2020-07-12 11:01:15 +02:00
Raphael Michel
7d41922274
Minor improvemnet to widget views
2020-06-07 12:07:03 +02:00
Raphael Michel
4e59b02bb1
Re-label cart button if cart is not visible or all products are free
2020-04-20 19:05:21 +02:00
Raphael Michel
af23d6e4bf
Upgrade to Django 3.0 and other dependencies ( #1568 )
...
* Upgrade Django to 3.0 and other dependencies to recent versions
* Fix otp version contsraint
* Remove six dependency
* Resolve some warnings
* Fix failing tests
* Update django-countries
* Resolve all RemovedInDjango31Warnings in test suite
* Run isort
* Fix import
* Update PostgreSQL version on travis
2020-03-23 15:02:20 +01:00
Raphael Michel
7d6b3e7140
Set sales channel on all cart operations
2019-12-12 10:06:00 +01:00
Raphael Michel
99f3db04a9
Allow to redeem a voucher for an existing cart ( #1517 )
...
* Allow to redeem a voucher for an existing cart
* Bundle behaviour
2019-12-11 15:58:22 +01:00
Raphael Michel
49b73fc096
Fix redemption of all-product vouchers with seating plans
2019-12-11 12:06:23 +01:00
Martin Gross
2b18621c76
Add flag testmode_supported to sales channels ( #1455 )
...
* Add testmode-support-flag to SalesChannels
* Make saleschannels/testmode-warnings even more dangerous!
* Add warning for payment-methods that do support testmode but are being used in a non-testmode order caused by a saleschannel in a testmode-shop.
* Remove redundant testmode_supported-flag for WebshopSalesChannel
* Raise error on API when sales_channel does not support testmode
* Tests
* Fix style issue after merge
2019-10-21 10:07:02 +02:00
Raphael Michel
e97ae04581
Helpful error messages
2019-10-17 16:04:22 +02:00
Raphael Michel
93089d87e3
Add support for reserved seating ( #1228 )
...
* Initial work on seating
* Add seat guids
* Add product_list_top
* CartAdd: Ignore item when a seat is passed
* Cart display
* product_list_top → render_seating_plan
* Render seating plan in voucher redemption
* Fix failing tests
* Add tests for extending cart positions with seats
* Add subevent_forms to docs
* Update schema, migrations
* Dealing with expired orders
* steps to order change
* Change order positions
* Allow to add seats
* tests for ocm
* Fix things after rebase
* Seating plans API
* Add more tests for cart behaviour
* Widget support
* Adjust widget tests
* Re-enable CSP
* Update schema
* Api: position.seat
* Add guid to word list
* API: (sub)event.seating_plan
* Vali fixes
* Fix api
* Fix reference in test
* Fix test for real
2019-06-25 11:00:03 +02:00
Raphael Michel
4b65b94bd5
Disable scopes for all unique ID generation
2019-06-17 14:05:05 +02:00
Raphael Michel
d85ddb5bda
Integrate django-scopes ( #1319 )
...
* Install django-scopes
* Fix tests.api
* Update tasks and cronjobs
* Fix remaining tests
* Remove unused import
* Fix tests after rebase
* Disable scopes for get_Events_with_any_permission
* Disable scopes for a management command
2019-06-17 10:46:55 +02:00
Raphael Michel
abd237b969
Checkout redirection: Respect cart_namespace
2019-04-03 13:12:49 +02:00
Raphael Michel
3415fd947a
Hotfix: Redirect with a /
2019-03-27 17:46:14 +01:00
Raphael Michel
a70a42c273
Hotfix: Do not use absolute URLs
2019-03-27 17:02:22 +01:00
Raphael Michel
697cdfd5c9
Allow to redirect to checkout directly after adding a product to the cart
2019-03-27 16:45:15 +01:00
Raphael Michel
c4b18a4c81
Force widget data to be a dictionary
2019-03-22 12:16:20 +01:00
Raphael Michel
b4290384e1
Add sales channels ( #1103 )
...
- [x] Data model
- [x] Enforce constraint
- [x] Filter order list
- [x] Set channel on created order
- [x] Products API
- [x] Order API
- [x] Tests
- [x] Filter reports
- [x] Resellers
- [ ] deploy plugins
- [ ] posbackend
- [ ] resellers
- [ ] reports
- [x] Ticketlayouts
- [x] Support in pretixPOS
2018-11-23 15:35:09 +01:00
Raphael Michel
beb0ded6dc
Allow to pass user data to the widget ( #1095 )
...
- [x] Logic
- [x] Tests
- [x] Docs
- [x] find a way to integrate with tracking
2018-11-20 17:55:37 +01:00
Raphael Michel
81de9695e2
Add a more specific message on locked vouchers
2018-09-10 17:54:54 +02:00
Raphael Michel
74491d16ae
Fix a resolver error
2018-09-02 19:54:36 +02:00
Raphael Michel
6a4a8af731
Improve cookie detection and handling
2018-09-02 15:25:33 +02:00
Felix Rindt
8183648902
Rename module async to tasks ( #994 )
...
Fixes #993
2018-08-21 10:53:40 +02:00
Raphael Michel
dfc7f7c827
Widget: Pass cart IDs around in some more places
2018-08-16 18:40:21 +02:00
Raphael Michel
afd766999c
Upgrade to Django 2.1 ( #710 )
...
* Upgrade to Django 2.0
* more models
* i18n foo
* Update setup.py
* Fix Sentry exception PRETIXEU-JC
* Enforce slug uniqueness
* Import sorting
* Upgrade to Django 2.1
* Travis config
* Try to fix PostgreSQL failure
* Smaller test matrix
* staticfiles→static
* Include request in all authenticate() calls
2018-08-06 12:48:46 +02:00
Raphael Michel
4f83d69205
Remove migration code for legacy session data
2018-04-25 13:23:11 +02:00
Raphael Michel
fd47e2de29
Add more entropy to cart IDs and bind them to session IDs
2018-04-25 08:50:15 +02:00
Raphael Michel
e977045d5f
Clear cart session if all products are removed manually
2018-04-06 10:06:11 +02:00