Skip to content

Commit f928642

Browse files
author
Richard Jones
committed
added mention of the new "minimal" template...
...and cleaned up Admin links in classic
1 parent f8f0203 commit f928642

File tree

5 files changed

+77
-47
lines changed

5 files changed

+77
-47
lines changed

doc/announcement.txt

Lines changed: 54 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,76 @@
1-
=====================================================
2-
SC-Track Roundup 0.5 beta2 - an issue tracking system
3-
=====================================================
1+
=================================================================
2+
SC-Track Roundup 0.5 final pre-release - an issue tracking system
3+
=================================================================
44

5-
Note: This is the first of two beta releases of the newest version of Roundup.
6-
It is strongly recommended that you maintain your existing 0.4 installation if
7-
you have one, and run 0.5 on a copy of the database. If you are upgrading from
8-
0.4, you must read doc/upgrading.txt!
5+
Note: This is the final pre-release of the newest version of Roundup. It is
6+
strongly recommended that you maintain your existing 0.4 installation if
7+
you have one, and run 0.5 on a copy of the database. If you are
8+
upgrading from 0.4, you must read doc/upgrading.txt!
99

1010
Roundup requires python 2.1.1 for correct operation. Support for dumbdbm
1111
requires python 2.1.2 or 2.2. 2.1.3 and 2.2.1 are recommended.
1212

1313
This beta release fixes the following specific problems:
1414

15-
- all backends now have a .close() method, and it's used everywhere
16-
- fixed bug in detectors __init__
17-
- switched the default issue item display to only show issue summary (added
18-
instructions to doc to make it display entire content)
19-
- MANIFEST.in was missing a lot of template files
20-
- added generic item editing
21-
- much nicer layout of template rendering errors
22-
- added context/is_edit_ok and context/is_view_ok convenience methods and
23-
implemented use of them in the classic template
15+
- fixes to import/export
16+
- password edit now has a confirmation field
17+
- cleanups and fixes to the shipped classic template
18+
- new backend for sqlite (and it rocks :)
19+
- many performance improvements in dbm and sql backends
20+
- cgi.client base URL is now obtained from the config TRACKER_WEB (as a result
21+
request.url has gone away - there's too much magic in trying to figure
22+
what it should be)
23+
- cgi-bin script redirects to https now if the request was https
24+
- FileClass "content" property wasn't being returned by getprops() in most
25+
backends
26+
- we now verify instance attributes on instance open and throw a useful error
27+
if they're not all there
28+
- sf bug 611217 ] menu() has problems when labelprop==None
29+
- verify contents of tracker module when the tracker is opened
30+
- fixes to value parsing from edit forms
31+
- mailgw was missing an "import sys" (!)
32+
- setup now installs scripts with python -O flag, doubling performance in some
33+
cases (there's a lot of __debug__ use)
34+
- added getItem to HTMLClass so you can access arbitrary items in templates
35+
- replaced the content() callback ickiness with Page Template macro usage
36+
- changed the default CSS style to be less offensive to some ;)
37+
- better handling of Page Template compilation errors
38+
- sf bug 614188 ] Exception in mailgw.py
39+
- sf bug 613310 ] traceback on onexistant items
40+
- sf bug 613291 ] typos in nosy list
41+
- handle stupid mailers that QUOTE their Re; 'Re: "[issue1] bla blah"'
42+
- giving a user a Role that doesn't exist doesn't break stuff any more
43+
- revamped user guide, customisation guide, added basic maintenance guide
44+
- merge Zope Collector #580 fix from ZPT CVS trunk
45+
- added the "minimal" template
2446

2547
A lot has been done since 0.4:
2648

2749
- new backend for metakit (thanks Gordon McMillan)
50+
- new backend for sqlite
2851
- new backend for gadfly (it's as done as it's going to get)
2952
- further split the dbm backends from the core code, allowing easier
3053
non-dict-like backends (eg metakit, RDB)
31-
- implemented and used the new access control mechanisms (Permissions, Roles)
32-
- switched templating to use Zope's PageTemplates (yay!)
33-
- switched to sessions for web authentication
3454
- added Boolean and Number types
35-
- full-text search may also search certain String properties
3655
- fixed the journal bloat
37-
- updated design document for new access controls
38-
- updated customisation document, including more examples
56+
- full-text search may also search certain String properties
3957
- entire database export and import (incl files)
40-
- better mailgw help message (feature request #558562)
41-
- re-enabled link backrefs from messages (feature request #568714)
42-
- the page layout is now templatable
58+
- implemented and used the new access control mechanisms (Permissions, Roles)
59+
- switched templating to use Zope's PageTemplates giving much more flexibility
60+
- revamped look and feel in web interface including cleaned up CSS usage
4361
- re-worked cgi interface to abstract out the explicit "issue" interface
44-
- have index page handle mid-page errors better so header and footer are
45-
still visible
62+
- switched to sessions for web authentication
4663
- saving of named search queries
64+
- updated design document for new access controls
65+
- updated customisation document, including more examples
66+
- added maintenance guide
67+
- better mailgw help message (feature request #558562)
4768
- we handle "not found", access and item page render errors better
4869
- fixed double-submit by having new-item-submit redirect at end
49-
- daemonify roundup-server (fork, logfile, pidfile)
50-
- modify cgitb to display PageTemplate errors better
51-
- rename to "instance" to "tracker"
52-
- have roundup.cgi pick up tracker config from the environment
53-
- revamped look and feel in web interface
54-
- cleaned up stylesheet usage
55-
- several bug fixes and documentation fixes
70+
- roundup-server may be a daemon now (fork, logfile, pidfile)
71+
- renamed "instance" to "tracker" everywhere, and "node" to "item" in most
72+
places
73+
- many more bug fixes, cleanups and minor improvements
5674

5775
Source and documentation is available at the website:
5876
http://roundup.sourceforge.net/
@@ -87,6 +105,6 @@ doesn't even need to be "installed" to be operational, though a
87105
disutils-based install script is provided.
88106

89107
It comes with two issue tracker templates (a classic bug/feature tracker and
90-
a help desk) and five database back-ends (anydbm, bsddb, bsddb3, metakit and
91-
gadfly).
108+
a minimal skeleton) and six database back-ends (anydbm, bsddb, bsddb3, sqlite,
109+
metakit and gadfly).
92110

doc/installation.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Installing Roundup
33
==================
44

5-
:Version: $Revision: 1.26 $
5+
:Version: $Revision: 1.27 $
66

77
.. contents::
88

@@ -148,6 +148,14 @@ The classic template is the one defined in the `Roundup Specification`_. It
148148
holds issues which have priorities and statuses. Each issue may also have a
149149
set of messages which are disseminated to the issue's list of nosy users.
150150

151+
Minimal Template
152+
~~~~~~~~~~~~~~~~
153+
154+
The minimal template has the minimum setup required for a tracker
155+
installation. That is, it has the configuration files, defines a user database
156+
and the basic HTML interface to that. It's a completely clean slate for you to
157+
create your tracker on.
158+
151159

152160
Choosing Your Backend
153161
---------------------

doc/upgrading.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ This has been a fairly major revision of Roundup:
1818
transition. Please don't hesitate to ask on roundup-users for help (or
1919
complete conversions if you're completely stuck)!
2020
2. The database backed got a lot more flexible, allowing Metakit and SQL
21-
databases! The only SQL database implemented at present is gadfly, but
22-
others shouldn't be a whole lot more work.
21+
databases! The only decent SQL database implemented at present is sqlite,
22+
but others shouldn't be a whole lot more work.
2323
3. A brand new, highly flexible and much more robust security system including
2424
a system of Permissions, Roles and Role assignments to users. You may now
2525
define your own Permissions that may be checked in CGI transactions.
@@ -177,7 +177,7 @@ like so::
177177
messageid=String(), inreplyto=String())
178178

179179
Nosy list link event journalling is actually turned off by default now. If you
180-
want to turn it onn, change to your issue class' nosy list, change its
180+
want to turn it on, change to your issue class' nosy list, change its
181181
definition from::
182182

183183
issue = IssueClass(db, "issue",

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.12 2002-09-13 04:14:07 richard Exp $
18+
# $Id: __init__.py,v 1.13 2002-09-26 04:19:53 richard Exp $
1919

2020
__doc__ = '''
2121
This is a simple-to-use and -install issue-tracking system with
@@ -65,6 +65,6 @@
6565
much prettier cake :)
6666
'''
6767

68-
__version__ = '0.5.0b2'
68+
__version__ = '0.5.0pr1'
6969

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

roundup/templates/classic/html/page

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@
4848
</p>
4949

5050
<p class="classblock"
51-
tal:condition="python:request.user.hasPermission('Edit', None)">
52-
<b>Admin</b><br>
53-
<a href="home?:template=classlist">Class List</a><br>
54-
<a href="user">User List</a><br>
55-
<a href="user?:template=item">Add User</a>
51+
tal:condition="python:request.user.username != 'anonymous'">
52+
<b>Administration</b><br>
53+
<a tal:condition="python:request.user.hasPermission('Edit', None)"
54+
href="home?:template=classlist">Class List</a><br>
55+
<a tal:condition="python:request.user.hasPermission('View', 'user')
56+
or request.user.hasPermission('Edit', 'user')"
57+
href="user" >User List</a><br>
58+
<a tal:condition="python:request.user.hasPermission('Edit', 'user')"
59+
href="user?:template=item">Add User</a>
5660
</p>
5761

5862
<p class="userblock" tal:condition="python:request.user.username=='anonymous'">

0 commit comments

Comments
 (0)