Code

roundup.git
20 years agofixed bug in args to new DateHTMLProperty in the local() method (sf bug 901444)
richard [Mon, 23 Feb 2004 05:40:36 +0000 (05:40 +0000)]
fixed bug in args to new DateHTMLProperty in the local() method (sf bug 901444)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2105 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoEudora can't handle utf-8 headers. We love Eudora. (sf bug 900046)
richard [Mon, 23 Feb 2004 05:29:06 +0000 (05:29 +0000)]
Eudora can't handle utf-8 headers. We love Eudora. (sf bug 900046)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2103 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago*** empty log message ***
richard [Sun, 22 Feb 2004 22:13:49 +0000 (22:13 +0000)]
*** empty log message ***

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2102 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofixes to some unit tests, and a cleanup
richard [Fri, 20 Feb 2004 03:48:16 +0000 (03:48 +0000)]
fixes to some unit tests, and a cleanup

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2101 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix permission handling around rego
richard [Thu, 19 Feb 2004 02:39:05 +0000 (02:39 +0000)]
fix permission handling around rego

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2100 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agotweaks to make un-quoted-printable-aware readers bitch and moan to me less
richard [Thu, 19 Feb 2004 02:11:38 +0000 (02:11 +0000)]
tweaks to make un-quoted-printable-aware readers bitch and moan to me less

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2099 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoTimes in 'Date Value' examples were all out by 5 hours.
drkorg [Tue, 17 Feb 2004 05:48:04 +0000 (05:48 +0000)]
Times in 'Date Value' examples were all out by 5 hours.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2097 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agotest fixes
richard [Tue, 17 Feb 2004 03:48:08 +0000 (03:48 +0000)]
test fixes

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2096 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agodon't insert spaces into designators, it just confuses users (sf bug 898087)
richard [Mon, 16 Feb 2004 21:13:04 +0000 (21:13 +0000)]
don't insert spaces into designators, it just confuses users (sf bug 898087)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2094 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoproper fix this time
richard [Sun, 15 Feb 2004 21:55:10 +0000 (21:55 +0000)]
proper fix this time

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2089 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago safer logging from HTTP server (sf bug 896917
richard [Sun, 15 Feb 2004 21:44:02 +0000 (21:44 +0000)]
 safer logging from HTTP server (sf bug 896917

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2088 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoCall actions in a different way so we won't hide any bad TypeErrors.
jlgijsbers [Sun, 15 Feb 2004 10:08:20 +0000 (10:08 +0000)]
Call actions in a different way so we won't hide any bad TypeErrors.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2087 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoRemove duplication in permission handling:
jlgijsbers [Sat, 14 Feb 2004 19:58:20 +0000 (19:58 +0000)]
Remove duplication in permission handling:
* Use execute() as a Template Method, with permission() and handle() as the hook methods.
* Provide a default implementation for the permission() method, which checks for self.permissionType, if the attribute is defined.
* New hasPermission() method which checks whether the current user has a permission on the current class

editItemPermission method:
* Better error message when user is editing roles when they shouldn't be.
* Extracted isEditingSelf(), which checks whether a user is editing his/her own details.
* Use hasPermission method.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2086 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoUpdate customization examples too, expand upgrade notice a bit.
jlgijsbers [Sat, 14 Feb 2004 17:18:01 +0000 (17:18 +0000)]
Update customization examples too, expand upgrade notice a bit.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2085 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoUpdate documentation for the client.py split and add an upgrade notice.
jlgijsbers [Sat, 14 Feb 2004 11:28:07 +0000 (11:28 +0000)]
Update documentation for the client.py split and add an upgrade notice.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2084 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoAdd backwards compatible action handling.
jlgijsbers [Sat, 14 Feb 2004 11:27:23 +0000 (11:27 +0000)]
Add backwards compatible action handling.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2083 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoSimple version of collision detection, with tests and a new generic template for...
jlgijsbers [Sat, 14 Feb 2004 02:06:27 +0000 (02:06 +0000)]
Simple version of collision detection, with tests and a new generic template for classic and minimal.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2082 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoAdd change entry for client.py split.
jlgijsbers [Sat, 14 Feb 2004 01:55:35 +0000 (01:55 +0000)]
Add change entry for client.py split.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2081 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoFix last commit to make editing/creating items work again.
jlgijsbers [Sat, 14 Feb 2004 01:17:38 +0000 (01:17 +0000)]
Fix last commit to make editing/creating items work again.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2080 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoforward-porting of fixed edit action / parsePropsFromForm to handle index-page edits...
richard [Fri, 13 Feb 2004 01:32:37 +0000 (01:32 +0000)]
forward-porting of fixed edit action / parsePropsFromForm to handle index-page edits better

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2078 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoadded new example
richard [Fri, 13 Feb 2004 01:31:03 +0000 (01:31 +0000)]
added new example

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2077 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agotweaking
richard [Fri, 13 Feb 2004 01:12:31 +0000 (01:12 +0000)]
tweaking

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2075 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agodocumentation cleanup
richard [Wed, 11 Feb 2004 23:55:10 +0000 (23:55 +0000)]
documentation cleanup

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2073 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoMove out parts of client.py to new modules:
jlgijsbers [Wed, 11 Feb 2004 21:34:31 +0000 (21:34 +0000)]
Move out parts of client.py to new modules:
* actions.py - the xxxAction and xxxPermission functions refactored into Action classes
* exceptions.py - all exceptions
* form_parser.py - parsePropsFromForm & extractFormList in a FormParser class

Also added some new tests for the Actions.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2072 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agomaintenance -> admin guide
richard [Wed, 11 Feb 2004 00:41:33 +0000 (00:41 +0000)]
maintenance -> admin guide

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2071 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoif you're going to enforce class-level permissions, then enforce them at the class...
richard [Wed, 11 Feb 2004 00:22:20 +0000 (00:22 +0000)]
if you're going to enforce class-level permissions, then enforce them at the class level

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2070 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix for new mailer API
richard [Wed, 11 Feb 2004 00:21:46 +0000 (00:21 +0000)]
fix for new mailer API

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2069 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofixed roundup-reminder script to use default schema (thanks Klamer Schutte)
richard [Wed, 11 Feb 2004 00:00:01 +0000 (00:00 +0000)]
fixed roundup-reminder script to use default schema (thanks Klamer Schutte)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2067 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoclarification
richard [Tue, 10 Feb 2004 23:39:15 +0000 (23:39 +0000)]
clarification

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2066 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoadded testPasswordUnset
wc2so1 [Tue, 27 Jan 2004 18:16:50 +0000 (18:16 +0000)]
added testPasswordUnset
as metakit doesn't handle null values.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2064 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoChanged to 1.56
wc2so1 [Tue, 27 Jan 2004 18:10:48 +0000 (18:10 +0000)]
Changed to 1.56

 13 worked-around a current metakit bug, so retiring properties now
    works correctly.
    metakit 2.9.2 has a bug when using "find" on ordered views,
     using multiple arguments for find doesn't work.

 Known Current Bugs:
    You can't change a class' key properly.
    This shouldn't be too hard to fix.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2063 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago 1 Added an explicit close to the Indexer class. This was handled
wc2so1 [Mon, 26 Jan 2004 17:07:56 +0000 (17:07 +0000)]
 1 Added an explicit close to the Indexer class.  This was handled
   by garbage collection before.

 2  Added an MKBackendError exception that gets thrown on some metakit errors.
   Should there be a general rdbms exception?

 3 Added a sanity check when creating metakit tables in __getview
   There are some test cases that create columns of the same name
   with different metakit types.  This can cause crashing issues with
   older version of metakit.  We catch these before hand and raise
   an exception.

 4 metakit db's cannot be weakref'd so this was removed

 5 fixed a metakit.append, metakit must append lists, objects or
   dictionaries, it can't handle scalars.
   sv.append(int(entry))
    became
   sv.append((int(entry),))

 6 To make it easier to compare to the other backends
  Class.keyname is changed to Class.key

 7 Fixed Class.lookup, sometimes it would claim that a valid
  row was not valid (an _isdel row _property of 0 would
  be reported as 1) This is because metakit's view.find
  operation was returning bad results.  This should be
  view.select or view.find on a single property.

 8 calling create with no parameters raises a value error
  I'm not sure if this is appropriate, but it fixes
  a regression test :)

 9 The get method was only converting results for commited
   values.  uncommited values were not being converted
   using the metakit conversion table

 10 Added a check to the Class.__init__ to raise a ValueError
    if the database already has a class of the same name.

 11 Boolean and Number types can now have null values.  This
    is a backwards incompatible fix in that old databases
    won't work correctly.

    The fix is simple.  For a boolean column, 0 is now None
                                              1 is False (returns 0)
                                              2 is True (returns 1)
                        For a numeric column, 0 is now None
                                              values 0 get returned as value-1
                                              values < 0 get returned as value
   Set the BACKWARDS_COMPATIBLE flag to False to enable this fix.

 12 Enumerated READ and READWRITE for the getview and getindexedview
    These will probably be removed because they are not used

 Known Current Bugs:
       It is currently is not possible to retire an id with name X
       and add a new unretired property with name X.
       Confused?  Here is the regression test:

        self.assertRaises(ValueError, self.db.user.create)

        newid = self.db.user.create(username="spam")
        self.assertEqual(self.db.user.lookup('spam'), newid)
        self.db.commit()
        self.assertEqual(self.db.user.lookup('spam'), newid)
        self.db.user.retire(newid)
        self.assertRaises(KeyError, self.db.user.lookup, 'spam')

        # use the key again now that the old is retired (metakit FAILS!!)
        newid2 = self.db.user.create(username="spam")
        self.assertNotEqual(newid, newid2)
        # try to restore old node. this shouldn't succeed!
        self.assertRaises(KeyError, self.db.user.restore, newid)

        self.assertRaises(TypeError, self.db.issue.lookup, 'fubar')

     Boolean and number values will not return None (now fixed but
      breaks backwards compatibility)

     This causes some regression tests to fix, namely:

     def testPasswordUnset(self):
        x = password.Password('x')
        nid = self.db.user.create(username='foo', password=x)
        self.db.user.set(nid, assignable=None)
        self.assertEqual(self.db.user.get(nid, "assignable"), None)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2062 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agobackport content-type fix to 0.6
richard [Wed, 21 Jan 2004 05:00:08 +0000 (05:00 +0000)]
backport content-type fix to 0.6

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2061 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoapplied patch 873534
richard [Wed, 21 Jan 2004 01:16:30 +0000 (01:16 +0000)]
applied patch 873534

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2059 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix to metakit from Brian Kelley
richard [Tue, 20 Jan 2004 22:45:36 +0000 (22:45 +0000)]
fix to metakit from  Brian Kelley

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2058 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agomore compliance testing, this time for find()
richard [Tue, 20 Jan 2004 05:55:51 +0000 (05:55 +0000)]
more compliance testing, this time for find()

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2056 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix the filename fallback
richard [Tue, 20 Jan 2004 05:55:24 +0000 (05:55 +0000)]
fix the filename fallback

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2055 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agouse the upload-supplied content-type if there is one
richard [Tue, 20 Jan 2004 03:58:38 +0000 (03:58 +0000)]
use the upload-supplied content-type if there is one

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2054 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agomore useful file listing
richard [Tue, 20 Jan 2004 03:57:26 +0000 (03:57 +0000)]
more useful file listing

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2053 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago*** empty log message ***
richard [Tue, 20 Jan 2004 00:11:51 +0000 (00:11 +0000)]
*** empty log message ***

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2052 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoimplement built-in permission checks for rendered fields, making templating much...
richard [Tue, 20 Jan 2004 00:06:56 +0000 (00:06 +0000)]
implement built-in permission checks for rendered fields, making templating much simpler

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2051 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix minor bug in mailgw POP handler
richard [Tue, 20 Jan 2004 00:06:09 +0000 (00:06 +0000)]
fix minor bug in mailgw POP handler

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2050 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoadd roundup version to mailer headers
richard [Tue, 20 Jan 2004 00:05:46 +0000 (00:05 +0000)]
add roundup version to mailer headers

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2049 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago*** empty log message ***
richard [Tue, 20 Jan 2004 00:05:07 +0000 (00:05 +0000)]
*** empty log message ***

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2048 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agovarious updates
richard [Tue, 20 Jan 2004 00:04:44 +0000 (00:04 +0000)]
various updates

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2047 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago- changed template to remove duplicate display table, using built-in
richard [Mon, 19 Jan 2004 23:57:47 +0000 (23:57 +0000)]
- changed template to remove duplicate display table, using built-in
  permission checks now
- fixed permissions settings for anonymous to make view work again for them

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2046 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago. changes to support the new templating Unauthorised exception.
richard [Mon, 19 Jan 2004 23:56:07 +0000 (23:56 +0000)]
. changes to support the new templating Unauthorised exception.
. bugfix in file download
- fixed display of feedback messages in some situations (sf bug 739545)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2045 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agobody_title improvement
richard [Mon, 19 Jan 2004 23:01:10 +0000 (23:01 +0000)]
body_title improvement

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2044 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago*** empty log message ***
jlgijsbers [Sat, 17 Jan 2004 13:49:06 +0000 (13:49 +0000)]
*** empty log message ***

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2043 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix re-enabling queries (sf bug 861940)
richard [Sat, 17 Jan 2004 01:59:33 +0000 (01:59 +0000)]
fix re-enabling queries (sf bug 861940)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2041 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofixed check for JS pop()/push() to make more general (sf bug 877504)
richard [Sat, 17 Jan 2004 01:49:18 +0000 (01:49 +0000)]
fixed check for JS pop()/push() to make more general (sf bug 877504)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2039 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago*** empty log message ***
richard [Thu, 15 Jan 2004 04:12:03 +0000 (04:12 +0000)]
*** empty log message ***

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2037 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agocommit old file-serving bugfix, and new pt content-type fix
richard [Thu, 15 Jan 2004 00:01:15 +0000 (00:01 +0000)]
commit old file-serving bugfix, and new pt content-type fix

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2035 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoanother example
richard [Wed, 14 Jan 2004 23:50:12 +0000 (23:50 +0000)]
another example

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2034 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoinfo about how roundup is installed
richard [Sat, 10 Jan 2004 21:53:27 +0000 (21:53 +0000)]
info about how roundup is installed

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2033 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofixed mailgw handling of subject-line errors
richard [Fri, 19 Dec 2003 01:50:19 +0000 (01:50 +0000)]
fixed mailgw handling of subject-line errors

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2028 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoforce textareas to use monospace fonts, lessening surprise on the user
richard [Wed, 17 Dec 2003 00:41:19 +0000 (00:41 +0000)]
force textareas to use monospace fonts, lessening surprise on the user

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2027 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agodefault stylesheet turns off sidebar when printing
richard [Sun, 14 Dec 2003 22:40:16 +0000 (22:40 +0000)]
default stylesheet turns off sidebar when printing

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2024 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agogive access to the input() method all over the place
richard [Sun, 14 Dec 2003 21:40:57 +0000 (21:40 +0000)]
give access to the input() method all over the place

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2023 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agomore unit tests, fixes and cleanups
richard [Wed, 10 Dec 2003 01:40:51 +0000 (01:40 +0000)]
more unit tests, fixes and cleanups

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2022 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoAdded 'Users may only edit their issues' customisation example.
richard [Wed, 10 Dec 2003 01:40:12 +0000 (01:40 +0000)]
Added 'Users may only edit their issues' customisation example.
Fixed permission check in page.html template.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2021 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix roundup win service
richard [Sat, 6 Dec 2003 02:46:34 +0000 (02:46 +0000)]
fix roundup win service

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2020 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoApplied Stefan Seefeld's html4/xhtml patch with some changes.
richard [Sat, 6 Dec 2003 00:00:54 +0000 (00:00 +0000)]
Applied Stefan Seefeld's html4/xhtml patch with some changes.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2019 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agomore unit tests to improve coverage (up from 85% to 88% for anydbm! :)
richard [Fri, 5 Dec 2003 09:47:46 +0000 (09:47 +0000)]
more unit tests to improve coverage (up from 85% to 88% for anydbm! :)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2018 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix more metakit dumbness
richard [Fri, 5 Dec 2003 04:43:46 +0000 (04:43 +0000)]
fix more metakit dumbness

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2017 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agomust be backward-compatible to py2.1
richard [Fri, 5 Dec 2003 04:43:30 +0000 (04:43 +0000)]
must be backward-compatible to py2.1

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2016 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agofix #white in cgitb
richard [Fri, 5 Dec 2003 03:38:47 +0000 (03:38 +0000)]
fix #white in cgitb

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2015 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoRefactored CGI file serving so that FileClass contents are a) read more
richard [Fri, 5 Dec 2003 03:28:38 +0000 (03:28 +0000)]
Refactored CGI file serving so that FileClass contents are a) read more
cleanly and b) served with reasonable modification dates and handling of
if-modified-since.
File serving also sends a content-length now too.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2014 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoignore incoming email with "Precedence: bulk" (sf patch 843489)
richard [Thu, 4 Dec 2003 23:34:25 +0000 (23:34 +0000)]
ignore incoming email with "Precedence: bulk" (sf patch 843489)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2013 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoanother contributor
richard [Thu, 4 Dec 2003 23:14:10 +0000 (23:14 +0000)]
another contributor

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2012 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agoadded contributed script for copying users between trackers
richard [Thu, 4 Dec 2003 23:13:43 +0000 (23:13 +0000)]
added contributed script for copying users between trackers

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2011 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years ago- fixed date arithmetic to not allow day-of-month == 0 (sf bug 853306)
richard [Thu, 4 Dec 2003 23:06:53 +0000 (23:06 +0000)]
- fixed date arithmetic to not allow day-of-month == 0 (sf bug 853306)
- fixed date arithmetic to limit hours-per-day to 24, not 60

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2009 57a73879-2fb5-44c3-a270-3262357dd7e2

20 years agosome updates that were sitting on disk
richard [Thu, 4 Dec 2003 02:43:07 +0000 (02:43 +0000)]
some updates that were sitting on disk

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2007 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoSome reformatting and fixing docstrings for emacs.
jlgijsbers [Fri, 21 Nov 2003 22:22:32 +0000 (22:22 +0000)]
Some reformatting and fixing docstrings for emacs.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2005 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoAdd 'return' after failed permission checks in search/editCSV actions.
jlgijsbers [Fri, 21 Nov 2003 21:59:05 +0000 (21:59 +0000)]
Add 'return' after failed permission checks in search/editCSV actions.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2004 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoMissed change note for last checkin.
jlgijsbers [Fri, 21 Nov 2003 21:41:19 +0000 (21:41 +0000)]
Missed change note for last checkin.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2003 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoInvert date substraction to put activity in the past again (sf bug 842027).
jlgijsbers [Fri, 21 Nov 2003 21:31:57 +0000 (21:31 +0000)]
Invert date substraction to put activity in the past again (sf bug 842027).

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2001 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- Always sort MultilinkHTMLProperty in the correct order, usually
jlgijsbers [Thu, 20 Nov 2003 15:20:21 +0000 (15:20 +0000)]
- Always sort MultilinkHTMLProperty in the correct order, usually
  alphabetically (sf feature 790512).
- Extract find_sort_key method.
- Use nested scopes in make_sort_function.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2000 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- Add tests for Interval.pretty().
jlgijsbers [Wed, 19 Nov 2003 22:53:15 +0000 (22:53 +0000)]
- Add tests for Interval.pretty().
- Fix 'ago' and 'in' not being added to years.
- Fix docstrings for emacs.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1999 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- Add docstring to safeget method.
jlgijsbers [Sun, 16 Nov 2003 22:56:46 +0000 (22:56 +0000)]
- Add docstring to safeget method.
- Remove handling of invalid propname (YAGNI).

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1998 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoSmall readability improvements.
jlgijsbers [Sun, 16 Nov 2003 20:01:16 +0000 (20:01 +0000)]
Small readability improvements.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1997 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoAdd 'safeget' method to hyperdb, including tests, and use it to simplify code
jlgijsbers [Sun, 16 Nov 2003 19:59:10 +0000 (19:59 +0000)]
Add 'safeget' method to hyperdb, including tests, and use it to simplify code
in roundupdb.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1996 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- Remove implementations of Class.getnode from back_anydbm and rdbms_common,
jlgijsbers [Sun, 16 Nov 2003 18:41:40 +0000 (18:41 +0000)]
- Remove implementations of Class.getnode from back_anydbm and rdbms_common,
it's already in hyperdb.Class.
- Implementations of hyperdb.Database do need to implement the getnode method
themselves.

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1995 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- Fixed retirement of items in rdbms imports (sf bug 841355)
richard [Fri, 14 Nov 2003 00:11:19 +0000 (00:11 +0000)]
- Fixed retirement of items in rdbms imports (sf bug 841355)
- Fixed bug in looking up journal of newly-created items in *dbm backends

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1988 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoMissed change note with last checkin:
richard [Thu, 13 Nov 2003 06:03:42 +0000 (06:03 +0000)]
Missed change note with last checkin:

- allowed negative ids (ie. new item markers) in HTMLClass.getItem,
  allowing "db/file_with_status/-1/status/menu" to generate a useful
  widget

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1987 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agooops
richard [Thu, 13 Nov 2003 05:56:48 +0000 (05:56 +0000)]
oops

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1986 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoallow negative items, helping construct forms
richard [Thu, 13 Nov 2003 05:55:01 +0000 (05:55 +0000)]
allow negative items, helping construct forms

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1985 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoimplemented munging of template name for installed trackers
richard [Thu, 13 Nov 2003 04:12:10 +0000 (04:12 +0000)]
implemented munging of template name for installed trackers

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1984 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoResent-From: header
richard [Thu, 13 Nov 2003 03:41:38 +0000 (03:41 +0000)]
Resent-From: header

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1983 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agooops
richard [Wed, 12 Nov 2003 23:29:17 +0000 (23:29 +0000)]
oops

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1982 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoclarified minimum version required for MySQL backend (4.0.16)
richard [Wed, 12 Nov 2003 22:34:28 +0000 (22:34 +0000)]
clarified minimum version required for MySQL backend (4.0.16)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1981 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- fixes for sf bug 818339
richard [Wed, 12 Nov 2003 03:42:13 +0000 (03:42 +0000)]
- fixes for sf bug 818339
- fixes for metakit for the new db unit tests

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1980 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agofixed ZRoundup - mostly changes to classic template
richard [Wed, 12 Nov 2003 01:00:59 +0000 (01:00 +0000)]
fixed ZRoundup - mostly changes to classic template

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1979 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agorecalculate SHA on template files when installed tracker used as
richard [Tue, 11 Nov 2003 22:37:25 +0000 (22:37 +0000)]
recalculate SHA on template files when installed tracker used as
template (sf bug 827510)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1978 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoremove SHA hashes from source (sf bug 827510
richard [Tue, 11 Nov 2003 22:25:37 +0000 (22:25 +0000)]
remove SHA hashes from source (sf bug 827510

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1977 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agohandle socket timeout exception (thanks Marcus Priesch)
richard [Tue, 11 Nov 2003 21:51:52 +0000 (21:51 +0000)]
handle socket timeout exception (thanks Marcus Priesch)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1976 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years ago- that's the postgresql backend in (cleaned up doc, unit testing harness and
richard [Tue, 11 Nov 2003 11:19:18 +0000 (11:19 +0000)]
- that's the postgresql backend in (cleaned up doc, unit testing harness and
  the backend module itself)
- also cleaned up the index maintenance code (actual checks for existence
  rather than bare-except failure mode)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1975 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoCentralised conversion of user-input data to hyperdb values (bug #802405,
richard [Tue, 11 Nov 2003 00:35:14 +0000 (00:35 +0000)]
Centralised conversion of user-input data to hyperdb values (bug #802405,
bug #817217, rfe #816994)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1974 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agomore database closing cleanups, finally mysql has no dangling references
richard [Mon, 10 Nov 2003 03:56:39 +0000 (03:56 +0000)]
more database closing cleanups, finally mysql has no dangling references

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1973 57a73879-2fb5-44c3-a270-3262357dd7e2

21 years agoChange nosymessage and send_message to accept msgid=None (RFE #707235).
jlgijsbers [Thu, 6 Nov 2003 19:01:57 +0000 (19:01 +0000)]
Change nosymessage and send_message to accept msgid=None (RFE #707235).

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1972 57a73879-2fb5-44c3-a270-3262357dd7e2