Code

roundup.git
20 years ago*** empty log message ***
richard [Tue, 20 Jan 2004 00:11:51 +0000 (00:11 +0000)]
*** empty log message ***

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

20 years agoimplement built-in permission checks for rendered fields, making templating much...
richard [Tue, 20 Jan 2004 00:06:56 +0000 (00:06 +0000)]
implement built-in permission checks for rendered fields, making templating much simpler

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

20 years agofix minor bug in mailgw POP handler
richard [Tue, 20 Jan 2004 00:06:09 +0000 (00:06 +0000)]
fix minor bug in mailgw POP handler

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

20 years agoadd roundup version to mailer headers
richard [Tue, 20 Jan 2004 00:05:46 +0000 (00:05 +0000)]
add roundup version to mailer headers

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

20 years ago*** empty log message ***
richard [Tue, 20 Jan 2004 00:05:07 +0000 (00:05 +0000)]
*** empty log message ***

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

20 years agovarious updates
richard [Tue, 20 Jan 2004 00:04:44 +0000 (00:04 +0000)]
various updates

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

20 years ago- changed template to remove duplicate display table, using built-in
richard [Mon, 19 Jan 2004 23:57:47 +0000 (23:57 +0000)]
- changed template to remove duplicate display table, using built-in
  permission checks now
- fixed permissions settings for anonymous to make view work again for them

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

20 years ago. changes to support the new templating Unauthorised exception.
richard [Mon, 19 Jan 2004 23:56:07 +0000 (23:56 +0000)]
. changes to support the new templating Unauthorised exception.
. bugfix in file download
- fixed display of feedback messages in some situations (sf bug 739545)

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

20 years agobody_title improvement
richard [Mon, 19 Jan 2004 23:01:10 +0000 (23:01 +0000)]
body_title improvement

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

20 years ago*** empty log message ***
jlgijsbers [Sat, 17 Jan 2004 13:49:06 +0000 (13:49 +0000)]
*** empty log message ***

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

20 years agofix re-enabling queries (sf bug 861940)
richard [Sat, 17 Jan 2004 01:59:33 +0000 (01:59 +0000)]
fix re-enabling queries (sf bug 861940)

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

20 years agofixed check for JS pop()/push() to make more general (sf bug 877504)
richard [Sat, 17 Jan 2004 01:49:18 +0000 (01:49 +0000)]
fixed check for JS pop()/push() to make more general (sf bug 877504)

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

20 years ago*** empty log message ***
richard [Thu, 15 Jan 2004 04:12:03 +0000 (04:12 +0000)]
*** empty log message ***

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

20 years agocommit old file-serving bugfix, and new pt content-type fix
richard [Thu, 15 Jan 2004 00:01:15 +0000 (00:01 +0000)]
commit old file-serving bugfix, and new pt content-type fix

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

20 years agoanother example
richard [Wed, 14 Jan 2004 23:50:12 +0000 (23:50 +0000)]
another example

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

20 years agoinfo about how roundup is installed
richard [Sat, 10 Jan 2004 21:53:27 +0000 (21:53 +0000)]
info about how roundup is installed

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

20 years agofixed mailgw handling of subject-line errors
richard [Fri, 19 Dec 2003 01:50:19 +0000 (01:50 +0000)]
fixed mailgw handling of subject-line errors

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

20 years agoforce textareas to use monospace fonts, lessening surprise on the user
richard [Wed, 17 Dec 2003 00:41:19 +0000 (00:41 +0000)]
force textareas to use monospace fonts, lessening surprise on the user

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

20 years agodefault stylesheet turns off sidebar when printing
richard [Sun, 14 Dec 2003 22:40:16 +0000 (22:40 +0000)]
default stylesheet turns off sidebar when printing

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

20 years agogive access to the input() method all over the place
richard [Sun, 14 Dec 2003 21:40:57 +0000 (21:40 +0000)]
give access to the input() method all over the place

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

20 years agomore unit tests, fixes and cleanups
richard [Wed, 10 Dec 2003 01:40:51 +0000 (01:40 +0000)]
more unit tests, fixes and cleanups

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

20 years agoAdded 'Users may only edit their issues' customisation example.
richard [Wed, 10 Dec 2003 01:40:12 +0000 (01:40 +0000)]
Added 'Users may only edit their issues' customisation example.
Fixed permission check in page.html template.

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

20 years agofix roundup win service
richard [Sat, 6 Dec 2003 02:46:34 +0000 (02:46 +0000)]
fix roundup win service

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

20 years agoApplied Stefan Seefeld's html4/xhtml patch with some changes.
richard [Sat, 6 Dec 2003 00:00:54 +0000 (00:00 +0000)]
Applied Stefan Seefeld's html4/xhtml patch with some changes.

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

20 years agomore unit tests to improve coverage (up from 85% to 88% for anydbm! :)
richard [Fri, 5 Dec 2003 09:47:46 +0000 (09:47 +0000)]
more unit tests to improve coverage (up from 85% to 88% for anydbm! :)

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

20 years agofix more metakit dumbness
richard [Fri, 5 Dec 2003 04:43:46 +0000 (04:43 +0000)]
fix more metakit dumbness

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

20 years agomust be backward-compatible to py2.1
richard [Fri, 5 Dec 2003 04:43:30 +0000 (04:43 +0000)]
must be backward-compatible to py2.1

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

20 years agofix #white in cgitb
richard [Fri, 5 Dec 2003 03:38:47 +0000 (03:38 +0000)]
fix #white in cgitb

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

20 years agoRefactored CGI file serving so that FileClass contents are a) read more
richard [Fri, 5 Dec 2003 03:28:38 +0000 (03:28 +0000)]
Refactored CGI file serving so that FileClass contents are a) read more
cleanly and b) served with reasonable modification dates and handling of
if-modified-since.
File serving also sends a content-length now too.

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

20 years agoignore incoming email with "Precedence: bulk" (sf patch 843489)
richard [Thu, 4 Dec 2003 23:34:25 +0000 (23:34 +0000)]
ignore incoming email with "Precedence: bulk" (sf patch 843489)

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

20 years agoanother contributor
richard [Thu, 4 Dec 2003 23:14:10 +0000 (23:14 +0000)]
another contributor

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

20 years agoadded contributed script for copying users between trackers
richard [Thu, 4 Dec 2003 23:13:43 +0000 (23:13 +0000)]
added contributed script for copying users between trackers

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

20 years ago- fixed date arithmetic to not allow day-of-month == 0 (sf bug 853306)
richard [Thu, 4 Dec 2003 23:06:53 +0000 (23:06 +0000)]
- fixed date arithmetic to not allow day-of-month == 0 (sf bug 853306)
- fixed date arithmetic to limit hours-per-day to 24, not 60

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

20 years agosome updates that were sitting on disk
richard [Thu, 4 Dec 2003 02:43:07 +0000 (02:43 +0000)]
some updates that were sitting on disk

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

21 years agoSome reformatting and fixing docstrings for emacs.
jlgijsbers [Fri, 21 Nov 2003 22:22:32 +0000 (22:22 +0000)]
Some reformatting and fixing docstrings for emacs.

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

21 years agoAdd 'return' after failed permission checks in search/editCSV actions.
jlgijsbers [Fri, 21 Nov 2003 21:59:05 +0000 (21:59 +0000)]
Add 'return' after failed permission checks in search/editCSV actions.

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

21 years agoMissed change note for last checkin.
jlgijsbers [Fri, 21 Nov 2003 21:41:19 +0000 (21:41 +0000)]
Missed change note for last checkin.

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

21 years agoInvert date substraction to put activity in the past again (sf bug 842027).
jlgijsbers [Fri, 21 Nov 2003 21:31:57 +0000 (21:31 +0000)]
Invert date substraction to put activity in the past again (sf bug 842027).

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

21 years ago- Always sort MultilinkHTMLProperty in the correct order, usually
jlgijsbers [Thu, 20 Nov 2003 15:20:21 +0000 (15:20 +0000)]
- Always sort MultilinkHTMLProperty in the correct order, usually
  alphabetically (sf feature 790512).
- Extract find_sort_key method.
- Use nested scopes in make_sort_function.

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

21 years ago- Add tests for Interval.pretty().
jlgijsbers [Wed, 19 Nov 2003 22:53:15 +0000 (22:53 +0000)]
- Add tests for Interval.pretty().
- Fix 'ago' and 'in' not being added to years.
- Fix docstrings for emacs.

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

21 years ago- Add docstring to safeget method.
jlgijsbers [Sun, 16 Nov 2003 22:56:46 +0000 (22:56 +0000)]
- Add docstring to safeget method.
- Remove handling of invalid propname (YAGNI).

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

21 years agoSmall readability improvements.
jlgijsbers [Sun, 16 Nov 2003 20:01:16 +0000 (20:01 +0000)]
Small readability improvements.

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

21 years agoAdd 'safeget' method to hyperdb, including tests, and use it to simplify code
jlgijsbers [Sun, 16 Nov 2003 19:59:10 +0000 (19:59 +0000)]
Add 'safeget' method to hyperdb, including tests, and use it to simplify code
in roundupdb.

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

21 years ago- Remove implementations of Class.getnode from back_anydbm and rdbms_common,
jlgijsbers [Sun, 16 Nov 2003 18:41:40 +0000 (18:41 +0000)]
- Remove implementations of Class.getnode from back_anydbm and rdbms_common,
it's already in hyperdb.Class.
- Implementations of hyperdb.Database do need to implement the getnode method
themselves.

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

21 years ago- Fixed retirement of items in rdbms imports (sf bug 841355)
richard [Fri, 14 Nov 2003 00:11:19 +0000 (00:11 +0000)]
- Fixed retirement of items in rdbms imports (sf bug 841355)
- Fixed bug in looking up journal of newly-created items in *dbm backends

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

21 years agoMissed change note with last checkin:
richard [Thu, 13 Nov 2003 06:03:42 +0000 (06:03 +0000)]
Missed change note with last checkin:

- allowed negative ids (ie. new item markers) in HTMLClass.getItem,
  allowing "db/file_with_status/-1/status/menu" to generate a useful
  widget

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

21 years agooops
richard [Thu, 13 Nov 2003 05:56:48 +0000 (05:56 +0000)]
oops

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

21 years agoallow negative items, helping construct forms
richard [Thu, 13 Nov 2003 05:55:01 +0000 (05:55 +0000)]
allow negative items, helping construct forms

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

21 years agoimplemented munging of template name for installed trackers
richard [Thu, 13 Nov 2003 04:12:10 +0000 (04:12 +0000)]
implemented munging of template name for installed trackers

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

21 years agoResent-From: header
richard [Thu, 13 Nov 2003 03:41:38 +0000 (03:41 +0000)]
Resent-From: header

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

21 years agooops
richard [Wed, 12 Nov 2003 23:29:17 +0000 (23:29 +0000)]
oops

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

21 years agoclarified minimum version required for MySQL backend (4.0.16)
richard [Wed, 12 Nov 2003 22:34:28 +0000 (22:34 +0000)]
clarified minimum version required for MySQL backend (4.0.16)

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

21 years ago- fixes for sf bug 818339
richard [Wed, 12 Nov 2003 03:42:13 +0000 (03:42 +0000)]
- fixes for sf bug 818339
- fixes for metakit for the new db unit tests

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

21 years agofixed ZRoundup - mostly changes to classic template
richard [Wed, 12 Nov 2003 01:00:59 +0000 (01:00 +0000)]
fixed ZRoundup - mostly changes to classic template

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

21 years agorecalculate SHA on template files when installed tracker used as
richard [Tue, 11 Nov 2003 22:37:25 +0000 (22:37 +0000)]
recalculate SHA on template files when installed tracker used as
template (sf bug 827510)

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

21 years agoremove SHA hashes from source (sf bug 827510
richard [Tue, 11 Nov 2003 22:25:37 +0000 (22:25 +0000)]
remove SHA hashes from source (sf bug 827510

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

21 years agohandle socket timeout exception (thanks Marcus Priesch)
richard [Tue, 11 Nov 2003 21:51:52 +0000 (21:51 +0000)]
handle socket timeout exception (thanks Marcus Priesch)

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

21 years ago- that's the postgresql backend in (cleaned up doc, unit testing harness and
richard [Tue, 11 Nov 2003 11:19:18 +0000 (11:19 +0000)]
- that's the postgresql backend in (cleaned up doc, unit testing harness and
  the backend module itself)
- also cleaned up the index maintenance code (actual checks for existence
  rather than bare-except failure mode)

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

21 years agoCentralised conversion of user-input data to hyperdb values (bug #802405,
richard [Tue, 11 Nov 2003 00:35:14 +0000 (00:35 +0000)]
Centralised conversion of user-input data to hyperdb values (bug #802405,
bug #817217, rfe #816994)

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

21 years agomore database closing cleanups, finally mysql has no dangling references
richard [Mon, 10 Nov 2003 03:56:39 +0000 (03:56 +0000)]
more database closing cleanups, finally mysql has no dangling references

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

21 years agoChange nosymessage and send_message to accept msgid=None (RFE #707235).
jlgijsbers [Thu, 6 Nov 2003 19:01:57 +0000 (19:01 +0000)]
Change nosymessage and send_message to accept msgid=None (RFE #707235).

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

21 years agoDon't let roundup_server.run() interpret the command-line arguments,
jlgijsbers [Thu, 6 Nov 2003 14:24:57 +0000 (14:24 +0000)]
Don't let roundup_server.run() interpret the command-line arguments,
it causes an error when doing 'demo.py nuke'.

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

21 years agofixed javascript for help window for only one checkbox case
richard [Thu, 6 Nov 2003 07:17:43 +0000 (07:17 +0000)]
fixed javascript for help window for only one checkbox case

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

21 years agoRemove duplication: use a 'extra_config' attribute which is appended
jlgijsbers [Wed, 5 Nov 2003 21:54:57 +0000 (21:54 +0000)]
Remove duplication: use a 'extra_config' attribute which is appended
to the config file for testCreation.

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

21 years agotest fix
richard [Wed, 5 Nov 2003 01:38:52 +0000 (01:38 +0000)]
test fix

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

21 years agoDate - Date works again. Note that it only produces Intervals with
anthonybaxter [Tue, 4 Nov 2003 12:35:47 +0000 (12:35 +0000)]
Date - Date works again. Note that it only produces Intervals with
days, hours, minutes and seconds. Making it produce years and months
is a lot more work.

bugfix candidate

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

21 years ago*** empty log message ***
richard [Mon, 3 Nov 2003 23:39:38 +0000 (23:39 +0000)]
*** empty log message ***

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

21 years agoadd flush() to DevNull
richard [Mon, 3 Nov 2003 23:37:06 +0000 (23:37 +0000)]
add flush() to DevNull

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

21 years agoDo a semantic comparison of messages when the test fails.
jlgijsbers [Mon, 3 Nov 2003 22:23:02 +0000 (22:23 +0000)]
Do a semantic comparison of messages when the test fails.

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

21 years agoAdd all fixes and cleanups I forgot to mention when checking them in.
jlgijsbers [Mon, 3 Nov 2003 21:51:06 +0000 (21:51 +0000)]
Add all fixes and cleanups I forgot to mention when checking them in.

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

21 years agoExtract _send_mail method, it was duplicated all around the test code.
jlgijsbers [Mon, 3 Nov 2003 19:08:41 +0000 (19:08 +0000)]
Extract _send_mail method, it was duplicated all around the test code.

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

21 years agoDon't rely on being about an issue when submitting a message to the
jlgijsbers [Mon, 3 Nov 2003 18:34:03 +0000 (18:34 +0000)]
Don't rely on being about an issue when submitting a message to the
mail gateway.

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

21 years agomore tests for date difference. Completely broken code right now.
anthonybaxter [Mon, 3 Nov 2003 10:33:23 +0000 (10:33 +0000)]
more tests for date difference. Completely broken code right now.

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

21 years agoDate arithmetic fixes. Date +/- Interval passes all tests again, after
anthonybaxter [Mon, 3 Nov 2003 10:23:06 +0000 (10:23 +0000)]
Date arithmetic fixes. Date +/- Interval passes all tests again, after
fixing a couple of the tests to actually reflect the calendar used on
my planet rather than where-ever Richard was when he wrote the test <wink>

The basic problem was that when going backwards, the code was adding
the days of the current month, rather than the previous month.
There's still a bug in the testDateSubtract that I'll fix next.

Bugfix candidate (probably)

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

21 years agowoo, failing date arithmetic tests
richard [Sun, 2 Nov 2003 09:27:50 +0000 (09:27 +0000)]
woo, failing date arithmetic tests

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

21 years agomore unit test work
richard [Sun, 2 Nov 2003 08:44:17 +0000 (08:44 +0000)]
more unit test work

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

21 years ago*** empty log message ***
richard [Sun, 2 Nov 2003 08:43:54 +0000 (08:43 +0000)]
*** empty log message ***

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

21 years agomake this run under py2.1
richard [Sun, 2 Nov 2003 08:43:22 +0000 (08:43 +0000)]
make this run under py2.1

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

21 years agore-purpose TODO.txt to only have pre-nex-release stuff in it
richard [Sun, 2 Nov 2003 08:42:22 +0000 (08:42 +0000)]
re-purpose TODO.txt to only have pre-nex-release stuff in it

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

21 years agofix broken cron examples
anthonybaxter [Thu, 30 Oct 2003 05:40:37 +0000 (05:40 +0000)]
fix broken cron examples

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

21 years agoFix some attributes. Note that this causes the test to fail with an
jlgijsbers [Sun, 26 Oct 2003 14:43:51 +0000 (14:43 +0000)]
Fix some attributes. Note that this causes the test to fail with an
error, while it just wouldn't run before.

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

21 years agoAdd hasattr() check for backend in mysqlOpener.
jlgijsbers [Sun, 26 Oct 2003 14:13:04 +0000 (14:13 +0000)]
Add hasattr() check for backend in mysqlOpener.

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

21 years ago*** empty log message ***
richard [Sat, 25 Oct 2003 23:00:42 +0000 (23:00 +0000)]
*** empty log message ***

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

21 years agoolder test stuff
richard [Sat, 25 Oct 2003 22:54:16 +0000 (22:54 +0000)]
older test stuff

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

21 years ago- using Zope3's test runner now, allowing GC checks, nicer controls and
richard [Sat, 25 Oct 2003 22:53:26 +0000 (22:53 +0000)]
- using Zope3's test runner now, allowing GC checks, nicer controls and
  coverage analysis
- all RDMBS backends now have indexes on several columns
- added testing of schema mutation, fixed rdbms backends handling of a
  couple of cases
- !BETA! added postgresql backend, needs work !BETA!

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

21 years agoAdd back <span tal:replace="structure request/indexargs_form" /> I
jlgijsbers [Sat, 25 Oct 2003 12:33:11 +0000 (12:33 +0000)]
Add back <span tal:replace="structure request/indexargs_form" /> I
accidentally removed.

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

21 years agoPrint a nicer error message (without usage) when the address is
jlgijsbers [Sat, 25 Oct 2003 12:26:42 +0000 (12:26 +0000)]
Print a nicer error message (without usage) when the address is
already in use (bug #798659). Factor out error() function to enable this.

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

21 years agoDon't be strict about the space following the two hyphens indicating a
jlgijsbers [Sat, 25 Oct 2003 12:03:41 +0000 (12:03 +0000)]
Don't be strict about the space following the two hyphens indicating a
signature, it upsets the tests.

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

21 years agoMove tests to test_mailsplit, which I hadn't seen before (insert the
jlgijsbers [Sat, 25 Oct 2003 12:02:37 +0000 (12:02 +0000)]
Move tests to test_mailsplit, which I hadn't seen before (insert the
sound of one hand slapping here).

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

21 years agoUse roundup_server script in demo.py to reduce duplication (first part
jlgijsbers [Sat, 25 Oct 2003 11:41:06 +0000 (11:41 +0000)]
Use roundup_server script in demo.py to reduce duplication (first part
of fixing bug #798659).

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

21 years agoUse abspath() from os.path, it's been there since 1.5.2.
jlgijsbers [Sat, 25 Oct 2003 11:20:17 +0000 (11:20 +0000)]
Use abspath() from os.path, it's been there since 1.5.2.

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

21 years agoHide registration link if the user doesn't have the 'Web Registration'
jlgijsbers [Sat, 25 Oct 2003 10:59:50 +0000 (10:59 +0000)]
Hide registration link if the user doesn't have the 'Web Registration'
permission. (patch #828141).

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

21 years agoFixed "documentation" of getnodeids in roundup.hyperdb
richard [Fri, 24 Oct 2003 22:52:48 +0000 (22:52 +0000)]
Fixed "documentation" of getnodeids in roundup.hyperdb

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

21 years agoClarify listTemplates docstring using http://sourceforge.net/mailarchive/forum.php...
jlgijsbers [Fri, 24 Oct 2003 19:48:05 +0000 (19:48 +0000)]
Clarify listTemplates docstring using sourceforge.net/mailarchive/forum.php?thread_id=1983862&forum_id=1100.

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

21 years agoAdd a wrapper around the two different reader() functions, which
jlgijsbers [Fri, 24 Oct 2003 16:29:17 +0000 (16:29 +0000)]
Add a wrapper around the two different reader() functions, which
removes all empty lines, as both csv parsers barf on them (bug #821364).

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

21 years agoSet status to 'chatting' if no status is set (patch #827613).
jlgijsbers [Fri, 24 Oct 2003 15:51:43 +0000 (15:51 +0000)]
Set status to 'chatting' if no status is set (patch #827613).

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

21 years agoAddition to last log message: added tests. (Also, fix uncommenting one suite).
jlgijsbers [Fri, 24 Oct 2003 15:01:11 +0000 (15:01 +0000)]
Addition to last log message: added tests. (Also, fix uncommenting one suite).

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

21 years agoMake signature matching more precise: only match '-- ' (note the
jlgijsbers [Fri, 24 Oct 2003 14:59:38 +0000 (14:59 +0000)]
Make signature matching more precise: only match '-- ' (note the
space) as a signature starter (bug #827775).

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

21 years agoAnonymous user can no longer edit or view itself. This fixes a
jlgijsbers [Fri, 24 Oct 2003 09:32:19 +0000 (09:32 +0000)]
Anonymous user can no longer edit or view itself. This fixes a
security bug (bug #828901).

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

21 years agoAdd a note to the 'Invalid One Time Key' message about Mozilla
jlgijsbers [Wed, 22 Oct 2003 16:47:55 +0000 (16:47 +0000)]
Add a note to the 'Invalid One Time Key' message about Mozilla
double-loading the page (bug #827533).

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