Raphael Michel
76ec402fc5
Fix #436 -- Fix test cases broken in aed78c2d
2017-03-19 13:58:08 +01:00
Raphael Michel
c83f539bba
Add waiting list
2017-02-07 10:03:30 +01:00
Raphael Michel
0acee0e362
Get rid of User.givenname and User.familyname
2017-01-07 16:35:04 +01:00
Raphael Michel
852bc6c128
Avoid duplicate order position secrets
2016-12-20 14:48:41 +01:00
Raphael Michel
7154d3f510
Fix setting a voucher price to 0
2016-12-07 11:31:37 +01:00
Raphael Michel
eea6a5e9da
Refs #145 -- Vouchers that grant discounts
2016-11-29 16:18:07 +01:00
Raphael Michel
a8be2d5f24
Fix a test that fails on MySQL
2016-11-29 15:17:11 +01:00
Raphael Michel
db6fb51fc6
Refs #145 -- Multi-use vouchers
2016-11-27 16:02:40 +01:00
Christopher Dambamuromo
9662b956ed
Fix #294 -- Blacklist for slug validation ( #325 )
...
* Fix #294 - blacklist for slug validation
* Fix #294 - blacklist for slug validation
* fix for failing test
2016-11-21 11:57:52 +01:00
Tobias Kunze
142750f8c2
Add tests for Events
2016-11-17 23:50:42 +01:00
Raphael Michel
8c4023f065
Add regression tests for bug fixed in d8b833c
2016-10-30 16:58:19 +01:00
Tobias Kunze
aa63a4cded
Improved voucher interface with new methods ( #284 )
...
* Check that a voucher's variation matches its item
* Add method to check applicability of a voucher
* Add method to check if a voucher can be used
* Add tests for new voucher methods
* Test for ValidationErrors in Voucher.clean()
* Test for voucher state during ordering process
2016-10-24 12:40:06 +02:00
Enrique Saez
841cfe52a2
Fix #91 -- Make products/orders that are not cancelable ( #204 )
...
* Make products/orders that are not cancellable
Update Unit Tests
* Make use of select_related instead of prefetch_related
Simplify cancellable logic
Migrations
* Simplify cancellable logic
Maske use of select_related instead of prefetch_related
* Fix cancelable condition bug
2016-09-01 08:55:02 +02:00
Tobias Kunze
87a77989e7
Disallow cancelling an expired order
...
as per discussion on #165
2016-08-24 15:26:54 +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
fe6de0f635
Added ignored_quotas argument to check_quotas()
2016-08-15 11:48:48 +02:00
Raphael Michel
e881abd631
Fixed test that was broken due to 6d54239
2016-08-14 17:19:00 +02:00
Raphael Michel
58e706b721
Fixed bug in quota calculation (thanks @rixx!)
2016-08-04 18:00:28 +02:00
Raphael Michel
749e44f6e4
Fixed broken test
2016-05-08 13:06:51 +02:00
Raphael Michel
944b5db0bf
Refs #82 -- Make order expiry more clear ( #116 )
2016-05-07 17:03:32 +02:00
Raphael Michel
09cee356b0
Allow for vouchers that are valid for multiple items
2016-05-04 17:50:19 +02:00
Raphael Michel
842b058efd
Fixed an quota calculation issue
2016-03-22 17:43:35 +01:00
Raphael Michel
f748752391
Removed multi-dimensional item variations [backwards-incompatible]
2015-12-13 15:03:56 +01:00
Raphael Michel
d133d2abff
Removed CleanerVersion layer [backwards-incompatible!]
2015-12-12 13:08:33 +01:00
Raphael Michel
e70485e7fb
Re-added the ability to restrict a product sale by time
2015-12-06 18:18:54 +01:00
Raphael Michel
a2af3db771
Added the option of unlimited quotas
2015-10-21 16:31:58 +02:00
Raphael Michel
974c5cee79
Moved property to the inside of items
2015-10-08 12:45:19 +02:00
Raphael Michel
93d027cec6
Make all orders "guest orders"
2015-10-05 11:24:00 +02:00
Raphael Michel
7fc56b77db
Fixed #98 -- Handle deletion of cached files
2015-09-29 16:46:45 +02:00
Raphael Michel
7def097dcd
Refs #96 -- Completely removed local users
2015-09-17 00:55:00 +02:00
Raphael Michel
4bd8945432
Added a few more tests
2015-08-28 18:16:11 +02:00
Raphael Michel
8f6b92fbf3
Added tests and test configuration for pretix/base
2015-08-25 17:18:33 +02:00
Raphael Michel
36430f3b9a
Fixed tests that did not set a default_price on items
2015-07-26 17:07:31 +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
fc907a2ec7
Refactor mark_paid out of models
2015-06-03 13:59:12 +02:00
Raphael Michel
df524f31d5
Properly implement quota handling when receiving payments ( closes #11 )
2015-04-14 16:20:05 +02:00
Raphael Michel
03df35bccd
Data structures and form elements for internationalized data
2015-04-03 17:38:01 +02:00
Raphael Michel
2fce883230
Move tests to directory outside of the main package
2015-03-14 00:57:09 +01:00