summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-01-10Fixed go linter warnings.Sebastien Douheret3-12/+25
2018-01-09Fixed source env sdk file when file is not set.Sebastien Douheret2-0/+7
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret32-76/+75
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-04Improved and fixed local SDK tarball installation.Sebastien Douheret5-47/+190
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-23Fixed SDKs management when running in xds VM.v1.0.0-rc2Sebastien Douheret4-11/+63
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Fixed invalid default value for Sdkscripts directory.Sebastien Douheret1-10/+10
2017-12-22Added SDKs management support.Sebastien Douheret11-59/+715
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-16Fixed and improved events management.Sebastien Douheret11-255/+338
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret5-17/+17
- config file name is : server-config.json - xds-server settings under user's home is: $HOME/.xds/server - xds-server settings under etc is: /etc/xds/server Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Removed useless code of deprecated make command.Sebastien Douheret1-203/+1
2017-12-08Support old folder type encoding (backward compatibility)Sebastien Douheret1-3/+15
2017-12-05Move xds-project.conf file create to xds-agent.Sebastien Douheret1-24/+0
2017-12-05Fixed default xds-agent port number and env var (XDS_AGENT_URL)Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-05Improved Silly logging.Sebastien Douheret2-5/+12
2017-11-30Fix null pointer exception when no sdk installed.v1.0.0-rc1Sebastien Douheret1-1/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Added Copyright header.Sebastien Douheret31-1/+528
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Create server data directory when not existing.Sebastien Douheret2-0/+9
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 Douheret30-716/+910
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 Douheret8-7/+119
- 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 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 Douheret3-20/+22
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 Douheret6-14/+27
2017-11-06Kill right Syncthing (same url) in DEBUG modeSebastien Douheret2-10/+11
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Bump Syncthing 0.14.38Sebastien Douheret1-5/+5
2017-11-06Fix syncthing loggerSebastien Douheret1-5/+5
2017-11-06Cleanup and improvementsSebastien Douheret11-97/+127
- 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-10-17Delete folders on disk (Server side and for Syncthing folder only)Sebastien Douheret1-1/+10
2017-10-12Used non default syncthing port to avoid confict.Sebastien Douheret1-1/+1
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 Douheret1-1/+12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-18Fix syncthing binary path detection.Sebastien Douheret4-15/+26
2017-09-13Set install dir to /opt/AGL and move conf to $HOME/.xds-serverSebastien Douheret4-13/+51
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-29Fixed path convertion/mapping for in/out and for command args.Sebastien Douheret4-16/+79
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-24Take care of ST connection lost in ST event monitor.Sebastien Douheret2-6/+33
2017-08-24Redirect HTTP and Gin server logs into a file (xds-server-verbose.log).Sebastien Douheret3-8/+13
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 Douheret10-40/+610
Also add ability to force re-synchronization.
2017-08-16Moved project creation in a modal windowsSebastien Douheret2-6/+16
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret19-365/+785
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>