summaryrefslogtreecommitdiffstats
path: root/lib/class/dba.class.php
Commit message (Collapse)AuthorAgeFilesLines
* Don't call errorInfo() if we don't have an objectPaul Arthur2013-07-091-1/+3
|
* Change Dba::error() and audit its callersPaul Arthur2013-05-271-5/+7
| | | | | Will hopefully return more useful information during installation, which is the only place it's actually used and useful.
* Dba: Add support for MySQL socketsrandomessence2013-05-271-1/+6
|
* Add support for nonstandard MySQL portsPaul Arthur2013-05-131-1/+8
|
* Drop nonworking Dba::check_database_exists()Paul Arthur2013-03-291-8/+0
| | | | It didn't work.
* Fix infinite loop in DbaPaul Arthur2013-03-291-1/+1
| | | | Strong and stupid indeed.
* Try to be more robust in DbaPaul Arthur2013-03-281-0/+12
|
* Dba: return false on errorsPaul Arthur2013-02-111-0/+1
| | | | I'm pretty sure this is the correct thing to do.
* Dba: fix more thingsPaul Arthur2013-02-031-17/+42
| | | | Check that things are things before thing.
* Fix Dba::quote()Paul Arthur2013-02-021-2/+2
| | | | It's still ugly, but it won't get too greedy.
* Make Dba::query() a bit more correctPaul Arthur2013-02-021-3/+12
| | | | Check the DB handle and the statement handle before we try to use them.
* Ignore errors from json_encode in Dba debuggingPaul Arthur2013-01-291-1/+3
|
* Use parameterised queries in SessionPaul Arthur2013-01-291-2/+2
|
* Switch Dba from mysql to PDO-MySQLPaul Arthur2013-01-291-160/+94
| | | | | The mysql extension is deprecated in PHP 5.5 and will be removed in the future.
* Cosmetics: s/Itterate/Iterate/Paul Arthur2013-01-281-1/+1
|
* Cosmetics: death to tabsPaul Arthur2013-01-261-491/+491
| | | | | The refactoring I've been doing has reminded me of my strong preference for spaces, and I feel inclined to impose my will on the tree.
* Move Catalog::optimize_tables() to DbaPaul Arthur2013-01-261-0/+22
|
* Cosmetics: clean up heads in lib/Paul Arthur2013-01-251-11/+1
|
* Clean up remaining direct calls to mysql functionsPaul Arthur2012-11-081-16/+16
| | | | | This makes it theoretically possible to replace Dba with a different implementation somewhat painlessly.
* Clean up check_database, more direct mysql callsPaul Arthur2012-11-081-28/+28
|
* Cosmetics: clean up spacesPaul Arthur2012-11-081-13/+13
|
* Move check_database_inserted into the Dba classPaul Arthur2012-11-081-0/+24
|
* Move check_database into the Dba classPaul Arthur2012-11-081-0/+20
|
* FS#226 - does not catch MySQL errors before passing to num_rows()Paul Arthur2012-04-151-6/+6
| | | | | | Clean up Dba::num_rows (based on a patch by Natureshadow) We could check before every call instead, but screw that.
* Clean up uses of Config::set and Config::set_by_arrayPaul Arthur2012-03-061-2/+2
| | | | | Consistently pass in a boolean instead of a string or an int for the clobber flag.
* DBA changesPaul Arthur2011-06-241-4/+22
| | | | | | Make fetch_* automatically clean up result sets by default. Add a seek function for any cases where we want to iterate over the same result set multiple times.
* Clean up some PHPDoc crapPaul Arthur2011-04-041-9/+0
| | | | | | Remove misleading, unvetted, or in some cases just plain wrong data. Packages and categories weren't being used correctly. They still aren't.
* header comment modified for phpdocmomo-i2011-02-031-1/+1
|
* header comment for phpdocmomo-i2011-02-031-1/+1
|
* test header for phpdoc. now using only classes and libraries.momo-i2011-02-021-1/+0
|
* test for phpdocmomo-i2011-02-021-19/+42
|
* Miscellaneous cleanup.Paul 'flowerysong' Arthur2010-06-131-1/+4
|
* Cosmetics. %s/assoicated/associated/gPaul 'flowerysong' Arthur2010-04-281-1/+1
|
* Add vim modelines to all php files (Thx ascheel)Karl 'vollmerk' Vollmer2010-03-141-0/+1
|
* Replaced almost every dba::query to dba::read or dba::write.dipsol2009-12-141-202/+202
|
* slight tweak to dba class to try to make it a little more bullet proof, ↵Karl 'vollmerk' Vollmer2009-02-041-3/+40
| | | | commented added functions
* add some extra debug for failures on charset settingKarl 'vollmerk' Vollmer2009-01-291-1/+5
|
* fix typo in translate where collation was not set, instead charset was set ↵Karl 'vollmerk' Vollmer2009-01-271-2/+3
| | | | twice (Thx sfkoch)
* switched to sha() password encryption not using sha2 because of limitations ↵Karl 'vollmerk' Vollmer2008-07-261-0/+22
| | | | of amarok, also added some caching and fixed some misc bugs
* show the top 2 tags on songs, sync fixes from /branches/3.4 improved caching ↵Karl 'vollmerk' Vollmer2008-05-261-38/+55
| | | | on song object
* added in some caching and add the database upgrade that will make the taging ↵Karl 'vollmerk' Vollmer2008-05-121-15/+20
| | | | mostly work
* commit of the patches from codeoverload to implement tagging, will not work ↵Karl 'vollmerk' Vollmer2008-05-121-1/+20
| | | | without manual modification of database, yes.. this commit breaks things cope
* tweaks the db updates and adds a few more charset translations to the db ↵Karl 'vollmerk' Vollmer2008-05-101-4/+15
| | | | charset reset function
* add in functionality to reset db charset also updated the update function to ↵Karl 'vollmerk' Vollmer2008-05-081-0/+70
| | | | take into account the collation
* last commit before beta3 releaseKarl 'vollmerk' Vollmer2008-04-211-1/+12
|
* add the title back in to the links and be a little more violent with the ↵Karl 'vollmerk' Vollmer2008-03-191-1/+11
| | | | charset setting...
* fixed paging on browse catalogs page, disabled the write_tags script and ↵Karl 'vollmerk' Vollmer2007-12-301-1/+1
| | | | removed a dbl escape on the preferences
* added abilty to display and delete localplay instancesKarl 'vollmerk' Vollmer2007-10-121-0/+16
|
* more work on the localplay stuff, most details ironed out, just needs some ↵Karl 'vollmerk' Vollmer2007-09-121-1/+1
| | | | code to back it up, also tweaked plugins and threw in some extra goodies in the preference class, also pimped out the error class
* tweaked the debug a tad for failed song insertsKarl 'vollmerk' Vollmer2007-09-041-0/+10
|