Commit Graph

36 Commits

Author SHA1 Message Date
Raphael Michel
c1158c3175 Allow to mark add-ons as "included" in price 2017-07-12 18:42:09 +02:00
Raphael Michel
8123effa65 Add sub-events and relative date settings (#503)
* Data model

* little crud

* SubEventItemForm etc

* Drop SubEventItem.active, quota editor

* Fix failing tests

* First frontend stuff

* Addons form stuff

* Quota calculation

* net price display on EventIndex

* Add tests, solve some bugs

* Correct quota selection in more places, consolidate pricing logic

* Fix failing quota tests

* Fix TypeError

* Add tests for checkout

* Fixed a bug in QuotaForm

* Prevent immutable cart if a quota was removed from an item

* Add tests for pricing

* Handle waiting list

* Filter in check-in list

* Fixed import lost in rebase

* Fix waiting list widget

* Voucher management

* Voucher redemption

* Fix broken tests

* Add subevents to OrderChangeManager

* Create a subevent during event creation

* Fix bulk voucher creation

* Introduce subevent.active

* Copy from for subevents

* Show active in list

* ICal download for subevents

* Check start and end of presale

* Failing tests / show cart logic

* Test

* Rebase migrations

* REST API integration of sub-events

* Integrate quota calculation into the traditional quota form

* Make subevent argument to add_position optional

* Log-display foo

* pretixdroid and subevents

* Filter by subevent

* Add more tests

* Some mor tests

* Rebase fixes

* More tests

* Relative dates

* Restrict selection in relative datetime widgets

* Filter subevent list

* Re-label has_subevents

* Rebase fixes, subevents in calendar view

* Performance and caching issues

* Refactor calendar templates

* Permission tests

* Calendar fixes and month selection

* subevent selection

* Rename subevents to dates

* Add tests for calendar views
2017-07-11 13:56:00 +02:00
Raphael Michel
0db5d062be Add a file upload type to questions (#534)
* Initial stuff

* More features
2017-07-03 14:22:31 +02:00
Raphael Michel
b52f2f5a9e Improve add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel
e4706dd3ba Add attendee email field (#466)
* Add attendee email field

* exports, tests
2017-04-13 22:59:54 +02:00
Raphael Michel
69faab01b2 Add constraint for a maximum number of a ticket per order 2017-03-24 17:11:48 +01:00
Raphael Michel
0082216d75 Fix failing tests 2016-12-22 18:25:58 +01:00
Raphael Michel
eea6a5e9da Refs #145 -- Vouchers that grant discounts 2016-11-29 16:18:07 +01:00
Raphael Michel
db6fb51fc6 Refs #145 -- Multi-use vouchers 2016-11-27 16:02:40 +01:00
Raphael Michel
a2e707d57d Fixed failing tests 2016-10-18 19:13:30 +02:00
Raphael Michel
158043e29e Fixed a bug in order validation 2016-10-18 19:00:44 +02:00
Raphael Michel
efc6b6e480 Resolved various warnings, upgrade bootstrap3 2016-09-27 10:50:13 +02:00
Raphael Michel
63b683096b Resolved two more edge cases in quota handling
Scenario 1) Blocking voucher is used in a CartPosition. Previously
too much was subtracted from the quota.

Scenario 2) When two quotas are assigned to a product and one of them
is sold out, blocking vouchers for the other quota should not enable to
buy the product.
2016-08-15 22:55:18 +02:00
Raphael Michel
3dfdfdf5d0 Check required vouchers at checkout 2016-08-15 16:10:38 +02:00
Raphael Michel
a7fa63465d Added test to check that ordering is not possible after presale_end 2016-08-15 15:56:36 +02:00
Raphael Michel
66bcbc785b FIxed broken test 2016-06-10 15:34:17 +02:00
Raphael Michel
09cee356b0 Allow for vouchers that are valid for multiple items 2016-05-04 17:50:19 +02:00
Raphael Michel
112a309a0e Fixed #106 -- added pay-what-you-want tickets 2016-03-24 18:01:09 +01:00
Raphael Michel
9fa063244b Refs #105 -- Added tests for voucher redemption 2016-03-24 15:46:49 +01:00
Raphael Michel
c28b40a118 Unit Tests should create enabled events 2016-02-23 08:58:39 +01:00
Raphael Michel
d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel
ecebe481d7 Rename "session" field to "cart_id" 2015-11-04 23:39:59 +01:00
Raphael Michel
3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel
4c6b292968 Refactored checkout steps 2015-10-05 11:24:00 +02:00
Raphael Michel
93d027cec6 Make all orders "guest orders" 2015-10-05 11:24:00 +02:00
Raphael Michel
d5e7ee8d8d Added a test for detecting inactive items in cart 2015-09-28 23:44:40 +02:00
Raphael Michel
59e4b19e3f Fixed broken Unit Test 2015-09-17 22:57:39 +02:00
Raphael Michel
7def097dcd Refs #96 -- Completely removed local users 2015-09-17 00:55:00 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
75b8d800ea Added tests for modifying and cancelling orders 2015-06-28 16:21:39 +02:00
Raphael Michel
6ec516a83a Fixed tests that got broken in bef9e05 2015-06-23 20:52:31 +02:00
Raphael Michel
747a9e55fd Remove unused imports 2015-04-16 20:00:10 +02:00
Raphael Michel
150150b9b0 Issue #19 won't be fixed, but documented.
Closes #19.
2015-04-06 12:58:20 +02:00
Raphael Michel
a0b9e9a5f9 Split requirements files
Remove unused import
2015-03-14 12:59:34 +01:00
Raphael Michel
8fdbd2c89b Unit tests for confirming orders 2015-03-14 12:53:12 +01:00
Raphael Michel
2fce883230 Move tests to directory outside of the main package 2015-03-14 00:57:09 +01:00