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
Mira
b638c00952
Time machine mode [Z#23129725] ( #3961 )
...
Allows organizers to test their shop as if it were a different date and time.
Implemented using a time_machine_now() function which is used instead of regular now(), which can overlay the real date time with a value from a ContextVar, assigned from a session value in EventMiddleware.
For more information, see doc/development/implementation/timemachine.rst
---------
Co-authored-by: Richard Schreiber <schreiber@rami.io >
Co-authored-by: Raphael Michel <michel@rami.io >
2024-05-17 10:52:17 +02: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
925b8334a9
PayPal: Migrate to Order v2 API and ISU authentication ( #2493 ) ( #2614 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
Co-authored-by: Martin Gross <gross@rami.io >
2022-05-30 15:44:22 +02:00
Raphael Michel
0e9600a7bf
Fix test isolation issue
2021-12-15 16:46:50 +01: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
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