summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2023-07-19Revert "test: trying to push with failing tests": test failed successfullyUrban Müller1-2/+0
This reverts commit ae5d8cebdd82e2d1e9d3d0b40e711ba50096f622.
2023-07-19test: trying to push with failing testsUrban Müller1-0/+2
2023-07-19Adapt test to new behaviour of always removing {}, even without valuesChristian Schneider1-2/+2
2023-07-19Make test work when called from runtests which changes cwdChristian Schneider1-1/+1
2023-07-18more concise arg mergingUrban Müller1-5/+6
2023-07-18support varags in it::pipe like in it::execUrban Müller1-0/+1
2023-07-18test existing it_pipe frontend behaviourUrban Müller1-0/+6
2023-06-22remove test for it::exec() with unquoted argChristian A. Weber1-1/+0
2023-03-09Change test to check with undefined variableChristian Schneider1-1/+1
2023-03-09Also add test for values from GLOBALS, also makes test resistant against ↵Christian Schneider1-0/+3
global variable from e.g. auto_prepend.php
2023-02-28adapt escaping of ints and floats to better handle booleans and strings as inputNathan Gass1-4/+7
2023-02-28Revert "special handling of boolean columns (accept false as value without ↵Nathan Gass1-8/+8
warning)" This reverts commit efeb9c4a97668672f8aaa263e4937461f0b1b725.
2023-02-28add tests that old values still work as expectedNathan Gass1-0/+6
2023-02-28special handling of boolean columns (accept false as value without warning)Nathan Gass1-8/+8
2023-02-27make sure the output before the sleep is actually sendNathan Gass1-1/+2
2023-02-27add some small output before sleep to make sure it_url does not return ↵Nathan Gass1-0/+1
partial downloads
2023-02-24catch some moreUrban Müller1-2/+2
2023-02-24Add test if preg_quote is sufficient for special chars in patternChristian Schneider1-0/+6
2023-02-20only look at first two elements for description of short- and longoption so ↵David Flatz1-0/+3
that later occurrences of - after comma don't overwrite them
2023-01-30Make it_dbi base object iterable, simplify code, add testsChristian Schneider1-0/+8
2023-01-19add urbans testsNathan Gass1-0/+5
2023-01-19some tests to make sure we don't have any wrong conversions from int to floatNathan Gass1-6/+18
2023-01-11Normalize double sign --/+-/-+/++ calculations in it::date for PHP 8.2 and ↵Christian Schneider1-1/+13
add tests for it
2022-12-12Add and use it::utf8_decode and it::utf8_encode for easier migration to PHP 8.2Christian Schneider3-20/+20
2022-10-25be utf8 safeUrban Müller1-0/+1
2022-10-03Fix it::map with generators which can only be used onceChristian Schneider1-0/+3
2022-10-03Fix it_dbi being used with it::map/iterator_to_arrayChristian Schneider1-0/+4
2022-09-23utf8-safe versions of typical php input functionsUrban Müller1-1/+4
2022-09-22basic tests for ED and DNathan Gass1-0/+31
2022-09-08Fix it_html::sanitize with nested tagsChristian Schneider1-1/+1
2022-08-11be conservative and block unknown ip formatsNathan Gass1-0/+7
2022-07-29rename _escape functions to _encodeDavid Flatz1-11/+11
2022-07-29improve validation and escaping of e-mail addresses: use same method for ↵David Flatz1-2/+21
validation in check_email and address_error; encode and validate IDNs; make (more) robust functions to split address lists and emails
2022-06-20make is_private_ip resolve hostnames and check all resolved ipsDavid Flatz1-0/+7
2022-06-20add function to check whether an ip is from a private range which should be ↵David Flatz1-0/+14
useful for security checks of user provided ip-addresses
2022-04-07No regular use of javascript: found, remove warning and silently strip itChristian Schneider1-2/+0
2022-03-28handle missing closing bracket, remove blanks around email (filter_var balks)Urban Müller1-2/+2
2022-03-28user filter_var instead of regex (thx chrigi), correctly ignore display namesUrban Müller1-0/+3
2022-03-15simple unit test for it_mail::address_error()Christian A. Weber1-0/+6
2022-02-06Filter out javascript: scheme in U() to avoid more XSS attacksChristian Schneider2-0/+8
2022-01-24Fix PHP 8.1 warning when URL given to U() is invalidChristian Schneider1-0/+6
2021-06-17check ::cdist errorsUrban Müller1-2/+2
2021-06-15add tests for it::cdist. Two are commented out as they trigger an it::error()Christian A. Weber1-0/+4
2021-06-15allow leading - in ::getopt option arguments, add testsUrban Müller1-0/+26
2021-03-29remove => false args in it::exec, consistent with it_htmlUrban Müller1-0/+3
2021-02-12Fix cols() ignoring some columns, was an exception in PHP 8Christian Schneider1-0/+2
2021-01-27add some tests for boolean and float columnsNathan Gass1-9/+14
2021-01-26Fix error suppression for safety => 0Christian Schneider1-0/+1
2021-01-25Fix generating errors on SQL syntax errors, add tests for itChristian Schneider1-1/+14
2021-01-18test correct escaping using character that actually needs itUrban Müller1-4/+4