changeset 3555:91c495476db3 1.1.0

pre-release stuff and test fix
author Richard Jones <richard@users.sourceforge.net>
date Fri, 10 Feb 2006 00:16:13 +0000
parents 5e70726a86dd
children 878dc6cf6690
files doc/announcement.txt roundup/backends/indexer_dbm.py roundup/backends/indexer_xapian.py setup.py
diffstat 4 files changed, 43 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/doc/announcement.txt	Thu Feb 09 23:53:11 2006 +0000
+++ b/doc/announcement.txt	Fri Feb 10 00:16:13 2006 +0000
@@ -1,16 +1,23 @@
-I'm proud to release this, the 1.0.1 release of Roundup.
+I'm proud to release this, the 1.1.0 release of Roundup.
+
+Feature:
 
-Features in this release:
-
-- scripts/import_sf.py will import a tracker from Sourceforge.NET
-- added hasRole('Role Name') to HTMLUser
+- trackers may configure custom stop-words for the full-text indexer
+- login may now be for a single session (and this is the default)
+- trackers may hide exceptions from web users (they will be mailed to the
+  tracker admin) (hiding is the default)
+- include "clear this message" link in the "ok" message bar
 
-Fixed in this release:
+Fixed:
 
-- SQL generation for sort/group by separate Link properties (sf bug
-  1417565)
-- fix timezone offsetting in email Date: header
-- fix security check for hasPermission('Permission', None)
+- fixes in scripts/import_sf.py
+- fix some unicode bugs in roundup-admin import
+- Xapian indexer wasn't actually being used and its reindexing of existing
+  data was busted to boot
+- roundup-admin import wasn't indexing message content
+- allow dispname to be passed to renderWith (sf bug 1424587)
+- rename dispname to @dispname to avoid name clashes in the future
+- fixed schema migration problem when Class keys were removed
 
 If you're upgrading from an older version of Roundup you *must* follow
 the "Software Upgrade" guidelines given in the maintenance documentation.
--- a/roundup/backends/indexer_dbm.py	Thu Feb 09 23:53:11 2006 +0000
+++ b/roundup/backends/indexer_dbm.py	Fri Feb 10 00:16:13 2006 +0000
@@ -14,7 +14,7 @@
 #     that promote freedom, but obviously am giving up any rights
 #     to compel such.
 # 
-#$Id: indexer_dbm.py,v 1.7 2006-02-06 21:00:47 richard Exp $
+#$Id: indexer_dbm.py,v 1.8 2006-02-10 00:16:13 richard Exp $
 '''This module provides an indexer class, RoundupIndexer, that stores text
 indices in a roundup instance.  This class makes searching the content of
 messages, string properties and text files possible.
@@ -281,7 +281,6 @@
         return (hasattr(self,'fileids') and hasattr(self,'files') and
             hasattr(self,'words'))
 
-
     def rollback(self):
         ''' load last saved index info. '''
         self.load_index(reload=1)
--- a/roundup/backends/indexer_xapian.py	Thu Feb 09 23:53:11 2006 +0000
+++ b/roundup/backends/indexer_xapian.py	Fri Feb 10 00:16:13 2006 +0000
@@ -1,4 +1,4 @@
-#$Id: indexer_xapian.py,v 1.3 2006-02-07 04:59:05 richard Exp $
+#$Id: indexer_xapian.py,v 1.4 2006-02-10 00:16:13 richard Exp $
 ''' This implements the full-text indexer using the Xapian indexer.
 '''
 import re, os
@@ -33,6 +33,14 @@
         '''close the indexing database'''
         pass
   
+    def rollback(self):
+        if not self.transaction_active:
+            return
+        # XXX: Xapian databases don't actually implement transactions yet
+        database = self._get_database()
+        database.cancel_transaction()
+        self.transaction_active = False
+
     def force_reindex(self):
         '''Force a reindexing of the database.  This essentially
         empties the tables ids and index and sets a flag so
--- a/setup.py	Thu Feb 09 23:53:11 2006 +0000
+++ b/setup.py	Fri Feb 10 00:16:13 2006 +0000
@@ -16,7 +16,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 #
-# $Id: setup.py,v 1.87 2006-02-05 02:41:09 richard Exp $
+# $Id: setup.py,v 1.88 2006-02-10 00:16:12 richard Exp $
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
@@ -351,22 +351,28 @@
 If you're upgrading from an older version of Roundup you *must* follow
 the "Software Upgrade" guidelines given in the maintenance documentation.
 
-Features in this release:
+Feature:
 
-- scripts/import_sf.py will import a tracker from Sourceforge.NET
-- added hasRole('Role Name') to HTMLUser
+- trackers may configure custom stop-words for the full-text indexer
+- login may now be for a single session (and this is the default)
+- trackers may hide exceptions from web users (they will be mailed to the
+  tracker admin) (hiding is the default)
+- include "clear this message" link in the "ok" message bar
 
-Fixed in this release:
+Fixed:
 
-- SQL generation for sort/group by separate Link properties (sf bug
-  1417565)
-- fix timezone offsetting in email Date: header
-- fix security check for hasPermission('Permission', None)
+- fixes in scripts/import_sf.py
+- fix some unicode bugs in roundup-admin import
+- Xapian indexer wasn't actually being used and its reindexing of existing
+  data was busted to boot
+- roundup-admin import wasn't indexing message content
+- allow dispname to be passed to renderWith (sf bug 1424587)
+- rename dispname to @dispname to avoid name clashes in the future
+- fixed schema migration problem when Class keys were removed
 ''',
         'author': "Richard Jones",
         'author_email': "richard@users.sourceforge.net",
         'url': 'http://roundup.sourceforge.net/',
-        'download_url': 'http://sourceforge.net/project/showfiles.php?group_id=31577',
         'packages': packagelist,
         'classifiers': [
             'Development Status :: 5 - Production/Stable',

Roundup Issue Tracker: http://roundup-tracker.org/