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
пре 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 година
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 година
Samir Shah
d5d5c9d6fc
Remove/rename several deprecated model fields from order and partner apps.
пре 6 година
Viggo de Vries
24b349836e
Add new feature Surcharges.
пре 6 година
Michał Mazur
24bb6f1663
Fix use of removed browsable manager in product lookup view (#3324)
пре 5 година
Craig Loftus
5ac86e359d
Remove calls to six
пре 5 година
samitnuk
2af6753c67
Add a new Communication app that manages all of Oscar's communications.
пре 8 година
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 година
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
3924b4b2b2
Extract promotions application out of the Oscar core.
пре 7 година
Roel Bruggink
a5096da38a
Add is_public field to Product model (#2935)
пре 6 година
Alexander Gaevsky
d25c3f8bfc
Add tests for dashboard stats aggregation for non-staff users.
пре 6 година
Aliaksei Urbanski
dc435b4d79
Add the TestDashboardIndexForPartnerUser test case
Update the TestDashboardIndexForAnonUser test case
пре 7 година
Aliaksei Urbanski
d2b21f29ff
Limit access to dashboard for partners to show only their stats
пре 7 година
dfirst
3698773459
Allow searching for partial email addresses in dashboard user search form
пре 7 година
dfirst
420d2ec31c
Add related multiple widget wrapper for use with catalogue.Option
Also refactor catalogue option group and option tests.
пре 7 година
dfirst
f42e5d1d30
Added ability to manage Catalogue.Option from the dashboard
пре 7 година
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 година
SrdjanCosicPrica
82e605c841
Fix form errors when going back to first step in dashboard OfferWizard (#2819)
пре 7 година
Samir Shah
349ae18be2
Reduce maximum line length in flake8 config to 119 characters.
пре 7 година
Samir Shah
e2b8a5b63a
Replace calls to ugettext with gettext.
пре 7 година
Samir Shah
13e2ed127c
Remove all uses of six.
пре 7 година
Samir Shah
8560a90490
Replace calls to super(ClassName, self) with super().
пре 7 година
Samir Shah
e2bed3fd95
Remove u prefix from all Python strings.
пре 7 година
Samir Shah
1651bf230f
Upgrade select2 to v4.0, and refactor RemoteSelect widget to work with it.
пре 8 година
erickmk
9a14f5e28a
Remove several compatibility helpers for Django < 1.11.
пре 8 година
Samir Shah
8a3288da43
Drop support below Django 1.11
пре 8 година
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 година
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 година
Samir Shah
2c5c428e35
Order items in ProductAlertListView by date created, descending.
пре 8 година
Joseph Wayodi
956b5b7853
Add management of attribute options in dashboard (#2448)
пре 8 година
Samir Shah
d415c34ccb
Add documentation and tests for multi_option attribute.
пре 8 година
Samir Shah
cefb76f5bb
Replace deprecated assertEquals with assertEqual in tests.
пре 8 година
Alexander Gaevsky
a96079eb01
Add test for user search in dashboard when user name contains from more than 2 parts.
пре 9 година
Michael van Tellingen
28ea962ab6
Rename all tests files from *_tests.py to test_*.py
Better to use filenames which are commonly used in the python word then
custom ones.
пре 9 година
Michael van Tellingen
c6db096e80
UnitTest.assertEqual instead of .assertEquals()
Latter one is deprecated
пре 9 година
Michael van Tellingen
db33f8f158
Fix Python 3 issue with the Offer reports
A dict_values object was returned instead of a list. See #2223
пре 9 година
Michael van Tellingen
1ba28fda59
Fix tests
пре 9 година
Michael van Tellingen
aafcc8a901
flake8
пре 9 година
Alexander Gaevsky
6169826571
Show warning message if there is more than one product stock record has same SKU during product range edit in the dashboard.
пре 9 година
Alexander Gaevsky
26ab156541
Add test for product attribute update through the product edit page in the dashboard.
пре 9 година
Michael van Tellingen
1859d71d94
Create a separate dashboard login/logout
This provides a minimal login template to access the dashboard. This is
especially useful when the shop doesn't provide accounts.
See #1474
пре 9 година