Samir Shah
3672aba818
Drop backward compatibility for dynamic loading of moved formset classes.
7 years ago
Samir Shah
ff0c3e10bd
Deprecate Range.contains() alias for Range.contains_product()
7 years ago
George Tantiras
f2bb0fb73c
Fix outdated use of include() for URL patterns in docs
7 years ago
Samir Shah
990a1eb37c
Add compatibility for Django 2.1, and drop support for Python 3.4.
Django 2.1 works fine - the only issue was that more passwords
have been added to the CommonPasswordValidator which caused some tests
to fail. I've removed that validator from the test settings.
7 years ago
Samir Shah
426cb902d3
Remove various deprecated utilities, methods and classes.
7 years ago
Samir Shah
93fb9555c3
Drop support for category URLs without a primary key.
See #1674 .
7 years ago
Samir Shah
100edceea1
Remove support for deprecated product alert email templates.
7 years ago
Craig Loftus
eba482ed44
Drop unidecode and replace with cautious_slugify from Wagtail
7 years ago
Samir Shah
9d47b998be
Forward-port 1.6.2 release notes.
7 years ago
Samir Shah
42856777fe
Release notes for #2732.
7 years ago
Samir Shah
212f5f61a8
Forward-port release notes for v1.6.1 and change version on master to 2.0-dev.
7 years ago
Samir Shah
3348bb0d13
Replace insecure use of random() to generate random strings.
7 years ago
Samir Shah
b25d837fac
Fix admin URLs in getting started docs.
The ability to include(admin.site.urls) was removed in Django 2.
7 years ago
Samir Shah
8560a90490
Replace calls to super(ClassName, self) with super().
7 years ago
Samir Shah
e2bed3fd95
Remove u prefix from all Python strings.
7 years ago
Samir Shah
0edf88c72d
Drop Python 2 from tox/travis configs.
7 years ago
Craig Loftus
f318d0c5e9
Drop the use of empty and . values for the form action attribute
7 years ago
Samir Shah
87625ef6b6
Use Django's class-based authentication views.
The procedural views were deprecated in Django 1.11 and will be removed in Django 2.1.
7 years ago
Aliaksei Urbanski
0ba06cd328
Add a link to the Signals topic of Django's documentation
7 years ago
Aliaksei Urbanski
33d1f5d7a3
Fix formatting
7 years ago
Samir Shah
4e510dca60
Add stub release notes for v2.0
7 years ago
Samir Shah
95bd7c9c7f
Update version to 1.6 final, and add release date to release notes.
7 years ago
Samir Shah
721fa6475f
Fix validation of required phone_number field in PhoneNumberMixin.
If a phone_number field is required, and empty, then PhoneNumberMixin.clean() fails with a key error because the field does not exist in cleaned_data.
This patch fixes the clean() method to only attempt to clean a field if it exists in cleaned_data. If it doesn't then allow Django to raise a validation error for a missing required field.
Also added more comprehensive tests for the validation logic in the mixin.
7 years ago
Samir Shah
c6c1d3c722
Version bump to 1.6rc2 and forward-port 1.5.4 release notes.
7 years ago
Samir Shah
616c5c6f80
Update ModelFormSetView subclasses to use new factory_kwargs attribute.
Support for the old-style attributes was dropped in django-extra-views 0.11.
Also pin the version as the package does not use semantic versioning.
Fixes #2688 .
7 years ago
Martijn Jacobs
043d96e5b0
Explain that None is a possible value
7 years ago
Martijn Jacobs
943017c222
Default in defaults.py is 10000, not None
7 years ago
Samir Shah
941aeb9462
Decouple price and availability in base strategies.
Revert changes in #1913 and #2294 that required a stock record to have price_excl_tax set in order to report the product as available.
Add separate checks to the basket form/add logic that checks at the time of
adding a product to the basket whether a price exists, and report an error if it doesn't.
Fixes #2664 .
7 years ago
Samir Shah
4a31a23623
Version bump to 1.6rc1.
Also forward-port 1.5.3 release notes and clean up release notes for 1.6
7 years ago
Samir Shah
47fbac61a2
Add backward compatible order verification hash checking.
This can be enabled by specifying a `OSCAR_DEPRECATED_ORDER_VERIFY_KEY` setting, which is not set by default.
This allows projects to continue validating old order verification hashes while still changing the `SECRET_KEY`.
7 years ago
Samir Shah
8b9729a86d
Add a setting to allow overriding Oscar's dynamic class loader.
7 years ago
Samir Shah
8c9a191454
Remove unused OSCAR_SETTINGS setting
7 years ago
Alexander Gaevsky
a9fb83c707
Mention about voucher sets introduction in the release notes.
7 years ago
Paul J Stevens
f7971ccd5c
Feature/voucher sets (#2384)
Add support for managing large amounts of vouchers grouped in sets.
7 years ago
Samir Shah
fb55585742
Forward-port release notes for v.1.5.2 and add missing entries to release notes index.
8 years ago
Alexander Gaevsky
2b608a2fd5
Do not display compact basket form on the product list pages for products which have options.
8 years ago
Samir Shah
d1ce9eae0c
Simplify and deprecate oscar.views.decorators.staff_member_required.
8 years ago
Samir Shah
c6d917673a
Remove deprecated features that were marked for removal in Oscar 1.6.
Update other deprecation notices to use RemovedInDjango20.
8 years ago
Samir Shah
d2b99eba0c
Disable analytics tracking in the dashboard. Fixes #2627.
8 years ago
Samir Shah
af4d773764
Drop transifex-client from requirements.
It is installed separately in transifex.sh for travis, and not required for developing on Oscar.
8 years ago
Kees Hink
68bd0d4e14
Add make target for test, Makefile-created virtualenv can be python3.5 / python3.6. (#2588)
8 years ago
Alexander Gaevsky
8b356a1516
Cleanup `OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES` from documentation as well.
8 years ago
Alexander Gaevsky
e60bb4e99b
Set maximum line quantity on basket page.
8 years ago
Samir Shah
1651bf230f
Upgrade select2 to v4.0, and refactor RemoteSelect widget to work with it.
8 years ago
Alexander Gaevsky
621540c729
Display variant images on product detail page and fallback to parent product if they do not exist.
8 years ago
Alexander Gaevsky
6de8b6abaf
Allow to manage images for all products on product edit page in the dashboard.
8 years ago
Samir Shah
b8547e4a6f
Update ImageInput to use built-in template rendering and add tests for the widget.
8 years ago
Samir Shah
cccd9b43da
Update date/time picker widgets to use template-based rendering.
8 years ago
Samir Shah
b1e27e958e
Update release notes with several recent changes, and refactor wording of some existing notes.
8 years ago
Samir Shah
ffe8e82514
Update release notes for changes made when dropping support for Django < 1.11
8 years ago