Commit Graph

209 Commits

Author SHA1 Message Date
Raphael Michel
9a2e75cbfb Additional tests for the item list 2015-02-18 21:37:12 +01:00
Raphael Michel
1d6232f30b Versionable.clone_shallow() has to set version_end_date records 2015-02-18 21:27:15 +01:00
Raphael Michel
6ac29924a2 First tests for pretix.presale 2015-02-18 20:41:11 +01:00
Raphael Michel
c5ae503c0e Fix a severe bug in VariationField 2015-02-18 20:36:36 +01:00
Raphael Michel
03184bdbf2 Deal with items that belong to no category 2015-02-18 19:45:48 +01:00
Raphael Michel
fa405372b9 Merge branch 'master' of github.com:pretix/pretix 2015-02-18 10:53:09 +01:00
Raphael Michel
3f7d3711ef New pep8 version added a warning W503 which we will ignore 2015-02-18 10:52:38 +01:00
Raphael Michel
54b494890e Login is mandatory for adding things to a card 2015-02-17 23:27:43 +01:00
Raphael Michel
c827579a8e Merge branch 'master' of https://github.com/pretix/pretix 2015-02-17 20:33:10 +01:00
Raphael Michel
73aa3fb4bc Add a simple framework for event- and organizer-related settings 2015-02-15 00:40:02 +01:00
Raphael Michel
38e313c886 Cart expiry handling, checkout link 2015-02-14 23:53:39 +01:00
Raphael Michel
93aeda0bdb Update plugin docs 2015-02-14 18:00:10 +01:00
Raphael Michel
1a7b9d0744 There shouldn't have been an __init__.py in src/ 2015-02-14 17:57:31 +01:00
Raphael Michel
077413f41c Restructure our python module. A lot. 2015-02-14 17:55:13 +01:00
Raphael Michel
cf18f3e200 Minor changes to the shopping cart 2015-02-14 16:32:39 +01:00
Raphael Michel
15896d2f41 flake8 run 2015-02-14 12:29:06 +01:00
Raphael Michel
294ef76660 Display and manipulate cart 2015-02-14 12:23:20 +01:00
Raphael Michel
cbf94ad4f1 Move some optimizations and checks around 2015-02-14 11:13:13 +01:00
Raphael Michel
7f84069f4d Code documentation 2015-02-14 11:01:59 +01:00
Raphael Michel
5d2af48732 Small refactoring in cart.py and related locations 2015-02-14 10:52:01 +01:00
Raphael Michel
ae9cb552af Set locked parameter on Quota item 2015-02-13 21:57:08 +01:00
Raphael Michel
0d4f461000 Very basic locking mechanism for quotas 2015-02-12 19:14:34 +01:00
Raphael Michel
6537324394 Every variation has to belong to a quota to be sold 2015-02-12 19:10:25 +01:00
Raphael Michel
0026309b85 First implementation of adding things to your cart 2015-02-12 18:51:47 +01:00
Raphael Michel
260266f2d9 View structure for adding items to cart 2015-02-12 12:14:28 +01:00
Raphael Michel
a31602bad9 Minor database access optimization 2015-02-12 12:11:36 +01:00
Raphael Michel
a08aa21683 Fix occurence of old settings name 2015-02-12 11:36:17 +01:00
Raphael Michel
af7793e235 Fix of error in last commit 2015-02-12 11:02:21 +01:00
Raphael Michel
583b029776 Travis is annoying me 2015-02-12 10:50:47 +01:00
Raphael Michel
c4f441dc40 Limit number of available tickets by maximum number of tickets per order 2015-02-12 10:48:22 +01:00
Raphael Michel
71d9d563d6 Event setting for maximum number of tickets per order 2015-02-12 10:41:04 +01:00
Raphael Michel
98db147257 Workaround a migration hiccup caused by
https://github.com/swisscom/cleanerversion/issues/56
2015-02-12 10:40:35 +01:00
Raphael Michel
2ee7ddd9b2 Determine not only availability, but number of remaining tickets 2015-02-12 10:37:29 +01:00
Raphael Michel
f6b4f726e1 Rename settings variable 2015-02-12 10:37:08 +01:00
Raphael Michel
6467b84a49 Add a landscape configuration file 2015-02-12 10:22:08 +01:00
Raphael Michel
80cae59d99 Add a test case for quota availability 2015-02-12 10:13:38 +01:00
Raphael Michel
e6a1e93fc2 Make some fields nullable 2015-02-12 10:13:22 +01:00
Raphael Michel
d68a15b499 Travis CI: Verbose output 2015-02-12 09:29:26 +01:00
Raphael Michel
7a5df55e38 Travis currently likes to fail because the tests do not output anything
for 10 minutes, more often with Python 3.2 than with others. This could be
a problem with our test code, but just as likely a problem with Travis,
so we'll try whether a travis_wait command helps.
2015-02-12 00:43:07 +01:00
Raphael Michel
01b34f42cf First steps on item availability 2015-02-12 00:35:23 +01:00
Raphael Michel
f6bafd1f5e Start implementing the Quota magic 2015-02-11 22:17:56 +01:00
Raphael Michel
9f1131023d Rename model field for consistency 2015-02-11 21:35:33 +01:00
Raphael Michel
c81ee1ea5a Remove a dead code path 2015-02-11 18:42:59 +01:00
Raphael Michel
a026d838f7 Explicit secondary ordering of categories 2015-02-11 18:41:36 +01:00
Raphael Michel
270a359e2e Variations on pretixpresale's initial ticket layout 2015-02-11 18:32:43 +01:00
Raphael Michel
68ff568d47 Move URLconfig around to fix Django Debug Toolbar 2015-02-11 17:23:35 +01:00
Raphael Michel
8e14a1db11 Fix locale determination test. Was broken because the test called an URL
which issued a 301 redirect.
2015-02-11 17:13:37 +01:00
Raphael Michel
d32cebb509 Except Django admin settings and test code from coverage calculations 2015-02-11 17:12:40 +01:00
Raphael Michel
e1a7a9c5dc Very basic layout for the event front page 2015-02-10 23:16:03 +01:00
Raphael Michel
0d552e8c07 Static file and template setup for pretixpresale 2015-02-10 22:48:03 +01:00