Commit graph

113 commits

Author SHA1 Message Date
Kamil Kokot
5f3d5a8273 Remove AdminApiBundle from default Sylius installation 2021-04-16 15:07:46 +01:00
Peter Turek
0b2594590e fixed find files in yaml standards 2021-03-30 22:59:30 +02:00
SirDomin
2b0d76d73d
[API] move security parameters to bundles 2021-01-25 12:40:55 +01:00
Kamil Kokot
07ff6930a8
refactor #12148 Support for Symfony 5 (pamil)
This PR was merged into the 1.9-dev branch.

Discussion
----------

Based on #12084.

Commits
-------

3384d30d04 Allow for Symfony ^4.4 || ^5.2
6b9a46e114 Include Symfony ^5.2 in the matrix
3077b3da77 Remove usage of removed Event class
31a10b04fd [User] Requrie symfony/security-core instead of symfony/security
326d38f9e0 Fix bugs reported by Psalm
333c4e278c [CI] Restrict Symfony version correctly
db4d4f8004 [AddressingBundle] Fix compatibility with Symfony 5
e35a3a0163 [ChannelBundle] Fix compatibility with Symfony 5
2655e7f2d0 [OrderBundle] Partially fix compatibility with Symfony 5
447e865027 [CI] Mark Symfony ^5.2 builds as experimental
15696e3e04 Allow for gedmo/doctrine-extensions ^3.0
ec688e7b41 Make installable with Symfony ^5.2
8d5b9c7dd0 Require symfony/string:^5.2, it's used by StringInflector
0c2cb8e3d1 Require sylius-labs/association-hydrator:^1.1.3
14869ea0eb [Psalm] Do not fail on invalid docblock in \Doctrine\ORM\EntityRepository::__construct
bcf9be87dd [Psalm] Ignore missing Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
11303b6489 Use tweaked DoctrineStorage for Payum that accepts new Doctrine Persistence API
81178e9a56 Use sylius-labs/polyfill-symfony-security to account for removed AdvancedUserInterface
8144de2da8 [Psalm] Improve configuration
f0df509e23 Remove use of deprecated method Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent::getException
a419508ef4 [Psalm] Improve configuration
25b38747be Use sylius-labs/polyfill-symfony-framework-bundle to account for removed ContainerAwareCommand
e6170fe53a [Psalm] Fix configuration for Symfony ^4.4 deprecations
a36c90e06a Remove unnecessary Twig routes in dev environment
aa1d930bfa Rename "message_bus" service to "messenger.default_bus" to comply with Symfony 5.2
11d9f9aba4 Make commands' execute() always return int
0714e77abd Fix packages builds by requiring SyliusLabs polyfill libraries
d683ad6d78 [ApiBundle] Fix event dispatcher usage
1033ef35e9 [ApiBundle] Fix ViewEvent mocking in specs
18a474801f [Core] Require symfony/mime explicitly
468d71fd42 [UiBundle] Replace templating with Twig in specs
5cfc2b6eec [ShopBundle] Fix event dispatcher usage
3187650971 [CoreBundle] Fix InteractiveLoginEvent mocks
0c28301ef8 [UserBundle] Fix InteractiveLoginEvent mocks
2d65663328 Remove unnecessary "sylius.translator.listener" service
c9ffd51994 [CoreBundle] Fix mocks of ExceptionEvent in tests
bd41054e18 [CoreBundle] Prevent from polluting the filesystem with test application cache and logs
75f070fc38 [CoreBundle] Ignore PHPUnit result cache in Git
16e99feb06 [CoreBundle] Fix payment method fixture configuration test
a74f084862 Require sylius/theme-bundle ^2.1.1 which supports Symfony 5
a32efb3af0 Do not pass int form keys, cast them to string instead
beb414255c Fix all the rest of event dispatcher calls
ca218e6886 Account for plain password being null in Symfony 5
ac2d41aa68 Fix ZoneType choice_filter
c03b3f6180 Do not use integer keys in forms - ChangePaymentMethodType
f5f9284c10 Make index.php compatible with Symfony 5
cf2b90e0b7 Fix products edit page by not rendering the same field twice
c18f11efac Fix inifite loop caused by form widget theme block rendering itself
e9e191bb4e Fix redirects using Symfony's RedirectController
9a6e0d414a [PayumBundle] Fix application crash while capturing payments
eb40b5a679 [ApiBundle] Fix the issue with too few arguments passed to has* methods
fdb07fa1ad [Behat] Fix theme-related tests
a91875c277 [CI] Remove marking Symfony 5.2 builds as experimental
9f2063695c [PayumBundle] Remove commented out code from PayumExtension
e6ae947429 Delete debugging code
2021-01-21 15:13:17 +01:00
Kamil Kokot
fdb07fa1ad [Behat] Fix theme-related tests 2021-01-21 12:27:03 +01:00
SirDomin
078cac2edc
[Spec] added new test to work with long api routes 2021-01-21 12:21:38 +01:00
SirDomin
746eede919
[Doc] UPGRADE file updated 2021-01-21 12:21:38 +01:00
SirDomin
4d03e0d3e6
[API] change new-api to api 2021-01-21 12:21:37 +01:00
Kamil Kokot
a36c90e06a Remove unnecessary Twig routes in dev environment 2021-01-21 12:00:10 +01:00
Kamil Kokot
81178e9a56 Use sylius-labs/polyfill-symfony-security to account for removed AdvancedUserInterface 2021-01-21 12:00:09 +01:00
Kamil Kokot
36e036b7d7
Allow for DoctrineBundle ^2.0 and remove DoctrineCacheBundle 2021-01-11 18:14:10 +01:00
Kamil Kokot
cd452a4bcb
Upgrade to sylius/theme-bundle ^2.1 and remove Twig templating 2021-01-11 18:14:09 +01:00
Kamil Kokot
3e0e14003c
Upgrade ResourceBundle and GridBundle 2021-01-11 18:14:04 +01:00
Mateusz Zalewski
d0bd9cceb0
Merge branch '1.8' into master
* 1.8:
  Change route prefixes in security.yaml
2020-12-04 10:28:28 +01:00
Mateusz Zalewski
8e263cc2a1
minor #12055 Change route prefixes in security.yaml (jacquesbh)
This PR was merged into the 1.8 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.8
| Bug fix?        | no, not really
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
| License         | MIT

Since we had the same change in the `access_control`, I've done it in the firewalls as well.

😘

_I'm not sure about the UPGRADE-1.8.md actually. Changing the version number is maybe not the best thing to do._

Commits
-------

338b2a10e1 Change route prefixes in security.yaml
2020-12-04 10:27:25 +01:00
Mateusz Zalewski
e1247eddc3
Merge branch '1.8' into master
* 1.8:
  Use sha512 to encode passwords in test environments
2020-11-30 08:36:53 +01:00
Kamil Kokot
ef48101beb
Use sha512 to encode passwords in test environments 2020-11-26 16:01:22 +01:00
Jacques Bodin-Hullin
338b2a10e1
Change route prefixes in security.yaml 2020-11-18 16:02:59 +01:00
Łukasz Chruściel
1714859934
Merge branch '1.8'
* 1.8:
  [UPGRADE] Update versions
  Update UPGRADE-1.8.md
  Update UPGRADE-1.8.md
  Update upgrade guide
  Fix order
  Use proper parameters in access control patterns
2020-11-10 17:39:42 +01:00
Adam Kasperczak
787d7e4422 [Api][Address] Add missing behats scenario 2020-10-30 10:53:47 +01:00
Adam Kasperczak
977e0732ed [API][AddressBook] protect addressbook with new firewall 2020-10-30 10:49:11 +01:00
Joachim Løvgaard
3f75a171f3
Fix order 2020-10-06 17:27:25 +02:00
Joachim Løvgaard
d2b4a308b8
Use proper parameters in access control patterns 2020-10-06 17:27:25 +02:00
Mateusz Zalewski
1ca12a3e9f
Merge branch '1.8' into master
* 1.8:
  [API] Separate providers for shop and admin users
  Add migrations_path by merging them with the application one
2020-10-02 13:04:39 +02:00
Grzegorz Sadowski
c5a9db85e9
[API] Separate providers for shop and admin users 2020-10-02 10:52:11 +02:00
Łukasz Chruściel
2fced1ddda
Merge branch '1.8'
* 1.8:
  minors fixes and improvments
  Fix subresources and fix behats
  [API] refactor order related endpoints
  [API] refactor product related endpoints
  Added: Behat test for taxon creation with parent specified
  Fixed: Parent taxon selection on taxon creation (fixes #11777)
  [API] Hide product review in product create endpoint
2020-09-09 13:52:12 +02:00
Adam Kasperczak
588e075110 [API] refactor product related endpoints 2020-09-09 11:13:02 +02:00
Łukasz Chruściel
d7c700ac2a
feature #11805 Redirect /.well-known/change-password to the right page (jacquesbh)
This PR was merged into the 1.8-dev branch.

Discussion
----------

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

It's good to have this redirect and I think since it's possible to have it… then why not?

See https://web.dev/change-password-url/ for more details.

The goal is pretty simple here. We like safety at @MonsieurBiz :).

😗



Commits
-------

35556aa9f8 Redirect /.well-known/change-password to the right page
2020-09-09 10:42:33 +02:00
Łukasz Chruściel
6e2304231b
[Maintenance] Update composer, bundles and symfony lock 2020-09-04 14:29:26 +02:00
Jacques Bodin-Hullin
35556aa9f8
Redirect /.well-known/change-password to the right page 2020-09-03 22:59:51 +02:00
Adam Kasperczak
81bebecc35 [Api][Administrator] refactor endpoints for admin and admin avatar 2020-08-31 17:57:47 +02:00
Kamil Kokot
66ef7dd15b
Allow injecting container to the migrations & implement a topology-based sorter 2020-08-24 11:55:32 +01:00
Jacques Bodin-Hullin
ae6cd14820
Use env(SYLIUS_ADMIN_ROUTING_PATH_NAME) as admin's route name 2020-07-20 20:16:04 +02:00
Kamil Kokot
1df073cb29
Merge branch '1.7'
* 1.7:
  Travis Bionic + Chrome Headless + PHP 7.4 support
2020-05-26 20:50:36 +02:00
Kamil Kokot
58b043756b
Travis Bionic + Chrome Headless + PHP 7.4 support 2020-05-26 20:20:04 +02:00
Kamil Kokot
e03a4e9e0f
Update config/packages/security.yaml
Co-authored-by: Łukasz Chruściel <lchrusciel@gmail.com>
2020-05-14 10:17:09 +02:00
Tomanhez
be06c355d8 Add exception to shop firewall regexp 2020-05-11 10:36:17 +02:00
Łukasz Chruściel
25e93dc1b3
Revert "[Backend] Feeding sales statistics graph with date from chosen period" 2020-05-08 12:39:41 +02:00
Łukasz Chruściel
760a4b469d
refactor #11401 [Backend] Feeding sales statistics graph with date from chosen period (AdamKasp)
This PR was merged into the 1.8-dev branch.

Discussion
----------

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

<!--
 - Bug fixes must be submitted against the 1.6 or 1.7 branches (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set
-->


Commits
-------

0c5c9988f3 First iteration over tests statistics
c67677306a upgrade statistics provider
b526ef85f1 Improve alice fixtures and fix tests
092c6f9594 replace sql with DQL in statistic provider
d2afea71bc Add Interval Converter
2020-05-07 12:58:22 +02:00
Adam Kasperczak
092c6f9594 replace sql with DQL in statistic provider 2020-05-06 14:40:07 +02:00
Grzegorz Sadowski
9909bc928c
[API] Configure separate endpoints for admin and shop retrieving authentication token 2020-04-29 14:53:59 +02:00
Łukasz Chruściel
55b486a1ca
[API] Unified admin and shop paths 2020-04-29 14:53:58 +02:00
Mateusz Zalewski
2ef66bcacb
Remove custom endpoint and allow to access a generic one for shop 2020-04-27 15:12:36 +02:00
Grzegorz Sadowski
501c2abcb3
Move messenger config to bundles 2020-04-16 11:16:12 +02:00
Kamil Kokot
e5f7fc3e28
[API] Registering shop users 2020-04-15 17:07:57 +02:00
Grzegorz Sadowski
0732d96305
[API][Shop] Add customer login 2020-03-30 14:46:28 +02:00
Grzegorz Sadowski
1c8e9743ed
[API] Add prefix to all admin routes 2020-03-27 15:12:27 +01:00
Grzegorz Sadowski
73459e78da
[API] Move serializer configuration to ApiBundle 2020-03-25 12:02:45 +01:00
Grzegorz Sadowski
350ca3d3aa
[API] Move API Platform configuration to ApiBundle 2020-03-23 16:02:11 +01:00
Łukasz Chruściel
8e46a6062c
[API] Protect shipping method from removal when in use 2020-03-20 09:09:37 +01:00