Skip to content

Commit 4eca862

Browse files
author
Richard Jones
committed
fix Mutlilink display
1 parent 1215b41 commit 4eca862

File tree

5 files changed

+47
-37
lines changed

5 files changed

+47
-37
lines changed

CHANGES.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
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.4
4+
2005-??-?? 0.8.5
5+
Fixed:
6+
- Display of Multilinks where linked Class labelprop values are None
7+
8+
9+
2005-07-18 0.8.4
510
Fixed:
611
- extra CRs in CSV export files on Windows platform (sf bug 1195742)
712
- activity RDBMS columns were being reported in changes

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
STXTOHTML = rst2html.py
1+
STXTOHTML = rest2html
22
STXTOHT = rst2ht.py
33
WEBDIR = ../../htdocs/htdocs/doc-0.8
44

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.5 2005-05-02 06:13:10 richard Exp $
18+
# $Id: __init__.py,v 1.31.2.6 2005-07-27 22:54:12 richard Exp $
1919

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

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

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

roundup/cgi/templating.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,10 @@ def lookupKeys(linkcl, key, ids, num_re=re.compile('^-?\d+$')):
382382
l = []
383383
for entry in ids:
384384
if num_re.match(entry):
385-
l.append(linkcl.get(entry, key))
385+
label = linkcl.get(entry, key)
386+
# fall back to designator if label is None
387+
if label is None: label = '%s%s'%(linkcl.classname, entry)
388+
l.append(label)
386389
else:
387390
l.append(entry)
388391
return l
@@ -934,6 +937,9 @@ def history(self, direction='descending', dre=re.compile('^\d+$')):
934937
if hrefable:
935938
subml.append('<a href="%s%s">%s</a>'%(
936939
classname, linkid, label))
940+
elif label is None:
941+
subml.append('%s%s'%(classname,
942+
linkid))
937943
else:
938944
subml.append(label)
939945
ml.append(sublabel + ', '.join(subml))
@@ -1806,7 +1812,10 @@ def plain(self, escape=0):
18061812
k = linkcl.labelprop(1)
18071813
labels = []
18081814
for v in self._value:
1809-
labels.append(linkcl.get(v, k))
1815+
label = linkcl.get(v, k)
1816+
# fall back to designator if label is None
1817+
if label is None: label = '%s%s'%(self._prop.classname, k)
1818+
labels.append(label)
18101819
value = ', '.join(labels)
18111820
if escape:
18121821
value = cgi.escape(value)

setup.py

Lines changed: 27 additions & 31 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.9 2005-05-02 06:13:10 richard Exp $
19+
# $Id: setup.py,v 1.77.2.10 2005-07-27 22:54:10 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -348,39 +348,35 @@ 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-
352-
This 0.8.3 release adds one feature and fixes some bugs:
353-
354-
Feature:
355-
356-
- chinese translation by limodou
351+
This 0.8.4 release fixes some bugs:
357352
358353
Fixed:
359354
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
355+
- extra CRs in CSV export files on Windows platform (sf bug 1195742)
356+
- activity RDBMS columns were being reported in changes
357+
- fix name collision in roundup.cgi script (sf bug 1203795)
358+
- fix handling of invalid interval input
359+
- search locale files relative ro roundup installation path (sf bug 1219689)
360+
- use translation for boolean property rendering (sf bug 1225152)
361+
- enabled disabling of REMOTE_USER for when it's not a valid username (sf
362+
bug 1190187)
363+
- fix invocation of hasPermission from templating code (sf bug 1224172)
364+
- have 'roundup-admin security' display property restrictions (sf bug
365+
1222135)
366+
- fixed templating menu() sort_on handling (sf bug 1221936)
367+
- allow specification of pagesize, sorting and filtering in "classhelp"
368+
popups (sf bug 1211800)
369+
- handle dropped properies in rdbms/metakit journal export (sf bug 1203569)
370+
- handle missing Subject lines better (sf bug 1198729)
371+
- sort/group by missing values correctly (sf bugs 1198623, 1176897)
372+
- discard, don't bounce messages to the mailgw when the messages's sender
373+
is invalid (ie. when we try to bounce, we get a 550 "unknown user
374+
account" response from the SMTP server) (sf bug 1190906)
375+
- removed debugging code from cgi/actions.py
376+
- refactored hyperdb.rawToHyperdb, allowing a number of improvements
377+
(thanks Ralf Schlatterbeck)
378+
- don't try to set a timeout for IMAPS (thanks Paul Jimenez)
379+
- present Reject exception messages to web users (sf bug 1237685)
384380
385381
If you're upgrading from an older version of Roundup you *must* follow
386382
the "Software Upgrade" guidelines given in the maintenance documentation.

0 commit comments

Comments
 (0)