Commit Graph
45 Commits
Author SHA1 Message Date
Raphael MichelandGitHub 6d1dea7922 Upgrade to Django 2.2 and modern DRF and py.test (#1246)
* Upgrade django and stuff

* Update to Django 2.2 and recent versions of similar packages

* Provide explicit orderings to all models used in paginated queries

* Resolve naive datetime warnings in test suite

* Deal with deprecation warnings

* Fix sqlparse version
2019-04-07 14:09:49 +01:00
Tobias KunzeandRaphael Michel 51c6d60760 Use http_date instead of cookie_date (#1042)
http_date is deprecated as of Django 2.1
2018-10-09 10:50:25 +02:00
Raphael Michel db513b21f8 Fix Apple Pay verification for organizer domains 2018-10-09 09:22:12 +02:00
Raphael Michel fc71f484ad Fix urlconf definition 2018-10-05 10:41:35 +02:00
Raphael Michel a85b96ea89 Allow plugins to have organizer_patterns 2018-10-05 09:31:14 +02:00
Raphael MichelandGitHub 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 b8225bd206 Stop creating an empty session on first request 2018-03-10 14:19:28 +01:00
Tim FreundandRaphael Michel 1c01e23867 Name presale index + unit test for URL names (#784)
* Name the default URL

If metrics collection is enabled, the index page of the site will fail
to load: without a name, the metrics middleware throws a TypeError.

* Test for names on all URLs

This test passes if all URLs have names. Without names, URLs will cause
the optional metrics middleware to throw a TypeError.
2018-02-26 10:17:42 +01:00
Raphael Michel 64b67e5396 Reduce number of calls to domain cache 2017-10-18 10:27:57 +02:00
Raphael Michel ab2084692d Cache organizer instance by domain 2017-10-18 10:27:57 +02:00
Raphael Michel 03133dc1fd Cache access to cache object 2017-10-18 10:27:57 +02:00
Raphael MichelandGitHub 43b5140754 New handling of plugin URLs (#609) 2017-08-29 10:01:50 +03:00
Raphael Michel 130f619b05 Fix raven integration 2017-07-17 20:29:56 +02:00
Raphael Michel 275d162b81 List of events: Optional calendar view 2017-07-08 22:50:48 +02:00
Raphael Michel bf5ea81b40 Ignore style in tests, change import order 2017-06-01 13:28:11 +02:00
Raphael Michel 031ed8f3cd Add new template tag abseventurl 2017-03-16 09:59:54 +01:00
Tobias KunzeandRaphael Michel 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 50eb518d41 Remove debugging output 2016-11-08 17:27:39 +01:00
Raphael Michel 6adcf4bc7c Use more caching in multidomain module 2016-11-08 16:03:06 +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 fbd1c0d367 Django 1.10: URL configuration deprecations 2016-09-27 10:21:54 +02:00
Raphael Michel 965428e422 Django 1.10: New-style middlewares 2016-09-27 10:00:03 +02:00
Raphael Michel 6d894bf98c Custom 404 error view to handle translated error messages correctly 2016-09-26 19:01:38 +02:00
Raphael Michel 497663d0d8 Do not count coverage for a deprecated code path 2016-09-20 12:30:12 +02:00
Raphael Michel 11abf83a7f Added caching for eventreverse 2016-09-19 17:53:41 +02:00
Raphael Michel 0663bb902e Fixed a problem with plugin URL reversal
It turns out that django does not support multiple include() statements
that define the same namespace (only the first one will be used). But
there isn't a problem that can't be solved with another level of
indirection ;)
2016-08-15 15:35:32 +02:00
Raphael Michel 39ada8954e Added optional links to the order in emails 2016-08-04 17:56:07 +02:00
Raphael Michel 8dcb8193fa Added deprecation warning for old-style urlconfigs in plugins 2016-08-03 09:43:43 +02:00
Raphael Michel dd7f9c952f Fixed plugins with event URLs only 2016-07-31 13:43:42 +02:00
Raphael Michel f8392db16c Added a mainreverse equivalent to eventreverse 2016-07-31 13:06:20 +02:00
Raphael Michel c744ee93b9 Simplify the API for custom URLs 2016-07-31 13:04:17 +02:00
Tobias KunzeandRaphael Michel bfc721978d Fixed minor documentation errors and mistakes (#151) 2016-07-14 20:01:38 +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 ba678de43a Plugin URL hooks for maindomain/subdomain 2016-02-16 20:50:39 +01:00
Raphael Michel 7a9930954c Added voucher data model [backwards incompatible] 2016-02-09 10:42:35 +01:00
Raphael Michel f748752391 Removed multi-dimensional item variations [backwards-incompatible] 2015-12-13 15:03:56 +01:00
Raphael Michel d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel d33e015919 Added an global index page 2015-11-09 21:32:37 +01:00
Raphael Michel e51029f9f7 Added two docstrings 2015-11-09 21:14:20 +01:00
Raphael Michel 6c9e8ae3a7 Fixed cookie domain behaviour 2015-11-09 21:13:02 +01:00
Raphael Michel 232c42b265 Added an organizer overview page 2015-10-22 17:45:19 +02:00
Raphael Michel 0b4cae07c4 Splitted URL configuration for main and subdomains 2015-10-21 18:16:17 +02:00
Raphael Michel aa51aaf1c2 Fixed a bug in the eventurl template tag 2015-10-18 17:28:01 +02:00
Raphael Michel 3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00