Commit Graph

31 Commits

Author SHA1 Message Date
Raphael Michel
afd766999c Upgrade to Django 2.1 (#710)
* Upgrade to Django 2.0

* more models

* i18n foo

* Update setup.py

* Fix Sentry exception PRETIXEU-JC

* Enforce slug uniqueness

* Import sorting

* Upgrade to Django 2.1

* Travis config

* Try to fix PostgreSQL failure

* Smaller test matrix

* staticfiles→static

* Include request in all authenticate() calls
2018-08-06 12:48:46 +02:00
Raphael Michel
784f6e703c CSP: Exclude PDF editor (just doesn't work in FF) 2017-09-28 18:44:12 +02:00
Raphael Michel
29b157f287 CSP: Add reporting endpoint 2017-09-28 18:43:45 +02:00
Raphael Michel
b2d4bea1d0 Refs #314 -- Read-only REST API (#513)
* initial commit

* API auth

* Hierarchical URLs

* Add session auth

* Strong hierarchy

* Add filters

* Add i18n fields, questions

* More viewsets and serializers

* Ticket download

* Add OrderPosition serializer

* View-level permissions

* More tests

* More tests

* Add basic API docs

* Add REST API to docs frontpage

* Tests for order endpoints

* Add invoice tests

* Voucher and waitinglist tests

* Doc draft

* order docs

* Docs on all viewsets

* Disable DRF docs, style sphinx, style browsable API

* Fix tests

* deprecated imports

* Test foo

* Attendee names

* Fix migration problems

* Remove browsable API, plugin integration

* Doc fixes
2017-06-19 11:16:04 +02: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
fbd1c0d367 Django 1.10: URL configuration deprecations 2016-09-27 10:21:54 +02:00
Raphael Michel
e29ccca49b Fix #229 -- Consistent language between django and javascript 2016-09-17 22:46:07 +02:00
Raphael Michel
f128a5f559 Fixed a referer leak 2016-09-14 10:34:20 +02:00
Raphael Michel
af223bd69b Fixed wrong URL name 2016-09-05 23:53:33 +02:00
Raphael Michel
d8b7765a9b Added simple health check 2016-05-31 00:11:26 +02:00
Raphael Michel
93502777b5 Documented pretix' URL layer 2016-05-29 18:49:04 +02:00
Raphael Michel
f999b9ffd9 Updated standalone docker file and install guide 2016-05-09 11:11:25 +02:00
Raphael Michel
5cca426cd3 Removed all inline <script> tags 2016-04-10 16:44:49 +02:00
Raphael Michel
89f0c5e461 Be explicit about subdomain_ and maindomain_ urls in plugins 2016-03-24 12:57:19 +01:00
Raphael Michel
0b4cae07c4 Splitted URL configuration for main and subdomains 2015-10-21 18:16:17 +02:00
Raphael Michel
3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel
c8830cc880 Added custom error pages 2015-09-17 23:44:07 +02:00
Raphael Michel
9ab6cc52c7 Refs #40 -- Removed Python 3.2/3.3 support 2015-08-22 14:23:11 +02:00
Raphael Michel
6b341ed485 Fixed Python 3.2/3.3 compatibility 2015-08-21 12:09:34 +02:00
Raphael Michel
aed73b0c61 Changed plugin URL config to create better error messages,
fixed an import error
2015-08-20 22:45:24 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
ab88faec56 Remove Admin 2015-05-28 21:55:54 +02:00
Raphael Michel
d981998a40 Proper namespaces for plugin URLs 2015-04-16 09:35:18 +02:00
Raphael Michel
76b85cd4fc Allow plugins to register URLs 2015-03-15 16:26:06 +01:00
Raphael Michel
97f5e4a2f1 Migrate to Django 1.8-style URLconfigs
See
https://docs.djangoproject.com/en/dev/releases/1.8/#django-conf-urls-patterns
and #14
2015-03-13 00:05:57 +01:00
Raphael Michel
7666d04580 django-debug-toolbar now supports Django 1.8. Yay! 2015-03-12 23:06:30 +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
077413f41c Restructure our python module. A lot. 2015-02-14 17:55:13 +01:00
Raphael Michel
68ff568d47 Move URLconfig around to fix Django Debug Toolbar 2015-02-11 17:23:35 +01:00
Raphael Michel
b0e1546469 Django app architecture for pretixpresale 2015-02-10 22:39:35 +01:00
Raphael Michel
6648e7ed03 Rename tixl to pretix 2015-01-19 01:10:35 +01:00