// $Id: UPGRADE.txt 349 2010-12-19 00:15:12Z kmo $ Upgrading SimpleID ================== Introduction ------------ SimpleID is currently in heavy development, with the software changing rapidly. As a result, it is very important to upgrade SimpleID when a new version is released. General information on upgrading can be found at . This document sets out the additional steps which may need to be performed to upgrade to a specific version of SimpleID. Upgrading to SimpleID 0.8 ------------------------- SimpleID 0.8 does not require any additional steps as part of the upgrade process. However, you will still need to run the upgrade script to complete the upgrade. To run the script, use your web browser to go to http://www.exmaple.com/simpleid/upgrade.php where http://www.exmaple.com/simpleid/ is the URL of your SimpleID server (where you have moved the www directory). You will need to be logged in as an administrator to proceed with the script. Upgrading to SimpleID 0.7 ------------------------- 1. New storage framework SimpleID introduced a new storage framework. The new framework allows SimpleID to store additional information about your identity. As a result, you will need to be aware that there is a new configuration option called SIMPLEID_STORE_DIR, which specifies the directory where this information will be stored. This directory must exist and be readable and writable by the web server. If you are upgrading from SimpleID 0.6, this setting will default to the directory specified by SIMPLEID_CACHE_DIR in your config.inc. However, it is a good idea to place this in a separate directory. To do this, add the following line to your config.inc: define('SIMPLEID_STORE_DIR', ''); 2. Administrators SimpleID 0.7 introduced the concept of administrators. Administrators have access to certain functions which regular users cannot. To make a user an administrator, edit the user's identity file to include the following line: administrator=1 3. User Interface Extension SimpleID 0.7 introduced support for the draft OpenID User Interface Extension. It is enabled by default for new installations of SimpleID, however if you are upgrading you may need to enable it manually. To do so, edit your config.inc to change the SIMPLEID_EXTENSIONS configuration option to include ui. For example: define('SIMPLEID_EXTENSIONS', 'sreg,ui'); 4. Upgrade script SimpleID introduced a new upgrade script. This means that whenever you upgrade you will also need to run the script. To run the script, use your web browser to go to http://www.exmaple.com/simpleid/upgrade.php where http://www.exmaple.com/simpleid/ is the URL of your SimpleID server (where you have moved the www directory). You will need to be logged in as an administrator to proceed with the script. Upgrading to SimpleID 0.6 ------------------------- SimpleID version 0.6 introduced a new log in system. The new system allows you to log in to SimpleID without sending your password in plain text. Your password is used to create a cryptographic digest, which is then sent to the SimpleID server and verified. As a result, you need to be aware of two things: 1. You browser must have JavaScript switched on in order to use the new log in system. If JavaScript is not switched on, SimpleID reverts to the "legacy" log in system used in previous versions, subject to the important point below. 2. By default, SimpleID version 0.6 will not accept logins under the legacy system. You can override this by putting the following line in your config.inc: define('SIMPLEID_ALLOW_LEGACY_LOGIN', true); It is STRONGLY RECOMMENDED that you DO NOT switch the legacy login system on, as it is substantially less secure than the new login system. Use this ONLY if your browser does not support JavaScript.