Code

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