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
Richard Schreiber
8c07fa75e4
Add salutation "Mx", normalize salutations (save in English, localize on display) ( #2075 )
...
* normalize salutations and localize before use
* add migration to normalize salutations
* add placeholder "name_for_salutation" for emails
2021-05-14 09:51:25 +02:00
Raphael Michel
5764a05581
Clarify "Business customer" → "Business or institutional customer"
2021-05-13 10:17:24 +02:00
Raphael Michel
8e79eb570e
Customer accounts & Memberships ( #2024 )
2021-05-04 16:56:06 +02:00
Raphael Michel
24bccf8b9c
Add Question.valid_file_portrait as well as crop editor for images
2021-04-19 15:40:16 +02:00
Raphael Michel
a93287207b
pretix Community Edition moves to AGPLv3-based license ( #2023 )
2021-04-12 10:33:47 +02:00
Richard Schreiber
adddc7a71e
A11y: add role=group and labels to multi-widgets ( #2006 )
...
* add role=group aria-labelledby to multiwidgets
* remove for-attribute from parent-label for grouped inputs
* add aria-labels to PhoneNumber-fields
* add aria-label to name multi-inputs
2021-03-22 15:19:29 +01:00
Aksh Gupta
88ba7ab53a
Refactor code quality issues ( #2001 )
2021-03-16 19:13:02 +01:00
Raphael Michel
6b2ab44b26
Fix undefined variable
2021-02-09 19:00:20 +01:00
Raphael Michel
b630174f72
Fix bug when modifying an order with an address in a country with a state
2021-02-09 18:23:24 +01:00
Raphael Michel
36efb25b98
Invoice address: Always validate that VAT ID is for correct country
2021-02-04 17:21:24 +01:00
Raphael Michel
c103288eec
2021 attempt at disabling autocomplete in date fields
...
Apparently, we so far disabled "autofill" but not "autocomplete". For
date fields, autocomplete is more relevant. Explanation
https://stackoverflow.com/a/57810447/336784
2021-02-01 10:07:57 +01:00
Raphael Michel
f3de5d5c96
Lazy-format placeholders in DateField and TimeField
2021-01-20 17:19:00 +01:00
Raphael Michel
4e870b7366
Question form: Do not show "This field is required" twice
2021-01-12 12:57:00 +01:00
Martin Gross
a8cbb06bb0
Fixing all-time favorite pretix/prefix typo
2021-01-12 12:44:51 +01:00
Raphael Michel
f97c97e661
Fix UX quirk in phone number field triggered by American numbers
2021-01-08 15:18:56 +01:00
Raphael Michel
3f30ddc9ab
Fix #1888 -- UnknownLocaleError if locale is set
2020-12-22 13:14:56 +01:00
Raphael Michel
7c0df5b755
[SECURITY] Rate limiting for login
2020-12-22 10:47:47 +01:00
Raphael Michel
8889d8441e
[SECURITY] Rate limiting for password change form
2020-12-22 10:47:47 +01:00