static method display_update [line 316]
static void display_update(
)
|
|
display_update This displays a list of the needed updates to the database. This will actually echo out the list...
Tags:
static method format_version [line 106]
static void format_version(
$data)
|
|
format_version
make the version number pretty
Tags:
Parameters:
static method get_version [line 76]
static void get_version(
)
|
|
get_version this checks to see what version you are currently running because we may not have the update_info table we have to check for it's existance first.
Tags:
static method need_update [line 120]
static void need_update(
)
|
|
need_update
checks to see if we need to update ampache at all
Tags:
static method plugins_installed [line 149]
static void plugins_installed(
)
|
|
plugins_installed
This function checks to make sure that there are no plugins installed before allowing you to run the update. this is to protect the integrity of the database
Tags:
static method populate_version [line 173]
static void populate_version(
)
|
|
populate_version
just sets an array the current differences that require an update
Tags:
static method run_update [line 347]
static void run_update(
)
|
|
run_update This function actually updates the db.
it goes through versions and finds the ones that need to be run. Checking to make sure the function exists first.
Tags:
static method update_340003 [line 664]
static void update_340003(
)
|
|
update_340003
This update moves the album art out of the album table and puts it in an album_data table. It also makes some minor changes to the song table in an attempt to reduce the size of each row
Tags:
static method update_340004 [line 766]
static void update_340004(
)
|
|
update_340004
Update the session.id to varchar(64) to handle newer configs
Tags:
static method update_340005 [line 832]
static void update_340005(
)
|
|
update_340005
This update fixes the preferences types
Tags:
static method update_340006 [line 879]
static void update_340006(
)
|
|
update_340006
This just updates the size of the album_data table and removes the random_method config option
Tags:
static method update_340007 [line 919]
static void update_340007(
)
|
|
update_340007
This update converts the session.value to a longtext and adds a session_stream table
Tags:
static method update_340008 [line 955]
static void update_340008(
)
|
|
update_340008
This modifies the playlist table to handle the different types of objects that it needs to be able to store, and tweaks how dynamic playlist stuff works
Tags:
static method update_340009 [line 1005]
static void update_340009(
)
|
|
update_340009
This modifies the song table to handle pos fields
Tags:
static method update_340010 [line 1036]
static void update_340010(
)
|
|
update_340010
Bunch of minor tweaks to the preference table
Tags:
static method update_340011 [line 1075]
static void update_340011(
)
|
|
update_340011
This updates the democratic play stuff so that can handle a little more complext mojo It also adds yet another table to the db to handle the sessions for API access. Eventually should combine all of the session tables, but I'll do that later
Tags:
static method update_340012 [line 1100]
static void update_340012(
)
|
|
update_340012
This update adds in the democratic stuff, checks for some potentially screwed up indexes and removes the timestamp from the playlist, and adds the field to the catalog for the upload dir
Tags:
static method update_340013 [line 1131]
static void update_340013(
)
|
|
update_340013
This update removes a whole bunch of preferences that are no longer being used in any way, and changes the ACL XML-RPC to just RPC
Tags:
static method update_340014 [line 1165]
static void update_340014(
)
|
|
update_340014
This update drops the session_api table that I added just two updates ago it's been nice while it lasted but it's time to pack your stuff and GTFO at the same time it updates the core session table to handle the additional stuff we're going to ask it to do.
Tags:
static method update_340015 [line 1191]
static void update_340015(
)
|
|
update_340015
This update tweaks the playlist table responding to complaints from usres who say it doesn't work, unreproduceable. This also adds an index to the album art table to try to make the random album art faster
Tags:
static method update_340016 [line 1233]
static void update_340016(
)
|
|
update_340016
This adds in the base_playlist to the democratic table... should have done this in the previous one but I screwed up... sigh
Tags:
static method update_340017 [line 1249]
static void update_340017(
)
|
|
update_340017 This finalizes the democratic table.
and fixes the charset crap
Tags:
static method update_340018 [line 1275]
static void update_340018(
)
|
|
update_340018
This attempts to correct the charset on your database, it does some checking to make sure that if we do this it will actually will work. We will fail this update if it would cause problems
Tags:
static method update_350001 [line 1361]
static void update_350001(
)
|
|
update_350001
This updates modifies the tag tables per codeunde1load's specs from his tag patch it also adjusts the prefix fields so that we can use more prefixes
Tags:
static method update_350002 [line 1390]
static void update_350002(
)
|
|
update_350002
This update adds in the browse_cache table that we use to hold peoples cached browse results rather then try to store everything in the session we split them out into one serilized array per row, per person. A little slow this way when browsing, but faster when now browsing and more flexible
Tags:
static method update_350003 [line 1420]
static void update_350003(
)
|
|
update_350003 This update tweakes the tag tables a little bit more, we're going to simplify things for the first little bit and then then if it all works out we will worry about making it complex again. One thing at a time people...
Tags:
static method update_350004 [line 1449]
static void update_350004(
)
|
|
update_350004
This update makes some changes to the ACL table so that it can support IPv6 entries as well as some other feature enhancements
Tags:
static method update_350005 [line 1557]
static void update_350005(
)
|
|
update_350005
This update adds the video table... *gasp* no you didn't <head shake>
Tags:
constructor Update [line 46]
Update Update(
[
$key = 0])
|
|
Update
Constructor, pulls out information about the desired key
Parameters: