Skip to content

Commit c277d5b

Browse files
author
Richard Jones
committed
merge from HEAD, pre-release stuff
1 parent f0e4e41 commit c277d5b

File tree

5 files changed

+14
-25
lines changed

5 files changed

+14
-25
lines changed

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
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+
2004-10-15 0.7.8
5+
Fixed:
6+
- Clean out sessions / otks tables when migrating
7+
8+
49
2004-10-11 0.7.7
510
Fixed:
611
- ZRoundup's search interface works now (sf bug 994957)

demo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Copyright (c) 2003 Richard Jones ([email protected])
44
#
5-
# $Id: demo.py,v 1.10 2004-03-31 23:07:51 richard Exp $
5+
# $Id: demo.py,v 1.10.2.1 2004-10-14 22:28:02 richard Exp $
66

77
import sys, os, string, re, urlparse
88
import shutil, socket, errno, BaseHTTPServer
@@ -28,7 +28,8 @@ class config:
2828
class config:
2929
POSTGRESQL_DATABASE = {'database': 'rounduptest'}
3030
DATABASE = 'home'
31-
module.db_nuke(config, 1)
31+
if module.db_exists(config):
32+
module.db_nuke(config)
3233

3334
init.install(home, os.path.join('templates', 'classic'))
3435
# don't have email flying around

doc/announcement.txt

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,9 @@ 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-
0.7.7 is a bug fix release, including:
5+
0.7.8 is a bug fix release, patching a problem in the 0.7.7 release:
66

7-
- ZRoundup's search interface works now (sf bug 994957)
8-
- fixed history display when "ascending"
9-
- removed references to py2.3+ boolean values (sf bug 995682)
10-
- fix static file path normalisation in security check (thanks David Linke)
11-
- less specific messages for login failures (thanks Chris Withers)
12-
- Reject raised against email messages should result in email rejection, not
13-
discarding of the message
14-
- mailgw can override the MAIL_DEFAULT_CLASS
15-
- handle Py2.3+ datetime objects as Date specs (sf bug 971300)
16-
- use row locking in MySQL newid() (sf bug 1034211)
17-
- add sanity check for sort and group on same property (sf bug 1033477)
18-
- extend OTK and session table value cols to TEXT (sf bug 1031271)
19-
- fix lookup of REMOTE_USER (sf bug 1002923)
20-
- new Interval props weren't created properly in rdbms
21-
- date.Interval() now accepts an Interval as a spec (sf bug 1041266)
22-
- handle deleted properties in RDBMS history
23-
- apply timezone in correct direction in user input (sf bug 1013097)
24-
- more efficient find() in RDBMS (sf bug 1012781)
25-
- pydotorg-specific change to mailgw to handle bizzaro permissions ;)
7+
- Clean out sessions / otks tables when migrating
268

279
If you're upgrading from an older version of Roundup you *must* follow
2810
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.30.2.7 2004-10-11 05:25:47 richard Exp $
18+
# $Id: __init__.py,v 1.30.2.8 2004-10-14 22:28:02 richard Exp $
1919

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

71-
__version__ = '0.7.7'
71+
__version__ = '0.7.8'
7272

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

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.98.2.23 2004-10-08 01:29:30 richard Exp $
1+
# $Id: rdbms_common.py,v 1.98.2.24 2004-10-14 22:28:02 richard Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -231,6 +231,7 @@ def upgrade_db(self):
231231
def fix_version_3_tables(self):
232232
# drop the shorter VARCHAR OTK column and add a new TEXT one
233233
for name in ('otk', 'session'):
234+
self.sql('DELETE FROM %ss'%name)
234235
self.sql('ALTER TABLE %ss DROP %s_value'%(name, name))
235236
self.sql('ALTER TABLE %ss ADD %s_value TEXT'%(name, name))
236237

0 commit comments

Comments
 (0)