Code

b0b8a4af5a4efe2b0cd44612664ab45c63f2ac21
[roundup.git] / CHANGES.txt
1 This file contains the changes to the Roundup system over time. The entries
2 are given with the most recent entry first.
4 2002-04-?? 0.4.2
5 Feature:
6  . added a "detectors" directory for people to put their useful auditors and
7    reactors in. Note - the roundupdb.IssueClass.sendmessage method has been
8    split and renamed "nosymessage" specifically for things like the nosy
9    reactor, and "send_message" which just sends the message.
10  . link() htmltemplate function now has a "showid" option for links and
11    multilinks. When true, it only displays the linked node id as the anchor
12    text. The link value is displayed as a tooltip using the title anchor
13    attribute.
14    To use in eg. the superseder field, have something like this:
15    <td>
16     <display call="field('superseder', showid=1)">
17     <display call="classhelp('issue', 'id,title', label='list', width=500)">
18     <property name="superseder">
19      <br>View: <display call="link('superseder', showid=1)">
20     </property>
21    </td>
22  . stripping of the email message body can now be controlled through the
23    config variables EMAIL_KEEP_QUOTED_TEXT and EMAIL_LEAVE_BODY_UNCHANGED.
24  . all database files created are now group readable and writable.
26 Fixed:
27  . stop sending blank (whitespace-only) notes
28  . cleanup of serialisation for database storage
29  . node ids are now generated from a lockable store - no more race conditions
30  . sorting was applied to all nodes of the MultiLink class instead of
31    to the nodes that are actually linked to in the "field" template
32    function.  This adds about 20+ seconds in the display of an issue if
33    your database has a 1000 or more issues in it.
36 2002-03-25 - 0.4.1
37 Feature:
38  . use blobfiles in back_anydbm which is used in back_bsddb.
39    change test_db as dirlist does not work for subdirectories.
40    ATTENTION: blobfiles now creates subdirectories for files.
41  . add module blobfiles in backends with file access functions.
42  . roundup db catch only IOError in getfile.
43  . roundup db catches retrieving not existing files.
44  . #503204 ] mailgw needs a default class
45    - partially done - the setting of additional properties can wait for a
46      better configuration system.
47  . Alternate email addresses are now available for users. See the MIGRATION
48    file for info on how to activate the feature.
49  . #511168 ] Web interface: Adding new products
50    Classes that don't provide template html get a default edit interface now:
51    - access using the admin "class list" interface
52    - limited to admin-only
53    - requires the csv module from object-craft (url given if it's missing)
54  . Added popup help for classes using the classhelp html template function.
55    - add <display call="classhelp('priority', 'id,name,description')">
56      to an item page, and it generates a link to a popup window which displays
57      the id, name and description for the priority class. The description
58      field won't exist in most installations, but it will be added to the
59      default templates.
60  . #517734 ] web header customisation is obscure
61  . All messages sent to the nosy list are now encoded as
62    quoted-printable before they are sent.
63  . Fixed display of mutlilink properties when using the template
64    functions, menu and plain.
66 Fixed:
67  . Clean up mail handling, multipart handling.
68  . respect encodings in non multipart messages.
69  . makeHtmlBase: re.sub under python 2.2 did not replace '.', string.replace
70    does it.
71  . preamble in tepmlateBuilder mentioned htmldata
72  . mailgw checks encoding on first part too.
73  . #511586 ] unittest FAIL: testReldate_date
74  . Added a uniquely Roundup header to email, "X-Roundup-Name"
75  . All forms now have "double-submit" protection when Javascript is enabled
76    on the client-side.
77  . #516883 ] mail interface + ANONYMOUS_REGISTER
78  . #516854 ] "My Issues" and redisplay
79  . #517906 ] Attribute order in "View customisation"
80  . #514854 ] History: "User" is always ticket creator
81  . wasn't handling cvs parser feeding correctly
82  . fixed some problems in date calculations (calendar.py doesn't handle over-
83    and under-flow). Also, hour/minute/second intervals may now be more than
84    99 each.
85  . #527416 ] roundup-admin uses undefined value
86  . #527503 ] unfriendly init blowup when parent dir
87    (also handles UsageError correctly now in init)
88  . #524129 ] roundup-admin gets python path wrong
91 2002-01-24 - 0.4.0
92 Feature:
93  . much nicer history display (actualy real handling of property types etc)
94  . journal entries for link and mutlilink properties can be switched on or 
95    off
96  . properties in change note are now sorted
97  . you can now use the roundup-admin tool pack the database
99 Fixed:
100  . the mail gateway now responds with an error message when invalid values 
101    for arguments are specified for link or mutlilink properties
102  . modified unit test to check nosy and assignedto when specified as arguments
103  . handle attachments with no name (eg tnef)
104  . fixed setting nosy as argument in subject line
105  . fixed back_bsddb so it passed the journal tests
106  . fixed status changes in mail gateway (eg. unread -> chatting)
107  . we'll actually distribute the frontends directory now, as advertised...
108  . handle stripping of "AW:" from subject line
109  . htmltemplate list() wasn't sorting...
110  . unit tests for html templating (and re-enabled the listbox field for
111    multilinks)
112  . allow abbreviation of "help" in admin tool too.
113  . run_tests testReldate_date failed if LANG is 'german'
114  . mailgw failures (unexpected ones) are forwarded to the roundup admin
117 2002-01-16 - 0.4.0b2
118 Fixed:
119  . #495392 ] empty nosy -patch
120  . #500574 ] messageid must have format <part1@part2>
121  . fixed some problems with web editing and change detection
122  . mail splitting wasn't detecting responses in the same "section" as quoted
123    text
124  . missed a "from i18n import _" in date.py
125  . #501690 ] MIGRATION.txt incomplete
126  . #502342 ] pipe interface
127  . #502437 ] rogue reactor and unittest
128  . re-enabled dumbdbm when using python >2.1.1 (ie 2.1.2, 2.2)
129  . changed all config accesses so they access either the instance or the
130    config attriubute on the db. This means that all config is obtained from
131    instance_config instead of the mish-mash of classes. This will make
132    switching to a ConfigParser setup easier too, I hope.
133  . #502951 ] adding new properties to old database
134  . #502953 ] nosy-like treatment of other multilinks
135  . #503164 ] create and passwords
136  . plain rendering of links in the htmltemplate now generate a hyperlink to
137    the linked node's page.
138  . #503330 ] ANONYMOUS_REGISTER now applies to mail
139  . #503353 ] setting properties in initial email
140  . #502956 ] filtering by multilink not supported
141  . #503340 ] creating issue with [asignedto=p.ohly]
142  . #502949 ] index view for non-issues and redisplay
143  . #503793 ] changing assignedto resets nosy list
144  . lots of date/interval related changes:
145    - more relaxed date format for input
146    - handle None for date/interval properties
149 2002-01-08 - 0.4.0b1
150 Feature:
151  . Added INSTANCE_NAME to configuration - used in web and email to identify
152    the instance.
153  . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
154    signature info in e-mails.
155  . Some more flexibility in the mail gateway and more error handling.
156  . Login now takes you to the page you back to the were denied access to.
157  . Admin user now can has a user index link on their web interface.
158  . We now have basic transaction support. Information is only written to
159    the database when the commit() method is called. Only the anydbm and
160    bsddb3 backends are modified in this way - the bsddb3 backend needs a
161    lot more work anyway...
162     - the CGI and mailgw automatically commit() at the end of processing a
163       single transaction
164     - the admin tool requires an explicit "commit" - it will prompt at exit
165       if there are unsaved changes. A "rollback" removes all changes made
166       during the session (up to the last commit).
167  . Added the "display" command to the admin tool - displays a node's values
168  . Message author's name appears in From: instead of roundup instance name
169    (which still appears in the Reply-To:)
170  . Added a Zope frontend for roundup.
171  . Centralised the python version check code, bumped version to 2.1.1 (really
172    needs to be 2.1.2, but that isn't released yet :)
173  . much better attaching of erroneous messages in the mail gateway
174  . #496356 ] Use threading in messages
175    This adds the tracking of messages by message-id and allows threading
176    using in-reply-to. Most e-mail clients support threading using this
177    feature, and we hope to add support for it to the web gateway.
179 Fixed:
180  . Lots of bugs, thanks Roché and others on the devel mailing list!
181  . login_action and newuser_action return values were being ignored
182  . Woohoo! Found that bloody re-login bug that was killing the mail
183    gateway.
184  . Fixed login/registration forwarding the user to the right page (or not,
185    on a failure)
186  . We now use weakrefs in the Classes to keep the database reference, so
187    the close() method on the database is no longer needed.
188  . #487480 ] roundup-server
189  . #487476 ] INSTALL.txt
190  . #489760 ] [issue] only subject
191  . fixed doc/index.html to include the quoting in the mail alias.
192  . fixed the backends __init__ so we can pydoc the backend modules
193  . web i/f reports "note added" if there are no changes but a note is entered
194  . we were assuming database files created by anydbm had the same name, but
195    this is not the case for dbm. We now perform a much better check _and_
196    cope with the anydbm implementation module changing too!
197  . envelope-from is now set to the roundup-admin and not roundup itself so
198    delivery reports aren't sent to roundup (thanks Patrick Ohly)
199  . #495400 ] entering blanks
200    Values with spaces are now accepted in roundup-admin - check the long help
201    for details.
202  . #496360 ] table width does not work
203  . detectors were being registered multiple times
204  . added tests for mailgw
207 2001-11-23 - 0.3.0 
208 Feature:
209  . #467129 ] Lossage when username=e-mail-address
210  . #473123 ] Change message generation for author
211  . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue.
212  . Added Structured Text rendering to htmltemplate, thanks Brad Clements.
213  . Added CGI configuration via env vars (see roundup.cgi for details)
214  . "roundup.cgi" is now installed to "<python-prefix>/share/roundup/cgi-bin"
215  . roundup-admin now accepts abbreviated commands (eg. l = li = lis = list)
216  . roundup-mailgw now supports unix mailbox and POP as sources of mail.
217  . roundup-admin now handles all hyperdb exceptions
218  . users may attach files to issues (and support in ext) through the web now
219  . incorporated patch from Roch'e Compaan implementing attachments in nosy
220    e-mail
221  . added a target version field to the extended issue schema
222  . added dummy hooks for I18N and some preliminary (test) markup of
223    translatable messages
225 Fixed:
226  . Fixed a bug in HTMLTemplate changes.
227  . 'unread' to 'chatting' automagic status change was b0rken.
228  . Anonymous user lockout wasn't working.
229  . roundup-server now works on Windows, thanks Juergen Hermann.
230  . Fixed install documentation, also thanks Juergen Hermann.
231  . Fixed some URL issues in roundup.cgi, again thanks Juergen Hermann.
232  . bug #475347 ] WindowsError still not caught (patch from Juergen Hermann)
233  . bug #474749 ] indentations lost
234  . bug #477104 ] HTML tag error in roundup-server
235  . bug #477107 ] HTTP header problem
236  . bug #477687 ] conforming html
237  . bug #474372 ] Netscape 4.77 do not render Support form
238  . bug #477685 ] base64.decodestring breaks
239  . bug #477837 ] lynx does not like the cookie
240  . bug #477892 ] Password edit doesn't fix login cookie
241  . newuser_action now presents error messages rather than tracebacks.
242  . bug #479511 ] mailgw to pop
243  . bug #479508 ] roundup-admin crash on wrong class
244  . bad error report in hyperdb
245  . roundup.mailgw now handles errors on the set() and create() at the end
246    of processing
247  . roundup.mailgw also handles messages that are passed to it that don't
248    contain a From: line - apparently some POP servers can do this. It punts
249    an error message to the roundup admin.
250  . fixed nosy reaction and author copy handling
251  . errors in nosy reaction will be propogated now (were effectively being
252    squashed)
253  . re-open the database as the author in mail handling
254  . missing "return" in filter_section (thanks Roch'e Compaan)
257 2001-10-23 - 0.3.0 pre 3
258 Feature:
259  . MailGW now moves 'unread' to 'chatting' on receiving e-mail for an issue.
260  . feature #473127: Filenames. I modified the file.index and htmltemplate
261    source so that the filename is used in the link and the creation
262    information is displayed.
263  Admin Tool (roundup-admin):
264   . Interactive mode for running multiple (independant at present) commands.
265   . Tabular display of nodes.
266   . Import and export via colon-separated files.
268 Changed:
269  . re-organised the html templating code. Fixed some bugs, probably
270    introduced some more.  Hopefully not too many.
272 Fixed:
273  . Stand-alone server now has a configurable setuid user.
274  . CGI interface wasn't handling checkboxes at all.
275  . Fixed quopri usage in mailgw from bug reports on mailing list.
276  . Remove the "freshen" command from the roundup-admin tool.
277  . Catch errors in login - no username or password supplied.
278  . Fixed editing of password (Password property type) thanks Roch'e Compaan.
279  . Fixed grouping of non-str properties thanks Roch'e Compaan.
280  . bug #473121: The customisation view and filters (CGI interface view
281    customisation section may now be hidden (patch from Roch'e Compaan.)
282  . bug #473122: Issue id sorting (hyperdb sorts strings-that-look-like-numbers
283    as numbers now.
284  . bug #473124: UI inconsistency with Link fields.
285    This also prompted me to fix a fairly long-standing usability issue -
286    that of being able to turn off certain filters.
287  . bug #473125: Paragraph in e-mails
288  . bug #473126: Sender unknown
289  . bug #473130: Nosy list not set correctly
292 2001-10-11 - 0.3.0 pre 2
293 Fixed:
294  . Hyperdatabase was inserting empty strings instead of None for missing
295    property values. This broke a lot of things.
298 2001-10-10 - 0.3.0 pre 1
299 Feature:
300  . roundup-admin create now prompts for property info if none is supplied
301    on the command-line.
302  . hyperdb Class getprops() method may now return only the mutable
303    properties.
304  . CGI interfaces now generate a top-level index of their known instances.
306 Changed:
307  . Login now uses cookies, which makes it a whole lot more flexible. We can
308    now support anonymous user access (read-only, unless there's an
309    "anonymous" user, in which case write access is permitted). Login
310    handling has been moved into cgi_client.Client.main()
311  . The "extended" schema is now the default in roundup init.
312  . The schemas have had their page headings modified to cope with the new
313    login handling. Existing installations should copy the interfaces.py
314    file from the roundup lib directory to their instance home.
315  . Passwords are now encoded by default (except exising databases which
316    will only be encoded when the passwords are changed). The scheme used
317    at the moment is SHA - but the code is flexible enough to take any
318    number of encoding systems.
319  . The roundup-admin tool always operates as the "admin" user now. Database
320    protection should be achieved using file system protections (see the
321    documentation for details.)
323 Fixed:
324  . Incorrectly had a Bizar Software copyright on the cgitb.py module from
325    Ping - has been removed.
326  . Pretty time interval wasn't handling > 1 month properly.
327  . Generation of links to Link/Multilink in indexes. (thanks Hubert Hoegl)
328  . AssignedTo wasn't in the "classic" schema's item page.
329  . Fixed a whole bunch of places in the CGI interface where we should have
330    been returning Not Found instead of throwing an exception.
331  . Fixed a deviation from the spec: trying to modify the 'id' property of
332    an item now throws an exception.
333  . The plain() template function now html-escapes the content.
334  . Change message was stuffing up for multilinks with no key property.
338 --------------
340 2001-08-30 - 0.2.8
341 Fixed:
342  . Wasn't handling unguessable mime types for file uploads.
343  . Missing import in mailgw.
346 2001-08-29 - 0.2.7
347 Feature:
348  . Text searches are now case insensitive. All forms of text search use
349    regular expressions now.
351 Fixed:
352  . Had another 2.1-ism in the unit tests
353  . Made the mail parser a little more robust w.r.t missing Subject:
354    (both thanks Mikhail Sobolev)
355  . Missed some isFooType usages (thanks Mikhail Sobolev for spotting them)
356  . Reverted back to sending change messages to the web editor of a node so
357    that the change note message is actually genrated.
358  . CGI interface wasn't generating correct change messages.
359  . Notes entered during a change are saved to the messages list even if
360    there's no nosy list. No message is generated if there's no nosy list and
361    there's no change note (since it would just duplicates the journal).
362  . Completely removed the bsddb3 module from the tests - will be reinstated
363    when the http://bsddb.sourceforge.net/'s bugs #439959 and #456408 are
364    dealt with. One is fixed in CVS, the other pending.
367 2001-08-08 - 0.2.6
368 Note:
369  . Roundup is now released under the same terms as the Python License.
371 Feature:
372  . Added tests for instance initialisation. No more releasing the software
373    with bugs in roundup.init!
374  . Now bundling unittest with the package so that python 2.0 users can use
375    the tests.
376  . Much better error handling and messages generated by the mail gateway.
378 Fixed:
379  . Implemented correct mail splitting. Added unit tests. Also snips
380    signatures now too.
381  . Bug #447671 - typo in roundup/init.py
382  . Changed date.Date to use regular string formatting instead of strftime -
383    win32 seems to have problems with %T and no hour... or something...
384  . Bug #448484 - now catching correct exception from makedirs.
385  . Instances are now opened by a special function that generates a unique
386    module name for the instances on import time.
389 2001-08-03 - 0.2.5
390 Note:
391  . The bsddb3 module has a bug that renders it non-functional. Users should
392    select the anydbm or bsddb backend instead.
394 Fixed:
395  . Python 2.0 does not contain the unittest module. The setup.py module now
396    checks for unittest before attempting to run the unit tests.
399 2001-08-03 - 0.2.4
400 Features:
401  . Added ability for cgi newblah forms to indicate that the new node
402    should be linked somewhere.
403  . Added time logging and file uploading to the templates.
404  . Added "My Issues" and "My Support" to extended template. Changed "Your
405    Details" to "My Details". Changed the "New Foo" links to "Add Foo".
406    Added links for unassigned support and issues. Generally reorganised and
407    cleanup the header up.
408  . Changed the order of the information in the message generated by web edits.
409  . Extended the range of intervals that are pretty-printed before actual dates
410    are displayed.
411  . Added more BUILD instructions including the "clean" command to force
412    rebuild.
413  . Web edit messages aren't sent to the person who did the edit any more. No
414    message is generated if they are the only person on the nosy list.
415  . Roundupdb now appends "mailing list" information to its messages which
416    include the e-mail address and web interface address. Templates may
417    override this in their db classes to include specific information (support
418    instructions, etc).
420 Fixed:
421  . Argument handling for the roundup-admin find command.
422  . Handling of summary when no note supplied for newblah. Again.
423  . Detection of no form in htmltemplate Field display.
424  . Checklist html template command was setting wrong name.
425  . 2.1-specific gmtime() (no arg) call in roundup.date. (thanks Paul Wright)
426  . mailgw was making naughty assumptions about the schema of the classes it
427    was creating nodes for.
428  . remove the $Foo$ from the HTML files stored in the htmlbase modules.
429  . Instance import now imports the instance using imp.load_module so that
430    we can have instance homes of "roundup" or other existing python package
431    names.
434 2001-07-30 - 0.2.3
435 Big change:
436  . I've split off the support class from the issue class in "extended".
437    Anyone who has any support entries, sorry. It should be possible to
438    write a scipt that moves the entries over pretty easily. If this causes
439    you pain, I'll do so. You'll want to update your instance with the new
440    code in "extended" either way.
442 Features:
443  . Added the unit tests to the start of setup.py so they're run whenever
444    we do anything distutils'y.
445  . Added nicer prompting to the roundup-admin "init" command.
446  . Actually, the roundup-admin code is totally revamped, and has command
447    help and better command-line arg handling.
448  . The cgi_client.Client base class now reflects the structure of "classic"
449    rather than "extended" since "classic" is more of a "base" template.
450  . Added more DB to test. Skips tests where imports fail.
452 Fixed:
453  . One of the tests in test_date had the wrong expected result.
454  . Fixed IssueClass so that superseders links to its classname rather than
455    hard-coded to "issue".
456  . templatebuilder was catching IOError instead of OSError.
457  . The cgi_client newblah method wasn't detecting the __note form field
458    properly.
459  . The History command in htmltemplate didn't handle a new node (None
460    nodeid) properly.
463 2001-07-29 - 0.2.2
464 Features:
465  . Added implementation.txt to the doc directory. Contains implementation
466    notes specific to this implementations of Roundup.
467  . Cleaned up mailgw some (subclass Message for getPart) and added some
468    tests for multipart splitting.
469  . Better checking for html dir in templatebuilder.
470  . Base hyperdb.Class now fakes the "id" property.
471  . Made the classic roundup look more like the original prototype.
472  . Made cgi_client and templating slightly more generic.
473  . Moved some code around in cgi_client allowing for subclassing to change
474    behaviour.
475  . Added the fabricated property "id" to all hyperdb classes.
476  . Cleanup of the link label generation (new method on hyperdb.Class to do
477    it).
479 Fixed:
480  . Everything uses errno module now to check errno values.
481  . New issue form handles lack of note better now.
482  . HTML templating uses section-bar style for index group headers now.
483  . Fixed problem in link display when Link value is None.
484  . Form handling in cgi client wasn't propogating through the previous
485    query elements.
486  . Fixed sort arguments generated for column headings so sorting can be
487    changed now.
490 2001-07-28 - 0.2.1
491 Features:
492  . Added docstring to roundup package so pydoc reports useful information.
493  . Added the roundup 1 software carpentry submission HTML to the doc
494    directory as "overview.html".
496 Fixes:
497  . Fixed bug in init command - templatebuilder was assuming existence of
498    "html" directory in instance home.
499  . Fixed INSTALL.txt to reflect some changes in the installation and test
500    procedure. Whatdya know, "setup.py install" does the script install.
501    There you go...
502  . Fixed some non-string node ids in cgi_client now that the hyperdb is
503    strict about such things.
505 2001-07-26 - 0.2.0
506 Features:
507  . Major reorganisation of code to allow multiple roundup instances and a
508    single, site-packages -based installation. Also allows multiple database
509    back-ends.
510  . Moved the bin/ proggies into the top dir, so that it all works
511    out-of-the-box
512  . Added the "classic" template - a direct implementation of the Roundup
513    spec. Well, as close as we're going to get, anyway.
514  . Added an issue priority of support to "extended"
515  . Added command-line arg handling to roundup-server so it's more useful 
516    out-of-the-box.
517  . Added distutils-style installation of "lib" files.
518  . Added some unit tests.
520 Fixes:
521  . Fixed bug in re generation in the filter
522  . Fixed handling of None String property in grouped list headings
523  . Fixed adding new issue with no change note
524  . Fixed values in text input fields which contained quotes (") are now
525    quoted.
526  . Fixed a bug in the hyperdb filter - wrong variable names in the error
527    message.
529 2001-07-19 - 0.1.3
530  . Reldate now takes an argument "pretty" - when true, it pretty-prints the
531    interval generated up to 5 days, then pretty-prints the date of last
532    activity. The issue index and item now use the pretty format.
533  . Classes list for admin user in CGI interface.
534  . Made the view configuration more accessible, neater and more realistic.
535  . Fixed list view grouping handling grouping by a Multilink or String or Link
536    value of None or Date, ...  (mind you, sorting by Date???)
537  . Fixed bug in the plain formatter when a Link was None.
538  . Fixed ordering of list view column headings.
539  . Fixed list view column heading sort links - and limited the number of
540    columns to sort by to 2.
541  . Added searching by glob to StringType filtering -
542     ^text  - search for text at start of fields
543     text$  - search for text at end of fields
544     ^text$ - exactly match text in fields
545     te*xt  - search for text matching "te"<any characters>"xt"
546     te?xt  - search for text matching "te"<any one character>"xt"
547  . Added more fields to the issue.filter and issue.index templates
550 2001-07-18 - 0.1.2
551  . Set default index to ?:group=priority&:columns=activity,status,title so
552    the priority column isn't displayed.
553  . Thanks Anthony:
554    . added notes to the README about Python prerequisites
555    . added check to roundup.py, roundup.cgi, server.py and roundup-mailgw.py
556      for python 2+ - and made the file itself parseable by 1.5.2 ;)
557    . python 2.0 didn't have the default args for the time module functions.
558    . better handling of db directory in initDB
559  . Sorting on the extra properties defined by roundupdb classes was broken
560    due to the caching used. May now sort on activity and creation
561    properties, etc.
562  . Set the default index to sort on activity
565 2001-07-18 - 0.1.1
566  . Initial version release with consent of Roundup spec author, Ka-Ping Yee:
567    "Amazing!  Nice work.  I'll watch for the source code on your website."
569 2001-07-11 - 0.1.0
570  . Needed a bug tracking system. Looked around. Tried to install many
571    Perl-based systems, to no avail. Got tired of waiting for Roundup to be
572    released. Had just finished major product project, so needed something
573    different for a while. Roundup here I come...