Skip to content

Commit c9c2f66

Browse files
author
Richard Jones
committed
fix roundup-admin "find" for searching Multilinks [SF#1189465]
1 parent 1956e6d commit c9c2f66

File tree

5 files changed

+67
-30
lines changed

5 files changed

+67
-30
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4-
2005-??-?? 0.8.3
4+
2005-05-02 0.8.3
55
Feature:
66
- chinese translation by limodou
77

@@ -30,6 +30,7 @@ Fixed:
3030
the csv module appears to have its own ideas about such things (sf bug
3131
1163890)
3232
- fix installation docs referring to old-style configuration variables
33+
- fix roundup-admin "find" for searching Multilinks (sf bug 1189465)
3334

3435

3536
2005-03-03 0.8.2

doc/announcement.txt

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,36 @@ Roundup is a simple-to-use and -install issue-tracking system with
22
command-line, web and e-mail interfaces. It is based on the winning design
33
from Ka-Ping Yee in the Software Carpentry "Track" design competition.
44

5-
This 0.8.2 release adds one feature and fixes some bugs:
5+
This 0.8.3 release adds one feature and fixes some bugs:
66

77
Feature:
8-
9-
- roundup-server automatically redirects from trackers list
10-
to the tracker page if there is only one tracker
8+
- chinese translation by limodou
119

1210
Fixed:
13-
14-
- added content to ZRoundup refresh.txt file (sf bug 1147622)
15-
- fix invalid reference to csv.colon_separated
16-
- correct URL to What's New in setup.py meta-data
17-
- change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
18-
- compile message objects in 'setup.py build'
19-
- use backend datatype for journal timestamps in RDBMSes
20-
- fixes to the "Using an external password validation source"
21-
customisation example (sf bugs 1153640 and 1155108)
11+
- fix reference to The Zope Book in Roundup FAQ
12+
- disabled file logging in Roundup test suite (sf bug 1155649)
13+
- return original string if message issue xref isn't valid
14+
- fix nosyreaction.py to stop it setting the nosy list unnecessarily
15+
(see doc/upgrading.txt for how to fix in your trackers)
16+
- after logout, always display tracker home page
17+
- web forms don't create new items if no item properties are set from UI
18+
- item creation failed if multilink fields had invalid entries (sf bug
19+
1177602)
20+
- fix bdist_rpm (sf bug 1164328)
21+
- fix checking of "Email Access" for Anonymous email registration (sf bug
22+
1177057)
23+
- disable "Email Access" for Anonymous by default to stop spam regsitering
24+
users on public trackers
25+
- send errors in the web interface to a logfile by default. Use the
26+
"debug" multiprocess mode (roundup-server) or the DEBUG_TO_CLIENT var
27+
(roundup.cgi) to have the errors appear in your browser
28+
- fix setgid typo (sf bug 1171346)
29+
- fix faulty find_template filename facility (sf bug 1163629)
30+
- fix roundup-admin "export" so it creates the target dir if needed
31+
- "fix" roundup-admin "import" to not use "universal newline support" since
32+
the csv module appears to have its own ideas about such things (sf bug
33+
1163890)
34+
- fix installation docs referring to old-style configuration variables
2235

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

roundup/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: __init__.py,v 1.31.2.4 2005-03-03 04:47:35 richard Exp $
18+
# $Id: __init__.py,v 1.31.2.5 2005-05-02 06:13:10 richard Exp $
1919

2020
'''Roundup - issue tracking for knowledge workers.
2121
@@ -68,6 +68,6 @@
6868
'''
6969
__docformat__ = 'restructuredtext'
7070

71-
__version__ = '0.8.2'
71+
__version__ = '0.8.3'
7272

7373
# vim: set filetype=python ts=4 sw=4 et si

roundup/admin.py

Lines changed: 7 additions & 2 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: admin.py,v 1.85.2.5 2005-04-13 07:00:21 richard Exp $
19+
# $Id: admin.py,v 1.85.2.6 2005-05-02 06:13:10 richard Exp $
2020

2121
'''Administration commands for maintaining Roundup trackers.
2222
'''
@@ -645,7 +645,12 @@ def do_find(self, args):
645645
values = [value]
646646
d = props[propname] = {}
647647
for value in values:
648-
d[hyperdb.rawToHyperdb(self.db, cl, None, propname, value)] = 1
648+
value = hyperdb.rawToHyperdb(self.db, cl, None, propname, value)
649+
if isinstance(value, list):
650+
for entry in value:
651+
d[entry] = 1
652+
else:
653+
d[value] = 1
649654

650655
# now do the find
651656
try:

setup.py

Lines changed: 30 additions & 12 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.77.2.8 2005-04-07 07:24:43 a1s Exp $
19+
# $Id: setup.py,v 1.77.2.9 2005-05-02 06:13:10 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -348,21 +348,39 @@ def main():
348348
command-line, web and e-mail interfaces. It is based on the winning design
349349
from Ka-Ping Yee in the Software Carpentry "Track" design competition.
350350
351-
This 0.8.2 release adds one feature and fixes some bugs:
351+
352+
This 0.8.3 release adds one feature and fixes some bugs:
352353
353354
Feature:
354-
- roundup-server automatically redirects from trackers list
355-
to the tracker page if there is only one tracker
355+
356+
- chinese translation by limodou
356357
357358
Fixed:
358-
- added content to ZRoundup refresh.txt file (sf bug 1147622)
359-
- fix invalid reference to csv.colon_separated
360-
- correct URL to What's New in setup.py meta-data
361-
- change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
362-
- compile message objects in 'setup.py build'
363-
- use backend datatype for journal timestamps in RDBMSes
364-
- fixes to the "Using an external password validation source"
365-
customisation example (sf bugs 1153640 and 1155108)
359+
360+
- fix reference to The Zope Book in Roundup FAQ
361+
- disabled file logging in Roundup test suite (sf bug 1155649)
362+
- return original string if message issue xref isn't valid
363+
- fix nosyreaction.py to stop it setting the nosy list unnecessarily
364+
(see doc/upgrading.txt for how to fix in your trackers)
365+
- after logout, always display tracker home page
366+
- web forms don't create new items if no item properties are set from UI
367+
- item creation failed if multilink fields had invalid entries (sf bug
368+
1177602)
369+
- fix bdist_rpm (sf bug 1164328)
370+
- fix checking of "Email Access" for Anonymous email registration (sf bug
371+
1177057)
372+
- disable "Email Access" for Anonymous by default to stop spam regsitering
373+
users on public trackers
374+
- send errors in the web interface to a logfile by default. Use the
375+
"debug" multiprocess mode (roundup-server) or the DEBUG_TO_CLIENT var
376+
(roundup.cgi) to have the errors appear in your browser
377+
- fix setgid typo (sf bug 1171346)
378+
- fix faulty find_template filename facility (sf bug 1163629)
379+
- fix roundup-admin "export" so it creates the target dir if needed
380+
- "fix" roundup-admin "import" to not use "universal newline support" since
381+
the csv module appears to have its own ideas about such things (sf bug
382+
1163890)
383+
- fix installation docs referring to old-style configuration variables
366384
367385
If you're upgrading from an older version of Roundup you *must* follow
368386
the "Software Upgrade" guidelines given in the maintenance documentation.

0 commit comments

Comments
 (0)