Commit Graph
100 Commits
Author SHA1 Message Date
Tobias Kunze 7622fe9fc5 Fix broken link (#845) 2018-03-28 09:44:44 +02:00
Tobias Kunze b32aec682c Add linkcheck ignores (#843) 2018-03-28 09:33:25 +02:00
Tobias Kunze d54d25a432 Follow redirects in documentation urls (#842) 2018-03-28 08:44:47 +02:00
Tobias Kunze 741d0bc686 Put event slugs in export filenames (#768) 2018-02-12 12:30:13 +01:00
Tobias Kunze 69ab5d8c2e Fix typo in 2FA view (#739) 2018-01-08 13:49:46 +01:00
Tobias Kunze f81a7a397a Prepend slug to exported filenames (#719) 2017-12-18 09:12:13 +01:00
Tobias Kunze 3ece911018 Fix typo (#703) 2017-12-09 15:21:07 +01:00
Tobias Kunze e7f38abd77 Use rel="noopener" with target="_blank". (#682)
Required reading: https://mathiasbynens.github.io/rel-noopener/
2017-11-13 18:52:15 +01:00
Tobias Kunze 98aa70c9ce Remove minor typos in documentation (#673) 2017-11-05 12:54:05 +01:00
Tobias Kunze 60212dcbcc Do not log unchanged email addresses (#646) 2017-10-19 22:03:12 +02:00
Tobias Kunze 244b767f8f Allow markdown rendering in transaction comments. (#621)
This commit allows transaction comments to display newlines and URLs in
a useful way, helping when additional data (such as a reference to a
ticket system or a longer discussion) is required.
This PR also prevents pretix from having to bring its own chat system ;)
2017-09-25 12:25:32 +03:00
Tobias Kunze 618416d0d2 Update translation, closes #604 (#608) 2017-08-27 10:45:13 +03:00
Tobias Kunze bab092f04b Do not override the Reply-To header (#597) 2017-08-20 13:50:48 +03:00
Tobias Kunze 2bf4e6c5c6 Fix import of celery app in documentation (#596) 2017-08-20 12:41:37 +03:00
Tobias Kunze a213ca746c Only mention an order in the mail if one is associated (#592) 2017-08-09 10:42:52 +02:00
Tobias Kunze 8ede492cba Add optional help_text to Question objects. Closes #574. (#579) 2017-07-31 10:54:57 +02:00
Tobias Kunze 57869b2145 Wording fixes (#577) 2017-07-30 19:29:17 +02:00
Tobias Kunze 9c2143effe Clarify mail subject prefix. (#520) 2017-07-19 10:42:34 +02:00
Tobias Kunze c2844a8f35 Add custom_header block to <head> (#561) 2017-07-17 14:52:20 +02:00
Tobias Kunze 6df3a7d4b5 Order vouchers by code by default (#525) 2017-06-18 18:31:54 +02:00
Tobias Kunze 965424799d Highlight voucher nav element when in detail view (#524) 2017-06-18 18:31:02 +02:00
Tobias Kunze f7de2ead40 Allow to pass prefix to generate_code, too (#523) 2017-06-18 18:30:38 +02:00
Tobias Kunze 260ba19e44 Typo fix and translation update (#519) 2017-06-18 18:22:57 +02:00
Tobias Kunze 8fa490c938 Allow to add a prefix when generating voucher codes (#518) 2017-06-16 23:21:23 +02:00
Tobias Kunze 0f2875e89a [Django 1.11] Upgrade to Django 1.11 2017-05-26 09:44:11 +02:00
Tobias Kunze 41e56adfdb Make checkin lists available by default (#508) 2017-05-25 16:47:09 +02:00
Tobias Kunze 5d8e294350 Fix typo 2017-05-22 09:25:15 +02:00
Tobias Kunze 010c31cf10 Fix type annotation 2017-04-25 09:10:45 +02:00
Tobias Kunze a10090b1fb Set autofocus on search/filter field (#427) 2017-03-06 14:19:14 +01:00
Tobias Kunze b6f42ecd6d Update translations. (#423)
(Including adding a missing whitespace.)
2017-03-02 08:19:34 +01:00
Tobias Kunze 81adbb3813 Expand Question docstring (#420) 2017-02-26 13:11:37 +01:00
Tobias Kunze 9b7223c0e8 Enforce a sane last payment date (#412) 2017-02-15 16:37:10 +01:00
Tobias Kunze 7300c60e73 Fix #380 -- Add missing translation strings (#382) 2017-01-19 11:03:06 +01:00
Tobias Kunze 3e26a4d9cc Allow superusers to view any event (#377) 2017-01-17 16:54:13 +01:00
Tobias Kunze 4e6345aaed Remove whitespace when searching for a voucher (#366) 2016-12-29 14:11:50 +01:00
Tobias Kunze 5e3087341c Bankimport: Order transactions by their job's date (#362)
Leads to having the most recent unresolved transfers on top instead of
in between.
2016-12-17 11:44:31 +01:00
Tobias Kunze 58668010a2 Remove trailing whitespaces (#361) 2016-12-16 21:44:34 +01:00
Tobias Kunze 425d6590d0 Add copy-to-clipboard for voucher bulk creation (#348)
Adds
 - clipboard.js
 - custom js initializing a Clipboard and adding a tooltip
 - a button in the bulk creation form
2016-12-12 08:36:42 +01:00
Tobias Kunze c754966103 Display log entry for changed order secrets (#354) 2016-12-11 17:48:21 +01:00
Tobias Kunze a0e53b532a Update translations (#347) 2016-12-04 20:47:12 +01:00
Tobias Kunze 62edf1e7b8 Fix #345 -- More extensive log display when changing an order email (#346) 2016-12-02 09:31:23 +01:00
Tobias Kunze 3930fc749a Fix #179 -- New flexbox layout for dashboard (#344)
* Use flexbox for better tiling

Replaces 'width' by 'display_size' and reduces sorting complexity.

* CSS improvements, Responsiveness
2016-12-01 17:36:29 +01:00
Tobias Kunze 8648e9c04d Fix #302 -- Change column layout in order overview (#336)
* Change column layout in order overview. Closes #302

* Include expired orders explicitly in order overview
2016-11-27 14:36:53 +01:00
Tobias Kunze f13965da92 Consistently refer to 'pip3'. Closes #318. 2016-11-26 13:10:30 +01:00
Tobias Kunze 7a8493cae3 Fix #330 -- Add require_live parameter to event_view decorator (#331)
* Add require_live flag to event_view decorator

Refs #330

* Use new require_live flag in stripe webhook
2016-11-25 14:34:49 +01:00
Tobias Kunze b64fef4b08 Fix #327 -- Problems with banktransfer filtering (#328)
* Filter banktransfer comments aswell

* Make the filtering button actually filter bank imports

* Show empty list if search matches nothing
2016-11-22 13:58:01 +01:00
Tobias Kunze 7b45112b91 Remove duplicate order refund log action (#324) 2016-11-19 18:08:23 +01:00
Tobias Kunze a6f164c07e Test payment methods 2016-11-17 23:50:42 +01:00
Tobias Kunze 95670dddc2 Add tests for GETting views in control/ 2016-11-17 23:50:42 +01:00
Tobias Kunze 142750f8c2 Add tests for Events 2016-11-17 23:50:42 +01:00
Tobias Kunze 5ea35aa76f Add tests for invoicing 2016-11-17 23:50:42 +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
Tobias Kunze 2f0c7c0ebc Fix #301 -- Add net revenue to sales overview (#313) 2016-11-10 22:24:43 +01:00
Tobias Kunze d54d9a70fb Include site-wide footer link/text 2016-10-31 19:03:41 +01:00
Tobias Kunze c5fdf7c215 Include global settings in event/organizer settings
Also, add tests
2016-10-31 19:03:41 +01:00
Tobias Kunze c647aa9f4e Add a view for GlobalSettings 2016-10-31 19:03:41 +01:00
Tobias Kunze 02fd0a8e06 Add GlobalSetting model 2016-10-31 19:03:41 +01:00
Tobias Kunze b74111f0d8 Show the currency on pending banktransfers (#289) 2016-10-29 12:29:07 +02:00
Tobias Kunze d13198167a Fix #275 -- Pass user executing a refund (for logging) (#287)
Except when triggered by a webhook.
2016-10-27 14:59:35 +02:00
Tobias Kunze 2de328a33b Minor edits in ticketouput docs (#285) 2016-10-24 23:22:51 +02:00
Tobias Kunze aa63a4cded Improved voucher interface with new methods (#284)
* Check that a voucher's variation matches its item

* Add method to check applicability of a voucher

* Add method to check if a voucher can be used

* Add tests for new voucher methods

* Test for ValidationErrors in Voucher.clean()

* Test for voucher state during ordering process
2016-10-24 12:40:06 +02:00
Tobias Kunze e6075cf97c Return boolean as method name suggests (#283) 2016-10-23 18:42:11 +02:00
Tobias Kunze 1dd501f270 Remove remaining attendees template (#276) 2016-10-16 11:48:16 +02:00
Tobias Kunze 1e276b9d0a Remove AttendeeList view
It could not even filter for attendee and you can do everything (and
better and more) in the OrdersList. And it's one menu entry less to
clutter the interface.
2016-10-12 18:44:11 +02:00
Tobias Kunze 9db333bf80 Transactiontask (#268)
* Introduce TransactionAwareTask

As described in
https://blog.hypertrack.io/2016/10/08/dealing-with-database-transactions-in-django-celery/

* Use TransactionAwareTask instead of countdown

… to prevent race conditions when using a newly created object in a
task.
2016-10-10 16:38:06 +02:00
Tobias Kunze b6dc2661ae Add signal to display html in quota detail view (#264) 2016-10-08 15:53:01 +02:00
Tobias Kunze e9c3065e03 Pass required parameter for cache invalidation 2016-10-08 14:40:37 +02:00
Tobias Kunze 11dc8aac36 Force ISO8601-ish datetime format for locale 'en' 2016-10-05 18:47:44 +02:00
Tobias Kunze 689f78d03b Fix incompatibility with sqlparse and debug-toolbar
Thanks to @flaviabastos for reporting this in #259.
I think the issue is solved by higher versions of sqlparse in general,
but without further testing, version pinning is probably the safest
option.
2016-10-04 21:37:52 +02:00
Tobias Kunze 2166fa6f4a Add spaces before ellipses … (#257) 2016-10-02 17:05:06 +02:00
Tobias Kunze f955c35f2d Fix voucher tag overview with MySQL (closes #253) (#254)
This is a fix for this MySQL issue: https://code.djangoproject.com/ticket/24662
It is (imo) the best solution over custom SQL queries or explicit int
casting later on.
2016-09-27 11:42:58 +02:00
Tobias Kunze 1a69185754 There was a missing in a sentence (#247)
;)
2016-09-22 09:38:09 +02:00
Tobias Kunze fc967ed735 Consistent icon use for vouchers (#246) 2016-09-21 13:38:15 +02:00
Tobias Kunze 03ec7e3389 Minor clarification in ticket download hint (#237) 2016-09-15 08:11:05 +02:00
Tobias Kunze a073486c3e Minor changes in translations 2016-09-09 19:59:46 +02:00
Tobias Kunze 55120fc4ea Proper regeneration behavior for cancellations 2016-09-08 15:46:26 +02:00
Tobias Kunze 988dfc32a3 Use @transaction.atomic instead of @transaction.atomic() 2016-09-07 15:30:38 +02:00
Tobias Kunze 65db55f21b Extract common code of generate_invoice and regenerate_invoice
Only change is that a regenerated invoice's date is updated to the
current date, which would seem to be better to me, anyways.
2016-09-07 15:30:36 +02:00
Tobias Kunze 3eb4e84db4 Allow payment providers to supply invoice content 2016-09-07 15:30:35 +02:00
Tobias Kunze 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 Kunze 5f401f17d8 Add a footer and a second text field to invoices
Also, move to using localized strings for Invoice.additional_text
settings for consistency.
2016-08-30 19:49:29 +02:00
Tobias Kunze 157a16810d Add a net_value column to invoices
TODO: localization
2016-08-30 19:05:35 +02:00
Tobias Kunze b8e77aeca4 Render line breaks in invoices "Additional text" 2016-08-30 19:05:35 +02:00
Tobias Kunze 3c8f9f5a62 Catch and display mail sending errors (#215) 2016-08-30 16:49:52 +02:00
Tobias Kunze 96dbfc304a Fix #195 -- Add message explaining invoice address updating process (#196)
Adds messages both pre- and post-update explaining to the user that the
invoice itself will not be automatically regenerated and that support
interaction is required for this step. Might reduce user frustration.
2016-08-30 13:22:24 +02:00
Tobias Kunze 6511d5297f Use localized settings for bank_details (#176)
This is a non-destructive upgrade since LazyI18nString will return a
normal string (which is content of the settings variable up until now)
as-is.
2016-08-29 20:07:36 +02:00
Tobias Kunze c31622fca1 Removed duplicate template and rendering logic 2016-08-29 20:07:36 +02:00
Tobias Kunze 4fa631ab97 Assert that the item count is a positive integer (#221)
Thanks to David Gullasch for pointing this one out.
2016-08-29 19:36:38 +02:00
Tobias Kunze 6108aa880a Typos & translations (#211)
* Translation work on german-informal

* Add translations for new options
2016-08-29 19:27:53 +02:00
Tobias Kunze 00e9e52072 Fix Open Redirect issue in /locale/set (#223)
Thanks to David Gullasch for finding this one.
2016-08-29 19:21:48 +02:00
Tobias Kunze 3458d64850 Add a count of elements to pagination elements (#219)
Also, add a second, upper pagination element to orders and attendees
list sites as those tend to get long.
2016-08-29 19:19:57 +02:00
Tobias Kunze 579d71e95b Fix #198 -- Collapse invoice form if it is optional (#218) 2016-08-29 19:18:20 +02:00
Tobias Kunze 6027262194 Fix #203 -- Add mouseover text to I18nFormFields (#217) 2016-08-29 19:17:24 +02:00
Tobias Kunze 9548dc69a7 Fix #172 -- Add a filter for overdue orders (#216) 2016-08-29 19:16:48 +02:00
Tobias Kunze 7cbc497737 Fix #166 -- Do not resend links to cancelled orders (#214) 2016-08-29 19:12:44 +02:00
Tobias Kunze 1a24a2e892 Show a voucher's item's variation, if any, in list view (#181) (#213) 2016-08-29 19:12:05 +02:00
Tobias Kunze 4a02ed566f Use get_random_string everywhere (#210)
Django's get_random_string tries really hard to either use sysrandom or
be otherwise as unpredictable as possible. Thanks to David Gullasch for
pointing out both the problem and the solution.
2016-08-29 19:10:01 +02:00
Tobias Kunze e440782545 Fix #199 - Export an item's tax_rate in the JSON export 2016-08-29 19:01:24 +02:00
Tobias Kunze 87a77989e7 Disallow cancelling an expired order
as per discussion on #165
2016-08-24 15:26:54 +02:00
Tobias Kunze 5667866c9d Make vouchers reusable upon cancelation of an Order
Refs #165.
2016-08-21 15:56:25 +02:00