Commit graph

13 commits

Author SHA1 Message Date
Corentin Huet
30830596b1 fix: 🏷️ add Germany to the valid countries 2026-04-09 11:17:23 +02:00
Alexis Gousseau
b0eb36daed chore: ⬆️ bump to v4.0.3 2024-10-10 14:49:13 +02:00
Alexis Gousseau
23d86024ef fix: 🏷️ add Netherlands to the valid countries 2024-09-09 15:21:41 +02:00
Jérémy Munsch
9c3b85cc4a
Add test V2 2023-10-05 13:16:07 +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
Jérémy Munsch
2ecd428168
client generate 2022-06-09 11:14:02 +02: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
Jérémy Munsch
e345383a40
Update enum country 2021-10-20 15:24:08 +02:00
Jérémy Munsch
aeb2bda619 Fix enums
bump to 2.0.8
2021-08-13 12:35:35 +02:00
Jérémy Munsch
546c64f027 bump kwaadpepper/enum to V2 2021-08-13 12:24:34 +02:00
Jérémy Munsch
6e04439a0b V2 Working client with some documentation 2021-08-09 09:18:46 +02:00