Commit graph

14169 commits

Author SHA1 Message Date
Łukasz
51ea70294f [API] Add locale to cart serialization + minor fixes 2017-02-08 18:27:32 +01:00
Magdalena Banasiak
9fc6f7f37a [Documentation][API] Carts & Orders - Review fixes 2017-02-08 18:27:32 +01:00
Łukasz
1e38891401 [API] [Documentation] Cart api 2017-02-08 18:27:32 +01:00
Łukasz
b436a68005 [API] Configure cart and related items serialization 2017-02-08 18:27:31 +01:00
Łukasz
c631f5ae27 [API] Only orders in cart state can be accessed via cart endpoint 2017-02-08 18:27:01 +01:00
Łukasz
1112143447 [API] Delete cart items 2017-02-08 18:26:21 +01:00
Łukasz
de5066d0cb [API] Update cart item quantity 2017-02-08 18:26:21 +01:00
Łukasz
7da6d187a2 [API] Varaint availableness check 2017-02-08 18:26:21 +01:00
Łukasz
f0bf283fdd [Api] Adding to cart 2017-02-08 18:26:20 +01:00
Łukasz
354a5e5e7d [API] Order to cart rename for routes 2017-02-08 18:25:59 +01:00
Paweł Jędrzejewski
163f10fadc Merge pull request #7348 from tuka217/api-product-variant
[API][ProductVariant] Crud for product variants
2017-02-08 16:58:38 +01:00
Ishmael๛
1b9146bce7 Fix invalid logic in applying criteria/sorting (#7449) 2017-02-08 16:57:16 +01:00
Paweł Jędrzejewski
272ca09af3 Merge pull request #7441 from psren/fix-duplication-in-layout-templates
switch to template inheritance for checkout
2017-02-08 16:55:16 +01:00
Paweł Jędrzejewski
9fe6264b4c Merge pull request #7451 from tuka217/product-remove-avaiability
[Product] Remove product's avaiability
2017-02-08 16:54:49 +01:00
Paweł Jędrzejewski
305ec9ac3b Merge pull request #7456 from TheMadeleine/partially-pay-and-refund
[CoreBundle] Add sylius_order_payment missing transitions
2017-02-08 16:54:18 +01:00
Paweł Jędrzejewski
88593cf75d Merge pull request #7454 from TheMadeleine/docs/clarify-some-stuff
[Documentation] Minor clarifications
2017-02-08 16:46:46 +01:00
Paweł Jędrzejewski
27bf96d381 Merge pull request #7452 from blankcheck/issue_sylius_standard_158
Added unique constraints on product_taxon and product_channel_pricing
2017-02-08 16:46:01 +01:00
Magdalena Banasiak
e13afd9cb5 [CoreBundle] sylius_order_payment missing transitions 2017-02-08 16:05:18 +01:00
Magdalena Banasiak
84278a77da [Documentation] Bundles & Components links to Book 2017-02-08 13:10:17 +01:00
Antonio Zdilar
d0ee13e558 Added unique constraints on product_taxon and product_channel_pricing entities
[Core] added unique constraints on following entities:
product_variant_id/channel_id combination in sylius_channel_pricing
product_id/taxon_id combination in sylius_product_taxon
2017-02-08 11:56:31 +01:00
tuka217
9cb1638434 [Product] Remove avaiability
Upgrade docs
Update phpunit tests about product
2017-02-08 11:56:24 +01:00
Arvids Godjuks
7d167161ef Coding style fixes 2017-02-08 11:53:27 +01:00
Arvids Godjuks
0f06074520 Payment state update for NotifyNullAction
Payum provides a mechanism to use a NotifyNullAction for gateways that do not have a per-payment notification URL capability to call the "payum_notify_do_unsafe" route for the URL "/payment/notify/unsafe/{gateway}"

The issue happens because in this scenario, the NotifyNullAction is the last item in the Payum processing stack, as it is the first action that has been called, and due to it's stateless nature, it does not have a PaymentInterface model (getFirstModel returns "null"), meaning the extension can't update the payment status.

This means that Payum's built-in Be2Bill should fail too, but I have my own local gateway provider that has the same workflow. It took me quite a while to figure it out and I have done extensive testing on this.
This is the best idea I came up with how to handle it.

In essence, I look up the next action in the stack and if I see a class names "NotifyNullAction" - I'm not doing a "return" as it done originally.
2017-02-08 11:53:27 +01:00
Paweł Jędrzejewski
4052fca426 Merge pull request #7424 from pamil/decoration-fix
Allow easier decoration for 3rd party extensions
2017-02-08 10:58:00 +01:00
Magdalena Banasiak
ffdf5bd921 [Documentation][Cookbook] Model - fix 2017-02-08 10:35:07 +01:00
tuka217
86d198e11a Fix after review 2017-02-08 10:34:44 +01:00
tuka217
99f8175158 [API] Not remove information about on_hand if it exists 2017-02-08 10:32:25 +01:00
tuka217
5bd3245998 [Docs] Add documentation about product variants in api 2017-02-08 10:32:25 +01:00
tuka217
01ffece60a [API][ProductVariant] Crud tests
[CoreBundle] Update serialization for product variant
2017-02-08 10:32:25 +01:00
Paweł Jędrzejewski
06fbc7a22c Merge pull request #7419 from psihius/patch-2
Payment state update for NotifyNullAction
2017-02-08 10:24:00 +01:00
Paweł Jędrzejewski
49f8e4b477 Merge pull request #7442 from pamil/shop-user-delete
Use proper path for shop user deletion route
2017-02-08 10:21:49 +01:00
Paweł Jędrzejewski
95e7f10a8d Merge pull request #7448 from lchrusciel/improve-routing
[Resource] Add possibility to define custom criteria for generated routing
2017-02-08 10:16:04 +01:00
Paweł Jędrzejewski
0f121d242f Merge pull request #7440 from TheMadeleine/docs/architecture-image
[Documentation][Book] Architecture - Graphics
2017-02-08 10:14:15 +01:00
Paweł Jędrzejewski
49e8c39a65 Merge pull request #7447 from Scribblerockerz/patch-1
[Documentation] Add missing word in product review
2017-02-08 10:13:05 +01:00
Magdalena Banasiak
ac3efce482 [Documentation] Make docs description more precise 2017-02-08 09:29:08 +01:00
Łukasz
e53ca52a1a [Resource] Add possibility to define custom criteria for generated routing 2017-02-08 09:26:49 +01:00
Magdalena Banasiak
bf18494a99 [Documentation][Book] Architecture - Graphics 2017-02-08 08:20:34 +01:00
Joe
a2e05ba539 [Documentation] Add missing word in product review
There is a missing word in the documentation of the product review.
2017-02-07 21:22:07 +01:00
Paweł Jędrzejewski
f9078bb71f Merge pull request #7430 from SyliusBot/crowdin-translations-2017-02-06-21-37-01
[AUTO] Updated translations from Crowdin
2017-02-07 19:27:37 +01:00
Paweł Jędrzejewski
b5dc4523b9 Merge pull request #7439 from pamil/do-not-test-application-if-only-text-files-changed
[Travis] Skip application tests if only *.md files were changed
2017-02-07 17:35:34 +01:00
Kamil Kokot
c6d5388b65
Use proper path for shop user deletion route 2017-02-07 17:21:27 +01:00
Kamil Kokot
3abfbd2491
Allow for easier decoration for 3rd party extensions 2017-02-07 17:13:26 +01:00
Patrick Heller
63d99b636d newline at the end of the file 2017-02-07 15:28:10 +01:00
Patrick Heller
adc59d0631 switch to inheritance 2017-02-07 15:25:26 +01:00
Kamil Kokot
e749ffb01f
[Travis] Skip application tests if only *.md files were changed
Excluded files:
 - `CHANGELOG.md`
 - `CONTRIBUTING.md`
 - `LICENSE`
 - `PULL_REQUEST_TEMPLATE.md`
 - `README.md`
 - `UPGRADE.md`
2017-02-07 15:07:16 +01:00
Paweł Jędrzejewski
2e6b3292ff Merge pull request #7438 from lchrusciel/fix-master
[HOTFIX] [Product] Rename code to type on image
2017-02-07 15:04:00 +01:00
Arvids Godjuks
9ec17f4224 Coding style fixes 2017-02-07 15:40:51 +02:00
Łukasz
feb0b91b3e [Product] Rename code to type on image 2017-02-07 12:54:39 +01:00
Paweł Jędrzejewski
1a301c8e34 Merge pull request #7399 from TheMadeleine/docs/resource-bundle
[Documentation][Bundles] ResourceBundle - rework
2017-02-07 11:46:00 +01:00
Paweł Jędrzejewski
779061a8e3 Merge pull request #7302 from tuka217/api-product-detailed
[API][Product] Create product with not required fields
2017-02-07 11:43:12 +01:00