http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/test/test_actions.py Mercurial Repository: p/roundup/code: test/test_actions.py history 2026-04-08T21:39:40-04:00 chore: remove __future print_funcion from code. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c3ec0a5c7fc88acb8a65632ecc13b2d52380314 John Rouillard rouilj@ieee.org 2026-04-08T21:39:40-04:00 2026-04-08T21:39:40-04:00
changeset 9c3ec0a5c7fc
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore: remove __future print_funcion from code.

Not needed as of Python 3.
files
refactor! move RateLimitExceeded to roundup.cgi.exceptions - test http://hg.code.sf.net:8000/p/roundup/code/#changeset-c9bec888c3c82f1b6a54f9b9bfa859e56c8d0f0c John Rouillard rouilj@ieee.org 2025-08-10T22:04:03-04:00 2025-08-10T22:04:03-04:00
changeset c9bec888c3c8
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description refactor! move RateLimitExceeded to roundup.cgi.exceptions - test

forgot to commit the change to the test as well
files
fix: issue2551193 - Fix roundup for removal of cgi and cgitb ... http://hg.code.sf.net:8000/p/roundup/code/#changeset-978285986b2c9d73f4a39d745ab6a3bbab58af3d John Rouillard rouilj@ieee.org 2023-07-24T17:49:58-04:00 2023-07-24T17:49:58-04:00
changeset 978285986b2c
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix: issue2551193 - Fix roundup for removal of cgi and cgitb ...

standard python modules (and FieldStorage/MiniFieldStorage).

Vendor cgi.py and modify imports.

Details:

roundup/anypy/cgi_.py
import that accesses a working cgi.py. All imports dealing with cgi
now use cgi_.

roundup/anypy/vendored/cgi.py
vendored version 2.6 of cgi.py from:
https://pypi.org/project/legacy-cgi/

CHANGES.txt
change note added

COPYING.txt
added license for cgi.py

doc/rest.txt
change example to use cgi_

doc/upgrading.txt
doc removal and how to rework local code using cgi.py.

frontends/roundup.cgi
remove unneeded cgi import

roundup/cgi/actions.py
roundup/cgi/apache.py
roundup/cgi/client.py
roundup/cgi/templating.py
roundup/cgi/TAL/TALGenerator.py
test/db_test_base.py
test/rest_common.py
test/test_cgi.py
remove import cgi and replace with from roundup.anypy.cgi_ import
cgi

test/test_actions.py
test/test_templating.py
modify import to get *FieldStorage

test/test_admin.py
test/test_hyperdbvals.py
test/test_xmlrpc.py
remove unneeded cgi import
files
fix(api): - issue2551063 - Rest/Xmlrpc interfaces needs failed login protection. http://hg.code.sf.net:8000/p/roundup/code/#changeset-273c8c2b504245a937efbd42604f77cb2d3d0d9d John Rouillard rouilj@ieee.org 2023-07-19T20:37:45-04:00 2023-07-19T20:37:45-04:00
changeset 273c8c2b5042
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix(api): - issue2551063 - Rest/Xmlrpc interfaces needs failed login protection.

Failed API login rate limiting with expiring lockout added.
files
Switch off using blank passwords for login http://hg.code.sf.net:8000/p/roundup/code/#changeset-9ca5cbffa0c42d000ec261faf1bed9d6b04d9255 John Rouillard rouilj@ieee.org 2022-05-23T17:31:50-04:00 2022-05-23T17:31:50-04:00
changeset 9ca5cbffa0c4
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Switch off using blank passwords for login

There is now a config.ini setting [web] login_empty_passwords to
enable logins for users without a password set. By default it's off
and every user must have a password.
files
Test bad number path for ShowAction action. http://hg.code.sf.net:8000/p/roundup/code/#changeset-8269e89530e5cc1ff4fe44ee25e5827fbfd3807f John Rouillard rouilj@ieee.org 2022-01-26T20:46:42-05:00 2022-01-26T20:46:42-05:00
changeset 8269e89530e5
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Test bad number path for ShowAction action.
files
issue2550917 - Add a: "Welcome user, you have logged in" ok_message on login. http://hg.code.sf.net:8000/p/roundup/code/#changeset-37b57da3374f209c4a8207272fbd08cf895fd0a6 aburke aburke 2021-08-20T23:56:24-04:00 2021-08-20T23:56:24-04:00
changeset 37b57da3374f
branch
bookmark
tag
user aburke
description issue2550917 - Add a: "Welcome user, you have logged in" ok_message on login.
files
Move mocknull from test to roundup/test http://hg.code.sf.net:8000/p/roundup/code/#changeset-f2c31f5ec50bd58de8d268a70f161fd9bf69d074 Ralf Schlatterbeck rsc@runtux.com 2021-03-31T15:18:38+02:00 2021-03-31T15:18:38+02:00
changeset f2c31f5ec50b
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Move mocknull from test to roundup/test
files
Fix testing of :lastactivity http://hg.code.sf.net:8000/p/roundup/code/#changeset-68d83479747b71ce4866942909912ea97105da45 John Rouillard rouilj@ieee.org 2020-12-27T15:04:02-05:00 2020-12-27T15:04:02-05:00
changeset 68d83479747b
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fix testing of :lastactivity
files
Test :lastactivity special variable for lastUserActivity() http://hg.code.sf.net:8000/p/roundup/code/#changeset-2ded9a8be017d189c82c0351da75b3110094b53a John Rouillard rouilj@ieee.org 2020-12-21T00:00:39-05:00 2020-12-21T00:00:39-05:00
changeset 2ded9a8be017
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Test :lastactivity special variable for lastUserActivity()
files
actions.py translation. Using mapping rather than tuple for args. http://hg.code.sf.net:8000/p/roundup/code/#changeset-45ba6b71f1cfd57424b1d07003be1a15c70512b5 John Rouillard rouilj@ieee.org 2020-12-20T23:17:17-05:00 2020-12-20T23:17:17-05:00
changeset 45ba6b71f1cf
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description actions.py translation. Using mapping rather than tuple for args.

Format an error message in handleCollision using named tokens
'%(props)s' rather than printf positional format specifier %s.

Regenerate roundup.pot and update all .po files to use named tokens
in their trnslations.

Test handleCollision as well.
files
Cover a couple of more paths in Retire and Restore. http://hg.code.sf.net:8000/p/roundup/code/#changeset-56854f96d805be1f82b5fcfc8d099d3b7cda2a6c John Rouillard rouilj@ieee.org 2020-06-12T17:31:41-04:00 2020-06-12T17:31:41-04:00
changeset 56854f96d805
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Cover a couple of more paths in Retire and Restore.
files
assertFalse not assertFail... http://hg.code.sf.net:8000/p/roundup/code/#changeset-8ef8aa3d485c0aa07725d5bd17ceb31497eda5d2 John Rouillard rouilj@ieee.org 2019-06-10T20:47:41-04:00 2019-06-10T20:47:41-04:00
changeset 8ef8aa3d485c
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description assertFalse not assertFail...
files
Replace deprecated failUnless and failIf with assertTrue and http://hg.code.sf.net:8000/p/roundup/code/#changeset-cbf2f2ea41d17b954f555a7d3d8b66a05c61593c John Rouillard rouilj@ieee.org 2019-06-10T20:15:15-04:00 2019-06-10T20:15:15-04:00
changeset cbf2f2ea41d1
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Replace deprecated failUnless and failIf with assertTrue and
asserFalse.
files
Finish up login rate limit code. Set config item to 0 disables, make http://hg.code.sf.net:8000/p/roundup/code/#changeset-8dbe307bdb57ad8d75d9a9b7513eb3b88509fce3 John Rouillard rouilj@ieee.org 2019-06-07T13:50:57-04:00 2019-06-07T13:50:57-04:00
changeset 8dbe307bdb57
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Finish up login rate limit code. Set config item to 0 disables, make
sure config item can't be negative integer.
files
Change access to config from dict to property. This makes doing the http://hg.code.sf.net:8000/p/roundup/code/#changeset-842252c3ee22fc3f6230f49c62b88f5a503513f5 John Rouillard rouilj@ieee.org 2019-05-11T17:50:00-04:00 2019-05-11T17:50:00-04:00
changeset 842252c3ee22
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Change access to config from dict to property. This makes doing the
mock for testing easier and unbreaks the changes to the tests that I
did earlier.
files
issue2550949: Rate limit password guesses/login attempts. http://hg.code.sf.net:8000/p/roundup/code/#changeset-cad18de2b9887b18e004eb0dcab1716d33d6f6a8 John Rouillard rouilj@ieee.org 2019-05-11T17:24:58-04:00 2019-05-11T17:24:58-04:00
changeset cad18de2b988
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2550949: Rate limit password guesses/login attempts.

Generic rate limit mechanism added. Deployed for web page
logins. Default is 3 login attempts/minute for a user. After which one
login attempt every 20 seconds can be done.

Uses gcra algorithm so all I need to store is a username and timestamp
in the one time key database. This does mean I don't have a list of
all failed login attempts as part of the rate limiter.

Set up config setting as well so admin can tune the rate. Maybe 1
every 10 seconds is ok at a site with poor typists who need 6 attempts
to get the password right 8-).

The gcra method can also be used to limit the rest and xmlrpc
interfaces if needed. The mechanism I added also supplies a status
method that calculates the expected values for http headers returned
as part of rate limiting.

Also tests added to test all code paths I hope.
files
assert_ is depricated. Replacing with assertTrue to reduce logs in travisci. http://hg.code.sf.net:8000/p/roundup/code/#changeset-f8893e1cde0d05513a328bd4698dac10d94805b3 John Rouillard rouilj@ieee.org 2019-03-15T20:29:00-04:00 2019-03-15T20:29:00-04:00
changeset f8893e1cde0d
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description assert_ is depricated. Replacing with assertTrue to reduce logs in travisci.
files
compared sorted lists as order can be random http://hg.code.sf.net:8000/p/roundup/code/#changeset-2ce41b8dffafe6e78f2972006bf7ca2e06f27871 Christof Meerwald cmeerw@cmeerw.org 2018-08-16T21:14:07+01:00 2018-08-16T21:14:07+01:00
changeset 2ce41b8dffaf
branch
bookmark
tag
user Christof Meerwald <cmeerw@cmeerw.org>
description compared sorted lists as order can be random
files
always encode query parameters in sorted order http://hg.code.sf.net:8000/p/roundup/code/#changeset-4f6e1ce8955770627c628572c13691559c2fc2b2 Christof Meerwald cmeerw@cmeerw.org 2018-08-16T20:14:09+01:00 2018-08-16T20:14:09+01:00
changeset 4f6e1ce89557
branch
bookmark
tag
user Christof Meerwald <cmeerw@cmeerw.org>
description always encode query parameters in sorted order
files
Python 3 preparation: make relative imports explicit. http://hg.code.sf.net:8000/p/roundup/code/#changeset-d26921b851c328681aa6638475ce2cdae29963b4 Joseph Myers jsm@polyomino.org.uk 2018-07-24T22:22:08+00:00 2018-07-24T22:22:08+00:00
changeset d26921b851c3
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: make relative imports explicit.

Tool-generated patch.
files
Python 3 preparation: "raise" syntax. http://hg.code.sf.net:8000/p/roundup/code/#changeset-35ea9b1efc1494f29fb07690e7087686de58e0f3 Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:39:58+00:00 2018-07-24T21:39:58+00:00
changeset 35ea9b1efc14
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: "raise" syntax.

Changing "raise Exception, value" to "raise Exception(value)".
Tool-assisted patch. Particular cases to check carefully are the one
place in frontends/ZRoundup/ZRoundup.py where a string exception
needed to be fixed, and the one in roundup/cgi/client.py involving
raising an exception with a traceback (requires three-argument form of
raise in Python 2, which as I understand it requires exec() to avoid a
Python 3 syntax error).
files
Python 3 preparation: convert print to a function. http://hg.code.sf.net:8000/p/roundup/code/#changeset-64b05e24dbd889f52bf8f773d3456bd0135baa27 Joseph Myers jsm@polyomino.org.uk 2018-07-24T09:54:52+00:00 2018-07-24T09:54:52+00:00
changeset 64b05e24dbd8
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: convert print to a function.

Tool-assisted patch. It is possible that some "from __future__ import
print_function" are not in fact needed, if a file only uses print()
with a single string as an argument and so would work fine in Python 2
without that import.
files
Use Python-3-compatible 'as' syntax for except statements http://hg.code.sf.net:8000/p/roundup/code/#changeset-198b6e810c67c4e7e38f1aa41edbc864783fe6e6 Eric S. Raymond esr@thyrsus.com 2017-08-24T22:21:37-04:00 2017-08-24T22:21:37-04:00
changeset 198b6e810c67
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Use Python-3-compatible 'as' syntax for except statements

Many raise statements near these are also fixed.
So are two ivorrect file encoding marks ('utf8'->'utf-8').
files
Fixed a couple of failing tests for *LoginRedirect in test_actions.py after url validation. Also raise ValueError from examine_url if base url is None. http://hg.code.sf.net:8000/p/roundup/code/#changeset-114d9628fd77e51cc44aca403d26189a1c783c79 John Rouillard rouilj@ieee.org 2016-07-23T17:21:14-04:00 2016-07-23T17:21:14-04:00
changeset 114d9628fd77
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fixed a couple of failing tests for *LoginRedirect in test_actions.py after url validation. Also raise ValueError from examine_url if base url is None.
files
issue2550785: Using login from search (or logout) fails. when http://hg.code.sf.net:8000/p/roundup/code/#changeset-894aa07be6cbdc4f55634f4d2c11d62232cf0806 John Rouillard rouilj@ieee.org 2016-07-03T12:32:35-04:00 2016-07-03T12:32:35-04:00
changeset 894aa07be6cb
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2550785: Using login from search (or logout) fails. when
logging in from a search page or after a logout it fails with an
error.

The fix also keeps the user on the same page they started
from (e.g. search results) before the login. There are two
parts to this:
1) changes to the templates to properly define the __came_from form element.
2) code changes to the LoginAction code in roundup/cgi/actions.py.

New test code added. Needed some additional functions from urllib so
urllib_.py got a change.
files
Added a new cgi action restore. The opposite of (and a clone of) the existing retire action. http://hg.code.sf.net:8000/p/roundup/code/#changeset-748ba87e1aca4e9aef7ec06e0eca539c7846f497 John Rouillard rouilj@ieee.org 2016-07-03T10:38:47-04:00 2016-07-03T10:38:47-04:00
changeset 748ba87e1aca
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Added a new cgi action restore. The opposite of (and a clone of) the existing retire action.
files
Validate values for Integer and Numeric type filter parameters rather than http://hg.code.sf.net:8000/p/roundup/code/#changeset-156cbc1d182c9ba29d040b5b24a18c701ce09c58 John Rouillard rouilj@ieee.org 2016-06-25T22:28:19-04:00 2016-06-25T22:28:19-04:00
changeset 156cbc1d182c
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Validate values for Integer and Numeric type filter parameters rather than
passing output down to db level. Initial patch at:

http://hg.python.org/tracker/roundup/rev/98508a47c126

by Martin.V.Loewis. Numeric test patch applied, Integer code and tests
developed by John Rouillard.
files
Remove unneeded TestSuite code from tests http://hg.code.sf.net:8000/p/roundup/code/#changeset-364c549918613cff81c3ebe07aee4025e0ef3fcc John Kristensen john@jerrykan.com 2015-08-21T13:08:02+10:00 2015-08-21T13:08:02+10:00
changeset 364c54991861
branch
bookmark
tag
user John Kristensen <john@jerrykan.com>
description Remove unneeded TestSuite code from tests

The TestSuite code is no longer needed now that we are using py.test
which can automatically discover tests
files
Update test/test_actions.py to work with py.test http://hg.code.sf.net:8000/p/roundup/code/#changeset-4ad465b09cbe2f4a0f23306b8d8d8d850755c981 John Kristensen john@jerrykan.com 2015-08-20T16:30:50+10:00 2015-08-20T16:30:50+10:00
changeset 4ad465b09cbe
branch
bookmark
tag
user John Kristensen <john@jerrykan.com>
description Update test/test_actions.py to work with py.test

The test_actions tests use a FieldStorage object to mock form
submissions. FieldStorage would usually use the 'QUERY_STRING'
environment variable to populate the initial list of MiniFieldStorage
values stored within the FieldStorage object, but because there is no
'QUERY_STRING' environment variable when running the test from the
commandline it tries to parse sys.argv instead. If any py.test options
are used (ie. '--tb=short') then they may end up in the MiniFieldStorage
list causing some tests to fail because they were not expecting the
extra MiniFieldStorage values.

To fix this we explicitly pass an dict with an empty 'QUERY_STRING'
value as the FieldStorage environ argument to ensure that the initial
MiniFieldStorage list is empty.
files
Fix form-parsing for multilinks http://hg.code.sf.net:8000/p/roundup/code/#changeset-b562df8a505675b23707133c57dd2420ecc4a161 Ralf Schlatterbeck rsc@runtux.com 2015-06-21T21:20:10+02:00 2015-06-21T21:20:10+02:00
changeset b562df8a5056
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Fix form-parsing for multilinks

If multiple new items are added to a multilink property, the old version
would create the new items but only link one.
files
Different approach to fix XSS in issue2550817 http://hg.code.sf.net:8000/p/roundup/code/#changeset-ca692423e401fd0db01f7df02868bd47785bf995 Ralf Schlatterbeck rsc@runtux.com 2014-03-31T18:19:23+02:00 2014-03-31T18:19:23+02:00
changeset ca692423e401
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Different approach to fix XSS in issue2550817

Encapsulate the error/ok message append method as add_ok_message and
add_error_message. The new approach escapes the messages when appending
-- at a point in the code where we still know where the message comes
from. Escaping is the default but can bei turned off. This also fixes
issue2550836 where certain messages may contain links.

Another advantage of the new fix is that users don't need to change
installed trackers and are secure by default.
files
nested_scopes are here since Python 2.2 http://hg.code.sf.net:8000/p/roundup/code/#changeset-9cc6d463cfbe65fab31383ece94a2fe73cb84616 anatoly techtonik techtonik@gmail.com 2013-01-17T09:08:50+03:00 2013-01-17T09:08:50+03:00
changeset 9cc6d463cfbe
branch
bookmark
tag
user anatoly techtonik <techtonik@gmail.com>
description nested_scopes are here since Python 2.2
files
Fix linking of an existing item to a newly created item... http://hg.code.sf.net:8000/p/roundup/code/#changeset-df7a4400c2ce9388cff26944a46fc53241714f9b Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2009-12-14T19:43:44+00:00 2009-12-14T19:43:44+00:00
changeset df7a4400c2ce
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description Fix linking of an existing item to a newly created item...

...e.g. edit action in web template is name="issue-1@link@msg"
value="msg1" would trigger a traceback about an unbound variable. Add
new regression test for this case.
files
Bug-Fix: File attachments from the web-interface didn't work. http://hg.code.sf.net:8000/p/roundup/code/#changeset-de4c2e538e062157d9919d56fd6b9100236efc27 Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2007-05-15T16:23:39+00:00 2007-05-15T16:23:39+00:00
changeset de4c2e538e06
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description Bug-Fix: File attachments from the web-interface didn't work.

Added test for file attachments.
files
New test for linking of non-existing and existing properties via a form. http://hg.code.sf.net:8000/p/roundup/code/#changeset-0dd05c9e5fff5ba8464c0bab5b7bacfe387136d5 Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2007-05-08T20:54:56+00:00 2007-05-08T20:54:56+00:00
changeset 0dd05c9e5fff
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description New test for linking of non-existing and existing properties via a form.

The idea of the test is to track all create and set operations and
afterwards compare that they occurred as expected. Sorry for the
peculiar syntax for the expected updates to the database -- this should
be one line for each update...

An a bug-fix: I've reverted a change from April in
roundup/cgi/actions.py that broke linking of messages to issues. The
tests above now catch that. I couldn't figure out what the change was
meant for, sorry if I broke something here.
files
Transitive-property support. http://hg.code.sf.net:8000/p/roundup/code/#changeset-53987aa153d2b247b0e7b816aef7b961b86f0c4b Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2006-07-13T10:14:56+00:00 2006-07-13T10:14:56+00:00
changeset 53987aa153d2
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description Transitive-property support.

- Fixed some of the pet-peeves from pep8
- Better parameter names for new _subselect method
- use new-style class for support.Proptree but needed a new-style class
for the property I introduced anyway.
- Fix a bug where searching did the wrong thing (interestingly enough
the same wrong thing for all backends): A search for
{'messages': ['1'], 'messages.author': ['2']}
would ignore the 'messages' part (messages being non-leaf node in
proptree). Fixed and added a regression test for this.
- Added the transitive searching to the SearchAction. New method
get_transitive_prop introduced in hyperdb that does the transitive
version of getprops()[name]. Fixed two tests to use the (faked) method
instead of getprop.

Now searching for transitive props via the web-interface works for me.
Thanks to alexander smishlajev for pointing me at the coding style.
Sorry for stepping on the peeves -- I'm using a different coding style
in most other projects I'm doing ...
files
[maint-0.8] fixes http://hg.code.sf.net:8000/p/roundup/code/#changeset-79bcf944ceb8d7efbd87fec7a5d9aced1ceda89e Richard Jones richard@users.sourceforge.net 2005-02-15T23:42:38+00:00 2005-02-15T23:42:38+00:00
changeset 79bcf944ceb8
branch maint-0.8
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fixes
files
Fix failing test: mock lambda now also takes keyword arguments. http://hg.code.sf.net:8000/p/roundup/code/#changeset-e665582ec099cfc74bd38474b145d764a40648e1 Johannes Gijsbers jlgijsbers@users.sourceforge.net 2004-12-17T23:42:34+00:00 2004-12-17T23:42:34+00:00
changeset e665582ec099
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Fix failing test: mock lambda now also takes keyword arguments.
files
applied patch [SF#1067690]; http://hg.code.sf.net:8000/p/roundup/code/#changeset-4b5d7b4bc08965c622e35fc9ccab275c3d7f0bdb Alexander Smishlajev a1s@users.sourceforge.net 2004-11-18T16:33:08+00:00 2004-11-18T16:33:08+00:00
changeset 4b5d7b4bc089
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description applied patch [SF#1067690];

wrap long lines, add vim modeline,
fix ShowActionTestCase.assertRaisesMessage()
files
remove extra CRs http://hg.code.sf.net:8000/p/roundup/code/#changeset-f8dafdd91bf5a6995f133842b385f7bb2ce5ead7 Alexander Smishlajev a1s@users.sourceforge.net 2004-07-02T05:45:34+00:00 2004-07-02T05:45:34+00:00
changeset f8dafdd91bf5
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description remove extra CRs
files
Initial logging integration: replace all debug prints with logging calls... http://hg.code.sf.net:8000/p/roundup/code/#changeset-091711fb2f8c13b3d51828b0b9a1fbc631d04bee Richard Jones richard@users.sourceforge.net 2004-07-02T05:22:09+00:00 2004-07-02T05:22:09+00:00
changeset 091711fb2f8c
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Initial logging integration: replace all debug prints with logging calls...

...clean up and replace some with info() logs.
files
[maint-0.7] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-a15f91a10e450a8ef9f3031b162eabbdb8d8f209 Richard Jones richard@users.sourceforge.net 2004-06-21T04:34:58+00:00 2004-06-21T04:34:58+00:00
changeset a15f91a10e45
branch maint-0.7
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
fix for test_actions http://hg.code.sf.net:8000/p/roundup/code/#changeset-cd5dcc39193d33019acb19478358ec17d0c39c00 Richard Jones richard@users.sourceforge.net 2004-06-09T05:38:44+00:00 2004-06-09T05:38:44+00:00
changeset cd5dcc39193d
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fix for test_actions
files
version info in scripts http://hg.code.sf.net:8000/p/roundup/code/#changeset-3f89c8ffe4f121e61641135730e536efac405a79 Richard Jones richard@users.sourceforge.net 2004-04-05T23:43:04+00:00 2004-04-05T23:43:04+00:00
changeset 3f89c8ffe4f1
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description version info in scripts
files
start at templating tests http://hg.code.sf.net:8000/p/roundup/code/#changeset-a0cfea4e5956fdd1772351f364fabd7da28931b5 Richard Jones richard@users.sourceforge.net 2004-03-29T01:36:25+00:00 2004-03-29T01:36:25+00:00
changeset a0cfea4e5956
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description start at templating tests
files
pre-release stuff http://hg.code.sf.net:8000/p/roundup/code/#changeset-44f3c1dd636bb43f716aca2177119fb5c988c351 Richard Jones richard@users.sourceforge.net 2004-03-24T05:56:07+00:00 2004-03-24T05:56:07+00:00
changeset 44f3c1dd636b
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description pre-release stuff
files
Fix some tests. http://hg.code.sf.net:8000/p/roundup/code/#changeset-66640243399810387dabcf0ad6e0df369b180252 Richard Jones richard@users.sourceforge.net 2004-03-24T04:57:25+00:00 2004-03-24T04:57:25+00:00
changeset 666402433998
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fix some tests.
files
Use assertRaises... http://hg.code.sf.net:8000/p/roundup/code/#changeset-71efaf27eddc875981dfc427c1da76f2714bec4c Johannes Gijsbers jlgijsbers@users.sourceforge.net 2004-03-02T12:23:16+00:00 2004-03-02T12:23:16+00:00
changeset 71efaf27eddc
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Use assertRaises...

...instead of introducing _nocheck machinery into assertRaisesMessage.
files
test fix http://hg.code.sf.net:8000/p/roundup/code/#changeset-d6bcdae0b085aae771534877f57f6bb20562571a Richard Jones richard@users.sourceforge.net 2004-02-29T00:41:51+00:00 2004-02-29T00:41:51+00:00
changeset d6bcdae0b085
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description test fix
files
fixes to some unit tests, and a cleanup http://hg.code.sf.net:8000/p/roundup/code/#changeset-5a7ec0c630955681f932fe52b51b028bfa726b09 Richard Jones richard@users.sourceforge.net 2004-02-20T03:48:16+00:00 2004-02-20T03:48:16+00:00
changeset 5a7ec0c63095
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fixes to some unit tests, and a cleanup
files
Simple version of collision detection... http://hg.code.sf.net:8000/p/roundup/code/#changeset-366d3bbce9828295cf0155a6572588e4f051d352 Johannes Gijsbers jlgijsbers@users.sourceforge.net 2004-02-14T02:06:27+00:00 2004-02-14T02:06:27+00:00
changeset 366d3bbce982
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Simple version of collision detection...

...with tests and a new generic template for classic and minimal.
files
Move out parts of client.py to new modules: http://hg.code.sf.net:8000/p/roundup/code/#changeset-1782fe36e7b8c4988bb69c2b7098ec273888457c Johannes Gijsbers jlgijsbers@users.sourceforge.net 2004-02-11T21:34:31+00:00 2004-02-11T21:34:31+00:00
changeset 1782fe36e7b8
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Move out parts of client.py to new modules:

* actions.py - the xxxAction and xxxPermission functions refactored
into Action classes

* exceptions.py - all exceptions

* form_parser.py - parsePropsFromForm & extractFormList in a FormParser class

Also added some new tests for the Actions.
files