Commit Graph

14 Commits

Author SHA1 Message Date
Stef Walter
9bf4efd762 WIP split stable/unstable packages/gir/vapis 2012-07-13 09:04:55 +02:00
Stef Walter
80df2e6484 Add flags for secret_item_create and secret_collection_create
* For future extensibility
2012-07-12 13:59:35 +02:00
Evan Nemerson
a646cd2b33 introspection: add several missing element-type annotations
https://bugzilla.gnome.org/show_bug.cgi?id=679090
2012-07-10 22:30:42 +02:00
Stef Walter
b63e664c28 Remove erroneus precondition 2012-07-10 21:39:48 +02:00
Stef Walter
c85cadce76 Validate that we have attributes when looking up
* When matching items, make sure we have attributes if
   no schema name was included in the match
 * This is particularly important because we don't want to
   remove all the items.
2012-07-10 21:37:47 +02:00
Stef Walter
9c2eca05ff Implement per collection search
* Use the SearchItems dbus method on the Collection interface
 * Tweak some issues with the service search code as well
2012-07-09 11:23:36 +02:00
Stef Walter
30d1337a7c Register secret service errors as DBus errors
* and strip remote error codes from error->message so that
   they don't clutter things.
2012-07-09 11:23:36 +02:00
Stef Walter
c1f860d45f Fix up documentation 2012-07-06 10:21:04 +02:00
Stef Walter
b535ed1bbf Use collection aliases with secret_password_store() and friends
* Make SECRET_COLLECTION_DEFAULT and SECRET_COLLECTION_SESSION
   be the simple aliases for those collections.
 * Accept either an alias or a path in secret_password_store()
   and secret_service_store() and friends.
2012-07-06 09:42:08 +02:00
Stef Walter
7098b856b7 Rename the functions that operate on a dbus item path
* They all contain '_dbus_path' in their name
 * Move secret_service_get_session_path() to the paths functionality
 * Move the secret_collection_new() and secret_item_new() functionality
   to the path based section.
2012-07-06 09:27:05 +02:00
Stef Walter
3f0c69d862 secret_service_search() accepts a SecretSchema
* For validation and adding the xdg:schema attribute
2012-07-05 23:33:07 +02:00
Stef Walter
9c44ab0fa2 Update the "Locked" property of items/collections on lock/unlock
* Make sure this property is kept in sync so it can be used
   immediately in the logic to retrieve secrets or other stuff.
 * We don't wait for a PropertiesChanged, which may come later
2012-07-05 23:33:07 +02:00
Stef Walter
012ed7d620 Move secret_service_get_secrets() to secret_item_load_secrets()
* And cache the secrets on the items instead of returning
   them in a GHashtable
2012-07-05 23:33:07 +02:00
Stef Walter
f962662b09 Separate path based functionality
* Move the dbus object path based functionality into its
   own file and own section of the documentation.
2012-07-05 23:33:07 +02:00