Commit Graph

6 Commits

Author SHA1 Message Date
Bharat Mediratta
bfca0c7903 Refactor the install/upgrade code to be more flexible.
Add xxx_installer::upgrade($version) method so that upgrade stanzas
are separate from install stanzas.  In the old code, to do an upgrade
meant that you had to re-evolve everything from the initial install
because we'd step through each version's changes.  But what we really
want is for the initial install to start off in the perfect initial
state, and the upgrades to do the work behind the scenes.  So now the
install() function gets things set up properly the first time, and the
upgrade() function does any work to catch you up to the latest code.
See gallery_installer.php for a good example.
2009-06-23 12:00:49 -07:00
Bharat Mediratta
4118ca4f1d Provide a way for non-admins to authenticate and use the upgrader,
without using our regular code paths.
2009-06-10 21:05:24 -07:00
Bharat Mediratta
8c0d48b001 Add CLI sapi support 2009-06-10 01:23:44 -07:00
Bharat Mediratta
d6b808b726 Add security checks 2009-06-09 21:27:55 -07:00
Bharat Mediratta
2fd322deea ACtually implement the upgrader, and add a confirmation box when the
upgrade is complete.
2009-06-09 21:26:37 -07:00
Bharat Mediratta
a20246b738 Say hello to the new upgrader UI. 2009-06-09 20:33:06 -07:00