/mandos/trunk

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

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2009-09-21 21:39:25 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090921213925-jbpt6tzu99otseng
Use D-Bus properties instead of our own methods.

* mandos (Client._datetime_to_milliseconds): Renamed to
                                             "_timedelta_to_milliseconds".
                                             All callers changed.
  (dbus_service_property): New decorator for D-Bus properties.
  (DBusPropertyException, DBusPropertyAccessException,
  DBusPropertyNotFound): New D-Bus exception classes.
  (DBusObjectWithProperties): New; extends "dbus.service.Object" with
                              support for properties.
  (ClientDBus): Inherit from, and call up to, "DBusObjectWithProperties".
  (ClientDBus.CheckedOK, ClientDBus.GetAllProperties,
  ClientDBus.SetChecker, ClientDBus.SetHost, ClientDBus.SetInterval,
  ClientDBus.SetSecret, ClientDBus.SetTimeout, ClientDBus.Enable,
  ClientDBus.StartChecker, ClientDBus.Disable,
  ClientDBus.StopChecker): Removed, replaced with properties.
  (ClientDBus.IsStillValid): Removed, superfluous.
  (ClientDBus.name_dbus_property,
  ClientDBus.fingerprint_dbus_property, ClientDBus.host_dbus_property,
  ClientDBus.created_dbus_property,
  ClientDBus.last_enabled_dbus_property,
  ClientDBus.enabled_dbus_property,
  ClientDBus.last_checked_ok_dbus_property,
  ClientDBus.timeout_dbus_property, ClientDBus.interval_dbus_property,
  ClientDBus.checker_dbus_property,
  ClientDBus.checker_running_dbus_property,
  ClientDBus.object_path_dbus_property,
  ClientDBus.secret_dbus_property): New D-Bus properties.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* mandos-client
4
4
** TODO [#B] use scandir(3) instead of readdir(3)
5
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
6
 
** TODO use error() instead of perror()
 
5
** TODO [#B] Prefix all debug output with argv[0]
7
6
** TODO [#B] Retry a server which has a non-definite reply:
8
7
*** A closed connection during the TLS handshake
9
8
*** A TCP timeout
11
10
 
12
11
* splashy
13
12
** TODO [#B] use scandir(3) instead of readdir(3)
14
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
15
 
** TODO use error() instead of perror()
 
13
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
16
14
 
17
15
* usplash
18
16
** TODO [#B] use scandir(3) instead of readdir(3)
19
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
20
 
** TODO use error() instead of perror()
 
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
21
18
 
22
19
* askpass-fifo
23
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
24
 
** TODO use error() instead of perror()
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
25
21
** TODO [#B] Drop privileges after opening FIFO.
26
22
 
27
23
* password-prompt
28
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
29
 
** TODO use error() instead of perror()
30
 
** TODO lock stdin (with flock()?)
 
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
31
25
 
32
26
* TODO passdev
33
27
 
34
28
* plugin-runner
35
29
** TODO [#B] use scandir(3) instead of readdir(3)
36
30
** TODO [#C] use same file name rules as run-parts(8)
37
 
** TODO use error() instead of perror()
38
31
 
39
32
* mandos (server)
40
33
** TODO [#B] Log level                          :BUGS:
83
76
  arguments.
84
77
 
85
78
* mandos-monitor
86
 
** D-Bus main loop w/ signal receiver
87
 
** Urwid client data displayer
88
 
*** Urwid scaffolding
 
79
** D-Bus mail loop w/ signal receiver
 
80
** Snack/Newt client data displayer
89
81
*** Client Widgets
90
82
*** Properties popup
91
83