Commit Graph

31 Commits

Author SHA1 Message Date
Martin Gross
4584d23434 Fix #556 - Max. redemptions instead of amount of vouchers (#558) 2017-07-14 12:11:34 +02:00
Raphael Michel
8123effa65 Add sub-events and relative date settings (#503)
* Data model

* little crud

* SubEventItemForm etc

* Drop SubEventItem.active, quota editor

* Fix failing tests

* First frontend stuff

* Addons form stuff

* Quota calculation

* net price display on EventIndex

* Add tests, solve some bugs

* Correct quota selection in more places, consolidate pricing logic

* Fix failing quota tests

* Fix TypeError

* Add tests for checkout

* Fixed a bug in QuotaForm

* Prevent immutable cart if a quota was removed from an item

* Add tests for pricing

* Handle waiting list

* Filter in check-in list

* Fixed import lost in rebase

* Fix waiting list widget

* Voucher management

* Voucher redemption

* Fix broken tests

* Add subevents to OrderChangeManager

* Create a subevent during event creation

* Fix bulk voucher creation

* Introduce subevent.active

* Copy from for subevents

* Show active in list

* ICal download for subevents

* Check start and end of presale

* Failing tests / show cart logic

* Test

* Rebase migrations

* REST API integration of sub-events

* Integrate quota calculation into the traditional quota form

* Make subevent argument to add_position optional

* Log-display foo

* pretixdroid and subevents

* Filter by subevent

* Add more tests

* Some mor tests

* Rebase fixes

* More tests

* Relative dates

* Restrict selection in relative datetime widgets

* Filter subevent list

* Re-label has_subevents

* Rebase fixes, subevents in calendar view

* Performance and caching issues

* Refactor calendar templates

* Permission tests

* Calendar fixes and month selection

* subevent selection

* Rename subevents to dates

* Add tests for calendar views
2017-07-11 13:56:00 +02:00
Tobias Kunze
8fa490c938 Allow to add a prefix when generating voucher codes (#518) 2017-06-16 23:21:23 +02:00
jlwt90
1baac6bb21 add voucher code in success message (#426)
* add voucher code in success message

* change voucher message
2017-03-05 09:32:56 +01:00
Tobias Kunze
4e6345aaed Remove whitespace when searching for a voucher (#366) 2016-12-29 14:11:50 +01:00
Raphael Michel
70fa7eac6b Vouchers: Bug in export, default mode 2016-12-22 17:54:24 +01:00
Raphael Michel
eea6a5e9da Refs #145 -- Vouchers that grant discounts 2016-11-29 16:18:07 +01:00
Raphael Michel
db6fb51fc6 Refs #145 -- Multi-use vouchers 2016-11-27 16:02:40 +01: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
Raphael Michel
f8c99f6d02 Added can_view_vouchers permission 2016-09-24 17:18:32 +02:00
Raphael Michel
d1f79faef2 New tests and minor fixes 2016-09-20 16:13:13 +02:00
koebi
5c0f04fc67 Fix #228 -- Enable substring-search when matching voucher tags (#241) 2016-09-16 00:06:01 +02:00
Raphael Michel
5c791e7fab Order voucher tags in the voucher tag view 2016-09-14 08:55:42 +02:00
Tobias Kunze
988dfc32a3 Use @transaction.atomic instead of @transaction.atomic() 2016-09-07 15:30:38 +02:00
Raphael Michel
dc3e1e3d30 Got rid of javascript-based random generator 2016-08-29 23:46:17 +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
Raphael Michel
7a8213afcc Removed usages of is_ordered 2016-08-14 18:41:21 +02:00
Raphael Michel
a056ee732a Added voucher list download as CSV 2016-08-05 10:32:06 +02:00
Raphael Michel
ce6e8d0f5c Refs #105 -- Check quota before blocking it with a voucher 2016-08-05 10:18:24 +02:00
Raphael Michel
221ce9f0ae Added configuration options for some secret lengths 2016-08-03 00:18:04 +02:00
Raphael Michel
168288e98a Added voucher tag statistics 2016-07-30 15:41:59 +02:00
Raphael Michel
650f2412c2 Added filtering to the voucher list 2016-07-30 13:56:43 +02:00
Raphael Michel
2541855948 Fixed missing or unused imports 2016-07-18 23:12:16 +02:00
Raphael Michel
10c18c5cc9 Added signals to VoucherBulkForm to ease extension 2016-07-11 19:30:29 +02:00
Raphael Michel
35a9ab8f62 Added signals that allow to modify the voucher form 2016-07-03 16:52:56 +02:00
Raphael Michel
28f3eae74b Added bulk creation form for vouchers 2016-06-01 13:30:17 +02:00
Raphael Michel
cc9a9723fe Added "comments" and "tags" to vouchers 2016-06-01 12:45:32 +02:00
Raphael Michel
8c188641ee Added search capabilities to the voucher list 2016-06-01 12:31:08 +02:00
Raphael Michel
167b208df9 Fixed bugs in voucher deletion view 2016-04-13 11:10:37 +02:00
Raphael Michel
6b25dea7b0 Don't show delete page in control panel if deletion is impossible 2016-02-11 16:58:23 +01:00
Raphael Michel
6e22149a21 UI for creating and chacnging vouchers 2016-02-09 11:47:16 +01:00