summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-28doc: switch to mkdocsJosé Bollo22-1748/+14
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-28update dates of headersJosé Bollo52-52/+52
Change-Id: Ie82326a91ff61f079421239ffa83428f552194ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-20afm-user-daemon: accept bus address with argumentsJosé Bollo2-5/+69
It might be necessary to pass the address as an argument because library systemd uses secure_getenv to retrieves the default addresses and secure_getenv might return NULL in some cases. Change-Id: Iea14a0494f39875f0a501e53a2711b0df96bab3c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-20afm-run: set smack attributes to user directoryJosé Bollo2-13/+33
The home directory for applications of a user that was created by the daemon also gets a security label and encures that there is no transmutation. It also simplifies allocation of the directory string. Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-20build: improve simulation of securityJosé Bollo4-6/+52
This commits allows to simulates either the security-manager and the smack LSM. These simulations are used for developping purpose. Change-Id: I138d7351511ca2663498bfacca28811fc81b8c55 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-18Minor improvementsJosé Bollo5-48/+41
- Clean cmake files - Fix orthograph and vocabulary Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-18Fix very bad typoJosé Bollo1-1/+1
The previous commit had CAP_DAC_OVERRIDE instead of CAP_MAC_OVERRIDE. Change-Id: I36988cd7771b6e25dbcf8d858ee3598bd12176b4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-14Refactor of service for systemd 229José Bollo2-2/+1
Since introduction of ambient capabilities, systemd deprecated the use of Capabilities. With systemd 229 activated with krogoth, the use of Capabilities does nothing. This commits avoids to use SecureBits and Capabilities. It now relies on the fact that post installations are setting the capabilities to the file: - setcap cap_mac_override,cap_dac_override=ep afm-system-daemon - setcap cap_mac_override,cap_mac_admin,cap_setgid=ep afm-user-daemon Using p (permitted) instead of i (inherited) that was previously used. Change-Id: I17d51da07adf775d47a7f44551d8b8ebbc6eacb9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-19documentation: improve namingsJosé Bollo2-10/+10
Change-Id: I188c3246f7492e82cb00a1a1f6cefe56495d9224 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-19documentation: adds required-binding entryJosé Bollo2-34/+72
Change-Id: Id8a62f5f6d9e54399fc12e10e922bf1ca121eb49 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-12Describes the permissions in the config fileJosé Bollo3-17/+35
Change-Id: I9f786ed0ae552354383796c4137a82b6116ad016 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-12cleanup of the codeJosé Bollo2-9/+0
The lines removed were not used and were in conflict with future developements. Change-Id: Ib1cc2d4e8ef18b37f9b68066258d002062db4eb6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-12Fix installation of more than one widgetJosé Bollo3-1/+11
Using command line tool, it is possible to install more than just one widget. Before this commit, the list of requested permission was not cleaned. Change-Id: Ic9311754f51f12d6231d1f08a55eb4b4aef0c74e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-12Avoid to exit in setting permission listJosé Bollo3-6/+11
Change-Id: I623546a8c134b54f7b62b42a980f603202e42868 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-12add documentation & ideas about config.xmlJosé Bollo11-36/+445
Also enforce the strings for 'id' and 'version' to be not empty in config.xml Change-Id: I510b62891885033e0b750fac5f5de5e0fd25d75d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-31Use of the new 'roothttp' optionJosé Bollo1-4/+4
The new option 'roothttp' set the root directory that the HTTP part of the binder serves. Its default value is ".". Using this option, the content accessible through HTTP can be a subdirectory of the root and in the same time, the application data are available in the root directory. Change-Id: I30d5f78eb2fe500b840fe0f4869d3e54be69c3cf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-19config: allows "standard" typesblowfish_2.0.2blowfish_2.0.12.0.22.0.1José Bollo1-1/+1
The standard types for HTML (text/html) and QML (text/vnd.qt.qml) should be available. This is needed for 3 reasons: - installing existing demos - installing almost standard HTML widgets - the current default type is text/html Change-Id: I9fa418b1c995663ac4120d3e0bdb42def3ab166e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-15afm-launch.conf: handle URL, native, QML and hybrid typesManuel Bachmann1-1/+18
Provide a generic layout for all the application types and usecases that developers may want to use, and that we are going to provide as templates. Change-Id: I3f8100a16ea64262e0cb7a0e1ee38a24eab776e8 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-07-10afm-launch.conf: handle services through application/vnd.agl.service mimetypeStephane Desneux2-5/+10
Change-Id: Icb19b5d5036168b3e74f8e684ec4a2909d0feeb7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-09cmake: handle build for SDKStephane Desneux4-58/+75
When building for SDK, only the wgtpkg tools should be built Change-Id: I2f935bae1b26d1d0e8b9513ade85703f8f49cf9d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-24upgrading documentation to new usageJosé Bollo15-91/+34
Change-Id: I5fbee7ba7ec929f6bcc02ffac7202059df02aa29 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24improves the documentationJosé Bollo9-1463/+955
Change-Id: Ieea284220b2b088bf460093f745e8f5fb3633eca Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24improves help messageJosé Bollo1-1/+1
Change-Id: I2bc1f268bf967a46571831572b99506df31ed6da Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24adds certificatesJosé Bollo2-0/+31
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24improves naming using 'binding'José Bollo6-19/+18
Change-Id: I535e01ce4a8dd1e16637e61c6624b4f37639b2f7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24improves verbose messagesJosé Bollo2-60/+63
Change-Id: I5831628aedb3adb6b1f917f1945b45e995be5321 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24cleanupJosé Bollo14-166/+504
Change-Id: I8041d3ffa0c8f403935874a8162f0dbc9c356e7a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24binding: report errors correctlyJosé Bollo1-12/+12
Change-Id: I160cff69ca344ac59df5e8bd9a29b936e8b11797 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-24vocabulary: moving from 'plugin' to 'binding'José Bollo4-23/+23
Change-Id: I89b7c0adc93ec6f9b97ee168b4a12651c72009ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-23doc: add IoT styled tutorial in htmlStephane Desneux1-0/+190
Change-Id: I95289a77bb2c85c17f846f0492d45f8a5564a5b9 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-23add .gitreviewJosé Bollo1-0/+5
Change-Id: I88cfb8fcc1a0129294a1a55909c86a07d374c995 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-14full asynchronous bindingjobol1-95/+154
Signed-off-by: jobol <jose.bollo@iot.bzh>
2016-06-09doc: add new document quick-tutorial1.0Stephane Desneux2-0/+529
Change-Id: I624417d3240504a763b5b45e98ba8f06d5de03e5 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-05-31set version 1.0José Bollo1-0/+6
Change-Id: Ie73f6c6e16855f7502c982c994766b58015ebd3d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30generates htmlJosé Bollo2-23/+23
Change-Id: I038559954c3713f467008c48603e26012eeda300 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30Widget DocFulup Ar Foll3-16/+171
2016-05-30Documentation ReviewFulup Ar Foll6-443/+370
Change-Id: I5574584b820f3b4537a9cef1f9f64d0517590883
2016-05-29improves documentation formattingJosé Bollo14-66/+260
Change-Id: I819dfdc98dab5fc75c8858b2afb1484e8d6b3b5a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29simplification of event broadcastingJosé Bollo1-3/+1
Change-Id: I12398731863c131bb5943f22b5807acef18b8164 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19backport to cmake 3.3José Bollo1-4/+10
Change-Id: I3c5c0670da70e2ed6adf425bf645bc2266e96308 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19improves .gitignoreJosé Bollo1-13/+1
Change-Id: Ife323f5fafc73fb046cccda4914bae9f5c1bfc98 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19afm-main-plugin: plugin for afbJosé Bollo5-44/+437
Change-Id: I39868b5c1076a995bbb10a984a2a0651579da30b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11explicit link to json-cJosé Bollo6-6/+6
Change-Id: I162f13c51e4ea760adc5c7358ca54dd059d592bc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11upgrade to use systemdJosé Bollo5-766/+424
Change-Id: Ic07116882d572af7e9b4618e2cf1fce55b997453 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10switch to sd-daemon loggingJosé Bollo2-24/+85
Change-Id: I6f1eea5e78da61b29367a0748ba4318cea5ebc54 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10fix typoJosé Bollo1-1/+1
Change-Id: If0faad0e28ab4de1fc8511dc9eeee7c7ec0c41d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21cleaner cleanupJosé Bollo1-0/+11
Change-Id: I5c7db64bcaf0757db33e3b96cf12890d98ef87a1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07afm-util: fix incorrect DBUS_SESSION_BUS_ADDRESS syntaxManuel Bachmann1-1/+2
The previous ":=" syntax would not work with "/bin/sh" or "/bin/bash". Make sure we export it, too. Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-03-21utils-jbus: adding commentsJosé Bollo4-218/+756
Also add a line in TODO list, minor refactoring, insert a remider about NDEBUG. Change-Id: I3d80dad7b6903df70c0fca2ef7256c158ecb3355 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-18doc: more documentationJosé Bollo13-684/+563
Change-Id: I34d3442e928e310608800d3325f0547872ec21ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>