summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-23Added target and terminal support.v1.1.0Sebastien Douheret19-24/+1513
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-08Avoid duplicate SDK install dir - SPEC-1252Sebastien Douheret5-30/+64
- install sdk in a directory that includes a unique id (built from install url or path). SDKs are now install under: <SDK_ROOT_DIR>/<PROFILE>/<VERSION>/<ARCH>/<UID> Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-06Auto update SDK DB on startup.Sebastien Douheret5-3/+51
Auto update db is enable by default (setting sdkDbUpdate = "startup") but it can be disable by setting sdkDbUpdate to "disable" in server config file. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-26Don't send command output too fast.eel_5.0.1eel/5.0.15.0.1Sebastien Douheret1-60/+13
Changes done in eows package of xds-common now allow to accumulate command output during a period of time (eg. 500ms) or up to the end of a line. Usage of this feature is mandatory to avoid to post to much buffers in websocket and consequently flood client (eg. web-browser) Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Reworked SDKs events (introduced sdk-state-change)Sebastien Douheret5-37/+84
Split add/remove/state-change from installing output (AKA SDKManagement event) in order to clearly separate events used to send installation output and sdk config changes. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-22Migrate db-dump script in python avoid nodejs depSebastien Douheret1-136/+129
- Also, workaround SPEC-1252 matching first detected SDK and break. - Fixed SDK date extraction. Bug-AGL: SPEC-1249 Change-Id: Ia1cb3e9466d0f8f958f6e8759287f801a5b81d04 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-22Fix not existing /etc/xdtrc fileRomain Forlot1-1/+1
Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-22Make sure using space as indentation styleRomain Forlot2-6/+8
Also use the same indent rules Change-Id: I50ca200d7186ba133ea3a6f0137120d4090ed16e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-18Fixed GOPATH setup while debugging in VSCSebastien Douheret1-4/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-16[webapp] Add minimum size for buttonRonan Le Martret1-0/+1
Change-Id: I2f8e6057408227b5cf48455918ac4850eaa49d84 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-01-10Update sdks list with EEL/5.0.0 release.v1.0.1Sebastien Douheret1-3/+7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
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-09Create sdk directory when needed.Sebastien Douheret1-0/+6
2018-01-08Fixed sdks db-update name and backup prev version.v1.0.0Sebastien Douheret2-4/+10
2018-01-05Update vendor/debug rule according to gerrit migration.Sebastien Douheret3-5/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret37-89/+88
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Added AGL .gitreview fileSebastien Douheret1-0/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-04Improved and fixed local SDK tarball installation.Sebastien Douheret13-84/+431
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-23Fixed SDKs management when running in xds VM.v1.0.0-rc2Sebastien Douheret8-17/+70
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Fixed invalid default value for Sdkscripts directory.Sebastien Douheret2-11/+11
2017-12-22Added SDKs management support.Sebastien Douheret26-64/+1283
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-16Fixed and improved events management.Sebastien Douheret12-257/+341
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret12-43/+28
- 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 Douheret2-4/+16
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 Douheret3-11/+16
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-05Improved Silly logging.Sebastien Douheret3-6/+13
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 Douheret40-6/+691
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Fixed subversion when tag doesn't include dash.Sebastien Douheret2-7/+12
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 double 'v' letter in package nameSebastien Douheret1-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
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