Commit Graph

146 Commits

Author SHA1 Message Date
Raphael Michel
c30ff5e657 Only call now() once inside any event.lock() call 2016-08-29 22:33:51 +02:00
Raphael Michel
5f64aecafa Merge pull request #201 from rixx/ticket165_reactivate_voucher
Fix #165 -- Reactivate voucher on cancelled orders
2016-08-29 21:15:10 +02:00
Vishal Sodani
5346473f75 Fix #180 -- Hide add to cart button if no products active or no quantity left (#200)
* Hide add to cart button if no products active or no quantity left(#180)

* Fix PEP errors and improve logic

* Fix tests for add to cart change

* Fix the logic for toggling the visibility of Add to Cart button
2016-08-29 19:30:08 +02:00
Enrique Saez
3583dde1db Fix #202 -- Allow the manual ordering of questions
* Allow the manual ordering of questions
Update Unit Tests
Fix some typos

* Add migrations

* Minor notation change
2016-08-29 18:36:56 +02:00
Tobias Kunze
87a77989e7 Disallow cancelling an expired order
as per discussion on #165
2016-08-24 15:26:54 +02:00
Tobias Kunze
4191f93ece Add setting determining invoice number format (#193) 2016-08-16 21:18:39 +02:00
Raphael Michel
dadc4463fc Added more tests for voucher redemption 2016-08-15 23:00:44 +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
1cb956d508 Added setting to disable order cancelling for users 2016-08-15 16:42:39 +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
f2baf79a52 Properly implement and test quota checking in the voucher admin
This also fixes #170
2016-08-15 11:55:51 +02:00
Raphael Michel
fe6de0f635 Added ignored_quotas argument to check_quotas() 2016-08-15 11:48:48 +02:00
Raphael Michel
cba61ae8be Clear cache before running multidomain tests 2016-08-15 08:39:10 +02:00
Raphael Michel
a1824595b1 Bankimport: Compatibility with Postbank CSV files 2016-08-14 19:52:00 +02:00
Raphael Michel
7b5dd6bd6c Speed up the test suite 2016-08-14 17:56:58 +02:00
Raphael Michel
42b9559b6f Removed selenium as a test dependency 2016-08-14 17:20:33 +02:00
Raphael Michel
e881abd631 Fixed test that was broken due to 6d54239 2016-08-14 17:19:00 +02:00
Raphael Michel
d8a84e762f Replaced first selenium tests with bs4 2016-08-14 12:15:57 +02:00
Raphael Michel
58e706b721 Fixed bug in quota calculation (thanks @rixx!) 2016-08-04 18:00:28 +02:00
Raphael Michel
8d01e092b3 Fixed test that broke in 9b573b9 2016-07-30 15:50:12 +02:00
Raphael Michel
f91c95b1bc Added products that require a voucher to be bought/shown 2016-07-28 19:52:07 +02:00
Raphael Michel
2541855948 Fixed missing or unused imports 2016-07-18 23:12:16 +02:00
Raphael Michel
f4cefa9ad4 Improved permission testing 2016-06-10 15:45:02 +02:00
Raphael Michel
66bcbc785b FIxed broken test 2016-06-10 15:34:17 +02:00
Jason Estibeiro
e685f8e819 Added basic Django password validations and updated .gitignore (#136) 2016-05-11 13:38:31 +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
c0da0db59c Fixed bugs introduced in last commit 2016-05-07 14:53:23 +02:00
Raphael Michel
499cf6c5c8 Fixed flake8 problems 2016-05-04 18:35:33 +02:00
Raphael Michel
09cee356b0 Allow for vouchers that are valid for multiple items 2016-05-04 17:50:19 +02:00
Raphael Michel
36f3a815a1 Fixed a bug in Order._is_still_available 2016-04-04 10:33:53 +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
d96da427e1 Fixed invoice test 2016-03-24 14:38:10 +01:00
Raphael Michel
b2985ba8b4 Added tests for invoicing and template tags 2016-03-24 14:12:20 +01:00
Raphael Michel
be4435cdd8 Added test for serialization of LazyI18nString in settings 2016-03-24 14:12:20 +01:00
Raphael Michel
e3ac04fe86 Use pytest parameters for the plugin registry tests 2016-03-24 14:12:20 +01:00
Raphael Michel
4110c1c77a Always disable django-compressor during tests 2016-03-22 18:04:33 +01:00
Raphael Michel
842b058efd Fixed an quota calculation issue 2016-03-22 17:43:35 +01:00
Raphael Michel
cc77f4bc5c Adjusted a test to fit the last commit 2016-03-20 10:45:45 +01:00
Raphael Michel
0a50815645 Fixed a faulty test parameter 2016-03-13 19:28:32 +01:00
Raphael Michel
0cdefd4a5a Fixed a bug in the test suite 2016-03-13 19:22:59 +01:00
Raphael Michel
9efce8f203 Fixed #132 -- Reverse payment fee calculation 2016-03-13 19:10:45 +01:00
Raphael Michel
2848a94cee Disabled test that suddenly started to fail 2016-03-12 11:37:55 +01:00
Raphael Michel
cd080e978c Added a basic test for the Event.live flag 2016-02-23 09:03:13 +01:00
Raphael Michel
c28b40a118 Unit Tests should create enabled events 2016-02-23 08:58:39 +01:00
Raphael Michel
cc0dcb87ab Fixed a broken test 2016-02-18 12:58:03 +01:00
Raphael Michel
bcde964ea3 Added voucher control UI to permission test cases 2016-02-09 12:25:05 +01:00
Raphael Michel
72853b4a94 Fixed a test broken in 7e69d8e 2015-12-13 18:03:38 +01:00