summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-11Remove session_module_name('user') callsMatt Simpson5-5/+0
These calls throw an error on PHP >= 7.2 "session_module_name(): Cannot set 'user' save handler by ini_set() or session_module_name()". They were previously silently ignored, but as per PHP documentation [1], since PHP 7.2.0 it is explicitly forbidden to set the module name to "user" so this commit removes the function calls from session-related files. Fixes #449 [1] http://php.net/session_module_name Improved commit message. Signed-off-by: Damien Regad <dregad@mantisbt.org>
2019-01-06Use postgres9 driver by defaultDamien Regad1-1/+1
When initializing a new connection with postgres or pgsql driver, ADOdb currently defaults to using the postgres8 driver. Postgres 8.4 lifecycle ended in 2014, and currently only versions >= 9.4 are supported, so it makes sense to change our default to connect using the postgres9 driver instead of postgres8, even though they currently only differ by driver name. Fixes #474
2019-01-06Merge branch 'hotfix/5.20' (v5.20.14)Damien Regad1-0/+7
Conflicts: docs/changelog.md
2019-01-06Reset version to avoid merge conflictsDamien Regad130-131/+131
2019-01-06Bump version to 5.20.14v5.20.14Damien Regad131-132/+132
2019-01-03Update changelogDamien Regad1-0/+7
2019-01-03Merge branch 'hotfix/5.20'Damien Regad3-43/+53
# Conflicts: # adodb-lib.inc.php # adodb-time.inc.php
2019-01-03WhitespaceDamien Regad3-44/+43
2019-01-02Align tables() function definition with master branchMark Newnham1-1/+1
Commit 227ef66ee3ea7c6bc77969f1db6098d5a6da3ece addressed issue #462, which had already been fixed in master branch under #435 (commit 0559e4b888c9627090defa00982bf9f275ab23b8). Since there was a difference in the function's name case between the 2 branches, (`tables` vs `Tables`), this commit fixes that. The tables() function was incompatible # Conflicts: # perf/perf-mysql.inc.php
2019-01-01Security update to time library see #467Mark Newnham1-1/+25
The BindTimeStamp and adodb_getdate functions are susceptible to abuse, see #467. The new constant ADODB_FUTURE_DATE_CUTOFF_YEARS limits the future years. see the documentation http://adodb.org/dokuwiki/doku.php?id=v5:datetime:adodb_last_date_status for more information
2019-01-01Security update to time library see #467Mark Newnham1-1/+27
The BindTimeStamp and adodb_getdate functions are susceptible to abuse, see #467. The new constant ADODB_FUTURE_DATE_CUTOFF_YEARS limits the future years. see the documentation http://adodb.org/dokuwiki/doku.php?id=v5:datetime:adodb_last_date_status for more information
2019-01-01Add support for ADODB_FETCH_ASSOC to getMenu()Mark Newnham1-35/+39
Methods getMenu and getMenu3 throw E_NOTICE errors when ADODB_FETCH_MODE = ADODB_FETCH_ASSOC See #460. This enhancement adds support for this feature.
2019-01-01Fix support for getMenu with ADODB_FETCH_ASSOCMark Newnham1-34/+39
The getMenu and getMenu3 methods generate E_NOTICE errors when ADODB_FETCH_MODE is set to ADODB_FETCH_ASSOC See #460. This changes adds support for that.
2018-12-31Error logging slow queries under mysqli driver, see #463 , #439Mark Newnham1-0/+3
Whilst this does introduce driver-specific code into the core file, there are already numerous instances of that so not a problem thx to @ivanbogomoloff
2018-12-31Error logging slow queries under mysqli driver, see #463 , #439Mark Newnham1-0/+3
Whilst this does introduce driver-specific code into the core file, there are already numerous instances of that so not a problem thx to @ivanbogomoloff
2018-12-31Definition of method inconsistent with parent see #462Mark Newnham1-1/+1
Master was already fixed
2018-08-09constant ADODB_FORCE_NULL_AND_ZERO not honoured, see #447Mark Newnham1-0/+14
Code missing from the _adodb_getupdatesql() method, added
2018-08-06Update README.mdpeterdd1-6/+6
- add Firebird and SQLite3 to intro - fix function names in example
2018-08-06Merge branch 'hotfix/5.20' (v5.20.13)Damien Regad76-90/+95
# 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 Regad131-131/+133
2018-08-06Bump version to 5.20.13v5.20.13Damien Regad131-132/+132
2018-08-06Fix and update linksDamien Regad76-88/+83
- dead php.weblogs.com -> adodb.org - redirected adodb.sourceforge.net -> adodb.org - Standardize "latest version" comments - Use new friendly URL for Sourceforge tracker links
2018-08-06Fix Sourceforge tracker linksDamien Regad6-7/+7
2018-08-06Replace adodb.sourceforge.net URLs by adodb.orgDamien Regad54-55/+55
2018-08-06Fix invalid documentation linksDamien Regad1-2/+2
2018-08-06Standardize "latest version" commentsDamien Regad6-8/+7
2018-08-06Add trailing /Damien Regad9-9/+9
2018-08-06Fix 404 errors following peterdd's reviewDamien Regad4-4/+4
2018-08-06Fix or remove references to php.weblogs.com (#443)Damien Regad17-20/+16
2018-08-06Update ChangelogDamien Regad1-0/+11
2018-08-05_adodb_getcount was not SQL Server Compliant See #423Mark Newnham1-8/+10
SQL Server requires an alias when creating a count statement. This true for Native Mode(mssqlnative), mssql and PDO drivers
2018-08-05_adodb_getcount was not SQL Server Compliant See #423Mark Newnham1-8/+10
SQL Server requires an alias when creating a count statement. This true for Native Mode(mssqlnative), mssql and PDO drivers
2018-08-05PHP7.2: string parameters for `assert` are deprecatedNicolas Dermine2-8/+8
in favor of booleans see http://php.net/manual/en/migration72.deprecated.php#migration72.deprecated.assert-string-arg
2018-08-03Merge remote-tracking branch 'origin/master'Damien Regad0-0/+0
Cleaning up a bit and improving the git history in relation to the issue tracker, by adding a few merge commits: - Merge 189c94c12cd82e627efb30f70815a473deb682d4 was done the other way around (master into feature branch) - An important feature (DB2 driver rewrite) was committed without a reference in the issue tracker - SSL for mysqli PR #416 was merged without a specific commit, and a follow-up fix was added later; they are now grouped together (592d9e52350d360adf792c7151061557b282a5b1) - Added merge commit for mssql windows auth, with issue tracker ref - Final merge of master branch to bring it all together
2018-08-03mssql: support Windows authentication (#353)Damien Regad1-8/+36
2018-08-03db2: full driver rewrite (#442)Damien Regad2-343/+1562
2018-08-03mysqli: ssl connections (#416)Damien Regad1-0/+10
2018-08-03change property name ssl_cer -> ssl_certDamien Regad1-3/+3
Align property name with the underlying mysqli_ssl_set() function's parameter name. Follow-up from b6f3e24312a507efea2da758660ca0c58b13de34 (#416).
2018-07-31mysqli: change property name ssl_cer -> ssl_certDamien Regad1-3/+3
Align property name with the underlying mysqli_ssl_set() function's parameter name. Follow-up from b6f3e24312a507efea2da758660ca0c58b13de34 (#416).
2018-07-30Merge branch 'master' of https://github.com/ADOdb/ADOdbMark Newnham8-370/+1628
2018-07-29Add support for Windows AuthenticationMark Newnham1-8/+36
1. Manage user id and password parameters so that Windows Authentication can be used to connect to a SQL Server database (see #353). 2. Per ADOdb standard, print a message if the connection fails because the PHP driver is not installed
2018-07-29This release of the IBM DB2 driver is a full rewrite, based on the DB2Mark Newnham2-343/+1562
native mode client, instead of the ODBC based one used previously. It encompasses the following changes: 1. All of the missing data dictionary functions have been added. 2. Proper binding of parameters to queries. 3. Support for stored procedures. 4. Full support for specific table casing, via a new method, setTableCase(). 5. Support for the setConnectionParameter() method, allowing use of elements such as CURSOR and trustedcontext 6. Connections via both catalogued and uncatalogued connections. 7. Support for sequences 8. The option $uCaseTables is no longer supported 9. The performance monitor is currently out of operation due to changes in the DB2 system tables The driver has been tested on PHP version 7.1, and is not supported on ADOdb versions less than 5.21
2018-07-26Fixed typo. Thanks peterddColin Morris1-1/+1
2018-07-26NULL not FALSEColin Morris1-5/+5
2018-07-26Spacing matchColin Morris1-2/+2
2018-07-26Adding SSL flags for mysqli_ssl_setColin Morris1-0/+10
2018-07-23Table/Column names quoted in replace functionmarvinwaterman1-7/+14
2018-07-23Merge pull request #396 from therealryanbonham/SessionPDOSupportMark Newnham1-16/+31
Added support for PDO MySQL drivers in the ADOdb file based session management feature
2018-07-23Junk character in change file see #395Mark Newnham1-1/+1
The file for commit had an extended character introduced, clean up before pull
2018-07-21Variable not initialized see #437Mark Newnham1-0/+1
If an invalid sql statement is passed to the function, a runtime error is generated due to an undeclared variable