Mira Weller
95cd0d5e38
Squashed commit of the following:
...
commit 2177bebf6a
Merge: ea613bf271 d08216d8c5
Author: Mira Weller <weller@rami.io >
Date: Fri Aug 7 21:22:31 2026 +0200
Merge branch 'master' into questions-vue3
commit ea613bf271
Author: Mira Weller <weller@rami.io >
Date: Fri Aug 7 21:21:35 2026 +0200
wip
commit c8bed5e3b9
Author: Mira Weller <weller@rami.io >
Date: Fri Aug 7 10:15:00 2026 +0200
rename get_cart to get_cart_positions (keep old name alive)
commit 1ec27fff05
Author: Mira Weller <weller@rami.io >
Date: Fri Aug 7 10:01:38 2026 +0200
filter questionnaires by sales channel
commit 0294f205d0
Author: Mira Weller <weller@rami.io >
Date: Thu Aug 6 20:06:05 2026 +0200
refactor: extract build_requested_valid_from_field method
commit 3424aacdc3
Author: Mira Weller <weller@rami.io >
Date: Thu Aug 6 20:05:44 2026 +0200
rename presale question forms and mixins
commit 4012889076
Author: Mira Weller <weller@rami.io >
Date: Thu Aug 6 19:42:29 2026 +0200
rebase migration
commit fe15d71cd2
Merge: 3ea7ea31b6 4d9dfa88fe
Author: Mira Weller <weller@rami.io >
Date: Thu Aug 6 19:25:44 2026 +0200
Merge branch 'master' into questions-vue3
# Conflicts:
# src/pretix/base/forms/questions.py
# src/pretix/base/middleware.py
# src/pretix/base/templates/pretixbase/redirect.html
commit 3ea7ea31b6
Author: Mira Weller <weller@rami.io >
Date: Fri Jul 24 17:37:46 2026 +0200
wip
commit 5b34a25fb5
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 16:21:11 2026 +0200
use questionnaire data for rendering checkout questions step
commit 9467f1d08d
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 15:54:14 2026 +0200
refactor: extract build_system_question_field method
commit 85344a7690
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 15:50:41 2026 +0200
refactor: extract build_user_question_field method
commit 3b47f4aaa7
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 15:49:34 2026 +0200
refactor: cartpos / orderpos
commit 0309b05121
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 13:52:18 2026 +0100
vite config: allow cors access from pretix.work subdomains
commit ad092ae0d1
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:35:33 2026 +0200
re-add vue-slicksort dep
commit 9f42d679cc
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:28:53 2026 +0200
rebase migration
commit 9eae9c6de7
Merge: 84c51e031e 694b915d89
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:24:49 2026 +0200
Merge branch 'master' into questions-vue3
# Conflicts:
# .github/workflows/tests.yml
# .gitignore
# Dockerfile
# package-lock.json
# package.json
# src/pretix/base/management/commands/runserver.py
# src/pretix/base/middleware.py
# src/pretix/base/templatetags/vite.py
# src/pretix/control/forms/global_settings.py
# src/pretix/control/templates/pretixcontrol/checkin/list_edit.html
# src/pretix/control/views/item.py
# src/pretix/presale/views/widget.py
# src/pretix/settings.py
# src/pretix/static/pretixcontrol/js/ui/checkinrules/App.vue
# src/pretix/static/pretixcontrol/js/ui/checkinrules/constants.ts
# src/pretix/static/pretixcontrol/js/ui/checkinrules/django-interop.ts
# src/pretix/static/pretixcontrol/js/ui/checkinrules/lookup-select2.vue
# src/pretix/static/pretixcontrol/js/ui/checkinrules/timefield.vue
# src/pretix/static/pretixcontrol/js/ui/checkinrules/viz-node.vue
# src/pretix/static/pretixpresale/widget/index.html
# src/pretix/static/pretixpresale/widget/src/api.ts
# src/pretix/static/pretixpresale/widget/src/button.ts
# src/pretix/static/pretixpresale/widget/src/components/PriceBox.vue
# src/pretix/static/pretixpresale/widget/src/main.ts
# src/pretix/static/pretixpresale/widget/src/sharedStore.ts
# src/pretix/static/pretixpresale/widget/src/utils.ts
# src/pretix/static/pretixpresale/widget/src/widget.ts
# src/tests/e2e/conftest.py
# vite.config.ts
commit 84c51e031e
Merge: 902ee9242e 222b453b43
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:20:05 2026 +0200
Merge branch 'master' into questions-vue3
commit 902ee9242e
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:19:26 2026 +0200
css comment
commit b758efd4a9
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:19:19 2026 +0200
question dependencies
commit c68fe00502
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:18:00 2026 +0200
add data field edit link
commit b7da9bb6c1
Author: Mira Weller <weller@rami.io >
Date: Wed Jun 17 12:16:20 2026 +0200
handle hidden questions
commit 897120d3da
Author: Mira Weller <weller@rami.io >
Date: Tue May 12 13:04:08 2026 +0200
add ts model definitions
commit 09abc5725e
Author: Mira Weller <weller@rami.io >
Date: Tue May 12 11:30:12 2026 +0200
reorder and save
commit 9a7d5abb1f
Author: Mira Weller <weller@rami.io >
Date: Tue May 12 11:29:37 2026 +0200
fix unhandled exception in taxrules API
commit 3cee5f524b
Author: Mira Weller <weller@rami.io >
Date: Tue May 5 18:12:21 2026 +0200
use slicksort for reordering questionnaires and questions
commit 3a1a6b988e
Author: Mira Weller <weller@rami.io >
Date: Tue Apr 28 19:23:35 2026 +0200
improve i18n, implement "add text block" dialog
commit bdc720f5a2
Author: Mira Weller <weller@rami.io >
Date: Fri Mar 27 18:57:22 2026 +0100
wip
commit 583184af38
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 21:45:32 2026 +0100
change existing views
commit 63d9f7cea8
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 21:45:32 2026 +0100
adapt vue app to new data model (wip)
commit c3d6fb1bd6
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 21:44:47 2026 +0100
add Questionnaire and QuestionnaireChild models and their API; migrate existing data
commit bb43acd257
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 13:52:28 2026 +0100
vite config: add questionnaires app
commit e0744951e8
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 13:52:18 2026 +0100
vite config: allow cors access from pretix.work subdomains
commit fef1e356f7
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 13:33:24 2026 +0100
fix out-of-the-box experience
commit 81775f5d2d
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 13:33:24 2026 +0100
setup questionnaires vue app, add code from question editor proof of concept
commit 4bbcc398cc
Merge: a924d0a266 58840a5fd6
Author: Mira Weller <weller@rami.io >
Date: Thu Mar 19 13:13:32 2026 +0100
Merge remote-tracking branch 'refs/remotes/origin/master' into questions-vue3
2026-08-07 21:49:47 +02:00
abe938795c
Bump postcss from 8.5.15 to 8.5.23 ( #6429 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.5.15 to 8.5.23.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.15...8.5.23 )
---
updated-dependencies:
- dependency-name: postcss
dependency-version: 8.5.23
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-30 15:52:04 +02:00
f471091d77
Bump immutable from 5.1.5 to 5.1.9 ( #6417 )
...
Bumps [immutable](https://github.com/immutable-js/immutable-js ) from 5.1.5 to 5.1.9.
- [Release notes](https://github.com/immutable-js/immutable-js/releases )
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/immutable-js/immutable-js/compare/v5.1.5...v5.1.9 )
---
updated-dependencies:
- dependency-name: immutable
dependency-version: 5.1.9
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 12:18:20 +02:00
9f0ce28ce4
Bump vite from 8.0.12 to 8.0.16 ( #6294 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.0.12 to 8.0.16.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.0.16
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 08:57:41 +02:00
dependabot[bot] and Raphael Michel
867512eee5
Bump picomatch
...
Bumps and [picomatch](https://github.com/micromatch/picomatch ). These dependencies needed to be updated together.
Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: indirect
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-17 16:34:46 +02:00
dependabot[bot] and Raphael Michel
32bd9fa265
Bump vite from 8.0.0 to 8.0.12
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.0.0 to 8.0.12.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.0.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.0.12
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-17 16:32:56 +02:00
dependabot[bot] and Raphael Michel
bdc9b155f9
Bump flatted from 3.3.3 to 3.4.2
...
Bumps [flatted](https://github.com/WebReflection/flatted ) from 3.3.3 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.2 )
---
updated-dependencies:
- dependency-name: flatted
dependency-version: 3.4.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-17 16:32:49 +02:00
dependabot[bot] and Raphael Michel
1af2941594
Bump postcss from 8.5.8 to 8.5.14
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.5.8 to 8.5.14.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.14 )
---
updated-dependencies:
- dependency-name: postcss
dependency-version: 8.5.14
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-17 16:32:45 +02:00
f04df7a6ee
Migrate vue2 control components and widget to vue3 and vite ( #5989 )
...
* setup vite and integrate fully with django
- vite starts with `python manage.py runserver`
- add templatetags to simply load vite hmr and entry points
- add eslint (recheck rules)
- enable non-strict ts
* better syntax for cors header setting
* migrate checkin rules editor to vue3
- move constants to a module
- move reading from and writing to non-vue html to django interop module
- switch to composition api and script setup sfc with pug
- use optional chaining operators a lot to simplify code
* migrate webcheckin plugin to vite+vue3
- migrate vue sfcs to script setup and pug
- move fetch calls into a api.ts module
- move common formatting and i18n strings into module
* fix migration error
* first draft migrating widget to vue3/vite
* first couple widget e2e tests
courtesy of claude
most of the tests don't work yet
* test file is not actually used
* drop widget_ prefix from e2e test fixtures
* add test for complete widget journey for simple event
* switch timezone in e2e tests to Europe/Berlin
* make dates in e2e tests relative
* migrate widget bugfix #5886
* start testing event series widget
* working vite widget setup for prod (untested), local dev (with or without dev server) and pytests, with flags for running the old version or the vite version
* simplify e2e test iframe check
* less flaky e2e tests
* top level await in iife build mode is not supported, so let's do import.meta.glob instead (we just need the build step not to see await, the code doesn't actually ever get loaded because it's DEV only)
* fix inconsistencies from automatic migration
* Allow gradual rollout of new vite-based widget by adding urls to an allowlist that gets checked against the "Origin" http header of request fetching the widget js
* add e2e tests for widget button, testing empty cart, adding specific items, and subevents
* remove janky claude testts again
* resolve migration TODOs: properly refocus parent on navigations
* use `npm run dev:control` for the vite dev server for admin components
* upgrade npm dependencies
* fix js linter errors
* fix python linter errors
* build all control vue components
* add new js config files to check-manifest ignore
* working prod build
acutal serving of built assets not tested yet
* fix templatetag paths to match what's in the vite mantifest
* add missing quotes around 'unsafe-eval' cors value
* remove now unused old vue2 tooling
* try fixing e2e test ci
* fix flake8 error
* check if vite build artefacts are in the wheel
* add license headers
* remove dom manipilation code necessary for `div.pretix-widget-compat` to work. No longer needed for vue3
* remove superfluous `createElement` calls
They might have been there because of IE, which is no longer relevant
* make widget dev mode parametizable through query params and document the usage and those params
* fix rst syntax
* remove migration todos file
Co-authored-by: luelista <mira@teamwiki.de >
* rearrange dockerfile commands for smaller image, thanks @luelista
* Update .gitignore, adding .vite
Co-authored-by: luelista <mira@teamwiki.de >
* add eslint CI
* make vue dev work in plugins
* fix docker build
* rebuild vite setup to support static prod plugins and dynamic hmr plugin development
* use toml for vite plugin config instead of standalone json file
* Add widget changes from #6047 , #6149
* Allow buttons to reuse cart (Z#23226853)
* Always keep cart of buttons with items set
* widget: handle cart if not same-site (#6149 )
---------
Co-authored-by: luelista <mira@teamwiki.de >
Co-authored-by: Kara Engelhardt <engelhardt@pretix.eu >
2026-05-11 15:05:06 +02:00