Commit Graph

1419 Commits

Author SHA1 Message Date
Raphael Michel
4919f8991c Automatic update checks (#434)
* Basic update checks

* Fix issues pointed out by @rixx

* First test

* Add tests

* Even more tests
2017-04-01 15:34:34 +02:00
Raphael Michel
8dacbe0fc6 Add docs for metrics and FakeRedis.pipeline 2017-03-27 23:07:33 +02:00
Raphael Michel
2f6e36c504 Metrics: Replace redundant metrics by aliases 2017-03-27 22:24:35 +02:00
Raphael Michel
e28030576a Metrics: Follow conventions (thanks @cherti) 2017-03-27 21:43:11 +02:00
Raphael Michel
f828fcdcab Fix and extend metrics tests 2017-03-25 22:08:44 +01:00
Raphael Michel
4514bd7e53 Add metrics for view/task time 2017-03-25 21:38:42 +01: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
259c0cca69 Explicit position ordering in invoice tests 2017-03-19 15:04:21 +01:00
Raphael Michel
76ec402fc5 Fix #436 -- Fix test cases broken in aed78c2d 2017-03-19 13:58:08 +01:00
Flavia Bastos
5d431b3843 Add test for sendmail plugin (#417)
* add test for sendmail plugin

* add post request

* failing get request

* test sendmail simple case

* add tests for sendmail plugin

* add tests to sendmail plugin - adjust test name

* fix multi_locales test for sendmail plugin
2017-03-17 11:03:43 +01:00
jlwt90
af3e811f94 Fix #428 -- Timezone handling on event creation/update (#432)
* add event timezone during event creation

* add timezone handling in EventUpdate

* added event creation test cases & form cleaning bug fix
2017-03-13 16:44:05 +01:00
Raphael Michel
8418eb2c6b Add basic tests for event creation 2017-03-12 17:23:39 +01:00
jlwt90
55953d5b4e Fix #389 -- Add event ical download feature (#413)
* added event ical download feature

* handle event settings and timezone

* add test cases for ical download

* fix failed test case for timezone settings

* using vobject lib to generate ical

* customised UID & add vobject dependency
2017-03-09 21:13:08 +01:00
jlwt90
1baac6bb21 add voucher code in success message (#426)
* add voucher code in success message

* change voucher message
2017-03-05 09:32:56 +01:00
Raphael Michel
af4a2c7184 Run tests on multiple Python versions and databases (#424)
* Test against more python versions

* Add testing on MySQL

* Add testing on PostgreSQL
2017-03-02 11:59:09 +01:00
Raphael Michel
8b7d2314b8 Use django-i18nfield library (#418) 2017-02-27 21:16:28 +01:00
Jakob Schnell
c251a48e31 Fix #248 -- Failed Payment error handling (#333)
* [WIP] Failed Payment error handling

When finished, this should fix #248

* rename PaymentFailedException to PaymentException\nimported Exception where neccessary

* comments fixed

* minor style fixes

* Fixed a name error
2017-02-24 14:11:41 +01:00
Raphael Michel
09020143e7 Refactoring of cart services (#414) 2017-02-21 17:15:43 +01:00
Raphael Michel
7e135be012 Add tests and remove redundant checks 2017-02-17 16:19:03 +01:00
Raphael Michel
d94c67bc7a Adjust test to previous change 2017-02-17 09:58:52 +01:00
Raphael Michel
c4bf73c8d6 Refs #340 -- Allow order changes for paid orders if they don't change the total 2017-02-15 18:42:46 +01:00
Tobias Kunze
9b7223c0e8 Enforce a sane last payment date (#412) 2017-02-15 16:37:10 +01:00
Raphael Michel
824ca54478 Refs #386 -- Add unit test 2017-02-08 10:24:50 +01:00
Raphael Michel
c83f539bba Add waiting list 2017-02-07 10:03:30 +01:00
Raphael Michel
56bf3fe459 PayPal: Different types of webhooks 2017-01-15 21:28:54 +01:00
Raphael Michel
0acee0e362 Get rid of User.givenname and User.familyname 2017-01-07 16:35:04 +01:00
Raphael Michel
15b5e66da9 Add URL to permission test list 2017-01-07 14:13:14 +01:00
Raphael Michel
847997ea9b Fix #32 -- Add a PayPal webhook listener 2017-01-04 16:45:57 +01:00
Raphael Michel
aed9382fd7 Introduce RequiredAction model
Fix #343 by no longer marking as refunded automatically
2017-01-04 15:04:18 +01:00
Raphael Michel
adbe966d85 Fixed failing test 2017-01-04 00:22:13 +01:00
Raphael Michel
e6f731ad77 New event creation wizard 2017-01-01 19:47:02 +01:00
Raphael Michel
0082216d75 Fix failing tests 2016-12-22 18:25:58 +01:00
Raphael Michel
d0a5529080 Fix two broken tests 2016-12-21 19:03:23 +01:00
Raphael Michel
852bc6c128 Avoid duplicate order position secrets 2016-12-20 14:48:41 +01:00
Raphael Michel
8e4eb52386 pretixdroid: add status endpoint (#351) 2016-12-08 22:38:17 +01:00
Raphael Michel
7154d3f510 Fix setting a voucher price to 0 2016-12-07 11:31:37 +01:00
Raphael Michel
bfd87f11dd Stripe: Mark order as paid on successful webhook call 2016-11-30 13:00:16 +01:00
Raphael Michel
248ab25567 Fix #296 -- DST issues with expiry dates 2016-11-29 17:05:33 +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
b15c4e6d6f Fixed broken test on redis 2016-11-29 15:14:08 +01:00
Christopher Dambamuromo
4a2e3e3e16 Fix #303 -- valid until date for payment providers (#334)
* Fix 303

* fix #303

* minor refactoring

* improving timezone aware

* added documentation
2016-11-27 16:09:26 +01:00
Raphael Michel
db6fb51fc6 Refs #145 -- Multi-use vouchers 2016-11-27 16:02:40 +01:00
Raphael Michel
9bce339575 Change and refactor _items_from_post_data to deal with multiple fields 2016-11-22 20:38:33 +01:00
FlaviaBastos
bf7db945b0 add empty cart button #161
add failing test for variation item with voucher
2016-11-22 20:38:33 +01:00
FlaviaBastos
a0ce81a538 addd empty cart button and remove all test
#161
2016-11-22 20:38:33 +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
Raphael Michel
8e274f7e86 Fix flake8 issue 2016-11-21 08:44:16 +01:00
Jonas Große Sundrup
d3327b1e45 Add basic instrumentation possibilities to pretix (#271)
* add basic instrumentation possibilities to pretix

* make tabs to spaces

* apply flake8

* implement upstreams suggestions, round 1

* adjust naming of redis-connection

* address noredis

* add view for metrics

* implement HTTP basic auth in front of metrics-endpoint

* rename labelset

* make flake8-clean

* implement upstreams suggestions, round 2

* correct minor slipups

* fix missing return

* let isort add an empty line

* implement test for counter

* implement upstream suggestions, round 3

* correct typo

* implement first test for view

* finish view-test

* fix deprecated keyword

* implement upstream-suggestions, round 4

* implement test for gauge

* test exceptions as well

* add db-decorator
2016-11-20 14:46:45 +01:00
Raphael Michel
ddb2b44496 Improve payment method tests 2016-11-17 23:50:42 +01:00