Samir Shah
76aeb45bdb
Fixes for deprecations in Django 3.2:
- Replace use of deprecated `request.is_ajax()` with equivalent.
- Replace use of `imp.reload` with `importlib.reload`
před 4 roky
Robert Alford
2defbb49b8
Add support for Django 3.2, drop support for Django 3.0
před 4 roky
Julie Rymer
9f6d8a2c06
Move customer.history functions into a dynamically loaded, overridable class (#3677)
Co-authored-by: jrymer <jrymer@dommarket.fr >
před 4 roky
Joseph Wayodi
004d7ac808
Improve voucher creation in dashboard
- allow creation of offers of all types
- allow creation of vouchers with multiple offers
- allow creation of voucher sets of all usages, and with multiple offers
před 5 roky
Joseph Wayodi
d0796cdc2b
Fix checkout.ThankYouView.get_object to never raise DoesNotExist error
Also fix "is_anonymous" attribute value in WebTestCase subclass.
před 5 roky
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 >
před 5 roky
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`).
před 5 roky
Basil Dubyk
819a6a3a8c
Modify `BasketThresholdTest` class
`override_settings` used instead of updating setting in `setUp`/`tearDown`.
před 5 roky
Samir Shah
3d88f81428
Order reviews by date created by default in the dashboard. (#3512)
před 5 roky
Alexander Gaevsky
19a88f8d11
Add a custom LoginView for the dashboard so that the success redirect URL can be controlled more precisely (#3507)
před 5 roky
Alexander Gaevsky
31c935cf1d
Change checkout thank you view to redirect to the homepage if order not found in the session. (#3506)
před 5 roky
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
před 6 roky
Samir Shah
2f9b52f58f
Restore basket if order placement fails for any reason.
před 5 roky
Viggo de Vries
24b349836e
Add new feature Surcharges.
před 6 roky
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.
před 5 roky
Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
před 5 roky
Craig Loftus
5ac86e359d
Remove calls to six
před 5 roky
Samir Shah
52480d98d1
Remove UnicodeCSVReader and a few other Python 2 compatibility shims.
před 6 roky
Samir Shah
93e7e66c2b
Add support for Django 3, drop support for Django 1.11
před 6 roky
Roel Bruggink
810eaa9a9d
Add is_public to Category and hide non-public categories from frontend views.
před 6 roky
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
před 8 roky
Joseph Wayodi
ac319b78df
Fix broken basket "save for later" functionality
Regression introduced in cca43aa4d1
před 6 roky
Lars van de Kerkhof
a3828425ad
Exclude products after completing the selection. (#3211)
před 6 roky
Victor Munene
e4aa2a1b90
remove assumptions about upload paths and filenames
před 6 roky
Victor Munene
a1f3f832dc
do not hard code IDs and display_order values as those values cannot be predicted.
před 6 roky
Samir Shah
3f67ce9b76
Apply isort fixes on the whole project.
před 6 roky
Joseph Wayodi
a6a73b65e5
Change "upload_to" argument in FileField/ImageField model-field definitions to a callable
So that migrations are not required for changes to the
"OSCAR_IMAGE_FOLDER" setting, for projects that have not forked the
"catalogue" app.
před 6 roky
dfirst
146ebb0149
Fix order and line pipelines in tests (#3092)
před 6 roky
dfirst
3cd865a4c5
Fix handling of missing lines in wishlist views (#3053)
před 6 roky
Alexander Gaevsky
a75d6ee819
Specify full path to Oscar templates, including `oscar` prefix.
před 6 roky
Alexander Gaevsky
b627fa7954
Add javascript to enable client-side product image sorting in dashboard (#2287)
před 6 roky
Alexander Gaevsky
cca43aa4d1
Remove form from the basket line formset and bypass its validation if related model instance does not exist any more.
před 6 roky
Alexander Gaevsky
3924b4b2b2
Extract promotions application out of the Oscar core.
před 7 roky
Alexander Gaevsky
f959e9213f
Update test in case if home page has redirection.
před 8 roky
Roel Bruggink
a5096da38a
Add is_public field to Product model (#2935)
před 6 roky
Alexander Gaevsky
d25c3f8bfc
Add tests for dashboard stats aggregation for non-staff users.
před 6 roky
Aliaksei Urbanski
dc435b4d79
Add the TestDashboardIndexForPartnerUser test case
Update the TestDashboardIndexForAnonUser test case
před 7 roky
Aliaksei Urbanski
d2b21f29ff
Limit access to dashboard for partners to show only their stats
před 7 roky
dfirst
3698773459
Allow searching for partial email addresses in dashboard user search form
před 7 roky
dfirst
420d2ec31c
Add related multiple widget wrapper for use with catalogue.Option
Also refactor catalogue option group and option tests.
před 7 roky
dfirst
f42e5d1d30
Added ability to manage Catalogue.Option from the dashboard
před 7 roky
Joseph Wayodi
fbf8bac4c5
Merge Oscar and Django configs
- Move Oscar app configs into Django app config classes
- Rename Oscar/Django apps' app config module
- Remove "oscar.get_core_apps()" and its app overriding
- Remove "oscar.OSCAR_CORE_APPS"
- Port app forking code to work with Django app registry
- Port class loading code to use app configs to get app properties
před 7 roky
SrdjanCosicPrica
82e605c841
Fix form errors when going back to first step in dashboard OfferWizard (#2819)
před 7 roky
Alexander Gaevsky
7244e7b4cd
Update tests.
před 8 roky
dfirst
79eb14e93b
Improve validation logic of reviews sort order form
Fixes #2579 .
před 7 roky
Samir Shah
349ae18be2
Reduce maximum line length in flake8 config to 119 characters.
před 7 roky
Samir Shah
93fb9555c3
Drop support for category URLs without a primary key.
See #1674 .
před 7 roky
Samir Shah
100edceea1
Remove support for deprecated product alert email templates.
před 7 roky
Aliaksei Urbanski
ed8f9f1206
Make OrderPlacementMixin more customizable (#2732)
Pass communication event type code to OrderPlacementMixin.get_message_context()
před 7 roky
Samir Shah
a7edc8ba2f
Drop mock in favour of unittest.mock
před 7 roky