mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
all: Automatic/disabled folder-config when receive-encrypted (#7327)
This commit is contained in:
parent
7e4e2f3720
commit
80fc238bec
1
go.mod
1
go.mod
@ -48,7 +48,6 @@ require (
|
|||||||
golang.org/x/sys v0.0.0-20201101102859-da207088b7d1
|
golang.org/x/sys v0.0.0-20201101102859-da207088b7d1
|
||||||
golang.org/x/text v0.3.4
|
golang.org/x/text v0.3.4
|
||||||
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
|
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
|
||||||
google.golang.org/protobuf v1.23.0
|
|
||||||
)
|
)
|
||||||
|
|
||||||
go 1.14
|
go 1.14
|
||||||
|
@ -250,7 +250,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-footer clearfix">
|
<div class="panel-footer clearfix">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<button type="button" class="btn btn-sm btn-success" ng-click="addFolderAndShare(folderID, offeringDevice.label, deviceID)" ng-if="!folders[folderID]">
|
<button type="button" class="btn btn-sm btn-success" ng-click="addFolderAndShare(folderID, pendingFolder, deviceID)" ng-if="!folders[folderID]">
|
||||||
<span class="fas fa-check"></span> <span translate>Add</span>
|
<span class="fas fa-check"></span> <span translate>Add</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-success" ng-click="shareFolderWithDevice(folderID, deviceID)" ng-if="folders[folderID]">
|
<button type="button" class="btn btn-sm btn-success" ng-click="shareFolderWithDevice(folderID, deviceID)" ng-if="folders[folderID]">
|
||||||
|
@ -51,6 +51,7 @@ angular.module('syncthing.core')
|
|||||||
$scope.globalChangeEvents = {};
|
$scope.globalChangeEvents = {};
|
||||||
$scope.metricRates = false;
|
$scope.metricRates = false;
|
||||||
$scope.folderPathErrors = {};
|
$scope.folderPathErrors = {};
|
||||||
|
$scope.currentSharing = {};
|
||||||
$scope.currentFolder = {};
|
$scope.currentFolder = {};
|
||||||
$scope.currentDevice = {};
|
$scope.currentDevice = {};
|
||||||
$scope.ignores = {
|
$scope.ignores = {
|
||||||
@ -276,7 +277,8 @@ angular.module('syncthing.core')
|
|||||||
arg.data.added.forEach(function (rejected) {
|
arg.data.added.forEach(function (rejected) {
|
||||||
var offeringDevice = {
|
var offeringDevice = {
|
||||||
time: arg.time,
|
time: arg.time,
|
||||||
label: rejected.folderLabel
|
label: rejected.folderLabel,
|
||||||
|
receiveEncrypted: rejected.receiveEncrypted,
|
||||||
};
|
};
|
||||||
console.log("rejected folder", rejected.folderID, "from device:", rejected.deviceID, offeringDevice);
|
console.log("rejected folder", rejected.folderID, "from device:", rejected.deviceID, offeringDevice);
|
||||||
|
|
||||||
@ -1814,12 +1816,18 @@ angular.module('syncthing.core')
|
|||||||
$scope.currentFolder.path = pathJoin($scope.config.defaults.folder.path, newvalue);
|
$scope.currentFolder.path = pathJoin($scope.config.defaults.folder.path, newvalue);
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.fsWatcherToggled = function () {
|
$scope.setFSWatcherIntervalDefault = function () {
|
||||||
if ($scope.currentFolder.fsWatcherEnabled) {
|
var defaultRescanIntervals = [60, 3600];
|
||||||
$scope.currentFolder.rescanIntervalS = 3600;
|
if (defaultRescanIntervals.indexOf($scope.currentFolder.rescanIntervalS) === -1) {
|
||||||
} else {
|
return;
|
||||||
$scope.currentFolder.rescanIntervalS = 60;
|
|
||||||
}
|
}
|
||||||
|
var idx;
|
||||||
|
if ($scope.currentFolder.fsWatcherEnabled) {
|
||||||
|
idx = 1;
|
||||||
|
} else {
|
||||||
|
idx = 0;
|
||||||
|
}
|
||||||
|
$scope.currentFolder.rescanIntervalS = defaultRescanIntervals[idx];
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.loadFormIntoScope = function (form) {
|
$scope.loadFormIntoScope = function (form) {
|
||||||
@ -1979,13 +1987,13 @@ angular.module('syncthing.core')
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.addFolderAndShare = function (folderID, folderLabel, device) {
|
$scope.addFolderAndShare = function (folderID, pendingFolder, device) {
|
||||||
addFolderInit(folderID).then(function() {
|
addFolderInit(folderID).then(function() {
|
||||||
$scope.currentFolder.viewFlags = {
|
$scope.currentFolder.viewFlags = {
|
||||||
importFromOtherDevice: true
|
importFromOtherDevice: true
|
||||||
};
|
};
|
||||||
$scope.currentSharing.selected[device] = true;
|
$scope.currentSharing.selected[device] = true;
|
||||||
$scope.currentFolder.label = folderLabel;
|
$scope.currentFolder.label = pendingFolder.offeredBy[device].label;
|
||||||
editFolderModal();
|
editFolderModal();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="currentFolder.fsWatcherEnabled" ng-change="fsWatcherToggled()" tooltip data-original-title="{{'Use notifications from the filesystem to detect changed items.' | translate }}"> <span translate>Watch for Changes</span>
|
<input type="checkbox" ng-model="currentFolder.fsWatcherEnabled" ng-change="setFSWatcherIntervalDefault()" tooltip data-original-title="{{'Use notifications from the filesystem to detect changed items.' | translate }}"> <span translate>Watch for Changes</span>
|
||||||
</label>
|
</label>
|
||||||
<p translate class="help-block">Watching for changes discovers most changes without periodic scanning.</p>
|
<p translate class="help-block">Watching for changes discovers most changes without periodic scanning.</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -250,7 +250,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-footer clearfix">
|
<div class="panel-footer clearfix">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<button type="button" class="btn btn-sm btn-success" ng-click="addFolderAndShare(folderID, offeringDevice.label, deviceID)" ng-if="!folders[folderID]">
|
<button type="button" class="btn btn-sm btn-success" ng-click="addFolderAndShare(folderID, pendingFolder, deviceID)" ng-if="!folders[folderID]">
|
||||||
<span class="fas fa-check"></span> <span translate>Add</span>
|
<span class="fas fa-check"></span> <span translate>Add</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-success" ng-click="shareFolderWithDevice(folderID, deviceID)" ng-if="folders[folderID]">
|
<button type="button" class="btn btn-sm btn-success" ng-click="shareFolderWithDevice(folderID, deviceID)" ng-if="folders[folderID]">
|
||||||
@ -417,7 +417,7 @@
|
|||||||
<span class="far fa-copy"></span> {{model[folder.id].localFiles | alwaysNumber | localeNumber}} 
|
<span class="far fa-copy"></span> {{model[folder.id].localFiles | alwaysNumber | localeNumber}} 
|
||||||
<span class="far fa-folder"></span> {{model[folder.id].localDirectories | alwaysNumber | localeNumber}} 
|
<span class="far fa-folder"></span> {{model[folder.id].localDirectories | alwaysNumber | localeNumber}} 
|
||||||
<span class="far fa-hdd"></span> ~{{model[folder.id].localBytes | binary}}B<!-- get rid of the annoying trailing whitespace
|
<span class="far fa-hdd"></span> ~{{model[folder.id].localBytes | binary}}B<!-- get rid of the annoying trailing whitespace
|
||||||
--><span ng-if="model[folder.id].ignorePatterns"><br/><i><small translate class="text-muted">Reduced by ignore patterns</small></i></span>
|
--><span ng-if="model[folder.id].ignorePatterns"><br/><i><small translate class="text-muted">Reduced by ignore patterns</small></i></span>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -51,6 +51,7 @@ angular.module('syncthing.core')
|
|||||||
$scope.globalChangeEvents = {};
|
$scope.globalChangeEvents = {};
|
||||||
$scope.metricRates = false;
|
$scope.metricRates = false;
|
||||||
$scope.folderPathErrors = {};
|
$scope.folderPathErrors = {};
|
||||||
|
$scope.currentSharing = {};
|
||||||
$scope.currentFolder = {};
|
$scope.currentFolder = {};
|
||||||
$scope.currentDevice = {};
|
$scope.currentDevice = {};
|
||||||
$scope.ignores = {
|
$scope.ignores = {
|
||||||
@ -276,7 +277,8 @@ angular.module('syncthing.core')
|
|||||||
arg.data.added.forEach(function (rejected) {
|
arg.data.added.forEach(function (rejected) {
|
||||||
var offeringDevice = {
|
var offeringDevice = {
|
||||||
time: arg.time,
|
time: arg.time,
|
||||||
label: rejected.folderLabel
|
label: rejected.folderLabel,
|
||||||
|
receiveEncrypted: rejected.receiveEncrypted,
|
||||||
};
|
};
|
||||||
console.log("rejected folder", rejected.folderID, "from device:", rejected.deviceID, offeringDevice);
|
console.log("rejected folder", rejected.folderID, "from device:", rejected.deviceID, offeringDevice);
|
||||||
|
|
||||||
@ -1831,12 +1833,31 @@ angular.module('syncthing.core')
|
|||||||
$scope.currentFolder.path = pathJoin($scope.config.defaults.folder.path, newvalue);
|
$scope.currentFolder.path = pathJoin($scope.config.defaults.folder.path, newvalue);
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.fsWatcherToggled = function () {
|
$scope.setFSWatcherIntervalDefault = function () {
|
||||||
if ($scope.currentFolder.fsWatcherEnabled) {
|
var defaultRescanIntervals = [60, 3600, 3600*24];
|
||||||
$scope.currentFolder.rescanIntervalS = 3600;
|
if (defaultRescanIntervals.indexOf($scope.currentFolder.rescanIntervalS) === -1) {
|
||||||
} else {
|
return;
|
||||||
$scope.currentFolder.rescanIntervalS = 60;
|
|
||||||
}
|
}
|
||||||
|
var idx;
|
||||||
|
if ($scope.currentFolder.fsWatcherEnabled) {
|
||||||
|
idx = 1;
|
||||||
|
} else if ($scope.currentFolder.type === 'receiveencrypted') {
|
||||||
|
idx = 2;
|
||||||
|
} else {
|
||||||
|
idx = 0;
|
||||||
|
}
|
||||||
|
$scope.currentFolder.rescanIntervalS = defaultRescanIntervals[idx];
|
||||||
|
};
|
||||||
|
|
||||||
|
$scope.setDefaultsForFolderType = function () {
|
||||||
|
if ($scope.currentFolder.type === 'receiveencrypted') {
|
||||||
|
$scope.currentFolder.fsWatcherEnabled = false;
|
||||||
|
$scope.currentFolder.ignorePerms = true;
|
||||||
|
delete $scope.currentFolder.versioning;
|
||||||
|
} else {
|
||||||
|
$scope.currentFolder.fsWatcherEnabled = true;
|
||||||
|
}
|
||||||
|
$scope.setFSWatcherIntervalDefault();
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.loadFormIntoScope = function (form) {
|
$scope.loadFormIntoScope = function (form) {
|
||||||
@ -1857,6 +1878,7 @@ angular.module('syncthing.core')
|
|||||||
|
|
||||||
function editFolderModal() {
|
function editFolderModal() {
|
||||||
initVersioningEditing();
|
initVersioningEditing();
|
||||||
|
$scope.currentFolder._recvEnc = $scope.currentFolder.type === 'receiveencrypted';
|
||||||
$scope.folderPathErrors = {};
|
$scope.folderPathErrors = {};
|
||||||
$scope.folderEditor.$setPristine();
|
$scope.folderEditor.$setPristine();
|
||||||
$('#editFolder').modal().one('shown.bs.tab', function (e) {
|
$('#editFolder').modal().one('shown.bs.tab', function (e) {
|
||||||
@ -1996,13 +2018,20 @@ angular.module('syncthing.core')
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.addFolderAndShare = function (folderID, folderLabel, device) {
|
$scope.addFolderAndShare = function (folderID, pendingFolder, device) {
|
||||||
addFolderInit(folderID).then(function() {
|
addFolderInit(folderID).then(function() {
|
||||||
$scope.currentFolder.viewFlags = {
|
$scope.currentFolder.viewFlags = {
|
||||||
importFromOtherDevice: true
|
importFromOtherDevice: true
|
||||||
};
|
};
|
||||||
$scope.currentSharing.selected[device] = true;
|
$scope.currentSharing.selected[device] = true;
|
||||||
$scope.currentFolder.label = folderLabel;
|
$scope.currentFolder.label = pendingFolder.offeredBy[device].label;
|
||||||
|
for (var k in pendingFolder.offeredBy) {
|
||||||
|
if (pendingFolder.offeredBy[k].receiveEncrypted) {
|
||||||
|
$scope.currentFolder.type = "receiveencrypted";
|
||||||
|
$scope.setDefaultsForFolderType();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
editFolderModal();
|
editFolderModal();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<li class="active"><a data-toggle="tab" href="#folder-general"><span class="fas fa-cog"></span> <span translate>General</span></a></li>
|
<li class="active"><a data-toggle="tab" href="#folder-general"><span class="fas fa-cog"></span> <span translate>General</span></a></li>
|
||||||
<li><a data-toggle="tab" href="#folder-sharing"><span class="fas fa-share-alt"></span> <span translate>Sharing</span></a></li>
|
<li><a data-toggle="tab" href="#folder-sharing"><span class="fas fa-share-alt"></span> <span translate>Sharing</span></a></li>
|
||||||
<li><a data-toggle="tab" href="#folder-versioning"><span class="fas fa-copy"></span> <span translate>File Versioning</span></a></li>
|
<li><a data-toggle="tab" href="#folder-versioning"><span class="fas fa-copy"></span> <span translate>File Versioning</span></a></li>
|
||||||
<li ng-if="!editingDefaults"><a data-toggle="tab" href="#folder-ignores"><span class="fas fa-filter"></span> <span translate>Ignore Patterns</span></a></li>
|
<li ng-if="!editingDefaults" ng-class="{'disabled': currentFolder._recvEnc}"><a ng-attr-data-toggle="{{ currentFolder._recvEnc ? undefined : 'tab'}}" href="{{currentFolder._recvEnc ? '#' : '#folder-ignores'}}"><span class="fas fa-filter"></span> <span translate>Ignore Patterns</span></a></li>
|
||||||
<li><a data-toggle="tab" href="#folder-advanced"><span class="fas fa-cogs"></span> <span translate>Advanced</span></a></li>
|
<li><a data-toggle="tab" href="#folder-advanced"><span class="fas fa-cogs"></span> <span translate>Advanced</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
@ -186,7 +186,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="currentFolder.fsWatcherEnabled" ng-change="fsWatcherToggled()" tooltip data-original-title="{{'Use notifications from the filesystem to detect changed items.' | translate }}"> <span translate>Watch for Changes</span>
|
<input type="checkbox" ng-model="currentFolder.fsWatcherEnabled" ng-change="setFSWatcherIntervalDefault()" tooltip data-original-title="{{'Use notifications from the filesystem to detect changed items.' | translate }}"> <span translate>Watch for Changes</span>
|
||||||
</label>
|
</label>
|
||||||
<p translate class="help-block">Watching for changes discovers most changes without periodic scanning.</p>
|
<p translate class="help-block">Watching for changes discovers most changes without periodic scanning.</p>
|
||||||
</div>
|
</div>
|
||||||
@ -205,7 +205,7 @@
|
|||||||
<div class="col-md-6 form-group">
|
<div class="col-md-6 form-group">
|
||||||
<label translate>Folder Type</label>
|
<label translate>Folder Type</label>
|
||||||
<a href="https://docs.syncthing.net/users/foldertypes.html" target="_blank"><span class="fas fa-question-circle"></span> <span translate>Help</span></a>
|
<a href="https://docs.syncthing.net/users/foldertypes.html" target="_blank"><span class="fas fa-question-circle"></span> <span translate>Help</span></a>
|
||||||
<select class="form-control" ng-model="currentFolder.type" ng-disabled="editingExisting && currentFolder.type === 'receiveencrypted'">
|
<select class="form-control" ng-change="setDefaultsForFolderType()" ng-model="currentFolder.type" ng-disabled="editingExisting && currentFolder.type === 'receiveencrypted'">
|
||||||
<option value="sendreceive" translate>Send & Receive</option>
|
<option value="sendreceive" translate>Send & Receive</option>
|
||||||
<option value="sendonly" translate>Send Only</option>
|
<option value="sendonly" translate>Send Only</option>
|
||||||
<option value="receiveonly" translate>Receive Only</option>
|
<option value="receiveonly" translate>Receive Only</option>
|
||||||
@ -255,7 +255,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 form-group">
|
<div class="col-md-6 form-group">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="currentFolder.ignorePerms" /> <span translate>Ignore Permissions</span>
|
<input type="checkbox" ng-disabled="currentFolder._recvEnc" ng-model="currentFolder.ignorePerms" /> <span translate>Ignore Permissions</span>
|
||||||
</label>
|
</label>
|
||||||
<p translate class="help-block">
|
<p translate class="help-block">
|
||||||
Disables comparing and syncing file permissions. Useful on systems with nonexistent or custom permissions (e.g. FAT, exFAT, Synology, Android).
|
Disables comparing and syncing file permissions. Useful on systems with nonexistent or custom permissions (e.g. FAT, exFAT, Synology, Android).
|
||||||
|
@ -212,6 +212,10 @@ func (f *FolderConfiguration) prepare(myID protocol.DeviceID, existingDevices ma
|
|||||||
} else if f.MaxConcurrentWrites > maxConcurrentWritesLimit {
|
} else if f.MaxConcurrentWrites > maxConcurrentWritesLimit {
|
||||||
f.MaxConcurrentWrites = maxConcurrentWritesLimit
|
f.MaxConcurrentWrites = maxConcurrentWritesLimit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if f.Type == FolderTypeReceiveEncrypted {
|
||||||
|
f.IgnorePerms = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// RequiresRestartOnly returns a copy with only the attributes that require
|
// RequiresRestartOnly returns a copy with only the attributes that require
|
||||||
|
@ -66,14 +66,15 @@ func (db *Lowlevel) PendingDevices() (map[protocol.DeviceID]ObservedDevice, erro
|
|||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (db *Lowlevel) AddOrUpdatePendingFolder(id, label string, device protocol.DeviceID) error {
|
func (db *Lowlevel) AddOrUpdatePendingFolder(id, label string, device protocol.DeviceID, receiveEncrypted bool) error {
|
||||||
key, err := db.keyer.GeneratePendingFolderKey(nil, device[:], []byte(id))
|
key, err := db.keyer.GeneratePendingFolderKey(nil, device[:], []byte(id))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
of := ObservedFolder{
|
of := ObservedFolder{
|
||||||
Time: time.Now().Round(time.Second),
|
Time: time.Now().Round(time.Second),
|
||||||
Label: label,
|
Label: label,
|
||||||
|
ReceiveEncrypted: receiveEncrypted,
|
||||||
}
|
}
|
||||||
bs, err := of.Marshal()
|
bs, err := of.Marshal()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -400,8 +400,9 @@ func (m *VersionListDeprecated) XXX_DiscardUnknown() {
|
|||||||
var xxx_messageInfo_VersionListDeprecated proto.InternalMessageInfo
|
var xxx_messageInfo_VersionListDeprecated proto.InternalMessageInfo
|
||||||
|
|
||||||
type ObservedFolder struct {
|
type ObservedFolder struct {
|
||||||
Time time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time" xml:"time"`
|
Time time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time" xml:"time"`
|
||||||
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label" xml:"label"`
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label" xml:"label"`
|
||||||
|
ReceiveEncrypted bool `protobuf:"varint,3,opt,name=receive_encrypted,json=receiveEncrypted,proto3" json:"receiveEncrypted" xml:"receiveEncrypted"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ObservedFolder) Reset() { *m = ObservedFolder{} }
|
func (m *ObservedFolder) Reset() { *m = ObservedFolder{} }
|
||||||
@ -493,96 +494,98 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("lib/db/structs.proto", fileDescriptor_5465d80e8cba02e3) }
|
func init() { proto.RegisterFile("lib/db/structs.proto", fileDescriptor_5465d80e8cba02e3) }
|
||||||
|
|
||||||
var fileDescriptor_5465d80e8cba02e3 = []byte{
|
var fileDescriptor_5465d80e8cba02e3 = []byte{
|
||||||
// 1415 bytes of a gzipped FileDescriptorProto
|
// 1445 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0xdb, 0xc6,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcf, 0x6f, 0x1b, 0x45,
|
||||||
0x12, 0x36, 0x2d, 0xf9, 0x87, 0x56, 0xb2, 0x13, 0x33, 0x2f, 0x01, 0x9f, 0xdf, 0x7b, 0x5a, 0xbd,
|
0x14, 0xce, 0xc6, 0xce, 0x0f, 0x8f, 0x9d, 0xb4, 0xd9, 0xd2, 0xc8, 0x04, 0xf0, 0x98, 0x69, 0x2a,
|
||||||
0x8d, 0x03, 0xa8, 0x2d, 0x20, 0x03, 0x0e, 0x62, 0x14, 0x01, 0xda, 0x20, 0x8c, 0xe1, 0xc4, 0x41,
|
0x19, 0x90, 0x1c, 0x29, 0x55, 0x23, 0x54, 0x09, 0xaa, 0x6e, 0x43, 0xda, 0x54, 0xa5, 0x45, 0x93,
|
||||||
0x9a, 0x14, 0xeb, 0x20, 0x2d, 0x7a, 0x11, 0xf8, 0x63, 0x2d, 0x13, 0xa1, 0x48, 0x95, 0x4b, 0xdb,
|
0xaa, 0x20, 0x38, 0x58, 0xfb, 0x63, 0xe2, 0xac, 0xba, 0xde, 0x35, 0x3b, 0x9b, 0xa4, 0xee, 0x8d,
|
||||||
0x51, 0x6e, 0xbd, 0x14, 0xe8, 0x2d, 0x08, 0x7a, 0x28, 0x8a, 0xa2, 0xc8, 0xa9, 0x7f, 0x42, 0xff,
|
0x0b, 0x12, 0xb7, 0xaa, 0xe2, 0x80, 0x10, 0x42, 0x3d, 0xf1, 0x27, 0xf0, 0x17, 0x70, 0xe8, 0x31,
|
||||||
0x82, 0x1e, 0x72, 0xf4, 0xb1, 0xe8, 0x81, 0x45, 0xec, 0x4b, 0xab, 0xa3, 0x4e, 0x45, 0x4f, 0xc5,
|
0x47, 0xc4, 0x61, 0x51, 0x93, 0x0b, 0x58, 0xe2, 0xe2, 0x13, 0xe2, 0x84, 0xe6, 0xcd, 0xec, 0xec,
|
||||||
0xce, 0x2e, 0x97, 0x54, 0x8c, 0x14, 0x49, 0xea, 0x1b, 0xe7, 0x9b, 0x6f, 0x46, 0xe4, 0xec, 0x37,
|
0xba, 0x51, 0x51, 0x5b, 0x72, 0xdb, 0xf7, 0xbd, 0xef, 0x3d, 0xef, 0xbc, 0xf9, 0xde, 0xdb, 0x67,
|
||||||
0xb3, 0x23, 0xf4, 0xaf, 0x30, 0x70, 0x57, 0x7d, 0x77, 0x95, 0xa7, 0xc9, 0x9e, 0x97, 0xf2, 0xce,
|
0xf4, 0x5a, 0xe0, 0x3b, 0x2b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0xc2, 0xd0, 0xa0, 0x16, 0x86, 0x46, 0x08,
|
||||||
0x84, 0xd0, 0xc2, 0x6b, 0xda, 0xa8, 0x9a, 0x0e, 0x07, 0x0c, 0x66, 0xc1, 0xe2, 0xda, 0x85, 0xa2,
|
0xcd, 0xbd, 0xa6, 0x85, 0xca, 0xc9, 0xa0, 0xcf, 0x60, 0x16, 0xcc, 0xaf, 0x2e, 0xe6, 0xc5, 0xd5,
|
||||||
0xb8, 0x5a, 0xdc, 0xc3, 0x01, 0x93, 0xea, 0x14, 0x3c, 0xad, 0x4e, 0x61, 0x10, 0x0a, 0x98, 0xb9,
|
0xe2, 0x1e, 0xf4, 0x99, 0x54, 0xa7, 0xe0, 0x69, 0x75, 0x0a, 0x83, 0x50, 0xc0, 0xcc, 0x0d, 0x54,
|
||||||
0x89, 0xea, 0x03, 0x96, 0xf4, 0x03, 0x2e, 0x5b, 0xb0, 0xda, 0x32, 0xda, 0x0b, 0xf6, 0xca, 0x28,
|
0xed, 0xb3, 0xb8, 0xe7, 0x73, 0xd9, 0x82, 0xe5, 0xa6, 0xd1, 0x9a, 0xb3, 0x96, 0x87, 0x29, 0x2e,
|
||||||
0xc3, 0x65, 0x78, 0x9c, 0xe1, 0x25, 0x88, 0x2c, 0x61, 0x84, 0x96, 0x19, 0xe6, 0xed, 0x92, 0x46,
|
0xc2, 0xa3, 0x14, 0x2f, 0x40, 0x64, 0x01, 0x23, 0xb4, 0xc8, 0x30, 0x6f, 0x14, 0x34, 0x1a, 0xf2,
|
||||||
0x23, 0x6e, 0xd5, 0x5b, 0x46, 0x7b, 0x06, 0xe6, 0x84, 0x16, 0xc4, 0x5d, 0x7e, 0x42, 0x67, 0x77,
|
0x7a, 0xb5, 0x69, 0xb4, 0xa6, 0x60, 0x4e, 0x68, 0x41, 0xdc, 0xe2, 0xc7, 0x74, 0x76, 0x8b, 0x93,
|
||||||
0x39, 0xf9, 0x33, 0xc3, 0x95, 0x20, 0x4a, 0x69, 0x89, 0x66, 0xee, 0x20, 0x59, 0xa5, 0x2e, 0xf4,
|
0x7f, 0x52, 0x5c, 0xf2, 0xc3, 0x84, 0x16, 0x68, 0xe6, 0x36, 0x92, 0x55, 0xea, 0x40, 0x8f, 0xcd,
|
||||||
0xd8, 0x02, 0xa4, 0xba, 0x79, 0x94, 0xe1, 0x06, 0x75, 0x0e, 0x6c, 0xe1, 0xd8, 0x0e, 0x1e, 0x33,
|
0x41, 0xaa, 0x6b, 0x87, 0x29, 0xae, 0x51, 0x7b, 0xdf, 0x12, 0x8e, 0x2d, 0xff, 0x01, 0x13, 0x85,
|
||||||
0x51, 0x28, 0x37, 0x37, 0x74, 0xa1, 0x34, 0x92, 0x27, 0x7e, 0x7a, 0xb8, 0x32, 0x11, 0x46, 0x8b,
|
0x72, 0x32, 0x43, 0x17, 0x4a, 0x23, 0x59, 0xe2, 0x47, 0x07, 0xcb, 0x63, 0x61, 0x34, 0x0f, 0x32,
|
||||||
0x20, 0x73, 0x03, 0xd5, 0xc3, 0xd8, 0x73, 0xc2, 0xee, 0x4e, 0xe8, 0xf4, 0xb8, 0xf5, 0xdb, 0x1c,
|
0xd7, 0x51, 0x35, 0x88, 0x5c, 0x3b, 0xe8, 0x6c, 0x07, 0x76, 0x97, 0xd7, 0xff, 0x98, 0x81, 0xc3,
|
||||||
0x7c, 0x3c, 0x9c, 0x22, 0xe0, 0x9b, 0x02, 0xd6, 0x2f, 0x5d, 0x40, 0x84, 0x96, 0xfc, 0xe6, 0x2d,
|
0xc3, 0x2d, 0x02, 0xbe, 0x21, 0x60, 0xfd, 0xd2, 0x39, 0x44, 0x68, 0xc1, 0x6f, 0x5e, 0x47, 0x35,
|
||||||
0xd4, 0x50, 0x12, 0x95, 0x5a, 0xf8, 0x7d, 0x0e, 0x4e, 0x12, 0x6a, 0xa8, 0x1c, 0x4a, 0x0d, 0x4b,
|
0x25, 0x51, 0xa9, 0x85, 0x3f, 0x67, 0xe0, 0x26, 0xa1, 0x86, 0xca, 0xa1, 0xd4, 0xb0, 0x50, 0x54,
|
||||||
0x65, 0x65, 0x4b, 0x39, 0x94, 0x19, 0xe5, 0xf1, 0x3e, 0xfb, 0x26, 0xe3, 0x9d, 0xa2, 0x39, 0x35,
|
0xb6, 0x94, 0x43, 0x91, 0x51, 0x1c, 0xef, 0xd3, 0x2f, 0x33, 0xde, 0x29, 0x9a, 0x51, 0x53, 0xb6,
|
||||||
0x65, 0xad, 0x39, 0x88, 0x7b, 0xff, 0x28, 0xc3, 0x88, 0x3a, 0x07, 0x5b, 0x12, 0x15, 0x59, 0x14,
|
0x3e, 0x03, 0x71, 0xef, 0x1f, 0xa6, 0x18, 0x51, 0x7b, 0x7f, 0x53, 0xa2, 0x22, 0x8b, 0x22, 0xe8,
|
||||||
0x41, 0x67, 0x51, 0xb6, 0x98, 0x95, 0x25, 0x26, 0xcd, 0x79, 0xa2, 0x63, 0xa2, 0xb8, 0x5b, 0x96,
|
0x2c, 0xca, 0x16, 0xb3, 0xb2, 0xc0, 0xa4, 0x19, 0x4f, 0x74, 0x4c, 0x18, 0x75, 0x8a, 0xd2, 0x98,
|
||||||
0xc6, 0x3c, 0xa4, 0x86, 0x8e, 0x89, 0xe2, 0x8f, 0x27, 0xc4, 0x21, 0x3b, 0x66, 0x02, 0x25, 0x74,
|
0x85, 0xd4, 0xd0, 0x31, 0x61, 0xf4, 0xc9, 0x98, 0x38, 0x64, 0xc7, 0x8c, 0xa1, 0x84, 0x8e, 0xb3,
|
||||||
0x92, 0xa5, 0x46, 0xef, 0x27, 0xa8, 0x06, 0x47, 0x01, 0xb3, 0xff, 0x36, 0x9a, 0x95, 0xdd, 0xa0,
|
0xd4, 0xe8, 0xfd, 0x14, 0x55, 0xe0, 0x2a, 0x60, 0xf6, 0xdf, 0x40, 0xd3, 0xb2, 0x1b, 0xd4, 0xe4,
|
||||||
0x26, 0xff, 0xb9, 0x42, 0xc1, 0x40, 0x12, 0x12, 0xb6, 0xff, 0xa7, 0x26, 0x84, 0xa2, 0x8e, 0x33,
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xac, 0xdc, 0x4f, 0xe0, 0xcb, 0x38, 0x2b, 0x09, 0x9b, 0x9e, 0x4e, 0x94, 0x01, 0xa2,
|
||||||
0xe8, 0x16, 0xcd, 0xa4, 0x9a, 0x27, 0x24, 0x56, 0x1e, 0x24, 0xe6, 0xdb, 0xcc, 0x11, 0xd5, 0x20,
|
0x5b, 0x34, 0x93, 0x6a, 0x9e, 0x90, 0x58, 0x71, 0x90, 0x98, 0xaf, 0x32, 0x47, 0x54, 0x83, 0x7c,
|
||||||
0x5f, 0x1a, 0xa8, 0x26, 0xe5, 0xb1, 0xcd, 0x52, 0xf3, 0x3a, 0x9a, 0xf5, 0xc0, 0x50, 0x1d, 0x82,
|
0x6d, 0xa0, 0x8a, 0x94, 0xc7, 0x16, 0x4b, 0xcc, 0x2b, 0x68, 0xda, 0x05, 0x43, 0x75, 0x08, 0x12,
|
||||||
0xc4, 0x6e, 0x24, 0xdd, 0x45, 0x63, 0x48, 0x86, 0xae, 0x15, 0x98, 0x84, 0x2a, 0x58, 0x0c, 0x15,
|
0xbb, 0x91, 0x74, 0xe7, 0x8d, 0x21, 0x19, 0xba, 0x56, 0x60, 0x12, 0xaa, 0x60, 0x31, 0x54, 0xdc,
|
||||||
0x2f, 0x61, 0x4e, 0xbe, 0x33, 0x56, 0xe4, 0x50, 0x51, 0x90, 0x3e, 0x1b, 0x65, 0x13, 0x9a, 0x7b,
|
0x98, 0xd9, 0xd9, 0xce, 0x58, 0x92, 0x43, 0x45, 0x41, 0xfa, 0x6e, 0x94, 0x4d, 0x68, 0xe6, 0x21,
|
||||||
0xc8, 0x57, 0xd3, 0xe8, 0x7c, 0x69, 0x0b, 0xdb, 0x60, 0x83, 0x84, 0xc9, 0x45, 0xe9, 0x74, 0x77,
|
0xdf, 0x4c, 0xa2, 0xb3, 0x85, 0x2d, 0x6c, 0x9d, 0xf5, 0x63, 0x26, 0x17, 0xa5, 0x93, 0xdd, 0x69,
|
||||||
0xda, 0x35, 0x34, 0x2b, 0xeb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 0x37,
|
||||||
0x39, 0x75, 0xf8, 0xa2, 0x39, 0xf5, 0xfc, 0xa8, 0x69, 0x1c, 0x1e, 0x35, 0x8d, 0x27, 0xc7, 0xcd,
|
0x5b, 0xf3, 0x27, 0x5f, 0x60, 0xcd, 0x5f, 0x43, 0x33, 0xb6, 0xe7, 0xc5, 0x8c, 0xcb, 0xc9, 0x58,
|
||||||
0xa9, 0x67, 0xc7, 0x4d, 0xe3, 0xf0, 0xb8, 0x39, 0xf5, 0xf3, 0x71, 0x73, 0xea, 0xb3, 0x4b, 0xaf,
|
0x91, 0x7a, 0x51, 0x90, 0xbe, 0x3d, 0x65, 0x13, 0x9a, 0x79, 0xac, 0x6b, 0x4f, 0x9e, 0x36, 0x26,
|
||||||
0xb1, 0xfe, 0xfa, 0xae, 0x3b, 0x0b, 0x9f, 0x79, 0xf9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9e,
|
0x0e, 0x9e, 0x36, 0x26, 0x9e, 0x1c, 0x36, 0x8c, 0x83, 0xc3, 0x86, 0xf1, 0xf0, 0xa8, 0x31, 0xf1,
|
||||||
0xa0, 0xbe, 0xf2, 0x7d, 0x0e, 0x00, 0x00,
|
0xf8, 0xa8, 0x61, 0x1c, 0x1c, 0x35, 0x26, 0x7e, 0x3d, 0x6a, 0x4c, 0x7c, 0x7e, 0xfe, 0x05, 0x76,
|
||||||
|
0x6b, 0xcf, 0x71, 0xa6, 0xe1, 0x98, 0x17, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x3c, 0x81,
|
||||||
|
0x94, 0xda, 0x0e, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *FileVersion) Marshal() (dAtA []byte, err error) {
|
func (m *FileVersion) Marshal() (dAtA []byte, err error) {
|
||||||
@ -1142,6 +1145,16 @@ func (m *ObservedFolder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
_ = i
|
_ = i
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
|
if m.ReceiveEncrypted {
|
||||||
|
i--
|
||||||
|
if m.ReceiveEncrypted {
|
||||||
|
dAtA[i] = 1
|
||||||
|
} else {
|
||||||
|
dAtA[i] = 0
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x18
|
||||||
|
}
|
||||||
if len(m.Label) > 0 {
|
if len(m.Label) > 0 {
|
||||||
i -= len(m.Label)
|
i -= len(m.Label)
|
||||||
copy(dAtA[i:], m.Label)
|
copy(dAtA[i:], m.Label)
|
||||||
@ -1456,6 +1469,9 @@ func (m *ObservedFolder) ProtoSize() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovStructs(uint64(l))
|
n += 1 + l + sovStructs(uint64(l))
|
||||||
}
|
}
|
||||||
|
if m.ReceiveEncrypted {
|
||||||
|
n += 2
|
||||||
|
}
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3099,6 +3115,26 @@ func (m *ObservedFolder) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
m.Label = string(dAtA[iNdEx:postIndex])
|
m.Label = string(dAtA[iNdEx:postIndex])
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
|
case 3:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field ReceiveEncrypted", wireType)
|
||||||
|
}
|
||||||
|
var v int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowStructs
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
v |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
m.ReceiveEncrypted = bool(v != 0)
|
||||||
default:
|
default:
|
||||||
iNdEx = preIndex
|
iNdEx = preIndex
|
||||||
skippy, err := skipStructs(dAtA[iNdEx:])
|
skippy, err := skipStructs(dAtA[iNdEx:])
|
||||||
|
@ -1289,7 +1289,7 @@ func (m *model) ccHandleFolders(folders []protocol.Folder, deviceCfg config.Devi
|
|||||||
tempIndexFolders := make([]string, 0, len(folders))
|
tempIndexFolders := make([]string, 0, len(folders))
|
||||||
paused := make(map[string]struct{}, len(folders))
|
paused := make(map[string]struct{}, len(folders))
|
||||||
seenFolders := make(map[string]struct{}, len(folders))
|
seenFolders := make(map[string]struct{}, len(folders))
|
||||||
updatedPending := make([]map[string]string, 0, len(folders))
|
updatedPending := make([]updatedPendingFolder, 0, len(folders))
|
||||||
deviceID := deviceCfg.DeviceID
|
deviceID := deviceCfg.DeviceID
|
||||||
for _, folder := range folders {
|
for _, folder := range folders {
|
||||||
seenFolders[folder.ID] = struct{}{}
|
seenFolders[folder.ID] = struct{}{}
|
||||||
@ -1304,14 +1304,16 @@ func (m *model) ccHandleFolders(folders []protocol.Folder, deviceCfg config.Devi
|
|||||||
l.Infof("Ignoring folder %s from device %s since we are configured to", folder.Description(), deviceID)
|
l.Infof("Ignoring folder %s from device %s since we are configured to", folder.Description(), deviceID)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if err := m.db.AddOrUpdatePendingFolder(folder.ID, folder.Label, deviceID); err != nil {
|
recvEnc := len(ccDeviceInfos[folder.ID].local.EncryptionPasswordToken) > 0
|
||||||
|
if err := m.db.AddOrUpdatePendingFolder(folder.ID, folder.Label, deviceID, recvEnc); err != nil {
|
||||||
l.Warnf("Failed to persist pending folder entry to database: %v", err)
|
l.Warnf("Failed to persist pending folder entry to database: %v", err)
|
||||||
}
|
}
|
||||||
indexSenders.addPending(cfg, ccDeviceInfos[folder.ID])
|
indexSenders.addPending(cfg, ccDeviceInfos[folder.ID])
|
||||||
updatedPending = append(updatedPending, map[string]string{
|
updatedPending = append(updatedPending, updatedPendingFolder{
|
||||||
"folderID": folder.ID,
|
FolderID: folder.ID,
|
||||||
"folderLabel": folder.Label,
|
FolderLabel: folder.Label,
|
||||||
"deviceID": deviceID.String(),
|
DeviceID: deviceID,
|
||||||
|
ReceiveEncrypted: recvEnc,
|
||||||
})
|
})
|
||||||
// DEPRECATED: Only for backwards compatibility, should be removed.
|
// DEPRECATED: Only for backwards compatibility, should be removed.
|
||||||
m.evLogger.Log(events.FolderRejected, map[string]string{
|
m.evLogger.Log(events.FolderRejected, map[string]string{
|
||||||
@ -2022,6 +2024,10 @@ func (m *model) LoadIgnores(folder string) ([]string, []string, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if cfg.Type == config.FolderTypeReceiveEncrypted {
|
||||||
|
return nil, nil, nil
|
||||||
|
}
|
||||||
|
|
||||||
// On creation a new folder with ignore patterns validly has no marker yet.
|
// On creation a new folder with ignore patterns validly has no marker yet.
|
||||||
if err := cfg.CheckPath(); err != nil && err != config.ErrMarkerMissing {
|
if err := cfg.CheckPath(); err != nil && err != config.ErrMarkerMissing {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
@ -3177,3 +3183,10 @@ func newFolderConfiguration(w config.Wrapper, id, label string, fsType fs.Filesy
|
|||||||
fcfg.Path = path
|
fcfg.Path = path
|
||||||
return fcfg
|
return fcfg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type updatedPendingFolder struct {
|
||||||
|
FolderID string `json:"folderID"`
|
||||||
|
FolderLabel string `json:"folderLabel"`
|
||||||
|
DeviceID protocol.DeviceID `json:"deviceID"`
|
||||||
|
ReceiveEncrypted bool `json:"receiveEncrypted"`
|
||||||
|
}
|
||||||
|
@ -4177,7 +4177,7 @@ func TestPendingFolder(t *testing.T) {
|
|||||||
|
|
||||||
setDevice(t, w, config.DeviceConfiguration{DeviceID: device2})
|
setDevice(t, w, config.DeviceConfiguration{DeviceID: device2})
|
||||||
pfolder := "default"
|
pfolder := "default"
|
||||||
if err := m.db.AddOrUpdatePendingFolder(pfolder, pfolder, device2); err != nil {
|
if err := m.db.AddOrUpdatePendingFolder(pfolder, pfolder, device2, false); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
deviceFolders, err := m.PendingFolders(protocol.EmptyDeviceID)
|
deviceFolders, err := m.PendingFolders(protocol.EmptyDeviceID)
|
||||||
@ -4193,7 +4193,7 @@ func TestPendingFolder(t *testing.T) {
|
|||||||
|
|
||||||
device3, err := protocol.DeviceIDFromString("AIBAEAQ-CAIBAEC-AQCAIBA-EAQCAIA-BAEAQCA-IBAEAQC-CAIBAEA-QCAIBA7")
|
device3, err := protocol.DeviceIDFromString("AIBAEAQ-CAIBAEC-AQCAIBA-EAQCAIA-BAEAQCA-IBAEAQC-CAIBAEA-QCAIBA7")
|
||||||
setDevice(t, w, config.DeviceConfiguration{DeviceID: device3})
|
setDevice(t, w, config.DeviceConfiguration{DeviceID: device3})
|
||||||
if err := m.db.AddOrUpdatePendingFolder(pfolder, pfolder, device3); err != nil {
|
if err := m.db.AddOrUpdatePendingFolder(pfolder, pfolder, device3, false); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
deviceFolders, err = m.PendingFolders(device2)
|
deviceFolders, err = m.PendingFolders(device2)
|
||||||
|
@ -91,8 +91,9 @@ message VersionListDeprecated {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message ObservedFolder {
|
message ObservedFolder {
|
||||||
google.protobuf.Timestamp time = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
google.protobuf.Timestamp time = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false];
|
||||||
string label = 2;
|
string label = 2;
|
||||||
|
bool receive_encrypted = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ObservedDevice {
|
message ObservedDevice {
|
||||||
|
Loading…
Reference in New Issue
Block a user