Commit Graph

1419 Commits

Author SHA1 Message Date
Raphael Michel
1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02: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
1b6be05a5f Fixed plugin tests 2016-09-20 12:43:26 +02:00
Raphael Michel
f6cde4c6e0 Added tests for JS i18n utils 2016-09-20 12:37:38 +02:00
Raphael Michel
f73dea55a1 Added tests for pretixdroid API v2 2016-09-20 12:27:21 +02:00
Raphael Michel
d2416272c5 Added tests for taking an event live 2016-09-20 00:21:43 +02:00
Raphael Michel
531d4b0ce9 Bankimport: Handle thousand seperator 2016-09-19 19:23:36 +02:00
Raphael Michel
52f3062d75 Fixed broken test 2016-09-18 21:01:24 +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
Raphael Michel
dae5d859db Banktransfer: Big import refactoring 2016-09-08 20:43:05 +02:00
Raphael Michel
fcee787ff5 Fixed a test that failed because of a new feature 2016-09-05 22:38:49 +02:00
Raphael Michel
7cb2adebc1 Stripe: Fixed severe problem that lead to all orders being marked as refunded 2016-09-05 22:21:21 +02:00
Raphael Michel
a764e6f55b Allow admin to manually change order email 2016-09-01 22:24:09 +02:00
Raphael Michel
5aa7740c45 Stripe: Removed global webhook, added test for webhook 2016-09-01 14:22:59 +02:00
Tobias Kunze
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
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
Raphael Michel
b21ed4d99f Fix #163 -- Form to change orders (#191) 2016-08-31 19:10:11 +02:00
Raphael Michel
dc3e1e3d30 Got rid of javascript-based random generator 2016-08-29 23:46:17 +02:00
Raphael Michel
1cb6c0e3da Add more tolerance about handwriting in order code detection 2016-08-29 23:21:55 +02:00
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