Raphael Michel
e13d11be78
Cart tests
2015-02-20 22:00:07 +01:00
Raphael Michel
504081cce3
Basic tests for cart features
2015-02-20 01:14:23 +01:00
Raphael Michel
4da23d33b5
Remove legacy multi-browser and Sauce test runner code
2015-02-20 01:05:23 +01:00
Raphael Michel
38a56e06d2
Remove a TODO statement
2015-02-20 00:07:08 +01:00
Raphael Michel
89a5c65df7
Premature optimization indeed is the root of all evil
2015-02-19 23:50:58 +01:00
Raphael Michel
0fb7875c98
Experimental caching for the number of paid tickets
2015-02-19 00:26:22 +01:00
Raphael Michel
9f850f611c
Django 1.8b1 is coming this week, we are ready.
...
We are, django-debug-toolbar isn't.
2015-02-18 22:08:30 +01:00
Raphael Michel
e266b0438c
formclass= argument will get optional in Django 1.8
2015-02-18 22:07:08 +01:00
Raphael Michel
1e7d839731
django.utils.unittest is deprecated
2015-02-18 21:47:29 +01:00
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