Commit Graph

72 Commits

Author SHA1 Message Date
Raphael Michel
f7f151d2a9 Fix #767 -- Allow to obtain the list of orders for a question answer 2018-04-23 11:51:28 +02:00
Raphael Michel
ce68f52ca0 Add badge printing capabilities (#868)
Add badge printing capabilities
2018-04-22 12:02:51 +02:00
Felix Rindt
07d8a3d765 Fix #774 -- Make question options sortable (#786)
* add position field

* add question option sorting logic
* add meta class to question option for sorting
* regenerate migration
* add template content and view mechanics

* Rename migration after rebase & update dependency
2018-03-03 20:36:30 +01:00
Ture Gjørup
8eaada992f Refs #654 -- API: Writable item endpoints (#676)
* MKBDIGI-184: Basic create added for API items endpoint

* MKBDIGI-184: Starting endpoint for GET /api/v1/organizers/(organizer)/events/(event)/items/(id)/variations/

* MKBDIGI-184: endpoint for GET /api/v1/organizers/(organizer)/events/(event)/items/(id)/variations/

* MKBDIGI-184: Completed endpoint for variations

* MKBDIGI-184: Added endpoint for addons

* MKBDIGI-184: Added Item validation

* MKBDIGI-184: Added check for order/cart positions on item variation destroy.

* MKBDIGI-184: Fixed check for order/cart positions on item variation destroy.

* MKBDIGI-184: Updated tests, validation for addons

* MKBDIGI-184: Documentation feedback corrections

* MKBDIGI-184: Added documentation for item add-ons

* MKBDIGI-184: Code formatting fixes

* MKBDIGI-184: Feedback fixes

* MKBDIGI-184: Updated tests for delete item

* MKBDIGI-184: Cleaned up tests

* MKBDIGI-184: Added additional test URLs

* MKBDIGI-184: Documentation fixes

* MKBDIGI-184: Fixed read-only fields/Documentation

* MKBDIGI-184: Documentation fixes

* MKBDIGI-184: Added helper for dict merge for 3.4 compatibility

* MKBDIGI-184: Validation updates

* MKBDIGI-184: Fixed permissions test error. Changed to HTTP 404 for POST to addons endpoint

* MKBDIGI-184: Implemented nested variations and add-ons for POST on the item endpoint.
2018-02-01 15:43:51 +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
b8c041d0d6 Fix #712 -- by default show answers by paid and pending orders 2018-01-14 14:21:26 +01:00
Raphael Michel
9e84e78215 Pagination improvements, allow to select page size 2017-12-09 19:54:39 +01:00
Raphael Michel
8d90c9e03a Add icon columns to product overview 2017-11-26 14:19:02 +01:00
Raphael Michel
6720c0e993 Show assigned products in list of questions 2017-10-17 11:41:29 +02:00
Raphael Michel
f074e642ec Display quotas in event list 2017-10-04 11:25:51 +02:00
Raphael Michel
56338be13e Tax rules and reverse charge (#559)
Tax rules and reverse charge
2017-08-23 13:13:16 +03: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
Raphael Michel
0db5d062be Add a file upload type to questions (#534)
* Initial stuff

* More features
2017-07-03 14:22:31 +02:00
Raphael Michel
396c558b25 Fix critical bug in item creation 2017-05-17 15:47:35 +02:00
Raphael Michel
d9adec88c8 Update translations 2017-05-02 11:01:48 +02:00
Raphael Michel
d389e4390f Add variation descriptions and allow to order addons 2017-05-02 00:12:22 +02:00
Raphael Michel
300f8f666d Automatically sort new products to the end 2017-05-01 22:57:29 +02:00
Raphael Michel
623307b348 Do not override the selected category when copying from a different product 2017-04-22 10:37:28 +02:00
Raphael Michel
09e8fca132 Do not allow adding add-ons to add-ons 2017-04-21 15:12:16 +02:00
Raphael Michel
2c96a26d91 Fix missing attributes in copying products 2017-04-21 15:07:32 +02:00
Raphael Michel
5f52963ce0 Add add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel
867a8132aa Add error messages to forms 2017-04-01 15:23:11 +02:00
Adam K. Sumner
8661bfe4a4 Fix #386 -- Allow to copy products (#396)
* add copy item info functionality

* fix formatting

* Revert "fix formatting"

This reverts commit 779bd79e8b1364bf244904c4b857443d3341fb93.

* Revert "add copy item info functionality"

This reverts commit dbec76bf5ae7c9b08da71a51b1a122026bf4d3ac.

* add copy functionality

* copy questions from item

* add copy functionality

* copy questions from item

* add copy functionality

* copy questions from item
2017-02-08 10:16:18 +01:00
Raphael Michel
c83f539bba Add waiting list 2017-02-07 10:03:30 +01:00
Raphael Michel
f4be14eed8 Refs #126 -- Display logs of vouchers, items, quotas and categories 2017-01-03 23:13:27 +01:00
Raphael Michel
dc73018404 Fix #135 -- Wwarn about over-booking a quota 2017-01-03 22:13:30 +01:00
Raphael Michel
1af09509ff Prevent deletion of ordered variations 2016-12-14 13:39:01 +01:00
Raphael Michel
fdbe71ff63 Fix #141 -- Caching improvements for ticket outputs 2016-11-29 15:52:16 +01:00
Raphael Michel
7b48a17b51 Reduce number of redundant SQL queries 2016-11-06 19:59:19 +01:00
Raphael Michel
efc6b6e480 Resolved various warnings, upgrade bootstrap3 2016-09-27 10:50:13 +02:00
Raphael Michel
9ab3c20b2e Add a read-only view for quotas 2016-09-24 17:22:09 +02:00
Raphael Michel
d2f50cff16 Added statistic view on questions 2016-09-18 20:45:05 +02:00
Raphael Michel
f8ce3523dc Added a donut chart to the quota view
Moved morris.js out of the statistics plugin
2016-09-18 19:11:44 +02:00
Tobias Kunze
988dfc32a3 Use @transaction.atomic instead of @transaction.atomic() 2016-09-07 15:30:38 +02:00
Enrique Saez
3583dde1db Fix #202 -- Allow the manual ordering of questions
* Allow the manual ordering of questions
Update Unit Tests
Fix some typos

* Add migrations

* Minor notation change
2016-08-29 18:36:56 +02:00
Raphael Michel
ead7d8ed78 Improved and documented i18n and background tasks 2016-05-29 20:02:31 +02:00
Raphael Michel
c9350dde40 Use a simpler form for creating items 2016-05-07 16:30:55 +02:00
Raphael Michel
1dbc9130ab Fixed multiple-choice question updates 2016-04-18 17:50:19 +02:00
Raphael Michel
1e8f7a7dca Fixed adding an item picture at creation time 2016-04-18 17:50:19 +02:00
Raphael Michel
0b111ef1fc Fixed problems when adding new questions 2016-03-26 13:40:00 +01:00
Raphael Michel
1cd0c1f53b Refs #102 -- Added multiple-choice question types 2016-03-26 12:47:44 +01:00
Raphael Michel
fdad6787d5 Delete existing cart positions if a product is deleted 2016-03-19 20:58:12 +01:00
Raphael Michel
ad3eb59e6a Fixed #86 -- Decide about variations at product creation 2016-03-10 22:18:53 +01:00
Raphael Michel
0dfc570071 Fixed product deletion 2016-03-03 18:18:54 +01:00
Raphael Michel
76ed6550f3 Fixed product picture upload 2016-03-03 18:11:30 +01:00
Raphael Michel
1e72c58219 Code style fix 2015-12-13 15:11:50 +01:00
Raphael Michel
f748752391 Removed multi-dimensional item variations [backwards-incompatible] 2015-12-13 15:03:56 +01:00
Raphael Michel
58b85819bc Added logging for all basic operations 2015-12-12 22:53:11 +01:00
Raphael Michel
d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel
4a1122a862 Fixed #108 -- Removed the restrictions system 2015-12-06 17:49:02 +01:00