Allow default value declaration in DB schema.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4590 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4590 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix first part of Password handling security issue2550688 (thanks
Joseph Myers for reporting and Eli Collins for fixing)
Small change against original patch: We still accept plaintext passwords
(in known_schemes) when parsing encrypted password (e.g. from database).
This way existing databases with plaintext passwords continue to work (I
don't know of any, this would need patching on the users side) and all
regression tests pass.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4589 57a73879-2fb5-44c3-a270-3262357dd7e2
Joseph Myers for reporting and Eli Collins for fixing)
Small change against original patch: We still accept plaintext passwords
(in known_schemes) when parsing encrypted password (e.g. from database).
This way existing databases with plaintext passwords continue to work (I
don't know of any, this would need patching on the users side) and all
regression tests pass.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4589 57a73879-2fb5-44c3-a270-3262357dd7e2
- fix new mailgw test (-c option :-)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4588 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4588 57a73879-2fb5-44c3-a270-3262357dd7e2
- Add regression test for -c option to mailgw -- bug in issue2550697
wasn't noticed, it would be now.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4587 57a73879-2fb5-44c3-a270-3262357dd7e2
wasn't noticed, it would be now.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4587 57a73879-2fb5-44c3-a270-3262357dd7e2
Fixed bug in mailgw refactoring, patch issue2550697 (thanks Hubert Touvet)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4586 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4586 57a73879-2fb5-44c3-a270-3262357dd7e2
- small performance optimisation for 'get': do common case first
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4585 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4585 57a73879-2fb5-44c3-a270-3262357dd7e2
Range support in roundup-server so large files can be served,
e.g. media files on iOS/iPads; issue2550694.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4584 57a73879-2fb5-44c3-a270-3262357dd7e2
e.g. media files on iOS/iPads; issue2550694.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4584 57a73879-2fb5-44c3-a270-3262357dd7e2
Add flags to allow to restrict DB modifications.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4583 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4583 57a73879-2fb5-44c3-a270-3262357dd7e2
- optimisation for date: if the database provides us with a datetime
object, use that for creation of the roundup Date object -- don't
convert to string first
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4582 57a73879-2fb5-44c3-a270-3262357dd7e2
object, use that for creation of the roundup Date object -- don't
convert to string first
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4582 57a73879-2fb5-44c3-a270-3262357dd7e2
- Optimisation: Late evaluation of Multilinks (only in rdbms backends):
previously we materialized each multilink in a Node -- this creates an
SQL query for each multilink (e.g. 'files' and 'messages' for each
line in the issue index display) -- even if the multilinks aren't
displayed. Now we compute multilinks only if they're accessed (and
keep them cached).
- Add a filter_iter similar to the existing filter call. This feature is
considered experimental. This is currently not used in the
web-interface but passes all tests for the filter call except sorting
by Multilinks (which isn't supported by SQL and isn't a sane concept
anyway). When using filter_iter instead of filter this saves a *lot*
of SQL queries: Filter returns only the IDs of Nodes in the database,
the additional content of a Node has to be fetched in a separate SQL
call. The new filter_iter also returns the IDs of Nodes (one by one,
it's an iterator) but pre-seeds the cache with the content of the
Node. The information needed for seeding the cache is retrieved in the
same SQL query as the ids.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4581 57a73879-2fb5-44c3-a270-3262357dd7e2
previously we materialized each multilink in a Node -- this creates an
SQL query for each multilink (e.g. 'files' and 'messages' for each
line in the issue index display) -- even if the multilinks aren't
displayed. Now we compute multilinks only if they're accessed (and
keep them cached).
- Add a filter_iter similar to the existing filter call. This feature is
considered experimental. This is currently not used in the
web-interface but passes all tests for the filter call except sorting
by Multilinks (which isn't supported by SQL and isn't a sane concept
anyway). When using filter_iter instead of filter this saves a *lot*
of SQL queries: Filter returns only the IDs of Nodes in the database,
the additional content of a Node has to be fetched in a separate SQL
call. The new filter_iter also returns the IDs of Nodes (one by one,
it's an iterator) but pre-seeds the cache with the content of the
Node. The information needed for seeding the cache is retrieved in the
same SQL query as the ids.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4581 57a73879-2fb5-44c3-a270-3262357dd7e2
Configuration issue: On some postgresql 8.4 installations (notably on
debian squeeze) the default template database used for database
creation doesn't match the needed character encoding UTF8 -- a new
config option 'template' in the rdbms section now allows specification
of the template. You know you need this option if you get the error
message:
psycopg2.DataError: new encoding (UTF8) is incompatible with the
encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use
template0 as template.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4580 57a73879-2fb5-44c3-a270-3262357dd7e2
debian squeeze) the default template database used for database
creation doesn't match the needed character encoding UTF8 -- a new
config option 'template' in the rdbms section now allows specification
of the template. You know you need this option if you get the error
message:
psycopg2.DataError: new encoding (UTF8) is incompatible with the
encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use
template0 as template.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4580 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix search for xapian 1.2 issue2550676.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4579 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4579 57a73879-2fb5-44c3-a270-3262357dd7e2
Add the parsedMessage class as class variable to MailGW to allow easier
override
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4578 57a73879-2fb5-44c3-a270-3262357dd7e2
override
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4578 57a73879-2fb5-44c3-a270-3262357dd7e2
- Factor MailGW message parsing into a separate class, thanks to John
Kristensen who did the major work in issue2550576 -- I wouldn't
have attempted it without this. Fixes issue2550576. (Ralf)
- Now if the -C option to roundup-mailgw specifies "issue" this refers
to an issue-like class. The real class is determined from the
configured default class, or the -c option to the mailgw, or the class
resulting from mail subject parsing. We also accept multiple -S
options for the same class now. (Ralf)
- Add regression test for message-id generation if message id is
missing in a message
- Add regression tests for Option parsing (-S and -C options)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4577 57a73879-2fb5-44c3-a270-3262357dd7e2
Kristensen who did the major work in issue2550576 -- I wouldn't
have attempted it without this. Fixes issue2550576. (Ralf)
- Now if the -C option to roundup-mailgw specifies "issue" this refers
to an issue-like class. The real class is determined from the
configured default class, or the -c option to the mailgw, or the class
resulting from mail subject parsing. We also accept multiple -S
options for the same class now. (Ralf)
- Add regression test for message-id generation if message id is
missing in a message
- Add regression tests for Option parsing (-S and -C options)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4577 57a73879-2fb5-44c3-a270-3262357dd7e2
Adding missing files from last commit (r4575) for fixing expressing filters
for multilinkgs, see issue2550648.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4576 57a73879-2fb5-44c3-a270-3262357dd7e2
for multilinkgs, see issue2550648.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4576 57a73879-2fb5-44c3-a270-3262357dd7e2
Multilinks can be filtered by combining elements with AND, OR and NOT
operators now. A javascript gui was added for "keywords", see issue2550648.
Developed by Sascha Teichmann; funded by Intevation. (Bernhard Reiter)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4575 57a73879-2fb5-44c3-a270-3262357dd7e2
operators now. A javascript gui was added for "keywords", see issue2550648.
Developed by Sascha Teichmann; funded by Intevation. (Bernhard Reiter)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4575 57a73879-2fb5-44c3-a270-3262357dd7e2
Simplify and fix interval comparison.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4574 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4574 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix incorrect setting of template in customizing.txt example action
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4573 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4573 57a73879-2fb5-44c3-a270-3262357dd7e2
Make HTMLProperty report actual classname in repr().
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4572 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4572 57a73879-2fb5-44c3-a270-3262357dd7e2
fix SQL generation for empty WHERE clause.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4571 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4571 57a73879-2fb5-44c3-a270-3262357dd7e2
Simplify and fix interval comparison.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4570 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4570 57a73879-2fb5-44c3-a270-3262357dd7e2
Simplify.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4569 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4569 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix small typos.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4568 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4568 57a73879-2fb5-44c3-a270-3262357dd7e2
Remove check-box indicator from help legend.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4567 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4567 57a73879-2fb5-44c3-a270-3262357dd7e2
Don't allow users to create tasks and milestones.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4566 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4566 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix permissions (replace obsolete 'Process' by 'Edit')
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4565 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4565 57a73879-2fb5-44c3-a270-3262357dd7e2
Add missing 'property' argument to classhelp call.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4564 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4564 57a73879-2fb5-44c3-a270-3262357dd7e2
Anonymous can only see bugs, but neither tasks nor milestones.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4563 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4563 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix warning.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4562 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4562 57a73879-2fb5-44c3-a270-3262357dd7e2
Improve query UI.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4561 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4561 57a73879-2fb5-44c3-a270-3262357dd7e2
Remove initial data used for testing only.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4560 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4560 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix detectors for devel tracker template.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4559 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4559 57a73879-2fb5-44c3-a270-3262357dd7e2
Add "lookup" method to xmlrpc interface (Ralf Schlatterbeck)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4558 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4558 57a73879-2fb5-44c3-a270-3262357dd7e2
clear the cache on commit for rdbms backends: Don't carry over cached
values from one transaction to the next (there may be other changes from
other transactions) see new ConcurrentDBTest for a read-modify-update
cycle that fails with the old caching behavior.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4557 57a73879-2fb5-44c3-a270-3262357dd7e2
values from one transaction to the next (there may be other changes from
other transactions) see new ConcurrentDBTest for a read-modify-update
cycle that fails with the old caching behavior.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4557 57a73879-2fb5-44c3-a270-3262357dd7e2
python2.3 compatibility fixes
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4556 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4556 57a73879-2fb5-44c3-a270-3262357dd7e2
fix broken tests by adding additional permissions now that we check for
permission on the destination class of a Link/Multilink when
searching...
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4555 57a73879-2fb5-44c3-a270-3262357dd7e2
permission on the destination class of a Link/Multilink when
searching...
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4555 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix setting of sys.path when importing schema.py, fixes issue2550675,
thanks to Bryce L Nordgren for reporting.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4554 57a73879-2fb5-44c3-a270-3262357dd7e2
thanks to Bryce L Nordgren for reporting.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4554 57a73879-2fb5-44c3-a270-3262357dd7e2
more fixes to search permissions:
- require that for links and multilinks the searching user has access to
at least the orderprop, labelprop, and ID of the linked class
- allow combinations of roles: we previosly required that for transitive
properties all elements where searchable by the same role. We now
allow that the roles can be different for each property. This allows
assigning different roles to different sub-systems and allowing users
having all required roles to search across subsystems.
- regression test updated
- fix doc/upgrading example for new signature of roleHasSearchPermission
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4553 57a73879-2fb5-44c3-a270-3262357dd7e2
- require that for links and multilinks the searching user has access to
at least the orderprop, labelprop, and ID of the linked class
- allow combinations of roles: we previosly required that for transitive
properties all elements where searchable by the same role. We now
allow that the roles can be different for each property. This allows
assigning different roles to different sub-systems and allowing users
having all required roles to search across subsystems.
- regression test updated
- fix doc/upgrading example for new signature of roleHasSearchPermission
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4553 57a73879-2fb5-44c3-a270-3262357dd7e2
- admin permissions are special: the classname is None which means
"access everywhere". Now search-permissions work for admin, too...
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4552 57a73879-2fb5-44c3-a270-3262357dd7e2
"access everywhere". Now search-permissions work for admin, too...
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4552 57a73879-2fb5-44c3-a270-3262357dd7e2
XML-RPC documentation now linked from the docs/index
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4549 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4549 57a73879-2fb5-44c3-a270-3262357dd7e2
Giving Ralf the credit for his last change in the CHANGES.txt.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4548 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4548 57a73879-2fb5-44c3-a270-3262357dd7e2
search permissions must allow transitive properties
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4547 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4547 57a73879-2fb5-44c3-a270-3262357dd7e2
- Add explicit "Search" permissions, see Security Fix below.
- Security Fix: Add a check for search-permissions: now we allow
searching for properties only if the property is readable without a
check method or if an explicit search permission (see above unter
"Features) is given for the property. This fixes cases where a user
doesn't have access to a property but can deduce the content by
crafting a clever search, group or sort query.
see doc/upgrading.txt for how to fix your trackers!
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4546 57a73879-2fb5-44c3-a270-3262357dd7e2
- Security Fix: Add a check for search-permissions: now we allow
searching for properties only if the property is readable without a
check method or if an explicit search permission (see above unter
"Features) is given for the property. This fixes cases where a user
doesn't have access to a property but can deduce the content by
crafting a clever search, group or sort query.
see doc/upgrading.txt for how to fix your trackers!
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4546 57a73879-2fb5-44c3-a270-3262357dd7e2
fix URL in announcement; fix handling of unicode in announcement
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4545 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4545 57a73879-2fb5-44c3-a270-3262357dd7e2
Some minor typos fixed in doc/customizing.txt (Thanks Ralf Hemmecke).
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4544 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4544 57a73879-2fb5-44c3-a270-3262357dd7e2
Add new tracker template.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4543 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4543 57a73879-2fb5-44c3-a270-3262357dd7e2
release stuff
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4542 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4542 57a73879-2fb5-44c3-a270-3262357dd7e2
pre-release stuff
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4540 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4540 57a73879-2fb5-44c3-a270-3262357dd7e2
- fix import (now passes for memorydb, too)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4539 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4539 57a73879-2fb5-44c3-a270-3262357dd7e2
- refactor: move import_journal to hyperdb -- it was reimplemented in
back_anydbm and rdbms_common and was already inconsistent -- and it
doen't have any backend dependencies itself.
Interestingly this now fails a test for memorydb (but passes for
anydbm: Huh?)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4538 57a73879-2fb5-44c3-a270-3262357dd7e2
back_anydbm and rdbms_common and was already inconsistent -- and it
doen't have any backend dependencies itself.
Interestingly this now fails a test for memorydb (but passes for
anydbm: Huh?)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4538 57a73879-2fb5-44c3-a270-3262357dd7e2
- lower memory footprint for (journal-) import -- only for rdbms
backends, other backends shouldn't have that much data anyway.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4537 57a73879-2fb5-44c3-a270-3262357dd7e2
backends, other backends shouldn't have that much data anyway.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4537 57a73879-2fb5-44c3-a270-3262357dd7e2
clarification (inspired by Toni Meuller)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4536 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4536 57a73879-2fb5-44c3-a270-3262357dd7e2
14 years agoAllow search_popup macro to work with all db classes, issue2550567 (thanks John Krist...
Allow search_popup macro to work with all db classes, issue2550567 (thanks John Kristensen)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4535 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4535 57a73879-2fb5-44c3-a270-3262357dd7e2
fix py2.4 compatibility
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4534 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4534 57a73879-2fb5-44c3-a270-3262357dd7e2
- some formatting
- fix broken regression-test for message/rfc822 in test_multipart -- the
rfc822 message must have its own header -- this is where we have to
look for the subject. This means we have to include a newline before
the Subject in the test-message, otherwise the Subject line is part of
the mime header, not part of the email attachment.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4531 57a73879-2fb5-44c3-a270-3262357dd7e2
- fix broken regression-test for message/rfc822 in test_multipart -- the
rfc822 message must have its own header -- this is where we have to
look for the subject. This means we have to include a newline before
the Subject in the test-message, otherwise the Subject line is part of
the mime header, not part of the email attachment.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4531 57a73879-2fb5-44c3-a270-3262357dd7e2
- new mailgw config item unpack_rfc822 that unpacks message attachments
of type message/rfc822 and attaches the individual parts instead of
attaching the whole message/rfc822 attachment to the roundup issue.
- Fix handling of incoming message/rfc822 attachments. These resulted in
a weird mail usage error because the email module threw a TypeError
which roundup interprets as a Reject exception. Fixes issue2550667.
Added regression tests for message/rfc822 attachments with and without
configured unpacking (mailgw unpack_rfc822, see Features above)
Thanks to Benni Bärmann for reporting.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4530 57a73879-2fb5-44c3-a270-3262357dd7e2
of type message/rfc822 and attaches the individual parts instead of
attaching the whole message/rfc822 attachment to the roundup issue.
- Fix handling of incoming message/rfc822 attachments. These resulted in
a weird mail usage error because the email module threw a TypeError
which roundup interprets as a Reject exception. Fixes issue2550667.
Added regression tests for message/rfc822 attachments with and without
configured unpacking (mailgw unpack_rfc822, see Features above)
Thanks to Benni Bärmann for reporting.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4530 57a73879-2fb5-44c3-a270-3262357dd7e2
Fix charset of first text-part of outgoing multipart messages, thanks
Dirk Geschke for reporting, see
http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/10223
This also adds some regression tests to test incoming latin1 and
outgoing single- and multipart utf-8 and latin1 messages
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4529 57a73879-2fb5-44c3-a270-3262357dd7e2
Dirk Geschke for reporting, see
http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/10223
This also adds some regression tests to test incoming latin1 and
outgoing single- and multipart utf-8 and latin1 messages
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4529 57a73879-2fb5-44c3-a270-3262357dd7e2
- add comment to clarify semantics if pytz is installed
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4528 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4528 57a73879-2fb5-44c3-a270-3262357dd7e2
- more logger fixes, sorry for the noise.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4527 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4527 57a73879-2fb5-44c3-a270-3262357dd7e2
- more logger fixes -- use correct hierarchical logger names always
starting with "roundup." -- otherwise logger configuration changed in
changeset r4517 will not work (e.g. turning debugging on)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4526 57a73879-2fb5-44c3-a270-3262357dd7e2
starting with "roundup." -- otherwise logger configuration changed in
changeset r4517 will not work (e.g. turning debugging on)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4526 57a73879-2fb5-44c3-a270-3262357dd7e2
- update acknowledgements
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4525 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4525 57a73879-2fb5-44c3-a270-3262357dd7e2
note
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4524 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4524 57a73879-2fb5-44c3-a270-3262357dd7e2
make sort more robust
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4523 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4523 57a73879-2fb5-44c3-a270-3262357dd7e2
fixed registration, issue2550665 (thanks Timo Paulssen)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4522 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4522 57a73879-2fb5-44c3-a270-3262357dd7e2
new rdbms config item sqlite_timeout makes the previously hard-coded
timeout of 30 seconds configurable. This is the time a client waits for
the locked database to become free before giving up. Used only for
SQLite backend.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4521 57a73879-2fb5-44c3-a270-3262357dd7e2
timeout of 30 seconds configurable. This is the time a client waits for
the locked database to become free before giving up. Used only for
SQLite backend.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4521 57a73879-2fb5-44c3-a270-3262357dd7e2
- fix small indentation glitch
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4520 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4520 57a73879-2fb5-44c3-a270-3262357dd7e2
improve handling of '>' when URLs are converted to links, issue2550664 (thanks Ezio Melotti)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4519 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4519 57a73879-2fb5-44c3-a270-3262357dd7e2
Added hint that Richard does most of the changes.
Added Richard's change for the test.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4518 57a73879-2fb5-44c3-a270-3262357dd7e2
Added Richard's change for the test.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4518 57a73879-2fb5-44c3-a270-3262357dd7e2
- No longer use the root logger, use a logger with prefix "roundup",
see http://thread.gmane.org/gmane.comp.bug-tracking.roundup.devel/5356
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4517 57a73879-2fb5-44c3-a270-3262357dd7e2
see http://thread.gmane.org/gmane.comp.bug-tracking.roundup.devel/5356
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4517 57a73879-2fb5-44c3-a270-3262357dd7e2
remove unnecessary brackets
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4516 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4516 57a73879-2fb5-44c3-a270-3262357dd7e2
missed
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4515 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4515 57a73879-2fb5-44c3-a270-3262357dd7e2
fix for incorrect except: syntax, issue2550661
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4514 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4514 57a73879-2fb5-44c3-a270-3262357dd7e2
force tests checking text output to work in the "C" locale
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4513 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4513 57a73879-2fb5-44c3-a270-3262357dd7e2
add missing config options
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4512 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4512 57a73879-2fb5-44c3-a270-3262357dd7e2
new mailgw config option subject_updates_title, see discussion
http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/10169
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4511 57a73879-2fb5-44c3-a270-3262357dd7e2
http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/10169
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4511 57a73879-2fb5-44c3-a270-3262357dd7e2
update mailgw docs
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4508 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4508 57a73879-2fb5-44c3-a270-3262357dd7e2
allow trackers to override the classes used to render properties in
templating per issue2550659 (thanks Ezio Melotti)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4502 57a73879-2fb5-44c3-a270-3262357dd7e2
templating per issue2550659 (thanks Ezio Melotti)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4502 57a73879-2fb5-44c3-a270-3262357dd7e2
typo
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4501 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4501 57a73879-2fb5-44c3-a270-3262357dd7e2
fixed reporting of source missing warnings
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4500 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4500 57a73879-2fb5-44c3-a270-3262357dd7e2
fix
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4499 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4499 57a73879-2fb5-44c3-a270-3262357dd7e2
pre-release stuff
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4498 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4498 57a73879-2fb5-44c3-a270-3262357dd7e2
make URL detection a little smarter about brackets per issue2550657 (thanks Ezio Melotti)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4497 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4497 57a73879-2fb5-44c3-a270-3262357dd7e2
session API consistency
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4496 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4496 57a73879-2fb5-44c3-a270-3262357dd7e2
memorydb API consistency fix
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4495 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4495 57a73879-2fb5-44c3-a270-3262357dd7e2
doc tweak
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4494 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4494 57a73879-2fb5-44c3-a270-3262357dd7e2
notes
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4493 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4493 57a73879-2fb5-44c3-a270-3262357dd7e2
moar test coverage
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4492 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4492 57a73879-2fb5-44c3-a270-3262357dd7e2
fix up some pre-Python2.6 compatibility issues in the *dbm interface
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4491 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4491 57a73879-2fb5-44c3-a270-3262357dd7e2
fix actions check for < Python2.6
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4490 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4490 57a73879-2fb5-44c3-a270-3262357dd7e2
fix up some pre-Python2.6 compatibility issues in the *dbm interface
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4489 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4489 57a73879-2fb5-44c3-a270-3262357dd7e2
pre-release stuff
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4488 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4488 57a73879-2fb5-44c3-a270-3262357dd7e2
add note & thanks
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4487 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4487 57a73879-2fb5-44c3-a270-3262357dd7e2
fix potential XSS hole
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4486 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4486 57a73879-2fb5-44c3-a270-3262357dd7e2
Removing mentioning of 1.5.0 release as it did not happen in February.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4485 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4485 57a73879-2fb5-44c3-a270-3262357dd7e2
- Indexer Xapian, made Xapian 1.2 compatible. Needs at least Xapian 1.0.0 now.
(Bernhard Reiter; Thanks to Olly Betts for providing the patch Issue2550647.)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4484 57a73879-2fb5-44c3-a270-3262357dd7e2
(Bernhard Reiter; Thanks to Olly Betts for providing the patch Issue2550647.)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4484 57a73879-2fb5-44c3-a270-3262357dd7e2
Small documentation update regarding debugging aids:
- doc/debugging.txt: removed HYPERDBDEBUG and HYPERDBTRACE and
replaced it with the text for SENDMAILDEBUG from doc/developers.txt.
A short code inspection showed that to be correct.
- refered to debugging.txt from developers.txt to have one unique place
for documenting debugging aids.
- Clarified for SENDMAILDEBUG that no email will be send if it is set.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4483 57a73879-2fb5-44c3-a270-3262357dd7e2
- doc/debugging.txt: removed HYPERDBDEBUG and HYPERDBTRACE and
replaced it with the text for SENDMAILDEBUG from doc/developers.txt.
A short code inspection showed that to be correct.
- refered to debugging.txt from developers.txt to have one unique place
for documenting debugging aids.
- Clarified for SENDMAILDEBUG that no email will be send if it is set.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4483 57a73879-2fb5-44c3-a270-3262357dd7e2
Default to "text/plain" if no Content-Type header is present in email (thanks Hauke Duden)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4481 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4481 57a73879-2fb5-44c3-a270-3262357dd7e2
frontends/roundup.cgi got out of sync with the roundup.cgi.Client API
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4480 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4480 57a73879-2fb5-44c3-a270-3262357dd7e2
Accept single-character subject lines
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4479 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4479 57a73879-2fb5-44c3-a270-3262357dd7e2
- update changelog and give credits to reporter
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4478 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4478 57a73879-2fb5-44c3-a270-3262357dd7e2