summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Expand)AuthorFilesLines
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 vali...David Flatz1-2/+21
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 u...David Flatz1-0/+14
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
2021-01-13Unified join to always use implodeChristian Schneider1-1/+1
2021-01-13Unified brace and else if styleChristian Schneider5-7/+11
2021-01-06Merge branch 'master' into ng/postgresqlNathan Gass4-60/+68
2020-12-03Add some tests for it::substr() behaviour we rely on which was broken for som...Christian Schneider1-0/+4
2020-11-27pass array values instead of keys to functions with only one argument in it::...Nathan Gass1-0/+3
2020-11-09no longer ignore extra positional argumentsNathan Gass1-7/+6
2020-09-15Make itools PHP 8 compatibleChristian Schneider3-53/+55
2020-09-03comment out broken testNathan Gass1-2/+3
2020-09-03dont depend on order of resultsNathan Gass1-1/+1
2020-09-03handle postgresql implementation of mysql replaceNathan Gass1-1/+1
2020-09-03use WHERE TRUE in tests which is compatible with postgresqlNathan Gass1-4/+4
2020-09-03escape ID to avoid postgresql lowercasing itNathan Gass1-5/+5
2020-09-03make _set tests independent of exact sql syntaxNathan Gass1-13/+6
2020-09-03add options to run tests on postgressql, adapt create table statements to use...Nathan Gass1-14/+31
2020-08-27test for automatic creation of table classesNathan Gass1-0/+1
2020-08-25test for unexpected optional positinal argumentsNathan Gass1-1/+9
2020-08-25also test for default valuesNathan Gass1-2/+3
2020-08-25more tests for arguments without value, also test failure modesNathan Gass1-4/+13
2020-08-25also test positional argsNathan Gass1-6/+7
2020-08-10vanilla php complianceUrban Müller1-3/+3
2020-08-05avoid forbidden fopen()Urban Müller1-0/+2
2020-08-04correctly retry in ::get_multi, do retry in status 5xx in ::getUrban Müller2-1/+28
2020-07-01Simplify test, was under the wrong assumption that is() uses == instead of ===Christian Schneider1-2/+2
2020-07-01Preserve type when writing int to dyncolsChristian Schneider1-0/+2
2020-06-26Leave _data unchanged by __read_postprocess as update() needs that and add te...Christian Schneider1-4/+13
2020-06-24Add static and pure replacements _read_postprocess/_write_preprocess for depr...Christian Schneider1-0/+32
2020-05-25test new sort featuresUrban Müller1-0/+5
2020-05-18Add 'assoc' => true mode to it_url::get() and prepare to mark function staticChristian Schneider1-19/+7