Raphael Michel
ac2fc2de5c
Cancelling events: Allow to cancel all dates in a series
2020-03-23 10:37:10 +01:00
Raphael Michel
b664cc712a
Cancelling events: Allow to create manual and partial refunds
2020-03-16 16:00:44 +01:00
Raphael Michel
d61e8a9204
Cancelling events: Allow to select fee types to keep
2020-03-16 15:44:37 +01:00
Raphael Michel
bd238f76ce
Fix broken test
2020-03-16 13:29:12 +01:00
Raphael Michel
8d23d75dfd
Only send download reminders if there's actually a download
2020-03-16 09:26:11 +01:00
Maico Timmerman and GitHub
9a32668ee1
Make next url authentication backend dependent ( #1609 )
...
* Make next url authentication backend dependent
* Rename authentication next_url to get_next_url.
* Add test for custom authentication backend get_next_url.
* Fix typo in docstring of authentication backend get_next_url.
2020-03-15 11:05:57 +01:00
pajowu and GitHub
ca0407a133
Subclass MultipleChoiceField to serialize to list ( #1605 )
...
* Subclass MultipleChoiceField to serialize to list
* Rename pretix.api.serializers.MultipleChoiceField to ListMultipleChoiceField
* Keep order in ListMultipleChoiceField
2020-03-14 22:04:12 +01:00
pajowu and GitHub
d76ce47597
Allow creating question with dependency_question=None ( #1607 )
2020-03-12 13:30:18 +01:00
Raphael Michel and GitHub
1ee48a10b5
Allow to reactivate canceled orders ( #1601 )
2020-03-11 11:40:56 +01:00
Raphael Michel
af84354e51
Resolve some warnings in the test suite
2020-03-09 14:57:19 +01:00
Raphael Michel
ba164c16f6
Fix test failure that only happens in the 20 days before daylight saving time changes
2020-03-09 12:56:58 +01:00
Raphael Michel
b7528ae1cf
Cancelling events: Fix incorrect refund amount in emails
2020-03-06 18:09:38 +01:00
Raphael Michel
4f6712ccbe
OrderChangeManager: Prevent creation of 0 € invoices
2020-03-06 17:05:15 +01:00
Raphael Michel
c849276a35
Widget: Allow to filter by product
2020-03-06 17:00:26 +01:00
Raphael Michel
c3ed3d4899
Adjust tests for last commit
2020-03-05 18:12:40 +01:00
Raphael Michel
975b6d800a
Fix hardcoded PK in test
2020-03-05 17:09:33 +01:00
Raphael Michel
ee260c8231
API: Allow to simulate orders
2020-03-05 16:37:55 +01:00
Raphael Michel
9b50ec2d74
Cancelling events: Allow to inform waiting list
2020-03-05 10:22:59 +01:00
Raphael Michel and GitHub
62a86c9b4a
Allow to cancel all orders in an event ( #1596 )
...
* Allow to cancel all orders in an event
* Add tests
* Actually add tests
2020-03-03 16:55:05 +01:00
Raphael Michel
381fa5e1cd
Allow to add a text to gift card transactions
2020-03-02 12:47:39 +01:00
Raphael Michel
3d41d1331a
API: Support for cross-organizer gift cards
2020-03-02 12:19:02 +01:00
Raphael Michel
f65cf8e86a
Fix checks for min_per_order and max_per_order in combination with variations
2020-02-27 15:08:35 +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
dd1e5fa929
Test suite: Allow to cancel expired orders
2020-02-26 11:56:23 +01:00
Raphael Michel
a5cdb485d0
Fix faulty test cases
2020-02-19 18:25:05 +01:00
Raphael Michel
d0794d7b94
Optionally allow to automatically reissue an invoice after a data change
2020-02-13 09:49:21 +01:00
Raphael Michel
e83b8ac218
Allow to hide payment methods behind a secret link
2020-02-05 18:09:27 +01:00
Raphael Michel and GitHub
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
Raphael Michel and GitHub
87b10ef055
Allow to print multiple badges on one page ( #1380 )
...
* Allow to print multiple badges on one page
* Fix test
* Add more sizes
* Add A4 sizes
2020-02-04 17:02:33 +01:00
Raphael Michel
a28378bac9
Fix further problems with middleware ordering
2020-01-29 11:50:09 +01:00
Raphael Michel
a940fa9eb7
Correct order of middlewares, thereby fix event list widget on custom domains
...
With the incorrect order, Django used the wrong URL config file to
determine whether this URL is valid and APPEND_SLASH kicked in too
often.
2020-01-28 23:38:09 +01:00
Raphael Michel and GitHub
5e61342ff5
Add an API for teams ( #1562 )
...
* Add Team resource to API
* Add team memer endpoints
* Add team invites endpoint
* Add token endpoints
2020-01-25 15:22:50 +01:00
Raphael Michel
0a9daf0d3a
API: Fix crash when passing an empty seat_category_mapping during event creation
2020-01-23 14:27:43 +01:00
Raphael Michel
bcd687764c
API: Allow to create payments directly
2020-01-22 17:15:40 +01:00
Raphael Michel
5832429540
Fix unrecognized user agents seen in the wild
2020-01-11 13:52:37 +01:00
Raphael Michel
7913de971c
Fix timezone assumptions in test fixtures
2020-01-11 13:45:49 +01:00
Raphael Michel
402730df43
API: Add timezone attribute to events
...
Note: I still believe the issues described in https://github.com/pretix/pretix/issues/1378
are a problem, and I'm still not keen on adding settings properties to
the API until we have a proper design for it. However, I'm making an
exception here since the list of events can't be used in a very useful
way with not access to the timezone.
2020-01-11 13:24:19 +01:00
Raphael Michel
ddbe27f351
API: Allow to return canceled positions and fees
2020-01-11 12:57:43 +01:00
Raphael Michel
fdd45a85f0
Do not send download reminders if order is placed after download date
2020-01-07 11:54:06 +01:00
Raphael Michel and GitHub
8e2821b398
Add a maximum budget to vouchers ( #1526 )
...
* Data model changes
* Fix test failures
* Adjustments
* Some tests and API support
* Check when extending orders
* Make things more deterministic, fix style
* Do not apply negative discounts
* Update price_before_voucher on item/subevent changes
* Add tests for price_before_voucher in combination with free price
* Fix InvoiceAddress.DoesNotExist
2020-01-03 16:15:17 +01:00
Katharina Bogad and Raphael Michel
ff98ae3200
Update oauthlib to ==3.1.* ( #1538 )
...
* Bumped oauthlib to ==3.1.*
* Fix tests for oauthlib 3.1
In some cases, oauthlib now returns 400 instead of 401.
2020-01-02 13:15:24 +01:00
Raphael Michel and GitHub
2a6dc22d7b
Allow to use datetime components in invoice prefixes ( #1529 )
2020-01-02 09:46:07 +01:00
19873e2a09
Expose help texts on questions' API ( #1534 )
...
* Expose help texts on questions' API
* Update questions docs to show help_text
* Update questions.rst
Co-authored-by: Raphael Michel <mail@raphaelmichel.de >
2019-12-22 19:30:17 +01:00
Raphael Michel
e839dbc7d4
Emulate secure request in samesite tests
2019-12-18 19:37:43 +01:00
Maico Timmerman and Raphael Michel
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
Raphael Michel
c1fa0d1559
Fix #1524 -- Bug in CartManager's max_per_item validation
2019-12-16 09:45:36 +01:00
Raphael Michel
e67ff83378
Do not allow to create negative gift cards through the API
2019-12-12 14:18:47 +01:00
Raphael Michel
3da79ad36b
Remove positivity constraint in apply_voucher
2019-12-12 12:02:12 +01:00
Raphael Michel
f80ba365a5
Fix test for voucher csv
2019-12-11 18:13:38 +01:00
Raphael Michel and GitHub
99f3db04a9
Allow to redeem a voucher for an existing cart ( #1517 )
...
* Allow to redeem a voucher for an existing cart
* Bundle behaviour
2019-12-11 15:58:22 +01:00