Commit Graph

92 Commits

Author SHA1 Message Date
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 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
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 Kunze
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 Bastos
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
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
49ea85caee Resolve flake8 warnings 2015-06-03 13:25:26 +02:00
Raphael Michel
8b88878b8d Add a plugin API for ticket outputs 2015-04-19 18:11:15 +02:00