Commit Graph

1449 Commits

Author SHA1 Message Date
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
059e6bace5 Insert debug toolbar before other middlewares 2016-11-08 14:13:18 +01:00
Raphael Michel
1b0e11fe37 Remove redundant query to event table 2016-11-08 14:13:18 +01:00
Nicole Klünder
50d82143bc do not overwrite SESSION_ENGINE if it is already set (#235) 2016-11-07 19:53:15 +01:00
Raphael Michel
44b6777291 Fix compatibility with newer pytest versions 2016-11-07 11:57:08 +01:00
Raphael Michel
51aa8fa1ac Revert GlobalSettingsObject singleton as it broke tests 2016-11-07 11:12:42 +01:00
Raphael Michel
3ba8647464 Do not include locally installed plugins in test settings 2016-11-06 20:01:11 +01:00
Raphael Michel
7b48a17b51 Reduce number of redundant SQL queries 2016-11-06 19:59:19 +01:00
Raphael Michel
5aa3ff0616 Require a session to be present at all times, not just in pretix.presale views 2016-11-03 15:32:06 +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
3344c02c80 Do not show absolute file paths to user 2016-11-01 19:36:06 +01:00
Raphael Michel
01671236cf Updated German translation 2016-11-01 19:28:44 +01:00
Raphael Michel
acab1af0e9 Add feedback to global settings 2016-11-01 17:05:29 +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
Raphael Michel
93de3007d5 Allow files in global settings 2016-11-01 10:00:58 +01:00
Raphael Michel
7f7ee28f92 Move footer linklist to global template instead of event template 2016-10-31 19:07:18 +01:00
Raphael Michel
67b2135eeb Use safelink for global footer links 2016-10-31 19:06:06 +01:00
Raphael Michel
1ff9515b54 Fix unused import 2016-10-31 19:05:53 +01:00
Tobias Kunze
d54d9a70fb Include site-wide footer link/text 2016-10-31 19:03:41 +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
8c4023f065 Add regression tests for bug fixed in d8b833c 2016-10-30 16:58:19 +01:00
Raphael Michel
d8b833c257 Fix urgent TypeError in Order._can_be_paid 2016-10-30 10:28:56 +01:00
Raphael Michel
d701133f15 Revert to setuptools 28.6 on CI due to
https://github.com/pypa/setuptools/issues/833
2016-10-29 12:50:26 +02:00
Tobias Kunze
b74111f0d8 Show the currency on pending banktransfers (#289) 2016-10-29 12:29:07 +02:00
Tobias Kunze
d13198167a Fix #275 -- Pass user executing a refund (for logging) (#287)
Except when triggered by a webhook.
2016-10-27 14:59:35 +02: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
Raphael Michel
afb27010fd Fix wrong permission check in quota view 2016-10-23 19:21:18 +02:00
Raphael Michel
70199eb7ae Randomize filenames of settings files and delete old versions 2016-10-23 19:14:16 +02:00
Tobias Kunze
e6075cf97c Return boolean as method name suggests (#283) 2016-10-23 18:42:11 +02:00
Raphael Michel
dcd6f2d8d1 Fixed unused import 2016-10-21 10:49:09 +02:00
Raphael Michel
0dece9e62b Add a custom context manager for rollbacks (#282) 2016-10-21 10:40:04 +02:00
nelkenwelk
5923af37f3 Corrected minor splelling mistakes (#281) 2016-10-21 09:23:47 +02:00
Daniel Rosenblüh
ad2a712934 Added ordering in admin interface order list 2016-10-20 20:51:54 +02:00
Raphael Michel
39e940da5e Preview for ticket outputs 2016-10-20 20:43:31 +02:00
Raphael Michel
d6478e66de Fix #278 -- Preview for invoices 2016-10-20 18:58:05 +02:00
Raphael Michel
05ecfdb9e2 Refs #273 -- Add backwards migration (noop) and fix tests 2016-10-20 17:56:48 +02:00
Raphael Michel
32d00e4313 Refs #273 -- Fix broken migration tree and timezone issues 2016-10-20 15:10:55 +02:00
Raphael Michel
e5aa337e41 German translation: Consistent naming of plugins 2016-10-20 11:56:46 +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
bbca4e3d64 Added datepicker support in JavaScript 2016-10-20 11:56:46 +02:00
Raphael Michel
20cbefae33 Fixed wrong German translation 2016-10-19 11:46:06 +02:00