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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2094 57a73879-2fb5-44c3-a270-3262357dd7e2
proper fix this time
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2089 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2089 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2088 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2087 57a73879-2fb5-44c3-a270-3262357dd7e2
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
* 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
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2085 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2084 57a73879-2fb5-44c3-a270-3262357dd7e2
Add backwards compatible action handling.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2083 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2083 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2082 57a73879-2fb5-44c3-a270-3262357dd7e2
Add change entry for client.py split.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2081 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2081 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2080 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2078 57a73879-2fb5-44c3-a270-3262357dd7e2
added new example
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2077 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2077 57a73879-2fb5-44c3-a270-3262357dd7e2
tweaking
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2075 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2075 57a73879-2fb5-44c3-a270-3262357dd7e2
documentation cleanup
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2073 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2073 57a73879-2fb5-44c3-a270-3262357dd7e2
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
* 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
maintenance -> admin guide
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2071 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2071 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2070 57a73879-2fb5-44c3-a270-3262357dd7e2
fix for new mailer API
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2069 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2069 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2067 57a73879-2fb5-44c3-a270-3262357dd7e2
clarification
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2066 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2066 57a73879-2fb5-44c3-a270-3262357dd7e2
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
as metakit doesn't handle null values.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2064 57a73879-2fb5-44c3-a270-3262357dd7e2
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
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
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
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
backport content-type fix to 0.6
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2061 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2061 57a73879-2fb5-44c3-a270-3262357dd7e2
applied patch 873534
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2059 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2059 57a73879-2fb5-44c3-a270-3262357dd7e2
fix to metakit from Brian Kelley
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2058 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2058 57a73879-2fb5-44c3-a270-3262357dd7e2
more compliance testing, this time for find()
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2056 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2056 57a73879-2fb5-44c3-a270-3262357dd7e2
fix the filename fallback
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2055 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2055 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2054 57a73879-2fb5-44c3-a270-3262357dd7e2
more useful file listing
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2053 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2053 57a73879-2fb5-44c3-a270-3262357dd7e2
*** empty log message ***
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2052 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2052 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2051 57a73879-2fb5-44c3-a270-3262357dd7e2
fix minor bug in mailgw POP handler
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2050 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2050 57a73879-2fb5-44c3-a270-3262357dd7e2
add roundup version to mailer headers
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2049 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2049 57a73879-2fb5-44c3-a270-3262357dd7e2
*** empty log message ***
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2048 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2048 57a73879-2fb5-44c3-a270-3262357dd7e2
various updates
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2047 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2047 57a73879-2fb5-44c3-a270-3262357dd7e2
- 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
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
. 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
. 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
body_title improvement
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2044 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2044 57a73879-2fb5-44c3-a270-3262357dd7e2
*** empty log message ***
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2043 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2043 57a73879-2fb5-44c3-a270-3262357dd7e2
fix re-enabling queries (sf bug 861940)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2041 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2041 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2039 57a73879-2fb5-44c3-a270-3262357dd7e2
*** empty log message ***
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2037 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2037 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2035 57a73879-2fb5-44c3-a270-3262357dd7e2
another example
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2034 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2034 57a73879-2fb5-44c3-a270-3262357dd7e2
info about how roundup is installed
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2033 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2033 57a73879-2fb5-44c3-a270-3262357dd7e2
fixed mailgw handling of subject-line errors
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2028 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2028 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2027 57a73879-2fb5-44c3-a270-3262357dd7e2
default stylesheet turns off sidebar when printing
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2024 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2024 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2023 57a73879-2fb5-44c3-a270-3262357dd7e2
more unit tests, fixes and cleanups
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2022 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2022 57a73879-2fb5-44c3-a270-3262357dd7e2
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
Fixed permission check in page.html template.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2021 57a73879-2fb5-44c3-a270-3262357dd7e2
fix roundup win service
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2020 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2020 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2019 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2018 57a73879-2fb5-44c3-a270-3262357dd7e2
fix more metakit dumbness
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2017 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2017 57a73879-2fb5-44c3-a270-3262357dd7e2
must be backward-compatible to py2.1
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2016 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2016 57a73879-2fb5-44c3-a270-3262357dd7e2
fix #white in cgitb
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2015 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2015 57a73879-2fb5-44c3-a270-3262357dd7e2
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
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
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2013 57a73879-2fb5-44c3-a270-3262357dd7e2
another contributor
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2012 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2012 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2011 57a73879-2fb5-44c3-a270-3262357dd7e2
- 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
- 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
some updates that were sitting on disk
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2007 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2007 57a73879-2fb5-44c3-a270-3262357dd7e2
Some reformatting and fixing docstrings for emacs.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2005 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2005 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2004 57a73879-2fb5-44c3-a270-3262357dd7e2
Missed change note for last checkin.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2003 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2003 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2001 57a73879-2fb5-44c3-a270-3262357dd7e2
- 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
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
- 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
- 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
- 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
- Remove handling of invalid propname (YAGNI).
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1998 57a73879-2fb5-44c3-a270-3262357dd7e2
Small readability improvements.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1997 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1997 57a73879-2fb5-44c3-a270-3262357dd7e2
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
in roundupdb.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1996 57a73879-2fb5-44c3-a270-3262357dd7e2
- 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
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
- 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
- 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
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
- 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
oops
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1986 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1986 57a73879-2fb5-44c3-a270-3262357dd7e2
allow negative items, helping construct forms
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1985 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1985 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1984 57a73879-2fb5-44c3-a270-3262357dd7e2
Resent-From: header
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1983 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1983 57a73879-2fb5-44c3-a270-3262357dd7e2
oops
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1982 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1982 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1981 57a73879-2fb5-44c3-a270-3262357dd7e2
- 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
- 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
fixed ZRoundup - mostly changes to classic template
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1979 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1979 57a73879-2fb5-44c3-a270-3262357dd7e2
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
template (sf bug 827510)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1978 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1977 57a73879-2fb5-44c3-a270-3262357dd7e2
handle socket timeout exception (thanks Marcus Priesch)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1976 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1976 57a73879-2fb5-44c3-a270-3262357dd7e2
- 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
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
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
bug #817217, rfe #816994)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1974 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1973 57a73879-2fb5-44c3-a270-3262357dd7e2
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
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1972 57a73879-2fb5-44c3-a270-3262357dd7e2
Don't let roundup_server.run() interpret the command-line arguments,
it causes an error when doing 'demo.py nuke'.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1971 57a73879-2fb5-44c3-a270-3262357dd7e2
it causes an error when doing 'demo.py nuke'.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1971 57a73879-2fb5-44c3-a270-3262357dd7e2
fixed javascript for help window for only one checkbox case
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1968 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1968 57a73879-2fb5-44c3-a270-3262357dd7e2
Remove duplication: use a 'extra_config' attribute which is appended
to the config file for testCreation.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1967 57a73879-2fb5-44c3-a270-3262357dd7e2
to the config file for testCreation.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1967 57a73879-2fb5-44c3-a270-3262357dd7e2
test fix
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1966 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1966 57a73879-2fb5-44c3-a270-3262357dd7e2
Date - Date works again. Note that it only produces Intervals with
days, hours, minutes and seconds. Making it produce years and months
is a lot more work.
bugfix candidate
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1963 57a73879-2fb5-44c3-a270-3262357dd7e2
days, hours, minutes and seconds. Making it produce years and months
is a lot more work.
bugfix candidate
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1963 57a73879-2fb5-44c3-a270-3262357dd7e2
*** empty log message ***
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1962 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1962 57a73879-2fb5-44c3-a270-3262357dd7e2
add flush() to DevNull
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1960 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1960 57a73879-2fb5-44c3-a270-3262357dd7e2
Do a semantic comparison of messages when the test fails.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1959 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1959 57a73879-2fb5-44c3-a270-3262357dd7e2