/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2008-11-09 06:40:29 UTC
  • mto: (24.1.113 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20081109064029-df71jpoce308cq3v
First steps of a D-Bus interface to the server.

* mandos: Also import "dbus.service".
  (Client): Inherit from "dbus.service.Object", which is a new-style
            class, so inheriting from "object" is no longer necessary.
  (Client.interface): New temporary variable which only exists during
                     class definition.

  (Client.getName, Client.getFingerprint): New D-Bus getter methods.
  (Client.setSecret): New D-Bus setter method.
  (Client._set_timeout): Emit D-Bus signal "TimeoutChanged".
  (Client.getTimeout): New D-Bus getter method.
  (Client.TimeoutChanged): New D-Bus signal.
  (Client._set_interval): Emit D-Bus signal "IntervalChanged".
  (Client.getInterval): New D-Bus getter method.
  (Client.intervalChanged): New D-Bus signal.
  (Client.__init__): Also call "dbus.service.Object.__init__".
  (Client.started): New boolean attribute.
  (Client.start, Client.stop): Update "self.started", and emit D-Bus
                               signal "StateChanged".
  (Client.StateChanged): New D-Bus signal.
  (Client.stop): Use "self.started" instead of misusing "self.secret".
                 Also simplify code by using "getattr" instead of
                 "hasattr".
  (Client.checker_callback): Emit D-Bus signal "CheckerCompleted".
  (Client.CheckerCompleted): New D-Bus signal.
  (Client.bumpTimeout): D-Bus method name for "bump_timeout".
  (Client.start_checker): Emit D-Bus signal "CheckerStarted".
  (Client.CheckerStarted): New D-Bus signal.
  (Client.checkerIsRunning): New D-Bus method.
  (Client.StopChecker): D-Bus method name for "stop_checker".
  (Client.still_valid): First check "self.started".
  (Client.stillValid): D-Bus method name for "still_valid".
Filename Latest Rev Last Changed Committer Comment Size
..
po 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
changelog 232 16 years ago Teddy Hogeborn * Makefile (version): Changed to "1.0.2". * NEWS ( 946 bytes Diff Download File
compat 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 2 bytes Diff Download File
control 216 16 years ago Teddy Hogeborn * Makefile: Add HTML rules for manual pages. (DO 2.3 KB Diff Download File
copyright 231 16 years ago Teddy Hogeborn * debian/copyright: Removed non-standard headers. 1.1 KB Diff Download File
mandos-client.config 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c 493 bytes Diff Download File
mandos-client.dirs 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 143 bytes Diff Download File
mandos-client.docs 234 16 years ago Teddy Hogeborn * debian/mandos-client.docs (NEWS): Added. * debia 17 bytes Diff Download File
mandos-client.links 191 16 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File
mandos-client.lintian-overrides 221 16 years ago Teddy Hogeborn * debian/changelog: New Debian revision. * debian 1.6 KB Diff Download File
mandos-client.postinst 210 16 years ago Teddy Hogeborn * debian/mandos-client.postinst: Change home direc 1.3 KB Diff Download File
mandos-client.postrm 197 16 years ago Teddy Hogeborn * debian/control (mandos-client): Depend on "crypt 1.2 KB Diff Download File
mandos-client.README.Debian 228 16 years ago Teddy Hogeborn * INSTALL: Add instructions on how to set the corr 1.7 KB Diff Download File
mandos-client.templates 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c 341 bytes Diff Download File
mandos.config 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c 486 bytes Diff Download File
mandos.dirs 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 70 bytes Diff Download File
mandos.docs 234 16 years ago Teddy Hogeborn * debian/mandos-client.docs (NEWS): Added. * debia 17 bytes Diff Download File
mandos.lintian-overrides 221 16 years ago Teddy Hogeborn * debian/changelog: New Debian revision. * debian 203 bytes Diff Download File
mandos.postinst 210 16 years ago Teddy Hogeborn * debian/mandos-client.postinst: Change home direc 971 bytes Diff Download File
mandos.prerm 202 16 years ago Teddy Hogeborn * clients.conf ([bar]/secfile): Do not imply armor 877 bytes Diff Download File
mandos.README.Debian 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c 379 bytes Diff Download File
mandos.templates 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c 348 bytes Diff Download File
File rules 218 16 years ago Teddy Hogeborn * Makefile (uninstall-client): Do not remove obsol 2.2 KB Diff Download File