Mira Weller
e5cbaa9246
Improve docs
2024-04-30 21:49:58 +02:00
Mira Weller
37208286b1
Improve UI
2024-04-30 21:49:58 +02:00
Mira Weller
6da56291d4
Put text on "Time machine" button
2024-04-30 21:49:58 +02:00
Mira Weller
2d335cd095
improve documentation
2024-04-30 21:49:58 +02:00
Mira Weller
569f1719b0
add documentation
2024-04-30 21:49:58 +02:00
Mira Weller
00dd1a5b31
add documentation
2024-04-30 21:49:58 +02:00
Mira Weller
18bebb6d31
Separate event_access user from regular user
2024-04-30 21:49:58 +02:00
Mira Weller
77c8e81cd7
Remove stray print() call
2024-04-30 21:49:58 +02:00
Mira Weller
3d03f30119
Fix bootstrap classes
2024-04-30 21:49:58 +02:00
Mira Weller
91b2d685da
Use ContextVar instead of threading.local
2024-04-30 21:49:58 +02:00
Mira Weller
9787ed1820
Move time machine logic into contextmanager
2024-04-30 21:49:58 +02:00
Mira Weller
204b8e53de
Changes from review
2024-04-30 21:49:58 +02:00
Mira Weller
64358be4ae
Move timemachine controls into presale, implement session transfer for multidomain time machine support
2024-04-30 21:49:58 +02:00
Mira Weller
5b1175ff05
Code formatting
2024-04-30 21:49:58 +02:00
Mira Weller
e6f56bfdc2
Fix dynamic validity and add test cases
2024-04-30 21:49:58 +02:00
Mira Weller
9610e9c89f
Pass time_machine_now to async tasks
2024-04-30 21:49:58 +02:00
Mira Weller
c5f4eeeb28
Distinguish real and time_machine now in Order creation
2024-04-30 21:49:58 +02:00
Mira Weller
b61880fb5b
Allow passing a fallback now_dt to time_machine_now
2024-04-30 21:49:58 +02:00
Mira Weller
b29c7fc11d
Enable time machine only in testmode
2024-04-30 21:49:58 +02:00
Mira Weller
d99bf7437a
Use time_machine_now in more Order related checks and for Order.datetime
2024-04-30 21:49:58 +02:00
Mira Weller
648cc14ae0
Move timemachine to pretix.base, revert package refactor
2024-04-30 21:49:58 +02:00
Mira Weller
5d71cb500a
Move timemachine to pretix.base.middleware
2024-04-30 21:49:58 +02:00
Mira Weller
68d81982ba
Make pretix.base.middleware a package
2024-04-30 21:49:58 +02:00
Mira Weller
efa0d5f362
use time_machine_now for order expiry
2024-04-30 21:49:58 +02:00
Mira Weller
046898678b
Improve UX
2024-04-30 21:49:58 +02:00
Mira Weller
f38ecd0ec7
remove some print() logging
2024-04-30 21:49:57 +02:00
Mira Weller
3dca6c232e
add time machine form to live.html
2024-04-30 21:49:57 +02:00
Mira Weller
297bf566ad
fix live.html layout
2024-04-30 21:49:57 +02:00
Mira Weller
67f09b5ede
Enable time machine for membership and ticket validity dates
2024-04-30 21:49:57 +02:00
Mira Weller
752137ad84
timemachine
2024-04-30 21:49:57 +02:00
Mira Weller
100528ad0f
start implementing time machine mode (thread local)
2024-04-30 21:49:57 +02:00
Raphael Michel
0b05eb34f4
Fix style of buttons in alerts
2024-04-30 12:44:41 +02:00
Raphael Michel
be48c5f94c
Bump version to 2024.5.0.dev0
2024-04-30 11:11:13 +02:00
Raphael Michel
cebb6d3b43
Introduce locking to prevent duplicate invoices (Z#23150548) ( #4067 )
...
* Introduce locking to prevent duplicate invoices
This is not a perfect solution as it does not handle all code paths to
create invoices, but it handles all that seem likely to be triggered
concurrently
* Review note
2024-04-30 10:43:13 +02:00
Richard Schreiber
0de96ed066
Add links to invalid inputs on error alert (Z#23149061) ( #4114 )
...
* Add links to invalid inputs on error alert
* add errors in sub-forms to message, fix issues with multi-checkboxes labels and inputs
* add scrollTarget.scrollIntoView
* add missing semi-colon
* improve comment
* add style for links in alert-danger
* fix link color for all alert-boxes
* Update src/pretix/static/pretixcontrol/js/ui/main.js
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-04-30 10:18:32 +02:00
dependabot[bot]
a9d506b1fa
Update pytest-xdist requirement from ==3.5.* to ==3.6.* ( #4118 )
...
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.1 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 10:14:54 +02:00
Serhii Horichenko
7a01057429
Translations: Update Ukrainian
...
Currently translated at 89.9% (206 of 229 strings)
Translation: pretix/pretix (JavaScript parts)
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix-js/uk/
powered by weblate
2024-04-30 10:14:00 +02:00
Serhii Horichenko
64e1a602d6
Translations: Update Ukrainian
...
Currently translated at 62.9% (3527 of 5607 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/uk/
powered by weblate
2024-04-30 10:14:00 +02:00
Nikolai
fe060c387a
Translations: Update Danish
...
Currently translated at 31.0% (1741 of 5607 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/da/
powered by weblate
2024-04-30 10:14:00 +02:00
dependabot[bot]
1dba4c7cc9
Update pytest requirement from ==8.1.* to ==8.2.* ( #4119 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.0.dev0...8.2.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 21:02:07 +02:00
Richard Schreiber
20b2a3d2aa
Control: add link to orders for each subevent in list of subevents (Z#23129436) ( #3566 )
2024-04-29 18:44:42 +02:00
Raphael Michel
044f0c5480
Fix N+1 query in event calendar found by sentry ( #4104 )
...
* Fix N+1 query in event calendar found by sentry
* isort
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-04-29 18:41:50 +02:00
Raphael Michel
4d394f9e8a
Answer file export: Allow to filter by subevent (Z#23150581) ( #4066 )
...
* Answer file export: Allow to filter by subevent (Z#23150581)
* Update src/pretix/base/exporters/answers.py
Co-authored-by: Mira <weller@rami.io >
* Fix isort
---------
Co-authored-by: Mira <weller@rami.io >
2024-04-29 18:12:58 +02:00
Raphael Michel
247c4c6c9c
Do not remove unavailable addons when changing order (Z#23150855) ( #4086 )
2024-04-29 18:11:20 +02:00
Raphael Michel
11a038feb3
Allow secret generators to access order datetime ( #4110 )
2024-04-26 15:09:01 +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
189c77207f
Bump version to 2024.4.0
v2024.4.0
2024-04-26 13:53:49 +02:00
Raphael Michel
3422003a9c
Translations: Update German (informal) (de_Informal)
...
Currently translated at 100.0% (5607 of 5607 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de_Informal/
powered by weblate
2024-04-26 13:53:17 +02:00
Raphael Michel
8da38ba99d
Translations: Update German
...
Currently translated at 100.0% (5607 of 5607 strings)
Translation: pretix/pretix
Translate-URL: https://translate.pretix.eu/projects/pretix/pretix/de/
powered by weblate
2024-04-26 13:53:17 +02:00
Raphael Michel
fc05208b92
Docs: Add note on Swissbit TSE to Android support policy
2024-04-26 13:36:49 +02:00