1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00
Commit graph

38 commits

Author SHA1 Message Date
Paul Arthur
fd5b7e1b10 Move Catalog::optimize_tables() to Dba 2013-01-26 00:23:12 -05:00
Paul Arthur
16c3ba34fd Cosmetics: clean up heads in lib/ 2013-01-25 18:38:22 -05:00
Paul Arthur
649298b241 Clean up remaining direct calls to mysql functions
This makes it theoretically possible to replace Dba with a different
implementation somewhat painlessly.
2012-11-08 14:31:53 -05:00
Paul Arthur
c51ddbd3d6 Clean up check_database, more direct mysql calls 2012-11-08 14:02:28 -05:00
Paul Arthur
54f9633498 Cosmetics: clean up spaces 2012-11-08 13:23:27 -05:00
Paul Arthur
93251b3c8d Move check_database_inserted into the Dba class 2012-11-08 13:22:56 -05:00
Paul Arthur
d2eaf10b07 Move check_database into the Dba class 2012-11-08 13:15:19 -05:00
Paul Arthur
8a93c849e2 FS#226 - does not catch MySQL errors before passing to num_rows()
Clean up Dba::num_rows (based on a patch by Natureshadow)

We could check before every call instead, but screw that.
2012-04-15 23:32:03 -04:00
Paul Arthur
34b0eaf233 Clean up uses of Config::set and Config::set_by_array
Consistently pass in a boolean instead of a string or an int for the
clobber flag.
2012-03-06 12:18:57 -05:00
Paul Arthur
89f0b963fe DBA changes
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.
2011-06-24 11:56:35 -04:00
Paul Arthur
4aa256cb07 Clean up some PHPDoc crap
Remove misleading, unvetted, or in some cases just plain wrong data.
Packages and categories weren't being used correctly.  They still
aren't.
2011-04-04 17:37:10 -04:00
momo-i
f99643663c header comment modified for phpdoc 2011-02-03 09:43:46 +09:00
momo-i
d703009677 header comment for phpdoc 2011-02-03 07:30:23 +09:00
momo-i
add54bc230 test header for phpdoc. now using only classes and libraries. 2011-02-02 16:48:45 +09:00
momo-i
bc7344c9f5 test for phpdoc 2011-02-02 13:35:26 +09:00
Paul 'flowerysong' Arthur
4b5756ba9d Miscellaneous cleanup. 2010-06-13 08:11:09 +00:00
Paul 'flowerysong' Arthur
feae94b52b Cosmetics. %s/assoicated/associated/g 2010-04-28 22:25:23 +00:00
Karl 'vollmerk' Vollmer
45f382b06d Add vim modelines to all php files (Thx ascheel) 2010-03-14 04:53:15 +00:00
dipsol
a7838e2a13 Replaced almost every dba::query to dba::read or dba::write. 2009-12-14 08:06:20 +00:00
Karl 'vollmerk' Vollmer
97c538e24f slight tweak to dba class to try to make it a little more bullet proof, commented added functions 2009-02-04 01:27:45 +00:00
Karl 'vollmerk' Vollmer
2ad68e2692 add some extra debug for failures on charset setting 2009-01-29 01:57:43 +00:00
Karl 'vollmerk' Vollmer
dd4330e2af fix typo in translate where collation was not set, instead charset was set twice (Thx sfkoch) 2009-01-27 20:55:55 +00:00
Karl 'vollmerk' Vollmer
392354df0a switched to sha() password encryption not using sha2 because of limitations of amarok, also added some caching and fixed some misc bugs 2008-07-26 07:43:18 +00:00
Karl 'vollmerk' Vollmer
13ae6a0371 show the top 2 tags on songs, sync fixes from /branches/3.4 improved caching on song object 2008-05-26 04:08:45 +00:00
Karl 'vollmerk' Vollmer
3634ba8094 added in some caching and add the database upgrade that will make the taging mostly work 2008-05-12 05:58:17 +00:00
Karl 'vollmerk' Vollmer
693e26e2ad commit of the patches from codeoverload to implement tagging, will not work without manual modification of database, yes.. this commit breaks things cope 2008-05-12 02:52:50 +00:00
Karl 'vollmerk' Vollmer
dfcd869f37 tweaks the db updates and adds a few more charset translations to the db charset reset function 2008-05-10 07:14:38 +00:00
Karl 'vollmerk' Vollmer
5318a90e4a add in functionality to reset db charset also updated the update function to take into account the collation 2008-05-08 06:44:22 +00:00
Karl 'vollmerk' Vollmer
310adfa359 last commit before beta3 release 2008-04-21 03:21:20 +00:00
Karl 'vollmerk' Vollmer
17244cee94 add the title back in to the links and be a little more violent with the charset setting... 2008-03-19 05:34:59 +00:00
Karl 'vollmerk' Vollmer
318700ad7c fixed paging on browse catalogs page, disabled the write_tags script and removed a dbl escape on the preferences 2007-12-30 01:49:13 +00:00
Karl 'vollmerk' Vollmer
ba62ca14b9 added abilty to display and delete localplay instances 2007-10-12 04:55:20 +00:00
Karl 'vollmerk' Vollmer
bff9e37fa5 more work on the localplay stuff, most details ironed out, just needs some code to back it up, also tweaked plugins and threw in some extra goodies in the preference class, also pimped out the error class 2007-09-12 07:30:55 +00:00
Karl 'vollmerk' Vollmer
805d273b0f tweaked the debug a tad for failed song inserts 2007-09-04 19:48:18 +00:00
Karl 'vollmerk' Vollmer
699a85cb82 fixed some ratings stuff, fixed some searching stuff as well 2007-08-09 06:35:24 +00:00
Karl 'vollmerk' Vollmer
83c7a25a76 missed some requires, tweaked the lastfm class and removed an unused function from general 2007-07-05 07:13:25 +00:00
Karl 'vollmerk' Vollmer
a31560aec4 it technically logs in and streams.. but thats it, complete rewrite almost everything broken 2007-04-23 07:31:05 +00:00
Karl 'vollmerk' Vollmer
9e971edd7f two php5 only classes... first stage of re-write 2007-04-08 14:24:39 +00:00