Commit Graph

362 Commits

Author SHA1 Message Date
Raphael Michel
eef9e287aa Added exporter for a list of orders 2016-09-01 11:30:21 +02:00
Raphael Michel
795d0ec333 Improve help on the Item model 2016-09-01 09:00:16 +02:00
Tobias Kunze
7e19effe3c Fix #122 -- Allow users to re-send order links (#197)
If the provided mail address has not ordered anything, there will still
be a mail generated and sent to an invalid mail address, to avoid
obvious timing attacks to determine active users.
2016-09-01 08:59:36 +02:00
Enrique Saez
841cfe52a2 Fix #91 -- Make products/orders that are not cancelable (#204)
* Make products/orders that are not cancellable
Update Unit Tests

* Make use of select_related instead of prefetch_related
Simplify cancellable logic
Migrations

* Simplify cancellable logic
Maske use of select_related instead of prefetch_related

* Fix cancelable condition bug
2016-09-01 08:55:02 +02:00
Raphael Michel
022e02d913 Fix #177 - Allow to change the payment method 2016-08-31 19:54:45 +02:00
Raphael Michel
b21ed4d99f Fix #163 -- Form to change orders (#191) 2016-08-31 19:10:11 +02:00
Raphael Michel
5659cb17cc Fixed missing migrations 2016-08-30 21:53:47 +02:00
Tobias Kunze
5f401f17d8 Add a footer and a second text field to invoices
Also, move to using localized strings for Invoice.additional_text
settings for consistency.
2016-08-30 19:49:29 +02:00
Tobias Kunze
157a16810d Add a net_value column to invoices
TODO: localization
2016-08-30 19:05:35 +02:00
Tobias Kunze
b8e77aeca4 Render line breaks in invoices "Additional text" 2016-08-30 19:05:35 +02:00
Tobias Kunze
3c8f9f5a62 Catch and display mail sending errors (#215) 2016-08-30 16:49:52 +02:00
Raphael Michel
dc3e1e3d30 Got rid of javascript-based random generator 2016-08-29 23:46:17 +02:00
Raphael Michel
1cb6c0e3da Add more tolerance about handwriting in order code detection 2016-08-29 23:21:55 +02:00
Raphael Michel
c30ff5e657 Only call now() once inside any event.lock() call 2016-08-29 22:33:51 +02:00
Raphael Michel
5f64aecafa Merge pull request #201 from rixx/ticket165_reactivate_voucher
Fix #165 -- Reactivate voucher on cancelled orders
2016-08-29 21:15:10 +02:00
Raphael Michel
0bc504761b Fixed a problem with default values in I18nWidget 2016-08-29 20:07:36 +02:00
Tobias Kunze
6027262194 Fix #203 -- Add mouseover text to I18nFormFields (#217) 2016-08-29 19:17:24 +02:00
Tobias Kunze
4a02ed566f Use get_random_string everywhere (#210)
Django's get_random_string tries really hard to either use sysrandom or
be otherwise as unpredictable as possible. Thanks to David Gullasch for
pointing out both the problem and the solution.
2016-08-29 19:10:01 +02:00
Tobias Kunze
e440782545 Fix #199 - Export an item's tax_rate in the JSON export 2016-08-29 19:01:24 +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
Tobias Kunze
87a77989e7 Disallow cancelling an expired order
as per discussion on #165
2016-08-24 15:26:54 +02:00
Tobias Kunze
5667866c9d Make vouchers reusable upon cancelation of an Order
Refs #165.
2016-08-21 15:56:25 +02:00
Tobias Kunze
4191f93ece Add setting determining invoice number format (#193) 2016-08-16 21:18:39 +02:00
Raphael Michel
5aef86417c Removed two unused model fields 2016-08-16 14:43:00 +02:00
Raphael Michel
a6121c40f1 Added custom headers to mail() API 2016-08-16 13:36:53 +02:00
Raphael Michel
63b683096b Resolved two more edge cases in quota handling
Scenario 1) Blocking voucher is used in a CartPosition. Previously
too much was subtracted from the quota.

Scenario 2) When two quotas are assigned to a product and one of them
is sold out, blocking vouchers for the other quota should not enable to
buy the product.
2016-08-15 22:55:18 +02:00
Raphael Michel
1cb956d508 Added setting to disable order cancelling for users 2016-08-15 16:42:39 +02:00
Raphael Michel
3dfdfdf5d0 Check required vouchers at checkout 2016-08-15 16:10:38 +02:00
Raphael Michel
1ef5973e26 Removed debugging output 2016-08-15 15:35:32 +02:00
Tobias Kunze
19e45ac294 Remove phone numers from invoices (#189) 2016-08-15 15:06:26 +02:00
Raphael Michel
fe6de0f635 Added ignored_quotas argument to check_quotas() 2016-08-15 11:48:48 +02:00
Raphael Michel
71944d4b1e Updated German translation 2016-08-14 18:52:30 +02:00
Raphael Michel
6d54239b47 Fixed a bug that lead to invoice information not being editable if
nothing else is editable in an order
2016-08-14 16:10:06 +02:00
Raphael Michel
b53ef744ec Fixed a bug in I18nFormField (thanks @JRodDynamite) 2016-08-14 10:44:55 +02:00
Raphael Michel
5031393136 Force isort to treat typing in the py3.5 style, not py3.4 2016-08-13 21:19:36 +02:00
Tobias Kunze
34212841e2 Fixed typos and a little phrasing. (#175)
Mostly in German translation, some small fixes in English text, too.
2016-08-13 21:16:16 +02:00
Raphael Michel
2ad5565db5 Merge pull request #178 from rixx/order_fixes
Add comment field to Orders
2016-08-13 21:01:05 +02:00
Tobias Kunze
3eb581e55a Add comment field to Orders
refs #177
2016-08-12 10:30:23 +02:00
Tobias Kunze
980e0f5eb3 Make mail() raise an exception on obvious failures
As per #164. Should also work for #69.
2016-08-10 21:06:10 +02:00
Raphael Michel
72408c012d Refs #131 -- Add exporter to download invoices 2016-08-05 11:49:21 +02:00
Raphael Michel
5ffe2963dd Move core exporters to their own package 2016-08-05 11:37:00 +02:00
Raphael Michel
a22262aa30 Refs #131 -- Allow to regenerate an invoice 2016-08-05 11:26:13 +02:00
Raphael Michel
a61792ed4e Do not issue invoices for free payments 2016-08-05 11:06:22 +02:00
Raphael Michel
58e706b721 Fixed bug in quota calculation (thanks @rixx!) 2016-08-04 18:00:28 +02:00
Raphael Michel
39ada8954e Added optional links to the order in emails 2016-08-04 17:56:07 +02:00
Raphael Michel
221ce9f0ae Added configuration options for some secret lengths 2016-08-03 00:18:04 +02:00
Raphael Michel
d976d8d26d Added some database indices 2016-08-03 00:18:04 +02:00
Raphael Michel
d682b8121d Fixed saving boolean fields in SettingsForm 2016-07-31 20:42:29 +02:00
Raphael Michel
505d3624b3 Added documentation on logging 2016-07-31 13:31:57 +02:00
Raphael Michel
b7ad2cdc39 Fixed problems when plugins extend LoggedModel 2016-07-30 13:39:41 +02:00