Samar Hassan
93978d9c0b
Optimize range products reordering (#4010)
* feat :star: optimize range products reordering
* test :white_check_mark: add test to verify range product reordering
* fix :wrench: remove local settings from test settings
* test :white_check_mark: update product reordering test
hace 3 años
Samar Hassan
d203c07355
Fix combination offer removal bug (#4017)
* fix :bug: remove combination offer in both offers
* feat :star: add test to check offer removal from combinations
hace 3 años
Joey
a8ad4b81d8
Implement shareable wishlists (#3905)
* Implement shareable wishlists.
* Raise permission denied 403 instead of 404 if a user has no access to the wishlist.
* Change translation messages
hace 3 años
Viggo de Vries
663ca69d2f
Add basket post data to the form when invalid (#3911)
hace 3 años
Alexander Gaevsky
c87a4d88ca
Fix handling of InvalidPage exceptions in CatalogueView (#3505)
hace 4 años
Joey Jurjens
dd200b8ea3
Pass request to dispatcher extra context so we can retrieve the correct site based on request
hace 4 años
Joseph Wayodi
6a04a96ee3
Check checkout-view skip conditions before pre conditions
hace 4 años
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`
hace 4 años
Robert Alford
2defbb49b8
Add support for Django 3.2, drop support for Django 3.0
hace 4 años
Julie Rymer
9f6d8a2c06
Move customer.history functions into a dynamically loaded, overridable class (#3677)
Co-authored-by: jrymer <jrymer@dommarket.fr >
hace 5 años
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
hace 5 años
Joseph Wayodi
d0796cdc2b
Fix checkout.ThankYouView.get_object to never raise DoesNotExist error
Also fix "is_anonymous" attribute value in WebTestCase subclass.
hace 5 años
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 >
hace 5 años
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`).
hace 5 años
Basil Dubyk
819a6a3a8c
Modify `BasketThresholdTest` class
`override_settings` used instead of updating setting in `setUp`/`tearDown`.
hace 5 años
Samir Shah
3d88f81428
Order reviews by date created by default in the dashboard. (#3512)
hace 5 años
Alexander Gaevsky
19a88f8d11
Add a custom LoginView for the dashboard so that the success redirect URL can be controlled more precisely (#3507)
hace 5 años
Alexander Gaevsky
31c935cf1d
Change checkout thank you view to redirect to the homepage if order not found in the session. (#3506)
hace 5 años
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
hace 6 años
Samir Shah
2f9b52f58f
Restore basket if order placement fails for any reason.
hace 5 años
Viggo de Vries
24b349836e
Add new feature Surcharges.
hace 6 años
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.
hace 5 años
Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
hace 6 años
Craig Loftus
5ac86e359d
Remove calls to six
hace 6 años
Samir Shah
52480d98d1
Remove UnicodeCSVReader and a few other Python 2 compatibility shims.
hace 6 años
Samir Shah
93e7e66c2b
Add support for Django 3, drop support for Django 1.11
hace 6 años
Roel Bruggink
810eaa9a9d
Add is_public to Category and hide non-public categories from frontend views.
hace 6 años
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
hace 8 años
Joseph Wayodi
ac319b78df
Fix broken basket "save for later" functionality
Regression introduced in cca43aa4d1
hace 6 años
Lars van de Kerkhof
a3828425ad
Exclude products after completing the selection. (#3211)
hace 6 años
Victor Munene
e4aa2a1b90
remove assumptions about upload paths and filenames
hace 6 años
Victor Munene
a1f3f832dc
do not hard code IDs and display_order values as those values cannot be predicted.
hace 6 años
Samir Shah
3f67ce9b76
Apply isort fixes on the whole project.
hace 6 años
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.
hace 6 años
dfirst
146ebb0149
Fix order and line pipelines in tests (#3092)
hace 6 años
dfirst
3cd865a4c5
Fix handling of missing lines in wishlist views (#3053)
hace 6 años
Alexander Gaevsky
a75d6ee819
Specify full path to Oscar templates, including `oscar` prefix.
hace 6 años
Alexander Gaevsky
b627fa7954
Add javascript to enable client-side product image sorting in dashboard (#2287)
hace 6 años
Alexander Gaevsky
cca43aa4d1
Remove form from the basket line formset and bypass its validation if related model instance does not exist any more.
hace 7 años
Alexander Gaevsky
3924b4b2b2
Extract promotions application out of the Oscar core.
hace 7 años
Alexander Gaevsky
f959e9213f
Update test in case if home page has redirection.
hace 8 años
Roel Bruggink
a5096da38a
Add is_public field to Product model (#2935)
hace 7 años
Alexander Gaevsky
d25c3f8bfc
Add tests for dashboard stats aggregation for non-staff users.
hace 7 años
Aliaksei Urbanski
dc435b4d79
Add the TestDashboardIndexForPartnerUser test case
Update the TestDashboardIndexForAnonUser test case
hace 7 años
Aliaksei Urbanski
d2b21f29ff
Limit access to dashboard for partners to show only their stats
hace 7 años
dfirst
3698773459
Allow searching for partial email addresses in dashboard user search form
hace 7 años
dfirst
420d2ec31c
Add related multiple widget wrapper for use with catalogue.Option
Also refactor catalogue option group and option tests.
hace 7 años
dfirst
f42e5d1d30
Added ability to manage Catalogue.Option from the dashboard
hace 7 años
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
hace 7 años
SrdjanCosicPrica
82e605c841
Fix form errors when going back to first step in dashboard OfferWizard (#2819)
hace 7 años