Commit Graph

100 Commits

Author SHA1 Message Date
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
21d432a3ca Make cancel notifications optional 2017-07-06 12:04:35 +02:00
Daniel
d444935140 Fix #391 -- Send email on cancelled order (#540)
Send a notification email to user when
order is cancelled.
2017-07-06 11:59:48 +02:00
Raphael Michel
3fa39798e5 Fix test failures 2017-06-29 18:03:16 +02:00
Raphael Michel
2add8d671a Unify all calls to register_payment_providers 2017-06-29 12:09:48 +02:00
Raphael Michel
123d2f6120 Allow to add positions to an existing order 2017-06-19 15:22:57 +02:00
Raphael Michel
8ff2c42070 Fix order changing with zero-priced products 2017-05-22 21:13:05 +02:00
Heok Hong Low
48b3621f1e Fix #499 -- Refactor paymentinfo to payment_info (#501)
* Refactor paymentinfo to payment_info, resolve #499

* Fix calling of object attribute on tuple

* Minor update to setup documentation

* Do not use short words for typochecks

* Text clarification

* Refactor paymentinfo to payment_info, resolve #499

* Include data migration for existing event settings, resolve #499
2017-05-22 14:06:19 +02:00
Raphael Michel
b52f2f5a9e Improve add-on products 2017-04-17 14:54:15 +02:00
Raphael Michel
f03ad7c68f Revert 36d6b6f9, pass language to async tasks 2017-03-25 11:32:29 +01:00
Raphael Michel
69faab01b2 Add constraint for a maximum number of a ticket per order 2017-03-24 17:11:48 +01:00
Raphael Michel
c4bf73c8d6 Refs #340 -- Allow order changes for paid orders if they don't change the total 2017-02-15 18:42:46 +01:00
Raphael Michel
43abe14293 Fix #397 -- Fix problems with reminder email 2017-02-03 14:09:03 +01:00
Raphael Michel
7146d984d0 Move atomic transaction block 2017-02-03 13:11:24 +01:00
Raphael Michel
5495cd749a Fix #399 -- Optionally create invoices only after successful payment 2017-02-03 12:37:07 +01:00
Raphael Michel
cd61c0833d More safety against duplicate PayPal payments 2017-02-01 18:40:27 +01:00
Raphael Michel
221526c979 Prevent duplicate payment confirmation mails 2017-01-22 17:46:56 +01:00
Raphael Michel
2f0cbcc565 Include provider-specific text in payment notification mail 2017-01-21 13:41:20 +01:00
Raphael Michel
bbb71ef891 New email placeholders invoice_name, invoice_company 2017-01-20 09:12:19 +01:00
Raphael Michel
59d440b213 Fix failure of cancel_order with Celery 4 2017-01-09 20:19:26 +01:00
Raphael Michel
c639cd96f5 Moved static files and celery.py 2017-01-04 22:00:28 +01:00
Raphael Michel
67de7150e5 Built-in support for sentry 2017-01-04 21:04:47 +01:00
Raphael Michel
18c24623d7 Use new position ids in order change logs 2016-12-21 18:59:51 +01:00
Raphael Michel
7639ef9a42 Protect against empty orders 2016-12-21 16:28:33 +01:00
Raphael Michel
248ab25567 Fix #296 -- DST issues with expiry dates 2016-11-29 17:05:33 +01:00
Raphael Michel
eea6a5e9da Refs #145 -- Vouchers that grant discounts 2016-11-29 16:18:07 +01:00
Raphael Michel
fdbe71ff63 Fix #141 -- Caching improvements for ticket outputs 2016-11-29 15:52:16 +01:00
Raphael Michel
db6fb51fc6 Refs #145 -- Multi-use vouchers 2016-11-27 16:02:40 +01:00
Raphael Michel
8f3ffd6f2e Add profiling for celery tasks 2016-11-20 15:19:31 +01:00
Raphael Michel
f580f1fce5 Add meta_info to orders 2016-11-13 16:04:32 +01:00
Raphael Michel
32d00e4313 Refs #273 -- Fix broken migration tree and timezone issues 2016-10-20 15:10:55 +02:00
Raphael Michel
f22596a5a5 Fix #273 -- Set correct all order expiry times to the end of the day 2016-10-20 11:56:46 +02:00
Raphael Michel
d82e159ffc Removed duplicate keys from dictionary 2016-10-18 19:00:44 +02:00
Raphael Michel
158043e29e Fixed a bug in order validation 2016-10-18 19:00:44 +02:00
Raphael Michel
503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Raphael Michel
68987970bf OrderChangeManager: Deal with unlimited quotas correctly 2016-09-26 14:13:33 +02:00
Raphael Michel
2a8bbb9952 Fixed missing check for variation.active 2016-09-25 20:54:40 +02:00
Raphael Michel
48791b2f02 Refs #250 -- Keep payment deadlines on weekdays 2016-09-25 12:19:15 +02:00
Tobias Kunze
1a69185754 There was a missing in a sentence (#247)
;)
2016-09-22 09:38:09 +02:00
Raphael Michel
84fd7cb166 Merge remote-tracking branch 'remotes/flaviabastos/187_unify_canceled_spelling' 2016-09-21 19:07:15 +02:00
Flavia Bastos
8ef6439c44 Unify spelling of 'canceled'
Issue 187
Remove typeahead JS file.
2016-09-21 10:35:41 -06:00
Raphael Michel
1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02:00
Raphael Michel
e93a24afb2 Call order_placed signal after invoice address is set 2016-09-12 17:31:02 +02:00
Raphael Michel
582eb1b7a8 Fixed a TypeError in send_expiry_warnings 2016-09-11 17:11:04 +02:00
Raphael Michel
54d5477069 Resolve naive datetime warning 2016-09-08 21:42:20 +02:00
Tobias Kunze
988dfc32a3 Use @transaction.atomic instead of @transaction.atomic() 2016-09-07 15:30:38 +02:00
Raphael Michel
a6bafd816b Send automatic payment reminder emails, redesign mail settings 2016-09-02 10:16:08 +02:00
Raphael Michel
972ad211bf Only expire orders in the evening of their expiry date 2016-09-02 10:09:15 +02:00
Raphael Michel
b21ed4d99f Fix #163 -- Form to change orders (#191) 2016-08-31 19:10:11 +02:00
Raphael Michel
c30ff5e657 Only call now() once inside any event.lock() call 2016-08-29 22:33:51 +02:00