summaryrefslogtreecommitdiffstats
path: root/lib/apiv1
AgeCommit message (Collapse)AuthorFilesLines
2017-11-29Refit source files to have a public xs-apiv1 lib package.Sebastien Douheret8-1082/+0
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-28Defined structures for /exec and /signal response.Sebastien Douheret1-9/+14
2017-11-24Fixed SDK ID resolution for /exec api.Sebastien Douheret1-0/+1
2017-11-24Add folder update support and ClientData field.Sebastien Douheret3-7/+40
- folder config can be updated using PUT /folders/:id route - ClientData field of FolderConfig can be used by client to store any data (used from example by dashboard to save build settings)
2017-11-21Always close gdb pty/tty even if an error rises.Sebastien Douheret1-8/+10
2017-11-17Merge remote-tracking branch 'origin/master' into wipSebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh> Conflicts: Makefile webapp/package.json
2017-11-17Fixed spaces handling in RPath - SPEC1116Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Used uuid of SDK ID and support short ID name if not ambiguous.Sebastien Douheret1-4/+2
2017-11-06Use plural nouns for all routes.Sebastien Douheret1-5/+5
2017-11-06Added short project ID name support if not ambiguous.Sebastien Douheret4-17/+41
2017-11-06Add silly log level support.Sebastien Douheret1-2/+2
Silly logging is enable when: XDS_LOG_SILLY env var is set and log level is debug
2017-11-06Add Server UUID and use it build CmdID.Sebastien Douheret3-10/+20
2017-11-06Cleanup and improvementsSebastien Douheret3-71/+2
- Save server data into file - FolderType is now a string - cleanup useless code Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-17Create xds-project.conf file on folder creation.Sebastien Douheret1-0/+22
2017-08-29Fixed path convertion/mapping for in/out and for command args.Sebastien Douheret1-14/+29
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-24Fixed /exec command (don't prefix command with exec binary).Sebastien Douheret1-3/+6
adding 'exec' prevents to use "script" syntax: xds-exec -c xds-config.env -- "cd build && cmake .." But 'exec' binary is mandatory to allow to pass correctly signals to subprocess such as gdb. As workaround, exec is set for now on client side (eg. in xds-gdb).
2017-08-18Add folder synchronization status.Sebastien Douheret3-1/+167
Also add ability to force re-synchronization.
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret6-51/+35
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-07Improved /exec to support gdb execution.Sebastien Douheret1-96/+216
/exec now supports stdin and stdout/stderr tunneling over an websocket (socketio). This also supports redirection of inferior process output (stdout only) in particular case of gdb command (set gdb --tty option).
2017-08-07Add stdin support to /execSebastien Douheret3-15/+63
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-07-04Report an error when sdkid not found.Sebastien Douheret1-0/+6
2017-06-26Use xds-common go library.Sebastien Douheret6-6/+6
2017-06-20Remove duplicate fields and set default SDK dir.Sebastien Douheret1-1/+1
- Removed duplicate fields between Config and FileConfig - set /xdt/sdk as default SDK directory
2017-06-15Auto add var named CLIENT_PROJECT_DIR to environment.Sebastien Douheret1-0/+3
2017-05-30Fix crash with /makeSebastien Douheret1-7/+27
2017-05-27Wait folder insync before sending exit event.Sebastien Douheret2-10/+59
By default wait folder insync. Set ExitImmediate param to true to send exit event immedialty without waiting folder synchronization.
2017-05-25Rework development page: Pre-build, Build, Populate.Sebastien Douheret3-25/+49
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-25Auto detect XDS-Agent tarballs and fix URL.Sebastien Douheret1-16/+46
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-22Add XDS-agent tarball download featureSebastien Douheret2-0/+38
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-18Add Cross SDKs support (part 2)Sebastien Douheret3-6/+45
2017-05-17Add SDKs support.Sebastien Douheret1-0/+4
Don't allow to install SDKs through XDS for now. Only probe existing SDKs that have been manually installed using scripts/agl/install-agl-sdks.sh. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-17Auto start Syncthing and Syncthing-inotify.Sebastien Douheret5-7/+10
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-15Fix invalid json encoding definitionSebastien Douheret2-6/+10
2017-05-11Initial main commit.Sebastien Douheret6-0/+500
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>