3
I Use This!
Inactive

Commits : Listings

Analyzed 43 minutes ago. based on code collected about 10 hours ago.
May 05, 2023 — May 05, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Doc and CS fixes;
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
More... over 7 years ago
Added some more tests with mocks for otherwise untestable conditions.
boenrobot
as Vasil Rangelov
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).
boenrobot
as Vasil Rangelov
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".
boenrobot
as Vasil Rangelov
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;
boenrobot
as Vasil Rangelov
More... over 7 years ago
Made the rest of the CRUD Util methods throw RouterErrorException exceptions, each with its own code.
boenrobot
as Vasil Rangelov
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).
boenrobot
as Vasil Rangelov
More... over 7 years ago
Added ParserException, used in Script for parser errors on complex values; Doc fix at Util::getAll().
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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).
boenrobot
as Vasil Rangelov
More... almost 8 years ago
Moved most of Script::parseValue() into the new Script::parseValueSimple(), parseValueArray() and Script::parseValueObject() methods.
boenrobot
as Vasil Rangelov
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().
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
More... over 8 years ago
Doc and CS fixes (suggested by Scrutinizer-CI).
boenrobot
as Vasil Rangelov
More... over 8 years ago
Modified Util::escapeValue()'s DateTime behavior.
boenrobot
as Vasil Rangelov
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...).
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
More... over 8 years ago
Added Util::getCurrentTime(); Added pseudo "date" support to Util::parseValue(); Enabled Util::setMenu() to go back to root.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
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".
boenrobot
as Vasil Rangelov
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).
boenrobot
as Vasil Rangelov
More... almost 9 years ago
Set up Packer and Travis build.
boenrobot
as Vasil Rangelov
More... almost 9 years ago
Added Util::newRequest(), with a test for it; CS fix in Response.
boenrobot
as Vasil Rangelov
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.
boenrobot
as Vasil Rangelov
More... about 9 years ago