Code

roundup.git
12 years agoAdd config-option "nosy" to messages_to_author setting in [nosy] section master
schlatterbeck [Wed, 19 Oct 2011 13:20:22 +0000 (13:20 +0000)]
Add config-option "nosy" to messages_to_author setting in [nosy] section
of config: This will send a message to the author only in the case where
the author is on the nosy-list (either added earlier or via the
add_author setting). Current config-options for this setting will send /
not send to author without considering the nosy list.

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

12 years ago- fix mailgw list of methods -- use getattr so that a derived class will
schlatterbeck [Mon, 17 Oct 2011 18:38:05 +0000 (18:38 +0000)]
- fix mailgw list of methods -- use getattr so that a derived class will
  work too.

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

12 years agofixed issue2550730: FAQ has broken link to Zope book. Reported and fixed by John...
ber [Mon, 17 Oct 2011 07:51:52 +0000 (07:51 +0000)]
fixed issue2550730: FAQ has broken link to Zope book. Reported and fixed by John Rouillard.

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

12 years ago- fix handling of traceback mails to the roundup admin
schlatterbeck [Fri, 7 Oct 2011 19:08:54 +0000 (19:08 +0000)]
- fix handling of traceback mails to the roundup admin
- now this mail is a multipart/alternative with the HTML part *and* the
  traceback in text-format.

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

12 years agoSending of PGP-Encrypted mail to all users or selected users (via roles)
schlatterbeck [Fri, 7 Oct 2011 18:04:00 +0000 (18:04 +0000)]
Sending of PGP-Encrypted mail to all users or selected users (via roles)
is now working. (Ralf)

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

12 years agoPGP support is again working (pyme API has changed significantly) and we
schlatterbeck [Fri, 7 Oct 2011 14:21:57 +0000 (14:21 +0000)]
PGP support is again working (pyme API has changed significantly) and we
now have a regression test. We now take care that bounce-messages for
incoming encrypted mails or mails where the policy dictates that
outgoing traffic should be encrypted is actually pgp-encrypted. Note
that the new pgp encrypt option for outgoing mails works only for
bounces for now.

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

12 years agoFix PGP implementation -- the pyme API has changed significantly since
schlatterbeck [Thu, 6 Oct 2011 21:02:09 +0000 (21:02 +0000)]
Fix PGP implementation -- the pyme API has changed significantly since
this worked (API is now better). Add regression-test for PGP support
(this isn't run if pyme isn't installed). We're testing only reception
of a signed message for now.

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

12 years ago- put all methods for parsing a message into a list and call all in a
schlatterbeck [Thu, 6 Oct 2011 07:19:25 +0000 (07:19 +0000)]
- put all methods for parsing a message into a list and call all in a
  parse-routine from parsedMessage, this way it is easier to customize
  the message parsing/handling.

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

12 years ago- fix import/export regression test for anydbm for latest journal fix
schlatterbeck [Thu, 6 Oct 2011 07:03:15 +0000 (07:03 +0000)]
- fix import/export regression test for anydbm for latest journal fix

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

12 years agoAllow to turn off translation of generated html options in menu method
schlatterbeck [Fri, 30 Sep 2011 09:35:34 +0000 (09:35 +0000)]
Allow to turn off translation of generated html options in menu method
of LinkHTMLProperty and MultilinkHTMLProperty -- default is translation
as it used to be

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

12 years agoWhen debugging mail (debug = <filename> setting in [mail] section of
schlatterbeck [Wed, 28 Sep 2011 15:50:20 +0000 (15:50 +0000)]
When debugging mail (debug = <filename> setting in [mail] section of
config.ini) write header for unix mailbox format so that resulting debug
file can be opened with a standard mailer.

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

12 years agoAdded Ralf to the last changelog entry.
ber [Wed, 28 Sep 2011 11:59:08 +0000 (11:59 +0000)]
Added Ralf to the last changelog entry.

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

12 years agoissue2550729: Fix password history display for anydbm backend, thanks to
schlatterbeck [Wed, 28 Sep 2011 11:06:24 +0000 (11:06 +0000)]
issue2550729: Fix password history display for anydbm backend, thanks to
Ralf Hemmecke for reporting.

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

12 years ago- issue2550728: remove buggy parentheses in TAL/DummyEngine.py.
ber [Mon, 26 Sep 2011 07:51:42 +0000 (07:51 +0000)]
- issue2550728: remove buggy parentheses in TAL/DummyEngine.py.
  Reported and fixed by Ralf Hemmecke.

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

12 years agoissue2550678: Allow pagesize=-1 which returns all results.
ber [Sat, 3 Sep 2011 20:12:51 +0000 (20:12 +0000)]
issue2550678: Allow pagesize=-1 which returns all results.
  Suggested and implemented by John Kristensen.
  Tested by Satchidanand Haridas.

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

12 years agoFix matching of incoming email addresses to the alternate_addresses
schlatterbeck [Wed, 24 Aug 2011 14:43:52 +0000 (14:43 +0000)]
Fix matching of incoming email addresses to the alternate_addresses
field of a user -- this would match substrings, e.g. if the user has
discuss-support@example.com as an alternate email and an incoming mail
is addressed to support@example.com this would (wrongly) match.

Note: I *think* I've seen this discussed somewhere but couldn't find it,
neither in the tracker nor in recent discussions on the mailinglists.
So if someone remembers an issue which now should be closed, please
tell me :-)

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

12 years agoissue2550715: IndexError when requesting non-existing file via http.
ber [Thu, 11 Aug 2011 19:21:26 +0000 (19:21 +0000)]
issue2550715: IndexError when requesting non-existing file via http.
  Reported and fixed by Cédric Krier.

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

12 years agoissue2550695: 'No sort or group' settings not retained when editing queries.
ber [Tue, 19 Jul 2011 07:54:22 +0000 (07:54 +0000)]
issue2550695: 'No sort or group' settings not retained when editing queries.
  Reported and fixed by John Kristensen. Tested by Satchidanand Haridas.

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

12 years agoNew version number after release.
ber [Tue, 19 Jul 2011 07:51:24 +0000 (07:51 +0000)]
New version number after release.

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

12 years agofix build instructions
schlatterbeck [Fri, 15 Jul 2011 16:51:00 +0000 (16:51 +0000)]
fix build instructions
- tagging: correct svn path names
- document windows binary: python 2.7 still has naming bug

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

12 years ago- release preparation
schlatterbeck [Fri, 15 Jul 2011 15:52:34 +0000 (15:52 +0000)]
- release preparation

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

12 years ago- add name
schlatterbeck [Fri, 15 Jul 2011 14:14:20 +0000 (14:14 +0000)]
- add name

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

12 years agoAllow HTMLRequest.batch to filter on other permissions than "View"
schlatterbeck [Fri, 15 Jul 2011 14:13:51 +0000 (14:13 +0000)]
Allow HTMLRequest.batch to filter on other permissions than "View"
(e.g. on the new "Search" permission") by adding a "permission"
parameter. Thanks to Eli Collins for the patch. Closes issue2550699.

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

12 years agoFix issue2550691 where a Unix From-Header was sometimes inserted in
schlatterbeck [Fri, 15 Jul 2011 14:05:29 +0000 (14:05 +0000)]
Fix issue2550691 where a Unix From-Header was sometimes inserted in
outgoing emails, thanks to Joseph Myers for the patch.

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

12 years ago- add latest change to CHANGES.txt changelog
schlatterbeck [Fri, 15 Jul 2011 12:54:27 +0000 (12:54 +0000)]
- add latest change to CHANGES.txt changelog

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

12 years ago- Fix StringIO issue2550713: io.StringIO in newer versions of python
schlatterbeck [Fri, 15 Jul 2011 12:36:47 +0000 (12:36 +0000)]
- Fix StringIO issue2550713: io.StringIO in newer versions of python
  returns unicode strings and expects a unicode string in the
  constructor. Unfortunately csv  doesn't handle unicode (yet). So we
  need to use a BytesIO which gets the utf-8 string from the
  web-interface. Compatibility for old versions by using
  Stringio.Stringio for emulating a io.BytesIO also works.
- We didn't have a regression test for the EditCSVAction

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

12 years agoFix mailer encoding test:
schlatterbeck [Fri, 15 Jul 2011 10:03:37 +0000 (10:03 +0000)]
Fix mailer encoding test:
- better name to be able to match it when running single test on the
  command line
- use iso8859-1 instead of latin1, python2.7 will convert latin1 to
  iso8859-1 which made the test fail

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

12 years ago- recent attributions
schlatterbeck [Fri, 15 Jul 2011 08:59:14 +0000 (08:59 +0000)]
- recent attributions

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

12 years agoFixed typo in permission "Reture" -> "Retire".
ber [Fri, 15 Jul 2011 06:53:48 +0000 (06:53 +0000)]
Fixed typo in permission "Reture" -> "Retire".

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

12 years agohow odd, the Retire permission wasn't being registered; no-one seemed to notice though...
richard [Fri, 15 Jul 2011 04:32:50 +0000 (04:32 +0000)]
how odd, the Retire permission wasn't being registered; no-one seemed to notice though...

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

12 years agoInstallation: Fixed an issue that prevented to use EasyInstall
ber [Fri, 8 Jul 2011 15:28:00 +0000 (15:28 +0000)]
Installation: Fixed an issue that prevented to use EasyInstall
  and a Python egg. Thanks to Satchidanand Haridas for the patch and
  John Kristensen for testing it.

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

12 years agoThe PostgreSQL backend quotes database names now for CREATE and DROP,
ber [Fri, 1 Jul 2011 15:17:32 +0000 (15:17 +0000)]
The PostgreSQL backend quotes database names now for CREATE and DROP,
  enabling more exotic tracker names. Closes issue2550497.
  Thanks to Sebastian Harl for providing the patch.

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

12 years agoPostgreSQL backend minor improvement: database creation less likely to fail
ber [Fri, 1 Jul 2011 15:05:09 +0000 (15:05 +0000)]
PostgreSQL backend minor improvement: database creation less likely to fail
  for PostgreSQL versions >= 8.1 as the table "postgres" is used by default.
  Closes issue2550543. Thanks to Kai Storbeck for the patch.

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

12 years agoDocs update for mysql and postgresl: Mentioned test/db_test_base.py because
ber [Fri, 1 Jul 2011 14:11:06 +0000 (14:11 +0000)]
Docs update for mysql and postgresl: Mentioned test/db_test_base.py because
  that is the place where the default database parameters comes from.

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

12 years agowww.magma.com.ni/wiki/index.cgi?TipsRoundupPostgres does not exist anymore,
ber [Fri, 1 Jul 2011 13:53:37 +0000 (13:53 +0000)]
magma.com.ni/wiki/index.cgi?TipsRoundupPostgres does not exist anymore,
so I've removed the link.

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

12 years agoXapian indexing improved: Slightly faster and slightly smaller database.
ber [Fri, 1 Jul 2011 13:23:09 +0000 (13:23 +0000)]
Xapian indexing improved: Slightly faster and slightly smaller database.
  Closes issue2550687. Thanks to Olly Betts for the patch.

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

12 years agoUpdated the url to point to www.roundup-tracker.org in two places in the docs.
ber [Tue, 28 Jun 2011 20:06:09 +0000 (20:06 +0000)]
Updated the url to point to roundup-tracker.org in two places in the docs.

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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