Commit Graph

1693 Commits

Author SHA1 Message Date
Raphael Michel
0b167aaa2c Deprecate PluginType 2016-11-03 11:33:44 +01:00
Raphael Michel
ad35110166 Offer download options per position, not per order 2016-11-02 14:51:05 +01:00
Raphael Michel
3596fcd4dd Include a sample address for sample orders 2016-11-01 15:44:58 +01:00
Raphael Michel
e8b28f88eb Do not try to unserialize multiple times when a setting is inherited 2016-11-01 10:46:18 +01:00
Raphael Michel
95703a0703 Change slug of GlobalSettingsObject 2016-11-01 10:04:12 +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
Raphael Michel
d8b833c257 Fix urgent TypeError in Order._can_be_paid 2016-10-30 10:28:56 +01: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
Raphael Michel
853510a375 Added an upper price limit to fit our decimal context 2016-10-23 19:34:29 +02:00
Raphael Michel
70199eb7ae Randomize filenames of settings files and delete old versions 2016-10-23 19:14:16 +02:00
Tobias Kunze
e6075cf97c Return boolean as method name suggests (#283) 2016-10-23 18:42:11 +02:00
Raphael Michel
dcd6f2d8d1 Fixed unused import 2016-10-21 10:49:09 +02:00
Raphael Michel
0dece9e62b Add a custom context manager for rollbacks (#282) 2016-10-21 10:40:04 +02:00
Raphael Michel
39e940da5e Preview for ticket outputs 2016-10-20 20:43:31 +02:00
Raphael Michel
d6478e66de Fix #278 -- Preview for invoices 2016-10-20 18:58:05 +02:00
Raphael Michel
05ecfdb9e2 Refs #273 -- Add backwards migration (noop) and fix tests 2016-10-20 17:56:48 +02: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
f3509707d7 Use CachedTicket.get_or_create to avoid duplicates 2016-10-18 19:00:44 +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
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
Raphael Michel
067b80cd3c Account history view 2016-10-09 12:59:43 +02:00
Raphael Michel
db49f8ea89 EventPluginSignal: Call core plugins even when no event is given 2016-10-09 12:59:43 +02:00
Raphael Michel
f82b5ddaae Account security notifications via email 2016-10-09 12:59:43 +02:00
Raphael Michel
d7719d0bc7 2FA: Login via U2F 2016-10-09 12:59:43 +02:00
Raphael Michel
aecf263de7 2FA: Registraion of U2F devices 2016-10-09 12:59:43 +02:00
Raphael Michel
2f24af824e 2FA: Support for adding TOTP-based devices 2016-10-09 12:59:43 +02:00
FlaviaBastos
5e3a8325ca Fix #155 -- Remove javascript URIs for CSP (#261)
* remove javascript URIs for CSP

#155

* remove javascript URIs for CSP
Issue 155

Combining js error handling files.
2016-10-05 18:17:54 +02:00
Raphael Michel
b5a23224c8 Added admin action to make an expired order pending again 2016-10-03 11:14:20 +02:00
Raphael Michel
d00eb41222 Merge branch 'django110' 2016-10-03 10:31:49 +02:00
Raphael Michel
96a640ad90 Fixed a bug that lead to wrong payment type links in the order overview 2016-10-02 19:13:55 +02:00
Tobias Kunze
2166fa6f4a Add spaces before ellipses … (#257) 2016-10-02 17:05:06 +02:00
Raphael Michel
3e318d0dcf Django 1.10: User.is_authenticated is now a property 2016-09-27 10:25:20 +02:00
Raphael Michel
965428e422 Django 1.10: New-style middlewares 2016-09-27 10:00:03 +02:00
Raphael Michel
6d894bf98c Custom 404 error view to handle translated error messages correctly 2016-09-26 19:01:38 +02:00
Raphael Michel
00810cdfab Stop instantiating context objects as it is deprecated 2016-09-26 19:01:38 +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
Raphael Michel
f8c99f6d02 Added can_view_vouchers permission 2016-09-24 17:18:32 +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
d1f79faef2 New tests and minor fixes 2016-09-20 16:13:13 +02:00