]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal 'vorner' Vaner [Fri, 31 May 2013 10:47:18 +0000 (12:47 +0200)]
[2922] Send notifications on implicit unsubscribe
Michal 'vorner' Vaner [Fri, 31 May 2013 08:57:17 +0000 (10:57 +0200)]
[2922] Return unsubscribed groups from unsubscribe_all
Return a list of groups and instances the socket was unsubscribed from
from the subscription manager's unsubscribe_all.
Needed in follow-up work.
Michal 'vorner' Vaner [Fri, 31 May 2013 08:48:50 +0000 (10:48 +0200)]
[2922] Test implicit unsubscription notifications
Test that notifications for unsubscription are sent even in case a
client disconnects without explicit unsubscription.
Michal 'vorner' Vaner [Fri, 31 May 2013 08:17:10 +0000 (10:17 +0200)]
[2922] Test it tries to send the notifications
JINMEI Tatuya [Thu, 30 May 2013 22:13:50 +0000 (15:13 -0700)]
[2964] added data_sources for necessary remote config. it's nop for now.
JINMEI Tatuya [Thu, 30 May 2013 22:11:07 +0000 (15:11 -0700)]
[2964] cleanup: removed inmemory config retrieved from auth config
this is already unused and has been effectively dead code.
Thomas Markwalder [Thu, 30 May 2013 21:20:03 +0000 (17:20 -0400)]
[master] Added ChangeLog entry 623 for trac 2955.
JINMEI Tatuya [Thu, 30 May 2013 21:20:01 +0000 (14:20 -0700)]
[2964] small refactoring: move more stuff from mock _cc_setup to ctor.
so we can test much larger part of _cc_setup(). right now no behavior change.
JINMEI Tatuya [Thu, 30 May 2013 17:21:25 +0000 (10:21 -0700)]
[master] changelog for #2911
JINMEI Tatuya [Thu, 30 May 2013 16:59:16 +0000 (09:59 -0700)]
[master] Merge branch 'trac2911'
Fixed Conflicts:
ChangeLog
JINMEI Tatuya [Wed, 29 May 2013 18:31:38 +0000 (11:31 -0700)]
[2911] indentation fix
JINMEI Tatuya [Wed, 29 May 2013 18:22:23 +0000 (11:22 -0700)]
[2911] update log message on multi-SOA to match the latest behavior.
it now unconditionally uses AXFR, so mentioning possible failure of IXFR
doesn't make sense.
JINMEI Tatuya [Wed, 29 May 2013 18:18:11 +0000 (11:18 -0700)]
[2911] some editorial fixes: align lines more nicely.
JINMEI Tatuya [Tue, 28 May 2013 23:01:40 +0000 (16:01 -0700)]
[2911] more untabify: existed before the branch, but for completeness.
JINMEI Tatuya [Tue, 28 May 2013 22:51:09 +0000 (15:51 -0700)]
[2911] fixed a typo
JINMEI Tatuya [Tue, 28 May 2013 22:45:50 +0000 (15:45 -0700)]
[2911] removed obsolete part of docstring
JINMEI Tatuya [Tue, 28 May 2013 22:31:37 +0000 (15:31 -0700)]
[2911] untabify
JINMEI Tatuya [Fri, 24 May 2013 06:51:27 +0000 (23:51 -0700)]
[2911] replace use_ixfr with request_ixfr
JINMEI Tatuya [Fri, 24 May 2013 06:38:58 +0000 (23:38 -0700)]
[2911] updated BIND10 guide about IXFR-or-AXFR w/ request_ixfr.
JINMEI Tatuya [Fri, 24 May 2013 06:10:43 +0000 (23:10 -0700)]
[2911] deprecated use_ixfr
JINMEI Tatuya [Fri, 24 May 2013 05:47:46 +0000 (22:47 -0700)]
[2911] updates to retransfer/refresh so it works with new semantics.
actually refresh wasn't defined in spec, so is defined now.
retransfer is revised so it always uses AXFR (BIND 9 compatible).
lettuce tests are adjusted accordingly.
JINMEI Tatuya [Thu, 23 May 2013 00:38:22 +0000 (17:38 -0700)]
[2911] changed the default policy of request_ixfr to 'yes'.
it should now be safe as we (have already) support fallback and use AXFR
initially.
JINMEI Tatuya [Thu, 23 May 2013 00:35:45 +0000 (17:35 -0700)]
[2911] suppress IXFR-to-AXFR fallback if IXFR only is specified.
JINMEI Tatuya [Thu, 23 May 2013 00:22:08 +0000 (17:22 -0700)]
[2911] select initial request type based on config and SOA availability.
JINMEI Tatuya [Wed, 22 May 2013 22:32:36 +0000 (15:32 -0700)]
[2911] updated XfrinConnection ctor so it takes zone soa as a parameter.
this is essentially a refactoring: there's no behavior change.
but it'll help later part of this branch.
JINMEI Tatuya [Wed, 22 May 2013 21:47:14 +0000 (14:47 -0700)]
[2911] (unrelated style cleanup) folded long lines
JINMEI Tatuya [Wed, 22 May 2013 21:01:07 +0000 (14:01 -0700)]
[2911] make sure to use default request_ixfr from the spec, not hardcoding it.
also updated the test so the MockCC refers to the spec default, instead of
hardcoding the values.
JINMEI Tatuya [Wed, 22 May 2013 04:12:49 +0000 (21:12 -0700)]
[2911] use request_ixfr, not request_type, just before do_xfrin().
no behavior change yet. also, use AXFR by default, for now, to preserve
the behavior.
JINMEI Tatuya [Fri, 26 Apr 2013 23:26:32 +0000 (16:26 -0700)]
[2911] add request_ixfr zone option to finer policy control on use of IXFR.
currently just recognize the option. no behavior change due to it yet.
JINMEI Tatuya [Wed, 22 May 2013 22:16:42 +0000 (15:16 -0700)]
[2911] refactoring: extract _get_zone_soa from XfrinConnection as free func.
This change will be helpful for later part of this branch.
JINMEI Tatuya [Wed, 22 May 2013 22:00:07 +0000 (15:00 -0700)]
[2911] cleanup: remove db_file arg from XfrinConnection ctor.
this class now doesn't rely on the low level interface anymore.
JINMEI Tatuya [Wed, 22 May 2013 21:55:43 +0000 (14:55 -0700)]
[2911] refactoring: use create_zone() instead of the old datasrc API.
JINMEI Tatuya [Wed, 22 May 2013 03:28:07 +0000 (20:28 -0700)]
[2911] more refactoring: unify xfr command handling into a single method.
JINMEI Tatuya [Wed, 22 May 2013 00:30:50 +0000 (17:30 -0700)]
[2911] refactoring: extract xfr command handling into separate methods.
no behavior change.
Paul Selkirk [Thu, 30 May 2013 14:52:53 +0000 (10:52 -0400)]
Merge branch 'trac2907'
Thomas Markwalder [Thu, 30 May 2013 14:05:54 +0000 (10:05 -0400)]
Merge branch 'master' into trac2956. 2956 was created before 2955, but
needs 2955 (which is now complete) to finish.
Thomas Markwalder [Thu, 30 May 2013 13:39:48 +0000 (09:39 -0400)]
[2956] Interrim checkin to allow merge with 2955. Note a subsequent commit
will be required to make d2 build.
Modified files:
Makefile.am
d2_log.cc
d2_log.h
d2_messages.mes
d2.spec
main.cc
tests/Makefile.am
tests/d2_test.py
New files:
d2_controller.cc
d2_controller.h
d_controller.cc
d_controller.h
spec_config.h
tests/d2_controller_unittests.cc
tests/d_controller_unittests.cc
tests/d_test_stubs.cc
tests/d_test_stubs.h
Thomas Markwalder [Thu, 30 May 2013 12:39:11 +0000 (08:39 -0400)]
[master] Added entry 622 for trac 2955.
Thomas Markwalder [Thu, 30 May 2013 12:32:59 +0000 (08:32 -0400)]
[master] Merge branch 2955 which adds D2Process and DProcessBase
to bin/src/D2.
Michal 'vorner' Vaner [Thu, 30 May 2013 09:11:38 +0000 (11:11 +0200)]
[2922] Prevent a race condition on start
There was a short time in which other modules could be started before
MsgQ subscribed to itself. While this was not as interesting before, as
the only problem could be old configuration of logging being in use as
the other modules start, it now becomes more problematic in this branch,
as commands to list members (which would be issued at start-up) could
get lost.
Make the init wait for the full startup of MsgQ (by confirming the MsgQ
responds to a command, even by an error).
Michal 'vorner' Vaner [Thu, 30 May 2013 07:21:33 +0000 (09:21 +0200)]
[2907] Make the reference const
Michal 'vorner' Vaner [Thu, 30 May 2013 06:59:42 +0000 (08:59 +0200)]
[2922] Make sure the result is JSON encodable
Michal 'vorner' Vaner [Wed, 29 May 2013 14:49:19 +0000 (16:49 +0200)]
[2922] Spec the members command
Include the members command in the spec file of msgq.
Michal 'vorner' Vaner [Wed, 29 May 2013 14:37:43 +0000 (16:37 +0200)]
[2922] Provide the members of group/MsgQ
Michal 'vorner' Vaner [Wed, 29 May 2013 14:23:27 +0000 (16:23 +0200)]
[2922] Test getting list of group/msgq members
Michal 'vorner' Vaner [Wed, 29 May 2013 13:50:30 +0000 (15:50 +0200)]
[2922] Keep mapping from fd to lname
It'll be needed in the following work.
Michal 'vorner' Vaner [Wed, 29 May 2013 07:59:52 +0000 (09:59 +0200)]
[2922] Test unknown command for msgq
Stephen Morris [Wed, 29 May 2013 23:51:53 +0000 (00:51 +0100)]
[2974] Added callbacks to context_create and context_destroy hooks
These are called in the CalloutHandle's constructor and destructor.
JINMEI Tatuya [Wed, 29 May 2013 23:30:15 +0000 (16:30 -0700)]
[1622] remove log4cplus lock file used in unit tests more explicitly
JINMEI Tatuya [Wed, 29 May 2013 23:20:35 +0000 (16:20 -0700)]
[1622] added a note about the log roll over issue
JINMEI Tatuya [Wed, 29 May 2013 22:57:27 +0000 (15:57 -0700)]
[1622] some cleanups
JINMEI Tatuya [Wed, 29 May 2013 22:40:46 +0000 (15:40 -0700)]
[1622] make sure log4cplus's internal lock file is cleaned up
necessary for distcheck to work correctly.
Stephen Morris [Wed, 29 May 2013 21:50:56 +0000 (22:50 +0100)]
[2974] Minor tweaks and documentation changes - now ready for review
Paul Selkirk [Wed, 29 May 2013 19:15:21 +0000 (15:15 -0400)]
[2907] add SingletonList::getZoneTableAccessor because of base class change
Stephen Morris [Wed, 29 May 2013 18:54:19 +0000 (19:54 +0100)]
[2974] All functions finally written and tested
Paul Selkirk [Wed, 29 May 2013 18:04:40 +0000 (14:04 -0400)]
[2907] add abstract method clientList::getZoneTableAccessor
Also add type ConstZoneTableAccessorPtr for convenience,
pass smart pointer by reference in unit test.
Stephen Morris [Wed, 29 May 2013 17:26:34 +0000 (18:26 +0100)]
[2974] Added per-library packet context.
JINMEI Tatuya [Wed, 29 May 2013 16:04:04 +0000 (09:04 -0700)]
[1622] use from-property ctor for RollingFileAppender so we can set UseLockFile
if the underlying log4cplus supports internal lock file, this solves the
race of simultaneous rollover from multiple processes.
this should be a compatible change and shouldn't disrupt log4cplus 1.0.4.
Jeremy C. Reed [Wed, 29 May 2013 12:46:03 +0000 (07:46 -0500)]
[master] bump the master version to today's date
Jeremy C. Reed [Wed, 29 May 2013 12:45:38 +0000 (07:45 -0500)]
[master] fix version for 1.1.0
typo before
Yoshitaka Aharen [Wed, 29 May 2013 04:48:44 +0000 (13:48 +0900)]
[2796] compare with a constant instead of a magic number
Yoshitaka Aharen [Wed, 29 May 2013 04:20:25 +0000 (13:20 +0900)]
[2796] correct doxygen comment
Yoshitaka Aharen [Wed, 29 May 2013 04:17:04 +0000 (13:17 +0900)]
[2796] explain the meaning of the counter item in ChangeLog
Paul Selkirk [Wed, 29 May 2013 02:07:17 +0000 (22:07 -0400)]
[2907] remove getZoneTableAccessor cache-enable test
Also redo the associated unit tests, and fix some white-space issue.
Stephen Morris [Tue, 28 May 2013 19:06:38 +0000 (20:06 +0100)]
[2974] Corrected constructor of CalloutHandle
This now takes a pointer to a LibraryHandleCollection instead
of a pointer to a HookManager: such a change cleanly separates
the server and client code.
Stephen Morris [Tue, 28 May 2013 18:48:16 +0000 (19:48 +0100)]
[2974] Added the LibraryHandleCollection object.
Thomas Markwalder [Tue, 28 May 2013 14:54:55 +0000 (10:54 -0400)]
[2955] Review comments addressed. Corrected member and method names.
Mukund Sivaraman [Tue, 28 May 2013 08:34:11 +0000 (14:04 +0530)]
[2850] Unify comments
Stephen Morris [Mon, 27 May 2013 19:38:04 +0000 (20:38 +0100)]
[2974] Extended context methods on both CalloutHandle and LibraryHandle
Stephen Morris [Mon, 27 May 2013 18:45:24 +0000 (19:45 +0100)]
[2974] Added first part of CalloutHandle code
This part sets and gets the argument list and the skip flag.
Also modified the LibraryCallback code to handle the skip flag, and
added another using test to check that.
Stephen Morris [Mon, 27 May 2013 17:52:58 +0000 (18:52 +0100)]
[2974] Added missing test to LibraryHandle unit tests
Stephen Morris [Mon, 27 May 2013 17:16:05 +0000 (18:16 +0100)]
[2974] Added the LibraryHandle class to the hooks framework
Stephen Morris [Mon, 27 May 2013 13:46:39 +0000 (14:46 +0100)]
[2974] Added missing ServerHooks test
Added test for the getCount() method, and tidied up the documentation
for the ServerHooks class.
Stephen Morris [Mon, 27 May 2013 13:32:10 +0000 (14:32 +0100)]
[2974] LibraryHandle context methods added
Use of boost::any allows different types to be stored in one
collection.
Stephen Morris [Mon, 27 May 2013 11:05:53 +0000 (12:05 +0100)]
[2974] Added ServerHooks class
This is the first part of the hooks implementation, a class that
carries the list of hooks.
Mukund Sivaraman [Mon, 27 May 2013 09:36:18 +0000 (15:06 +0530)]
[master] Make name absolute so that Rdata can be constructed for it
Paul Selkirk [Mon, 27 May 2013 03:12:52 +0000 (23:12 -0400)]
[master] ChangeLog entry for trac2522 merge
Paul Selkirk [Mon, 27 May 2013 03:07:00 +0000 (23:07 -0400)]
Merge branch 'trac2522'
Paul Selkirk [Sun, 26 May 2013 15:51:58 +0000 (11:51 -0400)]
[2907] small improvement to unit test
Paul Selkirk [Sun, 26 May 2013 04:38:39 +0000 (00:38 -0400)]
[2907] add ConfigurableClientList::getZoneTableAccessor
Thomas Markwalder [Fri, 24 May 2013 20:03:12 +0000 (16:03 -0400)]
[2955] Corrected typos in Makefile.ams.
Thomas Markwalder [Fri, 24 May 2013 19:29:36 +0000 (15:29 -0400)]
[2955] Addressed review comments. Most notably, renamed DProcess
to DProcessBase.
JINMEI Tatuya [Fri, 24 May 2013 10:00:03 +0000 (15:30 +0530)]
[2850] ZoneWriter updates
Mukund Sivaraman [Fri, 24 May 2013 09:57:30 +0000 (15:27 +0530)]
[2850] Add a comment
Mukund Sivaraman [Fri, 24 May 2013 07:50:46 +0000 (13:20 +0530)]
[2850] Cache the header address for read-only segments
Mukund Sivaraman [Fri, 24 May 2013 08:02:17 +0000 (13:32 +0530)]
[2850] Update if statement slightly (doesn't change behavior)
Mukund Sivaraman [Fri, 24 May 2013 07:26:34 +0000 (12:56 +0530)]
[2852] Move object to inner block
Mukund Sivaraman [Thu, 23 May 2013 14:37:32 +0000 (20:07 +0530)]
[2852] Use a mapped memory segment in the ListTests
Michal 'vorner' Vaner [Fri, 24 May 2013 07:05:22 +0000 (09:05 +0200)]
Merge #2930
Sending notifications over msgq.
No receiving end yet.
JINMEI Tatuya [Fri, 24 May 2013 05:38:17 +0000 (22:38 -0700)]
[master] avoid using 'with' protocol for socket.socket. it doesn't work < 3.2.
this should fix test failures reported by buildbots. confirmed, committing
at my discretion.
JINMEI Tatuya [Fri, 24 May 2013 03:35:23 +0000 (20:35 -0700)]
[master] changelog for #2905
JINMEI Tatuya [Thu, 23 May 2013 23:07:51 +0000 (16:07 -0700)]
[master] Merge branch 'trac2905'
JINMEI Tatuya [Thu, 23 May 2013 23:07:21 +0000 (16:07 -0700)]
[master] changelog for #2934
JINMEI Tatuya [Thu, 23 May 2013 22:19:26 +0000 (15:19 -0700)]
[master] Merge branch 'trac2934'
JINMEI Tatuya [Thu, 23 May 2013 22:18:33 +0000 (15:18 -0700)]
[2934] explicitly specify the relative path in "." statement.
there seems to be a portability issue without it.
JINMEI Tatuya [Thu, 23 May 2013 22:07:29 +0000 (15:07 -0700)]
[2522] revised "copy" test for SSHFP: make sure to use assignment, not copy.
JINMEI Tatuya [Thu, 23 May 2013 22:07:16 +0000 (15:07 -0700)]
[2522] minor style matter: brace position
JINMEI Tatuya [Thu, 23 May 2013 20:35:26 +0000 (13:35 -0700)]
[2850] style matter: combined two short lines.
Thomas Markwalder [Thu, 23 May 2013 15:08:53 +0000 (11:08 -0400)]
[2955] Added missing definition of static member in D2 unit test.
Marcin Siodelski [Thu, 23 May 2013 14:44:02 +0000 (16:44 +0200)]
[master] Added ChangeLog entry for #2902.