Commit Graph

51 Commits

Author SHA1 Message Date
Raphael Michel
a4d8c810ce Support for right-to-left languages (#1438)
* play around

* Flip things in presale

* Convert backend

* Remove test settings

* Safe getattr
2019-10-15 11:41:23 +02:00
Raphael Michel
2c6125adeb Allow to copy vouchers 2019-09-19 16:33:59 +02:00
Martin Gross
cf14dcf889 Add Subevent-Filter for Voucher-Tags (#1407)
* Add Subevent-Filter for Voucher-Tags

* Filter Subevent Voucher-Tags with proper Filter

* Apply filter before annotating totals and usage
2019-09-16 14:08:23 +02:00
Raphael Michel
d994fc674a Do not CASCADE-delete vouchers when deleting items or quotas 2019-07-11 12:35:52 +02:00
Raphael Michel
ca1c387a41 Allow quota-level vouchers for hidden products (#1123)
* Changes in checks

* Backwards-compatible implementation

* Add test

* Fix voucher bulk form
2019-07-07 13:36:04 +02:00
Raphael Michel
99a2fde373 Voucher form: Move product above price mode 2019-06-17 22:56:51 +02:00
Raphael Michel
b83752005a Voucher: Do not show URL if subevent is required 2019-03-14 15:35:01 +01:00
Raphael Michel
875d79536b Re-group voucher options 2019-03-13 11:24:50 +01:00
Raphael Michel
4bf0d2d229 Show voucher link in voucher detail view 2019-03-13 11:22:50 +01:00
Maarten van den Berg
bf1e9d47d0 Fix #1111 -- Duplicate voucher warning (#1142)
Adds a new method to Voucher that selects all distinct orders containing
a position where the Voucher has been used, and changes the Voucher
detail view to use this method for the warning.
2019-01-21 08:52:31 +01:00
Raphael Michel
09a9d610f8 Make navigation structure more approachable to new users (#1083)
* Move event selector to sidebar

* Unify navigation

* Fix confusing icons
2018-11-12 11:30:36 +01:00
Tobias Kunze
2557a8e4ec Allow to show all vouchers with empty tags 2018-11-05 10:34:25 +01:00
Raphael Michel
4b8d4b4792 Allow to bulk-delete vouchers 2018-10-03 11:32:55 +02:00
Mason Mohkami
479a7d9162 Fix #357 -- Implement go to for vouchers (#849)
* Add Go input for vouchers on the vouchers list page (#357)

* Final fixes
2018-05-31 12:43:32 +02:00
Raphael Michel
36585395f1 Voucher list: add more filters 2018-02-21 16:17:06 +01:00
Raphael Michel
4ed3df2b08 Voucher list: Refactor to use filter form 2018-02-02 15:20:26 +01:00
Felix Rindt
251d62f3c4 Fix #732 -- Add date and time question types (#732)
* [WIP] add date/time question type

* Date/time questions python classes, types and form handling

* use own timepicker

* Fix argument naming

* Add css and js for datetimepickers

* remove not needed str call

* seperate splitdatetime widget template and fix date/time questions

* change date placeholder to dec 31

* do not show seconds in presale time pickers

* improve codestyle

* add new question types to api doc

* add test

* expand test to datetime question

* add new questiontypes to changelog

remove duplicate parens

* remove timezone from time only question answers

* improve codestyle

* Fix date and time formatting in control question overview
2018-01-14 14:29:38 +01:00
Raphael Michel
9b4a3bcbef Fix voucher filter 2017-12-19 10:53:23 +01:00
Raphael Michel
7ec614a691 Allow filtering the voucher list for checked-in tickets 2017-12-11 16:07:24 +01:00
Raphael Michel
d94faae5af Add subevent to bulk voucher form 2017-11-15 14:53:46 +01:00
Raphael Michel
cbfd722c92 Fix #635 -- Visually indicate optional and required fields (#638) 2017-10-12 16:00:49 +02:00
Raphael Michel
2f252f19c9 Form UX: Use splitted date/time widgets 2017-10-05 10:17:17 +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
Tobias Kunze
a10090b1fb Set autofocus on search/filter field (#427) 2017-03-06 14:19:14 +01:00
Jan Felix Wiebe
63bdb397e7 Added validation for voucher generation field (#373)
* Check voucher count input field before generating

* changed voucher-bulk-codes-num to numeric type

* Added Jan Felix to AUTHORS

* replaced alert by validation colors

* added another formatting reset

...so that it does not stay red if someone submits something valid
2017-01-15 15:42:15 +01:00
Raphael Michel
f4be14eed8 Refs #126 -- Display logs of vouchers, items, quotas and categories 2017-01-03 23:13:27 +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
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
Raphael Michel
70d6cb4255 Fix #222 -- Link the related order(s) in a used voucher 2016-09-01 22:24:09 +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
a056ee732a Added voucher list download as CSV 2016-08-05 10:32:06 +02:00
Raphael Michel
221ce9f0ae Added configuration options for some secret lengths 2016-08-03 00:18:04 +02:00
Raphael Michel
694c3143a5 Fixed typos and updated translation 2016-07-30 22:46:07 +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
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
818f61a819 Added code generator for bulk coupons 2016-06-01 19:10:00 +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
7ae7da5af1 Improved list views to look better when they are empty 2016-05-07 14:29:00 +02:00
Raphael Michel
bcc42db837 Updated German translation 2016-05-04 18:03:54 +02:00
Raphael Michel
09cee356b0 Allow for vouchers that are valid for multiple items 2016-05-04 17:50:19 +02:00
Raphael Michel
167b208df9 Fixed bugs in voucher deletion view 2016-04-13 11:10:37 +02:00
Raphael Michel
047e5bb067 Refs #105 -- Variation support for vouchers 2016-03-20 11:46:55 +01:00
Raphael Michel
f18a180ae4 Added voucher redemption 2016-02-11 16:41:22 +01:00