Joseph Wayodi
8f2111f2e7
Fix various Bootstrap 4 and other template issues
- Hide edit link on mobile, on flatpages
- Hide column headers on mobile, on basket page "Items to buy later"
table
- Hide edit link on mobile, on category page
- Move dislay of various elements from "sm" to "md" grid tier
- Display error icon on navigation tab, on dashboard category-form page
- Increase "z-index" of dropdown menu on dashboard, so that it appears
above all other elements
- Remove useless "top-spacer" class from dashboard review-list page
- Fix typo in use of template tag, on dashboard category-delete page
- Remove repeated display of non-field errors, and hidden fields, on
dashboard category-form page
před 5 roky
Samir Shah
5faa5f44dd
Remove setting of default value via Javascript in time picker inputs.
Where an initial value is required, this should be set on the form field
itself.
Fixes #3590 .
před 5 roky
Samir Shah
806ef2e65c
Adjust Github action workflow config to run only for master branch.
před 5 roky
Samir Shah
a11bd4d5d1
Add Github Actions workflows for tests, remove Travis CI config.
před 5 roky
Tuomas Jaakola
7d77e8ae67
Add blocks to nav_primary.html to make it easier to customise (#3593)
před 5 roky
Tuomas Jaakola
818e1e9f23
Add blocks to layout_2_col.html template to make it easier to customise (#3591)
před 5 roky
dependabot-preview[bot]
6bc0729dad
Bump gulp-sourcemaps from 2.6.5 to 3.0.0
Bumps [gulp-sourcemaps](https://github.com/gulp-sourcemaps/gulp-sourcemaps ) from 2.6.5 to 3.0.0.
- [Release notes](https://github.com/gulp-sourcemaps/gulp-sourcemaps/releases )
- [Commits](https://github.com/gulp-sourcemaps/gulp-sourcemaps/compare/v2.6.5...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
e311b1c245
Bump flake8-debugger from 3.2.1 to 4.0.0
Bumps [flake8-debugger](https://github.com/jbkahn/flake8-debugger ) from 3.2.1 to 4.0.0.
- [Release notes](https://github.com/jbkahn/flake8-debugger/releases )
- [Commits](https://github.com/jbkahn/flake8-debugger/compare/3.2.1...4.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
05c148a217
Update django-extensions requirement from <3.1,>=2.2 to >=2.2,<3.2
Updates the requirements on [django-extensions](https://github.com/django-extensions/django-extensions ) to permit the latest version.
- [Release notes](https://github.com/django-extensions/django-extensions/releases )
- [Changelog](https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md )
- [Commits](https://github.com/django-extensions/django-extensions/compare/2.2.0...3.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
9f6b11b2db
Bump requests from 2.24.0 to 2.25.0
Bumps [requests](https://github.com/psf/requests ) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.24.0...v2.25.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
98e805a1e9
Bump eslint from 7.13.0 to 7.14.0
Bumps [eslint](https://github.com/eslint/eslint ) from 7.13.0 to 7.14.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.13.0...v7.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
Tuomas Jaakola
9e1ce04656
Add template block around table header in basket_totals template for easier overriding (#3589)
před 5 roky
Orinda Harrison(Mitch)
ccef3c6afb
Pass currency to shipping_discount benefit methods so that the charge can be determined based on the basket currency (#3574)
před 5 roky
Basil Dubyk
0f3df5fca9
Fix rendering of upsell messages for exclusive offers (#3548)
* Improve `available` method of `LineOfferConsumer` class
* Add `quantity_available_for_offer` method to `AbstractLine` class
* Improve conditions: "Get num matches" methods updated to use `quantity_available_for_offer`
method of `Line` model.
* Improve conditions: `get_upsell_message` methods updated to show upsell message only in
the cases where `delta` > 0.
* Ensure basket upsell messages are not `None`
před 5 roky
jolob5l
310f82ea51
Use database aggregation to calculate basket totals before discount. (#3576)
před 5 roky
Orinda Harrison(Mitch)
af4054be25
Pass currency to Benefit.round method, so that rounding can vary based on currency (#3575)
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
Orinda Harrison(Mitch)
d9eb41419f
Fix currency formatting in basket and condition methods to use the basket currency instead of the Oscar default (#3571)
před 5 roky
dependabot-preview[bot]
ef0e6cdcdc
Update ipython requirement from <7.19,>=7.12 to >=7.12,<7.20
Updates the requirements on [ipython](https://github.com/ipython/ipython ) to permit the latest version.
- [Release notes](https://github.com/ipython/ipython/releases )
- [Commits](https://github.com/ipython/ipython/compare/7.12.0...7.19.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
1106ed913e
Bump eslint from 7.11.0 to 7.13.0
Bumps [eslint](https://github.com/eslint/eslint ) from 7.11.0 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
Samir Shah
e3db658880
Remove unused Transifex script and Travis config.
před 5 roky
dependabot-preview[bot]
b452800d75
Bump ipdb from 0.13.3 to 0.13.4
Bumps [ipdb](https://github.com/gotcha/ipdb ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/gotcha/ipdb/releases )
- [Changelog](https://github.com/gotcha/ipdb/blob/master/HISTORY.txt )
- [Commits](https://github.com/gotcha/ipdb/compare/0.13.3...0.13.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
cdf4025f26
Bump pillow from 7.2.0 to 8.0.1
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/7.2.0...8.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
Farooq Azam
2c3e633c7d
Create a mixin for filtering partner's products in dashboard views, for easier overriding (#3566)
před 5 roky
dependabot-preview[bot]
713c341ad3
Bump flake8 from 3.8.3 to 3.8.4
Bumps [flake8](https://gitlab.com/pycqa/flake8 ) from 3.8.3 to 3.8.4.
- [Release notes](https://gitlab.com/pycqa/flake8/tags )
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.3...3.8.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
dependabot-preview[bot]
60dd332a8c
Bump isort from 5.5.4 to 5.6.4
Bumps [isort](https://github.com/pycqa/isort ) from 5.5.4 to 5.6.4.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.5.4...5.6.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
Samir Shah
cbfd742346
Render only top level categories in primary navigation menu.
před 5 roky
Basil Dubyk
7c5f745919
Improve `test_post_process_urls_adds_decorator`
Use function as the return value of `get_url_decorator`. This change
needed because `get_url_decorator` method of `OscarConfigMixin` class
returns function or `None` and not string.
před 5 roky
Samir Shah
c30de9d008
Prepare 3.0 alpha release. (#3547)
před 5 roky
Samir Shah
ec27400573
Add communication app to table of contents for apps in documentation.
Fixes #3517 .
před 5 roky
Joseph Wayodi
33caaaf036
Remove unused redundant report generator repository code
před 5 roky
Joseph Wayodi
7107978861
Remove redundant date filtering of queryset in report-generator classes
It is done by default, from the "__init__" method of the parent class,
since commit 18eca6f76c .
před 5 roky
Samir Shah
def974363a
Update Travis CI badge in readme to reflect migration to travis-ci.com.
před 5 roky
Samir Shah
c15b7e0951
Merge pull request #3550 from jwayodi/fix/report-generator-date-range-filter-field-lookups
Fix field lookups in ReportGenerator.filter_with_date_range
před 5 roky
Samir Shah
7a3ce5f0c4
Merge pull request #3549 from jwayodi/fix/checking-field-checkbox-input-widget-type
Fix checking field's "widget_type" value for CheckboxInput widget
před 5 roky
Joseph Wayodi
9cd3c2e35b
Fix field lookups in ReportGenerator.filter_with_date_range
It currently does not include 23:59:59, 00:00:00, and datetimes in the
one second between.
před 5 roky
Joseph Wayodi
5171c5f170
Fix checking field's "widget_type" value for CheckboxInput widget
Regression introduced in commit 4bdf5df9b1 .
před 5 roky
Samir Shah
480086c048
Further cleanups and fixes for dashboard styles. (#3545)
- Remove unnecessary CSS in favour of Bootstrap defaults.
- Remove use of btn-lg whose presentation was being overridden in CSS.
- Fix a few classes on HTML elements.
- Fix required field styling, and remove duplicate non_field_errors on product edit page.
před 5 roky
Samir Shah
3d780460b7
Merge pull request #3546 from solarissmoke/fix/data-loading
Replace Bootstrap 3 stateful button handling with custom JS for loading state.
před 5 roky
Samir Shah
73ef2cb3b3
Replace Bootstrap 3 stateful button handling with custom JS for loading state.
před 5 roky
Samir Shah
d0b948dce2
Update translation files.
před 5 roky
Capelito
e5e8834a26
Make inactive products and categories identifiable in dashboard list views (#3538)
před 5 roky
Orinda Harrison(Mitch)
2599135e93
Add SEO fields to product and category models and make editable in the dashboard (#3534)
před 5 roky
Voxin Muyli
226b173bf1
Fix field name conflict in product_class_as_queryset annotation. (#3542)
před 5 roky
Samir Shah
5724a3a996
Update translations.
před 5 roky
Samir Shah
295593b456
Merge pull request #3527 from django-oscar/dependabot/pip/django-debug-toolbar-gte-2.2-and-lt-3.2
Update django-debug-toolbar requirement from <2.3,>=2.2 to >=2.2,<3.2
před 5 roky
Samir Shah
73b2d0c45f
Merge pull request #3541 from solarissmoke/fix/npm-deps
Update several npm dependencies.
před 5 roky
Samir Shah
2adabc4ea2
Update several npm dependencies.
před 5 roky
dependabot-preview[bot]
dbfb44d500
Update django-debug-toolbar requirement from <2.3,>=2.2 to >=2.2,<3.2
Updates the requirements on [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar ) to permit the latest version.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases )
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/master/docs/changes.rst )
- [Commits](https://github.com/jazzband/django-debug-toolbar/compare/2.2...3.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
před 5 roky
Samir Shah
b0244bce2e
Merge pull request #3302 from solarissmoke/feature/bs4
Port all core templates and styles to Bootstrap 4.
před 5 roky