platform/upstream/gsignond.git
10 years agoutils: make gsignond_array_to_sequence() argument really (transfer full)
Jussi Laako [Thu, 28 Nov 2013 16:05:06 +0000 (18:05 +0200)]
utils: make gsignond_array_to_sequence() argument really (transfer full)

10 years agodigest-plugin: add realm check
Jussi Laako [Wed, 27 Nov 2013 16:16:30 +0000 (18:16 +0200)]
digest-plugin: add realm check

10 years agosession-data: provide also allowed realms
Jussi Laako [Tue, 26 Nov 2013 14:05:41 +0000 (16:05 +0200)]
session-data: provide also allowed realms

10 years agoutils: move sequence/array to/from variant conversions to utils
Jussi Laako [Tue, 26 Nov 2013 13:14:17 +0000 (15:14 +0200)]
utils: move sequence/array to/from variant conversions to utils

10 years agopackaging: add URL to spec files
Alexander Kanavin [Mon, 25 Nov 2013 14:43:10 +0000 (16:43 +0200)]
packaging: add URL to spec files

10 years agoidentity: fix owner and acl handling
Jussi Laako [Mon, 25 Nov 2013 15:54:02 +0000 (17:54 +0200)]
identity: fix owner and acl handling

10 years agoconfig: cleanup and fix config
Jussi Laako [Fri, 22 Nov 2013 15:26:39 +0000 (17:26 +0200)]
config: cleanup and fix config

- printout debug info when looking for configuration files
- fix configuration loading from system dirs
- cleanup config loading
- synchronize documentation and implementation

10 years agoFix location of gsignond.conf
Alexander Kanavin [Thu, 24 Oct 2013 10:55:00 +0000 (13:55 +0300)]
Fix location of gsignond.conf

Everything except gsignond-config.c says it's /etc/gsignond.conf

10 years agoconfig: values from config file were not set
Alexander Kanavin [Sat, 12 Oct 2013 13:28:34 +0000 (16:28 +0300)]
config: values from config file were not set

11 years agoFixed dbus session type for identity and auth session
Imran Zaman [Wed, 9 Oct 2013 09:05:53 +0000 (12:05 +0300)]
Fixed dbus session type for identity and auth session

11 years agobuild: don't version extensions and plugins
Alexander Kanavin [Mon, 7 Oct 2013 13:57:14 +0000 (16:57 +0300)]
build: don't version extensions and plugins

11 years agodocs: remove all autogenerated files with 'make clean'
Alexander Kanavin [Thu, 5 Sep 2013 13:19:23 +0000 (16:19 +0300)]
docs: remove all autogenerated files with 'make clean'

11 years agodaemon: IdentityInfo - support for selective copy of fields
Amarnath Valluri [Thu, 5 Sep 2013 10:27:08 +0000 (13:27 +0300)]
daemon: IdentityInfo - support for selective copy of fields

11 years agocommon: gsignond_dictionary_to_variant_builder() new API added to GSignondDictionary
Amarnath Valluri [Tue, 3 Sep 2013 13:48:38 +0000 (16:48 +0300)]
common: gsignond_dictionary_to_variant_builder() new API added to GSignondDictionary

11 years agocommon: GSignondIdentityInfo re-typed as a new boxed type
Amarnath Valluri [Tue, 27 Aug 2013 15:09:02 +0000 (18:09 +0300)]
common: GSignondIdentityInfo re-typed as a new boxed type

This give us the liberty to seprate internal info such as secret/username/edit-flags/
out of the dictionary, and easy to maintain.

Fixed other part of the code and tests.

11 years agocommon: new api added to GSignondDictionary to know if a key is existing
Amarnath Valluri [Tue, 27 Aug 2013 15:05:13 +0000 (18:05 +0300)]
common: new api added to GSignondDictionary to know if a key is existing

11 years agoidentityinfo: remove unused function and remove edit flags in GetInfo
Jussi Laako [Thu, 15 Aug 2013 15:16:47 +0000 (18:16 +0300)]
identityinfo: remove unused function and remove edit flags in GetInfo

11 years agotests: IdentityInfo test moved to common tests.
Amarnath Valluri [Mon, 29 Jul 2013 12:15:34 +0000 (15:15 +0300)]
tests: IdentityInfo test moved to common tests.

11 years agodaemon/db: Make use of IdentityInfo 'EditFlags'.
Amarnath Valluri [Mon, 29 Jul 2013 12:12:59 +0000 (15:12 +0300)]
daemon/db: Make use of IdentityInfo 'EditFlags'.

Consider IdentityInfo 'EditFlags' while saving identity to db
and other parts of the code.

11 years agocommon: Edit flags supported changes to IdentityInfo.
Amarnath Valluri [Mon, 29 Jul 2013 12:01:57 +0000 (15:01 +0300)]
common: Edit flags supported changes to IdentityInfo.

This commit adds 'EditFlags' to IdentityInfo. Which helps to track
the changes happening to a given identity info. This field is used
especially in DB to save only changed fields, than blindly refreshing
whole identity info.

I would prapose to change the IdentityInfo type to a new Boxed type
which internally uses the GSignondDictionary to save data. So that we
can move the 'EditFlags' out of the dictionary.

11 years agodaemon: double free curroption fixed
Amarnath Valluri [Thu, 29 Aug 2013 22:05:43 +0000 (01:05 +0300)]
daemon: double free curroption fixed

11 years agobuild: added missing common.mk Makefile.am(s)
Amarnath Valluri [Thu, 29 Aug 2013 10:30:18 +0000 (13:30 +0300)]
build:  added missing common.mk Makefile.am(s)

11 years agodocs: add cross-links between pages and other small updates
Alexander Kanavin [Mon, 26 Aug 2013 13:17:21 +0000 (16:17 +0300)]
docs: add cross-links between pages and other small updates

11 years agoAdd gsignond.conf to .gitignore
Alexander Kanavin [Mon, 26 Aug 2013 13:15:52 +0000 (16:15 +0300)]
Add gsignond.conf to .gitignore

11 years agoconfig: clean up configuration management
Jussi Laako [Fri, 23 Aug 2013 13:58:02 +0000 (16:58 +0300)]
config: clean up configuration management

11 years agoacm: improve configurability of the keychain
Jussi Laako [Thu, 22 Aug 2013 13:52:18 +0000 (16:52 +0300)]
acm: improve configurability of the keychain

11 years agoacm: allow setting keychain system context through configure
Jussi Laako [Thu, 22 Aug 2013 11:40:18 +0000 (14:40 +0300)]
acm: allow setting keychain system context through configure

11 years agoRelease 0.0.3-1
Amarnath Valluri [Thu, 22 Aug 2013 13:15:12 +0000 (16:15 +0300)]
Release 0.0.3-1

11 years agotools: fixes in tizen packaging script
Amarnath Valluri [Thu, 22 Aug 2013 11:22:54 +0000 (14:22 +0300)]
tools: fixes in tizen packaging script

11 years agoRevert "build: build issues fixed"
Amarnath Valluri [Thu, 22 Aug 2013 13:49:46 +0000 (16:49 +0300)]
Revert "build: build issues fixed"

This reverts commit eefadbbae2920a48961bd3d8455ae66d4b8dd1a0.

if we all the time provide gtk-doc.make from make dist then
this fix is not required.

11 years agoRevert "build: made gtk-doc optional"
Amarnath Valluri [Thu, 22 Aug 2013 12:14:34 +0000 (15:14 +0300)]
Revert "build: made gtk-doc optional"

This reverts commit b31ed6e880b0dcd7635147a57b870c0c137cfce0.

11 years agobuild: made gtk-doc optional
Amarnath Valluri [Thu, 22 Aug 2013 08:44:36 +0000 (11:44 +0300)]
build: made gtk-doc optional

11 years agobuild: build issues fixed
Amarnath Valluri [Thu, 22 Aug 2013 08:43:21 +0000 (11:43 +0300)]
build: build issues fixed

11 years agoconfig: remove support for SSO_SECRET_PATH environment variable
Alexander Kanavin [Wed, 21 Aug 2013 14:08:10 +0000 (17:08 +0300)]
config: remove support for SSO_SECRET_PATH environment variable

11 years agodocs: fix description of GSIGNOND_CONFIG_GENERAL_SECURE_DIR
Alexander Kanavin [Wed, 21 Aug 2013 14:07:00 +0000 (17:07 +0300)]
docs: fix description of GSIGNOND_CONFIG_GENERAL_SECURE_DIR

11 years agopackaging: fix a typo in rpm spec files
Jussi Laako [Wed, 21 Aug 2013 13:50:43 +0000 (16:50 +0300)]
packaging: fix a typo in rpm spec files

11 years agodaemon: don't attempt to wipe the base path
Jussi Laako [Wed, 21 Aug 2013 13:17:40 +0000 (16:17 +0300)]
daemon: don't attempt to wipe the base path

11 years agodocumentation: update documentation after rebase
Jussi Laako [Wed, 21 Aug 2013 13:17:17 +0000 (16:17 +0300)]
documentation: update documentation after rebase

11 years agostorage: relocate also metadata database to the same location
Jussi Laako [Thu, 15 Aug 2013 13:39:32 +0000 (16:39 +0300)]
storage: relocate also metadata database to the same location
config: make config entries properly layered

11 years agostorage: relocate and protect secret storage through group access
Jussi Laako [Wed, 14 Aug 2013 12:03:18 +0000 (15:03 +0300)]
storage: relocate and protect secret storage through group access

11 years agodocs: fix more 'authorization' mistakes
Alexander Kanavin [Tue, 20 Aug 2013 14:24:11 +0000 (17:24 +0300)]
docs: fix more 'authorization' mistakes

11 years agodocs: fix use of 'authorization' vs 'authentication'
Alexander Kanavin [Tue, 20 Aug 2013 14:16:25 +0000 (17:16 +0300)]
docs: fix use of 'authorization' vs 'authentication'

11 years agodocs: add a Makefile recipe for automated online documentation updates
Alexander Kanavin [Mon, 19 Aug 2013 13:17:19 +0000 (16:17 +0300)]
docs: add a Makefile recipe for automated online documentation updates

11 years agodocs: add build and install instructions
Alexander Kanavin [Fri, 16 Aug 2013 14:22:53 +0000 (17:22 +0300)]
docs: add build and install instructions

11 years agopackaging: add documentation package
Jussi Laako [Fri, 16 Aug 2013 14:19:34 +0000 (17:19 +0300)]
packaging: add documentation package

11 years agodocs: arrange documentation pages by topic
Alexander Kanavin [Thu, 15 Aug 2013 21:13:15 +0000 (00:13 +0300)]
docs: arrange documentation pages by topic

11 years agoplugins: use nonce generation from gsignond-common library in digest plugin
Alexander Kanavin [Thu, 15 Aug 2013 20:49:49 +0000 (23:49 +0300)]
plugins: use nonce generation from gsignond-common library in digest plugin

11 years agoplugins: place digest plugin's repeated code in a function
Alexander Kanavin [Thu, 15 Aug 2013 20:39:35 +0000 (23:39 +0300)]
plugins: place digest plugin's repeated code in a function

11 years agodocs: add documentation for in-tree plugins
Alexander Kanavin [Thu, 15 Aug 2013 17:48:12 +0000 (20:48 +0300)]
docs: add documentation for in-tree plugins

This achieves 100% symbol coverage, hurray!

11 years agodocs: fix doc generation warning
Alexander Kanavin [Thu, 15 Aug 2013 10:44:57 +0000 (13:44 +0300)]
docs: fix doc generation warning

11 years agodocs: add documentation for gsignond-utils.h
Alexander Kanavin [Thu, 15 Aug 2013 10:43:35 +0000 (13:43 +0300)]
docs: add documentation for gsignond-utils.h

11 years agodocs: add documentation for GSignondStorageManager
Alexander Kanavin [Thu, 15 Aug 2013 17:47:54 +0000 (20:47 +0300)]
docs: add documentation for GSignondStorageManager

11 years agodb: remove unused methods from GSignondSecretStorage, make gsignond_secret_storage_ge...
Alexander Kanavin [Wed, 14 Aug 2013 18:28:22 +0000 (21:28 +0300)]
db: remove unused methods from GSignondSecretStorage, make gsignond_secret_storage_get_last_error() virtual

11 years agodocs: add documentation for GSignondSecretStorage
Alexander Kanavin [Wed, 14 Aug 2013 18:23:12 +0000 (21:23 +0300)]
docs: add documentation for GSignondSecretStorage

11 years agodb: fix incorrect implementation of virtual methods in GSignondSecretStorage
Alexander Kanavin [Wed, 14 Aug 2013 17:41:04 +0000 (20:41 +0300)]
db: fix incorrect implementation of virtual methods in GSignondSecretStorage

11 years agodocs: add documentation for GSignondCredentials
Alexander Kanavin [Wed, 14 Aug 2013 17:15:23 +0000 (20:15 +0300)]
docs: add documentation for GSignondCredentials

11 years agodocs: add documentation for GSignondAccessControlManager
Alexander Kanavin [Wed, 14 Aug 2013 16:34:03 +0000 (19:34 +0300)]
docs: add documentation for GSignondAccessControlManager

11 years agodocs: add docs for GSignondSecurityContext
Alexander Kanavin [Wed, 14 Aug 2013 16:13:09 +0000 (19:13 +0300)]
docs: add docs for GSignondSecurityContext

11 years agodocs: add documentation for GSignondExtension
Alexander Kanavin [Wed, 14 Aug 2013 14:11:33 +0000 (17:11 +0300)]
docs: add documentation for GSignondExtension

11 years agodocs: fix a few previously missed undocumented symbols
Alexander Kanavin [Mon, 12 Aug 2013 16:18:53 +0000 (19:18 +0300)]
docs: fix a few previously missed undocumented symbols

11 years agodocs: add documentation for configuration keys
Alexander Kanavin [Mon, 12 Aug 2013 16:07:38 +0000 (19:07 +0300)]
docs: add documentation for configuration keys

11 years agocommon: make gsignond-identity-info.h private, as it's not used by anything in the...
Alexander Kanavin [Fri, 9 Aug 2013 18:32:34 +0000 (21:32 +0300)]
common: make gsignond-identity-info.h private, as it's not used by anything in the public API

11 years agodocs: remove internal headers from generated documentation
Alexander Kanavin [Fri, 9 Aug 2013 18:17:00 +0000 (21:17 +0300)]
docs: remove internal headers from generated documentation

11 years agoAdd generated gtkdoc files to .gitignore
Alexander Kanavin [Fri, 9 Aug 2013 17:47:23 +0000 (20:47 +0300)]
Add generated gtkdoc files to .gitignore

11 years agodocs: add documentation for GSignondConfig
Alexander Kanavin [Fri, 9 Aug 2013 17:45:38 +0000 (20:45 +0300)]
docs: add documentation for GSignondConfig

11 years agodocs: ignore generated enum type header
Alexander Kanavin [Thu, 8 Aug 2013 14:54:17 +0000 (17:54 +0300)]
docs: ignore generated enum type header

11 years agodocs: add documentation for the plugin API
Alexander Kanavin [Thu, 8 Aug 2013 14:53:38 +0000 (17:53 +0300)]
docs: add documentation for the plugin API

11 years agoFix generated names for enum types
Alexander Kanavin [Thu, 8 Aug 2013 13:09:09 +0000 (16:09 +0300)]
Fix generated names for enum types

11 years agodocs: Fix parameter name for gsignond_db_sql_database_exec()
Alexander Kanavin [Wed, 7 Aug 2013 14:17:12 +0000 (17:17 +0300)]
docs: Fix parameter name for gsignond_db_sql_database_exec()

11 years agocommon: fix header #define for generated plugin enum file
Alexander Kanavin [Wed, 7 Aug 2013 14:07:18 +0000 (17:07 +0300)]
common: fix header #define for generated plugin enum file

11 years agobuild: adjust formatting of configure --help
Alexander Kanavin [Wed, 7 Aug 2013 12:42:38 +0000 (15:42 +0300)]
build: adjust formatting of configure --help

11 years agodocs: gtkdocize requires m4 directory to exist
Alexander Kanavin [Mon, 29 Jul 2013 12:58:02 +0000 (15:58 +0300)]
docs: gtkdocize requires m4 directory to exist

11 years agodocs: fix annotations
Alexander Kanavin [Thu, 4 Jul 2013 10:15:42 +0000 (13:15 +0300)]
docs: fix annotations

11 years agocommon: clean up GSignondPluginState
Alexander Kanavin [Thu, 4 Jul 2013 09:49:56 +0000 (12:49 +0300)]
common: clean up GSignondPluginState

11 years agodocs: added documentation for GSignondSignonuiData
Alexander Kanavin [Tue, 2 Jul 2013 15:37:32 +0000 (18:37 +0300)]
docs: added documentation for GSignondSignonuiData

11 years agoheaders: remove unnecessary macros from GSignondSignonuiData
Alexander Kanavin [Mon, 1 Jul 2013 16:07:23 +0000 (19:07 +0300)]
headers: remove unnecessary macros from GSignondSignonuiData

11 years agodocs: remove unnecessary gsignond-signonui.h header
Alexander Kanavin [Mon, 1 Jul 2013 15:43:37 +0000 (18:43 +0300)]
docs: remove unnecessary gsignond-signonui.h header

11 years agodocs: add documentation for GSignondSessionData
Alexander Kanavin [Mon, 1 Jul 2013 15:29:52 +0000 (18:29 +0300)]
docs: add documentation for GSignondSessionData

11 years agodocs: added documentation for errors
Alexander Kanavin [Fri, 28 Jun 2013 13:54:45 +0000 (16:54 +0300)]
docs: added documentation for errors

11 years agodocs: added logging documentation
Alexander Kanavin [Fri, 28 Jun 2013 12:27:57 +0000 (15:27 +0300)]
docs: added logging documentation

11 years agodoc: added GSignondDictionary docs
Alexander Kanavin [Wed, 26 Jun 2013 12:36:33 +0000 (15:36 +0300)]
doc: added GSignondDictionary docs

11 years agoAdded the public API documentation
Alexander Kanavin [Tue, 25 Jun 2013 17:08:20 +0000 (20:08 +0300)]
Added the public API documentation

11 years agodaemon: Fix memory leak in freeing ui request
Amarnath Valluri [Tue, 13 Aug 2013 08:01:15 +0000 (11:01 +0300)]
daemon: Fix memory leak in freeing ui request

11 years agodaemon: typo fixed : cancled -> canceled
Amarnath Valluri [Thu, 1 Aug 2013 19:56:51 +0000 (22:56 +0300)]
daemon: typo fixed : cancled -> canceled

11 years agodaemon: Close ui dialog when auth session canceled.
Amarnath Valluri [Thu, 1 Aug 2013 19:52:46 +0000 (22:52 +0300)]
daemon: Close ui dialog when auth session canceled.

11 years agodaemon: 'process-canceled' signal added to AuthSession.
Amarnath Valluri [Thu, 1 Aug 2013 13:39:25 +0000 (16:39 +0300)]
daemon: 'process-canceled' signal added to AuthSession.

This newly added 'process-canceled' signal is emited by AuthSession
when an active authentication session process is canceled by client.
Which is expected to listen by Identity.

11 years agodaemon/ui: Few memory leaks fixed in signonui->cancel_dialog.
Amarnath Valluri [Thu, 1 Aug 2013 13:37:48 +0000 (16:37 +0300)]
daemon/ui: Few memory leaks fixed in signonui->cancel_dialog.

11 years agodaemon/dbus: When client dead, cancel active process if any.
Amarnath Valluri [Thu, 1 Aug 2013 13:24:00 +0000 (16:24 +0300)]
daemon/dbus: When client dead, cancel active process if any.

11 years agodaemon/dbus: Fixed issue found in set_property of DbusAuthSessionAdapter.
Amarnath Valluri [Thu, 1 Aug 2013 12:27:25 +0000 (15:27 +0300)]
daemon/dbus: Fixed issue found in set_property of DbusAuthSessionAdapter.

11 years agodeamon: Missing weak_urefs() added.
Amarnath Valluri [Thu, 1 Aug 2013 11:53:38 +0000 (14:53 +0300)]
deamon: Missing weak_urefs() added.

11 years agodaemon/ui: Error handling for refresh_dialog/cancel_dialog
Amarnath Valluri [Wed, 31 Jul 2013 09:10:36 +0000 (12:10 +0300)]
daemon/ui: Error handling for refresh_dialog/cancel_dialog

11 years agodaemon/ui: Returning error when no signonui available
Amarnath Valluri [Tue, 30 Jul 2013 14:34:20 +0000 (17:34 +0300)]
daemon/ui: Returning error when no signonui available

11 years agoautotools: fix out-of-tree compilation
Patrick Ohly [Tue, 23 Jul 2013 11:22:01 +0000 (13:22 +0200)]
autotools: fix out-of-tree compilation

Compiling with builddir != srcdir failed because
a) glib-mkenums did not find its input files when called
   outside of the srcdir.
b) The C files using the header files did not find them
   in the builddir, because they relied on include with double
   quotes.

Fixed with explicit $(srcdir) and -I.

11 years agoautotools: remove output files of glib-mkenums
Patrick Ohly [Tue, 23 Jul 2013 11:20:02 +0000 (13:20 +0200)]
autotools: remove output files of glib-mkenums

"make clean" should remove all files generate by "make all". The files
generated by glib-mkenums were not listed as files to be cleaned and
thus were not removed.

"make distcheck" probably would have caught that. Haven't checked.

11 years agodb: Memory leak fixed.
Amarnath Valluri [Tue, 30 Jul 2013 07:12:54 +0000 (10:12 +0300)]
db: Memory leak fixed.

11 years agotests: Updated valgrind suppression file to ignore g_get_user_data_dir() leak.
Amarnath Valluri [Tue, 30 Jul 2013 07:08:22 +0000 (10:08 +0300)]
tests: Updated valgrind suppression file to ignore g_get_user_data_dir() leak.

11 years agoplugin/password: Fix to handle empty username, password.
Amarnath Valluri [Fri, 26 Jul 2013 13:23:20 +0000 (16:23 +0300)]
plugin/password: Fix to handle empty username, password.

11 years agodaemon/db: Avoid saving junk records into secret db.
Amarnath Valluri [Fri, 26 Jul 2013 10:17:19 +0000 (13:17 +0300)]
daemon/db: Avoid saving junk records into secret db.

In case of saving username & secret into credential db,
validate the data to avoid saving junk record, which leads
to unpredictable behaviour as the same data is being used by
plugins to show on ui dialog.

11 years agodaemon/db: disabled ACL table triggers.
Amarnath Valluri [Thu, 25 Jul 2013 14:25:59 +0000 (17:25 +0300)]
daemon/db: disabled ACL table triggers.

Removing an enty in ACL table is leading to remove linked
methods & mechanisms upon updating an identity. Which leads to break
token cache stored in secret storage for that identity + method combination.

Methods & Mechanisms should not be created/removed based on identity.
They should be some how link to existance of plugins. Till this change
effect 'delete methods/mechanisms triggers' are disabled.

11 years agodaemon/db: Fix store/retrive token cache issue.
Amarnath Valluri [Wed, 24 Jul 2013 11:13:41 +0000 (14:13 +0300)]
daemon/db: Fix store/retrive token cache issue.

GVariant serialized data is prefixed with variant type while
saving(update_secret_data) it to secret storage, and that type information is used
while rebuilding(loda_secret_data) the variant.

Updated the relevent test case to mimic token cache.