Doc and CS fixes; |
|
More...
|
almost 7 years ago
|
Made Script::append() be able to declare "nothing" params with numeric array keys; Tweaked autoloader error message in roscon.php for clarity; Updated docs packaging related files. |
|
More...
|
over 7 years ago
|
Made Script::escapeString() not encode bytes above 0x7F, in turn allowing for script's parameter string values to be influenced by charset settings; Added a $full parameter to Script::escapeString() that encodes all bytes (binary mode, basically); Made Script::append() escape stream values in full, meaning that script stream values are NOT influenced by charset settings; Util::fileGetContents() properly strips out the success token from the result when in streaming mode (by copying the stream to a new stream); Util::count() now has a second argument passed as the request's "from" argument; Streamlined Util::exec() result collection creation; Doc and CS fixes. |
|
More...
|
over 7 years ago
|
Added some more tests with mocks for otherwise untestable conditions. |
|
More...
|
over 7 years ago
|
Fixed sending of charset converted streams; Regenerated Doxygen settings from the latest release; Doc and CS fixes (notably: Short descriptions of properties instead of "var" descriptions). |
|
More...
|
over 7 years ago
|
Client::sendAsync() no longer throws an exception if a request is canceled multiple times by the returned value of a callback; Fixed Util::count() example; Fixed Communicator::decodeLength() and Communicator::_decodeLength() docs to include "double". |
|
More...
|
over 7 years ago
|
Reverted the script source getting addition, and in fact completely removed the concept altogether. File contents is fetched from the output of executing ":error" (which produces a !trap reply with the message in it), and this same mechanism can be used for getting output of scripts in general; |
|
More...
|
over 7 years ago
|
Made the rest of the CRUD Util methods throw RouterErrorException exceptions, each with its own code. |
|
More...
|
over 7 years ago
|
Created RouterErrorException and made it be thrown by various Util methods (more to come); Tweaked root menu storage (setMenu() and getMenu() more specifically), so that it allows Util::newRequest() from it properly; Fixed Script::parseValueToArray() exception code; Many other changes (see RELEASE-1.0.0b6 diff). |
|
More...
|
over 7 years ago
|
Added ParserException, used in Script for parser errors on complex values; Doc fix at Util::getAll(). |
|
More...
|
almost 8 years ago
|
Made Util::setMenu() work for any relative paths that resolve to the root menu; Added tests for that and for ResponseCollection::\_invoke() without arguments. |
|
More...
|
almost 8 years ago
|
Made Util::move()'s $destination optional, defaulting to NULL, upon which no destination is set at the API call; Script::parseValueToObject() is replaced with Script::parseValueToDateTime() and Script::parseValueToDateInterval(), the first of which can accept a timezone to set DateTime values to (only if there's a time component; otherwise UTC, which is also the default for values with times). |
|
More...
|
almost 8 years ago
|
Moved most of Script::parseValue() into the new Script::parseValueSimple(), parseValueArray() and Script::parseValueObject() methods. |
|
More...
|
over 8 years ago
|
Util's escapeValue(), escapeString(), parseValue(), prepareScript() and appendScript() methods are now in their own new class called "Script", with the last two now being called just prepare() and append(). |
|
More...
|
over 8 years ago
|
Added Request::verify() and Query::verify(), which the Client runs before sending the request (fixes #8); In relation to the above, Communicator::verifyLengthSupport() is now public; Unmarked the 3 byte length test, as it seems to work now for some reason (still not the 4 byte length one though); Fixed a ResponseCollection::orderBy() test. |
|
More...
|
over 8 years ago
|
Doc and CS fixes (suggested by Scrutinizer-CI). |
|
More...
|
over 8 years ago
|
Modified Util::escapeValue()'s DateTime behavior. |
|
More...
|
over 8 years ago
|
Fixed Util::getCurrentTime() and Util::find() to work even when the underlying Client is streaming responses, and added tests for that; Switched the date parsing in Util::parseValue() to use "new DateTime" instead of "DateTime::createFromFormat()" for the purpose of easier validation checking (an exception being thrown...). |
|
More...
|
over 8 years ago
|
Made Util::getCurrentTime() attempt DateTimeZone creation with whatever the timezone is, and fallback to GMT offset only on failure; Changed Util::parseValue() to recognize not just dates, but also "datetime"s. |
|
More...
|
over 8 years ago
|
Changed Util::edit() to be its own method for modifying a single property; Added "count-only" as a prohibited argument at Util::getAll(), and made the thrown NotSupportedException have the prohibited value in it. |
|
More...
|
over 8 years ago
|
Added Util::getCurrentTime(); Added pseudo "date" support to Util::parseValue(); Enabled Util::setMenu() to go back to root. |
|
More...
|
over 8 years ago
|
Added letter time notation support to Util::parseValue(); Added a preliminary changelog; Altered the Packer template to support newer RouterOS versions; Moved some Communicator tests into a new test folder. |
|
More...
|
over 8 years ago
|
Pimped the README.md; Adjusted the roscon.bat to return 255 on failure, and the PHP status code otherwise; Fixed the suggested command in the console's connection error message (needed to include protocol); Updated wiki; Added a trailing newline to XML and YAML files, as suggested by SensioLabsInsight. |
|
More...
|
almost 9 years ago
|
Added a check for PEAR2_Console_CommandLine in roscon.php; Added a test for the NotSupporedException from Util::getAll(); CS fixes. |
|
More...
|
almost 9 years ago
|
Made Util::getAll() prohibit "follow" and "follow-only" as arguments, and throw NotSupportedException if provided; Added serial port to Qemu VM; Fixed ApiGen's config file to work with the latest version. |
|
More...
|
almost 9 years ago
|
Added Sami configuration file and .gitattributes that makes Composer ignore non-essentials when preferring distribution; All documentation generators now generate files in "Reference/{{generator}}/Doc". |
|
More...
|
almost 9 years ago
|
Added a Qemu Packer builder, and adjusted Travis-CI to use it (though Travis-CI is still disabled, due to networking issues with Qemu that are to be solved). |
|
More...
|
almost 9 years ago
|
Set up Packer and Travis build. |
|
More...
|
almost 9 years ago
|
Added Util::newRequest(), with a test for it; CS fix in Response. |
|
More...
|
almost 9 years ago
|
Removed deprecated "strict" option from phpunit.xml; Fixed testSendAsyncWithCallbackAndCancelWithin(), which should allow for additional data replies, as long as it ends with an error reply, followed by a final reply. |
|
More...
|
about 9 years ago
|