Commit Graph

21 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
c22bc528df Rename secret_service_read_alias() to secret_collection_for_alias()
* Much more logical, especially in the future when arbitrary aliases
   are implemented in gnome-keyring-daemon
2012-07-12 12:38:50 +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
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
600021a30b Accept NULL as a SecretService parameter for many methods
* We use secret_service_get() to lookup the default
   SecretService in these cases.
 * Use this functionality in the secret_password_xxx()
   functions to greatly simplify them.
2012-07-05 23:33:08 +02:00
Stef Walter
153dfcec5f Add secret_collection_load_items()
* And flags to prevent loading of items when creating a
   SecretCollection object
 * Rename secret_service_ensure_collections() to
   secret_service_load_collections()
2012-07-05 23:33:07 +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
889f6d66b7 Make secret_service_search() able to unlock, load secrets
* Turn secret_service_search() and friends into a more convenient
   API, so that callers can get attributes, unlocking, and secrets
   if so desired.
 * Also support retrieving either one secret, or all of them.
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
Stef Walter
89550876ff Remove varargs SecretService methods
* The SecretService methods aren't used as frequently as the
   password methods, and it's not really necessary to have a whole
   bunch of extra varargs functions.
 * Add varargs functions for building a GHashTable of attributes
2012-06-28 13:15:06 +02:00
Stef Walter
fda131178a Pass service GType to secret_service_new() and friends.
* This allows callers to use a custom SecretService derived
   type with the rest of libsecret
 * The default way to get a SecretService is via secret_service_get()
   which remains simple without the GType parameter
2012-06-27 11:45:09 +02:00
Stef Walter
79aab9d941 Add secret_service_read_alias() and secret_service_set_alias()
* Wrappers for Secret Service ReadAlias() and SetAlias() methods
   in various permutations.
2012-06-23 14:47:13 +02:00
Stef Walter
279ea1cc10 Add methods which handle prompts for a DBus object path
* Various prompting methods return the prompt result as
   a GVariant.
 * Added new prompt_path methods to SecretService
2012-06-23 14:22:28 +02:00
Stef Walter
125289ae45 Fix license header issues
* Update to LGPL 2.1
 * Fix typos in license comments
 * Update FSF address

https://bugzilla.gnome.org/show_bug.cgi?id=673194
2012-03-31 15:33:25 +02:00
Stef Walter
ebb2806946 Add documentation of which parts of the API are unstable
* Use secret-unstable.h header for unstable bits
 * Add stability tag to SECTION headers
2012-03-24 07:52:12 +01:00
Stef Walter
60f6e8e770 Tons of fixes for introspectable usage
* Schemas can also be created dynamically
 * Correct introspection types for hash tables passed as args
 * Validate argument hash tables
 * Add some predefined schemas
 * Allow allocation of pageable passwords from lookup functions
2012-03-11 09:08:49 +01:00
Stef Walter
3edec36350 Reference documentation 2012-02-03 20:44:47 +01:00
Stef Walter
9c20c4d65e Initial gobject-introspection support 2012-02-03 20:44:47 +01:00
Stef Walter
46137f865b Rename gsecret to libsecret
* Fixes the namespacing capitalization issues run into with
   gobject-introspection and glib code tools
2012-02-03 20:44:46 +01:00