Code

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