Commit Graph

21 Commits

Author SHA1 Message Date
Raphael Michel
a940fa9eb7 Correct order of middlewares, thereby fix event list widget on custom domains
With the incorrect order, Django used the wrong URL config file to
determine whether this URL is valid and APPEND_SLASH kicked in too
often.
2020-01-28 23:38:09 +01:00
Raphael Michel
5832429540 Fix unrecognized user agents seen in the wild 2020-01-11 13:52:37 +01:00
Raphael Michel
e839dbc7d4 Emulate secure request in samesite tests 2019-12-18 19:37:43 +01:00
Raphael Michel
d46278f04f Set cookies with SameSite=None if possible (#1509) 2019-12-03 14:50:18 +01:00
Raphael Michel
d85ddb5bda Integrate django-scopes (#1319)
* Install django-scopes

* Fix tests.api

* Update tasks and cronjobs

* Fix remaining tests

* Remove unused import

* Fix tests after rebase

* Disable scopes for get_Events_with_any_permission

* Disable scopes for a management command
2019-06-17 10:46:55 +02:00
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
cb12e1208b Fix failing middleware test 2018-03-10 15:17:54 +01:00
Raphael Michel
1b8b12cbc3 Fix test_event_custom_domain_cache_clear 2017-10-18 14:28:49 +02:00
Raphael Michel
ab2084692d Cache organizer instance by domain 2017-10-18 10:27:57 +02:00
Raphael Michel
4c80ec17bf Fix caching problems in unit tests 2016-11-08 16:20:03 +01:00
Raphael Michel
41b21b7b96 Revert "Fixed a somehow broken test"
This reverts commit 9cc53c19b4.
2016-09-26 19:01:38 +02:00
Raphael Michel
9cc53c19b4 Fixed a somehow broken test 2016-09-26 15:23:31 +02:00
Raphael Michel
cba61ae8be Clear cache before running multidomain tests 2016-08-15 08:39:10 +02:00
Raphael Michel
2541855948 Fixed missing or unused imports 2016-07-18 23:12:16 +02:00
Raphael Michel
c28b40a118 Unit Tests should create enabled events 2016-02-23 08:58:39 +01:00
Raphael Michel
cc0dcb87ab Fixed a broken test 2016-02-18 12:58:03 +01:00
Raphael Michel
b6c418a753 Updated tests (see 6c9e8ae) 2015-11-09 21:35:07 +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
d21fa8392a Added more tests for pretix.multidomain 2015-10-18 17:28:12 +02:00
Raphael Michel
3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00