Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
6 years ago
Craig Loftus
5ac86e359d
Remove calls to six
6 years ago
Samir Shah
52480d98d1
Remove UnicodeCSVReader and a few other Python 2 compatibility shims.
6 years ago
Samir Shah
93e7e66c2b
Add support for Django 3, drop support for Django 1.11
6 years ago
Roel Bruggink
810eaa9a9d
Add is_public to Category and hide non-public categories from frontend views.
6 years ago
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
8 years ago
Joseph Wayodi
ac319b78df
Fix broken basket "save for later" functionality
Regression introduced in cca43aa4d1
6 years ago
Lars van de Kerkhof
a3828425ad
Exclude products after completing the selection. (#3211)
6 years ago
Victor Munene
e4aa2a1b90
remove assumptions about upload paths and filenames
6 years ago
Victor Munene
a1f3f832dc
do not hard code IDs and display_order values as those values cannot be predicted.
6 years ago
Samir Shah
3f67ce9b76
Apply isort fixes on the whole project.
6 years ago
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 years ago
dfirst
146ebb0149
Fix order and line pipelines in tests (#3092)
6 years ago
dfirst
3cd865a4c5
Fix handling of missing lines in wishlist views (#3053)
6 years ago
Alexander Gaevsky
a75d6ee819
Specify full path to Oscar templates, including `oscar` prefix.
6 years ago
Alexander Gaevsky
b627fa7954
Add javascript to enable client-side product image sorting in dashboard (#2287)
6 years ago
Alexander Gaevsky
cca43aa4d1
Remove form from the basket line formset and bypass its validation if related model instance does not exist any more.
6 years ago
Alexander Gaevsky
3924b4b2b2
Extract promotions application out of the Oscar core.
7 years ago
Alexander Gaevsky
f959e9213f
Update test in case if home page has redirection.
8 years ago
Roel Bruggink
a5096da38a
Add is_public field to Product model (#2935)
6 years ago
Alexander Gaevsky
d25c3f8bfc
Add tests for dashboard stats aggregation for non-staff users.
7 years ago
Aliaksei Urbanski
dc435b4d79
Add the TestDashboardIndexForPartnerUser test case
Update the TestDashboardIndexForAnonUser test case
7 years ago
Aliaksei Urbanski
d2b21f29ff
Limit access to dashboard for partners to show only their stats
7 years ago
dfirst
3698773459
Allow searching for partial email addresses in dashboard user search form
7 years ago
dfirst
420d2ec31c
Add related multiple widget wrapper for use with catalogue.Option
Also refactor catalogue option group and option tests.
7 years ago
dfirst
f42e5d1d30
Added ability to manage Catalogue.Option from the dashboard
7 years ago
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
7 years ago
SrdjanCosicPrica
82e605c841
Fix form errors when going back to first step in dashboard OfferWizard (#2819)
7 years ago
Alexander Gaevsky
7244e7b4cd
Update tests.
8 years ago
dfirst
79eb14e93b
Improve validation logic of reviews sort order form
Fixes #2579 .
7 years ago
Samir Shah
349ae18be2
Reduce maximum line length in flake8 config to 119 characters.
7 years ago
Samir Shah
93fb9555c3
Drop support for category URLs without a primary key.
See #1674 .
7 years ago
Samir Shah
100edceea1
Remove support for deprecated product alert email templates.
7 years ago
Aliaksei Urbanski
ed8f9f1206
Make OrderPlacementMixin more customizable (#2732)
Pass communication event type code to OrderPlacementMixin.get_message_context()
7 years ago
Samir Shah
a7edc8ba2f
Drop mock in favour of unittest.mock
7 years ago
Samir Shah
e2b8a5b63a
Replace calls to ugettext with gettext.
7 years ago
Samir Shah
13e2ed127c
Remove all uses of six.
7 years ago
Samir Shah
8560a90490
Replace calls to super(ClassName, self) with super().
7 years ago
Samir Shah
ec3791c371
Remove py2-specific imports, tests and code branches.
7 years ago
Samir Shah
e2bed3fd95
Remove u prefix from all Python strings.
7 years ago
Samir Shah
87625ef6b6
Use Django's class-based authentication views.
The procedural views were deprecated in Django 1.11 and will be removed in Django 2.1.
7 years ago
Samir Shah
1651bf230f
Upgrade select2 to v4.0, and refactor RemoteSelect widget to work with it.
8 years ago
Samir Shah
86fe75de4d
Remove unnecessary webob dependency from oscar.test utils.
Fixes #2547 .
8 years ago
erickmk
9a14f5e28a
Remove several compatibility helpers for Django < 1.11.
8 years ago
Samir Shah
8a3288da43
Drop support below Django 1.11
8 years ago
yn_coder
2f76e31e08
Mark notification as read only when the detail view is visited. Fixes #2548.
8 years ago
Samir Shah
89ff0b3da4
Fix URL character validation in dashboard PageUpdateForm.
Also fix the max_length on the url field. The underlying model field has
a max_length of 100, so it is invalid to have a larger value here.
DRY out dashboard page update/create views.
Refactor tests - perform tests of form logic directly rather than indirectly through view code.
Fixes #2559 .
8 years ago
Samir Shah
6b0267ed3a
Make ConditionalOffer.priority editable from dashboard. Fixes #2494.
The priority isn't strictly a "restriction", but this seems like the most sensible form to add it to.
8 years ago
Samir Shah
2c5c428e35
Order items in ProductAlertListView by date created, descending.
8 years ago
Joseph Wayodi
956b5b7853
Add management of attribute options in dashboard (#2448)
8 years ago