Commit Graph
124 Commits
Author SHA1 Message Date
Raphael Michel b539f5e2f2 Fix image size validation in product form 2022-11-21 18:17:38 +01:00
Raphael Michel 2cfffe6526 Fix edge case in item add-on formset validation 2022-10-25 11:55:21 +02:00
Raphael MichelandGitHub cf622392c0 Ensure uniqueness of question identifiers (#2358) 2022-09-20 10:20:56 +02:00
Raphael Michel d4825d00fb Fix copying variations when copying items 2022-05-20 16:09:57 +02:00
Raphael Michel 3e8e454e92 Fix gettext formatting issues 2022-04-12 10:53:03 +02:00
Raphael Michel 69f91e54e6 Make error message about tax rules and gift cards easier to understand 2022-04-06 16:43:52 +02:00
Raphael Michel cccd4af6dd Create log entry for question when cloing an item 2022-04-04 12:04:15 +02:00
Richard SchreiberandGitHub 70e4b02370 Fix #2452 -- Disallow invalid values in min_per_order/max_per_order (#2453) 2022-02-23 09:48:45 +01:00
ser8phinandGitHub 7a4db8ea23 Add approval requirement option to product variations (#2381) 2022-01-05 18:04:12 +01:00
0f47bff5cd Allow to hide products that require membership (#2240)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
2021-10-07 10:11:31 +02:00
Raphael MichelandGitHub 17adde99fa Allow to restrict availability of variations by date, sales channel, and voucher (#2202) 2021-09-15 12:04:17 +02:00
Raphael Michel 93da4801db Allow to manually exclude quotas from calendar availability 2021-05-27 12:05:03 +02:00
Raphael Michel 1439594806 ItemUpdate: Save a few DB queries 2021-05-21 17:29:41 +02:00
Raphael Michel 9809b88b52 Subevent and quota creation: Prevent common mistakes 2021-05-19 16:06:12 +02:00
Raphael Michel ac4e4a2578 Visibly de-highlight disabled products 2021-05-19 09:53:25 +02:00
Raphael Michel 233a119289 Item copy: Copy picture 2021-05-12 18:07:40 +02:00
Raphael MichelandGitHub 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
astrocbxyandGitHub 6309582593 Fix #2031 -- Typo in ItemCreateForm (#2032) 2021-04-19 09:21:15 +02:00
Raphael Michel 3831ddec93 ItemCreateForm: Copy ItemAddOn.multiple_allowed 2021-04-17 15:43:33 +02:00
Raphael MichelandGitHub a93287207b pretix Community Edition moves to AGPLv3-based license (#2023) 2021-04-12 10:33:47 +02:00
Aksh GuptaandGitHub 88ba7ab53a Refactor code quality issues (#2001) 2021-03-16 19:13:02 +01:00
Raphael MichelandGitHub 66af5973ec Add min/max validation for date, datetime, and number questions (#1858) 2020-11-27 11:02:07 +01:00
Raphael Michel 2ebd040a7c Item form: Fancy radio buttons for has_Variations and admission 2020-11-23 15:25:48 +01:00
Raphael Michel 72a5008513 Allow to remove a product from all sales channels 2020-07-27 18:03:26 +02:00
Raphael MichelandGitHub 3c5948d2e0 Allow selecting the same add-on multiple times (#1717) 2020-07-20 10:21:12 +02:00
Raphael Michel a685af6433 Clone button for products 2020-07-16 08:53:18 +02:00
GamyandRaphael Michel 507e1a5b83 Added various missing punctuation marks, changed "following" to "selected" to match the display. 2020-06-30 09:20:11 +02:00
Raphael Michel 922f12f55e Allow to release quota after exit scans 2020-06-26 16:49:19 +02:00
Raphael Michel 0aebde62eb Fix missing variation attributes when copying items 2020-06-20 18:21:12 +02:00
Raphael MichelandGitHub 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
Martin Gross 39d05a6c40 Duplicate generate_ticket for items on duplication 2020-03-11 18:44:29 +01:00
Raphael Michel d4994258e6 Avoid issues with duplicate ItemBundles 2020-03-05 12:53:02 +01:00
76aaf61e19 Add meta_data for items (#1576)
* PoC for ItemMetaProperties/Values

* Missing is_valid

* ItemMetaProperties/Values in editable via API, cloneable

* Tests

* Add Docs

* Fix import order

* Fix another import sorting...

* Typeahead for ItemMetaValues

* Test for editing event-objects

* Fix typeahead permission checks

* Further access restriction

Co-authored-by: Raphael Michel <mail@raphaelmichel.de>
2020-02-26 15:06:24 +01:00
Raphael Michel 34ec11ecfa Fix KeyError for form validation 2020-02-13 09:21:23 +01:00
Raphael Michel 22dfa0e61d Use select2 input for category fields 2020-02-04 18:22:03 +01:00
Raphael Michel 11d0c37415 Try to discourage accidentally setting Item.hidden_if_available 2019-12-01 12:31:09 +01:00
Raphael Michel f5e7e0e309 Fix crash if Bundle.designated_price is set to null 2019-11-27 16:07:22 +01:00
Martin GrossandRaphael Michel 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 302966808e More docs and payments 2019-10-17 17:19:31 +02:00
Raphael Michel 8c50b7409f Add Item.issue_giftcard 2019-10-17 16:04:22 +02:00
Martin Gross e34511b984 Fix #1446 - Migrate NullBooleanSelect from 1/2/3 to unknown/true/false 2019-10-16 10:11:51 +02:00
Martin Gross eafed2e213 Enforce that questions cannot depend on other question which are asked during checkin (Z#2352753) 2019-10-14 10:12:09 +02:00
Raphael Michel 738413e8fd Allow to copy categories and quotas 2019-09-19 16:59:25 +02:00
Raphael Michel 7fc7dd0163 Allow to print question answers on invoices 2019-08-30 17:24:57 +02:00
Raphael Michel ad8f109e77 Add Item.allow_waitinglist 2019-07-29 16:27:27 +02:00
Raphael MichelandGitHub c1d89284a4 Use tabs for all long settings and CRUD forms (#1352)
* First tabs

* Convert more pages

* Convert question page

* Item form

* Add item_formsets signal

* Revert "Add new signal nav_item"

This reverts commit 1ce613ff89.

* Formset is a word!
2019-07-29 09:35:00 +02:00
Raphael MichelandGitHub e83e8cdcc0 Allow to hide a product unless a specific quota is sold out (#1351)
* Allow to hide a product unless a specific quota is sold out

* Fix required property

* Add API property and copy between events
2019-07-25 16:14:24 +02:00
Raphael Michel 307b1a2748 Fix that allow_cancel is 0 for UI-created events 2019-07-18 17:38:12 +02:00
Raphael MichelandGitHub a02ea45dba Allow quotas to "close" when once full (#1344)
* Model

* Some UI

* API and logging

* Permission check

* Add tests

* Move option around
2019-07-16 14:02:27 +02:00