/mandos/release

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

« back to all changes in this revision

Viewing changes to TODO

  • Committer: teddy at recompile
  • Date: 2012-02-26 11:47:19 UTC
  • mto: (237.7.109 trunk)
  • mto: This revision was merged to the branch mainline in revision 300.
  • Revision ID: teddy@recompile.se-20120226114719-m3odq4s34ebt6hg8
Add facilities for D-Bus interface annotations and use them to mark
the old D-Bus interfaces as deprecated.

* mandos (dbus_interface_annotations): New decorator.
  (DBusObjectWithProperties._is_dbus_property): Removed.  All callers
                                                changed.
  (DBusObjectWithProperties._is_dbus_thing): New; generalized version
                                             of "_is_dbus_property".
  (DBusObjectWithProperties._get_all_dbus_properties): Removed.  All
                                                       callers
                                                       changed.
  (DBusObjectWithProperties._get_all_dbus_things): New; generalized
                                                   version of
                                                   "_get_all_dbus_properties".
  (DBusObjectWithProperties.Introspect): Also add interface
                                         annotation tags.
  (AlternateDBusNamesMetaclass.__new__): Also copy interface
                                         annotations.  Add
                                         "deprecated" annotation on
                                         old interface.
  (ClientDBus._foo): New interface annotation to mark non-compliance
                     with the standard property change signal
                     interface.
  (MandosDBusService): Inherit from DBusObjectWithProperties to get
                       interface annotation support.
  (MandosDBusService._foo): New interface annotation to mark
                            non-compliance with the standard property
                            change signal interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
12
12
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
13
13
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
14
 
** TODO [#B] Use in_port_t instead of uint16_t for port numbers.
15
14
 
16
15
* splashy
17
16
** TODO [#B] use scandir(3) instead of readdir(3)
40
39
** TODO [#B] Use openat()
41
40
 
42
41
* mandos (server)
 
42
** TODO Document why we ignore sigint
43
43
** TODO [#B] Log level                                                    :BUGS:
44
44
*** TODO /etc/mandos/clients.d/*.conf
45
45
    Watch this directory and add/remove/update clients?
48
48
   SetLogLevel D-Bus call
49
49
** TODO Implement --foreground                                            :BUGS:
50
50
   [[info:standards:Option%20Table][Table of Long Options]]
 
51
** TODO Implement --socket
 
52
   [[info:standards:Option%20Table][Table of Long Options]]
51
53
** TODO [#C] DBusServiceObjectUsingSuper
52
54
** TODO [#B] Global enable/disable flag
53
55
** TODO [#B] By-client countdown on number of secrets given
54
56
** TODO [#B] Support RFC 3339 time duration syntax
55
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
57
** More D-Bus methods
 
58
*** NeedsPassword(50) - Timeout, default disapprove
56
59
    + SetPass(u"gazonk", True) -> Approval, persistent
57
60
    + Approve(False) -> Close client connection immediately
58
61
** TODO [#C] python-parsedatetime
75
78
   and signals ClientAdded and ClientRemoved.
76
79
** TODO Save state periodically to recover better from hard shutdowns
77
80
** TODO CheckerCompleted method, deprecate CheckedOK
78
 
** TODO Secret Service API?
79
 
   http://standards.freedesktop.org/secret-service/
80
81
 
81
82
* mandos.xml
82
83
** Add mandos contact info in manual pages