summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-05-17event sender: better namingJosé Bollo5-21/+21
Change-Id: I82d918cd14b1e368ef509fa3a1b21c3e55a6b98d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17improves plugin interfaceJosé Bollo10-112/+179
This commit improves the names and the organisation of the plugin interface for the developpers. Change-Id: Iaf191efbf8fd5d248884304b648258f0770ec5f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17DocumentationFulup Ar Foll1-1/+1
2016-05-17DocumentationFulup Ar Foll1-3/+23
2016-05-17provides developper filesJosé Bollo21-24/+27
Change-Id: I0e41a0db778c69b5f5ce71115d495b2bb8b4cffe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17update installation of executablesJosé Bollo1-1/+4
Change-Id: Ie6c967f1c9d4a3936f608371714c3ff685c7de0a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17avoid a warningJosé Bollo1-1/+1
Change-Id: I7a571d13670f689d8a872b2583a5ac06374d0b1a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-17update documentation for new pathsJosé Bollo1-2/+2
Change-Id: I734345475e6fbb7d924480ad9f0df79d6b1e8cdf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13Merge branch 'master' of https://github.com/iotbzh/afb-daemonFulup Ar Foll59-174/+347
2016-05-13Fixed Sample POST/JSONFulup Ar Foll3-9/+64
2016-05-13cleaning copyrightsJosé Bollo57-60/+58
Change-Id: I4ff7349b1a87f92a7d9f378c715054061f06df57 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13example of integration with websocket in CJosé Bollo10-116/+291
The file src/afb-client-demo.c provides an example of how to make a simple C client that connects to the daemon using the websocket protocol x-afb-json1. Change-Id: I31c926b2c42101a53e1ea36b4f67f095614db4a0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13new verbose and clean upJosé Bollo5-22/+69
Change-Id: I5217b216d706fd0286c8754e966bca3965d4ea62 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13implements the example for file uploadingJosé Bollo1-1/+5
Change-Id: I3171edbb702eecde401a218f8a56cc365aeaadbb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-13media: uploading - first stepJosé Bollo3-50/+129
Change-Id: I469dac8883f2c8e94fa2384612723ff29e6eae41 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-12websocket client libraryJosé Bollo6-1/+1076
This introduce 2 files for creating client of websockets x-afb-json1: - afb-wsj1.c - afb-ws-client.c The file afb-wsj1.c implements the protocol x-afb-json1 on top of afb-ws.c. It could be used to rewrite afb-ws-json1. The file afb-ws-client.c implements a light version of the websocket handshaking to open a afb-wsj1 based on an uri. Change-Id: Ie53a3b4ff91a9efac32b667b57f8005266db6001 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-12fix a typo bugJosé Bollo1-1/+2
Change-Id: If622b8964d554469204f4df379680c2d258b4bff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-12fix the linked list leakJosé Bollo1-0/+8
Change-Id: I0a26ed98b400df3dfde07d86c058120c8d140329 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-12better naming for protocolJosé Bollo4-19/+18
Change-Id: Idbcf5bd180788c8f50a7f2634c225290cf40c229 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-12Merge branch 'master'José Bollo1-1/+1
er en quoi cette fusion est Change-Id: I988c9cf042b120935b2c7ff2c6d9a5d969ac4b9e
2016-05-12fix https caseJosé Bollo1-4/+9
The HTTPS case is still to be encoded for the websockets. This new test manages the possible case of HTTPS to emit an error message instead of a SEGV. Change-Id: I1fae5d6ad50dfd7eaefdd0f44734cee1a488ccfe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11Fix typo in media-apiManuel Bachmann1-1/+1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11Update Radio plugin, Media pluginManuel Bachmann11-299/+341
Radio and Media plugins are now ported to the new API and build again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11fixup session memory leakJosé Bollo1-3/+9
Change-Id: I49ed17a3818be6107c46ce17533761858d99f735 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11Update dependencies in README.mdManuel Bachmann2-9/+14
Remove mentions of libdbus, add systemd and openssl. Mention Ubuntu 16.04 and Fedora 23 as reference systems. Add dependencies helper for both. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11re-allow token null with old semanticJosé Bollo1-15/+17
Change-Id: I2db4ccb62b8a9aa2e7c93e54a43c47adc5cd3f93 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11improve build dependenciesJosé Bollo1-5/+0
Change-Id: I8acdaa832d238b170a65b7d968cc6f34e67dfcd4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11dbus service propagate eventsJosé Bollo1-2/+63
Change-Id: I34f2272e2f9e4f9166e55a7c8c17015fb8775d19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11improves signal handling & call monitoringJosé Bollo5-95/+161
Change-Id: Ia37c70ffbb9122b2d53ec93baf203cd141613dc6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11allows to filter events before to receive itJosé Bollo3-5/+14
Change-Id: Ia25d6a6269d7dd1af900b63d54cf615a69dfc4d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11allows global event listenersJosé Bollo1-17/+36
Change-Id: Ic8adc8b500542bc946b9236f391976da29214dd6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11fix leak of messagesJosé Bollo1-2/+7
Change-Id: Ieb4cfcf0b791cee89fadb742d6fbf00b9739bd10 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11fix dbus disconnection on errorJosé Bollo1-1/+2
Change-Id: Ifddabb8c76094fca088ad5250b8dde30a48946c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11daemon: make --token parameter mandatoryManuel Bachmann1-0/+5
The daemon now quits with an explicit error message instead of crashing if the "--token" parameter was omitted. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11Update Audio plugin, re-enable ALSA/Pulse linkingManuel Bachmann7-111/+129
Audio plugin is now ported to new API and builds again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-10explicit use of json-cJosé Bollo11-11/+11
Change-Id: Iebf7309255d1285a5833c5490d32f518a9232ede Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10typoJosé Bollo3-3/+2
Change-Id: Ida51275f75608e0b146a86d49bdb0e4b9c325fc0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10implmentation of dbus-service activatedJosé Bollo2-1/+73
Change-Id: I7fb1bb9d2e1f02fb746f45b803c0798ff0d7336c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10refactored loggingJosé Bollo8-117/+131
Change-Id: Iec97d679b7e3baa430e614f8e6336d6487de0f25 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-10Refactoring requests and context handlingJosé Bollo20-331/+1041
Also adds a first (untested) implmentation of the afb services over dbus. Change-Id: Id1bdeccf75f3a70d3658bdaf0510d6e7b97f6c32 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-09add test files for Angular.js (not finished)José Bollo3-0/+215
Change-Id: I179687911193fee2bd732db5d42f2748dcedd9f8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-09ensure that the copy is done by libmicrohttpJosé Bollo1-1/+1
Change-Id: I68d10265e34953e3ad21197f616c838b4b8c2bad Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-09better cleanup on errorJosé Bollo1-1/+1
Change-Id: Icb78637f4e7ed905ae8df4bf2e1ba1e0d176dfa2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-09better naming of event listenersJosé Bollo3-27/+26
Change-Id: I855d2aa1ebc0cc9fb220a338f4ce79410a58c040 Signed-off-by: José Bollo <jose.bollo@iot.bzh>