Richard Schreiber
3a48279b22
[A11y] add group labelling to single input name-widget ( #5195 )
2025-06-02 15:53:35 +02:00
Richard Schreiber
7ca2f8ec04
[A11y] add min/max as help_text to date/time inputs
...
* [A11y] add min/max as help_text to date/time inputs
* update text
* Fix help-text (suggestions from code review)
Co-authored-by: Raphael Michel <michel@rami.io >
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2025-04-29 09:10:29 +02:00
Raphael Michel
6c7041c875
Add a label for empty salutation option (Z#23183319) ( #4913 )
2025-03-27 12:09:04 +01:00
Raphael Michel
0cca053d45
Address form: Add provinces for Italy
2025-03-17 10:36:29 +01:00
Mira
af3418db54
Fix company & vat_id dependencies on is_business ( #4777 )
2025-01-27 11:55:39 +01:00
Martin Gross
9622bf41a1
InvoiceForm: Display vat_id especially if company_required (Z#23180046) ( #4775 )
2025-01-23 12:09:45 +01:00
Raphael Michel
13452b5d8c
Make BaseInvoiceForm more reusable ( #4669 )
...
* Make BaseInvoiceForm more reusable
* Remove code
2024-12-13 16:28:21 +01:00
Mira
ae8ec42905
Fix backend validation if name is required as part of a required non-business invoice address ( #4674 )
...
---------
Co-authored-by: Raphael Michel <michel@rami.io >
2024-12-09 12:27:59 +01:00
Richard Schreiber
d1989c3cd3
Fix all-optional in address-form for resellers ( #4672 )
2024-12-02 09:46:33 +01:00
Raphael Michel
61cb2e15cf
Fix validation crash of InvoiceNameForm
2024-11-29 20:08:36 +01:00
Mira
e8e9698a31
Update address field logic (Z#23163120) ( #4659 )
...
* Move country-dependent JS logic to separate file (avoids code duplication for presale and control)
* Correctly apply "required" attribute to address state field
* Load address format information when selecting country
* Fix some other bugs and inconsistencies
2024-11-29 14:56:56 +01:00
Mira
c10efc692d
Let organizers specify a helptext for the custom invoice field (Z#23167497) ( #4520 )
2024-10-14 09:22:58 +02:00
Raphael Michel
2619a658c9
Widget: Allow passing more invoice data fields ( #4162 )
2024-05-23 11:19:59 +02:00
Raphael Michel
9f297fbd25
Widget: Fix data-invoice-address-country being overridden by GeoIP ( #4168 )
2024-05-23 11:17:54 +02:00
Mira
b638c00952
Time machine mode [Z#23129725] ( #3961 )
...
Allows organizers to test their shop as if it were a different date and time.
Implemented using a time_machine_now() function which is used instead of regular now(), which can overlay the real date time with a value from a ContextVar, assigned from a session value in EventMiddleware.
For more information, see doc/development/implementation/timemachine.rst
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2024-05-17 10:52:17 +02: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
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
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
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
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
1aadfe3535
Fix AttributeError when clearing a cropped picture field
2022-05-03 16:26:57 +02: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
768bb8c106
Add phone number to customer profile (Z#178346) ( #2414 )
2022-01-18 11:38:32 +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
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
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
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