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

refactor: remove guzzle dependency #468

Draft
wants to merge 51 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
b61fed1
refactor: get rid of module-lib-service-container
hschoenenberger Nov 4, 2024
4107e05
refactor: remove useless deps
hschoenenberger Nov 4, 2024
708004b
fix: phpstan, php-cs-fixer & feature tests
hschoenenberger Nov 5, 2024
8a6c7e0
fix: phpstan, php-cs-fixer & feature tests
hschoenenberger Nov 5, 2024
fcc505c
fix: phpstan, php-cs-fixer & feature tests
hschoenenberger Nov 5, 2024
f2ad306
fix: phpstan, php-cs-fixer & feature tests
hschoenenberger Nov 5, 2024
4dee0ae
fix: php-cs-fixer
hschoenenberger Nov 5, 2024
a894c77
fix: cleanup
hschoenenberger Nov 5, 2024
1290d3b
refactor: create provider files
hschoenenberger Nov 5, 2024
2396550
refactor: create provider files
hschoenenberger Nov 5, 2024
3bc7f20
chore: empty services files
hschoenenberger Nov 5, 2024
7169c3f
chore: empty services files
hschoenenberger Nov 5, 2024
33259be
chore: empty services files
hschoenenberger Nov 5, 2024
0454058
chore: empty services files
hschoenenberger Nov 6, 2024
65d73df
fix: cherry pick some fixes
hschoenenberger Nov 8, 2024
7ff4888
fix: cherry pick some fixes
hschoenenberger Nov 8, 2024
072e8bf
refactor: wip
hschoenenberger Nov 9, 2024
b96997f
chore: cleanup namespaces
hschoenenberger Nov 9, 2024
f1027c8
Merge remote-tracking branch 'origin/main' into refactor/remove-guzle
hschoenenberger Jan 6, 2025
b08d2f6
feat: alpha proposal
hschoenenberger Jan 7, 2025
a255554
refactor: move exceptions classes & instantiate real response alike o…
hschoenenberger Jan 8, 2025
3696f0a
refactor: move exceptions classes & instantiate real response alike o…
hschoenenberger Jan 8, 2025
afcecc4
refactor: phpstan & php-cs-fixer
hschoenenberger Jan 8, 2025
ca20805
fix: tests
hschoenenberger Jan 8, 2025
6bb0f99
fix: tests
hschoenenberger Jan 8, 2025
c40fc0c
fix: tests
hschoenenberger Jan 8, 2025
0316605
fix: tests
hschoenenberger Jan 8, 2025
2fe6a2b
fix: json post
hschoenenberger Jan 8, 2025
19f7e8f
fix: json post
hschoenenberger Jan 9, 2025
bbcade4
fix: php-cs-fixer
hschoenenberger Jan 9, 2025
23d9fab
fix: json post
hschoenenberger Jan 9, 2025
0d6621a
fix: php-cs-fixer
hschoenenberger Jan 9, 2025
0590894
Merge remote-tracking branch 'origin/main' into fix/refresh-pubkey
hschoenenberger Jan 15, 2025
c041554
fix: phpstan
hschoenenberger Jan 15, 2025
ffe2b7f
fix: phpstan
hschoenenberger Jan 15, 2025
b0b4b09
chore: cleanup commented code
hschoenenberger Jan 15, 2025
5617e2c
fix: default values much match legacy behaviour
hschoenenberger Jan 16, 2025
fa08aef
fix: default values much match legacy behaviour
hschoenenberger Jan 16, 2025
dcb223a
fix: default values much match legacy behaviour
hschoenenberger Jan 16, 2025
d90f077
Merge remote-tracking branch 'origin/main' into refactor/remove-guzzle
hschoenenberger Jan 16, 2025
26cd49a
refactor: userinfo without s
hschoenenberger Jan 16, 2025
6f7408c
Merge branch 'fix/refresh-pubkey' into refactor/remove-guzzle
hschoenenberger Jan 16, 2025
80c2c8e
fix: update header-stamps
hschoenenberger Jan 16, 2025
ae36510
fix: php-cs-fixer
hschoenenberger Jan 16, 2025
47a4844
chore: bump to milestone
hschoenenberger Jan 17, 2025
ba44be1
Merge remote-tracking branch 'origin/main' into refactor/remove-guzzle
hschoenenberger Jan 17, 2025
a04864e
refactor: move responses objects
hschoenenberger Jan 17, 2025
20fa349
refactor: extract AccountLogin domain
hschoenenberger Jan 20, 2025
c91fafd
fix: tests
hschoenenberger Jan 20, 2025
3c79028
fix: tests
hschoenenberger Jan 20, 2025
a4c1a7e
refactor: response type legacy management
hschoenenberger Jan 20, 2025
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
4 changes: 0 additions & 4 deletions .dir-scoped
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
psr
guzzlehttp
league
prestashopcorp/oauth2-prestashop
prestashopcorp/lightweight-container
lcobucci
monolog
ramsey/uuid
ralouphie/getallheaders
phpseclib/phpseclib/phpseclib
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ app.js

### Composer ###
composer.phar
/vendor/
vendor/
node_modules/
.php_cs.cache
.php_cs
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ bundle-preprod: php-scoper config.php.preprod build-front

define build_front
rm -f ./views/js/app.*.js
rm -f ./views/css/app.*.css
yarn --cwd ./_dev --frozen-lockfile
yarn --cwd ./_dev build
endef
Expand Down
2 changes: 1 addition & 1 deletion _dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ps_accounts",
"version": "7.1.0",
"version": "7.2.0",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
12 changes: 2 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,12 @@
"autoload": {
"psr-4": {
"PrestaShop\\Module\\PsAccounts\\": "src/",
"PrestaShop\\Module\\PsAccounts\\Vendor\\GuzzleHttp\\": "vendor/guzzlehttp/guzzle/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\GuzzleHttp\\Promise\\": "vendor/guzzlehttp/promises/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\GuzzleHttp\\Psr7\\": "vendor/guzzlehttp/psr7/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\League\\OAuth2\\Client\\": "vendor/league/oauth2-client/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\Lcobucci\\JWT\\": "vendor/lcobucci/jwt/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\Monolog\\": "vendor/monolog/monolog/src/Monolog",
"PrestaShop\\Module\\PsAccounts\\Vendor\\phpseclib\\": "vendor/phpseclib/phpseclib/phpseclib",
"PrestaShop\\Module\\PsAccounts\\Vendor\\Psr\\Http\\Message\\": "vendor/psr/http-message/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\Psr\\Log\\": "vendor/psr/log/Psr/Log",
"PrestaShop\\Module\\PsAccounts\\Vendor\\Ramsey\\Uuid\\": "vendor/ramsey/uuid/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\PrestaShopCorp\\LightweightContainer\\": "vendor/prestashopcorp/lightweight-container/src",
"PrestaShop\\Module\\PsAccounts\\Vendor\\PrestaShop\\OAuth2\\Client\\": "vendor/prestashopcorp/oauth2-prestashop/src"
"PrestaShop\\Module\\PsAccounts\\Vendor\\PrestaShopCorp\\LightweightContainer\\": "vendor/prestashopcorp/lightweight-container/src"
},
"classmap": [
"ps_accounts.php",
Expand All @@ -49,8 +43,6 @@
"sentry/sentry": "^1.0",
"segmentio/analytics-php": "^1.8",
"ramsey/uuid": "^3.9",
"prestashopcorp/oauth2-prestashop": "^2.0",
"guzzlehttp/guzzle": "^6.0",
"prestashopcorp/lightweight-container": "v0.1.0"
},
"repositories": [
Expand All @@ -60,4 +52,4 @@
}
],
"author": "PrestaShop"
}
}
Loading
Loading