Samir Shah
1784dfef42
Fix logic for checking whether an offer is active based on date.
- If start_datetime is null, then the offer has no start date.
- If end_datetime is null, then the offer never expires.
Use the ActiveOfferManager in Applicator.get_site_offers instead of
reimplementing the same logic there.
Fixes #2344 .
8 years ago
Alexander Gaevsky
5f42e522e7
Improve documentation (#2348)
* Add note about ``get_default_shipping_method`` shipping repository method to the documentation.
* Add note how to add custom node to the dashboard navigation with non-dashboard URLconf.
8 years ago
Samir Shah
a936494832
Merge pull request #2343 from przlada/shipping_docs_fix
Fix typo in shipping how to docs `how_to_configure_shipping.rst`.
8 years ago
Alexander Gaevsky
38367f9ca8
Merge pull request #2346 from clintonb/fix-offer-custom
Updated offer.custom module to load models using get_model()
8 years ago
Clinton Blackburn
858c0758a4
Updated offer.custom module to load models using get_model()
This change ensures that the module can be loaded if models are customized in forked apps.
Fixes #2345
8 years ago
Przemek Łada
b203b3c032
Fixed typo in shipping how to docs `how_to_configure_shipping.rst`.
8 years ago
Alexander Gaevsky
013b763ed9
Merge pull request #2342 from sasha0/issues/1507/search-index
Initiate pricing strategy inside the search index class in order to make it easier to override.
8 years ago
Alexander Gaevsky
2c71ac3623
Initiate pricing strategy inside the search index class in order to make it easier to override.
Despite you cannot customize `ProductIndex` class, you may need inherit original search index class and override necessary functionality or add new fields.
Afterwards, do not forget to exclude original search index in the Haystack settings.
8 years ago
Michael van Tellingen
6b6aefbf59
Don't publish CI badges on pypi description page
8 years ago
Alexander Gaevsky
884d8a9113
Remove unique_together attribute from `ProductImage` model Meta in order to allow `display_order` field save, prohibited by unique constraint.
8 years ago
pyup-bot
aef2a6bd72
Update django-debug-toolbar from 1.6 to 1.7
8 years ago
pyup-bot
e38b96a4b5
Update pillow from 4.1.0 to 4.1.1
8 years ago
Alexander Gaevsky
7da8b7fdb2
Merge pull request #2337 from django-oscar/fix/date-widget-unicode-handling
Fix handling of unicode formats in Oscar's date/time/datetime widgets.
8 years ago
Samir Shah
9cad0d3437
Fix handling of unicode formats in Oscar's date/time/datetime widgets.
Also remove some Django 1.6 compatibility code.
Fixes #2176 .
8 years ago
Michael van Tellingen
56e5bfd789
Fix phone number in the order fixtures
8 years ago
Michael van Tellingen
57e9d305c9
Fix compatibility with django-phonenumbers-field 1.3.0
Return an empty string when no value was given for a phone number instead
of None since the phonenumberfield doesn't cast none to '' anymore which
resulted in an not null sql error.
8 years ago
Michael van Tellingen
713a6470e3
Fix call to catalogue.ProductSearchHandler
This was removed in an earlier commit (thanks solarissmoke)
8 years ago
Michael van Tellingen
4aa35023f4
Remove catalogue.ProductSearchHandler (deprecated)
8 years ago
Michael van Tellingen
6907b62eb5
Update release notes
8 years ago
Michael van Tellingen
5d5ed02c9f
Update version range for django-phonenumber-field
8 years ago
Michael van Tellingen
b0231d8d88
Rename offer signal to remove unused conditions/benefits
8 years ago
Michael van Tellingen
0332965249
Fix widgets.ImageInput for Django 1.11
The FileInput.format_value returns None instead of the passed value
in Django 1.11. Remove the usage of format_value since it was a noop
before Django 1.11 anyway
Fixes #2334
8 years ago
Alexander Gaevsky
66c475999b
Merge pull request #2332 from django-oscar/use-auth-password-validators
Switch to using Django's password validation framework in Django >=1.9
8 years ago
Alexander Gaevsky
413e53bc54
Merge pull request #2333 from sasha0/issues/862/cleanup-product-reviews
Remove product reviews on product removal.
8 years ago
Samir Shah
e191a954d4
Switch to using Django's password validation framework in Django >=1.9
Django 1.9 introduced the AUTH_PASSWORD_VALIDATORS setting which allows for
more flexible password validation. Switch to using that when it is available,
with a fallback to Oscar's previous behaviour in Django 1.8 or when this
setting is empty.
8 years ago
Alexander Gaevsky
166f8bf3f9
Remove product reviews on product removal.
8 years ago
Alexander Gaevsky
9b9c240f32
Merge pull request #2331 from django-oscar/remove-urlfield-verify-exists
Remove the verify_exists argument from ExtendedUrlField
8 years ago
Samir Shah
1a2e827916
Remove the verify_exists argument from ExtendedUrlField
This was removed from the parent class way back in Django 1.4, and was
not being used at all here. It existed only for backwards compatibility.
8 years ago
Alexander Gaevsky
a4af12c890
Merge pull request #2320 from samitnuk/issue/1493/delete_conditional_offer
Cleanup unused benefits and conditions after conditional offer removal.
8 years ago
Alexander Gaevsky
73ea5dbb31
Merge pull request #2329 from django-oscar/fix/create-missing-image-dirs
Attempt to create media directory for MissingProductImage if it doesn't exist
8 years ago
Samir Shah
415b87d01e
Attempt to create media directory for MissingProductImage if it doesn't exist.
Fixes #2168 .
8 years ago
Basil Dubyk
57271f20de
Cleanup unused benefits and conditions after conditional offer removal.
Now after ConditionalOffer deleted will be deleted related Benefits and Conditions models (through post_delete signal) if they are no longer used by other offers (with exception of custom benefits/conditions). Plus some small changes related to PEP8 and typos.
8 years ago
Alexander Gaevsky
894484c9f2
Merge pull request #2326 from django-oscar/update-supported-versions
Update supported Django/Python versions and tox configuration.
8 years ago
Samir Shah
03eb166be9
Update supported Django/Python versions and tox configuration.
- Drop support for Django 1.9 (EOL)
- Drop support for Python 3.6 with Django 1.8 to 1.10
8 years ago
Alexander Gaevsky
6548414617
Merge pull request #2322 from django-oscar/fix/multi_option_value_as_text
Fix Python 3 string handling in AbstractProductAttributeValue._multi_option_as_text
8 years ago
Alexander Gaevsky
6f50e6ae32
Merge pull request #2323 from django-oscar/pyup-update-django-redis-4.7.0-to-4.8.0
Update django-redis to 4.8.0
8 years ago
pyup-bot
61e933f293
Update django-redis from 4.7.0 to 4.8.0
8 years ago
Samir Shah
080127c36b
Fix Python 3 string handling in AbstractProductAttributeValue._multi_option_as_text
8 years ago
Alexander Gaevsky
f87bc62cd9
Merge pull request #2321 from django-oscar/fix/auth_backend_signature
Fix EmailBackend.authenticate() signature for Django 1.11.
8 years ago
Samir Shah
1424c6874a
Fix EmailBackend.authenticate() signature for Django 1.11.
8 years ago
Samir Shah
0c64e787fe
Remove unused CatalogueImportError exception. Fixes #2319.
8 years ago
Alexander Gaevsky
c5c54900f8
Merge pull request #2315 from django-oscar/refactor-alerts-dispatcher
Refactor product alerts to use Communication Events
8 years ago
Alexander Gaevsky
775d4e9cf1
Merge pull request #2316 from django-oscar/pyup-update-ipdb-0.10.2-to-0.10.3
Update ipdb to 0.10.3
8 years ago
pyup-bot
cceb3d95f3
Update ipdb from 0.10.2 to 0.10.3
8 years ago
Samir Shah
d351847f6a
Add more tests for product alerts, save alerts sent to registered users, and notes to the docs.
8 years ago
Samir Shah
4914955491
Refactor product alerts to use Communication Events.
8 years ago
Samir Shah
5d443fbd6f
Allow the Dispatcher to accept a mail_connection to use instead of opening a new one.
8 years ago
Michael van Tellingen
d23d4f4ba6
Re-do the migrations for the customer email change.
The copying of the email address within the datamigration isn't really
optimal when a site has a large number of users and send emails.
8 years ago
pyup-bot
9457b0023b
Update django-environ from 0.4.2 to 0.4.3
8 years ago
Samir Shah
740d9c6013
Alter catalogue migration so that it works on Python 3.
8 years ago