Commit Graph

481 Commits

Author SHA1 Message Date
Raphael Michel
fa0bd5e89e Moved Checkin model to pretixbase 2016-12-08 17:51:23 +01:00
Raphael Michel
d27fefe4da Improve URL parameter validation 2016-12-08 12:22:04 +01:00
Raphael Michel
7154d3f510 Fix setting a voucher price to 0 2016-12-07 11:31:37 +01:00
Raphael Michel
970734cff7 Fix DoesNotExist error 2016-12-05 13:51:45 +01:00
Raphael Michel
f76d173162 Fix various doc issues 2016-11-29 17:19:22 +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
fdbe71ff63 Fix #141 -- Caching improvements for ticket outputs 2016-11-29 15:52:16 +01:00
Raphael Michel
4d7b5a0a3b Update German translation 2016-11-27 19:54:25 +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
Tobias Kunze
8648e9c04d Fix #302 -- Change column layout in order overview (#336)
* Change column layout in order overview. Closes #302

* Include expired orders explicitly in order overview
2016-11-27 14:36:53 +01:00
Raphael Michel
026d8dcd41 Fixed validator classes to make them supported in migrations 2016-11-26 14:00:31 +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
8f3ffd6f2e Add profiling for celery tasks 2016-11-20 15:19:31 +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
5ef52598c6 Fixed incorrect handling of exceptions in async tasks 2016-11-19 20:44:14 +01:00
Tobias Kunze
7b45112b91 Remove duplicate order refund log action (#324) 2016-11-19 18:08:23 +01:00
Tobias Kunze
e89fa4f7f9 Add PEP8 style empty lines in appropriate places (#321)
New flake8 version finds more (correct) issues.
2016-11-17 11:17:43 +01:00
Raphael Michel
d653ea5256 Add documentation for Order.meta_info 2016-11-13 16:06:54 +01:00
Raphael Michel
f580f1fce5 Add meta_info to orders 2016-11-13 16:04:32 +01:00
Raphael Michel
1bc6da262f Fix invalid task call 2016-11-11 15:17:39 +01:00
Raphael Michel
342a41f1d7 Fix invoice download if not all invoices have PDFs yet 2016-11-11 15:05:39 +01:00
Tobias Kunze
2f0c7c0ebc Fix #301 -- Add net revenue to sales overview (#313) 2016-11-10 22:24:43 +01:00
Raphael Michel
5999604e8e Improve an ddocument dictsum 2016-11-10 19:58:32 +01:00
Raphael Michel
427a0fdf71 Document stats.tuplesup 2016-11-10 19:50:41 +01:00
Raphael Michel
c9d38d7f23 Fix #305 -- tax data in CSV report 2016-11-09 17:42:47 +01:00
Raphael Michel
2e9e8eabb1 Fixed a broken test 2016-11-09 12:26:06 +01:00
Raphael Michel
0fc102615f Add timezone support to get_date_from_display 2016-11-09 12:12:20 +01:00
Raphael Michel
38c4bd454e Translation in reports 2016-11-09 12:08:53 +01:00
Raphael Michel
1016664a5d Remove duplicate dot in file downloads 2016-11-09 10:48:30 +01:00
Raphael Michel
455d0ba64f Remove debugging statement 2016-11-09 10:48:19 +01:00
Raphael Michel
573603f420 Fix django-debug-toolbar 2016-11-08 17:27:49 +01:00
Raphael Michel
37598ed914 Further SQL optimizations 2016-11-08 16:58:48 +01:00
Raphael Michel
c53691cb8c Aggressive caching of settings 2016-11-08 15:11:58 +01:00
Raphael Michel
368d04ae72 Reduce quota calculations on front page 2016-11-08 14:14:10 +01:00
Raphael Michel
51aa8fa1ac Revert GlobalSettingsObject singleton as it broke tests 2016-11-07 11:12:42 +01:00
Raphael Michel
7b48a17b51 Reduce number of redundant SQL queries 2016-11-06 19:59:19 +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
3596fcd4dd Include a sample address for sample orders 2016-11-01 15:44:58 +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
Raphael Michel
95703a0703 Change slug of GlobalSettingsObject 2016-11-01 10:04:12 +01:00
Tobias Kunze
c5fdf7c215 Include global settings in event/organizer settings
Also, add tests
2016-10-31 19:03:41 +01:00
Tobias Kunze
c647aa9f4e Add a view for GlobalSettings 2016-10-31 19:03:41 +01:00
Tobias Kunze
02fd0a8e06 Add GlobalSetting model 2016-10-31 19:03:41 +01:00
Raphael Michel
d8b833c257 Fix urgent TypeError in Order._can_be_paid 2016-10-30 10:28:56 +01:00
Tobias Kunze
2de328a33b Minor edits in ticketouput docs (#285) 2016-10-24 23:22:51 +02: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
853510a375 Added an upper price limit to fit our decimal context 2016-10-23 19:34:29 +02:00