Allows organizers to test their shop as if it were a different date and time.
Implemented using a time_machine_now() function which is used instead of regular now(), which can overlay the real date time with a value from a ContextVar, assigned from a session value in EventMiddleware.
For more information, see doc/development/implementation/timemachine.rst
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io>
Co-authored-by: Raphael Michel <michel@rami.io>
* Move collapse indicator in panels before label
* only hide collapse indicator in panel titles
* remove unneeded collapse-indicators in pretix-control
* remove unneeded collapse-indicators in presale
* move collapse-indicator to left in variants-toggle-button
* remove chevron and use default collapse-indicator in control-variants
* Bank transfer: Discourage payments befor an order code exists
* Update src/pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/checkout_payment_form.html
Co-authored-by: Mira <weller@rami.io>
---------
Co-authored-by: Mira <weller@rami.io>
When a customized checkout_success_text is used, that has other elements than `<p>`, the alignment was off. This fixes the alignment for all types of elements, that are a direct child of the thank-you-element `.thank-you > *`.
* hide icons for calendar-types and improve layout-breakpoints in calendar top-nav
* change month-selector to one dropdown "date"and redirect old URLs to new date-based URLs
* change week calendar to one dropdown "date“ and redirect old URLs to new date-based URLs
* Fix caching issues in SASS compilation
* Allow to set a custom page background color
* Allow to disable round corners
* Support larger header pictures
* Allow to show title despite header
* Move language picker
* FIx widget styles
* TicketOutput-Providers: Make preview optional; download/attachable optional; optional specific target; update doc
* Spelling fixes in doc
* Changes after code-review
* Changes after code-review
* Commit missing template file
* Allow for redirects instead of files
* Return HTTPResponse with Content-Type text/uri-list on API
* Update API-doc
* Add viewable to spellinglist, fixing doc-test
* Stripe SCA
- Upgrade to latest Stripe API
- Deprecate Stripe Checkout for CC
- Migrate CC payments to Payment Intents
* Move SCA to its own view
* Handle CardErrors for PaymentIntents
* Abilty to handle charge webhooks with PaymentIntents
* Better handling of Stripe References
* Fix Stripe Tests
* Move SCA page into orderlayout; perform iFrame SCA
* Handle disputes and pi-webhooks better, fill more into ReferencedStripeObject
* Optionally pass prefetched PaymentIntent to handle-func
* Fix style
* Send message to window.parent not window.top (widget compatibility)
* More accurate loading message
* Show a cog on sca_return.html. On a good internet connection, you barely see it, but on a bad one…
* Robust error handling
* If it's a method and used like a method, let's actually call it like a method!
* Remove logging statement
* Fix JavaScript interference with other frame events
* Use 4:3 aspect ratio, but at least 600px
* Adjust to django_scopes
- [x] Provide data model and configuration toggle
- [x] Allow to delete individual test orders
- [x] Add tests
- [x] Add a prominent warning message to the backend if test mode orders exist (even though test mode is off), as this leads to wrong statistics
- [x] Decide if and how to generate invoices for test orders as invoice numbers cannot be repeated or should not have gaps.
- [x] Decide if and how we expose test orders through the API, since our difference pull mechanism relies on the fact that orders cannot be deleted.
- [x] Decide if and how we want to couple test modes of payment providers?
- [ ] pretix.eu: Ignore test orders for billing
- [ ] Adjust payment providers: Mollie, bitpay, cash, fakepayment, sepadebit
