Code

roundup.git
13 years agouse idea from Eli Collins to use a list of deprecated password
schlatterbeck [Thu, 14 Apr 2011 18:27:51 +0000 (18:27 +0000)]
use idea from Eli Collins to use a list of deprecated password
encoding schemes

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

13 years agoAdd new config-option 'migrate_passwords' in section 'web' to
schlatterbeck [Thu, 14 Apr 2011 18:10:58 +0000 (18:10 +0000)]
Add new config-option 'migrate_passwords' in section 'web' to
auto-migrate passwords at web-login time. Default for the new option is
"yes" so if you don't want that passwords are auto-migrated to a more
secure password scheme on user login, set this to "no" before running
your tracker(s) after the upgrade.

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

13 years agoSecond patch from issue2550688 -- with some changes:
schlatterbeck [Thu, 14 Apr 2011 15:42:41 +0000 (15:42 +0000)]
Second patch from issue2550688 -- with some changes:
- password.py now has a second class JournalPassword used for journal
  storage. We have some backends that directly store serialized python
  objects. Also when reading from the journal some backends expected the
  string read to be usable as a parameter to a Password constructor.
  This now calls a JournalPassword constructor in all these cases.
  The new JournalPassword just keeps the scheme and has an empty
  password.
- some factoring, move redundant implementation of "history" from
  rdbms_common and back_anydbm to hyperdb.

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

13 years agoAllow default value declaration in DB schema.
stefan [Thu, 14 Apr 2011 12:54:52 +0000 (12:54 +0000)]
Allow default value declaration in DB schema.

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

13 years agoAllow default value declaration in DB schema.
stefan [Thu, 14 Apr 2011 12:47:48 +0000 (12:47 +0000)]
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

13 years agoFix first part of Password handling security issue2550688 (thanks
schlatterbeck [Thu, 14 Apr 2011 12:24:59 +0000 (12:24 +0000)]
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

13 years ago- fix new mailgw test (-c option :-)
schlatterbeck [Thu, 14 Apr 2011 09:21:23 +0000 (09:21 +0000)]
- fix new mailgw test (-c option :-)

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

13 years ago- Add regression test for -c option to mailgw -- bug in issue2550697
schlatterbeck [Thu, 14 Apr 2011 07:07:22 +0000 (07:07 +0000)]
- 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

13 years agoFixed bug in mailgw refactoring, patch issue2550697 (thanks Hubert Touvet)
richard [Thu, 14 Apr 2011 05:29:39 +0000 (05:29 +0000)]
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

13 years ago- small performance optimisation for 'get': do common case first
schlatterbeck [Wed, 6 Apr 2011 13:29:32 +0000 (13:29 +0000)]
- 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

13 years agoRange support in roundup-server so large files can be served,
ber [Wed, 30 Mar 2011 11:20:36 +0000 (11:20 +0000)]
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

13 years agoAdd flags to allow to restrict DB modifications.
stefan [Tue, 29 Mar 2011 20:13:53 +0000 (20:13 +0000)]
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

13 years ago- optimisation for date: if the database provides us with a datetime
schlatterbeck [Mon, 21 Mar 2011 20:49:56 +0000 (20:49 +0000)]
- 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

13 years ago- Optimisation: Late evaluation of Multilinks (only in rdbms backends):
schlatterbeck [Mon, 21 Mar 2011 20:44:39 +0000 (20:44 +0000)]
- 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

13 years agoConfiguration issue: On some postgresql 8.4 installations (notably on
schlatterbeck [Wed, 16 Mar 2011 11:26:50 +0000 (11:26 +0000)]
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

13 years agoFix search for xapian 1.2 issue2550676.
ber [Sat, 26 Feb 2011 20:57:11 +0000 (20:57 +0000)]
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

13 years agoAdd the parsedMessage class as class variable to MailGW to allow easier
schlatterbeck [Mon, 10 Jan 2011 16:04:09 +0000 (16:04 +0000)]
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

13 years ago- Factor MailGW message parsing into a separate class, thanks to John
schlatterbeck [Thu, 23 Dec 2010 15:42:30 +0000 (15:42 +0000)]
- 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

13 years agoAdding missing files from last commit (r4575) for fixing expressing filters
ber [Tue, 9 Nov 2010 15:06:14 +0000 (15:06 +0000)]
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

13 years agoMultilinks can be filtered by combining elements with AND, OR and NOT
ber [Mon, 8 Nov 2010 16:21:02 +0000 (16:21 +0000)]
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

13 years agoSimplify and fix interval comparison.
stefan [Fri, 5 Nov 2010 13:17:18 +0000 (13:17 +0000)]
Simplify and fix interval comparison.

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

13 years agoFix incorrect setting of template in customizing.txt example action
richard [Thu, 4 Nov 2010 22:52:56 +0000 (22:52 +0000)]
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

13 years agoMake HTMLProperty report actual classname in repr().
stefan [Thu, 4 Nov 2010 22:34:20 +0000 (22:34 +0000)]
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

13 years agofix SQL generation for empty WHERE clause.
stefan [Thu, 4 Nov 2010 22:31:39 +0000 (22:31 +0000)]
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

13 years agoSimplify and fix interval comparison.
stefan [Thu, 4 Nov 2010 21:56:51 +0000 (21:56 +0000)]
Simplify and fix interval comparison.

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

13 years agoSimplify.
stefan [Thu, 4 Nov 2010 21:30:16 +0000 (21:30 +0000)]
Simplify.

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

13 years agoFix small typos.
stefan [Thu, 4 Nov 2010 21:29:06 +0000 (21:29 +0000)]
Fix small typos.

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

13 years agoRemove check-box indicator from help legend.
stefan [Thu, 4 Nov 2010 21:28:38 +0000 (21:28 +0000)]
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

13 years agoDon't allow users to create tasks and milestones.
stefan [Thu, 4 Nov 2010 21:27:25 +0000 (21:27 +0000)]
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

13 years agoFix permissions (replace obsolete 'Process' by 'Edit')
stefan [Thu, 4 Nov 2010 17:52:44 +0000 (17:52 +0000)]
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

13 years agoAdd missing 'property' argument to classhelp call.
stefan [Thu, 4 Nov 2010 17:52:07 +0000 (17:52 +0000)]
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

13 years agoAnonymous can only see bugs, but neither tasks nor milestones.
stefan [Thu, 4 Nov 2010 17:50:39 +0000 (17:50 +0000)]
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

13 years agoFix warning.
stefan [Thu, 4 Nov 2010 17:49:34 +0000 (17:49 +0000)]
Fix warning.

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

13 years agoImprove query UI.
stefan [Tue, 2 Nov 2010 01:54:17 +0000 (01:54 +0000)]
Improve query UI.

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

13 years agoRemove initial data used for testing only.
stefan [Sun, 31 Oct 2010 23:38:08 +0000 (23:38 +0000)]
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

13 years agoFix detectors for devel tracker template.
stefan [Sun, 31 Oct 2010 23:36:48 +0000 (23:36 +0000)]
Fix detectors for devel tracker template.

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

13 years agoAdd "lookup" method to xmlrpc interface (Ralf Schlatterbeck)
schlatterbeck [Fri, 29 Oct 2010 10:41:39 +0000 (10:41 +0000)]
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

13 years agoclear the cache on commit for rdbms backends: Don't carry over cached
schlatterbeck [Fri, 22 Oct 2010 14:14:26 +0000 (14:14 +0000)]
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

13 years agopython2.3 compatibility fixes
schlatterbeck [Thu, 21 Oct 2010 20:31:13 +0000 (20:31 +0000)]
python2.3 compatibility fixes

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

13 years agofix broken tests by adding additional permissions now that we check for
schlatterbeck [Thu, 21 Oct 2010 19:53:51 +0000 (19:53 +0000)]
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

13 years agoFix setting of sys.path when importing schema.py, fixes issue2550675,
schlatterbeck [Thu, 21 Oct 2010 19:19:58 +0000 (19:19 +0000)]
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

13 years agomore fixes to search permissions:
schlatterbeck [Thu, 21 Oct 2010 08:59:43 +0000 (08:59 +0000)]
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

13 years ago- admin permissions are special: the classname is None which means
schlatterbeck [Wed, 20 Oct 2010 20:24:09 +0000 (20:24 +0000)]
- 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

13 years agoXML-RPC documentation now linked from the docs/index
ber [Wed, 20 Oct 2010 14:12:08 +0000 (14:12 +0000)]
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

13 years agoGiving Ralf the credit for his last change in the CHANGES.txt.
ber [Wed, 20 Oct 2010 14:08:13 +0000 (14:08 +0000)]
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

13 years agosearch permissions must allow transitive properties
schlatterbeck [Wed, 20 Oct 2010 08:58:52 +0000 (08:58 +0000)]
search permissions must allow transitive properties

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

13 years ago- Add explicit "Search" permissions, see Security Fix below.
schlatterbeck [Tue, 19 Oct 2010 15:29:05 +0000 (15:29 +0000)]
- 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

13 years agofix URL in announcement; fix handling of unicode in announcement
richard [Tue, 19 Oct 2010 00:41:29 +0000 (00:41 +0000)]
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

13 years agoSome minor typos fixed in doc/customizing.txt (Thanks Ralf Hemmecke).
ber [Mon, 18 Oct 2010 10:21:40 +0000 (10:21 +0000)]
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

13 years agoAdd new tracker template.
stefan [Tue, 12 Oct 2010 01:14:07 +0000 (01:14 +0000)]
Add new tracker template.

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

13 years agorelease stuff
richard [Fri, 8 Oct 2010 03:35:51 +0000 (03:35 +0000)]
release stuff

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

13 years agopre-release stuff
richard [Fri, 8 Oct 2010 00:46:08 +0000 (00:46 +0000)]
pre-release stuff

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

13 years ago- fix import (now passes for memorydb, too)
schlatterbeck [Thu, 7 Oct 2010 13:57:19 +0000 (13:57 +0000)]
- 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

13 years ago- refactor: move import_journal to hyperdb -- it was reimplemented in
schlatterbeck [Thu, 7 Oct 2010 12:22:10 +0000 (12:22 +0000)]
- 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

13 years ago- lower memory footprint for (journal-) import -- only for rdbms
schlatterbeck [Thu, 7 Oct 2010 12:02:12 +0000 (12:02 +0000)]
- 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

13 years agoclarification (inspired by Toni Meuller)
richard [Thu, 7 Oct 2010 02:31:58 +0000 (02:31 +0000)]
clarification (inspired by Toni Meuller)

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

13 years agoAllow search_popup macro to work with all db classes, issue2550567 (thanks John Krist...
richard [Thu, 7 Oct 2010 02:30:46 +0000 (02:30 +0000)]
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

13 years agofix py2.4 compatibility
richard [Wed, 6 Oct 2010 23:37:29 +0000 (23:37 +0000)]
fix py2.4 compatibility

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

13 years ago- some formatting
schlatterbeck [Wed, 6 Oct 2010 14:13:09 +0000 (14:13 +0000)]
- 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

13 years ago- new mailgw config item unpack_rfc822 that unpacks message attachments
schlatterbeck [Tue, 5 Oct 2010 14:24:25 +0000 (14:24 +0000)]
- 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

13 years agoFix charset of first text-part of outgoing multipart messages, thanks
schlatterbeck [Mon, 4 Oct 2010 12:56:37 +0000 (12:56 +0000)]
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

13 years ago- add comment to clarify semantics if pytz is installed
schlatterbeck [Wed, 29 Sep 2010 07:49:09 +0000 (07:49 +0000)]
- 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

13 years ago- more logger fixes, sorry for the noise.
schlatterbeck [Fri, 17 Sep 2010 06:47:58 +0000 (06:47 +0000)]
- 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

13 years ago- more logger fixes -- use correct hierarchical logger names always
schlatterbeck [Thu, 16 Sep 2010 07:44:50 +0000 (07:44 +0000)]
- 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

13 years ago- update acknowledgements
schlatterbeck [Mon, 13 Sep 2010 17:08:41 +0000 (17:08 +0000)]
- update acknowledgements

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

13 years agonote
richard [Fri, 10 Sep 2010 06:34:19 +0000 (06:34 +0000)]
note

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

13 years agomake sort more robust
richard [Fri, 10 Sep 2010 06:32:04 +0000 (06:32 +0000)]
make sort more robust

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

13 years agofixed registration, issue2550665 (thanks Timo Paulssen)
richard [Fri, 10 Sep 2010 06:31:30 +0000 (06:31 +0000)]
fixed registration, issue2550665 (thanks Timo Paulssen)

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

13 years agonew rdbms config item sqlite_timeout makes the previously hard-coded
schlatterbeck [Tue, 7 Sep 2010 15:42:04 +0000 (15:42 +0000)]
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

13 years ago- fix small indentation glitch
schlatterbeck [Tue, 7 Sep 2010 14:49:52 +0000 (14:49 +0000)]
- fix small indentation glitch

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

13 years agoimprove handling of '>' when URLs are converted to links, issue2550664 (thanks...
richard [Thu, 12 Aug 2010 05:00:07 +0000 (05:00 +0000)]
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

13 years agoAdded hint that Richard does most of the changes.
ber [Mon, 9 Aug 2010 09:04:19 +0000 (09:04 +0000)]
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

13 years ago- No longer use the root logger, use a logger with prefix "roundup",
schlatterbeck [Mon, 9 Aug 2010 07:36:06 +0000 (07:36 +0000)]
- 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

13 years agoremove unnecessary brackets
richard [Mon, 9 Aug 2010 04:52:16 +0000 (04:52 +0000)]
remove unnecessary brackets

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

13 years agomissed
richard [Mon, 9 Aug 2010 04:46:02 +0000 (04:46 +0000)]
missed

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

13 years agofix for incorrect except: syntax, issue2550661
richard [Mon, 9 Aug 2010 04:45:28 +0000 (04:45 +0000)]
fix for incorrect except: syntax, issue2550661

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

13 years agoforce tests checking text output to work in the "C" locale
richard [Mon, 9 Aug 2010 04:43:50 +0000 (04:43 +0000)]
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

13 years agoadd missing config options
richard [Thu, 5 Aug 2010 00:00:19 +0000 (00:00 +0000)]
add missing config options

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

13 years agonew mailgw config option subject_updates_title, see discussion
schlatterbeck [Wed, 4 Aug 2010 10:01:23 +0000 (10:01 +0000)]
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

13 years agoupdate mailgw docs
richard [Thu, 29 Jul 2010 00:40:13 +0000 (00:40 +0000)]
update mailgw docs

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

13 years agoallow trackers to override the classes used to render properties in
richard [Sat, 24 Jul 2010 09:44:58 +0000 (09:44 +0000)]
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

13 years agotypo
richard [Tue, 13 Jul 2010 05:03:49 +0000 (05:03 +0000)]
typo

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

13 years agofixed reporting of source missing warnings
richard [Mon, 12 Jul 2010 06:05:40 +0000 (06:05 +0000)]
fixed reporting of source missing warnings

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

13 years agofix
richard [Mon, 12 Jul 2010 04:22:14 +0000 (04:22 +0000)]
fix

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

13 years agopre-release stuff
richard [Mon, 12 Jul 2010 04:21:32 +0000 (04:21 +0000)]
pre-release stuff

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

13 years agomake URL detection a little smarter about brackets per issue2550657 (thanks Ezio...
richard [Mon, 12 Jul 2010 04:14:02 +0000 (04:14 +0000)]
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

13 years agosession API consistency
richard [Mon, 12 Jul 2010 04:11:05 +0000 (04:11 +0000)]
session API consistency

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

13 years agomemorydb API consistency fix
richard [Mon, 12 Jul 2010 04:02:25 +0000 (04:02 +0000)]
memorydb API consistency fix

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

13 years agodoc tweak
richard [Mon, 12 Jul 2010 04:02:14 +0000 (04:02 +0000)]
doc tweak

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

13 years agonotes
richard [Sat, 10 Jul 2010 03:58:52 +0000 (03:58 +0000)]
notes

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

13 years agomoar test coverage
richard [Sat, 10 Jul 2010 03:57:45 +0000 (03:57 +0000)]
moar test coverage

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

13 years agofix up some pre-Python2.6 compatibility issues in the *dbm interface
richard [Sat, 10 Jul 2010 03:52:45 +0000 (03:52 +0000)]
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

13 years agofix actions check for < Python2.6
richard [Sat, 10 Jul 2010 03:52:22 +0000 (03:52 +0000)]
fix actions check for < Python2.6

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

13 years agofix up some pre-Python2.6 compatibility issues in the *dbm interface
richard [Sat, 10 Jul 2010 03:45:17 +0000 (03:45 +0000)]
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

13 years agopre-release stuff
richard [Thu, 1 Jul 2010 02:20:51 +0000 (02:20 +0000)]
pre-release stuff

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

13 years agoadd note & thanks
richard [Thu, 1 Jul 2010 01:44:17 +0000 (01:44 +0000)]
add note & thanks

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

13 years agofix potential XSS hole
richard [Thu, 1 Jul 2010 01:41:54 +0000 (01:41 +0000)]
fix potential XSS hole

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

13 years agoRemoving mentioning of 1.5.0 release as it did not happen in February.
ber [Tue, 29 Jun 2010 07:55:34 +0000 (07:55 +0000)]
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

13 years ago- Indexer Xapian, made Xapian 1.2 compatible. Needs at least Xapian 1.0.0 now.
ber [Mon, 28 Jun 2010 12:52:10 +0000 (12:52 +0000)]
- 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

14 years agoSmall documentation update regarding debugging aids:
ber [Mon, 10 May 2010 07:08:11 +0000 (07:08 +0000)]
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