aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syncthing/st.go
AgeCommit message (Collapse)AuthorFilesLines
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret1-3/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Added SDKs management support.Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret1-1/+1
- 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-11-30Added Copyright header.Sebastien Douheret1-0/+17
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Kill right Syncthing (same url) in DEBUG modeSebastien Douheret1-3/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Fix syncthing loggerSebastien Douheret1-5/+5
2017-11-06Cleanup and improvementsSebastien Douheret1-1/+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-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-24Take care of ST connection lost in ST event monitor.Sebastien Douheret1-6/+10
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 Douheret1-0/+10
Also add ability to force re-synchronization.
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret1-44/+6
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-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-18Add Cross SDKs support (part 2)Sebastien Douheret1-0/+2
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 Douheret1-0/+76
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>