summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2025-11-22PHP 7.0 compatible syntaxDamien Regad1-5/+5
Trailing comma in function calls is only available since PHP 7.3 Named arguments are only allowed since PHP 8.0
2025-11-22Fix autoExecute() skipping updatesDiogo Galvão1-0/+28
AutoExecute fetches a row from the table prior to performing an insert or update. When $forceUpdate is false, only modified columns should be updated. However, the WHERE clause was not being used when fetching the row, so the comparison was always made against an arbitrary row, causing differences to be detected or missed by chance. This change makes use of the $where parameter when fetching the row from the table, making the comparison work as intended. Fixes #1146
2023-03-17Remove safe mode referencesDamien Regad1-1/+1
safe_mode was deprecated in PHP 5.3 and removed in 5.4. This removes remaining references to it in the code. Fixes #934
2022-09-09Test case for adodb_strip_order_by()Damien Regad1-0/+45
2021-08-22Delete proxy server.php and related client scriptsDamien Regad2-221/+0
Fixes #680
2021-08-17Redo Merge tag 'v5.21.1'Damien Regad2-12/+72
# Conflicts: # adodb.inc.php # docs/changelog.md # drivers/adodb-mssqlnative.inc.php # drivers/adodb-mysqli.inc.php Fixes #751
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad30-178/+571
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Reset version to avoid merge conflictsDamien Regad16-16/+16
Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad31-643/+190
The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751
2021-08-15Remove leftover legacy headersDamien Regad1-12/+0
A few of the old headers were not removed as part of PR #728.
2021-08-15Standard file header: LibTestDamien Regad1-0/+19
2021-08-15Composer: add PHPUnit 8.5 as dev requirementDamien Regad1-1/+1
The LibTest class was initially created for PHPUnit 7, which is no longer supported and incompatible with PHP 8. Adapting function signature to match parent class's definition (return type) means that ADOdb devs are now required to run PHP 7.2 or later to execute tests.
2021-08-15Test case for _adodb_quote_fieldname()Damien Regad1-0/+53
This is a basic test case to ensure the code matches expected results as discussed in #721 [[1]]. [1]: https://github.com/ADOdb/ADOdb/issues/721#issuecomment-817338903
2021-08-14Standard file header: /testsDamien Regad30-178/+571
2021-03-11PHPDoc and camelCase for newDataDictionaryDamien Regad1-1/+1
2021-03-08Bump version to 5.21.1-devDamien Regad16-16/+16
2021-02-27Bump version to 5.21.0v5.21.0Damien Regad16-16/+16
2021-02-02Bump version to 5.21.0-rc.1v5.21.0-rc.1Damien Regad16-16/+16
2020-12-20Bump version to 5.21.0-beta.1v5.21.0-beta.1Damien Regad16-16/+16
2020-12-19adodb.org is now served over SSLDamien Regad11-12/+12
Change web site references from http://adodb.org to https.
2020-01-24Remove PHP version checks from test scriptsDamien Regad4-49/+31
2019-11-28adodb_strip_order_by() strips incorrectly if there are multiple order by ↵Mark Newnham1-1/+1
statements #549 If the SQL statement passed to adodb_strip_order contains multiple order by statements, the incorrect one is stripped. This change ensures that only the last one is stripped Co-Authored-By: mustafa-soner-acar <mustafa-soner-acar@users.noreply.github.com>
2019-11-12Codespell assisted typo cleaningJean-Michel Vourgère2-2/+2
2018-08-06Merge branch 'hotfix/5.20' (v5.20.13)Damien Regad11-12/+12
# Conflicts: # adodb-time.inc.php # docs/changelog.md # drivers/adodb-mssql.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-oci8po.inc.php
2018-08-06Reset version to avoid merge conflictsDamien Regad16-16/+16
2018-08-06Bump version to 5.20.13v5.20.13Damien Regad16-16/+16
2018-08-06Replace adodb.sourceforge.net URLs by adodb.orgDamien Regad8-9/+9
2018-08-06Add trailing /Damien Regad2-2/+2
2018-08-06Fix or remove references to php.weblogs.com (#443)Damien Regad3-3/+3
2018-06-11mssql: Add Convert on SQLDate Method (#304)laurent-n1-28/+112
2018-03-30Bump version to 5.20.12v5.20.12Damien Regad16-16/+16
2018-03-30Bump version to 5.20.11v5.20.11Damien Regad16-16/+16
2018-03-08Bump version to 5.20.10v5.20.10Damien Regad16-16/+16
2016-12-21Bump version to 5.20.9v5.20.9Damien Regad16-16/+16
2016-12-17Added test script for mssqlnative driverLaurent Navarro1-0/+47
As proposed in PR #301
2016-12-17Bump version to 5.20.8v5.20.8Damien Regad16-16/+16
2016-10-11Remove references to ADOdb ExtensionDamien Regad1-7/+1
The ADOdb Extension's development stopped at version 5.04. It is no longer maintained or supported, yet the library still contains code referencing it. If those code branches are executed, ADOdb will not perform properly, due to missing constant declarations (among other things). This commit removes all references to the Extension. Fixes #270, #269
2016-09-20Bump version to 5.20.7v5.20.7Damien Regad16-16/+16
2016-09-20Update changelogDamien Regad16-16/+16
2016-08-31Reset version to avoid merge conflictsDamien Regad16-16/+16
2016-08-31Bump version to 5.20.6v5.20.6Damien Regad16-16/+16
2016-08-29Tests: fix XSS vulnerabilityDamien Regad1-2/+5
This issue was reported by JPCERT Coordination Center (JPCERT/CC) with reference JVN#48237713. The root cause is a foreach loop processing all GET parameters and blindly assigning them to variables, allowing an attacker to replace contents of global variables. This limits variable processing using a regex matching those used in testdatabases.inc.php (i.e. beginning with 'test' or 'no'). Fixes #274
2016-08-10Bump version to 5.20.5v5.20.5Damien Regad16-16/+16
2016-03-30Bump version to 5.20.4Damien Regad16-16/+16
2016-01-01Bump version to 5.20.3v5.20.3Damien Regad16-16/+16
2015-12-27Bump version to 5.20.2v5.20.2Damien Regad16-16/+16
2015-12-06Bump version to 5.20.1v5.20.1Damien Regad16-16/+16
2015-11-28Bump version to 5.20.0v5.20.0Damien Regad16-16/+16
2015-11-26Adjust header comment blocksDamien Regad16-16/+48
- running SED script - manual adjustments for files not processed by regex
2015-06-25Fix GetRowAssoc() default key caseDamien Regad1-2/+2
GetRowAssoc() and GetAssocKeys() parameter now defaults to ADODB_ASSOC_CASE instead of ADODB_ASSOC_CASE_UPPER, which ensures we're able to properly bind data when using lowercase field names. Adjusts the test case accordingly. Fixes #98