Commit Graph

24 Commits

Author SHA1 Message Date
Raphael Michel
177a7d07fc Update license header (#5540) 2025-10-10 15:32:46 +02:00
Raphael Michel
e99ee91573 Allow to use custom domains for some but not all events (Z#23153875) (#4627)
* Allow to use custom domains for some but not all events

* Update src/pretix/multidomain/urlreverse.py

* Apply suggestions from code review

Co-authored-by: Mira <weller@rami.io>

* Logging for domain config changes

---------

Co-authored-by: Mira <weller@rami.io>
2024-12-02 15:58:50 +01:00
Raphael Michel
6af2d38a98 Add __Host- prefix to CSRF and session cookie, remove cookie_domain (#3831)
* Add __Host- prefix to CSRF and session cookie, remove cookie_domain

* Fix tests
2024-01-25 09:45:56 +01:00
Raphael Michel
53e1d9c6c4 Tests: Fix improper cleanup of SITE_URL 2023-08-10 11:20:26 +02:00
Raphael Michel
a93287207b pretix Community Edition moves to AGPLv3-based license (#2023) 2021-04-12 10:33:47 +02:00
Raphael Michel
f765d094b4 Fix crash in UCBrowser (PRETIXEU-20M) 2020-04-01 11:14:30 +02:00
Raphael Michel
7e9c9beace Allow to use a custom domain per event (#1617)
* Drop support for maindomain_urls/subdomain_urls in plugins

* Allow to use a custom domain per event

* Fix bug when manually saving domains

* Fix custom domains in debugging

* Fix middleware

* Fix middleware again, update docs
2020-03-23 13:03:14 +01:00
Raphael Michel
a28378bac9 Fix further problems with middleware ordering 2020-01-29 11:50:09 +01:00
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
cb12e1208b Fix failing middleware test 2018-03-10 15:17:54 +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