Commit Graph
78 Commits
Author SHA1 Message Date
022f44ad00 PDF editor: New text element implementation (#4246)
* draft

* almost working

* Widgth adjustment

* Fix crash on empty text

* Change default layouts

* Fix editor bugs

* Update src/pretix/control/templates/pretixcontrol/pdf/index.html

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Show deprecated text on old text

* lockScalingFlip

* Regroup editor controls

* Update src/pretix/static/pretixcontrol/js/ui/main.js

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Update src/pretix/static/pretixcontrol/js/ui/main.js

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Update src/pretix/static/pretixcontrol/js/ui/main.js

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Update src/pretix/static/pretixcontrol/js/ui/editor.js

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Increase default height even further

* Add a small version warning

* Update src/pretix/control/templates/pretixcontrol/pdf/index.html

Co-authored-by: Richard Schreiber <schreiber@rami.io>

* Update src/pretix/control/templates/pretixcontrol/pdf/index.html

Co-authored-by: Richard Schreiber <schreiber@rami.io>

---------

Co-authored-by: Richard Schreiber <schreiber@rami.io>
2024-08-07 11:26:47 +02:00
Richard SchreiberandGitHub ed9caa04fc Fix nup-badges for PDFs with cropbox (Z#23160479) (#4354) 2024-07-30 09:20:55 +02:00
Raphael Michel 54d327deea Badges: Fix name clash of cache property 2024-05-15 09:46:56 +02:00
Martin Gross 8c2a1d58f4 Templates: Add Herma 4515 (Acetatesilk) to repository 2024-05-02 13:57:46 +02:00
Raphael Michel 159658ae46 Fix typo in attribute name 2024-04-19 17:34:38 +02:00
Richard Schreiber 11956a8f4d fix isort 2024-04-15 16:25:25 +02:00
Raphael Michel d0c58713c4 Badge/ticket export: Allow to sort by company 2024-04-15 10:55:40 +02:00
Raphael Michel 10b515f1d1 Fix incorrect import 2023-11-03 13:18:36 +01:00
Raphael MichelandGitHub 0400b577bb Badges: Create templates for common paper sizes (#3660)
* Badges: Create templates for common paper sizes

* Add more sizes

* format lazy
2023-11-03 12:37:20 +01:00
Raphael Michel e72f6746f2 Badges: Add Avery 63.5x96.6 template 2023-10-11 11:28:50 +02:00
Raphael Michel 6593a64b18 Badges: Add Avery 80x50 template 2023-10-05 15:44:47 +02:00
Raphael MichelandGitHub 78fbfc9c80 Migrate from AutoField to BigAutoField (#3493) 2023-09-27 08:59:10 +02:00
0969abb460 Badges: reduce memory usage when placing multiple per page (Z#23125583) (#3472)
Co-authored-by: Raphael Michel <michel@rami.io>
2023-07-17 12:50:48 +02:00
Martin Gross 8f7220b574 isort plugins/badges/exporters.py 2023-06-30 16:22:19 +02:00
Martin Gross 5adbdb80a8 Badge-Export: Explicitly convert dt/df to deal with celery (Fixes PRETIXEU-8NW) 2023-06-30 15:50:32 +02:00
Raphael MichelandGitHub bd32b33ba9 Bump Django to 4.1.* (#2989) 2023-06-05 09:56:31 +02:00
Richard SchreiberandGitHub 8f17b338d1 Replace deprecated pypdf.PdfMerger with pypdf.PdfWriter (#3383) 2023-06-05 09:32:03 +02:00
Raphael Michel b1e8e072d4 PDF exporters: Fix ordering of add-on products by name 2023-04-06 09:34:47 +02:00
Raphael Michel b52cbf2645 PDF editor: Fix layout not being saved 2023-03-28 12:49:21 +02:00
Raphael MichelandGitHub 861c689410 PDF editor: Small UX improvements (#3185) 2023-03-28 09:47:37 +02:00
Raphael Michel 9a53dc9c5e Move from PyPDF2 to pypdf again 2023-03-03 14:06:01 +01:00
Raphael Michel 175921fbaf Badges: Add new export page format 70x36 2023-02-22 12:22:38 +01:00
Raphael Michel 093eaace43 Temporarily work around pypdf bug py-pdf/pypdf#1640 2023-02-17 16:37:56 +01:00
Raphael MichelandGitHub f63408504e Allow to define ticket validity through a product (#3105) 2023-02-13 14:46:52 +01:00
Raphael MichelandGitHub 6902725f3c New check-in features (#3022) 2023-02-09 09:46:46 +01:00
Raphael Michel 90978e5cab Update from PyPDF2 to pypdf 2023-02-06 10:09:30 +01:00
Richard SchreiberandGitHub d8d31bab51 PDF-Export: limit pagesize precision in badges nup-placement (#3085) 2023-02-03 11:59:43 +01:00
Raphael Michel 433262f6fc Prepare for DeleteView change in Django 4.0 2023-01-24 14:16:01 +01:00
0ae66ab7f6 Reorganize UI for exporters (#3025)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
2023-01-11 12:34:56 +01:00
Raphael Michel 2adbd3cd4a Fix isort complain 2022-11-08 18:24:33 +01:00
Raphael Michel 8ca38bdbaf Badges: Use ExportError instead of OrderError 2022-11-08 10:24:56 +01:00
Raphael MichelandGitHub 89dda69205 Allow to sort export of all tickets or badges by question answer (#2865) 2022-10-26 10:43:13 +02:00
c4b7aeaaa2 Consistently set default background PDFs on server, not client (#2840)
Co-authored-by: Martin Gross <gross@rami.io>
2022-10-06 14:14:56 +02:00
Richard SchreiberandGitHub 8f56ab54a4 PDF/Badges: Improve performance/reduce filesize when creating multiple badges (#2824)
* improve bg performance by using pdftk

* fix handling of rotated background-PDFs
2022-10-05 06:12:23 +02:00
Richard Schreiber 7205d0689e Badges: fix pagesizes for 8 A7 on A4-page 2022-09-30 09:18:54 +02:00
Richard Schreiber e4a0122938 fix pagesizes and offsets 2022-09-29 17:30:38 +02:00
Richard SchreiberandGitHub 4b9932420b PDF: Fix missing backgrounds when outputting multiple tickets/badges per page (Z#23107984) 2022-09-16 11:06:24 +02:00
Raphael Michel 7bab5b16a2 Badges: Add paper size HERMA 40x40 2022-08-08 13:18:30 +02:00
Raphael MichelandGitHub 50ebda332a Bump PyPDF to version 2 (#2755) 2022-08-05 09:53:32 +02:00
Richard SchreiberandGitHub ff5c649cfc Fix: Ignore string identifiers when converting old to new question placeholders 2022-05-05 17:40:17 +02:00
Richard SchreiberandGitHub dc0caed540 Badges: Ignore trimBox when using background PDF (Z#2398854) 2022-05-04 10:15:14 +02:00
e2adf1fdb3 Layout refresh for plugin settings page (#2490)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
2022-03-21 16:42:03 +01:00
Raphael MichelandRaphael Michel ebf0320c2c PDF editor: Add multi-page support 2022-03-17 16:43:30 +01:00
Raphael Michel ab0f76c7bb Revert "PDF editor improvements (#2529)"
This reverts commit e4c1f30b9d.
2022-03-17 16:43:18 +01:00
Raphael MichelandGitHub e4c1f30b9d PDF editor improvements (#2529) 2022-03-17 16:42:48 +01:00
Raphael Michel 5174d38017 Do not delete TicketLayout backgrounds long as they're referenced somewhere 2022-03-07 09:45:50 +01:00
Raphael Michel f71877b7fc Badges: Fix event copy data receiver not rewriting questions 2021-12-13 14:09:38 +01:00
Raphael MichelandGitHub 403b8191e4 Upgrade to Django 3.2 (#2056) 2021-05-07 12:00:30 +02:00
Raphael MichelandGitHub a93287207b pretix Community Edition moves to AGPLv3-based license (#2023) 2021-04-12 10:33:47 +02:00
Raphael Michel 7d5170155a Add filter for date for multiple exporters 2021-03-29 12:05:56 +02:00