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
Jérémy Munsch
2059e0ef05
Fill data props after save or update on Customer
2021-10-26 12:36:10 +02:00
Jérémy Munsch
d8786e0b43
Force bool cast when reponse is 0 or 1
2021-10-26 10:30:17 +02:00
Jérémy Munsch
d1dce43e77
add some comment on customer
2021-10-26 10:06:49 +02:00
Jérémy Munsch
fa22cdf03b
bump version to 2.2.2 and update changelog
2021-10-21 17:24:02 +02:00
Jérémy Munsch
c5249d37a1
Fix mail arcadia V2
2021-10-21 17:11:22 +02:00
Jérémy Munsch
1ba2aaadf8
changed version in composer.json
2021-10-20 17:09:13 +02:00
Jérémy Munsch
e08367ae7f
update client
2021-10-20 15:28:36 +02:00
Jérémy Munsch
7b17ce565e
update changelog
2021-10-20 15:24:17 +02:00
Jérémy Munsch
e345383a40
Update enum country
2021-10-20 15:24:08 +02:00
Jérémy Munsch
dfcdb166fe
Customer update validation fields, update readme
2021-10-20 10:57:45 +02:00
Jérémy Munsch
79bcf49f0b
Correct fill methods on models to handle all enums + arrays
2021-10-18 16:05:03 +02:00
Jérémy Munsch
c9572314aa
Changed Arcadia mails, add customer parameters for these calls
2021-10-18 09:02:31 +02:00
Jérémy Munsch
1975edaa6c
Utils.php fix getResquest method
2021-10-18 09:01:05 +02:00
Jérémy Munsch
93950cd75e
Utils::makeValidator fix typo min rule
2021-10-15 12:10:07 +02:00
Jérémy Munsch
639e6eaceb
bump to 2.1.9
2021-10-14 11:49:05 +02:00
Jérémy Munsch
103b8bb590
fix fill method on CrmClient Model
2021-10-14 11:46:11 +02:00
Jérémy Munsch
b4982ab41b
client:generate
2021-09-21 12:16:17 +02:00
Jérémy Munsch
4fb4a02710
ApiInterface fix replace needAuth by apiAuthFailed
2021-09-21 12:05:39 +02:00
Jérémy Munsch
0fa8c8d691
Generate Doc
2021-09-14 14:23:31 +02:00
Jérémy Munsch
60da6e6dcb
Add some comment on Utils
2021-09-14 14:23:18 +02:00
Jérémy Munsch
8136ac38bd
Add Utils::log with enum LogLevel (prefix logs)
2021-09-14 13:44:03 +02:00
Jérémy Munsch
9aa309f57b
bump version to 2.1.7
2021-09-14 11:19:03 +02:00
Jérémy Munsch
4f3b9df0db
Generate client: maj de ApiError messages
2021-09-14 11:18:32 +02:00
Jérémy Munsch
823228aa54
bump to 2.1.6
2021-09-07 15:35:03 +02:00
Jérémy Munsch
2d0866ad74
fix client containSymbol validate not accepting underscores
2021-09-07 14:41:16 +02:00