Samar Hassan
1c25682e0c
[FIX] Offer's slug doesn't support unicode (#4172)
* fix :wrench: add unicode support in slug urls
* feat :star: add tests to check urls with unicode characters
2 年前
Hertog Jan
c9af48338d
Implement black and Pylint (#4126)
2 年前
Gunther Waidacher
1d55f8df07
Manage excluded_products in ranges dashboard (#4073)
File Upload for excluded_products
* Add more tests and fix file upload processor by comma.
---------
Co-authored-by: Joey Jurjens <joey@highbiza.nl >
2 年前
Joey
9aa30727ac
Use entire queryset for offer report download rather than paginated one (#4105)
* Use entire queryset for offer report download rather than paginated queryset
* Add offer order report test
* Specify order number in create_order factory
2 年前
Voxin Muyli
3c0f3adf39
Hutchison/master (#4106)
* Fixes a potential redirect loop in ProductDetailView if URL includes certain characters
If the URL includes a colon ':' then the ProductDetailView is getting
trapped into a redirect loop.
* Added test to prove the point
---------
Co-authored-by: Martin Darmüntzel <martin@trivialanalog.de >
2 年前
Joey Jurjens
72e60e9f95
Change basket quantity error message in tests as well.
2 年前
Joey
b39920547d
If a product has a option it cannot be oversold (#4096)
* if a product has a option it cannot be oversold
* Improve error message
---------
Co-authored-by: wessel <wessel@highbiza.nl >
Co-authored-by: Lars van de Kerkhof <lars@permanentmarkers.nl >
2 年前
dependabot[bot]
49283be3f2
Bump flake8 from 4.0.1 to 6.0.0 (#4021)
* Bump flake8 from 4.0.1 to 6.0.0
Bumps [flake8](https://github.com/pycqa/flake8 ) from 4.0.1 to 6.0.0.
- [Release notes](https://github.com/pycqa/flake8/releases )
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...6.0.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fixes pyflakes errors
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333 +dependabot[bot]@users.noreply.github.com >
Co-authored-by: Lars van de Kerkhof <lars@permanentmarkers.nl >
2 年前
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
2 年前
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
2 年前
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
3 年前
Viggo de Vries
663ca69d2f
Add basket post data to the form when invalid (#3911)
3 年前
Alexander Gaevsky
c87a4d88ca
Fix handling of InvalidPage exceptions in CatalogueView (#3505)
3 年前
Joey Jurjens
dd200b8ea3
Pass request to dispatcher extra context so we can retrieve the correct site based on request
4 年前
Joseph Wayodi
6a04a96ee3
Check checkout-view skip conditions before pre conditions
4 年前
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`
4 年前
Robert Alford
2defbb49b8
Add support for Django 3.2, drop support for Django 3.0
4 年前
Julie Rymer
9f6d8a2c06
Move customer.history functions into a dynamically loaded, overridable class (#3677)
Co-authored-by: jrymer <jrymer@dommarket.fr >
4 年前
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
4 年前
Joseph Wayodi
d0796cdc2b
Fix checkout.ThankYouView.get_object to never raise DoesNotExist error
Also fix "is_anonymous" attribute value in WebTestCase subclass.
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 年前
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 年前
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 年前
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
6 年前
Samir Shah
2f9b52f58f
Restore basket if order placement fails for any reason.
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 年前
Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
5 年前
Craig Loftus
5ac86e359d
Remove calls to six
5 年前
Samir Shah
52480d98d1
Remove UnicodeCSVReader and a few other Python 2 compatibility shims.
5 年前
Samir Shah
93e7e66c2b
Add support for Django 3, drop support for Django 1.11
5 年前
Roel Bruggink
810eaa9a9d
Add is_public to Category and hide non-public categories from frontend views.
6 年前
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
7 年前
Joseph Wayodi
ac319b78df
Fix broken basket "save for later" functionality
Regression introduced in cca43aa4d1
6 年前
Lars van de Kerkhof
a3828425ad
Exclude products after completing the selection. (#3211)
6 年前
Victor Munene
e4aa2a1b90
remove assumptions about upload paths and filenames
6 年前
Victor Munene
a1f3f832dc
do not hard code IDs and display_order values as those values cannot be predicted.
6 年前
Samir Shah
3f67ce9b76
Apply isort fixes on the whole project.
6 年前
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.
6 年前
dfirst
146ebb0149
Fix order and line pipelines in tests (#3092)
6 年前
dfirst
3cd865a4c5
Fix handling of missing lines in wishlist views (#3053)
6 年前
Alexander Gaevsky
a75d6ee819
Specify full path to Oscar templates, including `oscar` prefix.
6 年前
Alexander Gaevsky
b627fa7954
Add javascript to enable client-side product image sorting in dashboard (#2287)
6 年前
Alexander Gaevsky
cca43aa4d1
Remove form from the basket line formset and bypass its validation if related model instance does not exist any more.
6 年前
Alexander Gaevsky
3924b4b2b2
Extract promotions application out of the Oscar core.
7 年前
Alexander Gaevsky
f959e9213f
Update test in case if home page has redirection.
7 年前
Roel Bruggink
a5096da38a
Add is_public field to Product model (#2935)
6 年前