Commit Graph

27 Commits

Author SHA1 Message Date
Raphael Michel
a93287207b pretix Community Edition moves to AGPLv3-based license (#2023) 2021-04-12 10:33:47 +02:00
Martin Gross
b3e95f54dd Add option to limit events to specific sales channels (#1867) 2020-12-03 17:10:54 +01:00
Raphael Michel
fd6fb52a11 Widget: Do not deny access to CSS of disabled shop 2020-11-25 12:39:14 +01: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
ccc662228c Force evaluation of template responses in frontend 2019-06-17 22:59:45 +02: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
ddf6af278c Widget: Return a useful error message on disabled events 2019-03-18 20:42:47 +01: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
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
965428e422 Django 1.10: New-style middlewares 2016-09-27 10:00:03 +02:00
Raphael Michel
a4ab544fd1 Fixed unneeded and harmful call to resolve() 2016-09-26 19:01:38 +02:00
Raphael Michel
ba32298602 Fixed duplicate execution of process_response 2016-09-26 15:12:05 +02:00
Raphael Michel
d2f1bd6b63 Fixed bug in EventMiddleware 2016-07-31 13:58:48 +02:00
Raphael Michel
ba5d871197 Added process_response URL hook 2016-07-31 13:45:42 +02:00
Tobias Kunze
310a14a393 Move middleware functionality to utils.py (#154)
This simplifies providing an `event_view` method which works as
decorator for presale/ views (e.g. for plugins), providing passing
requests with event and organizer context if possible, and re-routing or
failing appropriately otherwise.
2016-07-26 10:27:59 +02:00
Raphael Michel
525705a912 Fixed problems with middleware order 2016-07-20 19:33:26 +02:00
Raphael Michel
c28b40a118 Unit Tests should create enabled events 2016-02-23 08:58:39 +01:00
Raphael Michel
e29f19e96b Fixed #29 -- "Shop is live" flag 2016-02-22 21:53:08 +01:00
Raphael Michel
d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel
232c42b265 Added an organizer overview page 2015-10-22 17:45:19 +02:00
Raphael Michel
3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel
93d027cec6 Make all orders "guest orders" 2015-10-05 11:24:00 +02:00
Raphael Michel
8e965bcd6d Fixed redirections and errors 2015-09-17 23:54:22 +02:00
Raphael Michel
c8830cc880 Added custom error pages 2015-09-17 23:44:07 +02:00
Raphael Michel
9d625198bd Refs #96 -- Allow anonymous orders 2015-09-17 22:45:57 +02:00
Raphael Michel
9ecd16c19c Refs #44 -- Added background queue support for file export 2015-09-15 22:56:02 +02:00
Raphael Michel
077413f41c Restructure our python module. A lot. 2015-02-14 17:55:13 +01:00