Releases: Exe-Squared/Vtiger
Changed the delete method from Get to Delete
The delete method was sending via a GET request when it should really of been sending via a POST request
Add new function for Vtiger Lookup API
This function uses the Vtiger Lookup API endpoint to search for a single piece of information within multiple columns of a Vtiger module. This function is often multitudes faster than the search function.
Add the ability to use the query builder limit function
Added the code to allow the limit function to work when building up a query for the search function.
Spelling Corrections
Spelling & grammar corrections in the readme.
Use Laravel Cache driver in place of file and Redis code
Which cache driver to use is now set via the Laravel cache driver setting.
More error handling and code cleanup
- Added new array to hold the differenent types of errors
- Altered the errors class to use this and did general code cleanup and made sure only the VtigerError is being produced
More response fixes
Due to the fact that some time the response is in the body and some times it is in the request we have added some functionality to check for the contents first and if not set then use the body.
We have also fixed the close function as that was trying to do a GET request rather then a POST request.
Fixed for response being null
So turns out that doing $response->getBody()->getContents() is a bad idea as getContents() can end up returning null.
Fix response set to null problem
To fix a case in the login and get token functions where the original response is getting set to null after running $response->getBody()->getContents() we have taken a separate copy of the response before processing it.
More code cleanup and put loops back in
Some more code cleanup for wrongly named variables and variables not formatted in camel case.
Put the loops back in around the login and get token request as it has been found that on certain VTiger API's this loop is needed. As part of this your config file needs "max_retries' => 10" added to it, also an error check has been added that will throw and error if the max retires is reached with no response.