platform/upstream/gsignond.git
10 years agodocs: add documentation for GSignondSessionData
Alexander Kanavin [Mon, 1 Jul 2013 15:29:52 +0000 (18:29 +0300)]
docs: add documentation for GSignondSessionData

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

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

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

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

10 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

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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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

10 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

10 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.

10 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.

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 years agodaemon: Issues fixed in handling over the token_data to auth session
Amarnath Valluri [Mon, 22 Jul 2013 13:10:23 +0000 (16:10 +0300)]
daemon: Issues fixed in handling over the token_data to auth session

10 years agocommon: gsignond_dictionary_ref() now return slef pointer as other glib objects do.
Amarnath Valluri [Mon, 22 Jul 2013 13:07:51 +0000 (16:07 +0300)]
common: gsignond_dictionary_ref() now return slef pointer as other glib objects do.

10 years agodaemon: Fixes to issues found in signonui interaction
Amarnath Valluri [Mon, 22 Jul 2013 10:53:51 +0000 (13:53 +0300)]
daemon: Fixes to issues found in signonui interaction

10 years agodaemon: Close plugin poxy on remote proxy dead.
Amarnath Valluri [Mon, 22 Jul 2013 10:29:03 +0000 (13:29 +0300)]
daemon: Close plugin poxy on remote proxy dead.

10 years agodaemon: fix DBG location in _create_mechanism_cache()
Alexander Kanavin [Thu, 18 Jul 2013 16:09:36 +0000 (19:09 +0300)]
daemon: fix DBG location in _create_mechanism_cache()

10 years agocommon: treat NULL and 0-element GSequence as same when comparing
Alexander Kanavin [Thu, 18 Jul 2013 15:43:17 +0000 (18:43 +0300)]
common: treat NULL and 0-element GSequence as same when comparing

10 years agodb: if a GList is NULL, create a GSequence with 0 elements
Alexander Kanavin [Thu, 18 Jul 2013 15:42:19 +0000 (18:42 +0300)]
db: if a GList is NULL, create a GSequence with 0 elements

10 years agotests: fix valgrind issues
Alexander Kanavin [Thu, 4 Jul 2013 17:13:50 +0000 (20:13 +0300)]
tests: fix valgrind issues

10 years agoplugins: add a separate parameter for token cache throughout the API
Alexander Kanavin [Tue, 16 Jul 2013 20:51:56 +0000 (23:51 +0300)]
plugins: add a separate parameter for token cache throughout the API

10 years agoadded missing dependency
Imran Zaman [Wed, 10 Jul 2013 10:58:24 +0000 (13:58 +0300)]
added missing dependency

10 years agochanged unnecessary shared libs to convenience/static libs
Imran Zaman [Wed, 10 Jul 2013 10:12:01 +0000 (13:12 +0300)]
changed unnecessary shared libs to convenience/static libs

10 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Jussi Laako [Tue, 9 Jul 2013 14:18:16 +0000 (17:18 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

10 years agotizen: fix some -Wall -Werror issues
Jussi Laako [Tue, 9 Jul 2013 14:15:39 +0000 (17:15 +0300)]
tizen: fix some -Wall -Werror issues

10 years agodbus: generate hard-to-guess object paths
Jussi Laako [Tue, 9 Jul 2013 14:05:53 +0000 (17:05 +0300)]
dbus: generate hard-to-guess object paths

10 years agodaemon: fix up previous commit
Alexander Kanavin [Tue, 9 Jul 2013 12:12:59 +0000 (15:12 +0300)]
daemon: fix up previous commit

10 years agodaemon: request and update both username and secret in _request_credentials_update()
Alexander Kanavin [Mon, 8 Jul 2013 16:46:06 +0000 (19:46 +0300)]
daemon: request and update both username and secret in _request_credentials_update()

10 years agodaemon: set secret in session data on process() call (lost in action)
Jussi Laako [Mon, 8 Jul 2013 14:42:09 +0000 (17:42 +0300)]
daemon: set secret in session data on process() call (lost in action)

10 years agoinstall: use DESTDIR when setting permissions
Jussi Laako [Mon, 8 Jul 2013 12:04:26 +0000 (15:04 +0300)]
install: use DESTDIR when setting permissions

10 years agopackaging: add ubuntu/debian packaging
Jussi Laako [Thu, 4 Jul 2013 12:55:27 +0000 (15:55 +0300)]
packaging: add ubuntu/debian packaging

10 years agoinstall: install configuration and set permissions
Jussi Laako [Fri, 28 Jun 2013 14:27:45 +0000 (17:27 +0300)]
install: install configuration and set permissions

10 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Jussi Laako [Thu, 27 Jun 2013 15:00:10 +0000 (18:00 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

10 years agoconfig: add default configuration with some documentation
Jussi Laako [Thu, 27 Jun 2013 14:59:45 +0000 (17:59 +0300)]
config: add default configuration with some documentation

10 years agotests: fail 'make check' immediately without running the tests if debug is disabled
Alexander Kanavin [Tue, 25 Jun 2013 17:33:42 +0000 (20:33 +0300)]
tests: fail 'make check' immediately without running the tests if debug is disabled

10 years agoRemoves the stale files if deleted from the git repo
Imran Zaman [Mon, 24 Jun 2013 13:52:51 +0000 (16:52 +0300)]
Removes the stale files if deleted from the git repo

10 years agoRelease 0.0.2
Imran Zaman [Mon, 24 Jun 2013 12:54:09 +0000 (15:54 +0300)]
Release 0.0.2

10 years agodefault dbus type for tizen should be p2p
Imran Zaman [Mon, 24 Jun 2013 12:53:22 +0000 (15:53 +0300)]
default dbus type for tizen should be p2p

10 years agodaemon/dbus: bug in session bus path fixed.
Amarnath Valluri [Mon, 24 Jun 2013 12:24:01 +0000 (15:24 +0300)]
daemon/dbus: bug in session bus path fixed.

weak object refs are not cleared on auth sessions, which causing
crash in daemon cleanup path.

10 years agopackaging: don't require dbus daemon when built for p2p
Jussi Laako [Thu, 20 Jun 2013 11:25:02 +0000 (14:25 +0300)]
packaging: don't require dbus daemon when built for p2p

10 years agocommon: remove incorrect reference to a private header from a public header
Alexander Kanavin [Tue, 18 Jun 2013 19:40:31 +0000 (22:40 +0300)]
common: remove incorrect reference to a private header from a public header

10 years agodamon:: TRACEBACK() utility macro added to trace back a function call.
Amarnath Valluri [Tue, 18 Jun 2013 14:05:27 +0000 (17:05 +0300)]
damon:: TRACEBACK() utility macro added to trace back a function call.

10 years agodaemon/dbus: safe check added - validating the user_data
Amarnath Valluri [Tue, 18 Jun 2013 14:04:16 +0000 (17:04 +0300)]
daemon/dbus: safe check added - validating the user_data

10 years agobuild: Avoid installing un-needed RemotePlugin.xml file
Amarnath Valluri [Tue, 18 Jun 2013 14:03:11 +0000 (17:03 +0300)]
build: Avoid installing un-needed RemotePlugin.xml file

10 years agoupdated prepare-tizen script as softlink does not work with gbs packaging
Imran Zaman [Mon, 17 Jun 2013 15:01:58 +0000 (18:01 +0300)]
updated prepare-tizen script as softlink does not work with gbs packaging

10 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Imran Zaman [Mon, 17 Jun 2013 14:39:01 +0000 (17:39 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

10 years agofixed dists path name change
Imran Zaman [Mon, 17 Jun 2013 14:38:24 +0000 (17:38 +0300)]
fixed dists path name change

10 years agopackaging: rename 'dist' to 'dists' to avoid conflicts with autotools
Jussi Laako [Mon, 17 Jun 2013 14:27:34 +0000 (17:27 +0300)]
packaging: rename 'dist' to 'dists' to avoid conflicts with autotools

10 years agoadded tools folder to dist
Imran Zaman [Mon, 17 Jun 2013 14:17:40 +0000 (17:17 +0300)]
added tools folder to dist

10 years agoscript to extract release tar ball and create packaging folder for tizen dist
Imran Zaman [Mon, 17 Jun 2013 14:10:33 +0000 (17:10 +0300)]
script to extract release tar ball and create packaging folder for tizen dist

10 years agofixed distcheck issue after packaging directory is renamed
Imran Zaman [Mon, 17 Jun 2013 13:06:07 +0000 (16:06 +0300)]
fixed distcheck issue after packaging directory is renamed

10 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Jussi Laako [Mon, 17 Jun 2013 12:49:11 +0000 (15:49 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

10 years agopackaging: update packaging directory structure to avoid conflicts
Jussi Laako [Mon, 17 Jun 2013 12:48:52 +0000 (15:48 +0300)]
packaging: update packaging directory structure to avoid conflicts

10 years agodaemon/ui: Changes to support signonui-efl p2p changes.
Amarnath Valluri [Mon, 17 Jun 2013 12:24:29 +0000 (15:24 +0300)]
daemon/ui: Changes to support signonui-efl p2p changes.

Avoid using ui.xml and auto generated code, now directly using GDBus API.

10 years agocommon: remove gsignond-common-db library from pkgconfig files
Alexander Kanavin [Fri, 14 Jun 2013 14:39:52 +0000 (17:39 +0300)]
common: remove gsignond-common-db library from pkgconfig files

10 years agoadd packaging file to dist
Imran Zaman [Fri, 14 Jun 2013 13:26:36 +0000 (16:26 +0300)]
add packaging file to dist

10 years agoconfigure: make distcheck work for pkg-config based target paths
Jussi Laako [Thu, 13 Jun 2013 15:02:21 +0000 (18:02 +0300)]
configure: make distcheck work for pkg-config based target paths

10 years agoupdated spec files
Imran Zaman [Thu, 13 Jun 2013 13:56:36 +0000 (16:56 +0300)]
updated spec files

10 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Imran Zaman [Thu, 13 Jun 2013 13:12:27 +0000 (16:12 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

10 years agoenable valgrind for all tests
Imran Zaman [Thu, 13 Jun 2013 13:12:10 +0000 (16:12 +0300)]
enable valgrind for all tests

10 years agoautomake: change tar format to remove filename length limitation
Jussi Laako [Thu, 13 Jun 2013 12:16:39 +0000 (15:16 +0300)]
automake: change tar format to remove filename length limitation

11 years agoplugind: dup() faileure check added.
Amarnath Valluri [Wed, 12 Jun 2013 13:15:58 +0000 (16:15 +0300)]
plugind: dup() faileure check added.

11 years agodaemon: Fixed issue in plugin user-action request path.
Amarnath Valluri [Wed, 12 Jun 2013 13:06:45 +0000 (16:06 +0300)]
daemon: Fixed issue in plugin user-action request path.

11 years agopackaging: update openSuSE spec file
Jussi Laako [Wed, 12 Jun 2013 12:52:51 +0000 (15:52 +0300)]
packaging: update openSuSE spec file

11 years agofixed issues reported by 'make distcheck'
Imran Zaman [Wed, 12 Jun 2013 12:12:35 +0000 (15:12 +0300)]
fixed issues reported by 'make distcheck'

11 years agoremoved unused variable
Imran Zaman [Wed, 12 Jun 2013 09:44:20 +0000 (12:44 +0300)]
removed unused variable

11 years agoFixed memory leak
Imran Zaman [Wed, 12 Jun 2013 09:43:53 +0000 (12:43 +0300)]
Fixed memory leak

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Imran Zaman [Tue, 11 Jun 2013 13:32:06 +0000 (16:32 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agoFixed plugind error when gsignond gets down callback after remote plugind object...
Imran Zaman [Tue, 11 Jun 2013 13:17:01 +0000 (16:17 +0300)]
Fixed plugind error when gsignond gets down callback after remote plugind object is destroyed

11 years agodaemon: Clocwork issues fixed.
Amarnath Valluri [Tue, 11 Jun 2013 12:40:08 +0000 (15:40 +0300)]
daemon: Clocwork issues fixed.

11 years agotests: increase time because of valgrind
Imran Zaman [Tue, 11 Jun 2013 12:12:39 +0000 (15:12 +0300)]
tests: increase time because of valgrind

11 years agofixed memory leak in factory
Imran Zaman [Tue, 11 Jun 2013 12:10:15 +0000 (15:10 +0300)]
fixed memory leak in factory

11 years agobuild: fix 'make dist'
Jussi Laako [Mon, 10 Jun 2013 14:17:54 +0000 (17:17 +0300)]
build: fix 'make dist'

11 years agoplugind: check prctl() return value
Jussi Laako [Fri, 7 Jun 2013 12:25:59 +0000 (15:25 +0300)]
plugind: check prctl() return value

11 years agodaemon/dbus: depreceted _disposable_set_keep_in_use().
Amarnath Valluri [Thu, 6 Jun 2013 13:50:46 +0000 (16:50 +0300)]
daemon/dbus: depreceted _disposable_set_keep_in_use().

11 years agofixed failing test case
Imran Zaman [Thu, 6 Jun 2013 13:32:50 +0000 (16:32 +0300)]
fixed failing test case

11 years agoadded timestamps to logs
Imran Zaman [Thu, 6 Jun 2013 13:32:32 +0000 (16:32 +0300)]
added timestamps to logs

11 years agocommon: Fix issues in disposable object.
Amarnath Valluri [Thu, 6 Jun 2013 08:15:43 +0000 (11:15 +0300)]
common: Fix issues in disposable object.

Now 'auto_dispose' in Disposable object is a counter where it gets incremented
when called gsignond_disposable_set_auto_dispose() with TRUE, or decremented
when called with FALSE. Auto disposable timeout starts when the counter reaches
to 0, i.e, no other keep object requests.

11 years agoupdated plugins tests
Imran Zaman [Thu, 6 Jun 2013 12:17:40 +0000 (15:17 +0300)]
updated plugins tests

11 years agowait using mainloop until plugind is up or until plugind is destoyed
Imran Zaman [Thu, 6 Jun 2013 12:17:11 +0000 (15:17 +0300)]
wait using mainloop until plugind is up or until plugind is destoyed

11 years agoDisabled writing to stdin, stdout and stderr until the signal "I am UP" is sent to...
Imran Zaman [Thu, 6 Jun 2013 12:15:27 +0000 (15:15 +0300)]
Disabled writing to stdin, stdout and stderr until the signal "I am UP" is sent to gsignond by plugind

11 years agoidentity: update identity on user action complete
Jussi Laako [Wed, 5 Jun 2013 15:07:46 +0000 (18:07 +0300)]
identity: update identity on user action complete

11 years agotest: fix test makefiles and includes
Jussi Laako [Wed, 5 Jun 2013 15:07:26 +0000 (18:07 +0300)]
test: fix test makefiles and includes

11 years agotest/daemon: using custom file desripter to get bus address while forking dbus-daemon.
Amarnath Valluri [Tue, 4 Jun 2013 13:35:05 +0000 (16:35 +0300)]
test/daemon: using custom file desripter to get bus address while forking dbus-daemon.

11 years agodaemon/plugin: Made plugin-proxy self disposable with configurable timeout.
Amarnath Valluri [Tue, 4 Jun 2013 09:09:50 +0000 (12:09 +0300)]
daemon/plugin: Made plugin-proxy self disposable with configurable timeout.

Plugin timeout can be configurable using either SSO_PLUGIN_TIMEOUT environmental
variable or .conf file General/PluginTimeout key. PluginProxy will be cached
till this timeout before going down after last referece by auth sessions.

Pluginproxy test case added to test this.

11 years agoinstall: clean up installed headers
Jussi Laako [Tue, 4 Jun 2013 13:19:58 +0000 (16:19 +0300)]
install: clean up installed headers

11 years agobuild: install headers
Jussi Laako [Mon, 3 Jun 2013 12:32:44 +0000 (15:32 +0300)]
build: install headers

11 years agodbus: fix installation and packaging
Jussi Laako [Mon, 3 Jun 2013 11:50:46 +0000 (14:50 +0300)]
dbus: fix installation and packaging

11 years agotests: updated library paths for plugins tests
Imran Zaman [Mon, 3 Jun 2013 11:18:47 +0000 (14:18 +0300)]
tests: updated library paths for plugins tests