Skip to content

Commit e0574a1

Browse files
author
Richard Jones
committed
pre-release stuff and test fix
1 parent 574a14c commit e0574a1

File tree

4 files changed

+46
-26
lines changed

4 files changed

+46
-26
lines changed

doc/announcement.txt

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
I'm proud to release this, the 1.0.1 release of Roundup.
2-
3-
Features in this release:
4-
5-
- scripts/import_sf.py will import a tracker from Sourceforge.NET
6-
- added hasRole('Role Name') to HTMLUser
7-
8-
Fixed in this release:
9-
10-
- SQL generation for sort/group by separate Link properties (sf bug
11-
1417565)
12-
- fix timezone offsetting in email Date: header
13-
- fix security check for hasPermission('Permission', None)
1+
I'm proud to release this, the 1.1.0 release of Roundup.
2+
3+
Feature:
4+
5+
- trackers may configure custom stop-words for the full-text indexer
6+
- login may now be for a single session (and this is the default)
7+
- trackers may hide exceptions from web users (they will be mailed to the
8+
tracker admin) (hiding is the default)
9+
- include "clear this message" link in the "ok" message bar
10+
11+
Fixed:
12+
13+
- fixes in scripts/import_sf.py
14+
- fix some unicode bugs in roundup-admin import
15+
- Xapian indexer wasn't actually being used and its reindexing of existing
16+
data was busted to boot
17+
- roundup-admin import wasn't indexing message content
18+
- allow dispname to be passed to renderWith (sf bug 1424587)
19+
- rename dispname to @dispname to avoid name clashes in the future
20+
- fixed schema migration problem when Class keys were removed
1421

1522
If you're upgrading from an older version of Roundup you *must* follow
1623
the "Software Upgrade" guidelines given in the maintenance documentation.

roundup/backends/indexer_dbm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# that promote freedom, but obviously am giving up any rights
1515
# to compel such.
1616
#
17-
#$Id: indexer_dbm.py,v 1.7 2006-02-06 21:00:47 richard Exp $
17+
#$Id: indexer_dbm.py,v 1.8 2006-02-10 00:16:13 richard Exp $
1818
'''This module provides an indexer class, RoundupIndexer, that stores text
1919
indices in a roundup instance. This class makes searching the content of
2020
messages, string properties and text files possible.
@@ -281,7 +281,6 @@ def index_loaded(self):
281281
return (hasattr(self,'fileids') and hasattr(self,'files') and
282282
hasattr(self,'words'))
283283

284-
285284
def rollback(self):
286285
''' load last saved index info. '''
287286
self.load_index(reload=1)

roundup/backends/indexer_xapian.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: indexer_xapian.py,v 1.3 2006-02-07 04:59:05 richard Exp $
1+
#$Id: indexer_xapian.py,v 1.4 2006-02-10 00:16:13 richard Exp $
22
''' This implements the full-text indexer using the Xapian indexer.
33
'''
44
import re, os
@@ -33,6 +33,14 @@ def close(self):
3333
'''close the indexing database'''
3434
pass
3535

36+
def rollback(self):
37+
if not self.transaction_active:
38+
return
39+
# XXX: Xapian databases don't actually implement transactions yet
40+
database = self._get_database()
41+
database.cancel_transaction()
42+
self.transaction_active = False
43+
3644
def force_reindex(self):
3745
'''Force a reindexing of the database. This essentially
3846
empties the tables ids and index and sets a flag so

setup.py

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: setup.py,v 1.87 2006-02-05 02:41:09 richard Exp $
19+
# $Id: setup.py,v 1.88 2006-02-10 00:16:12 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -351,22 +351,28 @@ def main():
351351
If you're upgrading from an older version of Roundup you *must* follow
352352
the "Software Upgrade" guidelines given in the maintenance documentation.
353353
354-
Features in this release:
354+
Feature:
355355
356-
- scripts/import_sf.py will import a tracker from Sourceforge.NET
357-
- added hasRole('Role Name') to HTMLUser
356+
- trackers may configure custom stop-words for the full-text indexer
357+
- login may now be for a single session (and this is the default)
358+
- trackers may hide exceptions from web users (they will be mailed to the
359+
tracker admin) (hiding is the default)
360+
- include "clear this message" link in the "ok" message bar
358361
359-
Fixed in this release:
362+
Fixed:
360363
361-
- SQL generation for sort/group by separate Link properties (sf bug
362-
1417565)
363-
- fix timezone offsetting in email Date: header
364-
- fix security check for hasPermission('Permission', None)
364+
- fixes in scripts/import_sf.py
365+
- fix some unicode bugs in roundup-admin import
366+
- Xapian indexer wasn't actually being used and its reindexing of existing
367+
data was busted to boot
368+
- roundup-admin import wasn't indexing message content
369+
- allow dispname to be passed to renderWith (sf bug 1424587)
370+
- rename dispname to @dispname to avoid name clashes in the future
371+
- fixed schema migration problem when Class keys were removed
365372
''',
366373
'author': "Richard Jones",
367374
'author_email': "[email protected]",
368375
'url': 'http://roundup.sourceforge.net/',
369-
'download_url': 'http://sourceforge.net/project/showfiles.php?group_id=31577',
370376
'packages': packagelist,
371377
'classifiers': [
372378
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)