Mira
22f91f7aa2
Improve UI to configure unavailable items handling (Z#23131828) ( #3739 )
...
* start impl of unavailability modes ui
* add db migration
* use new widget for more fields
* improve contrast
* use new widget for hide_without_voucher field
* improved wording
* rebase migration
* undo changes to require_membership_hidden
* code formatting
* move unavail_reason logic around
* enforce consistent state of hide_without_voucher / require_voucher
* annotate unavailability info in get_grouped_items
* remove MSIE6 compat
* add unavailability reasons to widget
* remove test output
* Apply suggestions from code review
text improvements
Co-authored-by: Richard Schreiber <schreiber@rami.io >
* add css fix for jumping items due to tooltip
* dynamically retrieve unavailability reason message
* widget: simplify logic conditions
* add available_{from,until}_mode to api and api docs
* rebase migration
* rebase migration
* add unavailable_*_mode to ItemVariation
* add available_*_mode to API docs for items
* fix wrong reference
* fix test cases
* add available_*_mode to item variation form
* apply unavailability modes to subevents and variations (presale)
* /o\
* apply unavailability modes to subevents and variations (widget)
* display unavailability mode in subevent product settings
* fix widget test
* fix api item tests
* copy available_*_mode when copying an item
* Apply suggestions from code review
Co-authored-by: Raphael Michel <michel@rami.io >
* Add unavail mode indicator to bulk create and edit forms
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2024-02-06 12:27:19 +01:00
Raphael Michel
2354affde7
API: Fix CSRF support for session-based usage
2024-01-26 11:20:56 +01:00
Raphael Michel
6af2d38a98
Add __Host- prefix to CSRF and session cookie, remove cookie_domain ( #3831 )
...
* Add __Host- prefix to CSRF and session cookie, remove cookie_domain
* Fix tests
2024-01-25 09:45:56 +01:00
Raphael Michel
abe45bccae
Fail on startup if an invalid language code is the default locale
2024-01-03 11:10:46 +01:00
Raphael Michel
83c6dd4d6b
Change default for self-service backend registration
2023-10-23 10:16:09 +02:00
Raphael Michel
78fbfc9c80
Migrate from AutoField to BigAutoField ( #3493 )
2023-09-27 08:59:10 +02:00
Raphael Michel
e884c9820f
Move new settings to _base_settings
2023-09-12 11:56:49 +02:00
Raphael Michel
7545e92373
[SECURITY] Do not allow Pillow to parse EPS files
2023-09-12 11:50:01 +02:00
Raphael Michel
c842ea597c
New locking mechanism ( #2408 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-09-11 11:44:50 +02:00
Raphael Michel
b2b3fa36be
Fix incorrect handling of boolean configuration flags
2023-09-11 10:00:59 +02:00
Pascal Zimmermann
b35a388685
Add PostgreSQL & Redis TLS/mTLS support ( #3435 )
2023-07-20 20:50:41 +02:00
Raphael Michel
8bd4ddcd0d
Add timeout for SMTP connections
2023-06-26 12:36:08 +02:00
Raphael Michel
f4b437e92b
Remove MariaDB support ( #3381 )
2023-06-05 18:25:20 +02:00
Raphael Michel
bd32b33ba9
Bump Django to 4.1.* ( #2989 )
2023-06-05 09:56:31 +02:00
Raphael Michel
4ef96b7e94
Move build setup to pyproject.toml ( #3240 )
2023-04-25 10:02:52 +02:00
Raphael Michel
2427421945
Migrate from pkg_resources to importlib ( #3232 )
2023-04-18 12:46:13 +02:00
Raphael Michel
11e3bd4d39
Add support for GeoIP data ( #3230 )
2023-04-17 09:50:46 +02:00
Raphael Michel
27f0ed69d7
Promote Czeck language to inofficial
2023-03-23 09:09:12 +01:00
Raphael Michel
6a8ebcca1a
Add support for X-Forwarded-Host
2023-02-24 10:28:22 +01:00
Raphael Michel
19d1a8de71
Scheduled exports ( #3033 )
2023-01-19 11:46:30 +01:00
Raphael Michel
bcf65603e4
Enable database health checks for when we use Django 4.1
...
4.1 is a while in the future but I really don't want to forget this then
as it is so useful!
2022-12-20 14:54:31 +01:00
Raphael Michel
15272cc3e6
Bump django-oauth-toolkit to 2.2.* ( #2985 )
2022-12-19 12:26:45 +01:00
Raphael Michel
04df1c2032
Introduce country-specific address validation ( #2945 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2022-12-05 12:42:46 +01:00
Raphael Michel
91e1e079e1
Allow private SMTP servers by default in debug version
2022-11-10 17:38:03 +01:00
Raphael Michel
39449ecbbe
Sentry: Set propagate_traces=False
2022-10-31 14:13:59 +01:00
Raphael Michel
51768eaef9
Add support for request ID headers
2022-10-25 17:17:59 +02:00
Michael Stapelberg
fd3311ed60
Set default for SITE_URL to localhost:8000 ( #2757 )
2022-08-05 09:31:22 +02:00
Raphael Michel
b3383a24e8
Change default email attachment limit back to 5MB
2022-06-14 10:12:57 +02:00
Raphael Michel
925b8334a9
PayPal: Migrate to Order v2 API and ISU authentication ( #2493 ) ( #2614 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
Co-authored-by: Martin Gross <gross@rami.io >
2022-05-30 15:44:22 +02:00
Raphael Michel
aca3e29bd2
Bump django-compressor to 3.1, get rid of annoying warnings ( #2459 )
2022-05-10 14:13:19 +02:00
Raphael Michel
d0051fbd43
Fix incorrect language code for Ukrainian
2022-05-09 19:05:10 +02:00
Raphael Michel
0672a32052
Add Ukrainian language
2022-05-09 17:52:19 +02:00
Raphael Michel
2b81e983d4
Add Romanian language, reorder languages
2022-04-25 18:10:35 +02:00
luto
e4817518d8
Add Czech translation
2022-04-07 14:07:16 +02:00
Raphael Michel
e2adf1fdb3
Layout refresh for plugin settings page ( #2490 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2022-03-21 16:42:03 +01:00
Raphael Michel
e3c7cd7c6d
Redesign of email settings ( #2426 )
...
Co-authored-by: Felix Rindt <felix@rindt.me >
2022-01-26 12:47:58 +01:00
Raphael Michel
3dbf22f670
Remove django-compat from settings.py
2021-12-20 12:22:13 +01:00
Raphael Michel
6b4adccee5
Bump django-hijack to 3.1.*
2021-12-20 09:51:52 +01:00
Raphael Michel
9f4b834abc
Allow to attach files to order confirmation email ( #2384 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2021-12-16 18:34:18 +01:00
Maico Timmerman
033b8d70e7
Email: Allow to override backend for custom SMTP connections ( #2368 )
2021-12-09 16:49:22 +01:00
Raphael Michel
993da5a392
VAT validation: Move cache to data directory
2021-11-16 10:21:08 +01:00
Raphael Michel
403c4f4499
Add Galician as an incubating language
2021-10-29 10:23:57 +02:00
Tim Neumann
b95f556d8f
Add config options for max file upload sizes ( #2199 )
...
* feat(config): Add config options for max file upload sizes
Closes #2198
* Apply suggestions from code review
Fix docs and comment in settings.py
Co-authored-by: Richard Schreiber <wiffbi@gmail.com >
* Fix import order using isort
Co-authored-by: Richard Schreiber <wiffbi@gmail.com >
2021-09-09 15:55:06 +02:00
Raphael Michel
75dc80eb09
API: Allow to set a custom pagination size
2021-07-13 18:20:12 +02:00
Tim Neumann
2852722b50
Add redis sentinel support ( #1909 )
...
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
2021-06-18 19:25:08 +02:00
Raphael Michel
72388abd57
Performance: Cache complete organizer index page, cache subevent list template fragment ( #2125 )
2021-06-15 00:02:47 +02:00
Raphael Michel
c132ccd141
Performance: Replace inlinestyler with css_inline; Add drf-ujson ( #2123 )
2021-06-13 21:20:18 +02:00
Maico Timmerman
18df9d66bb
i18n: add config for enabling a set of languages
...
Adds the `enabled` setting to the `[languages]` table in the pretix.cfg.
If left empty, or omitted all languages are enabled.
2021-06-04 15:35:09 +02:00
Raphael Michel
2f724592e0
Sentry: Add trace tokens
2021-05-25 12:40:16 +02:00
Raphael Michel
b3e14be6ed
Upgrade sentry-sdk, support performance monitoring
2021-05-18 11:02:16 +02:00