Code

roundup.git
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

21 years agoAdd "action" attributes to forms.
jlgijsbers [Mon, 20 Oct 2003 21:14:10 +0000 (21:14 +0000)]
Add "action" attributes to forms.

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

21 years agoAdd "action" attributes to forms.
jlgijsbers [Mon, 20 Oct 2003 21:00:04 +0000 (21:00 +0000)]
Add "action" attributes to forms.

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

21 years agoReplace '&' with '&amp;' in the URLs generated by classhelp(), to validate.
jlgijsbers [Mon, 20 Oct 2003 20:31:40 +0000 (20:31 +0000)]
Replace '&' with '&amp;' in the URLs generated by classhelp(), to validate.

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

21 years agoAdd an id_ prefix to all id's: they can not start with a number in HTML4/XHTML1.
jlgijsbers [Mon, 20 Oct 2003 20:09:15 +0000 (20:09 +0000)]
Add an id_ prefix to all id's: they can not start with a number in HTML4/XHTML1.

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

21 years ago*** empty log message ***
richard [Fri, 17 Oct 2003 01:53:11 +0000 (01:53 +0000)]
*** empty log message ***

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

21 years agodon't include dotfiles in distribution
richard [Mon, 13 Oct 2003 23:21:47 +0000 (23:21 +0000)]
don't include dotfiles in distribution

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

21 years agoFix typo in server address (bug #822967).
jlgijsbers [Mon, 13 Oct 2003 19:41:20 +0000 (19:41 +0000)]
Fix typo in server address (bug #822967).

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

21 years ago*** empty log message ***
richard [Fri, 10 Oct 2003 04:35:26 +0000 (04:35 +0000)]
*** empty log message ***

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

21 years agosupport setgid and running on port < 1024 (sf patch 777528)
richard [Fri, 10 Oct 2003 00:40:16 +0000 (00:40 +0000)]
support setgid and running on port < 1024 (sf patch 777528)

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

21 years agomention tagging :)
richard [Thu, 9 Oct 2003 04:44:12 +0000 (04:44 +0000)]
mention tagging :)

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

21 years agoadded Debian rc script
richard [Tue, 7 Oct 2003 23:02:58 +0000 (23:02 +0000)]
added Debian rc script

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

21 years agohyperdb grows a refresh_database() method. There will be a future
anthonybaxter [Tue, 7 Oct 2003 11:58:58 +0000 (11:58 +0000)]
hyperdb grows a refresh_database() method. There will be a future
roundup-admin command to invoke this.

XXXX Unit tests do _not_ cover large slabs of the hyperdb backend code,
it seems. :-(

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

21 years ago- Fix a couple of failures in mysql backend unit tests.
richard [Tue, 7 Oct 2003 08:52:12 +0000 (08:52 +0000)]
- Fix a couple of failures in mysql backend unit tests.
- Fix the mysql backend docs
- Note requirement of MySQL version 4.0+ with InnoDB or BDB mysql backend

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

21 years agoexpand an XXX comment
anthonybaxter [Tue, 7 Oct 2003 08:34:58 +0000 (08:34 +0000)]
expand an XXX comment

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

21 years agonote you'll need to run the non-existent 'refreshdb' command to create indexes
anthonybaxter [Tue, 7 Oct 2003 07:25:59 +0000 (07:25 +0000)]
note you'll need to run the non-existent 'refreshdb' command to create indexes

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

21 years agomake the RDBMS common backend and the SQLite and MYsql backend create
anthonybaxter [Tue, 7 Oct 2003 07:17:54 +0000 (07:17 +0000)]
make the RDBMS common backend and the SQLite and MYsql backend create
and drop indexes for the basic columns - index multilinks, index id and
retired columns of all class tables.

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

21 years agomerge from maint branch
richard [Tue, 7 Oct 2003 06:18:45 +0000 (06:18 +0000)]
merge from maint branch

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

21 years agodoc fixes
richard [Tue, 7 Oct 2003 06:03:53 +0000 (06:03 +0000)]
doc fixes

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

21 years agobetter explanation of -d arg
richard [Sun, 5 Oct 2003 23:29:49 +0000 (23:29 +0000)]
better explanation of -d arg

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

21 years agoFix mailer (sf bug #817470) and add docstrings to prevent this from happening again.
jlgijsbers [Sat, 4 Oct 2003 11:21:47 +0000 (11:21 +0000)]
Fix mailer (sf bug #817470) and add docstrings to prevent this from happening again.

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

21 years agoMove '<input type="hidden">' elements into a block, it is invalid HTML4 Strict
jlgijsbers [Fri, 3 Oct 2003 19:15:24 +0000 (19:15 +0000)]
Move '<input type="hidden">' elements into a block, it is invalid HTML4 Strict
to have them at the top of a form.

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

21 years agoFix title.
jlgijsbers [Fri, 3 Oct 2003 19:13:50 +0000 (19:13 +0000)]
Fix title.

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

21 years agoMoved out tal:condition up one element, to prevent an empty form form appearing.
jlgijsbers [Fri, 3 Oct 2003 19:11:56 +0000 (19:11 +0000)]
Moved out tal:condition up one element, to prevent an empty form form appearing.

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

21 years agoRemove outdated htmlbase.py.
jlgijsbers [Fri, 3 Oct 2003 17:50:18 +0000 (17:50 +0000)]
Remove outdated htmlbase.py.

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

21 years agoReplaced all uses of the 'nowrap' attribute with its CSS equivalent:
jlgijsbers [Fri, 3 Oct 2003 16:57:28 +0000 (16:57 +0000)]
Replaced all uses of the 'nowrap' attribute with its CSS equivalent:
'white-space: nowrap;'.

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

21 years agoFirst steps towards HTML4.01 Strict validation.
jlgijsbers [Thu, 2 Oct 2003 16:00:45 +0000 (16:00 +0000)]
First steps towards HTML4.01 Strict validation.

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

21 years agoadded DOCTYPE
richard [Tue, 30 Sep 2003 23:57:02 +0000 (23:57 +0000)]
added DOCTYPE

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

21 years agoadded test to confirm behaviour of summary generation from quoted-only email
richard [Tue, 30 Sep 2003 23:55:54 +0000 (23:55 +0000)]
added test to confirm behaviour of summary generation from quoted-only email

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

21 years agoUse FormError.
jlgijsbers [Wed, 24 Sep 2003 14:54:23 +0000 (14:54 +0000)]
Use FormError.

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

21 years ago- Actually use FormError, so we can move the handling of this exception up to
jlgijsbers [Wed, 24 Sep 2003 14:53:58 +0000 (14:53 +0000)]
- Actually use FormError, so we can move the handling of this exception up to
inner_main().
- Implement newItemAction using editItemAction, removing duplication.

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

21 years agooops
richard [Thu, 18 Sep 2003 23:42:51 +0000 (23:42 +0000)]
oops

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

21 years agoadded another example
richard [Thu, 18 Sep 2003 23:41:01 +0000 (23:41 +0000)]
added another example

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

21 years agochange note for Apply Error fix
kedder [Thu, 18 Sep 2003 07:33:57 +0000 (07:33 +0000)]
change note for Apply Error fix

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

21 years agoadded note about hidden :template var in user.item (bug 799842)
richard [Wed, 17 Sep 2003 22:30:30 +0000 (22:30 +0000)]
added note about hidden :template var in user.item (bug 799842)

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

21 years agofixed Apply Error that was raised, when property was deleted from class and we are...
kedder [Tue, 16 Sep 2003 16:12:38 +0000 (16:12 +0000)]
fixed Apply Error that was raised, when property was deleted from class and we are trying to edit an instance.

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

21 years agoRemove line testing for just one testcase.
jlgijsbers [Mon, 15 Sep 2003 19:37:28 +0000 (19:37 +0000)]
Remove line testing for just one testcase.

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

21 years agoAdd a test for looking up alternate adresses and case-insensitivity.
jlgijsbers [Mon, 15 Sep 2003 19:35:53 +0000 (19:35 +0000)]
Add a test for looking up alternate adresses and case-insensitivity.

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

21 years agoSimplify backend importing, by moving the imports into the backend modules.
jlgijsbers [Sun, 14 Sep 2003 18:55:37 +0000 (18:55 +0000)]
Simplify backend importing, by moving the imports into the backend modules.

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

21 years agonew example and some more installation docs
richard [Fri, 12 Sep 2003 04:29:35 +0000 (04:29 +0000)]
new example and some more installation docs

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

21 years agoWe need a stable set of chars to be able to match the subject lines of
jlgijsbers [Wed, 10 Sep 2003 13:04:05 +0000 (13:04 +0000)]
We need a stable set of chars to be able to match the subject lines of
registration confirmation. Py2.1's string.letters also depends on locales, so
we can't use it.

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

21 years agoReplying to email to confirm registration works!
jlgijsbers [Wed, 10 Sep 2003 12:43:18 +0000 (12:43 +0000)]
Replying to email to confirm registration works!

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

21 years agoOops.
jlgijsbers [Mon, 8 Sep 2003 21:27:16 +0000 (21:27 +0000)]
Oops.

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

21 years agoSend a message confirming the confirmation.
jlgijsbers [Mon, 8 Sep 2003 21:18:56 +0000 (21:18 +0000)]
Send a message confirming the confirmation.

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

21 years agoLet standard_message accept a different author.
jlgijsbers [Mon, 8 Sep 2003 21:08:59 +0000 (21:08 +0000)]
Let standard_message accept a different author.

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

21 years agoFix misnamed exception clause.
jlgijsbers [Mon, 8 Sep 2003 21:08:18 +0000 (21:08 +0000)]
Fix misnamed exception clause.

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

21 years agoChange the message asking for confirmation of registration to incorporate the
jlgijsbers [Mon, 8 Sep 2003 21:07:29 +0000 (21:07 +0000)]
Change the message asking for confirmation of registration to incorporate the
option to just reply to the email.

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

21 years ago- Extended getuid() to replace figure_curuserid().
jlgijsbers [Mon, 8 Sep 2003 20:39:18 +0000 (20:39 +0000)]
- Extended getuid() to replace figure_curuserid().
- Replace all references to curuserid with calls to getuid().
- Changed the docs to point to always point to getuid() and mention the change
in upgrading.txt.

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

21 years agoExtracted duplicated mail-sending code from mailgw, roundupdb and client.py to
jlgijsbers [Mon, 8 Sep 2003 09:28:28 +0000 (09:28 +0000)]
Extracted duplicated mail-sending code from mailgw, roundupdb and client.py to
the new mailer.py module.

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

21 years agopy2.1 fix
richard [Sun, 7 Sep 2003 22:12:24 +0000 (22:12 +0000)]
py2.1 fix

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

21 years agoOptimize mailgw and cgi tests by creating an empty instance before the tests
jlgijsbers [Sun, 7 Sep 2003 20:37:33 +0000 (20:37 +0000)]
Optimize mailgw and cgi tests by creating an empty instance before the tests
start (only if needed). In setUp(), this instance is then copied to another
directory for the actual tests.

On my system, this about halved the execution time for test_cgi (33s -> 14s)
and test_mailgw (40s -> 25s).

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

21 years agoSimplify Message comparison.
jlgijsbers [Sun, 7 Sep 2003 18:27:47 +0000 (18:27 +0000)]
Simplify Message comparison.

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

21 years agoMessage comparison is no longer a straight text comparison, but a semantic
jlgijsbers [Sun, 7 Sep 2003 13:08:08 +0000 (13:08 +0000)]
Message comparison is no longer a straight text comparison, but a semantic
comparison. The header order changed while refactoring email sending, but this
way we won't have to worry about that affecting the tests anymore.

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

21 years agoMove up figure_curuserid(), it should be available for all backends.
jlgijsbers [Sat, 6 Sep 2003 20:02:23 +0000 (20:02 +0000)]
Move up figure_curuserid(), it should be available for all backends.

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

21 years agoOops, forgot to run all tests. Fixed.
jlgijsbers [Sat, 6 Sep 2003 10:37:11 +0000 (10:37 +0000)]
Oops, forgot to run all tests. Fixed.

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

21 years agomailgw now accepts registration confirmation mail that contains the following in
jlgijsbers [Sat, 6 Sep 2003 10:21:18 +0000 (10:21 +0000)]
mailgw now accepts registration confirmation mail that contains the following in
the subject line:
-- key <32-char otk, such as Aj4euk4LZSAdwePohj90SME5SpopLETL>.

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

21 years agoDon't use locale-dependent string.letters for one time keys: this could be
jlgijsbers [Sat, 6 Sep 2003 09:45:30 +0000 (09:45 +0000)]
Don't use locale-dependent string.letters for one time keys: this could be
problematic when matching registration confirmation emails.

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