Commit Graph
79 Commits
Author SHA1 Message Date
Raphael Michel ad35110166 Offer download options per position, not per order 2016-11-02 14:51:05 +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 503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Raphael Michel d00eb41222 Merge branch 'django110' 2016-10-03 10:31:49 +02:00
Raphael Michel bc9deec77c Added tests for changing the payment method 2016-10-02 19:13:55 +02:00
Raphael Michel efc6b6e480 Resolved various warnings, upgrade bootstrap3 2016-09-27 10:50:13 +02:00
Raphael Michel 2a8bbb9952 Fixed missing check for variation.active 2016-09-25 20:54:40 +02:00
Raphael Michel 84fd7cb166 Merge remote-tracking branch 'remotes/flaviabastos/187_unify_canceled_spelling' 2016-09-21 19:07:15 +02:00
Flavia Bastos 8ef6439c44 Unify spelling of 'canceled'
Issue 187
Remove typeahead JS file.
2016-09-21 10:35:41 -06:00
Raphael Michel dff43ed130 Improved fuzzy tests 2016-09-20 17:03:22 +02:00
Raphael Michel a92923c7d0 Added tests for the voucher redemption view 2016-09-20 16:37:46 +02:00
Raphael Michel d1f79faef2 New tests and minor fixes 2016-09-20 16:13:13 +02:00
Raphael Michel 5a9c760633 Fixed bug when modifying an expired cart including a voucher 2016-09-17 23:42:23 +02:00
Raphael Michel 9318652124 Fixed a broken test 2016-09-12 17:31:33 +02:00
Raphael Michel 037aa7fc59 Improved tests
The tests should have been broken by 52906ab, but they weren't because
the tests were to tolerant.
2016-09-09 14:53:09 +02:00
Tobias KunzeandRaphael Michel 7e19effe3c Fix #122 -- Allow users to re-send order links (#197)
If the provided mail address has not ordered anything, there will still
be a mail generated and sent to an invalid mail address, to avoid
obvious timing attacks to determine active users.
2016-09-01 08:59:36 +02:00
Vishal SodaniandRaphael Michel 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
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 42b9559b6f Removed selenium as a test dependency 2016-08-14 17:20:33 +02:00
Raphael Michel d8a84e762f Replaced first selenium tests with bs4 2016-08-14 12:15:57 +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 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 cc77f4bc5c Adjusted a test to fit the last commit 2016-03-20 10:45:45 +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 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 4a1122a862 Fixed #108 -- Removed the restrictions system 2015-12-06 17:49:02 +01:00
Raphael Michel 97debe73ae Fixed variations with unlimited availability 2015-11-12 19:14:20 +01:00
Raphael Michel ecebe481d7 Rename "session" field to "cart_id" 2015-11-04 23:39:59 +01:00
Raphael Michel 232c42b265 Added an organizer overview page 2015-10-22 17:45:19 +02:00
Raphael Michel ae4d102288 Added tests for the checkoutflow module 2015-10-18 18:02:52 +02:00
Raphael Michel 3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel 974c5cee79 Moved property to the inside of items 2015-10-08 12:45:19 +02:00
Raphael Michel c4638a3402 Enabled asynchronous cart/order actions 2015-10-05 11:33:53 +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 109e18e891 Added unit tests for authentication forms 2015-09-29 01:00:54 +02:00
Raphael Michel d5e7ee8d8d Added a test for detecting inactive items in cart 2015-09-28 23:44:40 +02:00
Raphael Michel 803cfb446a Fixed a test that now requires login to be useful 2015-09-27 21:04:17 +02:00
Raphael Michel b8f1be8910 Swapped the names of two tests 2015-09-27 20:51:26 +02:00