Commit Graph
208 Commits
Author SHA1 Message Date
Ian WilliamsandGitHub 847d409a00 Syncing fork to upstream (#1)
Sync master with master of pretix/pretix@300f8f6

* Automatically sort new products to the end

* Drop "squash your commits" from the dev guide

* Add variation descriptions and allow to order addons

* Link to Django's runserver options in dev docs

* Allow <br> tags in rich text

* Copy from event: deal with deleted items

* Make validate_cart useful together with addons

* Fix collapsing panels in the addon choice step

* Button text change if addons are present

* Update translations

* Squash migrations and bump version

* Ticket PDFs: Do not hide attendee name if code is hidden

* Add a user guide on payments

* Link PayPal and Stripe documentation in the respective forms

* Hide payment fees if they are all equal to 0.00

* Refs #39 -- New concept of "teams" (#478)

* New models

* CRUD UI

* UI for adding/removing team members

* Log display for teams

* Fix invitations, move frontend

* Drop old models (incomplete)

* Drop more old stuff

* Drop even more old stuff

* Fix tests

* Fix permission test

* flake8 fix

* Add tests fore the new code

* Rebase migrations

* Fix typo in method name

* Update translations

* Force ordering of events on dashboard

* Fix typos in events

* Prepare the pretixdroid API for an async mode in the app

* Pretixdroid tests: Ignore microseconds (chopped by mysql)

* pretixdroid API: Add related lookups

* Add idempotenty nonces to pretixdroid API

* pretixdroid: force-accepting unpaids and time display

* Marked webfonts as binary files (#487)

Webfonts now listed as binary in `.gitattributes`.
Works on pretix/pretix#486

* Fix #456 -- Allow products to be excluded from ticket-generation (#483)

* Added non-admission setting to event

`ticket_download_nonadm` now setting in storage. Still need logic for
order page/PDF generation.
Works on pretix/pretix#456.

* Download button considers `ticket_download_nonadm`

Modified Django tags to look at item admission attribute and
`ticket_download_nonadm` setting.
Works on pretix/pretix#456.

* Ticket output for non-admission disabled

PDFs/etc. will only be permitted/generated for items with the
`admission` attribute, or if the `ticket_download_nonadm` event setting
is true. Applies to single and whole-order ticket downloads.
Works on pretix/pretix#456.

* Fixed product exclusion in PDF output

Forgot PDF output was a plugin, now includes same check as base
`BaseTicketOutput.generate_order`.
Works on pretix/pretix#456

* Mail signature (#485)

* added signature field -- no function yet

* added mail signature feature

* fixed style issue

* fixed problem with signature default

* added unit test for mail signatures

* added unit test for mail signatures

* [WIP] Fix #447 -- Sendmail plugin: Create new mail based on an old one (#476)

* send old email content to the new one

* error key event

* test commit

* query bad ID

* query bad ID

* query bad ID

* query bad ID

* Update pretixdroid API version

* Refs #447 -- Extend copying old mails to subject and receipients

* Fixed bugs and added test for date range rendering (#488)

* fixed bug for same dates, added unit check for daterange

* fixed local language override in unit test

* Fix #297 -- pretixdroid: Show metrics in the control panel (#481)

* add checkin status page

add dashboard widget
add checkin page under orders

* modify checkin logic

added new fields in checkin page
added filter items

* add tests for checkins & minor improvement

* support addin_product & noadm setting logic

* remove name ordering check test case

* Fix #379 -- Add logo to event organizers (#431)

* [WIP] Add logo to event organizers.

* Fix indentation issues.

* Refactor code

Refactor code

Refactor code

* Add new migration

* Take files into account for organizer sform (settings form)

* Fix grammer

* Make bootstrap form errors specific to each fieldset

* Display logo on organizer's page

* Fix PR issues

Fix PR issues

Fix PR issues

* Reorder imports

* Remove conflicting migration

* Fix rebase conflict

* Fix #41 -- Drag-and-drop ticket editor

Undo/redo

Useful toolbox

Font selection

Add text content

Use hex for colors

JS-side dump and load

Save

Load layout, proper undo/redo

First steps to Python rendering

More PDF rendering

Copy and paste

Buttons for keyboard actions

Splash Screen

Block unbeforeunload in dirty state

Remove debugging output

Preview

Upload new PDFs via the editor

Fix bugs during PDF reload, link in settings form

New default ticket

Add OpenSans BI

Custom fonts, fix tests

* Added bootstrap-colorpicker

* Allow inline PDF display in CSP header

* Add fontpack to list of plugins

* Update German translation

* Add ticketoutputpdf's assets to MANIFEST.i

* Fix migration of old ticket styles

* Fix iCal download URL

* Multi-line location field, new field for admission time

* Admission date and time in editor

* Remove icon from "add to calendar"

* Try to fix PDF display problems in Safari

* Proxy cachedfiles that are used as editor previews

* Check Event.presale_is_running in more places

* Fix CSS generation with an empty color field

* Fix missing placeholders and reformat the sendmail view

* Fix bug that lead to wrong payment amount when switching payment method to PayPal later

* Update translation
2017-05-11 09:22:03 -07:00
Raphael Michel 4f015f1d96 Replace organizer_edit_tabs by nav_organizer 2017-04-27 10:00:09 +02:00
Raphael Michel bbe272c35c Fix #372 -- Plugin hook for "Copy from event" 2017-04-26 15:24:16 +02:00
Raphael Michel 39513448f3 Add signal nav_global 2017-04-26 14:34:48 +02:00
Raphael Michel bb75be7e8e Update docs and version number 2017-04-17 15:19:45 +02:00
Raphael Michel 3f76be2287 Fix docker plugin installation documentation 2017-04-17 13:27:49 +02:00
Raphael MichelandGitHub 984d5c716b Integrate hierarkey package (#460) 2017-04-10 18:11:21 +02:00
BenBEandRaphael Michel 602947a3d7 Add more security headers (#458)
* Include some missing security headers

This change adds the following security headers:
* X-Content-Type-Options to prevent content type sniffing
* Referrer-Policy to prevent leaking referrer information when navigating away from the instance

* Migrate from Docker sample to manual configuration

Migrate the additional security headers from the Docker configuration sample to the manual configuration guide.
2017-04-06 17:30:26 +02:00
alainrkandRaphael Michel 550ab7de18 Added python3-dev package to External Dependencies (#451) 2017-04-01 15:40:46 +02:00
Raphael Michel 67e5ecb931 Add IcePay to list of plugins 2017-03-30 16:45:01 +02:00
Raphael Michel 8dacbe0fc6 Add docs for metrics and FakeRedis.pipeline 2017-03-27 23:07:33 +02:00
Raphael Michel 455b0f2015 Add documentation on backups and monitoring 2017-03-25 22:54:39 +01:00
Raphael Michel 177d46ab8d New signal: html_footer 2017-03-08 14:38:25 +01:00
Raphael MichelandGitHub 8b7d2314b8 Use django-i18nfield library (#418) 2017-02-27 21:16:28 +01:00
Raphael Michel 767e3ac659 Docker: Use stable version in docs 2017-02-26 11:32:23 +01:00
Raphael MichelandGitHub 08e7a29623 MySQL Galera workaround (#416) 2017-02-22 16:59:23 +01:00
Raphael Michel f16aabc136 Add signal for required pre-checkout confirmations 2017-02-20 15:40:55 +01:00
AhrdieandRaphael Michel 6de44aee02 Small Typo correction (#404) 2017-02-06 22:04:12 +01:00
Marc-Pascal ClementandRaphael Michel 43facbecda Fix path in cronjob of smallscale deployment guide (#401) 2017-02-04 14:10:41 +01:00
Raphael Michel 0dfca824e2 Fix install docs, thanks @buenaventure 2017-02-04 14:09:04 +01:00
Raphael Michel 3c75072868 Fix manual install docs and improve nginx config 2017-02-03 15:01:47 +01:00
Raphael Michel 8e09aa9b54 Remove redundant sudo in docs 2017-02-03 14:48:56 +01:00
Raphael Michel 123f47ab39 Added tabs to the organizer page 2017-01-27 11:03:56 +01:00
Lukas MartiniandRaphael Michel d6503e3e48 Correct wrong module name for Postgres in example configs (#394) 2017-01-26 09:18:56 +01:00
Raphael Michel fecc5ec307 Add support for restricted plugins 2017-01-22 18:15:31 +01:00
Raphael Michel 0665bd443b Add validate_cart hook 2017-01-22 18:05:47 +01:00
Raphael Michel 1d0def19b1 Add sepadebit to plugin list 2017-01-21 13:44:42 +01:00
Raphael Michel f285390f46 Add pages to the list of plugins 2017-01-14 15:40:58 +01:00
Raphael Michel 559864dd01 Fix errors in install documentation 2017-01-14 13:31:37 +01:00
Raphael Michel ea807239b1 Fix #356 -- Download all tickets from an order 2017-01-13 16:10:53 +01:00
Raphael Michel e6a6043a7a Fix docs typo 2017-01-09 20:19:13 +01:00
Raphael Michel ecb1eedcba Add nav_topbar signal 2017-01-08 00:07:19 +01:00
Raphael Michel 33265d05fb Add event_live_issues signal 2017-01-07 14:41:53 +01:00
Raphael Michel f6d8b825d5 Add plugin installation docs and rebuild command 2017-01-04 23:33:07 +01:00
Raphael Michel 67de7150e5 Built-in support for sentry 2017-01-04 21:04:47 +01:00
Raphael Michel aed9382fd7 Introduce RequiredAction model
Fix #343 by no longer marking as refunded automatically
2017-01-04 15:04:18 +01:00
choteeandRaphael Michel cfda772133 Improved documentation by adding some requirements that where needed to install from a clean Debian 8.6 installation. (#365)
Before the ```$ pip3 install -r requirements.txt -r requirements/dev.txt``` installation step would succeed I needed to add the following dependencies:
```$ sudo aptitude install libxml2-dev```
```$ sudo aptitude install libxslt1-dev```
The Error without the dependencies ended with:
```
    In file included from src/lxml/lxml.etree.c:515:0:
    src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory
     #include "libxml/xmlversion.h"
                                   ^
    compilation terminated.
    Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    creating tmp
    cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitm_7rr3ky.c -o tmp/xmlXPathInitm_7rr3ky.o
    /tmp/xmlXPathInitm_7rr3ky.c:1:26: fatal error: libxml/xpath.h: No such file or directory
     #include "libxml/xpath.h"
                              ^
    compilation terminated.
    *********************************************************************************
    Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
    *********************************************************************************
    error: command 'x86_64-linux-gnu-gcc' failed with exit status
```

In the "make localcompile" step I had to do
```$ sudo aptitude install gettext```
before it would succeed.

There was a reference to a demo event ("/mrmcd/2015/") it should probably be /bigevents/2017/ .
2016-12-19 09:01:59 +01:00
Tobias KunzeandRaphael Michel 58668010a2 Remove trailing whitespaces (#361) 2016-12-16 21:44:34 +01:00
Raphael Michel 43ca778796 pretixdroid: Added event information to the status endpoint 2016-12-11 17:26:00 +01:00
Raphael MichelandGitHub 8e4eb52386 pretixdroid: add status endpoint (#351) 2016-12-08 22:38:17 +01:00
Raphael Michel fb19891473 Add plugin documentation 2016-12-08 18:20:43 +01:00
Raphael Michel 3c96e631da Change recommended redis socket path to avoid systemd problems 2016-12-08 12:38:21 +01:00
Raphael Michel f76d173162 Fix various doc issues 2016-11-29 17:19:22 +01:00
Raphael Michel f8b38dca82 Fix #110 -- Turn off process-local cache 2016-11-29 17:19:05 +01:00
Nicole KlünderandRaphael Michel 444678ce6b fix typo in docs 2016-11-28 18:06:32 +01:00
Raphael Michel 6c2ecd153c Fixed a bug in the config documentation 2016-11-27 15:30:04 +01:00
Tobias KunzeandRaphael Michel f13965da92 Consistently refer to 'pip3'. Closes #318. 2016-11-26 13:10:30 +01:00
Raphael Michel 9ca8e26551 Fix typo in documentation 2016-11-26 12:13:40 +01:00
Tobias KunzeandRaphael Michel 7a8493cae3 Fix #330 -- Add require_live parameter to event_view decorator (#331)
* Add require_live flag to event_view decorator

Refs #330

* Use new require_live flag in stripe webhook
2016-11-25 14:34:49 +01:00
Jonas Große SundrupandRaphael Michel 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