summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-29Check go version and print error if not >1.8.1Sebastien Douheret1-1/+14
xds-common lib uses os.Executable function that has been introduced in go v1.8.1.
2017-11-29Fixed bug introduces by previous commit / refitSebastien Douheret3-13/+17
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Refit source files to have a public xs-apiv1 lib package.Sebastien Douheret32-901/+918
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 Douheret2-7/+7
2017-11-24Add folder update support and ClientData field.Sebastien Douheret10-65/+151
- 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 Douheret2-2/+2
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-13Merge pull request #3 from bavery22/FixSoftLinkSebastien D1-1/+1
Fix case where ~/.ssh/id_rsa.pub is a softlink
2017-11-13Fixed injection error with ngx-cookie package v1.0.1.v0.3.4Sebastien Douheret2-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-10Fix case where ~/.ssh/id_rsa.pub is a softlinkbrian avery1-1/+1
Some users may have the default id_rsa/id_rsa.pub be a softlink to one of a set of rsa keys. In this case, the cp would result in a dangling softlink in the container and the startup fails. Adding a -L to the cp command results in copying whatever the softlink points to into the container, which seems like the desired behaviour. Signed-off-by: brian avery <brian.avery@intel.com>
2017-11-06Always set sub-versionSebastien Douheret1-0/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Extract version from git tag.Sebastien Douheret1-17/+7
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 Douheret3-28/+60
2017-11-06Use plural nouns for all routes.Sebastien Douheret1-5/+5
2017-11-06Added short project ID name support if not ambiguous.Sebastien Douheret5-17/+62
2017-11-06Fixed folder ID and label generation.Sebastien Douheret5-18/+31
Folder ID is now a simple uuid (without sub-string of label)
2017-11-06Add sanity check on pathmap folder creation.Sebastien Douheret2-12/+38
2017-11-06Add silly log level support.Sebastien Douheret4-36/+42
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 Douheret8-15/+35
2017-11-06Kill right Syncthing (same url) in DEBUG modeSebastien Douheret3-11/+13
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Bump Syncthing 0.14.38Sebastien Douheret3-9/+9
2017-11-06Fix syncthing loggerSebastien Douheret2-6/+6
2017-11-06Cleanup and improvementsSebastien Douheret13-98/+130
- Save server data into file - FolderType is now a string - cleanup useless code Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Moved web Dashboard to xds-agentSebastien Douheret53-3749/+102
Xds-Server now only provides a minimal page to get basic instructions. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-19Fix ssh command when execited with a wget pipev0.3.3Sebastien Douheret1-3/+3
2017-10-19Support case when .ssh and default key dont exist.Sebastien Douheret1-5/+6
2017-10-19Fix warnings detected by shellcheck.Sebastien Douheret1-22/+18
2017-10-19Fix: piped execution of script failedForlot Romain [IoT.bzh]1-1/+1
2017-10-19Fixed auto detection of versionSebastien Douheret1-5/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-19Fix docker images detection on Redhat like distro.Sebastien Douheret1-2/+3
2017-10-17Bump v0.3.2v0.3.2Sebastien Douheret1-1/+1
2017-10-17Create xds-project.conf file on folder creation.Sebastien Douheret1-0/+22
2017-10-17Delete folders on disk (Server side and for Syncthing folder only)Sebastien Douheret1-1/+10
2017-10-17Update doc links for xds-agent installationSebastien Douheret1-2/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-17Improved docker creation script.Sebastien Douheret1-18/+55
- detect uid/gid conflict - add -id option - improved help - cleanup invalid container on error (unless -nc option is set)
2017-10-17Fixed default syncthing local port numberSebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-16Bump v0.3.1v0.3.1Sebastien Douheret1-1/+1
2017-10-16Fixed xds systemd user serviceSebastien Douheret3-10/+33
2017-10-12xds-server is now start as user systemd service.Sebastien Douheret2-7/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-12Add --volume option support.Sebastien Douheret1-9/+23
Also removed useless volume (residual settings of AGL SDK container)
2017-10-12Used non default syncthing port to avoid confict.Sebastien Douheret5-5/+5
2017-10-12Fix ssh credential copy where hostname cannot be resolvedSebastien Douheret1-3/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-12Default service to be started by current user.Romain Forlot1-1/+0
As well as use the same scheme that for etc/ Change-Id: I2e133f8a394546b8d51668e193d408065cdf5e81 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-09-25Cosmetic fixSebastien Douheret2-1/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-22Allow to run xds-server without syncthing support.Sebastien Douheret2-16/+105
To disable synchting support, just don't declare "syncthing": {...} section in config.json file.
2017-09-22Set default syncthing path.Sebastien Douheret2-3/+15
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-21Disable compiler optimizations and inlining for debugging.Sebastien Douheret1-3/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-21Move docs into xds-docs repo (published on http://docs.automotivelinux.org)Sebastien Douheret1-329/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>