Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't call errorInfo() if we don't have an object | Paul Arthur | 2013-07-09 | 1 | -1/+3 |
| | |||||
* | Change Dba::error() and audit its callers | Paul Arthur | 2013-05-27 | 1 | -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 sockets | randomessence | 2013-05-27 | 1 | -1/+6 |
| | |||||
* | Add support for nonstandard MySQL ports | Paul Arthur | 2013-05-13 | 1 | -1/+8 |
| | |||||
* | Drop nonworking Dba::check_database_exists() | Paul Arthur | 2013-03-29 | 1 | -8/+0 |
| | | | | It didn't work. | ||||
* | Fix infinite loop in Dba | Paul Arthur | 2013-03-29 | 1 | -1/+1 |
| | | | | Strong and stupid indeed. | ||||
* | Try to be more robust in Dba | Paul Arthur | 2013-03-28 | 1 | -0/+12 |
| | |||||
* | Dba: return false on errors | Paul Arthur | 2013-02-11 | 1 | -0/+1 |
| | | | | I'm pretty sure this is the correct thing to do. | ||||
* | Dba: fix more things | Paul Arthur | 2013-02-03 | 1 | -17/+42 |
| | | | | Check that things are things before thing. | ||||
* | Fix Dba::quote() | Paul Arthur | 2013-02-02 | 1 | -2/+2 |
| | | | | It's still ugly, but it won't get too greedy. | ||||
* | Make Dba::query() a bit more correct | Paul Arthur | 2013-02-02 | 1 | -3/+12 |
| | | | | Check the DB handle and the statement handle before we try to use them. | ||||
* | Ignore errors from json_encode in Dba debugging | Paul Arthur | 2013-01-29 | 1 | -1/+3 |
| | |||||
* | Use parameterised queries in Session | Paul Arthur | 2013-01-29 | 1 | -2/+2 |
| | |||||
* | Switch Dba from mysql to PDO-MySQL | Paul Arthur | 2013-01-29 | 1 | -160/+94 |
| | | | | | The mysql extension is deprecated in PHP 5.5 and will be removed in the future. | ||||
* | Cosmetics: s/Itterate/Iterate/ | Paul Arthur | 2013-01-28 | 1 | -1/+1 |
| | |||||
* | Cosmetics: death to tabs | Paul Arthur | 2013-01-26 | 1 | -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 Dba | Paul Arthur | 2013-01-26 | 1 | -0/+22 |
| | |||||
* | Cosmetics: clean up heads in lib/ | Paul Arthur | 2013-01-25 | 1 | -11/+1 |
| | |||||
* | Clean up remaining direct calls to mysql functions | Paul Arthur | 2012-11-08 | 1 | -16/+16 |
| | | | | | This makes it theoretically possible to replace Dba with a different implementation somewhat painlessly. | ||||
* | Clean up check_database, more direct mysql calls | Paul Arthur | 2012-11-08 | 1 | -28/+28 |
| | |||||
* | Cosmetics: clean up spaces | Paul Arthur | 2012-11-08 | 1 | -13/+13 |
| | |||||
* | Move check_database_inserted into the Dba class | Paul Arthur | 2012-11-08 | 1 | -0/+24 |
| | |||||
* | Move check_database into the Dba class | Paul Arthur | 2012-11-08 | 1 | -0/+20 |
| | |||||
* | FS#226 - does not catch MySQL errors before passing to num_rows() | Paul Arthur | 2012-04-15 | 1 | -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_array | Paul Arthur | 2012-03-06 | 1 | -2/+2 |
| | | | | | Consistently pass in a boolean instead of a string or an int for the clobber flag. | ||||
* | DBA changes | Paul Arthur | 2011-06-24 | 1 | -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 crap | Paul Arthur | 2011-04-04 | 1 | -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 phpdoc | momo-i | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | header comment for phpdoc | momo-i | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | test header for phpdoc. now using only classes and libraries. | momo-i | 2011-02-02 | 1 | -1/+0 |
| | |||||
* | test for phpdoc | momo-i | 2011-02-02 | 1 | -19/+42 |
| | |||||
* | Miscellaneous cleanup. | Paul 'flowerysong' Arthur | 2010-06-13 | 1 | -1/+4 |
| | |||||
* | Cosmetics. %s/assoicated/associated/g | Paul 'flowerysong' Arthur | 2010-04-28 | 1 | -1/+1 |
| | |||||
* | Add vim modelines to all php files (Thx ascheel) | Karl 'vollmerk' Vollmer | 2010-03-14 | 1 | -0/+1 |
| | |||||
* | Replaced almost every dba::query to dba::read or dba::write. | dipsol | 2009-12-14 | 1 | -202/+202 |
| | |||||
* | slight tweak to dba class to try to make it a little more bullet proof, ↵ | Karl 'vollmerk' Vollmer | 2009-02-04 | 1 | -3/+40 |
| | | | | commented added functions | ||||
* | add some extra debug for failures on charset setting | Karl 'vollmerk' Vollmer | 2009-01-29 | 1 | -1/+5 |
| | |||||
* | fix typo in translate where collation was not set, instead charset was set ↵ | Karl 'vollmerk' Vollmer | 2009-01-27 | 1 | -2/+3 |
| | | | | twice (Thx sfkoch) | ||||
* | switched to sha() password encryption not using sha2 because of limitations ↵ | Karl 'vollmerk' Vollmer | 2008-07-26 | 1 | -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' Vollmer | 2008-05-26 | 1 | -38/+55 |
| | | | | on song object | ||||
* | added in some caching and add the database upgrade that will make the taging ↵ | Karl 'vollmerk' Vollmer | 2008-05-12 | 1 | -15/+20 |
| | | | | mostly work | ||||
* | commit of the patches from codeoverload to implement tagging, will not work ↵ | Karl 'vollmerk' Vollmer | 2008-05-12 | 1 | -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' Vollmer | 2008-05-10 | 1 | -4/+15 |
| | | | | charset reset function | ||||
* | add in functionality to reset db charset also updated the update function to ↵ | Karl 'vollmerk' Vollmer | 2008-05-08 | 1 | -0/+70 |
| | | | | take into account the collation | ||||
* | last commit before beta3 release | Karl 'vollmerk' Vollmer | 2008-04-21 | 1 | -1/+12 |
| | |||||
* | add the title back in to the links and be a little more violent with the ↵ | Karl 'vollmerk' Vollmer | 2008-03-19 | 1 | -1/+11 |
| | | | | charset setting... | ||||
* | fixed paging on browse catalogs page, disabled the write_tags script and ↵ | Karl 'vollmerk' Vollmer | 2007-12-30 | 1 | -1/+1 |
| | | | | removed a dbl escape on the preferences | ||||
* | added abilty to display and delete localplay instances | Karl 'vollmerk' Vollmer | 2007-10-12 | 1 | -0/+16 |
| | |||||
* | more work on the localplay stuff, most details ironed out, just needs some ↵ | Karl 'vollmerk' Vollmer | 2007-09-12 | 1 | -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 inserts | Karl 'vollmerk' Vollmer | 2007-09-04 | 1 | -0/+10 |
| |