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
Tobias Kunze
a6f164c07e
Test payment methods
2016-11-17 23:50:42 +01:00
Tobias Kunze
95670dddc2
Add tests for GETting views in control/
2016-11-17 23:50:42 +01:00
Tobias Kunze
142750f8c2
Add tests for Events
2016-11-17 23:50:42 +01:00
Tobias Kunze
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 Kunze
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 Kunze
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 Kunze
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
Raphael Michel
2611b7619e
2FA: Added tests
2016-10-09 12:59:43 +02:00
Raphael Michel
d43d6f485b
Fix #258 -- Add a comment field to bank transactions
2016-10-08 20:18:35 +02:00
Raphael Michel
b5a23224c8
Added admin action to make an expired order pending again
2016-10-03 11:14:20 +02:00
Raphael Michel
59e2340529
PDF tickets: Very simple test
2016-10-03 11:00:18 +02:00
Raphael Michel
0248f4f333
SettingsTestCase: Fix unclosed resources
2016-10-03 10:40:01 +02:00
Raphael Michel
d00eb41222
Merge branch 'django110'
2016-10-03 10:31:49 +02:00
Raphael Michel
1ac6fb71b3
Stripe: added tests for the stripe API calls
2016-10-02 19:53:46 +02:00
Raphael Michel
197178fc52
Added error messages and tests to event settings pages
2016-10-02 19:13:55 +02:00
Raphael Michel
bc9deec77c
Added tests for changing the payment method
2016-10-02 19:13:55 +02:00
Raphael Michel
3bc2ddf79d
Fixed a test that should have never worked
2016-09-27 11:06:43 +02:00
Raphael Michel
efc6b6e480
Resolved various warnings, upgrade bootstrap3
2016-09-27 10:50:13 +02:00
Raphael Michel
41b21b7b96
Revert "Fixed a somehow broken test"
...
This reverts commit 9cc53c19b4 .
2016-09-26 19:01:38 +02:00
Raphael Michel
8d70153a39
Refactored test utilities
2016-09-26 15:58:14 +02:00
Raphael Michel
9cc53c19b4
Fixed a somehow broken test
2016-09-26 15:23:31 +02:00
Raphael Michel
68987970bf
OrderChangeManager: Deal with unlimited quotas correctly
2016-09-26 14:13:33 +02:00
Raphael Michel
2a8bbb9952
Fixed missing check for variation.active
2016-09-25 20:54:40 +02:00