Mercurial > p > roundup > code
diff roundup-admin @ 264:a671e5917b33
Many features and fixes.
. roundup-admin create now prompts for property info if none is supplied
on the command-line.
. hyperdb Class getprops() method may now return only the mutable
properties.
. Login now uses cookies, which makes it a whole lot more flexible. We can
now support anonymous user access (read-only, unless there's an
"anonymous" user, in which case write access is permitted). Login
handling has been moved into cgi_client.Client.main()
. The "extended" schema is now the default in roundup init.
. The schemas have had their page headings modified to cope with the new
login handling. Existing installations should copy the interfaces.py
file from the roundup lib directory to their instance home.
. Incorrectly had a Bizar Software copyright on the cgitb.py module from
Ping - has been removed.
. Fixed a whole bunch of places in the CGI interface where we should have
been returning Not Found instead of throwing an exception.
. Fixed a deviation from the spec: trying to modify the 'id' property of
an item now throws an exception.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 05 Oct 2001 02:23:24 +0000 |
| parents | ab921dc53ccd |
| children | a4241ddd22d7 |
line wrap: on
line diff
--- a/roundup-admin Thu Oct 04 02:16:15 2001 +0000 +++ b/roundup-admin Fri Oct 05 02:23:24 2001 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-admin,v 1.20 2001-10-04 02:12:42 richard Exp $ +# $Id: roundup-admin,v 1.21 2001-10-05 02:23:24 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -119,9 +119,9 @@ if template not in templates: print 'Templates:', ', '.join(templates) while template not in templates: - template = raw_input('Select template [classic]: ').strip() + template = raw_input('Select template [extended]: ').strip() if not template: - template = 'classic' + template = 'extended' import roundup.backends backends = roundup.backends.__all__ @@ -449,6 +449,14 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.20 2001/10/04 02:12:42 richard +# Added nicer command-line item adding: passing no arguments will enter an +# interactive more which asks for each property in turn. While I was at it, I +# fixed an implementation problem WRT the spec - I wasn't raising a +# ValueError if the key property was missing from a create(). Also added a +# protected=boolean argument to getprops() so we can list only the mutable +# properties (defaults to yes, which lists the immutables). +# # Revision 1.19 2001/10/01 06:40:43 richard # made do_get have the args in the correct order #
