Commit Graph

1153 Commits

Author SHA1 Message Date
Tobias Kunze
4fa631ab97 Assert that the item count is a positive integer (#221)
Thanks to David Gullasch for pointing this one out.
2016-08-29 19:36:38 +02:00
Vishal Sodani
5346473f75 Fix #180 -- Hide add to cart button if no products active or no quantity left (#200)
* Hide add to cart button if no products active or no quantity left(#180)

* Fix PEP errors and improve logic

* Fix tests for add to cart change

* Fix the logic for toggling the visibility of Add to Cart button
2016-08-29 19:30:08 +02:00
Tobias Kunze
6108aa880a Typos & translations (#211)
* Translation work on german-informal

* Add translations for new options
2016-08-29 19:27:53 +02:00
Tobias Kunze
00e9e52072 Fix Open Redirect issue in /locale/set (#223)
Thanks to David Gullasch for finding this one.
2016-08-29 19:21:48 +02:00
Tobias Kunze
3458d64850 Add a count of elements to pagination elements (#219)
Also, add a second, upper pagination element to orders and attendees
list sites as those tend to get long.
2016-08-29 19:19:57 +02:00
Tobias Kunze
579d71e95b Fix #198 -- Collapse invoice form if it is optional (#218) 2016-08-29 19:18:20 +02:00
Tobias Kunze
6027262194 Fix #203 -- Add mouseover text to I18nFormFields (#217) 2016-08-29 19:17:24 +02:00
Tobias Kunze
9548dc69a7 Fix #172 -- Add a filter for overdue orders (#216) 2016-08-29 19:16:48 +02:00
Tobias Kunze
7cbc497737 Fix #166 -- Do not resend links to cancelled orders (#214) 2016-08-29 19:12:44 +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
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
Raphael Michel
68967fbfda Fixed mail settings form that was missing a field 2016-08-16 21:34:38 +02:00
Tobias Kunze
4191f93ece Add setting determining invoice number format (#193) 2016-08-16 21:18:39 +02:00
Raphael Michel
6628d65f9a Added *.bak to gitignore 2016-08-16 21:18:19 +02:00
Raphael Michel
5aef86417c Removed two unused model fields 2016-08-16 14:43:00 +02:00
Raphael Michel
2cfdab35bf Banktransfer: Consistently use order.full_code 2016-08-16 14:34:57 +02:00
Raphael Michel
72adbfb3bd Banktransfer: Correct matching of longer order codes 2016-08-16 14:21:07 +02:00
Raphael Michel
a6121c40f1 Added custom headers to mail() API 2016-08-16 13:36:53 +02:00
Raphael Michel
dadc4463fc Added more tests for voucher redemption 2016-08-15 23:00:44 +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
fddd612a63 Updated German translation 2016-08-15 16:59:01 +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
a7fa63465d Added test to check that ordering is not possible after presale_end 2016-08-15 15:56:36 +02:00
Raphael Michel
7e1a6cf0d3 Support django_extensions if it is installed 2016-08-15 15:35:32 +02:00
Raphael Michel
0663bb902e Fixed a problem with plugin URL reversal
It turns out that django does not support multiple include() statements
that define the same namespace (only the first one will be used). But
there isn't a problem that can't be solved with another level of
indirection ;)
2016-08-15 15:35:32 +02:00
Raphael Michel
74866437f4 New signals to add content to the front page 2016-08-15 15:35:32 +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
f2baf79a52 Properly implement and test quota checking in the voucher admin
This also fixes #170
2016-08-15 11:55:51 +02:00
Raphael Michel
fe6de0f635 Added ignored_quotas argument to check_quotas() 2016-08-15 11:48:48 +02:00
Raphael Michel
cba61ae8be Clear cache before running multidomain tests 2016-08-15 08:39:10 +02:00
Raphael Michel
fac9926542 Fixed error introduced in ff3c5dc 2016-08-14 21:05:18 +02:00
Raphael Michel
e90fd57ca3 Update concept documentation and add a graph on order states 2016-08-14 20:41:34 +02:00
Raphael Michel
ff3c5dc6a4 Banktransfer: Reduce number of SQL queries during CSV import 2016-08-14 20:41:34 +02:00
Raphael Michel
a1824595b1 Bankimport: Compatibility with Postbank CSV files 2016-08-14 19:52:00 +02:00
Raphael Michel
71944d4b1e Updated German translation 2016-08-14 18:52:30 +02:00
Raphael Michel
7a8213afcc Removed usages of is_ordered 2016-08-14 18:41:21 +02:00
Raphael Michel
0cb3761093 Speed up travis CI runs 2016-08-14 18:03:58 +02:00
Raphael Michel
7b5dd6bd6c Speed up the test suite 2016-08-14 17:56:58 +02:00
Raphael Michel
42b9559b6f Removed selenium as a test dependency 2016-08-14 17:20:33 +02:00
Raphael Michel
e881abd631 Fixed test that was broken due to 6d54239 2016-08-14 17:19:00 +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
d8a84e762f Replaced first selenium tests with bs4 2016-08-14 12:15:57 +02:00
Raphael Michel
b53ef744ec Fixed a bug in I18nFormField (thanks @JRodDynamite) 2016-08-14 10:44:55 +02:00
Flavia Bastos
95159d2af5 Support markdown on frontpage
Expanding on #51
2016-08-13 21:19:36 +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