apps/agl-service-data-persistence.git
6 years agomoved files to root folder.
Loïc Collignon [Thu, 8 Feb 2018 10:06:33 +0000 (11:06 +0100)]
moved files to root folder.

Change-Id: I7103241843736e1a5747253781485afa457a64d0
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agofix json key to string conversion. 5.0.1 eel/5.0.1 eel_5.0.1
Loïc Collignon [Mon, 29 Jan 2018 09:58:11 +0000 (10:58 +0100)]
fix json key to string conversion.

Change-Id: I65721f643086b4282f50ccb4fd4c03d2f525d30a
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoadd debugging html ui.
Loïc Collignon [Fri, 26 Jan 2018 08:34:28 +0000 (09:34 +0100)]
add debugging html ui.

Change-Id: I4e84bec38d9a2483ad6dbe0e393cde62e8c2a862
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agomove submodule to corresponding eel version
Loïc Collignon [Fri, 26 Jan 2018 07:00:00 +0000 (08:00 +0100)]
move submodule to corresponding eel version

Change-Id: Ib235271dff74ae4e1a376821901806ebd6399e68
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoFix entry point 81/12881/1 4.99.5 5.0.0 eel/4.99.5 eel/5.0.0 eel_4.99.5 eel_5.0.0
José Bollo [Thu, 21 Dec 2017 08:48:28 +0000 (09:48 +0100)]
Fix entry point

Change-Id: Ibafb560ffe6f4871cd7952dc96fd1ece08089f3f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agochanged default branch to eel in .gitreview
Loïc Collignon [Mon, 18 Dec 2017 14:58:24 +0000 (15:58 +0100)]
changed default branch to eel in .gitreview

Change-Id: Id99599940813e9a36f82e3e7c7ca7eb9eacee6e0
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agorenamed api to match better the repo name and the feature provided.
Loïc Collignon [Tue, 19 Dec 2017 16:14:33 +0000 (17:14 +0100)]
renamed api to match better the repo name and the feature provided.

Change-Id: I688950d9da5b3db903815a2869767d00df66b6cf
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoadd the .gitreview file
Loïc Collignon [Mon, 18 Dec 2017 09:24:08 +0000 (10:24 +0100)]
add the .gitreview file

Change-Id: Ic4a12e41c1ce67482c932a8e062c382b1c3772ac
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoremove obsolete description from readme
Loïc Collignon [Mon, 18 Dec 2017 09:23:02 +0000 (10:23 +0100)]
remove obsolete description from readme

Change-Id: Ia529a09deed894551f31bf74850e1d3f3f6f1b7c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoremoved unrelated files
Loïc Collignon [Fri, 15 Dec 2017 08:59:30 +0000 (09:59 +0100)]
removed unrelated files

Change-Id: Ie034281d2933cb7de0cf8cf6a2175376847acd9c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoadd nfc pam module
Loïc Collignon [Thu, 26 Oct 2017 14:27:49 +0000 (16:27 +0200)]
add nfc pam module

Change-Id: Icc42361f64948e2c2ab082fa973793f19737df2d
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agodatabase: export correct name
José Bollo [Thu, 26 Oct 2017 13:51:09 +0000 (15:51 +0200)]
database: export correct name

Change-Id: I6a68c89316a2f390ae72d846583d52d9dde38d4f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: setup permissions
José Bollo [Wed, 25 Oct 2017 16:18:36 +0000 (18:18 +0200)]
database: setup permissions

Change-Id: I5bb0debcff2175de05860b1e13fc6cb5b176a42a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: compatibility with gdbm 1.12
José Bollo [Wed, 25 Oct 2017 14:32:17 +0000 (16:32 +0200)]
database: compatibility with gdbm 1.12

Change-Id: I1362cf4fa1c68b80ba0f25926e4fb5fd9d6590d2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: fill widget data
José Bollo [Wed, 25 Oct 2017 14:11:21 +0000 (16:11 +0200)]
database: fill widget data

Change-Id: Ifdd50760cc4dd46f1d032dc8b25c93ca54a39f54
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoRevert "database: update the name of the API to 'lludb'"
José Bollo [Wed, 25 Oct 2017 14:10:49 +0000 (16:10 +0200)]
Revert "database: update the name of the API to 'lludb'"

This reverts commit d47da1579ad3912af32377dad1e361e4659e9be6.

7 years agodatabase: update the name of the API to 'lludb'
José Bollo [Wed, 25 Oct 2017 13:32:11 +0000 (15:32 +0200)]
database: update the name of the API to 'lludb'

Change-Id: I26c415784031d693be816fb9e96e8c255eac9eb0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: switch to use gdbm by default
José Bollo [Wed, 25 Oct 2017 12:47:16 +0000 (14:47 +0200)]
database: switch to use gdbm by default

Change-Id: I25b54a6b1f66f3acef3c1c7cb96e0daaa1019eae
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: call getuid only once
José Bollo [Wed, 25 Oct 2017 09:30:57 +0000 (11:30 +0200)]
database: call getuid only once

Change-Id: I249c0b712a66016bb578f203dc62ecaf6dac2b91
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: use PATH_MAX of system
José Bollo [Wed, 25 Oct 2017 09:29:20 +0000 (11:29 +0200)]
database: use PATH_MAX of system

Change-Id: I4b6567eb738c710109a2799f31575f83f5d852d1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: simplify
José Bollo [Wed, 25 Oct 2017 09:27:15 +0000 (11:27 +0200)]
database: simplify

Change-Id: I061051c5f8db1680368a2fd0089f554cd5969d73
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: fix regression bug
José Bollo [Wed, 25 Oct 2017 09:17:15 +0000 (11:17 +0200)]
database: fix regression bug

Change-Id: I01722b00fc47e9b09c15e5123b8b0ef1a089c62e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: include null and improve readability
José Bollo [Wed, 25 Oct 2017 09:06:30 +0000 (11:06 +0200)]
database: include null and improve readability

Change-Id: Iecf336beb8c5187fd4ed86f7785cd6bf1170cf19
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: fix bugs
José Bollo [Wed, 25 Oct 2017 08:22:56 +0000 (10:22 +0200)]
database: fix bugs

Change-Id: I69b84976d48eaca56d6053750ab2b6445021b216
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: Handle UNKNOWN-APP!
José Bollo [Wed, 25 Oct 2017 08:18:25 +0000 (10:18 +0200)]
database: Handle UNKNOWN-APP!

Change-Id: I850465cb233792a617ef27acf0228665e873226c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: refactor path compute of database
José Bollo [Tue, 24 Oct 2017 17:48:16 +0000 (19:48 +0200)]
database: refactor path compute of database

Change-Id: I6d0f90e72d9896c1b9a2827d318e4b1296a6f47d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: remove unused variables
José Bollo [Tue, 24 Oct 2017 17:24:17 +0000 (19:24 +0200)]
database: remove unused variables

Change-Id: I20ad19d9e42ff40ac60533bc031d5c776cf42bf1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: factorize insert and replace
José Bollo [Tue, 24 Oct 2017 17:23:42 +0000 (19:23 +0200)]
database: factorize insert and replace

Change-Id: I55ce17f70221c3b9c62d75484d9882a136e9c261
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: generalize use of get_key
José Bollo [Tue, 24 Oct 2017 17:03:42 +0000 (19:03 +0200)]
database: generalize use of get_key

Change-Id: Ie3612d66271c2d298207b7580ff125bf6705bfdc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: Add get_key function
José Bollo [Tue, 24 Oct 2017 15:18:44 +0000 (17:18 +0200)]
database: Add get_key function

Change-Id: I7789734f46a58f5c3e1e7e75143869dd33f53e03
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: remove tailing tabs
José Bollo [Tue, 24 Oct 2017 14:49:55 +0000 (16:49 +0200)]
database: remove tailing tabs

Change-Id: I76e1029dc9a4ca6002394742b058d7f1859175b3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: don't bother linker with locals
José Bollo [Tue, 24 Oct 2017 14:29:55 +0000 (16:29 +0200)]
database: don't bother linker with locals

Change-Id: Iba2c95c5bc9f7b1b0b07f98b69290ea014f82d20
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: return -1 when init fails
José Bollo [Tue, 24 Oct 2017 14:28:01 +0000 (16:28 +0200)]
database: return -1 when init fails

Change-Id: Ica032ca1de51c8ec47eb543eda762b8ae70b2895
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: fix warnings
José Bollo [Tue, 24 Oct 2017 14:22:32 +0000 (16:22 +0200)]
database: fix warnings

Change-Id: I20f0720bbfe5420a4f411d2dbe268d1d3cdd0cc5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agodatabase: remove duplited lines
José Bollo [Tue, 24 Oct 2017 14:21:17 +0000 (16:21 +0200)]
database: remove duplited lines

Change-Id: Ife25a2660f5f76b0e3f4eda3de2bcf86b2b997a5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agocleanup swap file
José Bollo [Tue, 24 Oct 2017 12:44:25 +0000 (14:44 +0200)]
cleanup swap file

Change-Id: I4879ae484fbf3253081aabc5e432ab8c27ebdede

7 years agopam_agl: remove unused function
José Bollo [Tue, 24 Oct 2017 12:37:31 +0000 (14:37 +0200)]
pam_agl: remove unused function

Change-Id: Ia55953111b662500c013787d58052afe5fcf6997
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoauth-binding: replace AFB_ERROR_V2 by AFB_ERROR
José Bollo [Tue, 24 Oct 2017 12:34:24 +0000 (14:34 +0200)]
auth-binding: replace AFB_ERROR_V2 by AFB_ERROR

Change-Id: I26cd8ac335f8cbf04b9119e99df4485341075b6b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix use of make event in preinit
Loïc Collignon [Tue, 24 Oct 2017 12:33:33 +0000 (14:33 +0200)]
fix use of make event in preinit

Change-Id: I3a2eb2805bdf618e3c8349776b02bbe1b7475ccc
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoreplaced store binding with a database binding based on a berkeley db
Loïc Collignon [Tue, 24 Oct 2017 11:34:38 +0000 (13:34 +0200)]
replaced store binding with a database binding based on a berkeley db

Change-Id: I03978ecbf996ebc6d53a88dfd2b275051080016f
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agofixed some an issue on the html UI.
Loïc Collignon [Tue, 1 Aug 2017 07:31:37 +0000 (09:31 +0200)]
fixed some an issue on the html UI.

Change-Id: Iabf8fb1220117b63dae74cd477fa02461a023118
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agofixed a crash when logout.
Loïc Collignon [Tue, 1 Aug 2017 07:18:10 +0000 (09:18 +0200)]
fixed a crash when logout.

Change-Id: I6073c89e9e507d79f6bf09254376465959d34782
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoauthenticate keys against a json document.
Loïc Collignon [Mon, 31 Jul 2017 21:33:53 +0000 (23:33 +0200)]
authenticate keys against a json document.

Change-Id: I988ccef75bf3f1def40893aa506d169a3926e32a
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agouse libudev instead of a udev rule and a script.
Loïc Collignon [Mon, 31 Jul 2017 16:14:46 +0000 (18:14 +0200)]
use libudev instead of a udev rule and a script.

Change-Id: Id19f4cd48d525621adc9ded9fc9e08d856dc08a5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoadded alternative UI.
Loïc Collignon [Mon, 31 Jul 2017 09:27:20 +0000 (11:27 +0200)]
added alternative UI.

Change-Id: Ic90ee4fdf051d3b467771f87a598605831bb53d6
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoadded some events to the API, like failure.
Loïc Collignon [Mon, 31 Jul 2017 09:26:33 +0000 (11:26 +0200)]
added some events to the API, like failure.

Change-Id: Ib102a729ab5666906edf19f24c04662a5c26fdba
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agochanged absolute path to relative in testing scripts.
Loïc Collignon [Mon, 31 Jul 2017 08:51:35 +0000 (10:51 +0200)]
changed absolute path to relative in testing scripts.

Change-Id: Icb566aa15091eece4e018382aae3beb546f4b9d2
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoupdated CMakeLists.txt with license and fixed a wrong path
Loïc Collignon [Mon, 31 Jul 2017 08:44:46 +0000 (10:44 +0200)]
updated CMakeLists.txt with license and fixed a wrong path

Change-Id: I0e02cc5ce1f5a42f98e614c6dc9edb45e354f2f0
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoupdate .gitignore for KDevelop4
Loïc Collignon [Mon, 31 Jul 2017 08:41:40 +0000 (10:41 +0200)]
update .gitignore for KDevelop4

Change-Id: Ibe9b328c83ec6a79336a677a7002e81991088aee
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agofirst somewhat working version.
Loïc Collignon [Tue, 11 Jul 2017 04:36:33 +0000 (06:36 +0200)]
first somewhat working version.

Change-Id: I3101dc6b8add87eccac3bbf177b1320137f72463
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoadded the PAM's module stub.
Loïc Collignon [Mon, 26 Jun 2017 14:39:43 +0000 (16:39 +0200)]
added the PAM's module stub.

Change-Id: Idc8470327d9eac2bad534cdfd4b58e8dc6e5ba6e
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoadded udev's rule sample.
Loïc Collignon [Mon, 26 Jun 2017 14:26:48 +0000 (16:26 +0200)]
added udev's rule sample.

Change-Id: If9e34127d6f06cfafc5ef7a307d5ce1691901fc5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoadded the binding's stub.
Loïc Collignon [Mon, 26 Jun 2017 14:26:03 +0000 (16:26 +0200)]
added the binding's stub.

Change-Id: Ifa41de28f071d013a4631f69fb238b53c2ab98e1
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoupdated the readme.
Loïc Collignon [Mon, 26 Jun 2017 13:37:17 +0000 (15:37 +0200)]
updated the readme.

Change-Id: I03b77765d05ec87e9c2035ab08624fac7f17dc39
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoAdded a default .gitignore.
Loïc Collignon [Mon, 26 Jun 2017 09:54:01 +0000 (11:54 +0200)]
Added a default .gitignore.

Change-Id: Ic13a6fce414fcb552d11ebbf6f4d872396cd0299
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
7 years agoInitial commit
Loïc Collignon [IoT.bzh] [Mon, 26 Jun 2017 09:52:04 +0000 (11:52 +0200)]
Initial commit