summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Jan-Simon Moeller [Tue, 15 Mar 2022 15:48:48 +0000 (16:48 +0100)]
Add gitreview file for Magic Marlin branch
Update the .gitreview file.
Bug-AGL: SPEC-4300
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
José Bollo [Thu, 12 Nov 2020 07:43:57 +0000 (08:43 +0100)]
Version 2.1
The version 2.1 fixes a database issue.
Bug-AGL: SPEC-3677
Change-Id: I5c8e4595894ee26a2018f939a42ba0b8abcad722
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 2 Nov 2020 16:25:08 +0000 (17:25 +0100)]
filedb: Ensure rules are written
After changing the values, make sure that
new values are written on disk.
Bug-AGL: SPEC-3677
Change-Id: Ib72f72ba2571f046bd76b7985b503f7f598a72bf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Li Xiaoming [Tue, 3 Mar 2020 06:53:00 +0000 (14:53 +0800)]
fix(expire.c): remove build error and warning
cynagora/src/expire.c:38:28: error: initializer element is not constant
static const time_t TMAX = ~TMIN;
cynagora/src/expire.c:37:21: warning: ‘TMIN’ defined but not used [-Wunused-const-variable=]
static const time_t TMIN = (time_t)1 << ((CHAR_BIT * sizeof(time_t)) - 1);
Bug-AGL: SPEC-3212
Change-Id: Ie85812e404ecdb686d23f4f759f36cdf31d71202
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Jan-Simon Moeller [Sun, 9 Feb 2020 17:39:53 +0000 (18:39 +0100)]
Add .gitreview file
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic259cf0eff0269b9ba5ac2efb74d40b4bbd6d0d0
Frederic Marec [Thu, 6 Feb 2020 15:03:13 +0000 (16:03 +0100)]
Change cynagora service
Remove After unit to avoid infinit waiting
of afm-system-setup.service before killing it
Bug-AGL: SPEC-3002
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I3d2348d495067186f676066ff33f77f8f0adb269
José Bollo [Fri, 7 Feb 2020 12:48:32 +0000 (13:48 +0100)]
Fix a bug in protocol
Correctly handle the impossibility to add the
tailing record separator.
Bug-AGL: SPEC-3168
Change-Id: Id611eda4c6517819c1209baeb58c2d8d8ff57183
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 4 Feb 2020 20:33:08 +0000 (21:33 +0100)]
Fix bug on unknown commands
Unknow commands were leading to infinite loop.
This fixes.
Bug-AGL: SPEC-3166
Change-Id: If1529526c5779951b8e2e30d999f3fc037eae9d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 24 Dec 2019 17:04:36 +0000 (18:04 +0100)]
fix typo
Change-Id: I66490e63094642b48646ca0a159f1053f0be41c6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Dec 2019 17:10:48 +0000 (18:10 +0100)]
Improve integration of cynagora
Allow to be more flexible when starting with or without
systemd. At end this change will allows to start within
systemd with socket activation or not and by sending
notification without need of option.
Make setting of the sockets more accurate. The admin and
agent socket are now accessible only to clients of the
expected group, cynagora by default.
Bug-AGL: SPEC-3230
Bug-AGL: SPEC-2968
Change-Id: I3e5c7c00dfa0494628c18ffc016cfc8599a5bf9b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Fri, 6 Dec 2019 14:12:36 +0000 (15:12 +0100)]
agent-at: Move field separator from : to ;
Because Smack labels and permissions of AGL
all contain the character colon (:), it is better
have a distinct field separator for agent-at.
Bug-AGL: SPEC-2968
Change-Id: I378eefcd7b29e424acccced62abe48b35ad8736e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 7 Nov 2019 10:00:55 +0000 (11:00 +0100)]
Improve exit status of cynagora-admin
When used command line, the tool cynagora-admin
was terminating with status 0 even when the server
wasn't up and running.
This changes corrctly fix the issue by recording
the status of the last cynagora command and by
treating with it in command line mode.
This change is required to implement a basic ptest
and to submit cynagora for Itchy Icefish.
Bug-AGL: 2844
Also fix a naming in the cache stressing test.
Change-Id: I39ee784bbe8ce7b792e96ef14578baa6f80ef6ac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 30 Oct 2019 16:15:23 +0000 (17:15 +0100)]
Improve management of agent names
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 4 Nov 2019 11:02:03 +0000 (12:02 +0100)]
Improvement of documentation
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 30 Oct 2019 16:14:21 +0000 (17:14 +0100)]
Improve documentation and licenses
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 29 Oct 2019 13:04:24 +0000 (14:04 +0100)]
Add meson build system
Change-Id: Ie5ea4a42445e7c4df61284164f7dd14b0ca12295
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Fri, 25 Oct 2019 13:47:50 +0000 (15:47 +0200)]
Provide a logo
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 24 Oct 2019 17:24:33 +0000 (19:24 +0200)]
Implements sub queries of agents
Change-Id: I30e40521d8f8a2694df00a5c9f55adfe748fbd68
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 24 Oct 2019 09:11:23 +0000 (11:11 +0200)]
Unic routine for checking agent names
Change-Id: Ibd3601ce97b4bc9e1035642584df0fe7788716db
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 24 Oct 2019 07:10:47 +0000 (09:10 +0200)]
Improve selection of rules
Now the rule to apply is given by the laws:
1. The rules that matches exactly more keys
2. If law 1 apply to more than one rule, the select rule is the one
matches more exactly the keys in the following order of priority:
- session
- user
- client
- permission
Change-Id: Ia5ae241a08c5a58f75ca0a0c73fcda0876008cc1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 23 Oct 2019 10:19:29 +0000 (12:19 +0200)]
cynagora: Remove use of pending
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 22 Oct 2019 10:06:41 +0000 (12:06 +0200)]
Avoid sending a pending query and fixes
For some reason, dbus requests many times
the same query. That changes try to avoid that
behaviour.
Also fix asynchronous processing and cache handling.
Change-Id: If91631a1ab51ea8530113d015688978b0cf6467a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 22 Oct 2019 10:04:53 +0000 (12:04 +0200)]
Enforce flush at end of lines
Change-Id: I3d3770a165f165cd922bab16b0e259e86865d048
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 18 Oct 2019 14:22:49 +0000 (16:22 +0200)]
Enforce ID on check/test queries
Change-Id: Ibdb7454657bcdc0a0874f05e065551de80b9bd4f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 7 Oct 2019 15:41:26 +0000 (17:41 +0200)]
More documentation and cache access control
Change-Id: Id040ad44f862c212057a854ebaf5798da5b064b9
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 17 Oct 2019 16:06:44 +0000 (18:06 +0200)]
Add a locker to run only one service
Change-Id: Iedec0340cb08f9eaa81967fb28a8b0e7f2c44603
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 17 Oct 2019 11:30:22 +0000 (13:30 +0200)]
Rename cynagoracli to cynagora-admin
Change-Id: I4f146d792fb646d4d221a80de88aeb6a9372e21e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 16 Oct 2019 08:59:40 +0000 (10:59 +0200)]
Instanciate checks
It prepares the requests with identifiers.
This avoid a fault when a pending agent ask had its
client disconnecting.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 14 Oct 2019 16:02:38 +0000 (18:02 +0200)]
Implementation of agent protocol and tool
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 14 Oct 2019 10:25:35 +0000 (12:25 +0200)]
Transmit expiration in relative values
This will at the end allow unsynchronized clients
to query the server efficiently.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 9 Oct 2019 16:40:39 +0000 (18:40 +0200)]
Add no-caching feature
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 9 Oct 2019 15:44:44 +0000 (17:44 +0200)]
Make computation of 'expired' common
And prepare to have negative values for no caching values.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 9 Oct 2019 15:34:23 +0000 (17:34 +0200)]
Rename cynagoradm to cynagoracli
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 9 Oct 2019 15:30:42 +0000 (17:30 +0200)]
filedb: switch to time as 64 bits
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 9 Oct 2019 12:10:22 +0000 (14:10 +0200)]
Fix signed/unsigned types
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 7 Oct 2019 15:16:22 +0000 (17:16 +0200)]
Add documentation and fixes
Documents the client API
Fixes few bugs
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 4 Oct 2019 15:28:24 +0000 (17:28 +0200)]
Add DIRECT_CYNARA_COMPAT to dissociate libs
The flag DIRECT_CYNARA_COMPAT remove the dependency
of libcynara-compat to libcynagora.
Change-Id: Ib8ded68fc799a7cdb53acd4416b255abdf765311
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
fixup!
9d08a0b
José Bollo [Fri, 4 Oct 2019 12:22:10 +0000 (14:22 +0200)]
Backport to cmake 3.12
The command target_link_options only appear in
cmake 3.13
Change-Id: Ie66464244a139531dfa8ca4f239c53f9d2f3afaa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 4 Oct 2019 11:41:46 +0000 (13:41 +0200)]
Add facility to compile
Change-Id: Ib4d4a03f79056ae17ba1112657eb7fe37b194527
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 3 Oct 2019 15:58:02 +0000 (17:58 +0200)]
Move to CYNAGORA
Rename everything to match the new name of cynagora
Change-Id: I7e529def486ca5721164b338d2c615996fbc6ca4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 3 Oct 2019 12:33:21 +0000 (14:33 +0200)]
Isolate compatibility with old cynara
The compatibility items of the old cynara
librarie are separated and isolated.
The option WITH_CYNARA_COMPAT activates it or not.
Change-Id: Iba77c97d8df31f5f515b57411487943192451ac6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 3 Oct 2019 10:34:13 +0000 (12:34 +0200)]
Improve library split parts
In prevision of further developments (like plugins)
the server is splitted in two parts: the server program
itself and the core library.
The client library is also splitted in two parts:
the compatibility part and the real client part.
Change-Id: Iaee93298d52eb825ad9aed5d2b3e74c2975b5950
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 4 Oct 2019 11:41:00 +0000 (13:41 +0200)]
anydb: Fix error in anydb_is_empty
Compute correctly if a database is empty or not.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 30 Sep 2019 15:40:04 +0000 (17:40 +0200)]
Improve comments
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Fri, 27 Sep 2019 16:29:22 +0000 (18:29 +0200)]
Change agent interface
Instead of using callbacks, create the query
to allow processing subqueries in response to
agent queries.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 10 Sep 2019 16:19:51 +0000 (18:19 +0200)]
More comment for cyn.[ch]
Change-Id: Ia3e6ca458f27ede690cfc6934dd9a6b320ed5d67
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 10 Sep 2019 16:10:43 +0000 (18:10 +0200)]
Add file-prefix-map option
Change-Id: I275e60cad74074cada35755a464da85c3d821e92
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 9 Sep 2019 13:49:25 +0000 (15:49 +0200)]
Fix setting of socket directory
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 9 Sep 2019 10:30:25 +0000 (12:30 +0200)]
Improve help
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 9 Sep 2019 10:28:46 +0000 (12:28 +0200)]
Fix missing new lines
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 16 Aug 2019 15:47:59 +0000 (17:47 +0200)]
cache: fix bug
Change-Id: Ie1d65068f962335b46bd2ca259a002eb559db83c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 14 Aug 2019 10:23:06 +0000 (12:23 +0200)]
cynadm: Add options --cache and --echo
The option --cache allows to set the cache size
The option --echo allows to emit the evaluated commands
Change-Id: If57d2a229dd263bf77a61973633d7447441277b0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 14 Aug 2019 09:32:25 +0000 (11:32 +0200)]
tests: add stress-cache test
Change-Id: Ieccbd068c032e141c41eb7e2c53969348a959208
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 14 Aug 2019 08:51:06 +0000 (10:51 +0200)]
rcyn-client: fix strange typo
Change-Id: I5eec641721ba1a8b5bd489e4438fb0f0ccad40f1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 14 Aug 2019 08:50:18 +0000 (10:50 +0200)]
lib-compat: Improve debugability
Change-Id: I2fa317b494f02c2725886a9874af340337b082cb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 14 Aug 2019 08:48:54 +0000 (10:48 +0200)]
cache: improve cache management
Change-Id: I2a95154e728bf87976280b52ae0214664b107fd6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 14 Aug 2019 05:44:47 +0000 (07:44 +0200)]
Fix tab/space issue
Change-Id: I1ef85b90f5361af31247f0547376af0e5f08f14d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Sat, 10 Aug 2019 06:35:36 +0000 (08:35 +0200)]
make valgrind happy
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 9 Aug 2019 14:51:23 +0000 (16:51 +0200)]
Add and improve asynchronous clients
The client program cynadm gets 2 new commands:
acheck and atest that are intended to use
asynchronous test and check.
The client programs cynadm and test-old-cynara
now read as much a possible input before to
process asynchronous answers. This is made to
simulate congestion on asynchronous client.
Change-Id: I1c9dbfe43f150725d530c155135ead8e758897e5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 6 Aug 2019 21:08:07 +0000 (23:08 +0200)]
Improve internal type "data_key_t"
Change-Id: I0d2d1566819dc595e46ab09cdab9b8c1dd5b6537
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 26 Jul 2019 13:49:09 +0000 (15:49 +0200)]
cynadm: fix empty list bug
Change-Id: I3f64af57796dfc6b38f4cd51ab838e820e6cbb9c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 26 Jul 2019 12:27:13 +0000 (14:27 +0200)]
cache: Fix bug of memmove
Change-Id: I75b346ea71a0c3fbc1109cd0aedf9ed7c5ebbce9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 26 Jul 2019 08:06:00 +0000 (10:06 +0200)]
cynadm: fix help for 'cache'
Change-Id: I08a7a254ccef10036a4dbb1ef05d3198f5801457
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 26 Jul 2019 08:02:49 +0000 (10:02 +0200)]
cynadm: align listing on left
Change-Id: I51876cc4bf85d692a8bee7cf272d5eeddff9c2a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 25 Jul 2019 16:56:53 +0000 (18:56 +0200)]
Avoid fortify false positive
Change-Id: Iceb888ed5cccc46bde9e479a2b1ae9a5a6c4ee53
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 23 Jul 2019 16:08:16 +0000 (18:08 +0200)]
Install agent socket for systemd
Change-Id: I838788b71908a287fe45c59ed51c20a3f8007a70
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 12 Jul 2019 08:23:51 +0000 (10:23 +0200)]
filedb: fix a warning
Change-Id: If2f4c07addbf7843f6c4cb2b26da1f9b902ee60f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 19 Jun 2019 13:02:32 +0000 (15:02 +0200)]
Change test/check protocol result
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 14 Jun 2019 15:28:27 +0000 (17:28 +0200)]
Allow no caching at all
Change-Id: I73f7a7cc6ab96cc7e6064e267b126b883b94bc69
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 13 Jun 2019 19:17:46 +0000 (21:17 +0200)]
Allow admin to (un)set logging
Change-Id: I5479c9e35512ab77a005692903733f7d1af627a3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 13 Jun 2019 14:28:49 +0000 (16:28 +0200)]
Fix saving the database on simple change
Change-Id: I393d6aa53b98aff102417c263447e2d34e80d531
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 13 Jun 2019 11:32:26 +0000 (13:32 +0200)]
Add log option for tracking protocol
Change-Id: Ifb780ac4133732a4218fa3018b9ecec9f3b67718
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 13 Jun 2019 11:31:54 +0000 (13:31 +0200)]
agent-at: Improve comments
Change-Id: Ica1479c4ccac93ff153c0e0bf79a3eab6ae882f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 7 Jun 2019 14:51:04 +0000 (16:51 +0200)]
Improve formatting of 'cynara.initial'
Change-Id: I3aa631e0348ab2b1a80b5976e19829ffe75fa673
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Fri, 24 May 2019 14:49:02 +0000 (16:49 +0200)]
Rework the initial definitions for agent @
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Fri, 24 May 2019 14:48:20 +0000 (16:48 +0200)]
Sort output of list
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 24 May 2019 10:21:33 +0000 (12:21 +0200)]
Add cacheid
The idea is to allow a client to disconnect
and reconnect without losing its cache.
Change-Id: I017176e5eb5f553b961a32ee466d1b7a175532bb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 22 May 2019 14:03:10 +0000 (16:03 +0200)]
Add environment var for socket names
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 15 May 2019 07:08:08 +0000 (09:08 +0200)]
Refactor agent mechanism
Agent are now named and called when the
value returned is prefixed by name+colon.
For example, the agent 'me' receives the requests
'request' and the asked key for the rule:
* * * * me:request forever
Add the always available AGENT-AT implementation.
The AGENT-AT handles the value prefix @: to re-ask
the database with a query derived from the value.
Example: the rule
* * 1001 * @:%c:%s:OWNER:%p forever
if selected for the query key
{client=C, session=S, user=1001, permission=P}
will produce the evaluation of the key
{client=C, session=S, user=OWNER, permission=P}
The values @: are structured as 4 field separated
by colons (:). The sequences %c, %s, %u, %p, %%
and %: are substituted by client, session, user,
permission, % and :, with values coming from the
original request.
Change-Id: I7043845292f13f9c269a71cfabc4715330eaff34
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 13 May 2019 14:31:55 +0000 (16:31 +0200)]
Switch to filedb
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Thu, 9 May 2019 13:06:41 +0000 (15:06 +0200)]
Add help on 'cynadm'
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Thu, 9 May 2019 13:04:55 +0000 (15:04 +0200)]
Replace 'always' by 'forever'
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Thu, 9 May 2019 11:44:11 +0000 (13:44 +0200)]
Set default socket type to unix
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 8 May 2019 13:12:16 +0000 (15:12 +0200)]
Rework transaction
Jose Bollo [Thu, 2 May 2019 15:10:08 +0000 (17:10 +0200)]
Introduce Any DB abstraction and memdb on its top
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 29 Apr 2019 15:52:42 +0000 (17:52 +0200)]
Remove session from DB
The stored sessions MUST be *.
Some thing still have to be set for sessions.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 5 Feb 2019 15:14:10 +0000 (16:14 +0100)]
Rework of many things
Change-Id: Iadeba6f0602f7be017244c2602fae2bbe2abf74e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 21 Sep 2018 07:28:39 +0000 (09:28 +0200)]
Add weeks in expiration textual representations
Also set constants compliant to chump compilers.
Change-Id: Id22672f8077a9fe6377a10043efec3e78e8eb3a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Wed, 19 Sep 2018 12:52:03 +0000 (14:52 +0200)]
Add session, value as string and expiration
The DB now records sessions. It has expiration
management (currently coarse: ~16s, see db.c)
that is propagated to caches.
Values are now strings. Default values are
"yes" and "no" for allowed or denied permissions.
new program: cynadm
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 11 Sep 2018 09:28:34 +0000 (11:28 +0200)]
Make it work for AGL
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jose Bollo [Mon, 10 Sep 2018 10:00:18 +0000 (12:00 +0200)]
Initial commit
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>