platform/upstream/gsignond.git
11 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

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

11 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

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

11 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

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

11 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

11 years agocommon: Moving Disposable object to common.
Amarnath Valluri [Mon, 3 Jun 2013 07:35:05 +0000 (10:35 +0300)]
common: Moving Disposable object to common.

11 years agotest/daemon: fix test failure when db traces are enabled. Few more fixes
Amarnath Valluri [Fri, 31 May 2013 20:10:40 +0000 (23:10 +0300)]
test/daemon: fix test failure when db traces are enabled. Few more fixes

11 years agofixed errors when compiling tests under ivi device
Imran Zaman [Fri, 31 May 2013 13:53:32 +0000 (16:53 +0300)]
fixed errors when compiling tests under ivi device

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Amarnath Valluri [Fri, 31 May 2013 12:17:03 +0000 (15:17 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agotools: fix to daemon startup script to support OpenSUSE environment.
Amarnath Valluri [Fri, 31 May 2013 12:15:49 +0000 (15:15 +0300)]
tools: fix to daemon startup script to support OpenSUSE environment.

11 years agoplugind: read the exit status of child process when it is killed to avoid zombies
Imran Zaman [Thu, 30 May 2013 13:20:59 +0000 (16:20 +0300)]
plugind: read the exit status of child process when it is killed to avoid zombies

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Imran Zaman [Wed, 29 May 2013 14:42:32 +0000 (17:42 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agoplugins: check for plugin types before loading it
Imran Zaman [Wed, 29 May 2013 14:41:05 +0000 (17:41 +0300)]
plugins: check for plugin types before loading it

11 years agotools: handy script to start daemon with duma or gdb support
Amarnath Valluri [Wed, 29 May 2013 14:34:40 +0000 (17:34 +0300)]
tools: handy script to start daemon with duma or gdb support

11 years agodb: return failure if foreign keys are not enabled
Imran Zaman [Wed, 29 May 2013 11:55:01 +0000 (14:55 +0300)]
db: return failure if foreign keys are not enabled

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Jussi Laako [Wed, 29 May 2013 11:41:02 +0000 (14:41 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agotools: make the modified test script the only one
Jussi Laako [Wed, 29 May 2013 11:40:23 +0000 (14:40 +0300)]
tools: make the modified test script the only one

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Imran Zaman [Wed, 29 May 2013 11:36:05 +0000 (14:36 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agodb: fixed enable sql log option
Imran Zaman [Wed, 29 May 2013 11:35:44 +0000 (14:35 +0300)]
db: fixed enable sql log option

11 years agolog: change g_error() to g_critical() and set fatal level depending on
Jussi Laako [Wed, 29 May 2013 11:31:28 +0000 (14:31 +0300)]
log: change g_error() to g_critical() and set fatal level depending on
ENABLE_DEBUG

11 years agoadded testbinaries to gitignore
Imran Zaman [Wed, 29 May 2013 11:02:27 +0000 (14:02 +0300)]
added testbinaries to gitignore

11 years agofixed data type for data
Imran Zaman [Wed, 29 May 2013 10:42:25 +0000 (13:42 +0300)]
fixed data type for data

11 years agodb: uncommented db test code
Imran Zaman [Wed, 29 May 2013 10:18:02 +0000 (13:18 +0300)]
db: uncommented db test code

11 years agodb: sql logs can be enabled with --enable-sql-log command line option
Imran Zaman [Wed, 29 May 2013 09:12:44 +0000 (12:12 +0300)]
db: sql logs can be enabled with --enable-sql-log command line option

11 years agodb: added triggers for cleanup of methods, mechanisms and secctx tables
Imran Zaman [Tue, 28 May 2013 12:10:51 +0000 (15:10 +0300)]
db: added triggers for cleanup of methods, mechanisms and secctx tables

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Amarnath Valluri [Tue, 28 May 2013 13:23:31 +0000 (16:23 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agodaemon/dbus: peer-2-peer dbus now using file system socket.
Amarnath Valluri [Tue, 28 May 2013 13:20:56 +0000 (16:20 +0300)]
daemon/dbus: peer-2-peer dbus now using file system socket.

supported change should go in client library.

11 years agoMerge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon
Imran Zaman [Tue, 28 May 2013 11:53:21 +0000 (14:53 +0300)]
Merge branch 'daemon' of https://code.google.com/p/accounts-sso.gsignond into daemon

11 years agochanged ERR to WARN to avoid daemon going down altogether
Imran Zaman [Tue, 28 May 2013 11:52:53 +0000 (14:52 +0300)]
changed ERR to WARN to avoid daemon going down altogether

11 years agologs updated
Imran Zaman [Tue, 28 May 2013 11:52:24 +0000 (14:52 +0300)]
logs updated

11 years agomoved null check after the db opened check
Imran Zaman [Tue, 28 May 2013 11:51:35 +0000 (14:51 +0300)]
moved null check after the db opened check

11 years agodaemon/dbus: Fix - Invalid read found in valgrind tests
Amarnath Valluri [Mon, 27 May 2013 13:21:21 +0000 (16:21 +0300)]
daemon/dbus: Fix - Invalid read found in valgrind tests

11 years agotests: fixed running valgrind in case of session dbus
Imran Zaman [Mon, 27 May 2013 08:12:17 +0000 (11:12 +0300)]
tests: fixed running valgrind in case of session dbus

11 years agoAdd test script for opensuse
Jussi Laako [Fri, 24 May 2013 14:22:51 +0000 (17:22 +0300)]
Add test script for opensuse

11 years agotest: fixed multiple cancel triggers
Imran Zaman [Fri, 24 May 2013 12:49:03 +0000 (15:49 +0300)]
test: fixed multiple cancel triggers

11 years agotest/daemon: few memory leaks fixed and tests strartup delay increased to 5 sec.
Amarnath Valluri [Fri, 24 May 2013 10:48:45 +0000 (13:48 +0300)]
test/daemon: few memory leaks fixed and tests strartup delay increased to 5 sec.

11 years agotest: fixed memory leaks in tests
Imran Zaman [Fri, 24 May 2013 10:18:00 +0000 (13:18 +0300)]
test: fixed memory leaks in tests

11 years agotools: added shell script to automate testing of unit tests
Imran Zaman [Fri, 24 May 2013 09:26:47 +0000 (12:26 +0300)]
tools: added shell script to automate testing of unit tests

11 years agotest: all tests use single path for dbs
Imran Zaman [Fri, 24 May 2013 09:25:56 +0000 (12:25 +0300)]
test: all tests use single path for dbs

11 years agodb: fixed cleanup problem with secctx and methods tables using triggers. Recreated...
Imran Zaman [Fri, 24 May 2013 09:21:58 +0000 (12:21 +0300)]
db: fixed cleanup problem with secctx and methods tables using triggers. Recreated triggers as renamed credentials table to identity table.

11 years agoplugind: fix klocwork issue #18
Amarnath Valluri [Fri, 24 May 2013 09:15:23 +0000 (12:15 +0300)]
plugind: fix klocwork issue #18

11 years agodaemon/dbus: Fix meormy leak
Amarnath Valluri [Fri, 24 May 2013 07:23:20 +0000 (10:23 +0300)]
daemon/dbus: Fix meormy leak

11 years agossotest: fix the plugin back
Jussi Laako [Thu, 23 May 2013 14:43:54 +0000 (17:43 +0300)]
ssotest: fix the plugin back

11 years agoupdated gitignore for plugind binary
Imran Zaman [Thu, 23 May 2013 11:32:18 +0000 (14:32 +0300)]
updated gitignore for plugind binary

11 years agotest/daemon: SSO_BIN_DIR is used for executables
Imran Zaman [Thu, 23 May 2013 10:44:05 +0000 (13:44 +0300)]
test/daemon: SSO_BIN_DIR is used for executables

11 years agovarious cleanups
Jussi Laako [Wed, 22 May 2013 14:40:55 +0000 (17:40 +0300)]
various cleanups

11 years agotest/daemon: moved test-startup script to inside the test code.
Jussi Laako [Tue, 21 May 2013 11:45:47 +0000 (14:45 +0300)]
test/daemon: moved test-startup script to inside the test code.

11 years agotest/daemon: clean up db path while running tests.
Amarnath Valluri [Tue, 21 May 2013 20:27:36 +0000 (23:27 +0300)]
test/daemon: clean up db path while running tests.

11 years agoconfig: fix build for release
Jussi Laako [Tue, 21 May 2013 14:16:28 +0000 (17:16 +0300)]
config: fix build for release

11 years agodaemon/db: fix in empty realm case
Amarnath Valluri [Tue, 21 May 2013 13:56:40 +0000 (16:56 +0300)]
daemon/db: fix in empty realm case

11 years agotest/daemon: Daemon tests cleanup.
Amarnath Valluri [Mon, 20 May 2013 13:46:32 +0000 (16:46 +0300)]
test/daemon: Daemon tests cleanup.

11 years agodisable environment variables and static config location for release
Jussi Laako [Tue, 21 May 2013 12:44:08 +0000 (15:44 +0300)]
disable environment variables and static config location for release

11 years agotest: fix one test case and allow setting keychain sysctx for testing
Jussi Laako [Mon, 20 May 2013 13:52:27 +0000 (16:52 +0300)]
test: fix one test case and allow setting keychain sysctx for testing

11 years agoacm: (default) support access control by reading remote process identity
Jussi Laako [Fri, 17 May 2013 13:53:04 +0000 (16:53 +0300)]
acm: (default) support access control by reading remote process identity

11 years agoFixed compilation error for const pointer
Imran Zaman [Mon, 20 May 2013 11:53:20 +0000 (14:53 +0300)]
Fixed compilation error for const pointer

11 years agodaemon : AuthService.queryIdentities() implemented
Amarnath Valluri [Thu, 16 May 2013 11:24:25 +0000 (14:24 +0300)]
daemon : AuthService.queryIdentities() implemented

11 years agodaemon/dbus : Fix issues in daemon timeout
Amarnath Valluri [Fri, 17 May 2013 11:34:07 +0000 (14:34 +0300)]
daemon/dbus : Fix issues in daemon timeout

11 years agofixed memory leaks
Imran Zaman [Fri, 17 May 2013 16:35:37 +0000 (19:35 +0300)]
fixed memory leaks

11 years agodbus: return empty methods list in case no methods are found
Imran Zaman [Fri, 17 May 2013 08:53:54 +0000 (11:53 +0300)]
dbus: return empty methods list in case no methods are found

11 years agoplugind: initialize methods to be NULL
Imran Zaman [Thu, 16 May 2013 12:42:03 +0000 (15:42 +0300)]
plugind: initialize methods to be NULL

11 years agotests/daemon: Daemon test failues for p2p-dbus fixed.
Amarnath Valluri [Sat, 11 May 2013 10:02:30 +0000 (13:02 +0300)]
tests/daemon: Daemon test failues for p2p-dbus fixed.

GTestBusServer is limited only for 'session' bus.

11 years agodaemon/dbus: dbus server cleanup issue fixed
Amarnath Valluri [Fri, 10 May 2013 12:04:35 +0000 (15:04 +0300)]
daemon/dbus: dbus server cleanup issue fixed

11 years agopackaging: add gsignond-plugind to the spec
Jussi Laako [Wed, 15 May 2013 13:25:11 +0000 (16:25 +0300)]
packaging: add gsignond-plugind to the spec

11 years agocheck: fix test paths
Jussi Laako [Wed, 15 May 2013 13:21:45 +0000 (16:21 +0300)]
check: fix test paths

11 years agoplugind: fix parallel build
Jussi Laako [Wed, 15 May 2013 13:00:56 +0000 (16:00 +0300)]
plugind: fix parallel build

11 years agoplugind: plugin dbus timeout is not needed
Imran Zaman [Wed, 15 May 2013 12:09:27 +0000 (15:09 +0300)]
plugind: plugin dbus timeout is not needed

11 years agoDon't call g_type_init() when glib >= 2.36.0
Alexander Kanavin [Tue, 14 May 2013 20:32:37 +0000 (23:32 +0300)]
Don't call g_type_init() when glib >= 2.36.0

11 years agoplugind: fix SIGPIPE crashes
Alexander Kanavin [Tue, 14 May 2013 20:14:35 +0000 (23:14 +0300)]
plugind: fix SIGPIPE crashes

11 years agoplugind: fixed memory leak introduced in last commit
Imran Zaman [Tue, 14 May 2013 12:38:43 +0000 (15:38 +0300)]
plugind: fixed memory leak introduced in last commit

11 years agoplugind: delay message processing at child to fix the race condition and removed...
Imran Zaman [Tue, 14 May 2013 12:01:31 +0000 (15:01 +0300)]
plugind: delay message processing at child to fix the race condition and removed plugin ready signal