includes/dbal.php
Wed, 21 Aug 2013 22:12:42 -0400 Dan Fuhry Add PDO support for MySQL
Mon, 19 Nov 2012 11:37:02 -0500 Dan Fuhry DBAL: Persistent connections; also explicitly commit and unlock tables when shutting down
Thu, 02 Jun 2011 05:24:38 -0400 Dan Fuhry Added database transaction API. (Untested with Postgres)
Sun, 28 Mar 2010 23:10:46 -0400 Dan Going ahead with the switch to tabs. This is a major coding standards change! If any unusual parser bugs show up, check this changeset. Converted all .php, .js, .tpl, .css, and .json files and did basic testing.
Wed, 06 Jan 2010 02:03:10 -0500 Dan DBAL: readded sql_affectedrows(), some plugins were using it
Fri, 18 Dec 2009 21:46:05 -0500 Dan Backed out of ENANO_INSTALLED check in DBAL, it broke CLI installs badly
Fri, 18 Dec 2009 19:06:49 -0500 Dan Logs: Fully integrated an author_uid column. Logs are now linked by user ID instead of just username, so they survive username changes better. Database is changed. Fixes issue 6.
Sun, 13 Dec 2009 03:56:06 -0500 Dan DBAL: Majorly cleaned up and improved coding standards/documentation
Sun, 06 Dec 2009 21:51:32 -0500 Dan PostgreSQL: Fixed user pages. Also added a columns_in() method to the DBAL to list columns in a table
Tue, 01 Dec 2009 00:27:26 -0500 Dan common_cli and dbal: Fixed lack of ENANO_INSTALLED check in determining config path
Thu, 20 Aug 2009 20:01:55 -0400 Dan Fixed some upgrade bugs; added support for choosing one's own date/time formats; rebrand as 1.1.7
Wed, 13 May 2009 09:47:31 -0400 Dan Replaced the USE with a mysql_select_db() to cut out one query
Tue, 05 May 2009 00:10:26 -0400 Dan Made some more changes to the way namespaces are handled, for optimization purposes. This is a bit of a structural reorganization: $paths->pages is obsoleted in its entirety; calculating page existence and metadata is now the job of the Namespace_* backend class. There are many things in PageProcessor that should be reorganized, and page actions in general should really be rethought. This is probably the beginning of a long process that will be taking place over the course of the betas.
Sun, 19 Apr 2009 18:42:21 -0400 Dan DBAL: _die() now detects installation environment and, if present, calls installer UI library for error display chrome
Sun, 12 Apr 2009 19:50:58 -0400 Dan Cleared up a few warnings that appeared under the Phalanger PHP interpreter.
Sat, 21 Mar 2009 19:11:30 -0400 Dan Corrected a few display issues in Postgres DBAL. Thanks Neal.
Sat, 14 Mar 2009 15:24:56 -0400 Dan DBAL: Fixed missing $loc in pgsql die_json()
Sat, 14 Mar 2009 14:06:02 -0400 Dan Added support for alternate port numbers on database servers. Also in install-cli, merged in new sysreqs functionality.
Wed, 14 Jan 2009 20:33:05 -0500 Dan Added CLI installer. Supports interactive, command-line, and internal-call installation. Fixed a few bugs related to anti-SQL injection parser and plugin installation.
Sun, 11 Jan 2009 21:36:36 -0500 Dan DBAL: Fixed issues with die_json() and multiline responses from {mysql,pg_last}_error()
Sun, 04 Jan 2009 00:55:40 -0500 Dan Two big commits in one day I know, but redid password storage to use HMAC-SHA1. Consolidated much AES processing to three core methods in session that should handle everything automagically. Installation works; upgrades should. Rebranded as 1.1.6.
Wed, 31 Dec 2008 08:40:38 -0500 Dan Redid error handler (it was causing some problems with gzip enabled)
Sun, 21 Dec 2008 04:26:56 -0500 Dan Fixed timezone preference setting not fully implemented; added ability for users to select their own rank from a list of possible ranks based on group membership and user level
Mon, 11 Aug 2008 22:31:04 -0400 Dan Rebranded as 1.1.5 (Caoineag alpha 5) and fixed a couple bugs related to CDN support in template_nodb and installerUI. Updated readme.
Mon, 11 Aug 2008 21:33:46 -0400 Dan SECURITY: Full query is no longer shown on SQL injection attempt; silenced calls to mysql_unbuffered_query() due to some untraceable yet harmless errors
Sat, 12 Jul 2008 12:01:07 -0400 Dan Fixed a few more PostgreSQL bugs with insert_id() and an issue with setting SERIAL columns manually. May break things if installed into a database without first dropping tables.
Sat, 12 Jul 2008 03:32:57 -0400 Dan Rank editor is now in a working (beautiful) state. More intuitive than a Mac.
Wed, 09 Jul 2008 21:04:10 -0400 Dan Oops, somehow changed mysql_query() to pg_query() in MySQL DBAL
Wed, 09 Jul 2008 20:53:47 -0400 Dan Got the installer working. Fixed a few bugs including a nasty-to-debug issue where the lang_id was being hardcoded during installation, resulting in strings being inserted with the wrong lang_id causing an infinfinite loop with fetch() throwing a "no strings" error and using template (which calls fetch()) to complain
Wed, 02 Jul 2008 19:36:44 -0400 Dan Another sweep from the optimization monster.
Mon, 14 Apr 2008 12:13:12 -0400 Dan Rebrand as 1.1.4 (Caoineag alpha 4)
Sat, 15 Mar 2008 14:19:18 -0400 Dan [minor] silence errors when closing DB connections
Thu, 06 Mar 2008 23:04:45 -0500 Dan Added safety against re-defining constants in dbal
Thu, 06 Mar 2008 20:45:46 -0500 Dan Fixed $db->die_json(), should now produce standards-compliant output.
Sat, 01 Mar 2008 18:57:07 -0500 Dan Fixed the fact that cron just didn't work at all (brain fart that day or something)
Sat, 16 Feb 2008 16:56:08 -0500 Dan Some memory usage improvements, I think. PHP is being weird to me.
Thu, 24 Jan 2008 22:10:00 -0500 Dan [minor] silenced errors to mysql_free_result() and pg_free_result()
Thu, 17 Jan 2008 23:28:43 -0500 Dan Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Wed, 16 Jan 2008 13:55:49 -0500 Dan Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Fri, 21 Dec 2007 18:52:35 -0500 Dan NOW the installer should work.
Wed, 19 Dec 2007 22:55:40 -0500 Dan Redid merge, the previous one had a few problems
Tue, 18 Dec 2007 23:44:55 -0500 Dan Many changes. Installer with PostgreSQL is broken badly and will be for some time.
Sat, 15 Dec 2007 18:10:14 -0500 Dan SURPRISE! Preliminary PostgreSQL support added. The required schema file is not present in this commit and will be included at a later date. No installer support is implemented. Also in this commit: several fixes including <!-- SYSMSG ... --> was broken in template compiler; set fixed width on included images to prevent the thumbnail box from getting huge; added a much more friendly interface to AJAX responses that are invalid JSON
Wed, 12 Dec 2007 21:37:23 -0500 Dan Rebrand as 1.0.3 (Dyrad)
Fri, 07 Dec 2007 16:42:22 -0500 Dan Merging in changes from stable
Mon, 03 Dec 2007 17:36:25 -0500 Dan Deprecated debugConsole and removed all calls to it. Added a lot of comments to common.php. Added support for "anonymous pages" that are created when the Enano API is loaded from an external script. Fixed missing border-bottom on Type 2 sidebar blocks in Oxygen.
Sun, 02 Dec 2007 16:00:10 -0500 Dan Merging in the newly stable Coblynau
Sun, 25 Nov 2007 19:03:50 -0500 Dan Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Sat, 24 Nov 2007 01:35:12 -0500 Dan Fixed a few major bugs with the upgrade script and the config file not getting loaded properly due to IN_ENANO_INSTALL
Sat, 24 Nov 2007 01:04:30 -0500 Dan Hopefully once again fix scriptPath detection in dbal.php
Sat, 24 Nov 2007 00:53:23 -0500 Dan Fixed a number of issues with SQL query readability and some undefined index-ish errors; consequently the SQL report feature was added
Wed, 21 Nov 2007 21:03:48 -0500 Dan Merging in updates and improvements from stable
Wed, 21 Nov 2007 20:14:14 -0500 Dan Re-sync Oxygen and Mint and Oxygen simple with Oxygen main; a couple improvements to the redirect-on-no-config code
Wed, 21 Nov 2007 15:10:57 -0500 Dan Searching sucks, and Enano's search algorithm was complete bullcrap. So I rewrote it. No, it does not use Google search technology. Like they have a patent for using the Arial font on search result pages anyway.
Sun, 18 Nov 2007 20:37:08 -0500 Dan Merging in fixes and updates from stable
Sat, 17 Nov 2007 23:09:12 -0500 Dan Hopefully managed to put enough hacks in there to make renaming the config file the last step, so if it fails, it can be done manually
Sat, 17 Nov 2007 22:25:37 -0500 Dan Merging in fixes from stable
Thu, 15 Nov 2007 18:00:39 -0500 Dan Merging in all changes from revision 185 (90b7a52bea45)
Fri, 09 Nov 2007 23:39:52 -0500 Dan Merged in the low-level DBAL fix involving dashes in the database name from stable
Fri, 09 Nov 2007 23:36:49 -0500 Dan Database name can now contain dashes (as per requested at http://forum.enanocms.org/viewtopic.php?f=5&t=14); corrected some installer behavior issues with connecting as root and setting up permissions resulting in logs not being flushed, configs not being inserted, and what have you.
less more (0) -60 tip