Samir Shah
a11bd4d5d1
Add Github Actions workflows for tests, remove Travis CI config.
5年前
Basil Dubyk
0f3df5fca9
Fix rendering of upsell messages for exclusive offers (#3548)
* Improve `available` method of `LineOfferConsumer` class
* Add `quantity_available_for_offer` method to `AbstractLine` class
* Improve conditions: "Get num matches" methods updated to use `quantity_available_for_offer`
method of `Line` model.
* Improve conditions: `get_upsell_message` methods updated to show upsell message only in
the cases where `delta` > 0.
* Ensure basket upsell messages are not `None`
5年前
Orinda Harrison(Mitch)
af4054be25
Pass currency to Benefit.round method, so that rounding can vary based on currency (#3575)
5年前
Joseph Wayodi
d0796cdc2b
Fix checkout.ThankYouView.get_object to never raise DoesNotExist error
Also fix "is_anonymous" attribute value in WebTestCase subclass.
5年前
Basil Dubyk
7c5f745919
Improve `test_post_process_urls_adds_decorator`
Use function as the return value of `get_url_decorator`. This change
needed because `get_url_decorator` method of `OscarConfigMixin` class
returns function or `None` and not string.
5年前
Orinda Harrison(Mitch)
2599135e93
Add SEO fields to product and category models and make editable in the dashboard (#3534)
5年前
Samir Shah
4bdf5df9b1
Port all core templates and styles to Bootstrap 4.
Co-authored-by: Basil Dubyk <samitnuk.work@gmail.com >
Co-authored-by: Alexander Gaevsky <sasha@sasha0.ru >
Co-authored-by: Joseph Wayodi <jwayodi@gmail.com >
5年前
Jan Fabry
c91f910445
Add support for Django 3.1 (#3516)
5年前
Basil Dubyk
6d9e6dd99d
Modify `test_is_public_on` and `test_is_public_off`
Instead of checking for truthiness we should check for equality
(because any status code is `True`).
5年前
Basil Dubyk
819a6a3a8c
Modify `BasketThresholdTest` class
`override_settings` used instead of updating setting in `setUp`/`tearDown`.
5年前
Basil Dubyk
d4748cdb33
Remove useless line
5年前
Alexander Gaevsky
18eca6f76c
Refactor report generators to be easier to extend, and fix date range filtering in CSV exports (#3501)
5年前
Basil Dubyk
b14cb7ff59
Add test to check adding/removing of a voucher
5年前
Viggo de Vries
603944d1dd
Add method get_attribute_values to Product model which also fetches parent product attributes (#3514)
5年前
Samir Shah
3d88f81428
Order reviews by date created by default in the dashboard. (#3512)
5年前
Alexander Gaevsky
19a88f8d11
Add a custom LoginView for the dashboard so that the success redirect URL can be controlled more precisely (#3507)
5年前
Alexander Gaevsky
31c935cf1d
Change checkout thank you view to redirect to the homepage if order not found in the session. (#3506)
5年前
Alexander Gaevsky
044509e82e
Fix database password extraction from environment variables in the tests settings.
5年前
Samir Shah
f6157f2268
Make ProductAttributesContainer a lazy object so that initialisation is simpler.
Fixes #3258 .
5年前
Paul J Stevens
1d0c704185
Add support for restricted offer combinations
Non-exclusive offers that only allow combination with specific other offers
6年前
Alexander Gaevsky
680e05bf4b
Respect old-style 5-digit postal codes for Israel, which are still in use by customers.
5年前
Samir Shah
10dce286bc
Replace uses of django.conf.urls.url with django.urls.path/re_path
5年前
Viggo de Vries
81ec4da73a
Pass shipping charge as a kwarg to the surcharge calculator (#3481)
5年前
pyup-bot
3a677f9952
Define default ordering on several models.
5年前
PlayDay
dd5a151af2
Add new type field for product.Option and enhanced form rendering for options based on their type.
6年前
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
6年前
Samir Shah
9766eb07d4
Update isort configuration, and fix imports that are not at the top of modules.
5年前
Samir Shah
25b2c0765e
Exclude non-public child products from public views.
5年前
Samir Shah
2f9b52f58f
Restore basket if order placement fails for any reason.
5年前
Francisco Ceruti
81fd3798e0
Fix bug where conditions can be created just providing one of range, type or value (#3377)
5年前
Viggo de Vries
24b349836e
Add new feature Surcharges.
6年前
Joseph Wayodi
d778f8f1dd
Delete both valid and invalid basket lines marked for deletion
Currently, if a valid basket line is marked for deletion, any other
invalid basket lines on the formset prevent it from being deleted.
5年前
Basil Dubyk
8e7ee62a2e
🚧 WIP - Improve `apply` method of `MultibuyDiscountBenefit` (#3343)
Fix handling of count conditions in `MultibuyDiscountBenefit`
5年前
capelito
da355e422b
Delete auto-generated offer when a voucher is deleted.
5年前
Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
5年前
Craig Loftus
5ac86e359d
Remove calls to six
5年前
Alexander Gaevsky
61ce21e09c
Do not allow boolean product attribute be required.
5年前
Joseph Wayodi
628bd1e108
Add "default_app_config" when forking app
5年前
Samir Shah
52480d98d1
Remove UnicodeCSVReader and a few other Python 2 compatibility shims.
6年前
Samir Shah
93e7e66c2b
Add support for Django 3, drop support for Django 1.11
6年前
Samir Shah
9eae894cf9
Drop deprecated functionality scheduled for removal in Oscar 2.1
6年前
Samir Shah
c74c8fe1f4
Fix time-dependent tests.
Switch to using freezegun for tests that depend on date.
6年前
Roel Bruggink
810eaa9a9d
Add is_public to Category and hide non-public categories from frontend views.
6年前
Samir Shah
0ec4d7f378
Use parent class get_users() method in PasswordResetForm.
6年前
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
8年前
Basil Dubyk
62998f2c09
Add Oscar apps to `INSTALLED_APPS` as recommended by Django
6年前
Lars van de Kerkhof
cacbc1a2c7
Fixes offers failing on child products for ranges that include all products.
6年前
Joseph Wayodi
ac319b78df
Fix broken basket "save for later" functionality
Regression introduced in cca43aa4d1
6年前
Samir Shah
c050b7cec3
Refactor asset management so that third party assets are not committed.
6年前
Lars van de Kerkhof
a3828425ad
Exclude products after completing the selection. (#3211)
6年前