apps/agl-service-data-persistence.git
20 months agoAdd gitreview file for Nifty Needlefish branch needlefish
Jan-Simon Moeller [Fri, 5 Aug 2022 21:24:48 +0000 (23:24 +0200)]
Add gitreview file for Nifty Needlefish branch

Update the .gitreview file.

Bug-AGL: SPEC-4518
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Idabbe432f62613420d947fb8c6e496c40c4eb9d2

3 years agoFix package license to Apache-2.0 94/24894/4 10.91.0 10.92.0 10.93.0 11.91.0 11.92.0 12.90.0 12.90.1 12.91.0 12.92.0 12.93.0 13.93.0 9.99.2 9.99.3 9.99.4 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi/10.92.0 koi/10.93.0 koi_10.91.0 koi_10.92.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin/12.91.0 marlin/12.92.0 marlin/12.93.0 marlin_12.90.0 marlin_12.90.1 marlin_12.91.0 marlin_12.92.0 marlin_12.93.0 needlefish/13.93.0 needlefish_13.93.0
Li, Xiaoming [Mon, 13 Jul 2020 02:41:09 +0000 (10:41 +0800)]
Fix package license to Apache-2.0

As this package is developed by IOT.BZH originally from scratch,
it should be licensed under Apache-2.0.

Bug-AGL: SPEC-3440

Change-Id: If29cd03eae8d5980c9139bf68501003d67f402f5
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
3 years agofix(confg.cmake): set PROJECT_DESCRIPTION and PROJECT_URL to silence CMake warning 93/24893/1
Li, Xiaoming [Mon, 29 Jun 2020 10:11:49 +0000 (03:11 -0700)]
fix(confg.cmake): set PROJECT_DESCRIPTION and PROJECT_URL to silence CMake warning

No description found.  Please set a PROJECT_DESCRIPTION cmake
variable in your config.cmake.

No homepage url found.  Please set a PROJECT_URL cmake variable in
your config.cmake.

Bug-AGL: SPEC-2804

Change-Id: I8eed52d96401c6613d7019e8826439c95fa9d4f0
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
3 years agoUpdate autobuild scripts 04/24704/1 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Scott Murray [Tue, 9 Jun 2020 22:42:34 +0000 (18:42 -0400)]
Update autobuild scripts

Update autobuild scripts with reworked version that fixes building
outside of the source tree.

Bug-AGL: SPEC-2049, SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib65a318d1e755f86a0a410715c4e986008e702c0

4 years agoUpdate autobuild script to create new targets 74/23974/1
Frederic Marec [Tue, 18 Feb 2020 09:43:31 +0000 (10:43 +0100)]
Update autobuild script to create new targets

Update autobuild script to create multiple widget target debug, coverage and all

Bug-AGL: SPEC-2049

Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I7a761f463bb91269a0ce534c82391cb1d5e0ff3a

4 years agofix: change test example following afb-test tree 45/22945/1 8.99.1 8.99.2 8.99.3 8.99.4 8.99.5 icefish/8.99.1 icefish/8.99.2 icefish/8.99.3 icefish/8.99.4 icefish/8.99.5 icefish_8.99.1 icefish_8.99.2 icefish_8.99.3 icefish_8.99.4 icefish_8.99.5
Li Xiaoming [Wed, 13 Nov 2019 09:31:13 +0000 (17:31 +0800)]
fix: change test example following afb-test tree

Change test repository tree

Bug-AGL: SPEC-2040

Change-Id: Ic6aa57e181da9fb5587357c74dd6a1c6174bd1ec
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
4 years agoModified persistence test cases 50/22650/1
Gaykawadpk [Tue, 15 Oct 2019 13:08:03 +0000 (18:38 +0530)]
Modified persistence test cases

Changed persistence test cases according to change https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps/agl-service-data-persistence.git;a=commit;h=fb31aa674d3e006b7a7327c068f048ab9cee1964

Bug-AGL: SPEC-2877

Signed-off-by: Gaykawadpk <Puja.Kumari@kpit.com>
Change-Id: I5f6c8d38bb8c430c6287b79d9b307a5e7381c90a

4 years agobinding: data-persistence: Modified the response of verb_read 76/22476/6
Gaykawadpk [Sat, 21 Sep 2019 12:07:08 +0000 (17:37 +0530)]
binding: data-persistence: Modified the response of verb_read

Added key and value both in response so that user can know which key the value corresponds to.
The current persistence implementation responds with only the value when queried. Since this is
async call and multiple keys can be queried at the same time, the key and value should be given
as response to any persistence query done. This will improve the readability of the Read verb
response for user application.

Also made the same changes for failed case of Read verb so that if read verb fails, user can know
for which key it failed.

Bug-AGL: SPEC-2828

Signed-off-by: Gaykawadpk <Puja.Kumari@kpit.com>
Change-Id: I565cd78ca2c1e7c5d5f63ab49479b495044772ce

4 years agoMigration to binding version 3 31/22131/1
José Bollo [Fri, 9 Aug 2019 14:31:03 +0000 (16:31 +0200)]
Migration to binding version 3

Bug-AGL: SPEC-2743

Change-Id: I7eb6c685076aafd9c685aea102ee91ae95c716f8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agobinding: data-persistence: add scope-platform permission to config.xml.in 56/21756/1 halibut 7.99.2 7.99.3 8.0.0 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.0.6 halibut/7.99.2 halibut/7.99.3 halibut/8.0.0 halibut/8.0.1 halibut/8.0.2 halibut/8.0.3 halibut/8.0.4 halibut/8.0.5 halibut/8.0.6 halibut_7.99.2 halibut_7.99.3 halibut_8.0.0 halibut_8.0.1 halibut_8.0.2 halibut_8.0.3 halibut_8.0.4 halibut_8.0.5 halibut_8.0.6
Matt Ranostay [Thu, 27 Jun 2019 00:10:53 +0000 (17:10 -0700)]
binding: data-persistence: add scope-platform permission to config.xml.in

Add urn:AGL:permission::partner:scope-platform to run on the platform scope.
This is required since for platform scope services that need this binding to
store configuration data.

Bug-AGL: SPEC-2575
Change-Id: Ia68ffcaffc624075cd4df983daf4a2be4d0978bb
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoagl-service-data-persistence: change AFB_INFO calls to AFB_DEBUG 87/20987/1 7.99.1 halibut/7.99.1 halibut_7.99.1
Matt Ranostay [Wed, 10 Apr 2019 19:15:21 +0000 (12:15 -0700)]
agl-service-data-persistence: change AFB_INFO calls to AFB_DEBUG

AFB_INFO calls for key creation/update/delete for key value pairs is
cluttering up the journal, and also a security risk for possibly leaking
data.

Change-Id: Ifcaf3de5551c66ba4e5813dcaf447d9ca1ef25a1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoautobuild: fix warnings due to cp command exit error 07/20407/1
Raquel Medina [Mon, 25 Feb 2019 15:13:42 +0000 (17:13 +0200)]
autobuild: fix warnings due to cp command exit error

Change-Id: I8afacb63d0932d098b8672b69fc6831a6253de40
Bug-AGL: SPEC-2164
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agoMove autobuild to top tree 63/19763/1 7.90.0 halibut/7.90.0 halibut_7.90.0
Frederic Marec [Fri, 25 Jan 2019 14:39:45 +0000 (15:39 +0100)]
Move autobuild to top tree

Bug-AGL: SPEC-495

Change-Id: I6a5e765e94c2b6aa66005db2d45d9ab7f716912b
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoIncrease tests for data-persistence binding 61/19761/1
Frederic Marec [Thu, 10 Jan 2019 13:28:14 +0000 (14:28 +0100)]
Increase tests for data-persistence binding

Change-Id: I17ebecfe5a1f7ffac2a1f99e1d3195793fdf1aad
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoChange .gitmodules following submodule migration 69/17769/3 6.99.1 6.99.2 6.99.3 6.99.4 guppy/6.99.1 guppy/6.99.2 guppy/6.99.3 guppy/6.99.4 guppy_6.99.1 guppy_6.99.2 guppy_6.99.3 guppy_6.99.4
Frederic Marec [Tue, 6 Nov 2018 16:10:33 +0000 (17:10 +0100)]
Change .gitmodules following submodule migration

Remove app-template in .gitmodules
Remove .gitmodules

Change-Id: I152bd72ec776fc39f9aebab5bdb1577e99e0659f
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoImprove tests for data-persistence 65/17765/4
Frederic Marec [Tue, 6 Nov 2018 15:52:03 +0000 (16:52 +0100)]
Improve tests for data-persistence

Change-Id: Ie964ae5411b90ab21f0bb5ccc48fd45d6b63fded
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoMigrate app-templates to CMake module 65/17565/2
Romain Forlot [Tue, 23 Oct 2018 13:26:33 +0000 (15:26 +0200)]
Migrate app-templates to CMake module

Bug-AGL SPEC-1682

Change-Id: Icb299d7f824683b454731a47ca928184abf494b1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoUse feature 'required-binding' 47/17047/1
Jose Bollo [Tue, 9 Oct 2018 10:01:16 +0000 (12:01 +0200)]
Use feature 'required-binding'

The feature "urn:AGL:widget:required-binding" is now
preferred to the feature "urn:AGL:widget:required-api"
for requiring a local binding.

Bug-AGL: SPEC-1800

Change-Id: Id5f13a3f51b44235cf3b8e4920e9a00acac28041
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
5 years agoFix config.cmake 47/16847/2
Frederic Marec [Fri, 28 Sep 2018 07:05:18 +0000 (09:05 +0200)]
Fix config.cmake

Change config.cmake to follow app-templates submodule update

Change-Id: I9137645cf8e2dd0e52cce74ab0eeb9f4dd282e23
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoAdd tests for data persistence binding 45/16845/2
Frederic Marec [Fri, 28 Sep 2018 07:01:04 +0000 (09:01 +0200)]
Add tests for data persistence binding

Add test tree structures
Add tests for persistence binding
Add dependency in README.md

Change-Id: If3fa3450fa61cd7e440712354b123d02934e2488
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoUpdate version of conf.d/app-templates submodule. 43/16843/2
Frederic Marec [Tue, 25 Sep 2018 08:36:51 +0000 (10:36 +0200)]
Update version of conf.d/app-templates submodule.

Changes of conf.d/app-templates:
(3dc85ec - Thierry Bultel) common.cmake: fixed erroneous search path for os-release
(7fa5e5a - Romain Forlot) Fix: missing gcov symbol in compiled binaries
(76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format.
(02f45f1 - Romain Forlot) Update Docs
(52ae181 - Romain Forlot) Fix: typo
(f0b24b0 - Romain Forlot) Rollback about TEST build type
(e841a77 - Romain Forlot) Adding a TEST build type
(994ebc1 - Romain Forlot) Change default compilation options.
(85d5ffd - Romain Forlot) Test widget only if there are test materials
(d14bdce - Romain Forlot) Handles more test LABELS.
(70cf8fd - Romain Forlot) Missing flag for COVERAGE build type
(3c99b8a - Romain Forlot) Create a test widget
(9c1a0fb - Romain Forlot) Fix: interpreted '&' character
(9202fac - Romain Forlot) More accurate comment about widget template file.
(f94e45e - Romain Forlot) Align sample on actual default compile options
(d0acc2a - Romain Forlot) Add support to binding version 3.
(6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget
(35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var
(332f377 - Romain Forlot) Be able to overwrite BUILD_TYPE using CLI
(1ec7531 - Romain Forlot) Use CACHE variable for other common CMAKE variable
(0880356 - Romain Forlot) Fix:: wrong wgt using RELEASE BUILD TYPE
(eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test.
(291aa4e - Romain Forlot) Change the default debug compilation options.
(22a2cbf - Romain Forlot) Clearer coverage compilation options configuration
(aa68dbd - Romain Forlot) Don't overwrite the autobuild script if it exists
(a13e7b9 - Romain Forlot) Disable the in-tree build method.
(51026d2 - Romain Forlot) Detect Yocto as OS distribution
(1f2944e - Romain Forlot) Fix: wrong compile options added
(92646f6 - Romain Forlot) Fallback using zip format if no wgtpkg-pack found
(f65761c - José Bollo) 02-variables.cmake: Avoid checking CXX version if not required
(3965d37 - José Bollo) config.cmake.sample: Remove dependency to libsystemd
(a45ae0c - José Bollo) config.cmake.sample: Remove dependency to libmicrohttpd
(9b17efe - Thierry Bultel) Added -D_FORTIFY_SOURCE=2 to CFLAGS
(66f7bc8 - Thierry Bultel) start-on-target: uses RSYNC_PREFIX path for config
(e400fb3 - Sebastien Douheret) Fixed spelling.
(6621af0 - Romain Forlot) Improve OS detection
(829dd69 - Romain Forlot) Fix: OS detection
(8f5a17b - Romain Forlot) Launch from workdir
(72ca4ff - Romain Forlot) Change closing that could fix native debugging
(6e1a3c3 - Romain Forlot) Fix filename pattern to match .cmake files
(30e78a5 - Romain Forlot) Adding cmake file at the root directory
(a3c312e - Romain Forlot) Adds commit hash to the version.
(6c0e9e4 - Romain Forlot) Change default sample settings.
(dd0cec7 - Romain Forlot) Forgot updating README also...
(66d0ca1 - Romain Forlot) Update documentation
(4b26503 - Romain Forlot) Use LFSH named, rename data to var
(bb3c541 - Romain Forlot) Use new CPP generation from afb-genskel

Change-Id: I93b9c1fcb62b40726a9b5fb8b415f4f5ce7f8ae6
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
6 years agomoved files to root folder. 5.99.1 5.99.2 5.99.3 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.1 flounder/5.99.2 flounder/5.99.3 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.1 flounder_5.99.2 flounder_5.99.3 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
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 agoll-database-binding: allow binding to build with older gdbm libraries 09/13309/1
Matt Ranostay [Tue, 30 Jan 2018 18:55:28 +0000 (10:55 -0800)]
ll-database-binding: allow binding to build with older gdbm libraries

Due to GPLv3 compliance the binding needs to be buildable with older versions
of gdbm <= 1.8.3

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agofix json key to string conversion.
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 master version
Loïc Collignon [Fri, 26 Jan 2018 07:02:09 +0000 (08:02 +0100)]
move submodule to corresponding master version

Change-Id: Ie769a46e27184927541e109c62d900b723607dde
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
6 years agoFix entry point
Loïc Collignon [Thu, 21 Dec 2017 09:03:28 +0000 (10:03 +0100)]
Fix entry point

Change-Id: Ibafb560ffe6f4871cd7952dc96fd1ece08089f3f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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.

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agocleanup swap file
José Bollo [Tue, 24 Oct 2017 12:44:25 +0000 (14:44 +0200)]
cleanup swap file

Change-Id: I4879ae484fbf3253081aabc5e432ab8c27ebdede

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agoInitial commit
Loïc Collignon [IoT.bzh] [Mon, 26 Jun 2017 09:52:04 +0000 (11:52 +0200)]
Initial commit