Commit Graph
38 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
Tobias KunzeandRaphael Michel 010c31cf10 Fix type annotation 2017-04-25 09:10:45 +02:00
Raphael MichelandGitHub 8b7d2314b8 Use django-i18nfield library (#418) 2017-02-27 21:16:28 +01:00
Raphael Michel 92c2dcaf25 Improve type hint 2017-01-27 12:10:22 +01:00
Raphael Michel 48461122f8 Set Reply-To headers to the event's contact address 2017-01-24 18:35:20 +01:00
Raphael Michel bbb71ef891 New email placeholders invoice_name, invoice_company 2017-01-20 09:12:19 +01:00
Raphael Michel c639cd96f5 Moved static files and celery.py 2017-01-04 22:00:28 +01:00
Raphael Michel 9d08e23a48 Fix #306 -- Add HTML multipart version to emails 2017-01-04 13:31:40 +01:00
Raphael Michel 4d7b5a0a3b Update German translation 2016-11-27 19:54:25 +01:00
Raphael MichelandGitHub 1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02:00
chertiandRaphael Michel ecef64c035 Change signature-separator (#242)
`"-- "` on a single line as a signature-delimiter is noticed by a lot of mail programs out there as an actual signature separator and the text below may be marked that way, e.g. is greyed out a little in Mozilla Thunderbird.

This change should leverage that behavior for e-mails sent by pretix.
2016-09-17 12:13:13 +02:00
Tobias KunzeandRaphael Michel 7e19effe3c Fix #122 -- Allow users to re-send order links (#197)
If the provided mail address has not ordered anything, there will still
be a mail generated and sent to an invalid mail address, to avoid
obvious timing attacks to determine active users.
2016-09-01 08:59:36 +02:00
Tobias KunzeandRaphael Michel 3c8f9f5a62 Catch and display mail sending errors (#215) 2016-08-30 16:49:52 +02:00
Raphael Michel a6121c40f1 Added custom headers to mail() API 2016-08-16 13:36:53 +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 980e0f5eb3 Make mail() raise an exception on obvious failures
As per #164. Should also work for #69.
2016-08-10 21:06:10 +02:00
Raphael Michel 39ada8954e Added optional links to the order in emails 2016-08-04 17:56:07 +02:00
Tobias KunzeandRaphael Michel bfc721978d Fixed minor documentation errors and mistakes (#151) 2016-07-14 20:01:38 +02:00
Raphael Michel e4b1cf8d6f Document setting storage and mail sending 2016-05-29 20:34:20 +02:00
Raphael Michel 1f665e6f48 Use a context manager for temporary locale switches 2016-03-15 17:59:32 +01:00
Raphael Michel 8812da5325 Fixed a wrong locale string 2016-03-15 17:09:32 +01:00
Raphael Michel 1cd64f40eb Resolve warnings from modern flake8 2016-03-03 18:35:37 +01:00
Raphael Michel dc0852f54f Made event an optional parameter of mail_send 2015-12-13 18:20:16 +01:00
Raphael Michel a114aa11f4 Fixed #45: Custom SMTP server 2015-12-13 17:56:35 +01:00
Raphael Michel d8ca0d527e Fixed #42 -- Configurable e-mail texts 2015-12-13 17:33:38 +01: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 93d027cec6 Make all orders "guest orders" 2015-10-05 11:24:00 +02:00
Raphael Michel c47008cc18 Added password reset to control.auth 2015-10-04 13:52:08 +02:00
Raphael Michel 9d625198bd Refs #96 -- Allow anonymous orders 2015-09-17 22:45:57 +02:00
Raphael Michel 9ecd16c19c Refs #44 -- Added background queue support for file export 2015-09-15 22:56:02 +02:00
Raphael Michel 2f0bb5f39f Fixed import structure because testing was broken 2015-09-09 23:56:34 +02:00
Raphael Michel 101f1c77e0 Refs #44 -- Added optional celery background queue for mails 2015-09-09 23:42:16 +02:00
Raphael Michel e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel 478b900ab3 Fixed #46 -- Added a plugin to send out emails 2015-07-12 18:45:22 +02:00
Raphael Michel 879384f357 Added a setting for an e-mail subject prefix 2015-06-16 20:09:10 +02:00
Raphael Michel fad8605aa7 Add unit tests for our mail API 2015-06-03 18:09:00 +02:00
Raphael Michel c83bd0e293 Move mail() to services/ 2015-06-03 14:01:33 +02:00