annotate roundup-admin @ 486:18d4051bdae7

fixes
author Richard Jones <richard@users.sourceforge.net>
date Sat, 05 Jan 2002 02:22:33 +0000
parents b35f229dd049
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
1 #! /usr/bin/env python
213
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
2 #
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
3 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
4 # This module is free software, and you may redistribute it and/or modify
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
5 # under the same terms as Python, so long as this copyright message and
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
6 # disclaimer are retained in their original form.
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
7 #
214
18134bffab37 stupid typo
Richard Jones <richard@users.sourceforge.net>
parents: 213
diff changeset
8 # IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
213
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
9 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
10 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
11 # POSSIBILITY OF SUCH DAMAGE.
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
12 #
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
13 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
18 #
486
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
19 # $Id: roundup-admin,v 1.61 2002-01-05 02:21:21 richard Exp $
27
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
20
449
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
21 # python version check
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
22 from roundup import version_check
27
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
23
484
b35f229dd049 I18N'ed roundup admin...
Richard Jones <richard@users.sourceforge.net>
parents: 474
diff changeset
24 # import the admin tool guts and make it go
b35f229dd049 I18N'ed roundup admin...
Richard Jones <richard@users.sourceforge.net>
parents: 474
diff changeset
25 from roundup.admin import AdminTool
486
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
26 from roundup.i18n import _
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
27
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
28 import sys
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
29 tool = AdminTool()
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
30 sys.exit(tool.main())
27
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
31
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
32 #
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
33 # $Log: not supported by cvs2svn $
486
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
34 # Revision 1.60 2002/01/05 02:11:22 richard
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
35 # I18N'ed roundup admin - and split the code off into a module so it can be used
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
36 # elsewhere.
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
37 # Big issue with this is the doc strings - that's the help. We're probably going to
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
38 # have to switch to not use docstrings, which will suck a little :(
Richard Jones <richard@users.sourceforge.net>
parents: 484
diff changeset
39 #
484
b35f229dd049 I18N'ed roundup admin...
Richard Jones <richard@users.sourceforge.net>
parents: 474
diff changeset
40 # Revision 1.59 2001/12/31 05:20:34 richard
b35f229dd049 I18N'ed roundup admin...
Richard Jones <richard@users.sourceforge.net>
parents: 474
diff changeset
41 # . #496360 ] table width does not work
b35f229dd049 I18N'ed roundup admin...
Richard Jones <richard@users.sourceforge.net>
parents: 474
diff changeset
42 #
474
ef06a66a0b72 [SF#496360] table width does not work
Richard Jones <richard@users.sourceforge.net>
parents: 472
diff changeset
43 # Revision 1.58 2001/12/31 05:12:52 richard
ef06a66a0b72 [SF#496360] table width does not work
Richard Jones <richard@users.sourceforge.net>
parents: 472
diff changeset
44 # actually handle the advertised <cr> response to "commit y/N?"
ef06a66a0b72 [SF#496360] table width does not work
Richard Jones <richard@users.sourceforge.net>
parents: 472
diff changeset
45 #
472
e18210e77a39 actually handle the advertised <cr> response to "commit y/N?"
Richard Jones <richard@users.sourceforge.net>
parents: 471
diff changeset
46 # Revision 1.57 2001/12/31 05:12:01 richard
e18210e77a39 actually handle the advertised <cr> response to "commit y/N?"
Richard Jones <richard@users.sourceforge.net>
parents: 471
diff changeset
47 # added some quoting instructions to roundup-admin
e18210e77a39 actually handle the advertised <cr> response to "commit y/N?"
Richard Jones <richard@users.sourceforge.net>
parents: 471
diff changeset
48 #
471
f51b017eff05 added some quoting instructions to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 470
diff changeset
49 # Revision 1.56 2001/12/31 05:09:20 richard
f51b017eff05 added some quoting instructions to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 470
diff changeset
50 # Added better tokenising to roundup-admin - handles spaces and stuff. Can
f51b017eff05 added some quoting instructions to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 470
diff changeset
51 # use quoting or backslashes. See the roundup.token pydoc.
f51b017eff05 added some quoting instructions to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 470
diff changeset
52 #
470
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
53 # Revision 1.55 2001/12/17 03:52:47 richard
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
54 # Implemented file store rollback. As a bonus, the hyperdb is now capable of
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
55 # storing more than one file per node - if a property name is supplied,
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
56 # the file is called designator.property.
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
57 # I decided not to migrate the existing files stored over to the new naming
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
58 # scheme - the FileClass just doesn't specify the property name.
9f7320624bc2 Added better tokenising to roundup-admin - handles spaces and stuff.
Richard Jones <richard@users.sourceforge.net>
parents: 461
diff changeset
59 #
461
b579418f7ed1 Implemented file store rollback.
Richard Jones <richard@users.sourceforge.net>
parents: 455
diff changeset
60 # Revision 1.54 2001/12/15 23:09:23 richard
b579418f7ed1 Implemented file store rollback.
Richard Jones <richard@users.sourceforge.net>
parents: 455
diff changeset
61 # Some cleanups in roundup-admin, also made it work again...
b579418f7ed1 Implemented file store rollback.
Richard Jones <richard@users.sourceforge.net>
parents: 455
diff changeset
62 #
455
2198e5445d6b Some cleanups in roundup-admin, also made it work again...
Richard Jones <richard@users.sourceforge.net>
parents: 449
diff changeset
63 # Revision 1.53 2001/12/13 00:20:00 richard
2198e5445d6b Some cleanups in roundup-admin, also made it work again...
Richard Jones <richard@users.sourceforge.net>
parents: 449
diff changeset
64 # . Centralised the python version check code, bumped version to 2.1.1 (really
2198e5445d6b Some cleanups in roundup-admin, also made it work again...
Richard Jones <richard@users.sourceforge.net>
parents: 449
diff changeset
65 # needs to be 2.1.2, but that isn't released yet :)
2198e5445d6b Some cleanups in roundup-admin, also made it work again...
Richard Jones <richard@users.sourceforge.net>
parents: 449
diff changeset
66 #
449
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
67 # Revision 1.52 2001/12/12 21:47:45 richard
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
68 # . Message author's name appears in From: instead of roundup instance name
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
69 # (which still appears in the Reply-To:)
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
70 # . envelope-from is now set to the roundup-admin and not roundup itself so
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
71 # delivery reports aren't sent to roundup (thanks Patrick Ohly)
141aacfdb34f Centralised the python version check code, bumped version to 2.1.1
Richard Jones <richard@users.sourceforge.net>
parents: 445
diff changeset
72 #
445
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
73 # Revision 1.51 2001/12/10 00:57:38 richard
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
74 # From CHANGES:
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
75 # . Added the "display" command to the admin tool - displays a node's values
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
76 # . #489760 ] [issue] only subject
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
77 # . fixed the doc/index.html to include the quoting in the mail alias.
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
78 #
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
79 # Also:
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
80 # . fixed roundup-admin so it works with transactions
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
81 # . disabled the back_anydbm module if anydbm tries to use dumbdbm
208697858c8b Message author's name appears in From: instead of roundup instance name
Richard Jones <richard@users.sourceforge.net>
parents: 438
diff changeset
82 #
438
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
83 # Revision 1.50 2001/12/02 05:06:16 richard
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
84 # . We now use weakrefs in the Classes to keep the database reference, so
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
85 # the close() method on the database is no longer needed.
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
86 # I bumped the minimum python requirement up to 2.1 accordingly.
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
87 # . #487480 ] roundup-server
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
88 # . #487476 ] INSTALL.txt
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
89 #
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
90 # I also cleaned up the change message / post-edit stuff in the cgi client.
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
91 # There's now a clearly marked "TODO: append the change note" where I believe
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
92 # the change note should be added there. The "changes" list will obviously
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
93 # have to be modified to be a dict of the changes, or somesuch.
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
94 #
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
95 # More testing needed.
9d97c1a4ddad Notes from changes.
Richard Jones <richard@users.sourceforge.net>
parents: 431
diff changeset
96 #
431
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
97 # Revision 1.49 2001/12/01 07:17:50 richard
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
98 # . We now have basic transaction support! Information is only written to
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
99 # the database when the commit() method is called. Only the anydbm
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
100 # backend is modified in this way - neither of the bsddb backends have been.
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
101 # The mail, admin and cgi interfaces all use commit (except the admin tool
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
102 # doesn't have a commit command, so interactive users can't commit...)
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
103 # . Fixed login/registration forwarding the user to the right page (or not,
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
104 # on a failure)
a28a80b714f9 Eliminate database close method by using weakrefs.
Richard Jones <richard@users.sourceforge.net>
parents: 430
diff changeset
105 #
430
350685601f37 Database transactions.
Richard Jones <richard@users.sourceforge.net>
parents: 418
diff changeset
106 # Revision 1.48 2001/11/27 22:32:03 richard
350685601f37 Database transactions.
Richard Jones <richard@users.sourceforge.net>
parents: 418
diff changeset
107 # typo
350685601f37 Database transactions.
Richard Jones <richard@users.sourceforge.net>
parents: 418
diff changeset
108 #
418
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
109 # Revision 1.47 2001/11/26 22:55:56 richard
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
110 # Feature:
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
111 # . Added INSTANCE_NAME to configuration - used in web and email to identify
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
112 # the instance.
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
113 # . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
114 # signature info in e-mails.
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
115 # . Some more flexibility in the mail gateway and more error handling.
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
116 # . Login now takes you to the page you back to the were denied access to.
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
117 #
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
118 # Fixed:
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
119 # . Lots of bugs, thanks Roché and others on the devel mailing list!
Richard Jones <richard@users.sourceforge.net>
parents: 411
diff changeset
120 #
411
a6088556e9ba Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 397
diff changeset
121 # Revision 1.46 2001/11/21 03:40:54 richard
a6088556e9ba Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 397
diff changeset
122 # more new property handling
a6088556e9ba Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 397
diff changeset
123 #
397
d47818b09265 more new property handling
Richard Jones <richard@users.sourceforge.net>
parents: 386
diff changeset
124 # Revision 1.45 2001/11/12 22:51:59 jhermann
d47818b09265 more new property handling
Richard Jones <richard@users.sourceforge.net>
parents: 386
diff changeset
125 # Fixed option & associated error handling
d47818b09265 more new property handling
Richard Jones <richard@users.sourceforge.net>
parents: 386
diff changeset
126 #
386
59ed29a879f6 Fixed option & associated error handling
Jürgen Hermann <jhermann@users.sourceforge.net>
parents: 380
diff changeset
127 # Revision 1.44 2001/11/12 22:01:06 richard
59ed29a879f6 Fixed option & associated error handling
Jürgen Hermann <jhermann@users.sourceforge.net>
parents: 380
diff changeset
128 # Fixed issues with nosy reaction and author copies.
59ed29a879f6 Fixed option & associated error handling
Jürgen Hermann <jhermann@users.sourceforge.net>
parents: 380
diff changeset
129 #
380
a1331423eb93 Fixed issues with nosy reaction and author copies.
Richard Jones <richard@users.sourceforge.net>
parents: 379
diff changeset
130 # Revision 1.43 2001/11/09 22:33:28 richard
a1331423eb93 Fixed issues with nosy reaction and author copies.
Richard Jones <richard@users.sourceforge.net>
parents: 379
diff changeset
131 # More error handling fixes.
a1331423eb93 Fixed issues with nosy reaction and author copies.
Richard Jones <richard@users.sourceforge.net>
parents: 379
diff changeset
132 #
379
c7b5b1aa6b4a More error handling fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 377
diff changeset
133 # Revision 1.42 2001/11/09 10:11:08 richard
c7b5b1aa6b4a More error handling fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 377
diff changeset
134 # . roundup-admin now handles all hyperdb exceptions
c7b5b1aa6b4a More error handling fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 377
diff changeset
135 #
377
93dc08528ad9 roundup-admin now handles all hyperdb exceptions
Richard Jones <richard@users.sourceforge.net>
parents: 376
diff changeset
136 # Revision 1.41 2001/11/09 01:25:40 richard
93dc08528ad9 roundup-admin now handles all hyperdb exceptions
Richard Jones <richard@users.sourceforge.net>
parents: 376
diff changeset
137 # Should parse with python 1.5.2 now.
93dc08528ad9 roundup-admin now handles all hyperdb exceptions
Richard Jones <richard@users.sourceforge.net>
parents: 376
diff changeset
138 #
376
c6d6ea15068b Should parse with python 1.5.2 now.
Richard Jones <richard@users.sourceforge.net>
parents: 372
diff changeset
139 # Revision 1.40 2001/11/08 04:42:00 richard
c6d6ea15068b Should parse with python 1.5.2 now.
Richard Jones <richard@users.sourceforge.net>
parents: 372
diff changeset
140 # Expanded the already-abbreviated "initialise" and "specification" commands,
c6d6ea15068b Should parse with python 1.5.2 now.
Richard Jones <richard@users.sourceforge.net>
parents: 372
diff changeset
141 # and added a comment to the command help about the abbreviation.
c6d6ea15068b Should parse with python 1.5.2 now.
Richard Jones <richard@users.sourceforge.net>
parents: 372
diff changeset
142 #
372
3b9410cb8b61 Expanded the already-abbreviated "initialise" and "specification" commands...
Richard Jones <richard@users.sourceforge.net>
parents: 371
diff changeset
143 # Revision 1.39 2001/11/08 04:29:59 richard
3b9410cb8b61 Expanded the already-abbreviated "initialise" and "specification" commands...
Richard Jones <richard@users.sourceforge.net>
parents: 371
diff changeset
144 # roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
3b9410cb8b61 Expanded the already-abbreviated "initialise" and "specification" commands...
Richard Jones <richard@users.sourceforge.net>
parents: 371
diff changeset
145 # [thanks Engelbert Gruber for the inspiration]
3b9410cb8b61 Expanded the already-abbreviated "initialise" and "specification" commands...
Richard Jones <richard@users.sourceforge.net>
parents: 371
diff changeset
146 #
371
f348aa576d51 roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
Richard Jones <richard@users.sourceforge.net>
parents: 354
diff changeset
147 # Revision 1.38 2001/11/05 23:45:40 richard
f348aa576d51 roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
Richard Jones <richard@users.sourceforge.net>
parents: 354
diff changeset
148 # Fixed newuser_action so it sets the cookie with the unencrypted password.
f348aa576d51 roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
Richard Jones <richard@users.sourceforge.net>
parents: 354
diff changeset
149 # Also made it present nicer error messages (not tracebacks).
f348aa576d51 roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
Richard Jones <richard@users.sourceforge.net>
parents: 354
diff changeset
150 #
354
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
151 # Revision 1.37 2001/10/23 01:00:18 richard
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
152 # Re-enabled login and registration access after lopping them off via
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
153 # disabling access for anonymous users.
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
154 # Major re-org of the htmltemplate code, cleaning it up significantly. Fixed
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
155 # a couple of bugs while I was there. Probably introduced a couple, but
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
156 # things seem to work OK at the moment.
f90abe9e811d Fixed newuser_action so it sets the cookie with the unencrypted password.
Richard Jones <richard@users.sourceforge.net>
parents: 318
diff changeset
157 #
318
e18dd7227780 Re-enabled login and registration access...
Richard Jones <richard@users.sourceforge.net>
parents: 308
diff changeset
158 # Revision 1.36 2001/10/21 00:45:15 richard
e18dd7227780 Re-enabled login and registration access...
Richard Jones <richard@users.sourceforge.net>
parents: 308
diff changeset
159 # Added author identification to e-mail messages from roundup.
e18dd7227780 Re-enabled login and registration access...
Richard Jones <richard@users.sourceforge.net>
parents: 308
diff changeset
160 #
308
e32af1eff4ea Added author identification to e-mail messages from roundup.
Richard Jones <richard@users.sourceforge.net>
parents: 302
diff changeset
161 # Revision 1.35 2001/10/20 11:58:48 richard
e32af1eff4ea Added author identification to e-mail messages from roundup.
Richard Jones <richard@users.sourceforge.net>
parents: 302
diff changeset
162 # Catch errors in login - no username or password supplied.
e32af1eff4ea Added author identification to e-mail messages from roundup.
Richard Jones <richard@users.sourceforge.net>
parents: 302
diff changeset
163 # Fixed editing of password (Password property type) thanks Roch'e Compaan.
e32af1eff4ea Added author identification to e-mail messages from roundup.
Richard Jones <richard@users.sourceforge.net>
parents: 302
diff changeset
164 #
302
d1fb3fcdb11b Catch errors in login - no username or password supplied.
Richard Jones <richard@users.sourceforge.net>
parents: 301
diff changeset
165 # Revision 1.34 2001/10/18 02:16:42 richard
d1fb3fcdb11b Catch errors in login - no username or password supplied.
Richard Jones <richard@users.sourceforge.net>
parents: 301
diff changeset
166 # Oops, committed the admin script with the wierd #! line.
d1fb3fcdb11b Catch errors in login - no username or password supplied.
Richard Jones <richard@users.sourceforge.net>
parents: 301
diff changeset
167 # Also, made the thing into a class to reduce parameter passing.
d1fb3fcdb11b Catch errors in login - no username or password supplied.
Richard Jones <richard@users.sourceforge.net>
parents: 301
diff changeset
168 # Nuked the leading whitespace from the help __doc__ displays too.
d1fb3fcdb11b Catch errors in login - no username or password supplied.
Richard Jones <richard@users.sourceforge.net>
parents: 301
diff changeset
169 #
301
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
170 # Revision 1.33 2001/10/17 23:13:19 richard
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
171 # Did a fair bit of work on the admin tool. Now has an extra command "table"
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
172 # which displays node information in a tabular format. Also fixed import and
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
173 # export so they work. Removed freshen.
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
174 # Fixed quopri usage in mailgw from bug reports.
7901b58cfae8 Oops, committed the admin script with the wierd #! line.
Richard Jones <richard@users.sourceforge.net>
parents: 299
diff changeset
175 #
299
fd9835c1e58d Did a fair bit of work on the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 298
diff changeset
176 # Revision 1.32 2001/10/17 06:57:29 richard
fd9835c1e58d Did a fair bit of work on the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 298
diff changeset
177 # Interactive startup blurb - need to figure how to get the version in there.
fd9835c1e58d Did a fair bit of work on the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 298
diff changeset
178 #
298
07a64ec2a79d Interactive startup blurb - need to figure how to get the version in there.
Richard Jones <richard@users.sourceforge.net>
parents: 297
diff changeset
179 # Revision 1.31 2001/10/17 06:17:26 richard
07a64ec2a79d Interactive startup blurb - need to figure how to get the version in there.
Richard Jones <richard@users.sourceforge.net>
parents: 297
diff changeset
180 # Now with readline support :)
07a64ec2a79d Interactive startup blurb - need to figure how to get the version in there.
Richard Jones <richard@users.sourceforge.net>
parents: 297
diff changeset
181 #
297
1bbc16563d89 Now with readline support :)
Richard Jones <richard@users.sourceforge.net>
parents: 296
diff changeset
182 # Revision 1.30 2001/10/17 06:04:00 richard
1bbc16563d89 Now with readline support :)
Richard Jones <richard@users.sourceforge.net>
parents: 296
diff changeset
183 # Beginnings of an interactive mode for roundup-admin
1bbc16563d89 Now with readline support :)
Richard Jones <richard@users.sourceforge.net>
parents: 296
diff changeset
184 #
296
e155eca83f40 Beginnings of an interactive mode for roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 294
diff changeset
185 # Revision 1.29 2001/10/16 03:48:01 richard
e155eca83f40 Beginnings of an interactive mode for roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 294
diff changeset
186 # admin tool now complains if a "find" is attempted with a non-link property.
e155eca83f40 Beginnings of an interactive mode for roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 294
diff changeset
187 #
294
49be38bb6e9a admin tool now complains if a "find" is attempted with a non-link property.
Richard Jones <richard@users.sourceforge.net>
parents: 291
diff changeset
188 # Revision 1.28 2001/10/13 00:07:39 richard
49be38bb6e9a admin tool now complains if a "find" is attempted with a non-link property.
Richard Jones <richard@users.sourceforge.net>
parents: 291
diff changeset
189 # More help in admin tool.
49be38bb6e9a admin tool now complains if a "find" is attempted with a non-link property.
Richard Jones <richard@users.sourceforge.net>
parents: 291
diff changeset
190 #
291
ee7705d7bb06 More help in admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 287
diff changeset
191 # Revision 1.27 2001/10/11 23:43:04 richard
ee7705d7bb06 More help in admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 287
diff changeset
192 # Implemented the comma-separated printing option in the admin tool.
ee7705d7bb06 More help in admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 287
diff changeset
193 # Fixed a typo (more of a vim-o actually :) in mailgw.
ee7705d7bb06 More help in admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 287
diff changeset
194 #
287
ee2f4cb160bd Implemented the comma-separated printing option in the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 285
diff changeset
195 # Revision 1.26 2001/10/11 05:03:51 richard
ee2f4cb160bd Implemented the comma-separated printing option in the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 285
diff changeset
196 # Marked the roundup-admin import/export as experimental since they're not fully
ee2f4cb160bd Implemented the comma-separated printing option in the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 285
diff changeset
197 # operational.
ee2f4cb160bd Implemented the comma-separated printing option in the admin tool.
Richard Jones <richard@users.sourceforge.net>
parents: 285
diff changeset
198 #
285
a6e3a9164814 Marked the roundup-admin import/export as experimental...
Richard Jones <richard@users.sourceforge.net>
parents: 280
diff changeset
199 # Revision 1.25 2001/10/10 04:12:32 richard
a6e3a9164814 Marked the roundup-admin import/export as experimental...
Richard Jones <richard@users.sourceforge.net>
parents: 280
diff changeset
200 # The setup.cfg file is just causing pain. Away it goes.
a6e3a9164814 Marked the roundup-admin import/export as experimental...
Richard Jones <richard@users.sourceforge.net>
parents: 280
diff changeset
201 #
280
80ad2bf9cf7b The setup.cfg file is just causing pain. Away it goes.
Richard Jones <richard@users.sourceforge.net>
parents: 278
diff changeset
202 # Revision 1.24 2001/10/10 03:54:57 richard
80ad2bf9cf7b The setup.cfg file is just causing pain. Away it goes.
Richard Jones <richard@users.sourceforge.net>
parents: 278
diff changeset
203 # Added database importing and exporting through CSV files.
80ad2bf9cf7b The setup.cfg file is just causing pain. Away it goes.
Richard Jones <richard@users.sourceforge.net>
parents: 278
diff changeset
204 # Uses the csv module from object-craft for exporting if it's available.
80ad2bf9cf7b The setup.cfg file is just causing pain. Away it goes.
Richard Jones <richard@users.sourceforge.net>
parents: 278
diff changeset
205 # Requires the csv module for importing.
80ad2bf9cf7b The setup.cfg file is just causing pain. Away it goes.
Richard Jones <richard@users.sourceforge.net>
parents: 278
diff changeset
206 #
278
a5dabf2430c5 Added database importing and exporting through CSV files.
Richard Jones <richard@users.sourceforge.net>
parents: 274
diff changeset
207 # Revision 1.23 2001/10/09 23:36:25 richard
a5dabf2430c5 Added database importing and exporting through CSV files.
Richard Jones <richard@users.sourceforge.net>
parents: 274
diff changeset
208 # Spit out command help if roundup-admin command doesn't get an argument.
a5dabf2430c5 Added database importing and exporting through CSV files.
Richard Jones <richard@users.sourceforge.net>
parents: 274
diff changeset
209 #
274
79226fbb7741 Spit out command help if roundup-admin command doesn't get an argument.
Richard Jones <richard@users.sourceforge.net>
parents: 270
diff changeset
210 # Revision 1.22 2001/10/09 07:25:59 richard
79226fbb7741 Spit out command help if roundup-admin command doesn't get an argument.
Richard Jones <richard@users.sourceforge.net>
parents: 270
diff changeset
211 # Added the Password property type. See "pydoc roundup.password" for
79226fbb7741 Spit out command help if roundup-admin command doesn't get an argument.
Richard Jones <richard@users.sourceforge.net>
parents: 270
diff changeset
212 # implementation details. Have updated some of the documentation too.
79226fbb7741 Spit out command help if roundup-admin command doesn't get an argument.
Richard Jones <richard@users.sourceforge.net>
parents: 270
diff changeset
213 #
270
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
214 # Revision 1.21 2001/10/05 02:23:24 richard
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
215 # . roundup-admin create now prompts for property info if none is supplied
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
216 # on the command-line.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
217 # . hyperdb Class getprops() method may now return only the mutable
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
218 # properties.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
219 # . Login now uses cookies, which makes it a whole lot more flexible. We can
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
220 # now support anonymous user access (read-only, unless there's an
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
221 # "anonymous" user, in which case write access is permitted). Login
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
222 # handling has been moved into cgi_client.Client.main()
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
223 # . The "extended" schema is now the default in roundup init.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
224 # . The schemas have had their page headings modified to cope with the new
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
225 # login handling. Existing installations should copy the interfaces.py
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
226 # file from the roundup lib directory to their instance home.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
227 # . Incorrectly had a Bizar Software copyright on the cgitb.py module from
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
228 # Ping - has been removed.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
229 # . Fixed a whole bunch of places in the CGI interface where we should have
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
230 # been returning Not Found instead of throwing an exception.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
231 # . Fixed a deviation from the spec: trying to modify the 'id' property of
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
232 # an item now throws an exception.
a4241ddd22d7 Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents: 264
diff changeset
233 #
264
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
234 # Revision 1.20 2001/10/04 02:12:42 richard
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
235 # Added nicer command-line item adding: passing no arguments will enter an
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
236 # interactive more which asks for each property in turn. While I was at it, I
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
237 # fixed an implementation problem WRT the spec - I wasn't raising a
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
238 # ValueError if the key property was missing from a create(). Also added a
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
239 # protected=boolean argument to getprops() so we can list only the mutable
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
240 # properties (defaults to yes, which lists the immutables).
a671e5917b33 Many features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents: 262
diff changeset
241 #
262
ab921dc53ccd Added nicer command-line item adding:
Richard Jones <richard@users.sourceforge.net>
parents: 261
diff changeset
242 # Revision 1.19 2001/10/01 06:40:43 richard
ab921dc53ccd Added nicer command-line item adding:
Richard Jones <richard@users.sourceforge.net>
parents: 261
diff changeset
243 # made do_get have the args in the correct order
ab921dc53ccd Added nicer command-line item adding:
Richard Jones <richard@users.sourceforge.net>
parents: 261
diff changeset
244 #
261
0ca5381a72b5 made do_get have the args in the correct order
Richard Jones <richard@users.sourceforge.net>
parents: 248
diff changeset
245 # Revision 1.18 2001/09/18 22:58:37 richard
0ca5381a72b5 made do_get have the args in the correct order
Richard Jones <richard@users.sourceforge.net>
parents: 248
diff changeset
246 #
0ca5381a72b5 made do_get have the args in the correct order
Richard Jones <richard@users.sourceforge.net>
parents: 248
diff changeset
247 # Added some more help to roundu-admin
0ca5381a72b5 made do_get have the args in the correct order
Richard Jones <richard@users.sourceforge.net>
parents: 248
diff changeset
248 #
248
96cdd8ef0581 Added some more help to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 235
diff changeset
249 # Revision 1.17 2001/08/28 05:58:33 anthonybaxter
96cdd8ef0581 Added some more help to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 235
diff changeset
250 # added missing 'import' statements.
96cdd8ef0581 Added some more help to roundup-admin
Richard Jones <richard@users.sourceforge.net>
parents: 235
diff changeset
251 #
235
d7d358408537 added missing 'import' statements.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents: 224
diff changeset
252 # Revision 1.16 2001/08/12 06:32:36 richard
d7d358408537 added missing 'import' statements.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents: 224
diff changeset
253 # using isinstance(blah, Foo) now instead of isFooType
d7d358408537 added missing 'import' statements.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents: 224
diff changeset
254 #
224
ad2c98faec97 using isinstance(blah, Foo) now instead of isFooType
Richard Jones <richard@users.sourceforge.net>
parents: 214
diff changeset
255 # Revision 1.15 2001/08/07 00:24:42 richard
ad2c98faec97 using isinstance(blah, Foo) now instead of isFooType
Richard Jones <richard@users.sourceforge.net>
parents: 214
diff changeset
256 # stupid typo
ad2c98faec97 using isinstance(blah, Foo) now instead of isFooType
Richard Jones <richard@users.sourceforge.net>
parents: 214
diff changeset
257 #
214
18134bffab37 stupid typo
Richard Jones <richard@users.sourceforge.net>
parents: 213
diff changeset
258 # Revision 1.14 2001/08/07 00:15:51 richard
18134bffab37 stupid typo
Richard Jones <richard@users.sourceforge.net>
parents: 213
diff changeset
259 # Added the copyright/license notice to (nearly) all files at request of
18134bffab37 stupid typo
Richard Jones <richard@users.sourceforge.net>
parents: 213
diff changeset
260 # Bizar Software.
18134bffab37 stupid typo
Richard Jones <richard@users.sourceforge.net>
parents: 213
diff changeset
261 #
213
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
262 # Revision 1.13 2001/08/05 07:44:13 richard
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
263 # Instances are now opened by a special function that generates a unique
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
264 # module name for the instances on import time.
d45384bc6420 Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents: 204
diff changeset
265 #
204
c1461733cbf9 Instances are now opened by a special function...
Richard Jones <richard@users.sourceforge.net>
parents: 193
diff changeset
266 # Revision 1.12 2001/08/03 01:28:33 richard
c1461733cbf9 Instances are now opened by a special function...
Richard Jones <richard@users.sourceforge.net>
parents: 193
diff changeset
267 # Used the much nicer load_package, pointed out by Steve Majewski.
c1461733cbf9 Instances are now opened by a special function...
Richard Jones <richard@users.sourceforge.net>
parents: 193
diff changeset
268 #
193
241a0323aacb Used the much nicer load_package, pointed out by Steve Majewski.
Richard Jones <richard@users.sourceforge.net>
parents: 190
diff changeset
269 # Revision 1.11 2001/08/03 00:59:34 richard
241a0323aacb Used the much nicer load_package, pointed out by Steve Majewski.
Richard Jones <richard@users.sourceforge.net>
parents: 190
diff changeset
270 # Instance import now imports the instance using imp.load_module so that
241a0323aacb Used the much nicer load_package, pointed out by Steve Majewski.
Richard Jones <richard@users.sourceforge.net>
parents: 190
diff changeset
271 # we can have instance homes of "roundup" or other existing python package
241a0323aacb Used the much nicer load_package, pointed out by Steve Majewski.
Richard Jones <richard@users.sourceforge.net>
parents: 190
diff changeset
272 # names.
241a0323aacb Used the much nicer load_package, pointed out by Steve Majewski.
Richard Jones <richard@users.sourceforge.net>
parents: 190
diff changeset
273 #
190
996eaf90c01e Instance import now imports the instance using imp.load_module...
Richard Jones <richard@users.sourceforge.net>
parents: 167
diff changeset
274 # Revision 1.10 2001/07/30 08:12:17 richard
996eaf90c01e Instance import now imports the instance using imp.load_module...
Richard Jones <richard@users.sourceforge.net>
parents: 167
diff changeset
275 # Added time logging and file uploading to the templates.
996eaf90c01e Instance import now imports the instance using imp.load_module...
Richard Jones <richard@users.sourceforge.net>
parents: 167
diff changeset
276 #
167
a49c8a2ddd26 Added time logging and file uploading to the templates.
Richard Jones <richard@users.sourceforge.net>
parents: 160
diff changeset
277 # Revision 1.9 2001/07/30 03:52:55 richard
a49c8a2ddd26 Added time logging and file uploading to the templates.
Richard Jones <richard@users.sourceforge.net>
parents: 160
diff changeset
278 # init help now lists templates and backends
a49c8a2ddd26 Added time logging and file uploading to the templates.
Richard Jones <richard@users.sourceforge.net>
parents: 160
diff changeset
279 #
160
002249ffa5d0 init help now lists templates and backends
Richard Jones <richard@users.sourceforge.net>
parents: 153
diff changeset
280 # Revision 1.8 2001/07/30 02:37:07 richard
002249ffa5d0 init help now lists templates and backends
Richard Jones <richard@users.sourceforge.net>
parents: 153
diff changeset
281 # Freshen is really broken. Commented out.
002249ffa5d0 init help now lists templates and backends
Richard Jones <richard@users.sourceforge.net>
parents: 153
diff changeset
282 #
153
b07b9a5b6aa9 Freshen is really broken. Commented out.
Richard Jones <richard@users.sourceforge.net>
parents: 147
diff changeset
283 # Revision 1.7 2001/07/30 01:28:46 richard
b07b9a5b6aa9 Freshen is really broken. Commented out.
Richard Jones <richard@users.sourceforge.net>
parents: 147
diff changeset
284 # Bugfixes
b07b9a5b6aa9 Freshen is really broken. Commented out.
Richard Jones <richard@users.sourceforge.net>
parents: 147
diff changeset
285 #
147
0e3cb7a4290f Bugfixes
Richard Jones <richard@users.sourceforge.net>
parents: 140
diff changeset
286 # Revision 1.6 2001/07/30 00:57:51 richard
0e3cb7a4290f Bugfixes
Richard Jones <richard@users.sourceforge.net>
parents: 140
diff changeset
287 # Now uses getopt, much improved command-line parsing. Much fuller help. Much
0e3cb7a4290f Bugfixes
Richard Jones <richard@users.sourceforge.net>
parents: 140
diff changeset
288 # better internal structure. It's just BETTER. :)
0e3cb7a4290f Bugfixes
Richard Jones <richard@users.sourceforge.net>
parents: 140
diff changeset
289 #
140
a4383d62a407 Now uses getopt, much improved command-line parsing.
Richard Jones <richard@users.sourceforge.net>
parents: 137
diff changeset
290 # Revision 1.5 2001/07/30 00:04:48 richard
a4383d62a407 Now uses getopt, much improved command-line parsing.
Richard Jones <richard@users.sourceforge.net>
parents: 137
diff changeset
291 # Made the "init" prompting more friendly.
a4383d62a407 Now uses getopt, much improved command-line parsing.
Richard Jones <richard@users.sourceforge.net>
parents: 137
diff changeset
292 #
137
4a87e0b0d3f7 Made the "init" prompting more friendly.
Richard Jones <richard@users.sourceforge.net>
parents: 127
diff changeset
293 # Revision 1.4 2001/07/29 07:01:39 richard
4a87e0b0d3f7 Made the "init" prompting more friendly.
Richard Jones <richard@users.sourceforge.net>
parents: 127
diff changeset
294 # Added vim command to all source so that we don't get no steenkin' tabs :)
4a87e0b0d3f7 Made the "init" prompting more friendly.
Richard Jones <richard@users.sourceforge.net>
parents: 127
diff changeset
295 #
127
0791d13baea7 Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents: 51
diff changeset
296 # Revision 1.3 2001/07/23 08:45:28 richard
0791d13baea7 Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents: 51
diff changeset
297 # ok, so now "./roundup-admin init" will ask questions in an attempt to get a
0791d13baea7 Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents: 51
diff changeset
298 # workable instance_home set up :)
0791d13baea7 Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents: 51
diff changeset
299 # _and_ anydbm has had its first test :)
0791d13baea7 Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents: 51
diff changeset
300 #
51
3a7e5515c1bd ok, so now "./roundup-admin init" will ask questions...
Richard Jones <richard@users.sourceforge.net>
parents: 48
diff changeset
301 # Revision 1.2 2001/07/23 08:20:44 richard
3a7e5515c1bd ok, so now "./roundup-admin init" will ask questions...
Richard Jones <richard@users.sourceforge.net>
parents: 48
diff changeset
302 # Moved over to using marshal in the bsddb and anydbm backends.
3a7e5515c1bd ok, so now "./roundup-admin init" will ask questions...
Richard Jones <richard@users.sourceforge.net>
parents: 48
diff changeset
303 # roundup-admin now has a "freshen" command that'll load/save all nodes (not
3a7e5515c1bd ok, so now "./roundup-admin init" will ask questions...
Richard Jones <richard@users.sourceforge.net>
parents: 48
diff changeset
304 # retired - mod hyperdb.Class.list() so it lists retired nodes)
3a7e5515c1bd ok, so now "./roundup-admin init" will ask questions...
Richard Jones <richard@users.sourceforge.net>
parents: 48
diff changeset
305 #
48
671203878652 Moved over to using marshal in the bsddb and anydbm backends.
Richard Jones <richard@users.sourceforge.net>
parents: 27
diff changeset
306 # Revision 1.1 2001/07/23 03:46:48 richard
671203878652 Moved over to using marshal in the bsddb and anydbm backends.
Richard Jones <richard@users.sourceforge.net>
parents: 27
diff changeset
307 # moving the bin files to facilitate out-of-the-boxness
671203878652 Moved over to using marshal in the bsddb and anydbm backends.
Richard Jones <richard@users.sourceforge.net>
parents: 27
diff changeset
308 #
27
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
309 # Revision 1.1 2001/07/22 11:15:45 richard
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
310 # More Grande Splite stuff
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
311 #
e5e9ea306a09 moving the bin files to facilitate out-of-the-boxness
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
312 #
127
0791d13baea7 Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents: 51
diff changeset
313 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/