Code

roundup.git
13 years agoRemoved superfluous import.
ber [Thu, 23 Jun 2011 08:26:14 +0000 (08:26 +0000)]
Removed superfluous import.

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

13 years agothe "file" alias was introduced some time after this code was written
richard [Wed, 22 Jun 2011 21:50:46 +0000 (21:50 +0000)]
the "file" alias was introduced some time after this code was written

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

13 years agoTypo fixed.
ber [Wed, 22 Jun 2011 12:36:41 +0000 (12:36 +0000)]
Typo fixed.

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

13 years agoDo not depend on a CPython implementation detail anymore to make Roundup
ber [Wed, 22 Jun 2011 12:34:31 +0000 (12:34 +0000)]
Do not depend on a CPython implementation detail anymore to make Roundup
more compatible with other Python implementation like PyPy.
Closes issue2550707. Thanks to Christof Meerwald.

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

13 years agoYet another fix to the mail gateway, messages got *all* files of
schlatterbeck [Mon, 6 Jun 2011 20:00:17 +0000 (20:00 +0000)]
Yet another fix to the mail gateway, messages got *all* files of
an issue, not just the new ones. Thanks to Rafal Bisingier for
reporting and proposing a fix. The regression test was updated.
Fix version numbers in upgrade documentation, the file-unlink defect
was in 1.4.17 not 1.4.16. Thanks to Rafal Bisingier.

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

13 years agoRephrased the introduction to make sure that mentioned names are the committers.
ber [Mon, 6 Jun 2011 07:23:49 +0000 (07:23 +0000)]
Rephrased the introduction to make sure that mentioned names are the committers.

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

13 years agoYet another fix to the mail gateway, messages got *all* files of
schlatterbeck [Wed, 1 Jun 2011 12:49:47 +0000 (12:49 +0000)]
Yet another fix to the mail gateway, messages got *all* files of
an issue, not just the new ones. Thanks to Rafal Bisingier for
reporting and proposing a fix. The regression test was updated.
Fix version numbers in upgrade documentation, the file-unlink defect
was in 1.4.17 not 1.4.16. Thanks to Rafal Bisingier.

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

13 years agoImproved wording on the mailgw file-unlink defect:
ber [Mon, 30 May 2011 09:09:40 +0000 (09:09 +0000)]
Improved wording on the mailgw file-unlink defect:
  + Added missing information when the defect was introduced
  + Language more neutral about the description and fix.

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

13 years ago- document experience from release(s)
schlatterbeck [Sun, 29 May 2011 20:01:16 +0000 (20:01 +0000)]
- document experience from release(s)

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

13 years ago- restore old announcement header for next release...
schlatterbeck [Sun, 29 May 2011 19:51:27 +0000 (19:51 +0000)]
- restore old announcement header for next release...

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

13 years ago- release preparation
schlatterbeck [Sun, 29 May 2011 19:35:41 +0000 (19:35 +0000)]
- release preparation
- upgrading docs contains script to find affected issues and how to fix
  these

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

13 years agoFix file-unlink bug in mailgw (Ralfs oversight when refactoring the mail
schlatterbeck [Sun, 29 May 2011 18:25:49 +0000 (18:25 +0000)]
Fix file-unlink bug in mailgw (Ralfs oversight when refactoring the mail
gateway code) -- if a message is sent that contains no attachments,
all previous files of the issue are unlinked, thanks to Rafal
Bisingier for reporting and proposing a fix.
I've now added a regression test that catches this issue.

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

13 years agoAllow to specify additional cc and bcc emails (not roundup users) for
schlatterbeck [Mon, 23 May 2011 12:15:23 +0000 (12:15 +0000)]
Allow to specify additional cc and bcc emails (not roundup users) for
nosymessage used by the nosyreaction reactor.

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

13 years agoNorwegian Bokmal translation by Christian Aastorp
schlatterbeck [Mon, 23 May 2011 09:52:46 +0000 (09:52 +0000)]
Norwegian Bokmal translation by Christian Aastorp
(with some fixes regarding leading and trailing newlines)

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

13 years agofix long_description again: we can't build a windows-installer on Linux
schlatterbeck [Fri, 13 May 2011 09:15:46 +0000 (09:15 +0000)]
fix long_description again: we can't build a windows-installer on Linux
if the description is unicode, see http://bugs.python.org/issue10945
(also python 2.6 builds roundup-1.4.17.linux-i686.exe when building
bdist_wininst where python 2.5 produces roundup-1.4.17.win32.exe, I'm
building the windows binary distro with 2.5 now)

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

13 years agorelease preparation
schlatterbeck [Fri, 13 May 2011 07:56:45 +0000 (07:56 +0000)]
release preparation

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

13 years agoFix keyword expression editor for 'devel' tracker template.
stefan [Thu, 21 Apr 2011 15:30:17 +0000 (15:30 +0000)]
Fix keyword expression editor for 'devel' tracker template.

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

13 years agotest that announcement.txt is pure ASCII, required at least up to
schlatterbeck [Wed, 20 Apr 2011 13:12:53 +0000 (13:12 +0000)]
test that announcement.txt is pure ASCII, required at least up to
python2.5 by distutils. (Note tht doc/announcement.txt is the *old*
announcement from the last release, I've changed it so that setup.py
will work for now and to illustrate what needed to be changed).

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

13 years agopython2.4 compatibility fix
schlatterbeck [Sat, 16 Apr 2011 18:38:18 +0000 (18:38 +0000)]
python2.4 compatibility fix

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

13 years agoFixed bug in filter_iter refactoring (lazy multilinks), in rare cases
schlatterbeck [Sat, 16 Apr 2011 11:02:01 +0000 (11:02 +0000)]
Fixed bug in filter_iter refactoring (lazy multilinks), in rare cases
this would result in duplicate multilinks to the same node. We're now
going the safe route and doing lazy evaluation only for read-only
access, whenever updates are done we fetch everything.

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

13 years agoFix documentation for roundup-server about the 'host' parameter as
schlatterbeck [Fri, 15 Apr 2011 19:04:08 +0000 (19:04 +0000)]
Fix documentation for roundup-server about the 'host' parameter as
suggested in issue2550693, fixes the first part of this issue. Make
'localhost' the new default for this parameter, note the upgrading
documentation of changed behaviour.  We also deprecate the empty host
parameter for binding to all interfaces now (still left in for
compatibility). Thanks to Toni Mueller for providing the first version
of this patch and discussing implementations.

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

13 years agomore verbose description of password hashing, thanks to Eli Collins
schlatterbeck [Fri, 15 Apr 2011 18:57:17 +0000 (18:57 +0000)]
more verbose description of password hashing, thanks to Eli Collins

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

13 years agoDocument 'build_doc' step.
stefan [Fri, 15 Apr 2011 12:00:56 +0000 (12:00 +0000)]
Document 'build_doc' step.

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

13 years agoAdd new config-option 'password_pbkdf2_default_rounds' in 'main' section
schlatterbeck [Fri, 15 Apr 2011 08:09:59 +0000 (08:09 +0000)]
Add new config-option 'password_pbkdf2_default_rounds' in 'main' section
to configure the default parameter for new password generation. Set this
to a higher value on faster systems which want more security. Thanks to
Eli Collins for implementing this (see issue2550688).
This now passes a config object (default None in which case we fall back
to hard-coded parameters) into the password generation routine. This way
we can add further parameters for password generation in the future.
Also added a small regression test for this new feature.

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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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