Improve product list UI (allow move between categories, more useful columns and links)
and hide "move up/down" arrows in lists by default if drag-drop is available
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>
* Generalize import process from orders to more models
* Add voucher import
* Model import: Guess assignments of based on column headers
* Fix lock_seats being pointless
* Update docs
* Update doc/development/api/import.rst
Co-authored-by: Richard Schreiber <schreiber@rami.io>
* Update src/pretix/base/modelimport_vouchers.py
Co-authored-by: Richard Schreiber <schreiber@rami.io>
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io>
* 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
* Allow to bulk-select many tickets to check in or out
* Update tests
* Add permission test
* Update src/pretix/control/templates/pretixcontrol/checkin/index.html
Co-authored-by: Richard Schreiber <wiffbi@gmail.com>
* Update src/pretix/static/pretixbase/js/asynctask.js
Co-authored-by: Richard Schreiber <wiffbi@gmail.com>
* Remove console.warn
* Simplify stuff
* minor refactor
* fix missing checked-out success message
Co-authored-by: Richard Schreiber <wiffbi@gmail.com>
Co-authored-by: Richard Schreiber <schreiber@rami.io>
* add drag and drop to categories
* add drag and drop to products
* add light grey background to dragged element
* add missing th, add sr-only desc of columns
* group up/down/move elements
* improve visualizing drag-area by dimming others
* change up/down-links to buttons in form-post
* limit sorting to POST requests
Co-authored-by: Raphael Michel <michel@rami.io>