Code

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