aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-04-05implementation of websocketsJosé Bollo3-62/+364
Change-Id: I663e750f27a6e54a771df84320bd45ee0acdcbde Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05renaming of session APIJosé Bollo4-3/+12
Change-Id: Id9113a4e14da296d929fed0fd2f1dd7cfeba839b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05allows connection to upgradeJosé Bollo7-70/+104
Change-Id: I2e174b67ea186180da0d8982fac14f468946dc14 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05new main loop in placeJosé Bollo9-173/+138
Change-Id: If297e0a76e74422d456447be52cca460c9e237b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05fix context valuesJosé Bollo1-2/+1
Change-Id: I8a904fe7e0e895854729ae852b63c090f6c5bb5f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05start epoll integration by upollJosé Bollo5-1/+194
Change-Id: If137a21e6f411775446393525ad7512421d7780e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05refactored verbosityJosé Bollo10-344/+92
Change-Id: Ibbf6645fbf1149687be9a7475773685cfb06b514 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-04work in progress, session handlingJosé Bollo9-257/+233
Change-Id: I0393346280825e24a34e8db386160d857723b841 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-02refactoring in progress (tbf)José Bollo2-8/+28
Change-Id: I090ff42572a56c1d3ed3dbeccddf195d3bc09aa3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo4-628/+236
Change-Id: I1c4b48bc56a17b7351b57c3d4da53bd89465fff4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo4-127/+18
Change-Id: I01f72892530bb4ef14a7216a112812026a367bfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progressJosé Bollo11-347/+287
Change-Id: I3df95def03bb26ca4d1a52f7cd94b0fb67375d4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo5-23/+89
Change-Id: Id9a98da85bb838b9401dad48a6652207ab4db191 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo13-125/+483
Change-Id: I8f2684a38d0894d827510d9a171ee6d5c39fb55e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31fix bugJosé Bollo2-2/+1
Change-Id: I5d905a3f74a18ae2bad8b907b1f4e61c2104117f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoring (in progress, tbf)José Bollo6-167/+286
Change-Id: I7461983aa3177f8ae54ca72761d916e646888fca Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30static setup of sessionsJosé Bollo3-10/+13
Change-Id: I51b7c20ffe2a1fecf1471522df0aa66d81dcaec1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30renaming of field apiJosé Bollo1-9/+10
Change-Id: I41ffc32e86e1c8c0f86fb1b06c2f8054867a9bc2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactor context usageJosé Bollo4-9/+31
Change-Id: I5ba57724eac605ef6e5a134ab7d9db56d2df4a07 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30naming: globally unic identifierJosé Bollo1-4/+4
Change-Id: I0da5ca620a08dd5a4508c59861e009e953b580d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoringJosé Bollo10-724/+778
Change-Id: I8dd46cf7fa57962e20e02f0fe34b3ffaa4c94f08 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-29removes session filesJosé Bollo1-300/+0
Change-Id: I4d074a7d6b7047b67fe11b394371780d6d2493e0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-29splitting rest-api in two partsJosé Bollo11-732/+1044
Change-Id: I6c1982660d60c5496b5ea0cd50fb8274e2eaf703 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-25websocket: initial (not integrated)José Bollo7-0/+694
Change-Id: I55943a81101a189d621f37f0a0b2fe21c9fbc215 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-25http-svc: fix bugJosé Bollo1-1/+1
Change-Id: I02252b8a07f1d711703c2103067c468ad597fb73 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-25session: fix bugJosé Bollo1-2/+2
Change-Id: I2b66d5156e1ca0d461a99e5b556b7da7c84ceea9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23session: formatingJosé Bollo1-279/+330
Change-Id: I8f2a5848eb90e5359245fc712d8c86eeb731a139 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23afb-req-itf: small step for abstractingJosé Bollo3-8/+52
Change-Id: Iaad2c4077b1b28c30c3f1b0369fb82ca0a5909ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23AFB_error: improves mangementJosé Bollo1-3/+3
Change-Id: I88969338623aad0cb628f97f9e9962315ae9380c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23cleanup: remove unused definitionsJosé Bollo1-0/+2
Change-Id: I6ca39422482cbb7174819a1e3cae83c56c6fb4fe Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23session: moves initialisation to mainJosé Bollo3-6/+4
Change-Id: I038d5624dc2f32e2c2d54b7e6ea388cb61122ccd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23session: removes file handlingJosé Bollo2-47/+51
Change-Id: Ib26a93bae5ef824fc570e634cf124b364b03fced Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23main: simplificationJosé Bollo1-110/+105
Change-Id: I13bec46b34d3c9d1a97c54d08c1c593b20896952 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23several improvementsJosé Bollo4-152/+87
Change-Id: Id21bd735b7e1e24993ae93bc9f3634c0298d6f12 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23simplification of configJosé Bollo4-413/+118
Change-Id: Id81932c67aa3a0b86f70eea008f8a90455e03d77 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23moves more helpers from config to helper-apiJosé Bollo2-1/+10
Change-Id: I5bc012ebe79c0b3f6cb89ac56c994e2a9d7ed5e9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23rest-api: allow zero pluginJosé Bollo1-5/+0
Change-Id: I80c88204a9b953bb3f1ba615fdd19d8ebb1fb30b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23main: fix typoJosé Bollo1-21/+20
Change-Id: If25a272a796306021523b114ee47b120755a9ea9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23removes save optionJosé Bollo1-16/+0
Change-Id: I2a935739985574f9463bf25884254a4ace3b4938 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23moves helpers from config to helper-apiJosé Bollo2-157/+125
Change-Id: Iecba4a22718b76a3188986eae814c359d21bbd78 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23http-svc: renamingJosé Bollo1-20/+30
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23afb-hreq: adds redirect for directoriesJosé Bollo1-31/+40
Change-Id: I6e069506025687b3bb4e61864667358f4f527e62 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23afb-hreq: creation of hreq classeJosé Bollo4-222/+282
Change-Id: I13bc04fe145a65f5f05a9b75ef470e952f6e191d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23http-svc: internal renamingJosé Bollo1-21/+21
Changes the names of structures: - struct afb_req becomes struct afb_hreq - struct afb_req_post becomes struct afb_hreq_post This new 'h', meaning HTTP, is insert to avoid mix-up with api requests. Change-Id: Ief08ff2d5494a2a0322cb2fa1903da90ec91f147 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-23http-svc: handle alises more efficientlyjobol1-12/+38
but buggy see later commit Change-Id: I82557a20f646bf3ceb159fc5e664a9a5655d2011 Signed-off-by: jobol <jobol@nonadev.net>
2016-03-23afb-method: creationjobol4-86/+141
also changed the licensing Change-Id: Ib50a6991b066a00363f36688dd485c7772014088 Signed-off-by: jobol <jobol@nonadev.net>
2016-03-18http-svc: work in progress proposalJosé Bollo1-277/+590
This commits is a proposal for rewriting part of the daemon. Change-Id: I2491530bc281c8fd674ee3ce01ac5b904387d7d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-18http-svc: fix bug of uninitialized responseJosé Bollo1-3/+2
Change-Id: I98dd53d6994e11d674916546173875196732aabc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17main: split the main in two partsJosé Bollo1-33/+49
Change-Id: I327ad2ad4f94b784685fb7fef972f8d9e85b8f92 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17main: use valid exit valueJosé Bollo2-16/+16
Change-Id: Id49850dbb1152f4b6cbdbafc42268974e5071897 Signed-off-by: José Bollo <jose.bollo@iot.bzh>