Commit Graph
244 Commits
Author SHA1 Message Date
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 MichelandGitHub 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 DambamuromoandRaphael Michel 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
FlaviaBastosandRaphael Michel bf7db945b0 add empty cart button #161
add failing test for variation item with voucher
2016-11-22 20:38:33 +01:00
FlaviaBastosandRaphael Michel a0ce81a538 addd empty cart button and remove all test
#161
2016-11-22 20:38:33 +01:00
Christopher DambamuromoandRaphael Michel 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 SundrupandRaphael Michel 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
Tobias KunzeandRaphael Michel a6f164c07e Test payment methods 2016-11-17 23:50:42 +01:00
Tobias KunzeandRaphael Michel 95670dddc2 Add tests for GETting views in control/ 2016-11-17 23:50:42 +01:00
Tobias KunzeandRaphael Michel 142750f8c2 Add tests for Events 2016-11-17 23:50:42 +01:00
Tobias KunzeandRaphael Michel 5ea35aa76f Add tests for invoicing 2016-11-17 23:50:42 +01:00
Raphael Michel 56d9a1a3ad Skip test_send_mail_with_user_locale if .mo files do not exist 2016-11-11 14:32:58 +01:00
Raphael Michel 4c80ec17bf Fix caching problems in unit tests 2016-11-08 16:20:03 +01:00
Raphael Michel d2ce002305 Fix further problems with py.test 2016-11-08 15:25:38 +01:00
Raphael Michel c53691cb8c Aggressive caching of settings 2016-11-08 15:11:58 +01:00
Raphael Michel 44b6777291 Fix compatibility with newer pytest versions 2016-11-07 11:57:08 +01:00
Raphael Michel 3ba8647464 Do not include locally installed plugins in test settings 2016-11-06 20:01:11 +01:00
Raphael Michel 8085d7e281 Do not check for plugin type in tests 2016-11-03 11:50:50 +01:00
Raphael Michel 0b167aaa2c Deprecate PluginType 2016-11-03 11:33:44 +01:00
Raphael Michel ad35110166 Offer download options per position, not per order 2016-11-02 14:51:05 +01:00
Raphael Michel e8b28f88eb Do not try to unserialize multiple times when a setting is inherited 2016-11-01 10:46:18 +01:00
Tobias KunzeandRaphael Michel c5fdf7c215 Include global settings in event/organizer settings
Also, add tests
2016-10-31 19:03:41 +01:00
Raphael Michel 8c4023f065 Add regression tests for bug fixed in d8b833c 2016-10-30 16:58:19 +01:00
Tobias KunzeandRaphael Michel 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
Raphael Michel 05ecfdb9e2 Refs #273 -- Add backwards migration (noop) and fix tests 2016-10-20 17:56:48 +02:00
Raphael Michel f22596a5a5 Fix #273 -- Set correct all order expiry times to the end of the day 2016-10-20 11:56:46 +02: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 3bd3998eca Removed an unused import 2016-10-15 12:30:04 +02:00
Raphael Michel 503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Tobias KunzeandRaphael Michel 1e276b9d0a Remove AttendeeList view
It could not even filter for attendee and you can do everything (and
better and more) in the OrdersList. And it's one menu entry less to
clutter the interface.
2016-10-12 18:44:11 +02:00
Raphael Michel 888aba5714 2FA: Require recent authentication to change settings 2016-10-09 12:59:43 +02:00