summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2016-05-04Removing legacy dbus-1 libraryJosé Bollo7-1245/+182
Change-Id: I1c1d17cd702e12ed961ed90d1489bc12b074bd55 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-04Switch to libsystemd eventsJosé Bollo1-1/+1
This patch removes part of code that are not specific in favour of a more shared library. Change-Id: I3506e7514181cfbed753559bb65460f95b2141c9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-27first add of asynchonous handlingJosé Bollo1-24/+59
Change-Id: Id9159d33937dc23342d32892f77998fb8cef0000 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-25avoid double freeJosé Bollo1-1/+10
Change-Id: Ibe92117ab104aca7ae923378198b36b0a273ec47 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21manages reference counting for eventsJosé Bollo1-1/+1
Events are sent to an unknown count of receivers. For this reason, the function push should not consume the json object given. Change-Id: Ie6c60074bd3822e7107d670f905cc86f56f826bf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19initial event handlerJosé Bollo1-4/+14
Change-Id: Idb92d6de9904d050b37ef0a5d664e82573ff640d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19refactoring context handlingJosé Bollo2-46/+15
Change-Id: I0e5a900efbd94b66f309ff4d0d49a6406585203f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19temporarily removal of unbuildablesJosé Bollo1-1/+1
Change-Id: Ic67506010cbce922476552f35411a92940056eb4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19prepares event propagationJosé Bollo5-14/+27
Change-Id: Ib824c6dea1837cc1cbb70a2c82363c9b0a0517d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18improves formattingJosé Bollo1-12/+19
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18changing the license to apache 2José Bollo19-190/+171
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-15use upoll for event loopJosé Bollo6-686/+1362
also add '#pragma once' in headers Change-Id: I90cc2d53ec60d4d1e66cf0f229109621e4019864 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08refactoring req interfaceJosé Bollo3-43/+8
Change-Id: I6fc9246099c34f62c82e060cf014a63b0e8f63d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07minorJosé Bollo1-6/+6
Change-Id: I25e8fd32146af4c1986d25dd9dbf4085c06400b7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07fix file postingJosé Bollo2-2/+4
Change-Id: If7e0aa3122af3a308a8441b518021f8a5cbe9473 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07improves file handlingJosé Bollo3-38/+19
Change-Id: I285cb6333d939a8afed07d8388d1d7850e50fe28 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06upload of filesJosé Bollo2-80/+73
Change-Id: Ifbe226ddc11f67223b4215db66af1ad1108a11f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06Radio plugin: make partially compatible with new APIManuel Bachmann4-61/+77
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-06make a sigv even in releaseJosé Bollo1-6/+1
Change-Id: Id54965016abbe749121c43ec675c6aeb06f5610e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05Merge branch 'master' of github.com:iotbzh/afb-daemonJosé Bollo7-99/+125
2016-04-05Audio plugin: re-enable PulseAudio backend buildManuel Bachmann4-12/+24
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-05Audio plugin: adapt to new API, re-enable buildManuel Bachmann6-87/+101
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-05fix context valuesJosé Bollo1-3/+3
Change-Id: I8a904fe7e0e895854729ae852b63c090f6c5bb5f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05refactored verbosityJosé Bollo1-5/+5
Change-Id: Ibbf6645fbf1149687be9a7475773685cfb06b514 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05plugin: updating utils-jbusJosé Bollo2-218/+750
Change-Id: I2493b77ccaad0b0df1ba3d9435c262814954edc8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-04work in progress, session handlingJosé Bollo5-117/+184
Change-Id: I0393346280825e24a34e8db386160d857723b841 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo3-94/+128
Change-Id: I1c4b48bc56a17b7351b57c3d4da53bd89465fff4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo1-7/+11
Change-Id: I01f72892530bb4ef14a7216a112812026a367bfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progressJosé Bollo3-15/+22
Change-Id: I3df95def03bb26ca4d1a52f7cd94b0fb67375d4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo2-9/+9
Change-Id: Id9a98da85bb838b9401dad48a6652207ab4db191 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo3-17/+7
Change-Id: I8f2684a38d0894d827510d9a171ee6d5c39fb55e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30renaming of field apiJosé Bollo1-4/+4
Change-Id: I41ffc32e86e1c8c0f86fb1b06c2f8054867a9bc2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoringJosé Bollo6-22/+21
Change-Id: I8dd46cf7fa57962e20e02f0fe34b3ffaa4c94f08 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23several improvementsJosé Bollo1-0/+21
Change-Id: Id21bd735b7e1e24993ae93bc9f3634c0298d6f12 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17afm-main-plugin: update utils-jbusJosé Bollo3-45/+81
Change-Id: I0c433bdd1136d4150e612468aab91dfcda383633 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17removed private api and fix some few warningsJosé Bollo2-0/+4
Change-Id: I8d4427c94ca2b88a4f1add70b065d0b6d0865286 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-16Add warning detection and improveJosé Bollo4-8/+3
Change-Id: Id4fc86b86d55aac578d84b4d2357c1a2e600c58b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-23Fix horrendously wrong Volume check in Audio pluginManuel Bachmann1-1/+1
Volume bound check was always false. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-02-17Audio plugin: choose between Pulse/ALSA at runtimeManuel Bachmann3-3/+15
If the AFB_AUDIO_OUTPUT environment variable is defined to "Pulse/Alsa", it will try to initialize the given backend (still falling back to Alsa for now). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-02-16afm-main-plugin: fix bugJosé Bollo1-1/+1
Change-Id: Ia39f4d38b6ace8fba9731bf1f0c700487a0e8063 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15afm-main-plugin: adds mode autoJosé Bollo1-1/+2
Change-Id: Ic707b52dd6029bd60242f03fcc04b6596f1cb017 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-14adds mode managementJosé Bollo1-3/+43
Change-Id: I73240e346a06924c314961871e789c69e279cb48 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-09afm-main-plugin: utils-jbus: fix bug that blockedJosé Bollo1-3/+11
Change-Id: Id31e2c93a1a128d768f9a55fdc739b0067b85121 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-09afm-main-plugin: Adds verbose promptsJosé Bollo1-29/+36
Change-Id: I85f1ca065cd659f974f699ab6b5540afd89bf5eb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-09afm-main-plugin: improves error reportingJosé Bollo1-1/+4
Change-Id: I766f96f74434dfc0ec578e20769f91ce0796363e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-26afm-plugin: update utils-jbus versionJosé Bollo1-1/+3
Change-Id: Iafc6b6776bf10722a6217678c5a6847cc3fb0bfb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-26Finalize Media Plugin upload API with full transfer logicManuel Bachmann1-23/+20
We now really transfer the file to the Media Server (Rygel e.g.) when the initial POST upload function has succeeded. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-26Merge branch 'master' of github.com:iotbzh/afb-daemonFulup Ar Foll3-9/+19
2016-01-26fixe getPostPath for afm-mail pluginFulup Ar Foll2-24/+22
2016-01-26Fix getPostFile() upload function, return bare JSON in listManuel Bachmann3-9/+19
getPostFile() does not fail anymore when creating a new folder (return value was incorrect). Media Plugin list API now directly returns JSON, with track list array indexed as "list". Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>