summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-27remove unuseful flagsJosé Bollo1-1/+0
Change-Id: I1ae220cc7621647b0cbe1fa6ea4a21619b8fc52c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves detection of formatting errorJosé Bollo2-1/+2
Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves namingJosé Bollo1-4/+3
Change-Id: If26d8b9af05c84bd24d0ac3ceb9a628a0039c2a6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27indicates the call to initialisation functionJosé Bollo1-0/+1
Change-Id: Ia2e27fa2661b539e67e388a7e9f3fc1555281bd7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-4/+4
>100 return values are strangely returned by PulseAudio when doing an initial connection from afb-daemon. Just ignore them, because it breaks the logic. Allow 2 seconds of initial asynchronous connection (it should return earlier anyways). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-26/+38
Remove obvious errors from the PulseAudio backend. It does not work yet (permissions issues ?), and some parts of the code are still hardly self-explaining. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-26restore namesjobol1-2/+2
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26rename parameter to argumentjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26update documentationjobol9-166/+687
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26css: minor updateYannick Gicquel1-3/+10
pre block: margin alignment h1,h2,h3: add outline Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-05-25Set LOA SampleFulup Ar Foll1-2/+2
2016-05-25Set LOA SampleFulup Ar Foll1-4/+8
2016-05-25refactor requirementsjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-25more docjobol1-11/+96
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-25begins the documentationJosé Bollo10-0/+1208
Change-Id: I560725dfa5dd7ab1ae5e91b45f5ba613c3a2c1de Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24tic-tac-toe: improvementJosé Bollo1-10/+21
Change-Id: If59b14bce431c336bd9d800098c20ade3a915f4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24Comments and fix of afb_req_unstoreJosé Bollo2-57/+173
Change-Id: I64e3a1769a225041a998b1b9406a5ebe1a7f19d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24avoid to free the same pointerJosé Bollo1-1/+1
Change-Id: I0cf860c42046dd3819416688db24a2cd51c3f3aa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24improves commentsJosé Bollo2-0/+8
Change-Id: I6ddde79307b40c33ffd0208fe72ef84626c47cac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24tictactoe: adds asynchronous and signalingJosé Bollo1-10/+103
Change-Id: I6cf178f795957d109463041efe1ec211309b7e80 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24Improves behaviour of afb_req_getJosé Bollo1-3/+5
The implementations of afb_req_get were not the same for HTTP and WebSocket when the argument wasn't set. Change-Id: I2f09376f597ee75a50b06423a19823040a9352e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24don't export PLUGIN_INSTALL_DIR anywhereJosé Bollo3-3/+3
Change-Id: I32689b3de32f5c85b461edcb63ef4d0117ff9ecb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24adds the tic-tac-toe exampleJosé Bollo2-0/+527
Change-Id: I9c52b2e4f17ad3f02e0ef64fdd78864b3761e0b2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24add log macros for pluginsJosé Bollo6-64/+100
Change-Id: I3de30aeb90a41ed8ee63ec1e19c6032440d65574 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23fix regression of AFB_SESSION_NONEJosé Bollo1-1/+1
Change-Id: I1a03b99aa24bac7f801f94cfa0c8fd1cf28107e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix Radio plugin linking, improve Radio codeManuel Bachmann5-25/+58
Radio plugin now links correctly again (-lm was missing). Fix Radio plugin logic for new API, guard against some undefined values. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-23fix unicity of returned reqidJosé Bollo1-7/+3
Change-Id: Ib6c56844312112cc20e2c930f5803d620a9cbafc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Setting and checking LOAJosé Bollo6-14/+109
Change-Id: I02c3795c6e212491605861228eb60b731be78537 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Improve the Audio ALSA backendManuel Bachmann2-25/+61
Guard the ALSA backend against some undefined values, error codes, and remove a memory leak. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-23adds 'reqid' for GET/POST requestsJosé Bollo1-13/+27
Change-Id: I222dc17bc9f9795d0931c5a5b90ef53daacd026b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix don't close session on 'create again' errorJosé Bollo1-1/+0
Change-Id: I3ea1f1d76ab111217c8a229da7443becde4ec9e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix DON'T ALWAYS CLOSE SESSIONJosé Bollo1-1/+1
Change-Id: I93439f9d111598d8917e7fb3eeb8434d29cf877a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Add verbs for closing and setting LOAJosé Bollo3-2/+19
These new verbs are now available to plugins. LOA is the level-of-authorisation. The usage of these new verbs must be protected by a mechanism that is still to be done. Change-Id: Ia591fb6bf9cd16956dc95658c5ba3a24ee4380be Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Fix AFB_SESSION_CREATE behaviourJosé Bollo6-9/+71
This commit allows to call methods having AFB_SESSION_CREATE at any time. This commit prepares the future LOA (level of authorization) implementation that wille soon replace the deprecated mechanism of AFB_SESSION_CREATE. Change-Id: Ia3e99186e012fcd55a6c81a7067ab5b4aca21e4d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-20set version to 0.5José Bollo1-1/+1
Change-Id: Ibc6bc30bc5ae19819fa5051a445d1cf6780b0185 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-20fix one-page-application redirectJosé Bollo3-5/+18
Change-Id: I80c4dbda86cd1bc2847dea5b1dea304f41c551e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18Add QML WebSockets sample (token API)Manuel Bachmann1-0/+140
Creates, refreshes and destroys tokens via websockets. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-20plugin: improves error detectionJosé Bollo2-19/+31
Change-Id: Ib6b1f958c347c04a0697c2e1d8116773a5977bd4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19minor: documenting and cleaningJosé Bollo2-2/+20
Change-Id: Ia5a84655ac7f881682409c3c6ed72e395c86a34d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19afm-main-api: plugin moved to afm-mainJosé Bollo5-1494/+0
Change-Id: I627a698e17020e8437fa0045d7a35353f216d1e5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19improves compatibility with yoctoJosé Bollo3-10/+7
Change-Id: I6458dd1e66b96c564d67304fc8f193772914499b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19setting version and removing afm-main-pluginJosé Bollo3-10/+17
Change-Id: I282918e281d5c442b7259ffcd46b4ba0098fefe0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19websocket: accept empty protocolJosé Bollo1-1/+5
Change-Id: If4d8609d5340faa53fea9e133a5415a576cbf5c5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18adds a pkgconfig fileJosé Bollo4-4/+44
Change-Id: Ic0d143f282feef7335c7ea2bf589df90af4eef2f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18improves the build systemJosé Bollo16-91/+127
Change-Id: Idad84e88cd8c21d111ce7ed44340f6d2b0fccb37 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18favor new names at entry for token and uuidJosé Bollo3-23/+26
Change-Id: I62f9d4df7c83bf8d96ed9d89d4ab4b57146e6bb1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18propagate context creation to websocketJosé Bollo3-7/+15
Change-Id: I9ff53f5920d6134030f3e1d63c46f4a30a5e1968 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18adds detection of wrong names for apisJosé Bollo4-6/+44
Change-Id: I5466879bc2d9a60992605bf2514f78d3121f8114 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18fix bug in websocket clientJosé Bollo1-1/+4
Change-Id: I45c44f31c02ac81dc41127fe35024a57b8d4be33 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18fix naming of plugin entriesJosé Bollo1-1/+1
Change-Id: I6aa39d2a9e83b0a406aab503a051a9e5f8e96a0b Signed-off-by: José Bollo <jose.bollo@iot.bzh>