Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I1d68e07563d9f0f139d1bc8128e09a5da0a648af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The framework wasn't correctly attributing application ids
because scanning existing applications was broken.
Bug-AGL: SPEC-3068
Change-Id: I01aa736c0ea072b5e4141fb5faa1981be81048ce
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The flow of HTML5 applications is adjusted to use
the basic implementation of cynagoauth.
Bug-AGL: SPEC-2968
Bug-AGL: SPEC-3032
Change-Id: Iabf7ebb39fe9ed87bf1fd5b6742fb512a6df19a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The widget type application/vnd.agl.resource doesn't
brings service. It can be used to provide a binding
to the system.
Bug-AGL: SPEC-3057
Bug-AGL: SPEC-1663
Change-Id: I5c900865b8eeec494953942c8069dfefe254a85c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The widget requesting the permission to run at
platform scope: urn:AGL:permission::partner:scope-platform
should be able to record data and state.
This change provides a default place to achieve it.
Bug-AGL: SPEC-2998
Change-Id: I148a670d3e08e36603ebd318b533ea1e1a695750
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This change make use of nss-localuser hostname
family (see https://git.automotivelinux.org/src/nss-localuser/)
to separate applications and users, each running its
own IP address and hostname.
The intended behaviour is to use existing browser policy to
ensure privacy of applications and users.
Bug-AGL: SPEC-2968
Change-Id: Ie1a3c7331fd43e8747afae2cd338df461bac1454
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This change allows to index applications numerically.
This can be used for various purposes. One of it is
to compute the HTTP port.
Bug-AGL: SPEC-2968
Change-Id: I74531781f3a39d5d4b09eeb907f57f36822e38f0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Tokens are no more managed by the binder.
Bug-AGL: SPEC-2968
Change-Id: Iabcbc6e900811cd88729f007bb16ba493d0c0651
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Only one default permission is used now:
"urn:AGL:token:valid" that is used to check
token validity.
This adds in the cynagora database the rule
SMACKID * * urn:AGL:token:valid yes forever
That means that applications having a smack label
installed by the framework behave as if they have
a valid token, a token without any scope/permission
but just valid.
This is needed during the transition to token based
permission policy.
Bug-AGL: SPEC-2968
Change-Id: Ia5b1cc50e8308bfc29906346c5b159dca889519b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This change allows binders to use API not declared in
the config.xml file.
This behaviour is allowed by the platform permission
urn:AGL:permission::platform:apis:auto-ws
It allows a binding to use started bindings not listed
in their config.xml file. But it does not allow to start
them or to discover them.
Bug-AGL: SPEC-2871
Change-Id: Iff0ec8417541171d446254e538201b7f6c7887ea
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This envvar will make the application launcher wait for the WebAppMgr
service to be fully running before attempting to launch the app.
Otherwise, launcher would resort to running the app in standalone
mode, which would conflict with the WebAppMgr service when it's
finally running.
It will be useful for webapps that are auto-started, like the future
homescreen or the html5-launcher.
Bug-AGL: SPEC-2793
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Change-Id: I97f927c856b0dd2643f8b7492dff06b2c459761d
|
|
Wrong shebang in some shell script prevents packaging to ends correctly.
Bugs-AGL: SPEC-2863
Change-Id: I63ae56ddc88f9f9dfa0734efff69c26c87800a07
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This reverts commit 37d9652ee0011eff9346a54c33bd459b53e29d0f.
Revert looks good because the issue has to be adressed by
the build environment.
Bug-AGL: SPEC-2801
Change-Id: I51cd51344fc6c6d602f6636c2ffe3af094a78c52
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
It is intended to enhance reproducibility
of produced binaries as unmeaning prefixes
are removed.
Bug-AGL: SPEC-2801
Change-Id: Ic406e4477e47c313757c00932db0f129e1d3d01f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
|
|
The user setup takes care of populating correctly the
directory /run/user/UID with needed items BEFORE
user services start.
Bug-AGL: SPEC-1015
Change-Id: I6f942d73bf241d593c960dbf3bc6a038f1746fe0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The platform services are services that run
at the global platform scope as opposite to
services that run in the context of the user.
Bug-AGL: SPEC-1015
Change-Id: I08c2d47715cbc7436e67781d5e638386be531520
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The files conf/dbus/afm-permissions-*.conf
are introduced to grant the permission to
access specific services.
At the moment the same permission is used:
http://tizen.org/privilege/internal/dbus
But the idea is to replace it by a set of
different permissions.
Bug-AGL: SPEC-1016
Change-Id: Ide54e7fd9ae328ff17a877e4ec04b18ad32fb899
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The daemon afm-user-daemon is deprecated.
To be cleaner, it is removed from the compilation
and the installation.
It is still kept a again for little time in the
unexpected case where it could be useful to compile
it.
Bug-AGL: SPEC-2437
Change-Id: Ifccee49eb14ceff5f7a78fb299260918a585bf93
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The daemon afm-user-daemon is deprecated.
To be cleaner, it is removed from the compilation
and the installation.
It is still kept a again for little time in the
unexpected case where it could be useful to compile
it.
Bug-AGL: SPEC-2437
Change-Id: I164de87dd006570671543204dab5233fca40e538
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The process of generating the file /etc/afm-unit.conf
had be reworked to be more straight forward.
Before that commit, a manual operation (a "make") had
to be done before committing the repository. This was
not efficient, error prone and kept temporary files in
conf.
That commit changes it by calling m4 through cmake.
Bug-AGL: SPEC-2436
Change-Id: Ia32a810286471dde8a01387d157e33277d67411d
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This tiny change allows to use EXTERNALSRC when
building debugging images without having its
git status polluted.
Bug-AGL: SPEC-2006
Change-Id: Ic6556a34c487012471ed456c6b4467d686fee816
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The generation files are reworked to improve
their evolution and maintainability:
- the Makefile now refers to any .inc file
- the macros are isolated from the skeleton
- main iterators are managed in the skeleton
- improve management of UNIT_NAME_BASE
Bug-AGL: SPEC-2436
Change-Id: I0877eb0149c9362be3290ed2c146cc69fc6bf718
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The use of AFM_CONFIG_DIR brings nothing except confusion.
Bug-AGL: SPEC-2436
Change-Id: I21a18ad98349bf6799b72061523bc353ad3d6c3f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Having the binary 'afm-user-session' in /usr/bin
brings nothing. It is better to keep it in private
area.
Bug-AGL: SPEC-2367
Change-Id: I8ef517f599c02e18d8987278a6652a065ee6f0b6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The tests were not needed because they
were in the body of a conditional part
ruled by the same test.
Bug-AGL: SPEC-2436
Change-Id: Ia5cd1157dde6fc2b5aa1153aa375568b39639caf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The prefix of the URN for AGL features should be
settable.
Bug-AGL: SPEC-2436
Change-Id: I49e9634ebc6a280c28caa6e6764e543a7e78253c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The definitions FWK_PREFIX_BINDING and afm_prefix_binding
aren't used so removing it is better.
Bug-AGL: SPEC-2436
Change-Id: Ia90b75983f052b9b3c17832e968b0d457d0f7802
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Since a long time, the creation of the user and
system run environment was made by a sub-optimal,
hardly maintainable and false-error generating.
This change puts the user and system setup
in separate shell scripts. This makes them
more easy to maintain, update or tune.
This facility will useful for further evolution.
Bug-AGL: SPEC-1016
Change-Id: Iede81a659eacf4e5c21c561a33d300408e1bd058
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Bug-AGL: SPEC-2360
Change-Id: I7907f8433cfdaf269004d6bc667f082a009b5cbd
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
|
|
The location of the framework binding could not
be tuned but is fixed.
The default location is good but it is important
to be able to tune that location. This at least
has the good effect that the location is set at
one point in the build system instead of at multiple
points as today.
Bug-AGL: SPEC-2367
Change-Id: Ib06fdff56d1828eacd0d1f82c2e1308d0b36fa5e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This removes capabilities to any application installed
and launched.
Also fixes a tiny bug in setup of user environment.
Bug-AGL: SPEC-2006
Change-Id: I2c0d85cc2c2d389247ad9ce728f4d9e8e3d74616
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Removed the old 0-kristi* file and updated the app-services-book.yml
file to remove the redundant file from the contents.
Change-Id: If0c01d5c39ae9660909d531335158b54168bc47a
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
Updates to wording.
Change-Id: If91bfd17f786f39a2feedb70919af959222b59ff
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
|
|
The command stop was linked to the SIGSTOP of
processes. It came in deprecation. Keeping it
is confusing.
Bug-AGL: SPEC-2247
Bug-AGL: SPEC-2248
Change-Id: Iad6af317ba4fd6466f306ef493ef8dd62d8de778
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This change allow to set environment specific
to a widget in ${afm_confdir}/widget.env.d/ID/*
files where ID is the ID of the widget.
Setting specific environment for a given widget
was not possible (except in devel/debug) before.
Change-Id: I8ef9349fda9adb8eecf330ce97cc7ebcd21bf399
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
For system uses -like automatic testing-, it is
needed to include tha ability to list ALL installed
widgets and ALL running instance of installed
widgets.
This change adds the option -a or --all to the
commands 'list' and 'runners' for the purpose
of listing any installed widgets, even those
requiring to be hidden.
Example: afm-util ps -a
Bug-AGL: SPEC-2272
Bug-AGL: SPEC-1850
Change-Id: I216ec9c63efea1b3af58e1d2d7723d986e04551e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie2ff321f78c59913373e2ffb2820297fd423d6f4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If6524976b05ab104acee52f0cce1a7feea5e9d48
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This reverts commit f2a2f1357a5268b614528feeba0a91f4ea04a7aa.
Change-Id: I7ff68f27b75c9ddb887470c5579e7b9277aa3613
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
This fixes a segmentation fault raised when
uninstalling a widget. This regression was
introduced by the commit f8b0495.
Bug-AGL: SPEC-2144
Change-Id: Ie10eb97a4d2f2663d73f83b210ef2b17717ed2e6
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
When running external ZIP program, ensures that
the files are stored with a path relative to the
root directory by changing the directory first.
Also, tiny improvement in working directory handling.
Change-Id: I3470c6c933aea9cd93dac197ff7f5e8a0ed86b23
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The invoked program ZIP may complain that the
target zip file is not valid. It happens either
when it is really invalid or when it is empty.
Change-Id: I8b123019175fab45c6539c1d5938656afd9c7643
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The service afm-user-setup is invoked each time an app is started.
If the user starts apps too quickly (3 apps in less than 10secs by default),
then afm-user-setup will fail and the last app is not started.
This patch removes the rate limitation coming from systemd default config.
Change-Id: Ief6af726c58866e2fc6d3fa170e5f6c6afbee987
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|