Mercurial > p > roundup > code
annotate roundup/templates/classic/dbinit.py @ 411:a6088556e9ba
Features and fixes.
Feature:
. Added INSTANCE_NAME to configuration - used in web and email to identify
the instance.
. Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
signature info in e-mails.
. Some more flexibility in the mail gateway and more error handling.
. Login now takes you to the page you back to the were denied access to.
Fixed:
. Lots of bugs, thanks Roch�nd others on the devel mailing list!
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 26 Nov 2001 22:55:56 +0000 |
| parents | 8cd545738d8e |
| children | 350685601f37 |
| rev | line source |
|---|---|
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
1 # |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
2 # 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:
188
diff
changeset
|
3 # 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:
188
diff
changeset
|
4 # 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:
188
diff
changeset
|
5 # disclaimer are retained in their original form. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
6 # |
| 214 | 7 # 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:
188
diff
changeset
|
8 # 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:
188
diff
changeset
|
9 # 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:
188
diff
changeset
|
10 # POSSIBILITY OF SUCH DAMAGE. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
11 # |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
12 # 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:
188
diff
changeset
|
13 # 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:
188
diff
changeset
|
14 # 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:
188
diff
changeset
|
15 # 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:
188
diff
changeset
|
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
17 # |
|
411
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
18 # $Id: dbinit.py,v 1.10 2001-11-26 22:55:56 richard Exp $ |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
19 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
20 import os |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
21 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
22 import instance_config |
|
270
a4241ddd22d7
Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
23 from roundup import roundupdb |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 import select_db |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
60
diff
changeset
|
25 |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
26 from roundup.roundupdb import Class, FileClass |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
27 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
28 class Database(roundupdb.Database, select_db.Database): |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
29 ''' Creates a hybrid database from: |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
30 . the selected database back-end from select_db |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
31 . the roundup extensions from roundupdb |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
32 ''' |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
33 pass |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
34 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
35 class IssueClass(roundupdb.IssueClass): |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
36 ''' issues need the email information |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
37 ''' |
|
411
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
38 INSTANCE_NAME = instance_config.INSTANCE_NAME |
|
188
1536be43d2fa
Roundupdb now appends "mailing list" information to its messages...
Richard Jones <richard@users.sourceforge.net>
parents:
127
diff
changeset
|
39 ISSUE_TRACKER_WEB = instance_config.ISSUE_TRACKER_WEB |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
40 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
41 ADMIN_EMAIL = instance_config.ADMIN_EMAIL |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
42 MAILHOST = instance_config.MAILHOST |
| 337 | 43 MESSAGES_TO_AUTHOR = instance_config.MESSAGES_TO_AUTHOR |
|
411
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
44 EMAIL_SIGNATURE_POSITION = instance_config.EMAIL_SIGNATURE_POSITION |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
45 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
46 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
47 def open(name=None): |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
48 ''' as from the roundupdb method openDB |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
49 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
50 ''' |
|
270
a4241ddd22d7
Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
51 from roundup.hyperdb import String, Password, Date, Link, Multilink |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
52 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
53 # open the database |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
54 db = Database(instance_config.DATABASE, name) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
55 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
56 # Now initialise the schema. Must do this each time. |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
57 pri = Class(db, "priority", |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
58 name=String(), order=String()) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
59 pri.setkey("name") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
60 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
61 stat = Class(db, "status", |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
62 name=String(), order=String()) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
63 stat.setkey("name") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
64 |
|
60
e9735680d5b3
Oops - accidentally duped the keywords class
Richard Jones <richard@users.sourceforge.net>
parents:
57
diff
changeset
|
65 keyword = Class(db, "keyword", |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
66 name=String()) |
|
60
e9735680d5b3
Oops - accidentally duped the keywords class
Richard Jones <richard@users.sourceforge.net>
parents:
57
diff
changeset
|
67 keyword.setkey("name") |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
68 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
69 user = Class(db, "user", |
|
270
a4241ddd22d7
Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
70 username=String(), password=Password(), |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
71 address=String(), realname=String(), |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
72 phone=String(), organisation=String()) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
73 user.setkey("username") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
74 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
75 msg = FileClass(db, "msg", |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
76 author=Link("user"), recipients=Multilink("user"), |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
77 date=Date(), summary=String(), |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
78 files=Multilink("file")) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
79 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
80 file = FileClass(db, "file", |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
81 name=String(), type=String()) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
82 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
83 issue = IssueClass(db, "issue", |
|
60
e9735680d5b3
Oops - accidentally duped the keywords class
Richard Jones <richard@users.sourceforge.net>
parents:
57
diff
changeset
|
84 assignedto=Link("user"), topic=Multilink("keyword"), |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
85 priority=Link("priority"), status=Link("status")) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
86 issue.setkey('title') |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
87 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
88 import detectors |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
89 detectors.init(db) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
90 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
91 return db |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
92 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
93 def init(adminpw): |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
94 ''' as from the roundupdb method initDB |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
95 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
96 Open the new database, and set up a bunch of attributes. |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
97 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
98 ''' |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
99 dbdir = os.path.join(instance_config.DATABASE, 'files') |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
100 if not os.path.isdir(dbdir): |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
101 os.makedirs(dbdir) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
102 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
103 db = open("admin") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
104 db.clear() |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
105 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
106 pri = db.getclass('priority') |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
107 pri.create(name="critical", order="1") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
108 pri.create(name="urgent", order="2") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
109 pri.create(name="bug", order="3") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
110 pri.create(name="feature", order="4") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
111 pri.create(name="wish", order="5") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
112 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
113 stat = db.getclass('status') |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
114 stat.create(name="unread", order="1") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
115 stat.create(name="deferred", order="2") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
116 stat.create(name="chatting", order="3") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
117 stat.create(name="need-eg", order="4") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
118 stat.create(name="in-progress", order="5") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
119 stat.create(name="testing", order="6") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
120 stat.create(name="done-cbb", order="7") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
121 stat.create(name="resolved", order="8") |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
122 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
123 user = db.getclass('user') |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
124 user.create(username="admin", password=adminpw, |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
125 address=instance_config.ADMIN_EMAIL) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
126 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
127 db.close() |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
128 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
129 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
130 # $Log: not supported by cvs2svn $ |
|
411
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
131 # Revision 1.9 2001/10/30 00:54:45 richard |
|
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
132 # Features: |
|
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
133 # . #467129 ] Lossage when username=e-mail-address |
|
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
134 # . #473123 ] Change message generation for author |
|
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
135 # . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue. |
|
a6088556e9ba
Features and fixes.
Richard Jones <richard@users.sourceforge.net>
parents:
337
diff
changeset
|
136 # |
| 337 | 137 # Revision 1.8 2001/10/09 07:25:59 richard |
| 138 # Added the Password property type. See "pydoc roundup.password" for | |
| 139 # implementation details. Have updated some of the documentation too. | |
| 140 # | |
|
270
a4241ddd22d7
Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
141 # Revision 1.7 2001/08/07 00:24:43 richard |
|
a4241ddd22d7
Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
142 # stupid typo |
|
a4241ddd22d7
Added the Password property type.
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
143 # |
| 214 | 144 # Revision 1.6 2001/08/07 00:15:51 richard |
| 145 # Added the copyright/license notice to (nearly) all files at request of | |
| 146 # Bizar Software. | |
| 147 # | |
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
148 # Revision 1.5 2001/08/02 06:38:17 richard |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
149 # Roundupdb now appends "mailing list" information to its messages which |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
150 # include the e-mail address and web interface address. Templates may |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
151 # override this in their db classes to include specific information (support |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
152 # instructions, etc). |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
188
diff
changeset
|
153 # |
|
188
1536be43d2fa
Roundupdb now appends "mailing list" information to its messages...
Richard Jones <richard@users.sourceforge.net>
parents:
127
diff
changeset
|
154 # Revision 1.4 2001/07/29 07:01:39 richard |
|
1536be43d2fa
Roundupdb now appends "mailing list" information to its messages...
Richard Jones <richard@users.sourceforge.net>
parents:
127
diff
changeset
|
155 # Added vim command to all source so that we don't get no steenkin' tabs :) |
|
1536be43d2fa
Roundupdb now appends "mailing list" information to its messages...
Richard Jones <richard@users.sourceforge.net>
parents:
127
diff
changeset
|
156 # |
|
127
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
157 # Revision 1.3 2001/07/24 10:46:22 anthonybaxter |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
158 # Added templatebuilder module. two functions - one to pack up the html base, |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
159 # one to unpack it. Packed up the two standard templates into htmlbases. |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
160 # Modified __init__ to install them. |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
161 # |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
162 # __init__.py magic was needed for the rather high levels of wierd import magic. |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
163 # Reducing level of import magic == (good, future) |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
164 # |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
60
diff
changeset
|
165 # Revision 1.2 2001/07/24 01:06:43 richard |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
60
diff
changeset
|
166 # Oops - accidentally duped the keywords class |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
60
diff
changeset
|
167 # |
|
60
e9735680d5b3
Oops - accidentally duped the keywords class
Richard Jones <richard@users.sourceforge.net>
parents:
57
diff
changeset
|
168 # Revision 1.1 2001/07/23 23:28:43 richard |
|
e9735680d5b3
Oops - accidentally duped the keywords class
Richard Jones <richard@users.sourceforge.net>
parents:
57
diff
changeset
|
169 # Adding the classic template |
|
e9735680d5b3
Oops - accidentally duped the keywords class
Richard Jones <richard@users.sourceforge.net>
parents:
57
diff
changeset
|
170 # |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
171 # Revision 1.4 2001/07/23 08:45:28 richard |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
172 # ok, so now "./roundup-admin init" will ask questions in an attempt to get a |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
173 # workable instance_home set up :) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
174 # _and_ anydbm has had its first test :) |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
175 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
176 # Revision 1.3 2001/07/23 07:14:41 richard |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
177 # Moved the database backends off into backends. |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
178 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
179 # Revision 1.2 2001/07/23 06:25:50 richard |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
180 # relfected the move to roundup/backends |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
181 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
182 # Revision 1.1 2001/07/23 04:33:21 anthonybaxter |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
183 # split __init__.py into 2. dbinit and instance_config. |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
184 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
185 # Revision 1.1 2001/07/23 03:50:46 anthonybaxter |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
186 # moved templates to proper location |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
187 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
188 # Revision 1.2 2001/07/22 12:09:32 richard |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
189 # Final commit of Grande Splite |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
190 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
191 # |
|
127
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
192 # vim: set filetype=python ts=4 sw=4 et si |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
193 |
