Raphael Michel
2c9b2620ea
Add company and address fields to attendees ( #1633 )
...
* Add company and address fields to attendees
* Update src/pretix/control/templates/pretixcontrol/event/settings.html
Co-Authored-By: Martin Gross <gross@rami.io >
Co-authored-by: Martin Gross <gross@rami.io >
2020-04-02 14:41:09 +02:00
Raphael Michel
11b2bd8887
Allow markdown in multiple-choice question options
2020-03-23 17:55:52 +01:00
Raphael Michel
6da63e0169
Question form: Guess default country
2020-03-23 16:44:37 +01:00
Raphael Michel
af23d6e4bf
Upgrade to Django 3.0 and other dependencies ( #1568 )
...
* Upgrade Django to 3.0 and other dependencies to recent versions
* Fix otp version contsraint
* Remove six dependency
* Resolve some warnings
* Fix failing tests
* Update django-countries
* Resolve all RemovedInDjango31Warnings in test suite
* Run isort
* Fix import
* Update PostgreSQL version on travis
2020-03-23 15:02:20 +01:00
Raphael Michel
9f6a3f9a6a
Add custom field for invoice addresses
2020-02-18 09:21:00 +01:00
Raphael Michel
fd1c964c92
Fix #1378 -- API: Allow to access and modify (some) event setti… ( #1569 )
...
* API: Allow to access event settings
* Convert most "general" settings
* Smaller fixes
* Add more settings
* Relative dates, nulling
* Fix a test failure
* Fix wrong attribute access
2020-02-04 17:06:23 +01:00
Maico Timmerman
82feca6e38
Fix #1521 -- External authenticated users cannot delete events ( #1523 )
...
* Remove check password for event deletion, instead require recent login.
* Reauthenticate for backends using authentication_url.
* Require recent login for data shredder and prompt slug instead of password.
* Fix tests for recent login required on event delete and data shred.
* Pull request remarks for recent login required for event delete and data shred.
* Remove unused imported check_password.
2019-12-16 10:45:01 +01:00
Maico Timmerman
28242e52aa
Fix #1522 -- Login button redirects to authentication url with… ( #1525 )
2019-12-16 10:42:51 +01:00
Raphael Michel
ac2ff6c2aa
Phone number fields: Do not crash on invalid default value
2019-11-15 08:48:14 +01:00
Martin Gross
54091b9721
Add question type: phone number ( #1462 )
...
* Add Phonenumber-Field as to Questions
* Add setup requirements
* Add list of ask-during-checkin restricted question types and enforce it
* Fix requirements
* Fix crash using custom locales
* Re-format phone numbers when outputting to humans
* Initialize country code field with a guess for the customer's country
* Document TEL type in API docs
2019-11-13 12:52:07 +01:00
Raphael Michel
c24ab642ce
Fix logic bug introduced in 0e9d2cfc1 during form validation
2019-11-13 10:30:29 +01:00
Raphael Michel
0e9d2cfc10
Require certain parts of names if names are required
2019-11-12 18:15:25 +01:00
Raphael Michel
8a8f8ae10a
Fix KeyError in question_is_visible if question dependency is unknown
2019-10-17 12:57:17 +02:00
Raphael Michel
8a6a515b6a
Refs #775 -- Pluggable authentication backends ( #1447 )
...
* Drag-and-drop: Force csrf_token to be present
* Rough design
* Missing file
* b.visble
* Forms
* Docs
* Tests
* Fix variable
2019-10-17 09:11:03 +02:00
Felix Schäfer
4152ee4e50
Fix #1408 -- Don't mark upload question fields as required if… ( #1443 )
2019-10-15 11:40:28 +02:00
Raphael Michel
49bff3cc33
Fix field requirement display
2019-10-14 13:56:53 +02:00
Raphael Michel
92754136a6
Refs #1432 -- Proper grouping of autocomplete properties
2019-10-09 12:40:05 +02:00
Raphael Michel
3b4d39ec27
Fix #1432 -- Correct autocomplete attributes of name part fields
2019-10-09 12:40:05 +02:00
Martin Gross
143fe6c1a6
Fix #1430 - Fix fieldname-filter for BaseInvoiceNameForm
2019-10-07 17:48:18 +02:00
Raphael Michel
1d0c148170
Fix #467 -- Pluggable email placeholders ( #1429 )
...
* Fix #467 -- Pluggable email placeholders
* Previews
* Polishing
* Fix tests
* Add missing doc file
2019-10-07 11:48:25 +02:00
Raphael Michel
2c4ee3b3c7
Replace U2F with WebAuthn ( #1392 )
...
* Replace U2F with WebAuthn
* Imports
* Fix backwards compatibility
* Add explanatory comment
* Fix tests
2019-09-10 09:58:31 +02:00
Raphael Michel
21451db412
Fix Greek VAT IDs
2019-09-10 09:46:00 +02:00
Raphael Michel
b0b0f7474d
Allow state selection without JavaScript
2019-08-09 12:13:09 +02:00
Raphael Michel
d919605d79
Invoice addresses: Ask for a state in some countries ( #1362 )
...
* Invoice addresses: Ask for a state in some countries
* API, tests, noscript
* Fix shredder tests
* Add test for addresses with long state names
2019-08-09 09:55:46 +02:00
Sohalt
591ed969b8
Autofocus login form ( #1346 )
2019-07-22 14:31:18 +02:00
Raphael Michel
dc42dbb837
Allow to use a selection for name titles
2019-07-16 10:23:43 +02:00
Raphael Michel
53a0d62d93
Allow dependent questions to depend on multiple values ( #1336 )
2019-07-11 13:32:45 +02:00
Raphael Michel
779a3698a8
Catch general HTTP errors during VAT validation
2019-07-04 10:39:41 +02:00
Raphael Michel
d3f01832fe
Fix a bug during validation
2019-05-27 18:27:20 +02:00
Raphael Michel
85fe7e55be
Guess and pre-fill invoice address country
2019-05-27 17:48:22 +02:00
Raphael Michel
c8a1481f93
Fix #1154 -- Add country-typed questions
2019-05-09 10:02:12 +02:00
Raphael Michel
f95e8f374d
Allow dependencies between questions ( #1202 )
...
- [x] data model
- [x] api
- [x] backend editor
- [x] backend validation logic
- [x] frontend display logic
- [x] frontend validation logic
- [x] test checkout step
- [x] test modify order in frontend
- [x] test modify order in backend
- [x] validation tests
- [x] correctly evaluate dependency tree in frontend?
- [x] copy events
2019-03-13 16:49:20 +01:00
Raphael Michel
affc6254a8
Fix potential XSS in questions [not a vulnerability, thanks to CSP]
2019-03-12 09:20:48 +01:00
Raphael Michel
c278687487
Allow creating multiple events in different tabs at the same time
2019-02-26 13:10:53 +01:00
Martin Gross
37183aced7
Disable Autocomplete for Date/Time-fields
2019-02-12 16:16:12 +01:00
Raphael Michel
af5aece639
Add beneficiaries to invoice addresses
2019-01-12 16:54:37 +01:00
Raphael Michel
01a6861453
Always query emails case-insensitively
2019-01-02 15:12:48 +01:00
Raphael Michel
2bb2a40509
Add new signal checkout_all_optional
2018-12-11 16:44:15 +01:00
Raphael Michel
1f200271af
Allow rich text in question help texts
2018-11-05 18:07:15 +01:00
Raphael Michel
94be46ffdb
Fix #978 -- Allow to split names ( #1049 )
...
- [x] attendee names
- [x] Invoice address names
- [x] Data migration
- [x] API serializers
- [x] orderposition
- [x] cartposition
- [x] invoiceaddress
- [x] checkinlistposition
- [x] position API search
- [x] invoice API search
- [x] business/individual required toggle
- [x] Split columns in CSV exports
- [x] ticket editor
- [x] shredder
- [x] ticket/invoice sample data
- [x] order search
- [x] Handle changed naming scheme
- [x] tests
- [x] make use in:
- [x] Boabee
- [x] Certificate download order
- [x] Badge download order
- [x] Ticket download order
- [x] Document new MySQL requirement
- [x] Plugins
2018-11-05 15:43:21 +01:00
Raphael Michel
d08cc12240
Do not break on short VAT IDs
2018-10-29 11:41:26 +01:00
Flavia Bastos
a2acd336eb
Fix #970 -- invoice info consistency ( #1043 )
...
resolves: Issue #970
2018-10-17 01:50:00 +02:00
Raphael Michel
cea1032180
SplitDateTimeField: Adjust placeholders to actual locale
2018-09-21 16:54:22 +02:00
Raphael Michel
5695e1d9c8
SplitDateTimeField: Consider field empty if only a time is given
2018-09-21 16:54:22 +02:00
Raphael Michel
06d9c48ed4
Allow to restrict payment methods by invoice address country
2018-09-19 16:10:40 +02:00
Lukas Bockstaller
a643abe293
Prevent email enumeration ( #1000 )
...
Here is my attempt to prevent user enumeration.
I've made the following changes:
**Application:**
- replaces success and failure messages in the form with two (with/without redis) information messages
- adds logging for attempted password resets of unknown users
- adds logging for failing emails
**Tests:**
- test_unknown asserts a redirect instead of a ok
- adds test_email_reset_twice_redis to assert the correct logging of a twice reset email
- adds a FakeRedis class similiar to the one implemented in test_metrics.py. I could refactor them into the testutils folder if prefered.
Please excuse the commit mess. I am currently fighting with my tooling.
2018-08-31 10:28:39 +02:00
Raphael Michel
3d5cc98df5
Add option to require company name
2018-08-10 16:05:20 +02:00
Raphael Michel
afd766999c
Upgrade to Django 2.1 ( #710 )
...
* Upgrade to Django 2.0
* more models
* i18n foo
* Update setup.py
* Fix Sentry exception PRETIXEU-JC
* Enforce slug uniqueness
* Import sorting
* Upgrade to Django 2.1
* Travis config
* Try to fix PostgreSQL failure
* Smaller test matrix
* staticfiles→static
* Include request in all authenticate() calls
2018-08-06 12:48:46 +02:00
Raphael Michel
008b4a134b
Allow to require invoice name only
2018-05-11 12:58:14 +02:00
Raphael Michel
66eabd3bd6
Fix PlaceholderValidator to catch placehodlers with invalid characters
2018-04-29 14:29:40 +02:00