José Bollo [Thu, 14 Dec 2017 10:58:25 +0000 (11:58 +0100)]
Update of src/README.md
Change-Id: Id806a36fbc58df8dccb89f02fa86575c2aafd63e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 14 Dec 2017 09:48:57 +0000 (10:48 +0100)]
gendocs.sh: Fix tabulations
Change-Id: If9b06695c874f861859793b621264121d2152f11
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 11 Dec 2017 17:18:58 +0000 (18:18 +0100)]
mkdocs: Restore mkdocs feature
Change-Id: Iac70ac21a0d88e973aa5859a692515d4e683b2c9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 11 Dec 2017 12:55:10 +0000 (13:55 +0100)]
unit.conf: Fix Smack permission on api ws
The Smack permission to write on the websocket of the API
must be set to something that allows the communication!
Here the chosen value is *
Change-Id: Ia276219b232e33bd35353d8feb333513b340e75c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 8 Dec 2017 12:37:30 +0000 (13:37 +0100)]
docs: identify revision file
Change-Id: Iae13361c16b056f8619a9a75a08ae63d66f85daf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 8 Dec 2017 12:05:48 +0000 (13:05 +0100)]
Clean unused afm-main-binding... files
Change-Id: Ifc8da473e3454f10bfd1aad2500db579a732b43e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 8 Dec 2017 09:44:43 +0000 (10:44 +0100)]
Remove deprecated file afm.h
Change-Id: Ie524342b69d386c2d6f667dde7cde0d68a0d29c8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
jobol [Thu, 7 Dec 2017 15:49:03 +0000 (16:49 +0100)]
unit.cont: Refactor PATH and LD_LIBRARY_PATH
Change-Id: Ic6da02c0039421fd5656238f5fa812574af1c268
Signed-off-by: jobol <jose.bollo@iot.bzh>
José Bollo [Fri, 24 Nov 2017 15:34:42 +0000 (16:34 +0100)]
simplify afm-user-session process
Change-Id: If2739fd2c5a19d7cd31e117e1e79c0b51451552b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 24 Nov 2017 08:33:43 +0000 (09:33 +0100)]
Improve afm-user-session setup
Change-Id: I4dfb0939afc871e93874cf021548db2e85d3656c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 21:52:46 +0000 (22:52 +0100)]
Avoid implicit Before socket.target
Change-Id: I493c49a80ebb1fa85f586d0b0704b5682f0c3613
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 21:30:53 +0000 (22:30 +0100)]
Config for afm-user-session
Change-Id: I6567b58fa0a6dd17deba4c7cccbf3b9f441730eb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 16:21:00 +0000 (17:21 +0100)]
afm-user-startup.service: Fix type
Change-Id: I8ecddbc5be346441f002ef8c50dd733fec0e6ef2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 16:19:36 +0000 (17:19 +0100)]
unit.conf: Fix target name
Change-Id: I144bcd47b65b86dd07ca5de71514a0032166b3a6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 15:14:56 +0000 (16:14 +0100)]
Add a PAM config file
Change-Id: I27f726cd3cec7c0e499086c5ac3de1a736ef108c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 14:44:24 +0000 (15:44 +0100)]
Rework on systemd start of user sessions
Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 23 Nov 2017 13:38:54 +0000 (14:38 +0100)]
afm-binding: Fix bug in evaluation of runid
Change-Id: I7a87a75d2effb7ad959b7a5c495402701f505529
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 21 Nov 2017 13:58:00 +0000 (14:58 +0100)]
unit.conf: Bound start to agl-user-session
Change-Id: Ic9731dbc9ee71872198ad70995dbaced8a7aa683
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 21 Nov 2017 10:39:44 +0000 (11:39 +0100)]
unit.conf: Remove unset of capabilities
Remove the unsetting of capabilities because it
currently breaks the image. To be reworked.
Change-Id: I69a1d9c23f463a36edebb7993aa94fae14fb60e8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 20 Nov 2017 15:08:19 +0000 (16:08 +0100)]
unit.conf: binder's service of type notify
Change-Id: Ibb80974c65f48d7473b8aa56604154bf70a49e14
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 20 Nov 2017 15:07:09 +0000 (16:07 +0100)]
unit.conf: Fix remaining %t
Change-Id: If9c1c0d8b805e7de6490c75f0465d3455e84eb36
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 17 Nov 2017 09:08:25 +0000 (10:08 +0100)]
afm-util: don't reload if afm-install
Change-Id: I5c73d80ee2dd02a8d7260e8dcd5f52e8ef84b34b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 17 Nov 2017 08:39:36 +0000 (09:39 +0100)]
genconf: set filetype and syntax
Change-Id: Ibcff5a513c4559c84ddfca1ef9449b1eff544006
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 17 Nov 2017 07:53:57 +0000 (08:53 +0100)]
afm-unit.conf: Fix missing @ in service name
Regression introduced by commit:
c7db705 Generate afm-unit.conf using m4
Change-Id: Ibeeaf14b697e79cb2a95154b50b2ac775f93d529
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 16 Nov 2017 16:38:26 +0000 (17:38 +0100)]
afm-util/install: use of web socket connection
Change-Id: I8bda689a377d676c4b190e1b54cdc115006c9829
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 16 Nov 2017 11:51:41 +0000 (12:51 +0100)]
wgtpkg-unit: remove metadata.app-data-dir variable
Change-Id: I51cbbad8ecdc371f457a008808c8c0f63501ac2b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 16 Nov 2017 10:59:06 +0000 (11:59 +0100)]
afm-udb: add comments
Change-Id: I03d560a8fca3a064fa526afb55c951062fa7a78e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 15 Nov 2017 15:20:28 +0000 (16:20 +0100)]
Generate afm-unit.conf using m4
The use of m4 to generate the afm-unit.conf and
afm-unit-debug.conf files has benefits:
- the sync between debug versus not debug is mechanical
- it allows easier maintainance by improving readability
and writability (ex: macros TARGET or UNIT_NAME_BASE)
Change-Id: Ic0427bedf4f8a5b174318562336603077f174fa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 16 Oct 2017 16:50:31 +0000 (18:50 +0200)]
afm-unit.conf: remove invocation of PAM
Change-Id: I2b446907b0c68b3bdb1c59227427e237f429ed8e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 13 Oct 2017 14:06:42 +0000 (16:06 +0200)]
afm-unit.conf: Add XDG dirs definitions
Change-Id: I40d73de059e955256d90ca7831870815c7d90481
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 13 Oct 2017 14:06:18 +0000 (16:06 +0200)]
afm-unit.conf: Add slice indication
Change-Id: I50c2166ffab106988fa4ac1e68c14ea56c5b3145
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 13 Oct 2017 13:30:38 +0000 (15:30 +0200)]
afm-binding: Restore previous return for 'start'
Change-Id: I28cd41391d207b59d74d2ff661e5981b9947c716
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 20:47:07 +0000 (22:47 +0200)]
Don't rely on features available for user units
Change-Id: I117b8de2eec6cba9f475e18b794f90347bc184f8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 20:45:45 +0000 (22:45 +0200)]
Avoid polkit and bug
Accessing systemd/system with DBUS from
a user not root make systemd use polkit.
It doesn't work for us because:
- at the end systemd crashes (sigsegv)
- we don't want polkit here
Change-Id: I206edd108b8b659c8c6a3a68f61500cb114995d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 20:43:05 +0000 (22:43 +0200)]
remove secure-bit directives
Doesn't work after dropping capabilities!
Change-Id: I748a8de9bb04006c14cba09cc6c4469da06c1b5d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 20:42:00 +0000 (22:42 +0200)]
bug fixes and improvements
Change-Id: I2fc3de0a84e471e8e87f43170c20f8d6d0d05fdc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 20:40:35 +0000 (22:40 +0200)]
provide access to systemd system
Change-Id: I1e3d2dc780a1449f2bfc894baa1f26a94be61cd8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 20:39:51 +0000 (22:39 +0200)]
Restore compilation of native-sdk
Change-Id: I3855854407ad47c2b9a2288b8425513de5ae94d3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 12 Oct 2017 08:58:40 +0000 (10:58 +0200)]
Remove afm-system-daemon
Change-Id: I1e6c0488b7183724a65fcc06fd3cf6909e0efd53
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 11 Oct 2017 20:43:41 +0000 (22:43 +0200)]
urun/udb: integration of user UID
Managing user applications at the system
levels requires to manage the user application
in a single process.
This process must manage the user identity
(UID).
Change-Id: I1ce8c9ca66ed0f916ecb2931ae014b08b113fa23
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 11 Oct 2017 15:33:27 +0000 (17:33 +0200)]
afm-user-daemon: rewriten to use direct API
The coming version of afm-system-daemon will no
more use DBUS but will provide a websocket API.
Change-Id: I5ff0488ff5ec5b2b9a193d869efe8a9c5896516f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 7 Aug 2017 15:20:37 +0000 (17:20 +0200)]
afm-binding: provide afm as a unique binding
This is the first stone (not fully tested) to
implment the afm-main as a binding. At the end,
this component will replace afm-user-daemon and
afm-system-daemon.
Change-Id: I6eafa7d26800f45ae58dd51aa9ff8008cdb3ff59
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 11 Oct 2017 13:28:43 +0000 (15:28 +0200)]
utils-systemd: Offer way to set systemd's buses
Change-Id: I8035c10e8f769b7912046b432d43f97297c039b2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 10 Oct 2017 15:09:14 +0000 (17:09 +0200)]
afm-udb: keep looking at valid units
Returning an error when a unit is not valid has
drawbacks. With this commit, bogus units are
ignored. The benefit is to be able of using valid
units instead of using none because in the previous
case, all the DB was cancelled.
Change-Id: Id1e4d6d5efd4af7e118b9d549238bd5e3d6c52d7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 10 Oct 2017 09:05:36 +0000 (11:05 +0200)]
afm-unit.conf: Removes capabilities of applications
Change-Id: I081e8a8f9ea344d47ae007a4d6c9e72663f82fcf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 2 May 2017 16:13:23 +0000 (18:13 +0200)]
Start user units at the system level
When service name end with @ it means that the user
UID must be provided.
Change-Id: I6707df0151b7cab985cfc53a81fccf6a7150c9a3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 2 May 2017 12:27:29 +0000 (14:27 +0200)]
afm-unit.conf: Rename generated systemd units
Uses a more uniform naming for units and allows to use
templating for some other purpose.
Change-Id: Ia99f84a8f4436fcce6cecf3b3720870d27e9e303
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 10 Oct 2017 08:52:12 +0000 (10:52 +0200)]
afm-udb: remove comments and join lines of unit files
Change-Id: I9d901e074925a666190d5e3007a66aea81ef6253
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Romain Forlot [Tue, 10 Oct 2017 14:36:35 +0000 (16:36 +0200)]
Added information to include external library
Describe default directories used by application
framework inside the apps.
Bug-AGL: SPEC-883
Change-Id: Iea0280197db6091b4963134f8b20b5dc10b9767b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
José Bollo [Tue, 5 Sep 2017 15:45:31 +0000 (17:45 +0200)]
wgtpkg-unit: improve naming (minor)
Change-Id: I5dae72c8dd925646b18c30ab4ef60382e43c744b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 5 Sep 2017 15:16:54 +0000 (17:16 +0200)]
Remove legacy mode without systemd
Change-Id: Id26322a1a46baa8b53b6d3c214477ae50a7c99f6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 2 May 2017 14:08:35 +0000 (16:08 +0200)]
Extend database values with arrays
Change-Id: I9ab94413abce0d13102711091ec48a5894ccadd9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 2 May 2017 08:34:52 +0000 (10:34 +0200)]
Include json description for callbacks
This tiny modification is mainly for debugging.
Change-Id: Ieda90da49d365a7b092a02833227c869bd0397a4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 19 Sep 2017 13:24:15 +0000 (15:24 +0200)]
Bump version to 4.99-EERC1
Change-Id: Icb0f8870fa646ed0e2e969eaa1a06505f8dec467
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Sebastien Douheret [Mon, 18 Sep 2017 14:27:09 +0000 (16:27 +0200)]
Bump doc to 4.99-EERC1
Change-Id: I9181f557addc212224cc1bfe2da9a61b2c0cfb01
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
José Bollo [Tue, 5 Sep 2017 13:59:55 +0000 (15:59 +0200)]
Update version of tools
Change-Id: I82bb06d2be92beb377d6c3cafffae49c65e9f20b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 5 Sep 2017 13:11:26 +0000 (15:11 +0200)]
Set the url of the project
Change-Id: Ib32eac8f5ebc9e6dea43fdba78b6130b59b319e4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 5 Sep 2017 12:35:13 +0000 (14:35 +0200)]
Fix warnings 'implicit-fallthrough' of gcc 7
Change-Id: I32b42fd8db481fcbdce4b934fc990c118293850d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 5 Sep 2017 12:20:47 +0000 (14:20 +0200)]
Upgrade to afb-daemon (binder) version 4.0 at least
Change-Id: I6d2a6e7e2781f0b2b3471f698912990961d84865
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 5 Sep 2017 12:00:32 +0000 (14:00 +0200)]
Update CMake required version
Change-Id: I8d45e9d0430600444a25d923412dd8e385b91470
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 1 Sep 2017 08:09:23 +0000 (10:09 +0200)]
afm-unit-debug.conf: Move monitoring option
Put it in the same place that other unconditionnal
options
Change-Id: I75fc5503db6fd9776299564b4a559a5bbf889952
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 1 Sep 2017 07:08:16 +0000 (09:08 +0200)]
afm-unit-debug.conf: Increase the verbosity in debug
Latest version of the binder separated the verbosity levels
of WARNING and NOTICE. This commits asks for notice report
by default in debug.
Change-Id: Ibdaf16560384c7f2576066250e42c44074501ebb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 31 Aug 2017 15:09:08 +0000 (17:09 +0200)]
afm-unit.conf: improve setting of names
The names are now prefixed by "afbd-" to clearly
identify the binder daemon.
Change-Id: I0dbd0a5dd68260a6315599e18e3e2f4a6be3efc5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 29 Aug 2017 09:40:41 +0000 (11:40 +0200)]
afm-unit.conf: use option --name for setting binder name
Also enforce output to journal
Change-Id: I85957cfb8cc7e2264c9146ca18c352a0af347934
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 29 Aug 2017 06:54:38 +0000 (08:54 +0200)]
afm-unit-debug.conf: add --monitoring option
Change-Id: I3174738bf4c164513bb6a0399584784548b22c2c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 29 Aug 2017 06:57:12 +0000 (08:57 +0200)]
afm-unit-debug.conf: provides a default token
The default token is set to HELLO
Change-Id: I275c8d91633f4b6aa596c6195b90f1ad7c1b0cde
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 29 Aug 2017 06:49:57 +0000 (08:49 +0200)]
afn-unit.conf: Fix bug for option --no-httpd
The option --no-httpd is applied for applications of
type 'application/vnd.agl.service' but the option
was misplaced in the command line.
On an other hand, setting --no-httpd makes option
--roothttp irrevelant.
Also, the option is currently not to be applied
when AGL_DEVEL (pulling afm-unit-debug.in) is
required.
Change-Id: I05b15fa2a847a5564d7c88ce7ac47cd8a2a29f40
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 8 Aug 2017 13:35:32 +0000 (15:35 +0200)]
afm-unit.conf: refactor LD_LIBRARY_PATH value
Changes from
LD_LIBRARY_PATH=$ORIGIN/$LIB
to
LD_LIBRARY_PATH=$ORIGIN/lib
because $LIB isn't univoque for integrators
while lib is.
Change-Id: Ic4b2f8bb1410c35f75eb957a0ebc10141f995aba
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 8 Aug 2017 07:33:01 +0000 (09:33 +0200)]
wgtpkg-install: search in subdir "htdocs" also
For widgets that are fully HTML, the search of the content
was not checking the subdirectory "htdocs" that is enforced
elsewhere.
This commits add the search of the content in the subdirectory
"htdocs". This is a temporarily fix. A better complete solution
has to be delivered later.
Bug-AGL: SPEC-808
Change-Id: I8bef7c4a31ff919827ceca05e203c2b277cf7657
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 7 Aug 2017 16:43:28 +0000 (18:43 +0200)]
Set explicit path for services and units
This patch removes references to /usr/local and
add reference to the installation directory.
The companion programs can be run using path
relatives to the installation directory.
Bug-AGL: SPEC-384
Change-Id: I7e10be1d0df1b62f3be0104f88d1787dd849d152
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 7 Aug 2017 16:07:26 +0000 (18:07 +0200)]
Handle file-properties for setting eXecutable flag
This commits introduce the feature "urn:AGL:widget:file-properties".
This feature actually only allows to set execution flag to files
of the widget.
Example:
<feature name="urn:AGL:widget:file-properties">
<param name="flite" value="executable" />
<param name="jtalk" value="executable" />
</feature>
Bug-AGL: SPEC-384
Change-Id: If13ca3b1015576317fd52cb9540b77d0e2675f67
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Ronan Le Martret [Thu, 3 Aug 2017 12:02:28 +0000 (14:02 +0200)]
Fix socket dependency for afb service
Change-Id: Icb65d7165e1f1c0811f170effe148606bc367872
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Tadao Tanikawa [Wed, 2 Aug 2017 09:21:20 +0000 (18:21 +0900)]
Executing /bin/bash explicitly
Although 'afm-util' uses PIPESTATUS[] to catch error from
dbus-send, it doesn't require executing /bin/bash.
Change-Id: I45b8a19b3dcdf789103472e16de64e0d50351548
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Ronan Le Martret [Fri, 28 Jul 2017 10:29:28 +0000 (12:29 +0200)]
clean markdown documentation
Change-Id: I1b0a1628b42097c47a844aa0c8030d4534428421
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Sebastien Douheret [Thu, 13 Jul 2017 20:02:20 +0000 (22:02 +0200)]
Add service debugging support (afm-debug).
Add necessary tools/scripts, such as afm-debug, to allow service binding.
These tools are only available in develvopment (AGL_DEVEL is set).
Change-Id: I4e946146af985c74c8bd97d8c118b932394bbc5e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 11 Jul 2017 15:31:42 +0000 (17:31 +0200)]
Don't list terminated processes
Listing processes that are terminated
might be disturbing. So it is now removed.
In some future, it should be good to return on
option even terminated processes with an indication
of their termination status.
Bug-AGL: SPEC-728
Change-Id: I6d5c892bc5e618830cb41de7d664c2443525af96
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 11 Jul 2017 15:06:06 +0000 (17:06 +0200)]
Allow to install widget with no icon
This patch allows a widget to not specify any icon
but it still enforce when an icon is specified to
specify only one icon and to provide the attribute
"src".
Bug-AGL: SPEC-702
Change-Id: I916b7581ac1f486a4a1d5774d0885c3711029f69
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 7 Jul 2017 11:50:23 +0000 (13:50 +0200)]
unit.conf: Allow service to run by default
Change-Id: Ifc2d1795041d0254af7db518f64c988bb747200c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Thu, 6 Jul 2017 15:22:49 +0000 (17:22 +0200)]
afm-util: make output more readable
Change-Id: Idfa35a60f3ee6268d2f08304e5ad2248777d2002
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 3 Jul 2017 11:09:11 +0000 (13:09 +0200)]
install: improve port detection
Check any existing X-AFM-http-port or
X-AFM--http-port.
Change-Id: I1111095664535c849c76870f2e5104fb07099ab4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 28 Jun 2017 16:05:18 +0000 (18:05 +0200)]
Fix bad error reporting
The use of %m was buggy due to the implementation
of 'vverbose': it always returned ENOTTY
Inappropriate ioctl for device
Change-Id: I0b7dd4c2f4ce5a45611042a8b9ba3e6db0e60803
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 27 Jun 2017 13:54:07 +0000 (15:54 +0200)]
Moves handling of reloads
The new version ensures that the daemons are responsibles
of reloading the units. This is no more done by default.
Change-Id: I9ff33a628dfc05e429dbc7bf127d641691f2a3b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 26 Jun 2017 08:29:17 +0000 (10:29 +0200)]
afm-util: report correctly error status of dbus-send
Bug-AGL: SPEC-699
Change-Id: I8398f9dedefbe02a1ba57ed3725fa680a8db3cfa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 23 Jun 2017 21:00:02 +0000 (23:00 +0200)]
Fix socket (de)activation at (de)install
When installing or deinstalling, it is needed to
issue a "systemctl (--user) restart sockets.target"
This patch implement it on user side.
To be improved.
Change-Id: I152eb6a1cf5df50b1fe3143837d6d42ee6619349
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 23 Jun 2017 12:06:02 +0000 (14:06 +0200)]
Fix daemon reload (to be improved)
Change-Id: Ica099aa439e6c022de4982a58b0990065d932b0b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 23 Jun 2017 12:05:16 +0000 (14:05 +0200)]
Fix socket activation
Change-Id: Ic511bf717c61105003d750235229bfc50ee7fccd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 23 Jun 2017 12:03:33 +0000 (14:03 +0200)]
Fix infinite loop in wgt_info_param
Change-Id: I8a623a40e48108c8999083667dae1230da2d206f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Stephane Desneux [Tue, 20 Jun 2017 09:38:12 +0000 (11:38 +0200)]
docs: fix book.json (headers/footers)
Change-Id: I7d997b9a8c17caa83e0e9c4f4611e0aac04be6b4
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Stéphane Desneux [Tue, 20 Jun 2017 09:25:03 +0000 (09:25 +0000)]
Merge "Auto generate cover from book.json fields."
Stephane Desneux [Tue, 20 Jun 2017 09:21:38 +0000 (11:21 +0200)]
docs: add document revision
Change-Id: Ib98fae58d8a95dceea42347a5e46d6d39d565852
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Sebastien Douheret [Tue, 20 Jun 2017 07:47:53 +0000 (09:47 +0200)]
Auto generate cover from book.json fields.
Change-Id: I8203040b759289b08d5311a74e6df557fe8250bd
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Stephane Desneux [Mon, 19 Jun 2017 21:48:30 +0000 (23:48 +0200)]
docs: remove incomplete docs from book
Change-Id: I1ed6c95a906c086a010b302eca6a48c2a3ac3eef
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Sebastien Douheret [Mon, 19 Jun 2017 15:32:33 +0000 (17:32 +0200)]
Fix pdf paging and make-units rendering (svg to png).
Change-Id: I60b5ab02602b993d8d92504b25f0a35d340d5444
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 19 Jun 2017 15:11:16 +0000 (17:11 +0200)]
Fix spelling and images size.
Change-Id: I01c6342fa9f6b16753ed5f48645538e48af09a5a
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 19 Jun 2017 14:52:06 +0000 (16:52 +0200)]
Re-order doc chapters
Change-Id: I44cf2054fa06816480e26fc19b45c6f8a464a708
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 19 Jun 2017 13:59:21 +0000 (15:59 +0200)]
Remove proposal statement.
Change-Id: I5d63279149c46e095afeec97bfad3c61e40fedee
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 19 Jun 2017 13:48:58 +0000 (15:48 +0200)]
Add gitbook documentation (support PDF generation).
To generate PDF doc:
./gendocs.sh pdf
To generate HTML doc (local webserver):
./gendocs.sh serve
Change-Id: Ib9b195814f4596a5cf5233d6a331d206e76c9bae
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Stephane Desneux [Mon, 19 Jun 2017 11:58:42 +0000 (13:58 +0200)]
docs: minor enhancements, typo fixes
Change-Id: Ic2cb29cb96e6542405736628f2d0cce995cb21ce
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
José Bollo [Mon, 12 Jun 2017 17:42:11 +0000 (19:42 +0200)]
Fix service name within socket units
Change-Id: Ic8e562dd31a9bf7e3f1e22f0cda8e381242e3468
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Mon, 12 Jun 2017 17:08:22 +0000 (19:08 +0200)]
fix binding version to 1
Change-Id: I98e6de97e170b8cbb51b48e0e3cf7e52e6def7f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>