/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
..
.bzr-builddeb 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
debian 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
plugins.d 13 16 years ago Björn Påhlsson Added following support: Pluginbased client handle Diff
.bzrignore 223 16 years ago Teddy Hogeborn * .bzrignore (plugins.d/askpass-fifo): Added. * M 206 bytes Diff Download File
clients.conf 202 16 years ago Teddy Hogeborn * clients.conf ([bar]/secfile): Do not imply armor 2.4 KB Diff Download File
common.ent 217 16 years ago Teddy Hogeborn * .bzrignore: Added "man" directory (created by "m 91 bytes Diff Download File
COPYING 24.1.51 16 years ago Björn Påhlsson Added configuration files support for mandos-clien 34.2 KB Diff Download File
default-mandos 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 174 bytes Diff Download File
init.d-mandos 200 16 years ago Teddy Hogeborn * Makefile: Put the init script before avahi-daemo 4.1 KB Diff Download File
File initramfs-tools-hook 236 16 years ago Teddy Hogeborn * initramfs-tools-hook: Also ignore plugins named 4.4 KB Diff Download File
initramfs-tools-hook-conf 68 16 years ago Teddy Hogeborn * initramfs-tools-hook: New. * initramfs-tools-hoo 10 bytes Diff Download File
File initramfs-tools-script 178 16 years ago Teddy Hogeborn * initramfs-tools-script: Fix permissions of "/tmp 1.7 KB Diff Download File
INSTALL 235 16 years ago Teddy Hogeborn * INSTALL: Fixed typo. * Makefile: Split long lin 4.7 KB Diff Download File
legalnotice.xml 174 16 years ago Teddy Hogeborn * legalnotice.xml: Copy DocBook 4.4-formatted text 1 KB Diff Download File
Makefile 235 16 years ago Teddy Hogeborn * INSTALL: Fixed typo. * Makefile: Split long lin 11.3 KB Diff Download File
File mandos 237.1.1 16 years ago Teddy Hogeborn First steps of a D-Bus interface to the server. * 38.5 KB Diff Download File
mandos-clients.conf.xml 229 16 years ago Teddy Hogeborn * Makefile (version): Changed to "1.0.1". * mandos 13.7 KB Diff Download File
File mandos-keygen 232 16 years ago Teddy Hogeborn * Makefile (version): Changed to "1.0.2". * NEWS ( 9 KB Diff Download File
mandos-keygen.xml 224 16 years ago Teddy Hogeborn * mandos-keygen.xml (FILES): Fixed id to be "files 14.2 KB Diff Download File
mandos-options.xml 216 16 years ago Teddy Hogeborn * Makefile: Add HTML rules for manual pages. (DO 2.7 KB Diff Download File
mandos.conf 89 16 years ago Teddy Hogeborn * Makefile: Bug fix: fixed creation of man pages f 1.1 KB Diff Download File
mandos.conf.xml 217 16 years ago Teddy Hogeborn * .bzrignore: Added "man" directory (created by "m 6.8 KB Diff Download File
mandos.lsm 233 16 years ago Teddy Hogeborn * Makefile (all): Also depend on "mandos.lsm". ( 903 bytes Diff Download File
mandos.xml 224 16 years ago Teddy Hogeborn * mandos-keygen.xml (FILES): Fixed id to be "files 19.7 KB Diff Download File
NEWS 232 16 years ago Teddy Hogeborn * Makefile (version): Changed to "1.0.2". * NEWS ( 895 bytes Diff Download File
overview.xml 183 16 years ago Teddy Hogeborn * Makefile (install-client-nokey): Do "&&" instead 926 bytes Diff Download File
plugin-runner.c 236 16 years ago Teddy Hogeborn * initramfs-tools-hook: Also ignore plugins named 28.2 KB Diff Download File
plugin-runner.conf 228 16 years ago Teddy Hogeborn * INSTALL: Add instructions on how to set the corr 490 bytes Diff Download File
plugin-runner.xml 217 16 years ago Teddy Hogeborn * .bzrignore: Added "man" directory (created by "m 20.4 KB Diff Download File
README 235 16 years ago Teddy Hogeborn * INSTALL: Fixed typo. * Makefile: Split long lin 8.4 KB Diff Download File
TODO 237.1.1 16 years ago Teddy Hogeborn First steps of a D-Bus interface to the server. * 1.6 KB Diff Download File