Commit Graph

23 Commits

Author SHA1 Message Date
Raphael Michel
d0dd2116ca Enlarge download button for multi downloads 2020-04-20 17:45:19 +02:00
Raphael Michel
0c0fe58bbf Improve UX of ticket download settings 2020-04-02 18:16:22 +02:00
Raphael Michel
af23d6e4bf Upgrade to Django 3.0 and other dependencies (#1568)
* Upgrade Django to 3.0 and other dependencies to recent versions

* Fix otp version contsraint

* Remove six dependency

* Resolve some warnings

* Fix failing tests

* Update django-countries

* Resolve all RemovedInDjango31Warnings in test suite

* Run isort

* Fix import

* Update PostgreSQL version on travis
2020-03-23 15:02:20 +01:00
Martin Gross
03c760c2bb Allow ticket output providers to handle downloads externally (#1402)
* TicketOutput-Providers: Make preview optional; download/attachable optional; optional specific target; update doc

* Spelling fixes in doc

* Changes after code-review

* Changes after code-review

* Commit missing template file

* Allow for redirects instead of files

* Return HTTPResponse with Content-Type text/uri-list on API

* Update API-doc

* Add viewable to spellinglist, fixing doc-test
2019-10-21 14:05:09 +02:00
Raphael Michel
f35c2544b6 Do not attach empty files for orders without tickets 2019-01-29 17:12:38 +01:00
Martin Gross
1b5c4a21bb Show download-provider specific icons where defined 2018-09-02 15:49:35 +02:00
Raphael Michel
56735dc1c6 Make PDF ticket output subevent-compatible 2017-07-14 18:09:48 +02:00
Raphael Michel
42287b92f1 Allow ticket output methods to opt-out from ZIP generation 2017-07-14 17:32:16 +02:00
Ian Williams
d929b163db 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
2017-05-06 11:11:11 +02:00
Raphael Michel
b52f2f5a9e Improve add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel
ea807239b1 Fix #356 -- Download all tickets from an order 2017-01-13 16:10:53 +01:00
Raphael Michel
77e917345c Decouple CachedTicket from CachedFile 2016-12-21 18:37:12 +01:00
Raphael Michel
ad35110166 Offer download options per position, not per order 2016-11-02 14:51:05 +01:00
Tobias Kunze
2de328a33b Minor edits in ticketouput docs (#285) 2016-10-24 23:22:51 +02:00
Raphael Michel
5031393136 Force isort to treat typing in the py3.5 style, not py3.4 2016-08-13 21:19:36 +02:00
Tobias Kunze
bfc721978d Fixed minor documentation errors and mistakes (#151) 2016-07-14 20:01:38 +02:00
Raphael Michel
79ad8b40ed Added python3.5-style type annotations to pretix.base 2015-11-04 23:39:59 +01:00
Raphael Michel
2e9157cbef Removed unused imports 2015-10-05 11:24:00 +02:00
Raphael Michel
1a463dd5b1 Refs #44 -- Added background queue support for ticket output 2015-09-16 11:18:18 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
75b8d800ea Added tests for modifying and cancelling orders 2015-06-28 16:21:39 +02:00
Raphael Michel
88f1ae6f89 Fixed payment and ticketoutput enable/disable switches and their
implications
2015-06-15 19:28:56 +02:00
Raphael Michel
8b88878b8d Add a plugin API for ticket outputs 2015-04-19 18:11:15 +02:00