aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2019-11-20monitoring: Fix display on connection errorJose Bollo1-1/+1
When the connection can't occur, the output is not correct. Bug-AGL: SPEC-2975 Change-Id: I9cc185329ddccb00f2544dd7b17841b108cc2c81 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-07-23AFB.js: Improve default token discoveryJosé Bollo1-1/+1
The example script AFB.js should look int the URLs of the page if the token is set or not and then use it. Bug-AGL: SPEC-2661 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Change-Id: I4adba8eac214130b425b6cd3c56fc1dc63543011
2019-02-06Update copyright datehalibut_7.90.0halibut/7.90.07.90.0José Bollo7-7/+7
Change-Id: I3aaa92b2bfb01699ee8ae609272e93032b6f1a9d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-20AFB.js: Tiny improvement and space fixJosé Bollo1-4/+4
Change-Id: I170abe0dd1a1de3d2cc2ea7f86c746eb93e63eae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-22monitoring: Fix naming of apisJose Bollo2-8/+8
The introduction of API v3 changed the API of monitoring/tracing. This introduced a regression of the monitoring: it wass not more possible to filter api by name. This fix that issue. Bug-AGL: SPEC-1828 Change-Id: Ic7f614f6c696119c7fd313e3cd252095f578c64c Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-10-12AFB.html: Allow to call any verb of any APIJosé Bollo1-7/+17
Change-Id: I3bfff2632d5854d5885740e55f0ec38fe3214424 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-08-23Send error replies on disconnectionJose Bollo2-8/+24
The pending calls receive an error notification when the server hang up. Bug-AGL: SPEC-1668 Change-Id: I052dca5e338a7650d7630856e21f1d3a81c6f265 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-06-15api-v3: First draftJosé Bollo2-2/+89
This commit introduces the bindings v3 API for bindings. The documentation has still to be improved and will come very soon. Change-Id: I8f9007370e29f671fdfd1da87fff7372a17db7af Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-27Update date of copyright noticesJosé Bollo7-7/+7
Change-Id: If9d7e7728df086fbb7214f1de5cbec35cd2f1d9b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-12-04Remove unused and confusing filesJosé Bollo5-387/+0
Change-Id: I8362d8d7bf0f11a41ef2275614e9ef2bcf0fee29 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-12monitoring: Set default token to HELLOJosé Bollo2-2/+2
Change-Id: I3c158598da70089b9646233c632f14f62f1baa15 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-06AFB.js: make HELLO the default tokenJosé Bollo2-2/+2
Change-Id: I76ae307672e1268b9cc4a9194e61f884a3f7455b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-26monitoring: Improve readability of pastel styleJosé Bollo1-1/+1
Change-Id: Ic2e8963ad9754b349064e535ed17fc768c0d8063 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-26AFB.js: Allows use of client's callIDsJosé Bollo2-16/+24
Change-Id: I4eaa768446abb875f9c030a58ff919b117c0bfe5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-09monitoring: Add CSS/style/theme switch dynamicallyJosé Bollo2-1/+53
This can be useful when presenting the monitoring to switch from a dark theme to a light theme dynamically. Change-Id: I25beffe2071e7a71d7ad493099ab3bb674de8461 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05sig-monitor: Dump stack atomicallyJosé Bollo2-0/+2
Emitting the stack as a single string avoids its accidental split and is better when receiving monitoring events. Change-Id: I74c16f36f026b4af4a42064f694ac1f4a342cc1f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05AFB.js: fix bug (minor)José Bollo2-7/+23
Change-Id: I37ee5f599cf49a6a1c6b1e27cf3fcdd29b280c4a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-31verbosity: fixes split verbosity level 1 in 2 levelsJosé Bollo2-25/+30
The names wasn't correctly reported by monitor Change-Id: Id382d7fdc3bb56c8c11c865439e7e18c257df3a2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29monitor-base.css: fix overflowJosé Bollo1-0/+1
Change-Id: I075be34d5f29c12c3306d16b3c14ccd40b9a98ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29hooking: Add hook at global scopeJosé Bollo5-2/+9
Actually the global scope only allows to trace log messages. Change-Id: Ib73edf2e3168311b2ad694d857e6647e34884313 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29hook+trace: adds hookid and typeJosé Bollo1-1/+1
The hookid is a unic identifier for a hook event. Its purpose is to distinguish events that could match different filters: a same event has a same id. Also integrate the field "type" (of the event) in the trace event. Change-Id: I90b0b2d3a0846b673b993110d2752cc54db75bd8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-27monitoring: add default page index.htmlJosé Bollo1-0/+1
This allows to acces monitoring interface using url HOST/monitoring/ when option --monitoring is set. Change-Id: If7dfc89e4c4db0d87ec5c8e74f9243691a3ec0e8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-27monitoring: improvementsJosé Bollo8-227/+230
- use flex/css for correct layout - handles disconnection nicely - handles initial token - fix typo in afb-api-so Change-Id: I386b98f9d6a2182029d39a373a9820478f97cfa6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-26monitoring: add copyrightsJosé Bollo6-6/+102
Also still improve colours Change-Id: I2afc2dc7bf22ef65e39c18c9397ae6c7cd2df1d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-26monitoring: fix colorJosé Bollo1-2/+2
Change-Id: I73481b5a7d509c7f6640fc8b0c21c502667a657e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-25monitoring: improve user interfaceJosé Bollo5-11/+114
- fix buttons - manage scrolling - added separators Change-Id: I327a74d004ec33c41bb5e0dbc913bb02d9848878 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-25monitoring: updated demo with dark themeJosé Bollo6-127/+469
Change-Id: Ibb77655cd614553bf0090bf5ffa64180d1279f8b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-24monitor: Test page for monitoringJosé Bollo13-4/+1175
This is a test page for showing basic monitoring use. Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-31Factorize common code for handling requestsJosé Bollo1-0/+1
The common code for session handling is shared using struct afb_xreq. At the moment only hreq leverages the new feature. The objective is double: make the work of writing new internal requests more easy and prepare to check permissions. Change-Id: If3ca311d68c2d8c427d1125f31a2704b150c2c94 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08DBus binding: first draftjobol1-0/+57
Implements the verb 'rawcall' Change-Id: Id83b065f778f2fd61ecf6e4e13bff3cc17d8ef18 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08Avoids javascript errorsJosé Bollo1-1/+12
But doesn't make AfbAngular functionnal. Change-Id: I643c81792fa757710327a8f66a79a1c8173ebe75 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30Update QML token-auth demoManuel Bachmann1-11/+13
Finalize migration of the QML "token" demo to the new "auth" plugin logic. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-29don't enforce to refresh the tokenJosé Bollo3-3/+15
Change-Id: I4257210371c4b809e93c174e00677a82c4b196c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-28improve naming of sample pluginsJosé Bollo1-3/+3
Change-Id: I81cbb40c937bc087079d1605d163aea968bb9250 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-26restore namesjobol1-2/+2
Signed-off-by: jobol <jobol@nonadev.net>
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-13Fixed Sample POST/JSONFulup Ar Foll1-8/+54
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-04-20javascript reference with promise and eventJosé Bollo2-20/+48
Change-Id: I77633c0be2338ce4d03f84884462836604d932c8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19initial event handlerJosé Bollo2-1/+15
Change-Id: Idb92d6de9904d050b37ef0a5d664e82573ff640d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-14only one contextJosé Bollo1-6/+7
Change-Id: Idd27b7d5a1ecd1925d4777e2d311110590f45a5e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08proposal for a new js interfaceJosé Bollo3-0/+172
Change-Id: Icd9908fa976bf0020eff5ad25995bad1771bfa98 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08new websocket handlingJosé Bollo1-1/+1
Change-Id: I71fc5ff0412af6badce77485c98016916c56d235 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06upload of filesJosé Bollo1-4/+9
Change-Id: Ifbe226ddc11f67223b4215db66af1ad1108a11f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06improve the websock testJosé Bollo1-1/+5
Change-Id: Ibaa232dfd42b0dc060a09b042ab2879b13b6b8ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06websocket first version worksJosé Bollo2-36/+137
Change-Id: I4db7d432ea5921636bb5033b8d31e91475cecc52 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-01work in progress (tbf)José Bollo1-0/+1
Change-Id: I1c4b48bc56a17b7351b57c3d4da53bd89465fff4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-31refactoring (in progress, tbf)José Bollo5-0/+88
Change-Id: Id9a98da85bb838b9401dad48a6652207ab4db191 Signed-off-by: José Bollo <jose.bollo@iot.bzh>