Commit graph

29418 commits

Author SHA1 Message Date
Jacob Tobiasz
1dd6ee5884
Add the @Sylius/development-team as a codeowner 2024-02-01 10:40:15 +01:00
Jacob Tobiasz
46445e252c Fix the author value
Co-authored-by: Dmitri Perunov <diimpp@gmail.com>
2024-01-30 14:58:49 +01:00
Jacob Tobiasz
03bb489fe0 Fix the corrupted package.json 2024-01-30 14:58:49 +01:00
Jan Góralski
adea97cddf
minor #15746 Add builds checking whether the frontend can be built with all supported nodejs versions (jakubtobiasz)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT




Commits
-------
  Add builds checking whether the frontend can be built with all supported nodejs versions
2024-01-26 15:12:45 +01:00
Grzegorz Sadowski
8e37c42f8e [Documentation] Add configuration file for Read the Docs 2024-01-26 09:58:59 +01:00
Grzegorz Sadowski
3d04c1ac15
minor #15749 [AUTO] Updated translations from Crowdin (1.12) ()
This PR was merged into the 1.12 branch.

Discussion
----------



Commits
-------

46ee37e71b [Translations] Updated translations from Crowdin
2024-01-25 14:52:35 +01:00
Grzegorz Sadowski
e070afc694
minor #15761 [Admin] Add Sylius certification to menu (Wojdylak)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT

![image](https://github.com/Sylius/Sylius/assets/33687392/39a833ae-7f92-4b1d-95f7-751eccb1a706)



Commits
-------

9ee3433eac [Admin] Add Sylius certification to menu
2024-01-25 07:09:22 +01:00
Wojdylak
9ee3433eac
[Admin] Add Sylius certification to menu 2024-01-24 15:42:34 +01:00
Sylius Bot
46ee37e71b [Translations] Updated translations from Crowdin 2024-01-22 04:03:04 +00:00
Jacob Tobiasz
49e7b7325d
Add builds checking whether the frontend can be built with all supported nodejs versions
Co-authored-by: jaroslavtyc.com <mail@jaroslavtyc.com>
2024-01-20 17:11:39 +01:00
Rafikooo
c3da0dc9f8 [Docs] Remove outdated deployment entries 2024-01-16 08:19:48 +01:00
Jacob Tobiasz
f49c0a4226
docs #15718 [Documentation] Extend the maintenance date of 1.12 and update future releases (GSadee)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12|
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [Documentation] Extend the maintenance date of 1.12 and update future releases
  [Documentation] Add alabaster to build requirements
2024-01-11 15:41:39 +01:00
Grzegorz Sadowski
86393c6181
[Documentation] Add alabaster to build requirements 2024-01-11 15:38:26 +01:00
Grzegorz Sadowski
5e6c4b922f
[Documentation] Extend the maintenance date of 1.12 and update future releases 2024-01-11 14:58:16 +01:00
Jan Góralski
a4fbc3f6ea
minor #15698 New year 2024! 🥳 (TheMilek)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 <!-- see the comment below -->                  |
| Bug fix?        | no                                                     |
| New feature?    | no                                                      |
| BC breaks?      | no                                                       |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  New year 2024
2024-01-04 15:36:14 +01:00
Kamil Grygierzec
5136c0713d
New year 2024 2024-01-04 14:21:06 +01:00
Jacob Tobiasz
5b8a5f65cb
docs #15687 Fix Typo fixtures.rst (zairigimad)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 or 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no/yes                                                       |
| New feature?    | no/yes                                                       |
| BC breaks?      | no/yes                                                       |
| Deprecations?   | no/yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | fixes #X, partially #Y, mentioned in #Z                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  Fix Typo fixtures.rst
2024-01-02 08:48:52 +01:00
Zairig Imad
fe559b3b24
Fix Typo fixtures.rst 2023-12-29 18:21:34 +01:00
Sylius Bot
1487f5a1c6 [CS][DX] Refactor 2023-12-24 08:38:27 +01:00
Jacob Tobiasz
cb7b6898f6
docs #13777 [Locale] Change language negotiation to RFC 4647 based (gseric)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.11
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

Following this PR: #13708 

Commits
-------
  [Locale] Change language negotiation from simple string comparison to RFC 4647 based
  [Locale] Add some more tests for header languange negotiation
  [Unit] Fix JsonApiTestCase constructor arguments
  [Behat][API] Allow setting no accept-language in header
2023-12-22 15:04:58 +01:00
Jan Goralski
0ceb7db697
[Behat][API] Allow setting no accept-language in header
[Locale] Prepend default channel locale when resolving by header
2023-12-22 13:31:55 +01:00
Jacob Tobiasz
d508915428
docs #15672 Typo cart-flow.rst (zairigimad)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 or 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no/yes                                                       |
| New feature?    | no/yes                                                       |
| BC breaks?      | no/yes                                                       |
| Deprecations?   | no/yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | fixes #X, partially #Y, mentioned in #Z                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  Typo cart-flow.rst
2023-12-22 09:54:03 +01:00
Zairig Imad
02c9b7428b
Typo cart-flow.rst 2023-12-22 09:51:48 +01:00
Jan Goralski
d896de175d
[Unit] Fix JsonApiTestCase constructor arguments 2023-12-22 09:11:03 +01:00
Jan Goralski
e002d791d9
[Locale] Add some more tests for header languange negotiation 2023-12-21 18:17:20 +01:00
gseric
3d5da057b8
[Locale] Change language negotiation from simple string comparison to RFC 4647 based 2023-12-21 18:11:44 +01:00
Jan Góralski
61923954bb
minor #15617 Switch JS session Behat driver to the Symfony Panther (jakubtobiasz)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | reactivated #13796
| License         | MIT


Commits
-------
  Add a support for Symfony Panther in the JS-based Behats
  Fix PHPSpec scenario
  Add support for Panther to CookieSetter service
  Run failing scenarios on Panther with using chromedriver
  Bring back the "chrome_headless_second_session" mink session
2023-12-21 15:21:57 +01:00
Jan Goralski
dc300fb0da [Documentation] Update mailer configuration 2023-12-21 15:14:16 +01:00
arti0090
dbbea4689f PR comment fix 2023-12-21 15:14:16 +01:00
arti0090
e4fdf671de [WIP][DOCS] Add info about mailer to 1.12 2023-12-21 15:14:16 +01:00
Jacob Tobiasz
c9c1ec8291
Bring back the "chrome_headless_second_session" mink session 2023-12-21 14:51:22 +01:00
Jacob Tobiasz
1d48c06ff5
Run failing scenarios on Panther with using chromedriver 2023-12-21 14:23:41 +01:00
Alexis DUMAS
ec9f4f53a1 Update themes.rst 2023-12-21 11:33:07 +01:00
Jan Góralski
da3fc6b4dc
minor #15656 [AUTO] Updated translations from Crowdin (1.12) (SyliusBot)
This PR was merged into the 1.12 branch.

Discussion
----------



Commits
-------
  [Translations] Updated translations from Crowdin
2023-12-20 11:56:56 +01:00
Sylius Bot
ef113ae63b [CS][DX] Refactor 2023-12-20 10:34:03 +01:00
Sylius Bot
92ec93611e [Translations] Updated translations from Crowdin 2023-12-18 04:01:53 +00:00
Jacob Tobiasz
0dc74d8d46
minor #15642 [Admin] Add official support submenu in admin panel (GSadee)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12|
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no|
| Related tickets | replaces #15436 |
| License         | MIT                                                          |

<img width="248" alt="image" src="https://github.com/Sylius/Sylius/assets/6140884/2b58b7c1-7334-4e10-9bba-de393b525f05">

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  Add business support CTA to admin panel
  Add all translations & change label
  [Admin] Change name of official support section in menu and adjust translations
2023-12-15 09:23:17 +01:00
Grzegorz Sadowski
f0fffc53ae
[Admin] Change name of official support section in menu and adjust translations 2023-12-15 08:53:55 +01:00
Nicolas Kroll
2248bcb945
Add all translations & change label 2023-12-15 07:19:30 +01:00
Nicolas Kroll
bc0a168889
Add business support CTA to admin panel 2023-12-15 07:19:22 +01:00
Jacob Tobiasz
f12a530c7f
bugfix #15435 [Checkout] Prevent extra fields when login in on addressing page (Jibbarth)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A   |
|-----------------|-----|
| Branch?         | 1.12 |
| Bug fix?        | yes |
| New feature?    | no |
| BC breaks?      | no |
| Deprecations?   | no |
| Related tickets | fixes #15183 |
| License         | MIT |

Refs video in #15183

When we login in addressing page after submit once the page, the reload process after login resubmit data, and keep sending `form[customer][email]`, that it doesn't be added in form. 

So I unset these data on pre-submit. 
I also change the csrf_error message for something more "understandable".

By this way, we can still have previous submitted data for address fields.

![image](https://github.com/Sylius/Sylius/assets/3168281/e53f0c5a-8fe7-4bd7-81b9-021eb8d819b7)

The other way, suggested by @Wojdylak, is to change this line https://github.com/Sylius/Sylius/blob/1.12/src/Sylius/Bundle/UiBundle/Resources/private/js/sylius-api-login.js#L50 
by 
```
window.location = window.location.href;
``` 

But using it, all already filled data are lost.

WDYT ? Would it be acceptable to lose such data, or should we keep them ? 

Commits
-------
  [Checkout] Prevent extra fields when login in on addressing page
  Update src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php
  Add tests that form doesn't display Extra fields error after login in checkout
  Remove fr translation
2023-12-12 10:54:06 +01:00
Jibé Barth
37ec2ae002
Remove fr translation 2023-12-09 12:07:46 +01:00
Jibé Barth
34a36bc0cc
Add tests that form doesn't display Extra fields error after login in checkout 2023-12-09 12:05:37 +01:00
Jibé Barth
282d035167
Update src/Sylius/Bundle/CoreBundle/Form/Type/Checkout/AddressType.php
Co-authored-by: Victor Vasiloi <victor.vasiloi@gmail.com>
2023-12-09 10:06:15 +01:00
Jan Góralski
1367d004f9
minor #15620 Fix CI (jakubtobiasz)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

In some patch version, Symfony updated the return type for one of the methods to `mixed`. PHPSpec doesn't support this return type, so I had to return `anything` manually.

Commits
-------
  Add missing willReturn method calls to PHPSpecs
2023-12-08 09:29:08 +01:00
Jacob Tobiasz
0caa0a2073
Add missing willReturn method calls to PHPSpecs 2023-12-08 08:49:56 +01:00
Jacob Tobiasz
12c7321f4d
Add support for Panther to CookieSetter service 2023-12-07 18:36:02 +01:00
Jacob Tobiasz
560ce41aee
Fix PHPSpec scenario 2023-12-07 17:51:28 +01:00
Jacob Tobiasz
f7aa75f602
Add a support for Symfony Panther in the JS-based Behats
Co-authored-by: Loic Fremont <lc.fremont@gmail.com>
2023-12-07 17:28:43 +01:00
Jacob Tobiasz
4b0bc53732
minor #15614 [Admin][UI] Fix csrf error breaking admin form (NoResponseMate)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 |
| Bug fix?        | kinda                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no |
| Deprecations?   | no |
| Related tickets | fixes #15606                      |
| License         | MIT                                                          |

![Screenshot 2023-12-07 at 13 09 32](https://github.com/Sylius/Sylius/assets/9448101/aeef1c28-bed4-4fad-a796-87e78946edcc)


Commits
-------
  [Admin][UI] Fix csrf error breaking admin form
2023-12-07 14:26:54 +01:00