Code

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