aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syncthing
AgeCommit message (Collapse)AuthorFilesLines
2017-11-29Refit source files to have a public xs-apiv1 lib package.Sebastien Douheret2-220/+7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-24Add folder update support and ClientData field.Sebastien Douheret1-0/+9
- 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-06Fixed folder ID and label generation.Sebastien Douheret1-1/+5
Folder ID is now a simple uuid (without sub-string of label)
2017-11-06Add Server UUID and use it build CmdID.Sebastien Douheret1-1/+1
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 Douheret2-3/+0
- Save server data into file - FolderType is now a string - cleanup useless code Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
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-18Fix syncthing binary path detection.Sebastien Douheret1-11/+21
2017-09-13Set install dir to /opt/AGL and move conf to $HOME/.xds-serverSebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-29Fixed path convertion/mapping for in/out and for command args.Sebastien Douheret1-1/+24
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 Douheret1-1/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-18Add folder synchronization status.Sebastien Douheret4-8/+331
Also add ability to force re-synchronization.
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret3-54/+216
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-26Use xds-common go library.Sebastien Douheret1-1/+1
2017-06-23Prevent Syncthing auto-upgrade and restart.Sebastien Douheret1-0/+2
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-05-27Wait folder insync before sending exit event.Sebastien Douheret1-0/+90
By default wait folder insync. Set ExitImmediate param to true to send exit event immedialty without waiting folder synchronization.
2017-05-22Allow to set Syncthing rescanInterval parameter.Sebastien Douheret1-0/+4
2017-05-18Add Cross SDKs support (part 2)Sebastien Douheret2-11/+5
2017-05-17Use autogenerated Synchting apikey.Sebastien Douheret1-3/+24
Except if gui-apikey is set in config.json file. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-17Add SDKs support.Sebastien Douheret1-5/+41
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 Douheret1-14/+190
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-11Initial main commit.Sebastien Douheret2-0/+192
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>