Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases/0.12.x #669

Merged
merged 207 commits into from
Mar 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
d54838f
adopt polymorphic ModelAdmin-s to django-polymorphic>=1.0
jrief Sep 21, 2017
fc2e45e
Remove HTTP-Header `X-HTTP-Method-Override`
jrief Sep 25, 2017
bad4dcc
add boolean field disable_invalid to ProceedButton
jrief Sep 25, 2017
8cf65d3
replace auth.js by djng’s internal form & button directives
jrief Oct 1, 2017
e952553
MethodOverrideMiddleware is deprected
jrief Oct 6, 2017
5216367
Replace promises success/error against then/catch/finally
jrief Oct 6, 2017
1d02e17
WiP: Replace directive shop-forms-set against djng-forms-set
jrief Oct 6, 2017
63dcc45
minor style fixes
jrief Oct 6, 2017
d3670c1
decoupled checkout forms
jrief Oct 8, 2017
4c00f75
use vanilla Javascript in serverside JS-expressions
jrief Oct 8, 2017
b9ea7a9
remove unused translationProvider
jrief Oct 8, 2017
63e5dba
rename showOk -> showOK
jrief Oct 8, 2017
0c39c10
add route to AddressEditView
jrief Oct 8, 2017
85a8fc7
decoupled checkout forms
jrief Oct 9, 2017
e62b4d8
moved CheckoutSerializer into own module
jrief Oct 9, 2017
57a813b
CheckoutViewSet is not a CartViewSet anymore
jrief Oct 9, 2017
b16b130
fix indention
jrief Oct 9, 2017
eac4494
digest method returns cart and checkout-tags
jrief Oct 9, 2017
78e5735
CheckoutViewSet is not a CartViewSet anymore
jrief Oct 9, 2017
9c8c8c6
workin shipping- and payment method forms
jrief Oct 9, 2017
b4e218b
added updateable digest tags
jrief Oct 9, 2017
6804598
indention fix
jrief Oct 9, 2017
f4dd212
emit 'shop.checkout.digest' on Next Step
jrief Oct 9, 2017
fccb567
make unique ids for shipping- and billing addresses
jrief Oct 9, 2017
5598efa
safety commit before refactoring billing address form
jrief Oct 9, 2017
ebeafbc
revert 5598efa76b1cec0d50d107539d0e85f8700cb193 partially
jrief Oct 10, 2017
3785153
adopted methods digest and delete for Billing Address
jrief Oct 10, 2017
6a494e6
use model scope transfer introduced in django-angular
jrief Oct 10, 2017
5d9fc26
shipping/billing address is up and working again
jrief Oct 10, 2017
c66f90f
shipping/payment method forms up and working again
jrief Oct 10, 2017
6197ad6
use extra_annotation_tag instead of annotation_tag
jrief Oct 10, 2017
6bd60f5
remove unused code
jrief Oct 10, 2017
189fe0e
specify djng.forms
jrief Oct 10, 2017
f133fe1
upgrade to AngularJS-1.6.6
jrief Oct 10, 2017
7615026
Merge branch 'cancel-order-with-refund' into refactor-forms-set
jrief Oct 10, 2017
d12a956
Merge remote-tracking branch 'awesto/master' into refactor-forms-set
jrief Oct 10, 2017
b21de36
indention fix
jrief Oct 10, 2017
ea1f38e
Use <form djng-endpoint=…> for submission
jrief Oct 10, 2017
b3b0e6d
Merge branch 'refator-addtoblock-add_data' into refactor-forms-set
jrief Oct 10, 2017
278ebba
order.js replaced by django-angular
jrief Oct 11, 2017
92bf7c6
initialized FAQs for django-SHOP
jrief Oct 11, 2017
24e8fee
Caption for cart-icon is configurable through serializer
jrief Oct 11, 2017
5257a7c
fixed: reordering a product which is already in the cart honours is_i…
jrief Oct 11, 2017
d2f53a6
Use djng.forms instead of deprecated order.js
jrief Oct 11, 2017
cf989a9
fetch cart icon caption if not initialized
jrief Oct 11, 2017
a03068f
all form fields have their own and unique HTML id
jrief Oct 11, 2017
4c1ba9a
reorder arguments
jrief Oct 12, 2017
7a96623
transform shopCheckoutDigest into AngularJS provider
jrief Oct 12, 2017
29a5b90
fix: switch address sibling works again
jrief Oct 12, 2017
743b1b1
Remove min=“” from quantity input field
jrief Oct 13, 2017
4e17a94
configure endpoint trough HTML rather than by using djangoURL
jrief Oct 13, 2017
9bee53a
use symbolic status codes
jrief Oct 13, 2017
8d30524
do not rebuild list of cart items on every change
jrief Oct 13, 2017
90912d7
broadcast 'shop.carticon.caption' event from root
jrief Oct 13, 2017
cb2c709
use lists instead of tuples
jrief Oct 13, 2017
d831f7b
catch event to dismiss submit message when changing content in input …
jrief Oct 18, 2017
cf15934
use Django’s configurable password validators
jrief Oct 18, 2017
2458632
change password using method POST (not PUT)
jrief Oct 18, 2017
cf5228d
remove obsolte styles
jrief Oct 18, 2017
dfc3ed0
refactored auth forms to use simpler inheritance
jrief Oct 18, 2017
2233088
added accordion with validation for checkout
jrief Oct 18, 2017
0a38e01
add compatibility layer for Unicode usernames in PY3
jrief Oct 18, 2017
18ae46f
configure the password validator
jrief Oct 18, 2017
b8eef0c
remove djng.url dependency from project
jrief Oct 18, 2017
2dfd920
remove digest.scss
jrief Oct 19, 2017
1c59605
unstylled unsorted lists
jrief Oct 19, 2017
748d5ab
animate submit message fields
jrief Oct 19, 2017
e044b55
Revert "added accordion with validation for checkout"
jrief Oct 19, 2017
72e8bf7
Separate CartController into itself and a CartItemControler
jrief Oct 19, 2017
87958c6
swap spinner and prepare in purchase button
jrief Oct 19, 2017
7e182f8
consistent naming of broadcast events
jrief Oct 19, 2017
fcd71da
renamed emit names to shop.product.filter and shop.product.search
jrief Oct 20, 2017
57dee98
remove all occurences of ng-change="dismissSubmitMessage()"
jrief Oct 20, 2017
3efdd1c
increase delay after user registration
jrief Oct 20, 2017
55381e2
Invalid address forms report an error
jrief Oct 20, 2017
6ad9020
report about missing ‘plugin_order’ in form payload
jrief Oct 20, 2017
0164fb6
remove all occurences of ng-change="dismissSubmitMessage()"
jrief Oct 20, 2017
f45823b
upgrade to angular-bootstrap-plus version 0.7.0
jrief Oct 20, 2017
22001e7
set form into pristine state after update
jrief Oct 20, 2017
09decc9
reassign last address to the cart’s address fields
jrief Oct 20, 2017
7d827ac
add ‘on_delete’ to the Cart’s address fields
jrief Oct 20, 2017
a6c48fe
skip non numeric priority by catching ValueError
jrief Oct 21, 2017
c2af8cf
remove deprecation warning on Customer.first_name/last_name
jrief Oct 21, 2017
6dd9fca
fix all failing unit tests
jrief Oct 21, 2017
44585ff
changelog for version 0.12
jrief Oct 21, 2017
afeae65
Fix: do not cascade delete cart after removing shipping/billing address
jrief Oct 21, 2017
aa40325
moved release notes into own folder
jrief Oct 21, 2017
7f33494
add section for FAQs
jrief Oct 21, 2017
b9b757b
update changlelog for 0.12
jrief Oct 21, 2017
a7c6083
Fix: Use request.data instead of body
jrief Oct 21, 2017
06cbc2f
update dependencies to email_auth
jrief Oct 21, 2017
816e87b
upgrade external dependencies
jrief Oct 21, 2017
5a8f2ec
attempt to fix travis-ci
jrief Oct 21, 2017
22d2d42
attempt to fix travis-ci
jrief Oct 21, 2017
9d80825
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Oct 21, 2017
6c8af48
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Oct 22, 2017
7d923d4
remove unused JS import
jrief Oct 22, 2017
329e798
renamed internal functions for better consistency
jrief Oct 22, 2017
07cd5e4
Introduce CartSummarySerializer to retrieve a smaller checkout digest
jrief Oct 23, 2017
f29fed3
show additional charge nearby the shipping- and payment method forms
jrief Oct 23, 2017
227f1fd
adopt changelog to latest added features
jrief Oct 23, 2017
dcde94b
fix typo
jrief Oct 23, 2017
94e4a48
Restyle additional charges row
jrief Oct 23, 2017
ac69053
Restyle additional charges row
jrief Oct 23, 2017
c356bc3
reverted module import order
jrief Oct 23, 2017
e73237b
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Oct 23, 2017
ac64400
remove dead code
jrief Oct 23, 2017
bceff6e
safe combined cart+checkout page
jrief Oct 23, 2017
5a015c3
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Oct 23, 2017
1812b47
Bump to version 0.12.dev0
jrief Oct 24, 2017
f265b3a
Revert "Add Support Python3.6"
jrief Oct 24, 2017
8c8cc00
Revert "Add Python3.6 to Travis"
jrief Oct 24, 2017
00f0470
Revert "Add Python3.6 to tox"
jrief Oct 24, 2017
b046143
temporarily, drop support for Python-3.6
jrief Oct 24, 2017
5fd14c3
upgrade and refactor dependencies
jrief Oct 24, 2017
2826126
check for existence of left- and right extensions
jrief Oct 24, 2017
1c6d691
update dependencies
jrief Oct 24, 2017
f021c73
fetchURL and isLoading are private variables now
jrief Oct 24, 2017
6404902
adopted Docker build
jrief Oct 24, 2017
6a5a4c7
Merge branch 'releases/0.11.x' into releases/0.12.x
jrief Oct 25, 2017
c870bf2
moved dependency djangoshop-stripe into tests
jrief Oct 25, 2017
cdb829c
update pip dependencies
jrief Oct 25, 2017
38f635a
remove unused import
jrief Oct 25, 2017
c4f970a
fix for PY3.6: added compatibility layer for ChoiceEnum
jrief Oct 25, 2017
b1ea434
fix for Py3.6: override cls in json_kwargs of Django’s JSON serializer
jrief Oct 25, 2017
a71ef68
remove unused import
jrief Oct 25, 2017
e1f7ccd
readd missing dependency
jrief Oct 25, 2017
da1160e
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Oct 25, 2017
cc47dd3
Revert "fix for PY3.6: added compatibility layer for ChoiceEnum"
jrief Oct 25, 2017
44613ec
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Oct 25, 2017
6bfd8fe
remove sendcloud settings
jrief Oct 25, 2017
8d2f321
remove obsolete command
jrief Oct 25, 2017
5633ff4
Revert "remove obsolete command"
jrief Oct 26, 2017
c99392c
CartManager caches the cart object inside the request
jrief Oct 27, 2017
c85f8db
adopt to django-angular-2.0: remove prefix ‘errors’ from form errors
jrief Oct 27, 2017
d9c1f3d
adopt to django-angular-2.0: remove prefix ‘errors’ from form errors
jrief Oct 27, 2017
5bea7a0
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Oct 27, 2017
3564a12
fix regression introduced by caching cart in request
jrief Oct 28, 2017
12dde53
Fix #678: manage.py dumpdata raises an exception
jrief Nov 2, 2017
545d539
fix 677: Error on enum type during manage.py migrations
jrief Nov 2, 2017
66d0126
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Nov 3, 2017
cff83c3
Fix: In plugin child_plugin_instances may be None
jrief Oct 30, 2017
3e53c47
Merge branch 'master' into releases/0.12.x
jrief Nov 22, 2017
44f6c06
Django-1.11: override label on Checkbox fields
jrief Oct 30, 2017
e244691
add compatibility layer for Django-1.11
jrief Nov 22, 2017
fe087c5
Merge branch 'master' into releases/0.12.x
jrief Nov 22, 2017
120c50e
fixed last failing CheckoutTest
jrief Nov 23, 2017
da90964
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Nov 23, 2017
ebf610f
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Nov 23, 2017
6ed191a
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Nov 23, 2017
546e76c
Make Limit Offset to one paginator in admin backend (ProductSelectView)
haricot Jan 2, 2018
59bcca6
forgetting parentheses
haricot Jan 2, 2018
e6ed1b8
Merge pull request #700 from haricot/paginator
jrief Jan 2, 2018
0300403
Add ShopProductGallery filter for active products
haricot Jan 12, 2018
5552361
Add ProductListView filter for active products
haricot Jan 12, 2018
d4df30b
Add ProductRetrieveView filter for active products
haricot Jan 12, 2018
54b555b
Add compatibility python2.7 (ProductRetrieveView filter for active p…
haricot Jan 12, 2018
8bb9cd6
Add compatibility python2.7 (ProductRetrieveView)
haricot Jan 12, 2018
868568b
freeze node dependencies
jrief Jan 29, 2018
7378f02
fix: Template context error while rendering Order Views as Visitor
jrief Jan 29, 2018
08650ca
changes for 0.11.4
jrief Jan 29, 2018
60e3f2a
invoke ‘email_queued’ on Redis.publish()
jrief Feb 7, 2018
53e796b
Add async worker to Docker compose
jrief Feb 7, 2018
2628a13
Merge branch 'releases/0.11.x' into drafts/async-worker
jrief Feb 7, 2018
fdbff2c
use a prefix for session to prevent Cookie-CSRF-mismatch
jrief Feb 7, 2018
6764b13
fix ES problem during index
jrief Feb 7, 2018
ef2fbdf
only use keys provided by SESSION_REDIS
jrief Feb 7, 2018
f3b895c
add compatibility table
jrief Feb 11, 2018
3b73715
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Feb 12, 2018
75d4670
upgrade to latest dependencies
jrief Feb 12, 2018
5b11d15
upgrade to latest angularjs versions
jrief Feb 16, 2018
7479db5
invalidate compressor cache on startup
jrief Feb 18, 2018
4367093
do not rely on existing database during initialization
jrief Feb 18, 2018
9bf30fa
pin wheels to correct version numbers
jrief Feb 18, 2018
60407bf
Fix #708: Passing 'None' when calling `django.template.loader.select_…
jrief Feb 18, 2018
a46fbf4
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Feb 18, 2018
5c863f6
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Feb 18, 2018
1a60eb8
in Next button, on click, scroll to rejected fields, if any
jrief Feb 20, 2018
4b69d24
upgrade to latest requirements
jrief Feb 20, 2018
21171c8
add shop as package itself
jrief Feb 20, 2018
6f34a27
smoother animation when showing Payment form
jrief Feb 20, 2018
de33c57
remove django-1.9 from testing matrix
jrief Feb 20, 2018
82558f8
Fix: Python3 can not handle None type in max() function
jrief Feb 20, 2018
2b528b1
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Feb 21, 2018
af331be
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Feb 21, 2018
ef60910
Merge branch 'drafts/async-worker' into releases/0.12.x
jrief Feb 21, 2018
b44544c
use individual environment files
jrief Feb 21, 2018
c47222b
upgrade docs
jrief Feb 22, 2018
fba1b2e
fixed compatibility for Python-2.7 on type()
jrief Feb 22, 2018
f9ca370
Fixed styling issues in address forms
jrief Mar 17, 2018
8f38306
Configure worker for Django’s setup
jrief Mar 17, 2018
7ea82bd
code cleanup
jrief Mar 17, 2018
57c8d3a
updated docs
jrief Mar 17, 2018
9402403
fix comment
jrief Mar 17, 2018
089ad31
fix comment
jrief Mar 17, 2018
8303e23
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Mar 17, 2018
bbfd96b
.tox/docs complained about duplicate entry
jrief Mar 17, 2018
fc44408
small typo fixes in the docs
jrief Mar 17, 2018
9d064d8
Merge branch 'releases/0.12.x' of github.com:awesto/django-shop into …
jrief Mar 17, 2018
c3a23f8
Merge remote-tracking branch 'awesto/master' into releases/0.12.x
jrief Mar 17, 2018
7ab033c
add reference tag
jrief Mar 17, 2018
280bd3f
why does Travis-CI always complain?
jrief Mar 18, 2018
37e0a50
turn off sphinx warnings
jrief Mar 18, 2018
24de905
update docs
jrief Mar 18, 2018
ed3dae3
integrate changes from PR #702: filter against active products
jrief Mar 18, 2018
eaefd0f
Merge branch 'releases/0.12.x' into patch-2
jrief Mar 18, 2018
b904d7d
Merge pull request #702 from haricot/patch-2
jrief Mar 18, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ python:
- 3.6

env:
- DJANGOVER=django19
- DJANGOVER=django110
- DJANGOVER=django111
- TOX_ENV=docs
Expand Down
34 changes: 22 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
restart: always
image: postgres
env_file:
- example/docker-files/environ
- example/docker-files/databases.environ
volumes:
- pgdata:/var/lib/postgresql/data
networks:
Expand All @@ -31,8 +31,6 @@ services:
hard: -1
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- shopnet

Expand All @@ -45,27 +43,39 @@ services:
environment:
- DJANGO_SHOP_TUTORIAL
- POSTGRES_DB=myshop_$DJANGO_SHOP_TUTORIAL
- DJANGO_EMAIL_HOST
- DJANGO_EMAIL_PORT
- DJANGO_EMAIL_USER
- DJANGO_EMAIL_PASSWORD
- DJANGO_EMAIL_USE_TLS
- DJANGO_EMAIL_FROM
- DJANGO_EMAIL_REPLY_TO
env_file:
- example/docker-files/environ
- example/docker-files/databases.environ
volumes:
- shopmedia:/web/workdir
command: uwsgi --ini uwsgi.ini
depends_on:
- postgresdb
- redishost
- elasticsearch
networks:
- shopnet
command: uwsgi --ini uwsgi.ini
ports:
- 9009:9009

worker:
restart: always
image: demoshop
environment:
- DJANGO_SHOP_TUTORIAL
- POSTGRES_DB=myshop_$DJANGO_SHOP_TUTORIAL
- DJANGO_SETTINGS_MODULE=myshop.settings
env_file:
- example/docker-files/databases.environ
- example/docker-files/email.environ
command: su django -c /web/worker.py
volumes:
- shopmedia:/web/workdir
depends_on:
- postgresdb
- redishost
networks:
- shopnet

networks:
shopnet:

Expand Down
Binary file added docs/_static/tutorial/django-cms-toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 70 additions & 7 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,75 @@
Changelog for django-SHOP
=========================

0.12
====

* Adopted for django-angular version 2.0, which breaks its API. Invalid forms rejected by the server
are send with a status code of 422 now. Check their changelog for details.
* Adopted to AngularJS-1.6.6, which required to replace all ``.success()`` handlers against
a promise ``.then()``.
* RESTifyed the communication with the server, by using HTTP methods ``PUT`` and ``DELETE`` where
appropriate.
* Rename ``PayInAdvanceWorkflowMixin`` to ``ManualPaymentWorkflowMixin``, since its purpose is to
handle all incoming/outgoing payments manually.
* Move ``LeftExtensionPlugin`` and ``RightExtensionPlugin`` into module ``shop/cascade/extensions``
and allow them to be used on the ``ShopOrderViewsPlugin`` as well.
* Refactored ``ShopReorderButtonPligin`` and ``ShopOrderAddendumFormPlugin`` to use the new
``djng-forms-set`` directive, as provided by **django-angular** version 2.0.
* ``ShopOrderAddendumFormPlugin`` can optionally render historical annotations for the given order.
* Added hook methods ``cancelable()`` and ``refund_payment()`` to ``BaseOrder`` to allow
a better order cancelling interface.
* Paid but unshipped orders, now can be refunded. Possible be refactoring class
``CancelOrderWorkflowMixin``, which handles payment refunds.
* Add Order status to Order Detail View, so that the customer immediately sees what's going on.
* Reject method POST on Order List View.
* Fix: On re-add item to cart, use ``product_code`` to identify if that product already exists in cart.
* Do not render buttons and links related to the watch-list, when it is not available.
* Use Sekizai's templatetags ``{% add_data %}`` and ``{% with_data %}`` instead of Sekizai's
postprocessors ``djng.sekizai_processors.module_config`` and ``djng.sekizai_processors.module_list``,
which now are deprecated.
* Remove HTTP-Header ``X-HTTP-Method-Override`` and use PUT and DELETE requests natively.
* Remove django-angular dependency ``djng.url`` from project.
* Endpoints in JavaScript are always referenced through HTML. This eliminates the need for
``'djng.middleware.AngularUrlMiddleware'`` in ``MIDDLEWARE_CLASSES`` of your ``settings.py``.
* Use Django's internal password validator configuration ``AUTH_PASSWORD_VALIDATORS`` in your
``settings.py``.
* Refactored all templates for authentication forms to simplify inheritance and to use the promise
chain (offered by django-angular 2.0). This allows to do fine-grained adoptions in the submit
buttons behaviour.
* Decoupled all checkout forms. They don't require ``dialog.js``, ``forms-sets.js`` and ``auth.js``
anymore. Instead use the functionality provided by django-angular 2.0 form directives.
* Use a REST endpoint to add, modify and delete multiple shipping and billing addresses. This
simplifies the address forms. Remove ``shipping-address.js`` and replace it against a more generic
``address.js``.
* Use an event broadcast ``shop.carticon.caption`` to inform the carticon about changes in the cart.
* Add an overridable ``CartIconCaptionSerializer`` to specify what to render in the cart-icon.
* Use event broadcasting to inform the checkout forms if configured in summary mode. This decouples
checkout form updates, from rendering their summary on another page or process step.
* Add operator to test Money type against booleans.
* Fix: Adopt polymorphic ModelAdmin-s to django-polymorphic>=1.0.
* Add to ``ShopProceedButton``: Disable button if any form in this set is invalid.
* Use vanilla Javascript in serverside JS-expressions.
* Decoupled ``CheckoutViewSet`` from ``CartViewSet``, so that the checkout only handles forms
relevant to the checkout process.
* Endpoint ``digest`` in ``CheckoutViewSet``, returns a full description of all forms, plus the
current cart's content. Fetching from there is emit a ``shop.checkout.digest`` event.
* Added directives ``shop-payment-method`` and ``shop-shipping-method`` which update the cart and
emit a ``shop.checkout.digest`` event on change.
* Fix: All form input field get their own unique HTML ``id``. Previously some ``id``'s were used
twice and caused collisions.
* Fix: Do not rebuild list of cart items, on each change of quantity.
* Separate ``CartController`` into itself and a ``CartItemControler``.
* Consistent naming of emit and broadcast events.
* Introduce ``CartSummarySerializer`` to retrieve a smaller checkout digest.
* In Shipping- and Payment Method Form, optionally show additional charges below the radio fields,
depending on the selected method.
* Remove ``angular-message`` from the list of npm dependencies.


0.11.7
======

* Fix: Python3 can not handle ``None`` type in max() function.
* Smoother animation when showing Payment form.

Expand Down Expand Up @@ -52,14 +119,10 @@ Changelog for django-SHOP


0.11.2
======
=======

* Do not render buttons and links related to the watch-list, when it is not available.
* Fix: Adopt polymorphic ModelAdmin-s to django-polymorphic>=1.0.
* Use Sekizai's internal ``{% with_data ... %}`` to render Sekizai blocks ``ng-requires`` and
``ng-config`` rather than using the deprecated postprocessors ``djng.sekizai_processors.module_list``
and ``djng.sekizai_processors.module_config``. Adopt your templates accordingly as explained
in :ref:`reference/client-framework`
* Use Sekizai's internal templatetags ``{% with_data ... %}`` and ``{% with_data %}`` to render Sekizai
blocks ``ng-requires`` and ``ng-config`` rather than using the deprecated postprocessors
``djng.sekizai_processors.module_list`` and ``djng.sekizai_processors.module_config``. Adopt your
Expand Down Expand Up @@ -210,7 +273,7 @@ Changelog for django-SHOP
* Added method ``post_process_cart_item`` to the Cart Modifiers.
* In ``CartItem`` the ``product_code`` is mandatory now. It moves from being optionally kept in dict
``CartItem.extra`` into the ``CartItem`` model itself. This simplifies a lot of boilerplate code,
otherwise required by the merchant implementation. Please read :ref:`upgrading-0.10` for details.
otherwise required by the merchant implementation. Please read :ref:`release-notes/0.10` for details.
* In :class:`shop.models.product.BaseProduct` added a hook method ``get_product_variant(self, **kwargs)``
which can be overridden by products with variations to return a product variant.

Expand Down Expand Up @@ -238,7 +301,7 @@ Changelog for django-SHOP
* Minimum required version of djangocms-cascade is now 0.10.2.
* Minimum required version of djangoshop-stripe is now 0.2.0.
* Changed the default address models to be more generic. Please read the
:doc:`upgrade instructions <upgrading>` if you are upgrading from 0.9.0 or 0.9.1.
:ref:`release-notes/0.9` if you are upgrading from 0.9.0 or 0.9.1.
* Fixed :py:meth:`shop.money.fields.decontruct` to avoid repetitive useless generation of migration
files.
* Using cached_property decoration for methods ``unit_price`` and ``line_total`` in
Expand Down
36 changes: 36 additions & 0 deletions docs/faq.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. _faq:

============================
Frequently Asquest Questions
============================


Frontend Editing
================

Order Plugin
------------

**Editing the Order Plugin seems to be broken**

This has to do with the way, **django-CMS** handles the placeholder in its templates. Here the
problem is, that we're using the same template for both, the Order List View and their Detail
Views. The Order Detail Views however, are not managed by the CMS, but rather by a CMSApphook.
The latter confuses the CMS placeholder. It therefore is *strongly recommended* to edit the Order
Page only while in List View Mode.

JavaScript
----------

**Can I use django-SHOP without AngularJS?**

When using REST, then client side actions have to be handles somehow using JavaScript.
AngularJS was chosen in 2014, because it was the only MVVM-ish framework at the time. However,
the intention always has been, that merchants implementing their e-commerce site on top of
**django-SHOP** do not have to write a single line of code in JavaScript. The idea is, that
everything shall be adoptable using the special HTML elements introduced by **django-SHOP**.

Unless all these directives are replaced by another JavaScript framework, such as React, Ember,
Vue.js, Angular2/4, Aurelia, etc., one can setup **django-SHOP** without any JavaScript at all.
Then however, a lot of functionality is lost and the user experience will be modest.

2 changes: 1 addition & 1 deletion docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ their amount with the correct currency symbol. They also offer the special amoun
Django-SHOP directly plugs into django-CMS
==========================================

Product detail pages may use all templatetags from djangoCMS, such as the ``{% placeholder ... %}``,
Product detail pages may use all templatetags from **django-CMS**, such as the ``{% placeholder ... %}``,
the ``{% static_placeholder ... %}``, or other CMS tags.

**Django-SHOP** does not presuppose categories to organize product list views. Instead django-CMS
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/customize-snippets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Add Customized HTML Snippets
============================

When working in *Structure Mode* as provided by **djangoCMS**, while editing the DOM tree inside a
When working in *Structure Mode* as provided by **django-CMS**, while editing the DOM tree inside a
placeholder, we might want to add a HTML snippet which is not part of the **Cascade** ecosystem.
Instead of creating an additional Django template, it often is much easier to just add a customized
plugin. This plugin then is available when editing a placeholder in *Structure Mode*.
Expand Down
26 changes: 22 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Django-SHOP documentation
Upgrading
=========
If you are upgrading from an earlier version, please be sure to read the
:doc:`upgrade instructions <upgrading>`.
:ref:`release-notes`.


Tutorial
Expand Down Expand Up @@ -54,6 +54,7 @@ Reference to classes and concepts used in **django-SHOP**
reference/filters
reference/cascade-plugins
reference/cart-checkout
reference/cart-icon
reference/payment-providers
reference/order
reference/delivery
Expand All @@ -64,8 +65,9 @@ Reference to classes and concepts used in **django-SHOP**
reference/configuration
reference/shipping-providers
reference/special-cms-pages
reference/cart-icon
reference/settings
reference/worker
reference/docker


How To's
Expand All @@ -83,15 +85,31 @@ Some recipes on how to perform certain tasks in **django-SHOP**.
howto/handling-discounts
howto/handling-taxes


Django/Python compatibility table
=================================

=========== === === ==== ==== === === === === ===
django-SHOP Django Python
----------- ------------------------- ------------------
\ 1.8 1.9 1.10 1.11 2.0 2.7 3.4 3.5 3.6
=========== === === ==== ==== === === === === ===
0.10.x ✓ ✓ ⨯ ⨯ ⨯ ✓ ✓ ✓ ⨯
0.11.x ⨯ ✓ ✓ ⨯ ⨯ ✓ ✓ ✓ ✓
0.12.x ⨯ ⨯ ⨯ ✓ ⨯ ✓ ✓ ✓ ✓
0.13.x ⨯ ⨯ ⨯ ✓ ⨯ ✓ ✓ ✓ ✓
=========== === === ==== ==== === === === === ===


Development and Community
=========================

.. toctree::
:maxdepth: 1

changelog
releases/0.11
upgrading
release-notes/index
faq
contributing
authors

Expand Down
Loading