Commit Graph
53 Commits
Author SHA1 Message Date
Raphael Michel 62b2a367ff PDF Output: Fix AttributeError with undefined used meta data 2017-09-25 10:20:46 +02:00
Raphael Michel fb3866aa1a Fix TypError in PDF preview 2017-09-13 14:59:19 +02:00
Raphael Michel fb9d677d76 CSP: Allow blob: URLs for images in PDFs 2017-09-07 23:29:21 +02:00
Raphael Michel 0ddda4a668 Fix #617 -- Purge ticket cache after ticket settings/layout changes 2017-09-04 21:09:08 +02:00
Raphael Michel 88f5af3e77 Add event meta-data 2017-09-04 19:50:32 +02:00
Raphael Michel ee282af53e Add invoice address fields to ticket PDF editor 2017-08-24 09:53:31 +02:00
Raphael Michel 50ca6ee63d Support custom fonts 2017-08-23 13:35:47 +02:00
Raphael Michel 5fbf26b8cb Make additional font styles optional 2017-08-22 10:09:46 +02:00
Raphael Michel c64b4473e4 Add organizer_info_text 2017-07-27 11:43:35 +02:00
Raphael Michel 59dea63870 Add product description to ticket editor 2017-07-27 10:13:55 +02:00
Raphael Michel f3b616e495 Add exporter to output all tickets 2017-07-26 13:18:35 +02:00
Raphael Michel 56735dc1c6 Make PDF ticket output subevent-compatible 2017-07-14 18:09:48 +02:00
Raphael Michel fc12a8f549 Relabel button. 2017-06-28 18:57:50 +02:00
Raphael Michel 86f03b3399 Fix #532: Ticket editor, moving element groups 2017-06-28 18:55:33 +02:00
Raphael Michel 80ad0e7f68 PDF editor: share source code 2017-06-28 18:36:45 +02:00
Raphael Michel b946010bdb Add event date range to ticket editor 2017-05-30 17:18:03 +02:00
Raphael Michel d6e213d51a Disable inline pdfs again due to Safari issues 2017-05-25 14:43:31 +02:00
Raphael Michel c5d18c6884 Clear settings cache after migration 2017-05-22 14:17:52 +02:00
Raphael Michel fb716eb498 Add add-ons to ticket editor 2017-05-22 14:04:14 +02:00
Raphael Michel 7400c2373b Remove debugging output 2017-05-17 18:06:19 +02:00
Raphael Michel 7769aaccea Fix #492 -- Force deterministic ordering of some signals 2017-05-15 13:09:23 +02:00
Raphael Michel 74259bd4c6 Proxy cachedfiles that are used as editor previews 2017-05-10 15:02:54 +02:00
Raphael Michel f451977a04 Admission date and time in editor 2017-05-10 13:16:39 +02:00
Raphael Michel aac05727ed Multi-line location field, new field for admission time 2017-05-10 12:58:57 +02:00
Raphael Michel f4a9dbb546 Fix migration of old ticket styles 2017-05-09 17:23:17 +02:00
Raphael Michel 0d3f5e0c32 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
2017-05-09 11:10:10 +02:00
Ian WilliamsandRaphael Michel 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 f95b77fd7a Ticket PDFs: Do not hide attendee name if code is hidden 2017-05-02 17:07:09 +02:00
Raphael Michel b52f2f5a9e Improve add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel 53713acd9a Refs #356 -- Multi-page PDFs 2017-01-13 16:10:53 +01:00
Tobias KunzeandRaphael Michel e89fa4f7f9 Add PEP8 style empty lines in appropriate places (#321)
New flake8 version finds more (correct) issues.
2016-11-17 11:17:43 +01:00
Raphael Michel 0b167aaa2c Deprecate PluginType 2016-11-03 11:33:44 +01:00
Raphael Michel ad35110166 Offer download options per position, not per order 2016-11-02 14:51:05 +01:00
Flavia BastosandRaphael Michel 166fedb4ef Fix #148 -- Add order code to pdf and to ticket settings (#265)
* add order code to pdf and to ticket settings #148

* add order code to pdf and to ticket settings #148
2016-10-08 18:40:53 +02:00
Raphael Michel d46feed86f Fixed positioning of attendee name 2016-06-01 21:16:43 +02:00
Raphael Michel e3173ab4ef Only print attendee name on ticket if present 2016-06-01 21:10:32 +02:00
Raphael Michel 5abaf8be31 Optionally added attendee name to ticket PDF 2016-05-31 10:37:20 +02:00
Raphael Michel 5cdcc62d8a Re-add secrets to OrderPositions 2016-03-03 18:15:28 +01:00
Raphael Michel d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel 34bdf7134d Fixed PDF ticket generation 2015-11-12 19:40:39 +01:00
Raphael Michel 2e9157cbef Removed unused imports 2015-10-05 11:24:00 +02:00
Raphael Michel 3282244d1b Use Django's storage API for media files 2015-09-29 16:05:17 +02:00
Raphael Michel 1a463dd5b1 Refs #44 -- Added background queue support for ticket output 2015-09-16 11:18:18 +02:00
Raphael Michel 2ec4cbeceb Changed all core plugin versions to stay in sync 2015-09-08 20:58:24 +02:00
Raphael Michel c091b2bca9 Removed a debugging print statement 2015-08-22 17:19:40 +02:00
Raphael Michel e4742113c7 PDF tickets: Add config flags for object positions 2015-08-15 23:36:15 +02:00
Raphael Michel 8b4f890dd0 PDF tickets: Correctly handle custom backgrounds 2015-08-15 23:08:03 +02:00
Raphael Michel 30fd287aab Allowed settings to contain files 2015-08-15 22:55:27 +02:00
Raphael Michel 0ea6fe02d3 PDF tickets: Papersize settings 2015-08-15 20:02:30 +02:00
Raphael Michel 8e086f1f3f Added dispatch_uid argument to all receivers to prevent duplicate
execution
2015-08-15 14:36:29 +02:00