2011-05-26 20:01:45 +00:00
=================================================
2009-09-20 09:28:36 +00:00
Upgrading SemanticScuttle from a previous version
=================================================
2011-07-04 16:14:58 +00:00
.. contents::
2010-06-09 06:05:48 +00:00
2011-08-09 06:12:02 +00:00
From version 0.94-0.98.1 to 0.98.3
2011-08-05 17:48:46 +00:00
==================================
Run ``scripts/fix-unfiled-tags.php`` to fix old bookmarks that miss the
``system:unfiled`` tags.
2011-05-04 06:02:33 +00:00
From version 0.97 to 0.98
2011-05-27 04:59:33 +00:00
=========================
Database updates
----------------
Apply ``data/schema/6.sql``
2011-05-04 06:02:33 +00:00
2011-05-13 18:26:51 +00:00
ALTER TABLE `sc_users` ADD `privateKey` VARCHAR(33) NULL;
2011-05-15 03:08:46 +00:00
CREATE UNIQUE INDEX `privateKey` ON `sc_users` (`privateKey`);
2011-05-13 18:26:51 +00:00
2011-05-04 06:02:33 +00:00
2010-06-09 06:05:48 +00:00
From version 0.96 to 0.97
2011-05-27 04:59:33 +00:00
=========================
2010-06-09 06:05:48 +00:00
No database changes necessary.
2009-11-23 19:11:33 +00:00
From version 0.95 to 0.96
2011-05-27 04:59:33 +00:00
=========================
Database updates
----------------
Apply ``data/schema/5.sql``
2009-11-23 19:11:33 +00:00
2011-05-27 04:59:33 +00:00
API
---
The method signatures of ``addBookmark()`` and ``updateBookmark()``
changed due to the addition of the ``$short`` parameter.
2009-11-23 19:11:33 +00:00
2010-02-08 07:32:53 +00:00
We got complaints about the changed file structure, and people told
2011-05-27 04:59:33 +00:00
us that they just cannot set the document root to ``www/``, because they
are not admins on their HTTP server. This is a valid point, and
with 0.96.0 you can easily change it. See `INSTALL.txt`_ for more information
about moving ``www/``.
.. _INSTALL.txt: INSTALL.html
2010-02-08 07:32:53 +00:00
2009-11-23 19:11:33 +00:00
From version 0.94 to 0.95
2011-05-27 04:59:33 +00:00
=========================
2009-11-10 17:50:25 +00:00
The file structure completely changed in 0.95.0 compared
to previous versions. We recommend that you start with a
2011-05-27 04:59:33 +00:00
fresh installation, just copying over your ``config.php`` file.
Set your web server document root directory to ``www/``.
2009-11-10 17:50:25 +00:00
2009-11-10 17:56:53 +00:00
Yes, we kind of lost the ability to run SemanticScuttle
in a subdirectory of a hostname. This functionality will
be back in one of the next releases, but for now, you have
to live with it.
2011-05-27 04:59:33 +00:00
Update your database
--------------------
Apply ``data/schema/4.sql``.
2009-10-23 16:54:51 +00:00
2009-11-10 17:50:25 +00:00
Currently, only MySQL can be used as database backend.
All other DBMS (database management systems) have not been
tested except for PostgreSQL, and SemanticScuttle fails there.
2011-05-27 04:59:33 +00:00
Translation
-----------
The ``de_AT`` translation has been re-added. This is because
``de_AT`` provides a rather ugly "official German" style,
while the normal ``de_DE`` is friendlier. Choose what you like.
2009-11-10 17:50:25 +00:00
2009-10-23 16:54:51 +00:00
2009-09-29 10:37:12 +00:00
From version 0.93 to 0.94
2011-05-27 04:59:33 +00:00
=========================
2009-09-29 10:37:12 +00:00
- Nothing changed except for the default configuration file.
It is recommended to start with a fresh config file,
but not neccesary. Old config files still work.
2011-05-27 04:59:33 +00:00
- If you used translation ``de_AT``, please switch to ``de_DE``.
``de_AT`` was moved to ``de_DE`` and ``de_AT`` has been removed.
2009-09-29 10:37:12 +00:00
2009-09-20 09:28:36 +00:00
From version 0.92 to 0.93
2011-05-27 04:59:33 +00:00
=========================
2008-04-09 08:57:39 +00:00
2009-02-27 09:00:18 +00:00
- Backup your database
2009-02-16 16:31:44 +00:00
- Make a copy from your SemanticScuttle Web directory
2011-05-27 04:59:33 +00:00
- Upgrade your current configuration file (``config.inc.php``) with respect to ``config.inc.php.example`` ::
$footerMessage = ''; #HTML message appearing at the bottom of the page (just above SemanticScuttle credits)
$sidebarTopMessage = ''; #HTML message appearing at the top of the sidebar
$sidebarBottomMessage = ''; #HTML message appearing at the bottom of the sidebar
$adminsCanModifyBookmarksFromOtherUsers = true; # 'true' if admin users can edit or delete bookmarks belonging to other users. Else 'false'.
$adminsAreAdvisedTagsFromOtherAdmins = false; # 'true' if tags from other admins are proposed to each admin (in add/edit a bookmark page). Else 'false'.
$defaultPerPageForAdmins = 20; # default number of bookmarks per page for admins (-1 means no limit)
2009-05-19 15:59:55 +00:00
2009-02-16 16:31:44 +00:00
2009-09-20 09:28:36 +00:00
From version 0.91 to 0.92
2011-05-27 04:59:33 +00:00
=========================
2009-02-05 15:22:03 +00:00
Message: this version modifies the database to UTF-8 charset. The idea is to convert the content (through BLOB type) and then to change the tables' charsets.
2009-02-27 09:00:18 +00:00
- Backup your database
2009-01-12 14:21:21 +00:00
- Make a copy from your SemanticScuttle Web directory
2011-05-27 04:59:33 +00:00
- Upgrade your database by applying ``data/schema/3.sql``
- Upgrade your current configuration file (``config.inc.php``) with respect to ``config.inc.php.example``
2009-01-12 16:40:39 +00:00
2011-05-27 04:59:33 +00:00
- Add variable ::
$descriptionAnchors = array("author", "isbn", "address"=>"[address][street][/street][city][/city][/address]"); #add a possible anchor (structured content) for bookmarks' description field
- Add variable ::
$enableCommonTagDescriptionEditedByAll = true; #true mean everybody can edit common description. Else just the admins can do it.
- Add variable ::
$googleAnalyticsCode = ''; #Allow GoogleAnalytics tracker https://www.google.com/analytics/
2008-11-21 10:44:28 +00:00
2009-09-20 09:28:36 +00:00
From version 0.90 to 0.91
2011-05-27 04:59:33 +00:00
=========================
2008-11-13 14:38:04 +00:00
- Backup you database
- Make a copy from your SemanticScuttle Web directory
2011-05-27 04:59:33 +00:00
- Upgrade your database by applying ``data/schema/2.sql``
- Upgrade your current configuration file (``config.inc.php``) with respect to ``config.inc.php.example``
2008-11-21 10:44:28 +00:00
2011-05-27 04:59:33 +00:00
- Delete last line ::
2009-09-20 09:28:36 +00:00
2011-05-27 04:59:33 +00:00
include_once('debug.inc.php');
2009-09-20 09:28:36 +00:00
2011-05-27 04:59:33 +00:00
- Add variable::
2008-11-13 14:38:04 +00:00
2011-05-27 04:59:33 +00:00
$menu2Tags = array('example', 'of', 'menu', 'tags');
2008-11-13 14:38:04 +00:00
2011-05-27 04:59:33 +00:00
- Add variable::
2008-11-13 14:38:04 +00:00
2011-05-27 04:59:33 +00:00
$debugMode = true; # if true, show debug messages
2008-11-13 14:38:04 +00:00
2011-05-27 04:59:33 +00:00
From version 0.89 to 0.90
=========================
2009-09-20 09:28:36 +00:00
2008-04-09 08:57:39 +00:00
- Backup you database
- Make a copy from your SemanticScuttle Web directory
2008-04-21 08:44:44 +00:00
2011-05-27 04:59:33 +00:00
- Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example
2008-04-21 08:44:44 +00:00
2011-05-27 04:59:33 +00:00
add these lines under ``$enableWebsiteThumbnails = false; # enableWebsiteThumbnails {true|false}``::
2008-04-21 08:44:44 +00:00
2011-05-27 04:59:33 +00:00
$thumbnailsUserId = '';
$thumbnailsKey = '';
2008-04-21 08:44:44 +00:00
2011-05-27 04:59:33 +00:00
From version 0.88 to 0.89
=========================
2008-04-09 08:57:39 +00:00
2011-05-27 04:59:33 +00:00
- Backup you database
- Make a copy from your SemanticScuttle Web directory
- Upgrade your database by applying ``data/schema/1.sql``
- Upgrade your current configuration file (``config.inc.php``) with respect to ``config.inc.php.example``
2008-04-09 08:57:39 +00:00
2011-05-27 04:59:33 +00:00
- add line::
2008-05-13 17:27:47 +00:00
2008-04-09 08:57:39 +00:00
$sizeSearchHistory = 10;
2011-05-27 04:59:33 +00:00
- add sidebar block index line::
2008-05-28 12:28:52 +00:00
$index_sidebar_blocks = array('search','menu','users','popular');
2011-05-27 04:59:33 +00:00
- add line::
2008-06-01 13:17:54 +00:00
$enableGoogleCustomSearch = true;