Skip to content

Commit

Permalink
Merge pull request saleor#4448 from mirumee/update-demo
Browse files Browse the repository at this point in the history
Update demo
  • Loading branch information
maarcingebala authored Jul 12, 2019
2 parents aa44e25 + 4ddc9fa commit e0f08e7
Show file tree
Hide file tree
Showing 938 changed files with 45,434 additions and 23,717 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .plop/component/componentName.class.tsx.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
WithStyles
} from "@material-ui/core/styles";
{{/if}}
import * as React from "react";
import React from "react";

export interface {{ properCase name }}Props {

Expand Down
2 changes: 1 addition & 1 deletion .plop/component/componentName.fc.tsx.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
WithStyles
} from "@material-ui/core/styles";
{{/if}}
import * as React from "react";
import React from "react";

export interface {{ properCase name }}Props {

Expand Down
2 changes: 1 addition & 1 deletion .plop/component/componentName.story.tsx.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { storiesOf } from "@storybook/react";
import * as React from "react";
import React from "react";

import {{ properCase name }}, {
{{ properCase name }}Props
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/ambv/black
rev: 18.9b0
rev: 19.3b0
hooks:
- id: black
language_version: python3

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
rev: v2.2.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: flake8

- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.0
rev: v1.9.1
hooks:
- id: seed-isort-config

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.18
rev: v4.3.21
hooks:
- id: isort
112 changes: 71 additions & 41 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,61 +4,91 @@ All notable, unreleased changes to this project will be documented in this file.

## [Unreleased]

- Cleanup code for updated function names, unused argument, etc. - #4090 by @jxltom
- Merge authorize with capture - #4098 by @korycins, @NyanKiyoshi
- Fix GATEWAYS_ENUM to always contain all implemented payment gateways - #4108 by @koradon
- Fix translation discard button - #4109 by @benekex2
- Change input style and improve Storybook stories - #4115 by @dominik-zeglen
- Separated the legacy middleware from the GQL API middleware - #4102 by @NyanKiyoshi
- Add navigation section - #4012 by @dominik-zeglen
- Fixed internal error when creating a checkout with a voucher code - #4292 by @NyanKiyoshi
- Add filter tab name as required - #4269 by @benekex2
- A few unused panels are now disabled by default from the debug toolbar; this should improve loading time when debugging - #4301 by @NyanKiyoshi
- Fixed internal error when adding a note to an anonymous order - #4319 by @NyanKiyoshi
- Fix populatedb gift card duplication error - #4336 by @fowczarek
- Fix voucher apply once per order - #4339 by @fowczarek
- Change type of start and end date for discounts on date time field - #4293 by @fowczarek
- Add SPECIFIC_PRODUCT type to VoucherTypes - #4344 by @fowczarek
- Avatax backend support - #4310 by @korycins
- Use "esModuleInterop" flag in tsconfig to simplify imports - #4372 by @dominik-zeglen
- Use hooks instead of class component in forms - #4374 by @dominik-zeglen
- Drop csrf token header from API client - #4357 by @dominik-zeglen
- Improve vouchers ui - #4362 by @benekex2
- Update documentation for taxes - #4405 by @korycins
- Fix for random failing tests in test_discount - #4401 by @korycins
- Fix internal error when users enters an invalid phone number in an address - #4404 by @NyanKiyoshi
- Add minimal quantity of products for voucher - #4427 by @fowczarek
- New translations:
- Icelandic
- Add ability to store used payment sources in gateways, first implemented in Braintree - #4195 by @salwator
- Fix various bugs across product section - #4429 by @dominik-zeglen
- Add company address configuration - #4432 by @benekex2
- Revert the custom dynamic middleware loading by #4102–in the meantime a better solution is found. - #4452 by @NyanKiyoshi

## 2.7.0

### API

- Create order only when payment is successful - #4154 by @NyanKiyoshi
- Order Events containing order lines or fulfillment lines now return the line object in the GraphQL API - #4114 by @NyanKiyoshi
- Migrate deprecated fields in Dashboard 2.0 - #4121 by @benekex2
- Implement customer events - #4094 by @NyanKiyoshi
- Fix draftail options and icons - #4132 by @benekex2
- Add multiple select checkbox - #4133 by @benekex2
- Add support for Google Cloud Storage - #4127 by @chetabahana
- Fix wrong calculation of subtotal in cart page - #4145 by @korycins
- Fix multiple checkbox selected behavior - #4146 by @benekex2
- GraphQL now prints exceptions to stderr as well as returning them or not - #4148 by @NyanKiyoshi
- Refactored API resolvers to staticmethods with root typing - #4155 by @NyanKiyoshi
- Users can how add multiple "Add to Cart" forms in a single page - #4165 by @NyanKiyoshi
- Disabled by default the storage of celery results - #4169 by @NyanKiyoshi
- Fix typos and messages in Dashboard 2.0 - #4168 by @benekex2
- Refactored API resolvers to static methods with root typing - #4155 by @NyanKiyoshi
- Add phone validation in the GraphQL API to handle the library upgrade - #4156 by @NyanKiyoshi

### Core

- Add basic Gift Cards support in the backend - #4025 by @fowczarek
- Add the ability to sort products within a collection - #4123 by @NyanKiyoshi
- Implement customer events - #4094 by @NyanKiyoshi
- Merge "authorize" and "capture" operations - #4098 by @korycins, @NyanKiyoshi
- Separate the Django middlewares from the GraphQL API middlewares - #4102 by @NyanKiyoshi, #4186 by @cmiacz

### Dashboard 2.0

- Add navigation section - #4012 by @dominik-zeglen
- Add filtering on product list - #4193 by @dominik-zeglen
- Add filtering on orders list - #4237 by @dominik-zeglen
- Change input style and improve Storybook stories - #4115 by @dominik-zeglen
- Migrate deprecated fields in Dashboard 2.0 - #4121 by @benekex2
- Add multiple select checkbox - #4133, #4146 by @benekex2
- Rename menu items in Dashboard 2.0 - #4172 by @benekex2
- Adding a non existent variant to a checkout no longer crashes - #4166 by @NyanKiyoshi
- Category delete modal improvements - #4171 by @benekex2
- Products are now sortable within collections - #4123 by @NyanKiyoshi
- Restore Django's common middleware as a default middleware - #4186 by @cmiacz
- Fix incorrect argument in `get_client_token` in Braintree integration - #4182 by @maarcingebala
- Fix resolving attribute values when transforming them to HStore - #4161 by @maarcingebala
- Fix margin calculations when product/variant price is set to zero - #4170 by @MahmoudRizk
- Disable polling in Playgroud by default - #4188 by @maarcingebala
- Add phone validation in the GraphQL API to handle the library upgrade - #4156 by @NyanKiyoshi
- Fix view all orders button - #4173 by @benekex2
- Fix applying discounts in checkout's subtotal calculation in API - #4192 by @maarcingebala
- Fix visibility card view - #4198 by @benekex2
- Close modals on click outside - #4236 - by @benekex2
- Use date localize hook in translations - #4202 by @dominik-zeglen
- Add filtering interface to product list - #4193 by @dominik-zeglen
- Unify search API - #4200 by @dominik-zeglen
- Close modals on click outside - #4236 - by @benekex2
- Default default PAGINATE_BY - #4238 by @dominik-zeglen
- Add basic Gift Cards support in the backend - #4025 by @fowczarek
- Create generic filtering interface - #4221 by @dominik-zeglen
- API checkout payment can fail without creating an order and deleting checkout - #4154 by @NyanKiyoshi
- Payment gateways are now optionally receiving the `order_id` field from the `PaymentData` object. Thus should not rely on that information. - #4154 by @NyanKiyoshi
- Add order filtering - #4237 by @dominik-zeglen
- Add default state to rich text editor = #4281 by @dominik-zeglen
- Fix translation discard button - #4109 by @benekex2
- Fix draftail options and icons - #4132 by @benekex2
- Fix typos and messages in Dashboard 2.0 - #4168 by @benekex2
- Fix view all orders button - #4173 by @benekex2
- Fix visibility card view - #4198 by @benekex2
- Fix query refetch after selecting an object in list - #4272 by @dominik-zeglen
- Fix image selection in variants - #4270 by @benekex2
- Reset selected items when tab switch - #4268 by @benekex2
- Fix collection search - #4267 by @dominik-zeglen
- Fix quantity height in draft order edit - #4273 by @benekex2
- Fix checkbox clickable area size - #4280 by @dominik-zeglen
- Fix exploding object select in menu section - #4282 by @dominik-zeglen
- Add default state to rich text editor = #4281 by @dominik-zeglen
- Fix ajax request for removing item from bag - ##4294 by @korycins
- Add default state to rich text editor - #4281 by @dominik-zeglen
- Fixed internal error when creating a checkout with a voucher code - #4292 by @NyanKiyoshi
- Fix breaking object selection in menu section - #4282 by @dominik-zeglen
- Reset selected items when tab switch - #4268 by @benekex2

### Other notable changes

- Add support for Google Cloud Storage - #4127 by @chetabahana
- Adding a nonexistent variant to checkout no longer crashes - #4166 by @NyanKiyoshi
- Disable storage of Celery results - #4169 by @NyanKiyoshi
- Disable polling in Playground - #4188 by @maarcingebala
- Cleanup code for updated function names and unused argument - #4090 by @jxltom
- Users can now add multiple "Add to Cart" forms in a single page - #4165 by @NyanKiyoshi
- Fix incorrect argument in `get_client_token` in Braintree integration - #4182 by @maarcingebala
- Fix resolving attribute values when transforming them to HStore - #4161 by @maarcingebala
- Fix wrong calculation of subtotal in cart page - #4145 by @korycins
- Fix margin calculations when product/variant price is set to zero - #4170 by @MahmoudRizk
- Fix applying discounts in checkout's subtotal calculation in API - #4192 by @maarcingebala
- Fix GATEWAYS_ENUM to always contain all implemented payment gateways - #4108 by @koradon

## 2.6.0

Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ django-impersonate = ">=1.3"
django-measurement = "==3.0.0"
django-mptt = ">=0.7.1"
django-phonenumber-field = ">=1.3.0,<3.0"
django-prices = ">=1.0.2"
django-prices = ">=1.0.2,<2.0.0"
django-prices-openexchangerates = ">=1.0.0"
django-prices-vatlayer = ">=1.0.2"
django-redis = ">=4.0.0"
Expand Down Expand Up @@ -69,7 +69,7 @@ dataclasses = {version = "*",markers = "python_version < '3.7'"}
[dev-packages]
pytest = "*"
pytest-django = "*"
pytest-django-queries = "*"
pytest-django-queries = "==1.1.0"
pytest-vcr = "*"
pytest-mock = "*"
pytest-xdist = "*"
Expand Down
Loading

0 comments on commit e0f08e7

Please sign in to comment.