]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Mon, 25 Feb 2013 16:26:36 +0000 (21:56 +0530)]
[2386] Remove obsolete NSECLikeBitmapTest.badText test
Jelte Jansen [Mon, 25 Feb 2013 16:07:58 +0000 (17:07 +0100)]
[2821] Small memory leak issue in MySQLLeaseMgr constructor
the mysql lease manager wouldn't close the mysql database immediately if initialization failed at certain points.
This proposed fix is not entirely complete; it would probably be better to either use such a holder class as the member, or to slightly clean it up so that the return value from release() can be given to mysql_ (and therefore use the holder in the construction code instead of mysql_), but I did not want to touch too much existing code at this point.
Mukund Sivaraman [Mon, 25 Feb 2013 16:20:16 +0000 (21:50 +0530)]
[master] Add/update .gitignore files
Mukund Sivaraman [Mon, 25 Feb 2013 02:19:44 +0000 (07:49 +0530)]
[2386] Fix API documentation
* Remove exceptions that are not thrown.
JINMEI Tatuya [Sat, 23 Feb 2013 19:17:13 +0000 (11:17 -0800)]
[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Sat, 23 Feb 2013 19:16:11 +0000 (11:16 -0800)]
[master] trivial cleanup: removed comments that don't make sense any more.
should be trivial, so directly committing.
JINMEI Tatuya [Sat, 23 Feb 2013 02:00:58 +0000 (18:00 -0800)]
[2389] updater lexer support in AAAA constructor.
it was already implemented, but more test cases and doc were now added.
some other cleanups are made.
JINMEI Tatuya [Fri, 22 Feb 2013 23:23:33 +0000 (15:23 -0800)]
[2389] noted a difference from BIND 9.
JINMEI Tatuya [Fri, 22 Feb 2013 23:16:37 +0000 (15:16 -0800)]
[2389] use MasterLexer for IN/A RDATA constructor.
more tests and doc were added, and removed the createFromLexer test
(it doesn't make sense any more). some other cleanups were also made.
JINMEI Tatuya [Fri, 22 Feb 2013 20:28:39 +0000 (20:28 +0000)]
[master] added some .pyc to CLEANFILES
will fix distcheck failure on some platforms. okayed on jabber
JINMEI Tatuya [Fri, 22 Feb 2013 18:38:37 +0000 (10:38 -0800)]
[2689] a bit of cleanup: rename some internal methods and add comments.
"check" in __check_group_recvmsg was added for a historical reason and
is not really appropriate any more (it doesn't do any check internally)
JINMEI Tatuya [Fri, 22 Feb 2013 18:22:23 +0000 (10:22 -0800)]
[2689] adjusted some tests to adapt to recent changes to config module.
mostly on the introduction of 'want_answer" and the rpc_call method.
should be essentially trivial, but still require some amount of change.
some tests still fail.
JINMEI Tatuya [Fri, 22 Feb 2013 18:29:34 +0000 (10:29 -0800)]
[2689] corrected conflict resolution on merge.
I kept the wrong version of the code.
JINMEI Tatuya [Fri, 22 Feb 2013 18:08:15 +0000 (10:08 -0800)]
[2689] Merge branch 'master' into trac2689
fixed Conflicts:
src/bin/stats/stats.py.in
(some tests current fail; will fix them)
JINMEI Tatuya [Fri, 22 Feb 2013 16:23:38 +0000 (08:23 -0800)]
[master] Merge branch 'trac2705'
Jelte Jansen [Fri, 22 Feb 2013 14:47:01 +0000 (15:47 +0100)]
[2689] Some minor editorial fixes
Michal 'vorner' Vaner [Fri, 22 Feb 2013 10:16:30 +0000 (11:16 +0100)]
[2768] Make sure the rpcCall asks for answer
Add tests for the fact and fix it. Also, add log from the rpcCall
itself, so it can be seen in logs.
Michal 'vorner' Vaner [Fri, 22 Feb 2013 10:10:00 +0000 (11:10 +0100)]
[2768] Output seq of message waited for
To help debugging.
Mukund Sivaraman [Fri, 22 Feb 2013 10:12:52 +0000 (15:42 +0530)]
[2386] Add API doc for NSEC constructors
Michal 'vorner' Vaner [Fri, 22 Feb 2013 10:07:34 +0000 (11:07 +0100)]
[2768] Add missing protocol constant
Mukund Sivaraman [Fri, 22 Feb 2013 10:03:34 +0000 (15:33 +0530)]
[2386] Fix NSEC parser to work during whole zone loading
Mukund Sivaraman [Fri, 22 Feb 2013 10:02:30 +0000 (15:32 +0530)]
[2386] Update exception message
Mukund Sivaraman [Fri, 22 Feb 2013 10:02:02 +0000 (15:32 +0530)]
[2386] Update std::string NSEC constructor to use the MasterLexer
This commit disables the NSECLikeBitmapTest.badText unittest pending
further discussion during review. Please see the source code for
comments.
Mukund Sivaraman [Fri, 22 Feb 2013 07:34:46 +0000 (13:04 +0530)]
[2386] Check that origin argument is used for relative names
Mukund Sivaraman [Fri, 22 Feb 2013 07:29:46 +0000 (12:59 +0530)]
[2386] Add NSEC implementation
Mukund Sivaraman [Fri, 22 Feb 2013 06:56:31 +0000 (12:26 +0530)]
[2386] Add another whitespace test
JINMEI Tatuya [Thu, 21 Feb 2013 21:06:05 +0000 (13:06 -0800)]
[2705] removed unused private members (or actually use it as a workaround).
JINMEI Tatuya [Thu, 21 Feb 2013 21:05:20 +0000 (13:05 -0800)]
[2705] avoid false positive in g++ bug detection due to unused priv member.
Mukund Sivaraman [Thu, 21 Feb 2013 18:19:52 +0000 (23:49 +0530)]
[2386] Check that numbers (delimited by whitespace) are parsed correctly too
Mukund Sivaraman [Thu, 21 Feb 2013 18:13:12 +0000 (23:43 +0530)]
[2386] Add/update API doc for DS-like constructors
Mukund Sivaraman [Thu, 21 Feb 2013 18:08:26 +0000 (23:38 +0530)]
[2386] Allow whitespace in the digest
Mukund Sivaraman [Thu, 21 Feb 2013 17:26:19 +0000 (22:56 +0530)]
[2386] Update std::string DS and DLV constructors
Mukund Sivaraman [Thu, 21 Feb 2013 16:58:58 +0000 (22:28 +0530)]
[2386] Add DS and DLV implementations
Tomek Mrugalski [Thu, 21 Feb 2013 16:15:54 +0000 (17:15 +0100)]
[2723] Fixed lease4NullClientId test.
- hwaddr was mistaken as client-id again
Tomek Mrugalski [Thu, 21 Feb 2013 15:50:59 +0000 (16:50 +0100)]
[2723] Test for lease4 with null client-id added, some fixes in MySQL.
Jelte Jansen [Thu, 21 Feb 2013 15:13:52 +0000 (16:13 +0100)]
[2713] Update manpage
Also replaced 'action' with 'command' (the first argument)
Jelte Jansen [Thu, 21 Feb 2013 14:24:25 +0000 (15:24 +0100)]
[2713] Refactor reading/writing file
Jelte Jansen [Thu, 21 Feb 2013 13:48:28 +0000 (14:48 +0100)]
[2713] Change the new options into arguments
And added a number of tests
Jeremy C. Reed [Thu, 21 Feb 2013 12:10:49 +0000 (06:10 -0600)]
[master] increase the master version to today's date
Jeremy C. Reed [Thu, 21 Feb 2013 12:09:47 +0000 (06:09 -0600)]
[master] be clear that DHCP is limited
also point to wiki for known issues for DHCP
Michal 'vorner' Vaner [Thu, 21 Feb 2013 08:35:33 +0000 (09:35 +0100)]
Some random suggestions to sharing of port
Michal 'vorner' Vaner [Thu, 21 Feb 2013 07:24:37 +0000 (08:24 +0100)]
Merge #2676
Replacing pair of group_sendmsg & group_recvmsg by compound method rpc_call in
many cases. It's not possible to convert all cases, due to various hacks in the
code.
Yoshitaka Aharen [Thu, 21 Feb 2013 02:04:13 +0000 (11:04 +0900)]
[master] Added a ChangeLog entry for #2157.
Yoshitaka Aharen [Thu, 21 Feb 2013 02:03:16 +0000 (11:03 +0900)]
Merge branch 'trac2157_merge'
Conflicts:
ChangeLog
Jeremy C. Reed [Wed, 20 Feb 2013 22:19:36 +0000 (16:19 -0600)]
[master] mention again that dhcp is experimental
statement is from stephen.
JINMEI Tatuya [Wed, 20 Feb 2013 21:48:08 +0000 (13:48 -0800)]
[2689] fake socket.gethostbyaddr() to avoid unexpected blocking
JINMEI Tatuya [Wed, 20 Feb 2013 21:43:44 +0000 (13:43 -0800)]
[2689] some documentation
Mukund Sivaraman [Wed, 20 Feb 2013 17:56:10 +0000 (11:56 -0600)]
[master] Remove redundant PYTHONPATH
This is from http://bind10.isc.org/attachment/ticket/2742/0001-master-Remove-redundant-PYTHONPATH.patch
of ticket #2742
JINMEI Tatuya [Wed, 20 Feb 2013 17:09:16 +0000 (09:09 -0800)]
[2676] avoid the situation where an uninitialized variable is used
Jelte Jansen [Wed, 20 Feb 2013 16:19:58 +0000 (17:19 +0100)]
[2713] Use SYSCONFDIR for csv file
I know it's a different ticket but it seemed to easy not to do here
Also fixed a coupld of distcheck issues with .pyc files
Jelte Jansen [Wed, 20 Feb 2013 15:35:45 +0000 (16:35 +0100)]
[2713] Add -u/--user and -p/--password arguments
But essentially, this is a full rewrite of the tool, since to handle it nicely I had to get rid of most of the functions and make a somewhat nicer class of it.
Also added a -q option while i was at it
Jelte Jansen [Wed, 20 Feb 2013 13:47:49 +0000 (14:47 +0100)]
[2713] Use OptionsParser instead of getopt
Michal 'vorner' Vaner [Wed, 20 Feb 2013 11:29:11 +0000 (12:29 +0100)]
[2768] Implement the rpcCall method
Michal 'vorner' Vaner [Wed, 20 Feb 2013 10:16:28 +0000 (11:16 +0100)]
[2768] Tests for the rpcCall method
They currently fail, as the method is empty. Provide at least an empty
implementation, to make it compile.
Jelte Jansen [Wed, 20 Feb 2013 10:35:34 +0000 (11:35 +0100)]
[2713] Add test script for b10-cmdctl-usermgr
Doesn't test anything useful yet, mostly unit testing framework
Jelte Jansen [Wed, 20 Feb 2013 10:27:03 +0000 (11:27 +0100)]
[master] Merge remote-tracking branch 'origin/trac2669'
Naoki Kambe [Wed, 20 Feb 2013 09:03:19 +0000 (18:03 +0900)]
[2225_xfrout] update description of zonename
Naoki Kambe [Wed, 20 Feb 2013 09:10:37 +0000 (18:10 +0900)]
[2225_xfrout] quote _SERVER_
Naoki Kambe [Wed, 20 Feb 2013 09:19:16 +0000 (18:19 +0900)]
[2225_xfrout] make statistics data nested and add zonename item in it
Michal 'vorner' Vaner [Wed, 20 Feb 2013 08:16:02 +0000 (09:16 +0100)]
[2676] Typo fix
Michal 'vorner' Vaner [Wed, 20 Feb 2013 08:15:41 +0000 (09:15 +0100)]
[2676] Don't crash on RPCError
Yoshitaka Aharen [Wed, 20 Feb 2013 07:37:59 +0000 (16:37 +0900)]
[2157] skip docbook XML test if python XML library is missing
JINMEI Tatuya [Wed, 20 Feb 2013 04:19:37 +0000 (20:19 -0800)]
[2689] eliminte need for thread from test_config.
JINMEI Tatuya [Wed, 20 Feb 2013 03:38:25 +0000 (19:38 -0800)]
[2689] eliminate need for threads from test_update_statistics_data_withmid.
updated SimpleStats further, so the test can specify answers from
group_recvmsg.
JINMEI Tatuya [Wed, 20 Feb 2013 00:14:05 +0000 (16:14 -0800)]
[2689] eliminate the need for threads from update_statistics_data_pt2
also fixed bugs in the main code; the previous one can cause unintentional
key error because it
- makes copy
- updates the copy
- refers to the original based on the assumption of updated data
JINMEI Tatuya [Tue, 19 Feb 2013 23:10:41 +0000 (15:10 -0800)]
[2689] use MockInit's faked spec instead of further hardcode
JINMEI Tatuya [Tue, 19 Feb 2013 23:00:55 +0000 (15:00 -0800)]
[2689] eliminate need for thread from update_statistics_data.
at this point moved SimpleStat to the local util module with some more
extensions
JINMEI Tatuya [Tue, 19 Feb 2013 19:34:14 +0000 (11:34 -0800)]
[2689] eliminate threads from get_statistics_data() test.
JINMEI Tatuya [Tue, 19 Feb 2013 19:01:15 +0000 (11:01 -0800)]
[2689] eliminate the need for threads from test_update_modules.
JINMEI Tatuya [Tue, 19 Feb 2013 18:30:09 +0000 (10:30 -0800)]
[2676] some more unrelated editorial cleanups.
just happen to notice them in review, and since these files will be updated
this is probably a good opportunity to fix them with the branch.
JINMEI Tatuya [Tue, 19 Feb 2013 17:58:19 +0000 (09:58 -0800)]
[2676] editorial cleanup: removed unnecessary backslash
Jeremy C. Reed [Tue, 19 Feb 2013 17:50:00 +0000 (11:50 -0600)]
[master] remove generated file from dist tarball
Don't include example.zone test data file in dist tarball.
It is generated from an .in file via ./configure.
This was noticed by emhn during Debian packaging.
(distclean created a source different than extract tarball.)
I didn't get okay, but I mentioned my patch on jabber.
I tested on one system. This seems to be trivial.
JINMEI Tatuya [Tue, 19 Feb 2013 17:37:03 +0000 (09:37 -0800)]
[2676] remove the comment about using "protected" member in __notify_update.
the revised code eliminated its use as a side effect.
JINMEI Tatuya [Tue, 19 Feb 2013 17:36:26 +0000 (09:36 -0800)]
[2676] indentation fix
Jeremy C. Reed [Tue, 19 Feb 2013 14:08:55 +0000 (08:08 -0600)]
[master] fix case in acronym
(noticed when another fix was suggested for same line)
Shane Kerr [Tue, 19 Feb 2013 13:58:35 +0000 (14:58 +0100)]
Some starting questions for recursive resolver research.
Mukund Sivaraman [Tue, 19 Feb 2013 13:02:45 +0000 (18:32 +0530)]
[2641] Fix __init__() args
Shane Kerr [Tue, 19 Feb 2013 12:33:43 +0000 (13:33 +0100)]
Typo fixes
Jelte Jansen [Tue, 19 Feb 2013 10:46:23 +0000 (11:46 +0100)]
[2669] Update check_valgrind.h documentation
Michal 'vorner' Vaner [Tue, 19 Feb 2013 10:04:07 +0000 (11:04 +0100)]
[2676] (minor) Explain a FIXME comment
Michal 'vorner' Vaner [Tue, 19 Feb 2013 09:59:46 +0000 (10:59 +0100)]
[2676] Translate to the correct exception
If the remote is not there, it's not "Data error"
Michal 'vorner' Vaner [Tue, 19 Feb 2013 09:29:57 +0000 (10:29 +0100)]
[2676] Remove unused variable
Michal 'vorner' Vaner [Tue, 19 Feb 2013 09:19:20 +0000 (10:19 +0100)]
[2676] (minor) Comment clarification
Michal 'vorner' Vaner [Tue, 19 Feb 2013 09:12:59 +0000 (10:12 +0100)]
[2676] Error when missing ConfigManager
In the code before refactoring, when the CfgMgr wasn't there, it did a
SessionTimeout. Now the RPCRecipientMissing is raised instead, but as it
is subclass of RPCError, we need to exclude it from the error ignoring.
Actually, the error ignoring itself is very questionable thing, but it
is as it was before.
Michal 'vorner' Vaner [Tue, 19 Feb 2013 09:09:31 +0000 (10:09 +0100)]
[2676] Make the try-except block smaller
As the rpc_call is the only place the exception can be raised from, this
is equivalent, just cleaner.
Michal 'vorner' Vaner [Tue, 19 Feb 2013 08:53:01 +0000 (09:53 +0100)]
[2676] Fix FIXME
According to the notes in the review, we need to wait for the answer.
Michal 'vorner' Vaner [Tue, 19 Feb 2013 08:50:15 +0000 (09:50 +0100)]
[2676] Reuse constants for remote loadzone command
Michal 'vorner' Vaner [Tue, 19 Feb 2013 08:38:41 +0000 (09:38 +0100)]
[2676] Remove the notion of timeouts from the message docs
Remove the part of the DDNS_UPDATE_NOTIFY_FAIL message description,
complaining about how bad the timeouts are. The timeouts should be
solved by now and should happen only in really rare circumstances. If
the other module is not there, it should return error right away.
Michal 'vorner' Vaner [Tue, 19 Feb 2013 08:30:31 +0000 (09:30 +0100)]
[2676] Reorder and tweak exception to be closer to original
In case the auth wasn't there before the refactoring, it did a session
timeout, which resulted in DDNS_(START|STOP)_FORWARDER_ERROR log
message. So we handle the RPCRecipientMissing in the same branch (and
list above the RPCError, since it is a subclass of that).
Michal 'vorner' Vaner [Tue, 19 Feb 2013 08:24:42 +0000 (09:24 +0100)]
[2676] (minor) Comment tweaks
Michal 'vorner' Vaner [Tue, 19 Feb 2013 08:13:40 +0000 (09:13 +0100)]
[2676] Use constant for success code
Use CC_REPLY_SUCCESS instead of hardcoding 0.
Mukund Sivaraman [Tue, 19 Feb 2013 07:53:40 +0000 (13:23 +0530)]
[2641] Test /login API call
Mukund Sivaraman [Tue, 19 Feb 2013 07:24:09 +0000 (12:54 +0530)]
[2641] Rename test
Mukund Sivaraman [Tue, 19 Feb 2013 07:04:33 +0000 (12:34 +0530)]
[2641] Test /users-exist API call
Mukund Sivaraman [Tue, 19 Feb 2013 06:33:38 +0000 (12:03 +0530)]
[2641] Add test for _is_session_valid()
This commit was actually to update the statement inside
_is_session_valid() to be a None check, but I've written a unittest for
it anyway.
Mukund Sivaraman [Tue, 19 Feb 2013 06:11:47 +0000 (11:41 +0530)]
[2641] Test that _try_login() makes the right API call to cmdctl
Mukund Sivaraman [Tue, 19 Feb 2013 06:05:08 +0000 (11:35 +0530)]
[2641] Test that login_to_cmdctl() calls _have_users()
Mukund Sivaraman [Tue, 19 Feb 2013 05:49:12 +0000 (11:19 +0530)]
[2641] Test that _have_users() makes the right API call to cmdctl
Mukund Sivaraman [Tue, 19 Feb 2013 05:26:43 +0000 (10:56 +0530)]
[2641] Add tests for _have_users()
JINMEI Tatuya [Tue, 19 Feb 2013 04:29:29 +0000 (20:29 -0800)]
[2689] eliminated the need for threads in handler test.
needed to make some non trivial changes. hopefully it preserves the
intent of the test.