Martin Gross
5c833cd493
Add special input widgets for markdown fields ( #1577 )
...
* Add markdown text input widgets
* Update src/pretix/static/pretixcontrol/scss/_forms.scss
* Improvements
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-04-23 14:40:30 +02:00
Raphael Michel
f3f42a8a42
Login: Add logging for incorrect JS hostnames
2024-04-02 11:34:43 +02:00
Raphael Michel
fb49046ac1
Log and count user logins ( #4020 )
...
* Log and count user logins
* Allow metrics without label
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-03-28 17:18:51 +01:00
Raphael Michel
f532853021
Memberships: Prefer valid_from over event date for .is_valid() ( #4003 )
...
* Memberships: Prefer valid_from over event date for .is_valid()
* Fix tests
* Add parameter description
* Use reasonable default for requested_valid_from if membership starts in the future
* Set datetimepicker viewDate to closest allowed date
* Keep current value on going back to QuestionsStep
* Fix min_date/max_date in SplitDateTimePickerWidget
* Remove unused import
* Update src/pretix/base/models/memberships.py
Co-authored-by: Mira <weller@rami.io >
* Respect variations
---------
Co-authored-by: Mira Weller <weller@rami.io >
2024-03-27 12:11:20 +01:00
Raphael Michel
63894ca3da
Update django-bootstrap3 requirement from ==23.1.* to ==23.6 ( #3894 )
...
* Update django-bootstrap3 requirement from ==23.1.* to ==23.6
Removing our previous workarounds
* Fix import
2024-02-14 14:35:45 +01:00
Raphael Michel
8a155d5fe3
Name formats: Allow empty salutation ( #3801 )
...
* Name formats: Allow empty salutation
* Update src/pretix/base/forms/questions.py
Co-authored-by: Felix Rindt <felix@rindt.me >
---------
Co-authored-by: Felix Rindt <felix@rindt.me >
2024-01-09 15:29:00 +01:00
Richard Schreiber
608d82ce4f
A11y: add date and time labels in MultiWidget (Z#23132744) ( #3718 )
...
* A11y: add date and time labels in MultiWidget
* fix code style issues
2023-12-20 09:10:59 +01:00
Richard Schreiber
af3100a354
E-mail content: insert placeholder into text on click
2023-09-14 10:32:22 +02:00
Raphael Michel
7545e92373
[SECURITY] Do not allow Pillow to parse EPS files
2023-09-12 11:50:01 +02:00
Raphael Michel
50ff968c17
Fix #3391 -- Don't crash on GeoIP lookup failure
2023-06-06 17:12:38 +02:00
Raphael Michel
0990eeeea0
Fix deprecation warning
2023-06-05 18:24:51 +02:00
Raphael Michel
ad70765287
Fix event creation after Django 4.1 upgrade
2023-06-05 13:00:32 +02:00
Raphael Michel
bd32b33ba9
Bump Django to 4.1.* ( #2989 )
2023-06-05 09:56:31 +02:00
Raphael Michel
84180f5af4
Fix address validation for attendee data
2023-05-25 13:34:55 +02:00
Raphael Michel
11e3bd4d39
Add support for GeoIP data ( #3230 )
2023-04-17 09:50:46 +02:00
Raphael Michel
ddade60625
Question: Allow limit of string length ( #3214 )
2023-04-06 09:58:50 +02:00
Richard Schreiber
08a85b3dab
Order edit form: fix yes/no-question not being optional (Z#23117305) ( #3149 )
2023-03-06 12:03:08 +01:00
Raphael Michel
81a5e263cb
Allow to set privacy policy URL per language ( #3146 )
2023-03-06 12:02:52 +01:00
Raphael Michel
f63408504e
Allow to define ticket validity through a product ( #3105 )
2023-02-13 14:46:52 +01:00
Raphael Michel
59d46ddded
Revert "First steps into pytz deprecation"
...
This reverts commit e4e7d50659 .
2023-02-01 13:15:18 +01:00
Raphael Michel
e4e7d50659
First steps into pytz deprecation
2023-02-01 13:12:24 +01:00
Raphael Michel
9dd3b12625
Validate image size in pixels at upload time ( #3003 )
2023-01-12 16:30:28 +01:00
Raphael Michel
603225d042
Separate personalization from admission ( #2990 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2023-01-09 14:57:35 +01:00
Raphael Michel
cb1f63bf80
Fix regression in address validation for resellers
2022-12-12 17:21:55 +01:00
Raphael Michel
a982cbf6b6
Name field: Improve compatibility with old formats
2022-12-09 10:42:26 +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
dcec0b03d4
Fix handling of contradictory input in image upload (PRETIXEU-78F)
2022-09-12 13:18:02 +02:00
Raphael Michel
e6e5c8f733
Fix validation of total name length
...
Fixes PRETIXEU-6XM
2022-06-27 12:15:48 +02:00
Raphael Michel
074252a9c0
SecretKeySettingsWidget: Fix issue during form validation
2022-05-17 13:56:38 +02:00
Raphael Michel
1aadfe3535
Fix AttributeError when clearing a cropped picture field
2022-05-03 16:26:57 +02:00
Raphael Michel
684b8e4102
Accept arabic numbers from date picker ( #2547 )
2022-03-21 12:36:40 +01:00
Raphael Michel
31eda01464
Fix error in SMTP settings when not changing password
2022-03-15 16:06:11 +01:00
Raphael Michel
959b076b52
Unicode-aware sorting of phone prefixes ( #2523 )
2022-03-14 15:24:59 +01:00
Raphael Michel
9fcd099531
Fix phone number parsing of initial values
2022-03-14 10:30:03 +01:00
Raphael Michel
a66fdc5084
[SECURITY] Fix stored XSS in help texts
2022-02-28 16:06:47 +01:00
Raphael Michel
f7d2645e76
Fix isort issue
2022-02-14 17:33:20 +01:00
Raphael Michel
1414db35b7
Perform some very basic validation on names
2022-02-14 14:56:31 +01:00
Richard Schreiber
0e900b74d7
Fix #2434 -- Disallow manually setting SecretKeySettingsField to ***** ( #2436 )
2022-02-13 20:24:53 +01:00
Raphael Michel
4262bce2b5
Limit maximum length of passwords to 4096 characters
2022-01-25 17:24:48 +01:00
Felix Schäfer
d4ef16b31a
Fix #2320 - Move file upload "required" attrs manipulation from init to rendering ( #2399 )
2022-01-21 15:49:24 +01:00
Richard Schreiber
768bb8c106
Add phone number to customer profile (Z#178346) ( #2414 )
2022-01-18 11:38:32 +01:00
Raphael Michel
ad2943263c
Fix unnecessary override of default settings
2021-12-16 10:31:46 +01:00
Raphael Michel
cd900e24bd
Questions form: Do not persist values to questions hidden by dependencies
2021-12-13 15:46:58 +01:00
Raphael Michel
3117eceb72
Validate VAT ID when changing invoice addresses
2021-11-29 20:36:20 +01:00
ser8phin
169a6c51b4
Add check to force users to change password ( #2284 )
2021-11-11 11:10:33 +01:00
Raphael Michel
5ea8a8ef82
Ask and validate VAT IDs for Switzerland ( #2259 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2021-10-26 11:20:45 +02:00
Richard Schreiber
3dcfa57b70
A11y improvements ( #2081 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
2021-10-17 16:56:16 +02:00
Raphael Michel
1514527ef3
Consistent naming
2021-09-17 10:20:43 +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
6388f7b29c
Fix #2192 -- Invoice address name-field always gets overwritten with customer profile
2021-09-06 20:57:45 +02:00