summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core/af-main/af-main_git.inc
AgeCommit message (Collapse)AuthorFilesLines
2020-01-28af-main: Improve Smack setupJosé Bollo1-1/+1
Improve setup for solving access issues While developping the binding afb-test, the export of the binding afm-test, using "provided-binding" feature revealed to be broken because of security setup. Bug-AGL: SPEC-2795 Change-Id: I0af4a46aaa191cad167a332ebb2d14ebbfe04c6a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-12-20af-main: Fix allocation of idsJose Bollo1-1/+1
The allocation of ids and ports was broken because ids was not well scanned since commit 6008a3e Bug-AGL: SPEC-3068 Change-Id: Ia92a9c05e99ba1b62856d1610d2a91c9693c35e2 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-19af-main: OAuth client credentials and localuser namesJosé Bollo1-1/+1
This includes: - the basic OAuth client credential server - the token logic for WAM apps - the use of localuser names WAM apps Bug-AGL: SPEC-2968 Bug-AGL: SPEC-3032 Bug-AGL: SPEC-3033 Bug-AGL: SPEC-3014 Change-Id: I37588d4a4f9b74bb0ab0da70c7fbae1f8979f25e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-12-16af-main: Ensure home and workdir to platform's appJose Bollo1-1/+1
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: I1278375591716d18ce1346acc0f63fb073e4556a Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-12-06af-main & af-binder: Partial shift to token logicJose Bollo1-1/+1
This commit includes changes related to integration of token security logic and use of nss-localuser. Changes from af-main are: * 581f99c wgtpkg-install: Add default permissions * 50ab763 Remove tokens * 6008a3e Enforce numeric application IDs * 653562e Introduce localuser interface for applications Changes from af-binder are: * 5026e71 docs(func-service.md): typo * 2243df1 afb-api-dbus: Fix broken broadcast in dbus apis * ff5446e afb-proto-ws: Fix crash on event to disconnected * 1b240e6 afb-hreq: Handle HTTP header Authorization * 29ae81f Introduce object for tokens * 6f59158 coverage: Fix regression * 9a623c3 monitoring: Fix display on connection error * e6908a2 afb-hreq: Handle access_token query parameter * 0d3dc97 Remove refreshing token * 7c67e96 Remove returning token * e08d57c Don't return the uuid * b4da3b7 Move tokens from sessions to requests * e80c1a7 Use afb_token in contexts * d735ff8 afb-session: Expose a local id for sessions * 5ac7bb0 afb-session: remove initial token * 0fd887b u16id: Add maps for identifiers id of 16 bits * eaf5670 afb-evt: Use 16 bits for ids * b55f3cd afb-stub-ws: Enforce asynchronous describe * 7386e1c afb-proto-ws: Change the protocol WSAPI * 74a7ebb afb-error-text: Introduce standard error text * af003cd afb-auth: Increase and improve use of afb-auth * 98b214e afb-hswitch: Update websocket policy * b70caad afb-context: Move credentials to context * d8aff62 afb-context & afb-token: rework token validation * 36094f9 afb-supervision: Improve messages * 354dfe5 afb-perm: separate access to permission db * 93483c5 AFB.js: Enforce single code * c79b6ba Relax constraint on aliases * 7a28ebb afb-socket: Add ability to set a default scheme * 82a9d79 main-afb-daemon: manage listening interfaces Bug-AGL: SPEC-2968 Change-Id: If4751144595c38a69608a962c92b54ae1a976ac8 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-10-11af-main: Starting of HTML, API discovery, fixJosé Bollo1-1/+1
This upgrade includes the 2 fixes and one evolution below: * conf/system: fix shebang not absolute * Add WAIT_FOR_HOST_SERVICE envvar to unit files for webapps * Add discovery of API Bug-AGL: SPEC-2793 Bug-AGL: SPEC-2863 Bug-AGL: SPEC-2871 Change-Id: I0b9fb30b580be04d2f22c0daf3b21f4c4c0a2087 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Version bump for running as agl-driverJosé Bollo1-1/+1
Integrates the following changes: * 3284913 Introduce dbus config of services * 77bd420 Introduce platform services * 533d5a1 Fix synchronisation of user setup Bug-AGL: SPEC-1015 Bug-AGL: SPEC-1016 Change-Id: I3fd000a9fbdd73317b565d69ba2d8fbd49dc4e7f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Remove afm-user-daemon and bump versionJosé Bollo1-1/+1
The process afm-user-daemon is no more used within AGL. So it is better to remove its installation. Integrates the following changes: * d0d4dcd Allow setting of libexec location * 2db5d23 Fix outdated application path. * cc93752 Refactor of system and user setup * 316b19f Remove unused definitions * 401188a Use definition of afm_prefix * efabde7 afm-unit conf: Remove useless tests * 405ba31 afm-user-session: moves in libexec directory * 07a9590 afm-unit: Simplify the Makefile * 44b1bdc afm-unit.conf: cleanup of generation * 2f3486b gitignore: Add ignore of EXTERNALSRC's artifacts * 5b801a3 afm-unit.conf: Refactor its generation * ce5c20d afm-user-daemon: Remove it by default Bug-AGL: SPEC-2006 Bug-AGL: SPEC-2360 Bug-AGL: SPEC-2367 Bug-AGL: SPEC-2436 Bug-AGL: SPEC-2437 Change-Id: Ib77ecc2e9aabb8a3c5cef7266c3f5b19205939b9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-19af-main: Drop capabilities of applicationsJosé Bollo1-1/+1
This removes all capabilities of applications installed and launched by the framework. Bug-AGL: SPEC-2006 Includes the following changes: * 20bf077 afm-unit.conf: Add widget specific environment * a44e304 afm-util: Remove legacy commands stop/resume * f7a3a6e API Overview: Changes to the file that introduces APIs. * 26dd0f8 API Reference Overview: Removed old "kristi" file, updated book * b4ca569 afm-unit: Restore removal of capabilities Change-Id: I8c42d0b312aead668da03a987d0366b4ced73c70 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-25af-main: Add ability to manage all widgetJosé Bollo1-1/+1
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: I7a6896e79fa624dee7ee1f18d1e75c14f61bed0c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-18af-main: Update version and datesJosé Bollo1-1/+1
Includes: * bc39aec Set version to 8.0.0 * 2a319cf Update date in copyrights Change-Id: I1ff52c2eade4d1089098756b9311954444f64a81 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-06af-main: bump to latest revisionStephane Desneux1-1/+1
Includes changes: * 46e35ce Revert "afm-unit: Restore removal of capabilities" * 765d080 wgtpkg-unit: Fix Segmentation fault * d0cb2a7 wgtpkg-pack: Ensure packing relative files * 48e894b wgtpkg-zip: Ensure zip will not complain * 9f24684 afm-user-setup service: disable start rate limit * da0ec3a Revert "afm-unit: add autoapi in required-api feature" * adc590a Fixed book.yml file * 2b6e13b afm-unit: add autoapi in required-api feature * f2a2f13 afm-unit: Restore removal of capabilities Bug-AGL: SPEC-1988, SPEC-2006, SPEC-2144 Change-Id: I5d425f95d31b46991c952d8be976f8c843e7714d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-02af-main: Upgrade app-framework-mainJose Bollo1-1/+1
This allows to install more than one target in a same widget. Includes: * 0eb4c25 book doc: add book yaml file * a8ffd52 wrap-json: Upgrade to latest version * f8b0495 afm-unit: Fix http port multi allocation Bug-AGL: SPEC-2068 Change-Id: If018c063ab11724721c4b06861ee515a9be7641b Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-12-10af-main: UpgradeJose Bollo1-1/+1
This upgrade includes 3 commits: * 1b1399e Improve port allocation * 61b0cc7 Landing page for all APIs * 7ecf0c1 Fix: retrieve the 'appid' correctly Change-Id: Ib59b46faf1ed69431e46b7ed5ef3b85cb38f2876 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-11-22app-framework: Update versionsJosé Bollo1-1/+1
af-binder changes: * 153a7c9 AFB.js: Tiny improvement and space fix * eca8f3d afb-socket: Fix address reuse * 42099d3 afb-export: Fix error in event handling * 83c9e99 main-afb-daemon: Export variables to connect to binder af-main changes: * bceaf2c afm-system-daemon: Improve error message report * 44c70fd Treat correctly running/not running status * 94176d9 afm-unit: Export new variables Change-Id: Ifdb631d8155032f72b4497400fdbd935547c7782 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-02af-main: Bump versionJosé Bollo1-1/+1
This includes the following changes: * b2329b7 CMakeLists: Use AGLVERSION if set * 2a0ac96 wgtpkg-install: Force uninstall * 91baca1 doc: Changed doc to new format * f031387 afm-unit.conf: force symbolic link on update * 43bc2e5 docs: Improve documentating 'required-binding' * 9e1d25b Merge "docs: Improve documentating 'required-binding'" * 0e0ae55 afm-unit.conf: Restrict service for APIs * 24f0c20 Add the ability to access binding through tcp * 375f481 afm-unit.conf: Enforce starting after network * 19e745e Merge "afm-unit.conf: Restrict service for APIs" * 73f3570 Merge "afm-unit.conf: Enforce starting after network" * d40fc40 afm-urun: Force scan of systemd units * dc0836f Install afm-user-daemon with correct rights * 5f7901d afm-util: Fix report of error It fixes: Bug-AGL: SPEC-1863 Bug-AGL: SPEC-1846 Bug-AGL: SPEC-1836 Bug-AGL: SPEC-1650 Bug-AGL: SPEC-1800 Bug-AGL: SPEC-1230 Change-Id: Ifd1775448db4ebffa4bb656b5bcefaf891c4efa5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-09-14af-main & af-binder: Set version from AGLVERSIONJose Bollo1-0/+25
Change-Id: Ie1ff83f007d9d8d819829540d51e576f088c97eb Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>