Commit Graph

135 Commits

Author SHA1 Message Date
Raphael Michel
d2b0e7209f Use a choice field for invoice address countries 2017-07-19 12:08:18 +02:00
Johan von Forstner
921834c917 Fix os.chown call on Windows (#563) 2017-07-18 11:42:30 +02:00
Raphael Michel
670bfa18de Slug widget 2017-07-17 20:54:39 +02:00
Raphael Michel
130f619b05 Fix raven integration 2017-07-17 20:29:56 +02:00
Raphael Michel
d644b8fe01 Fix detection of core modules after ae910eb7 2017-07-13 20:33:08 +02:00
Raphael Michel
8123effa65 Add sub-events and relative date settings (#503)
* Data model

* little crud

* SubEventItemForm etc

* Drop SubEventItem.active, quota editor

* Fix failing tests

* First frontend stuff

* Addons form stuff

* Quota calculation

* net price display on EventIndex

* Add tests, solve some bugs

* Correct quota selection in more places, consolidate pricing logic

* Fix failing quota tests

* Fix TypeError

* Add tests for checkout

* Fixed a bug in QuotaForm

* Prevent immutable cart if a quota was removed from an item

* Add tests for pricing

* Handle waiting list

* Filter in check-in list

* Fixed import lost in rebase

* Fix waiting list widget

* Voucher management

* Voucher redemption

* Fix broken tests

* Add subevents to OrderChangeManager

* Create a subevent during event creation

* Fix bulk voucher creation

* Introduce subevent.active

* Copy from for subevents

* Show active in list

* ICal download for subevents

* Check start and end of presale

* Failing tests / show cart logic

* Test

* Rebase migrations

* REST API integration of sub-events

* Integrate quota calculation into the traditional quota form

* Make subevent argument to add_position optional

* Log-display foo

* pretixdroid and subevents

* Filter by subevent

* Add more tests

* Some mor tests

* Rebase fixes

* More tests

* Relative dates

* Restrict selection in relative datetime widgets

* Filter subevent list

* Re-label has_subevents

* Rebase fixes, subevents in calendar view

* Performance and caching issues

* Refactor calendar templates

* Permission tests

* Calendar fixes and month selection

* subevent selection

* Rename subevents to dates

* Add tests for calendar views
2017-07-11 13:56:00 +02:00
Raphael Michel
9de9d96e35 Do not expose "Deutsch (Du)" in name-local 2017-07-06 09:26:26 +02:00
Raphael Michel
a530eda9fc Add CSRF_TRUSTED_ORIGINS to settings.py 2017-06-30 11:55:59 +02:00
Raphael Michel
b2d4bea1d0 Refs #314 -- Read-only REST API (#513)
* initial commit

* API auth

* Hierarchical URLs

* Add session auth

* Strong hierarchy

* Add filters

* Add i18n fields, questions

* More viewsets and serializers

* Ticket download

* Add OrderPosition serializer

* View-level permissions

* More tests

* More tests

* Add basic API docs

* Add REST API to docs frontpage

* Tests for order endpoints

* Add invoice tests

* Voucher and waitinglist tests

* Doc draft

* order docs

* Docs on all viewsets

* Disable DRF docs, style sphinx, style browsable API

* Fix tests

* deprecated imports

* Test foo

* Attendee names

* Fix migration problems

* Remove browsable API, plugin integration

* Doc fixes
2017-06-19 11:16:04 +02:00
Tobias Kunze
0f2875e89a [Django 1.11] Upgrade to Django 1.11 2017-05-26 09:44:11 +02:00
Tobias Kunze
41e56adfdb Make checkin lists available by default (#508) 2017-05-25 16:47:09 +02:00
Raphael Michel
24b1d2afcb Disable CssAbsoluteFilter 2017-05-24 14:34:20 +02:00
Matthew Emerson
4accbef6a9 Fix #446 -- Choices for Event.currenxy attribute (#452)
* Change event currency to a choice attribute

* Added pycountry to requirements for currency list

* Fixed issues from flake8

* Added tests for event currency and added pycountry to setup.py

* Removed whitespace from test/control/test_events.py
2017-04-06 12:08:55 +02:00
Raphael Michel
99395c722d Run CommonMiddleware before metrics (because of APPEND_SLASH) 2017-03-27 21:52:00 +02:00
Raphael Michel
e0e3a72268 Add metrics for request/task counting 2017-03-25 21:17:12 +01:00
Raphael Michel
f9646d9325 Do casual reads only on Galera 2017-03-08 18:15:39 +01:00
Raphael Michel
2302dbade6 Even slightly more CSP refactoring 2017-03-07 22:30:15 +01:00
Raphael Michel
af4a2c7184 Run tests on multiple Python versions and databases (#424)
* Test against more python versions

* Add testing on MySQL

* Add testing on PostgreSQL
2017-03-02 11:59:09 +01:00
Raphael Michel
08e7a29623 MySQL Galera workaround (#416) 2017-02-22 16:59:23 +01:00
Raphael Michel
c639cd96f5 Moved static files and celery.py 2017-01-04 22:00:28 +01:00
Raphael Michel
67de7150e5 Built-in support for sentry 2017-01-04 21:04:47 +01:00
Raphael Michel
b6e42d64da Upgrade to Celery 4 2017-01-04 20:12:50 +01:00
Raphael Michel
f8b38dca82 Fix #110 -- Turn off process-local cache 2016-11-29 17:19:05 +01:00
Jonas Große Sundrup
d3327b1e45 Add basic instrumentation possibilities to pretix (#271)
* add basic instrumentation possibilities to pretix

* make tabs to spaces

* apply flake8

* implement upstreams suggestions, round 1

* adjust naming of redis-connection

* address noredis

* add view for metrics

* implement HTTP basic auth in front of metrics-endpoint

* rename labelset

* make flake8-clean

* implement upstreams suggestions, round 2

* correct minor slipups

* fix missing return

* let isort add an empty line

* implement test for counter

* implement upstream suggestions, round 3

* correct typo

* implement first test for view

* finish view-test

* fix deprecated keyword

* implement upstream-suggestions, round 4

* implement test for gauge

* test exceptions as well

* add db-decorator
2016-11-20 14:46:45 +01:00
Raphael Michel
dcc2229775 Keep redis sessions around longer 2016-11-12 21:25:53 +01:00
Raphael Michel
7af45ce59d Add profiling utilities 2016-11-10 13:58:41 +01:00
Raphael Michel
302c6da17f Fix integration of django-statici18n 2016-11-09 19:47:42 +01:00
Raphael Michel
45b960b97c Use django-statici18n in production 2016-11-09 19:08:51 +01:00
Raphael Michel
059e6bace5 Insert debug toolbar before other middlewares 2016-11-08 14:13:18 +01:00
Nicole Klünder
50d82143bc do not overwrite SESSION_ENGINE if it is already set (#235) 2016-11-07 19:53:15 +01:00
Raphael Michel
3ba8647464 Do not include locally installed plugins in test settings 2016-11-06 20:01:11 +01:00
Raphael Michel
503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Raphael Michel
d7719d0bc7 2FA: Login via U2F 2016-10-09 12:59:43 +02:00
Raphael Michel
aecf263de7 2FA: Registraion of U2F devices 2016-10-09 12:59:43 +02:00
Raphael Michel
2f24af824e 2FA: Support for adding TOTP-based devices 2016-10-09 12:59:43 +02:00
Raphael Michel
d00eb41222 Merge branch 'django110' 2016-10-03 10:31:49 +02:00
Raphael Michel
4feeab35e4 Force ISO8601 date format for locale 'en' 2016-10-01 12:32:07 +02:00
Raphael Michel
965428e422 Django 1.10: New-style middlewares 2016-09-27 10:00:03 +02:00
Raphael Michel
912a81d120 Fixed wrongfully committed settings change 2016-09-21 13:31:10 +02:00
Raphael Michel
1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02:00
Raphael Michel
33c23977a5 Fixed JS compression issue 2016-09-18 21:06:10 +02:00
Raphael Michel
0c2e477ec8 Use ManifestStaticFilesStorage by default 2016-09-08 15:20:17 +02:00
Raphael Michel
7e1a6cf0d3 Support django_extensions if it is installed 2016-08-15 15:35:32 +02:00
FlaviaBastos
04ab016d91 Fix #51 -- Allow rich text in product and category descriptions
* Allow rich text in product descriptions

#51

* Allow rich text in category descriptions, update requirements to support fix.

#51

* Change line break (aesthetic only)
#51

* Add markdown to requirements. Update authors file
2016-08-05 23:53:41 +02:00
Raphael Michel
221ce9f0ae Added configuration options for some secret lengths 2016-08-03 00:18:04 +02:00
Raphael Michel
caa6e74c0a Settings: Use RawConfigParser 2016-07-31 14:57:43 +02:00
Raphael Michel
4ab819aeed Added custom logo support 2016-07-29 20:53:19 +02:00
Raphael Michel
525705a912 Fixed problems with middleware order 2016-07-20 19:33:26 +02:00
Raphael Michel
2541855948 Fixed missing or unused imports 2016-07-18 23:12:16 +02:00
Raphael Michel
8aaf334096 Do not create world-readable secret file by default 2016-07-07 18:30:32 +02:00