Commit graph

127 commits

Author SHA1 Message Date
Vincent BRIDIER
073725a56f Merge branch 'segmentation_optins' into 'develop'
chore: 🔖 release v4.1.0

See merge request ldc-web/projets/crm-client!8
2025-07-25 12:43:50 +00:00
Alexis Gousseau
03b18a083f
chore: 🔖 release v4.1.0 2025-07-25 10:16:49 +02:00
Alexis Gousseau
833d024d99
feat: ✨ add optionnal answer id parameter when set new single optin 2025-07-25 10:16:40 +02:00
noah.lancien
1cb88fce19 Merge branch 'fix-customer-activation' into 'develop'
fix: remove toggle optin in customer activation

See merge request ldc-web/projets/crm-client!7
2025-02-27 09:20:31 +00:00
Noah Lancien
392c3d77f2 fix: remove toggle optin in customer activation 2025-02-26 17:02:25 +01:00
Noah Lancien
b02282e8a0 fix: save customer optin after it changes in WPCrm 2024-10-22 11:10:07 +02:00
Vincent BRIDIER
d43da6d6a9
fix: LogLevel Enum type 2024-10-18 14:52:25 +02:00
Vincent BRIDIER
29a93b1f92
feat: Clean bump to 4.0.6 2024-10-15 14:22:42 +02:00
Vincent BRIDIER
f7e9ab78a2
fix: Remvove Laravel deps call + add PHP>8.1 compliance 2024-10-15 14:16:43 +02:00
Vincent BRIDIER
d7c4018d01 Merge branch 'v4.0.4' into 'develop'
chore: ⬆️ bump to v4.0.4

See merge request ldc-web/projets/crm-client!6
2024-10-14 14:21:55 +00:00
Alexis Gousseau
99212285a4 chore: ⬆️ bump to v4.0.4 2024-10-14 16:20:32 +02:00
Vincent BRIDIER
10bd5ebb85 Merge branch 'v4.0.3' into 'develop'
chore: ⬆️ bump to v4.0.3

See merge request ldc-web/projets/crm-client!5
2024-10-14 12:41:33 +00:00
Alexis Gousseau
b0eb36daed chore: ⬆️ bump to v4.0.3 2024-10-10 14:49:13 +02:00
Vincent BRIDIER
a4f962c9a7 Merge branch 'v4.0.2' into 'develop'
chore: ⬆️ bump to v4.0.2

See merge request ldc-web/projets/crm-client!4
2024-09-11 15:06:26 +00:00
Alexis Gousseau
f11701ad4e chore: ⬆️ bump to v4.0.2 2024-09-11 16:37:41 +02:00
Vincent BRIDIER
8cb649bb5e Merge branch 'v4.0.1' into 'develop'
fix: 🏷️ add Netherlands to the valid countries

See merge request ldc-web/projets/crm-client!3
2024-09-09 13:25:14 +00:00
Alexis Gousseau
72c1c4283f chore: ⬆️ bump to v4.0.1 2024-09-09 15:23:00 +02:00
Alexis Gousseau
23d86024ef fix: 🏷️ add Netherlands to the valid countries 2024-09-09 15:21:41 +02:00
Jérémy Munsch
0f95357f46
Merge branch 'v4' into develop 2023-10-06 16:16:16 +02:00
Jérémy Munsch
9c3b85cc4a
Add test V2 2023-10-05 13:16:07 +02:00
Jérémy Munsch
d09c6052a2
coverage ok 2023-10-05 12:48:51 +02:00
Jérémy Munsch
23fdfca0be
Tests OK 2023-10-05 12:16:43 +02:00
Alexis Gousseau
937a9627a7 WIP: oui 2023-09-15 15:14:26 +02:00
Alexis Gousseau
1f42c1a4d8 client v4 2023-09-11 16:19:10 +02:00
Vincent BRIDIER
58f5c1508b Merge branch 'single-remove-singleoptin' into 'develop'
SingleOptin add unsetStatusWithHashcode method

See merge request ldc-web/projets/crm-client!1
2023-07-05 15:10:34 +00:00
Jérémy Munsch
b15e9bcb59
SingleOptin add unsetStatusWithHashcode method 2023-06-28 15:13:35 +02:00
Jérémy Munsch
9b53a6aae2
- client generate
- update changelog
- bumped to version 3.0.5
2022-08-24 12:05:32 +02:00
Vincent BRIDIER
8b824bbba0
Add CI 2022-08-24 10:01:19 +02:00
Jérémy Munsch
a52712126c
Bumper composer deps 2022-06-09 11:21:42 +02:00
Jérémy Munsch
1f6a450cfc
bump version change changelog 2022-06-09 11:20:42 +02:00
Jérémy Munsch
2ecd428168
client generate 2022-06-09 11:14:02 +02:00
Jérémy Munsch
c66f00cc33
Response.php : validate json check should check if really false 2022-03-30 16:50:26 +02:00
Jérémy Munsch
bd64c79d5a
Request.php : Fix request merge method of data to query 2022-03-30 12:16:31 +02:00
Jérémy Munsch
d7b7c15f83
- update comments to be user friendly
- update changelog
- regen documentation
2022-02-23 11:33:20 +01:00
Jérémy Munsch
01be799d20
Fixed: Customer do not call update if there are no updated fields 2022-02-11 15:18:19 +01:00
Jérémy Munsch
7e6efc7d4e
Fixed : WPCrm bootSessionIfNeeded trying to access $_SESSION['wpcrm'] before session was started 2022-02-11 13:08:34 +01:00
Jérémy Munsch
3ac734dbae
Fixed WPCrm now only returns a boolean 2022-02-10 17:18:30 +01:00
Jérémy Munsch
5456ffc73c
update changelog 2022-02-10 16:47:15 +01:00
Jérémy Munsch
2621f1be94
phpdocumentor regenerate 2022-02-10 16:44:12 +01:00
Jérémy Munsch
61aeca5e31
WPCrm readd forceLogin() 2022-02-10 16:43:58 +01:00
Jérémy Munsch
647ac8acb5
WpCrm::makeApiV2Call Change LogLevel on error from Emerge to Critical 2022-02-10 12:32:15 +01:00
Jérémy Munsch
03501c156e
- Fixed get crm info when client used in laravel 2022-02-10 09:42:55 +01:00
f36447854b
API V3 UPDATE
This removes api authentication with token in favor of signature method.
Refactored code and clean up. It add more unit test plus code coverage
in test/coverage.

- Added   : mardown documentation.
- Changed : model Stats::getQuestionStats  to pass question as route parameter
- Changed : now requests need to have a signature generated with a private key (crm password) using hmac sha256 wrapping url, method and parameters
- Changed : now timestamp will timeout if request is slower than "timestampTimeout", this means crm will reject the request
- Changed : throw ValidationException s instead of TypeErrors
- Changed : timestamp has to be send in request with a DateTime format, it also has to a UTC value
- Fixed   : Change WPCRM dynamic session key, this could prevent spoofing session in some cases.
- Fixed   : closure validation
- Fixed   : model mutator not catching reflectionException
- Fixed   : really send json request using Guzzle internal lib methods.
- Removed : Api AUTH system with api token
- Removed : ApiError::needAuth
- Removed : composer vlucas/dotenv, .env file is not handled any more.
- Removed : LoginException
- Removed : memcached dependency
- Removed : need of memcached
- Removed : unused service provider
- Removed : WpCrm::forceLogin
- Removed : WpCrm::sendArcadiaMailDefault
- Removed : WpCrm::sendArcadiaMailGame
- Updated : PHPCS rules, phpcs fixes and refactored code
2021-12-31 17:00:55 +01:00
94db0de47b
phpcs pass 2021-12-06 00:16:13 +01:00
a004852c3c
Fix auth loop 2021-12-06 00:07:26 +01:00
Jérémy Munsch
796bc1a814
Hotfix arcadia orders 2021-11-30 16:10:00 +01:00
Jérémy Munsch
21c035de25
update changelog 2021-11-30 15:21:46 +01:00
Jérémy Munsch
3889be79aa
Hotfix for LG unconsistant data (skip validation, respect sometimes validation) 2021-11-30 15:14:46 +01:00
Jérémy Munsch
9a3f1188b4
Add Stats model with api call
Bump to version 2.3.0
update changelog
2021-11-05 15:09:24 +01:00
Jérémy Munsch
390033d3da
generate version and update changelog
bump to 2.2.3
2021-10-26 12:50:09 +02:00