mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
GODT-1901: Allow to set IMAP SSL from UI
This commit is contained in:
committed by
James Houlahan
parent
209c315a76
commit
e10cd2a3ed
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// Package bridge implements the Bridge, which acts as the backend to the UI.
|
// Package bridge implements the Bridge, which acts as the backend to the UI.
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge_test
|
package bridge_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
func (bridge *Bridge) GetCurrentUserAgent() string {
|
func (bridge *Bridge) GetCurrentUserAgent() string {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
func (bridge *Bridge) GetLogsPath() (string, error) {
|
func (bridge *Bridge) GetLogsPath() (string, error) {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge_test
|
package bridge_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge_test
|
package bridge_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
func (bridge *Bridge) GetBridgeTLSCert() ([]byte, []byte) {
|
func (bridge *Bridge) GetBridgeTLSCert() ([]byte, []byte) {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge
|
package bridge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package bridge_test
|
package bridge_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package certs
|
package certs
|
||||||
|
|
||||||
type Installer struct{}
|
type Installer struct{}
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package dialer
|
package dialer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
type TLSIssue struct {
|
type TLSIssue struct {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
type Error struct {
|
type Error struct {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
type Event interface {
|
type Event interface {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
type Raise struct {
|
type Raise struct {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
import "time"
|
import "time"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
import "github.com/ProtonMail/proton-bridge/v2/internal/updater"
|
import "github.com/ProtonMail/proton-bridge/v2/internal/updater"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package events
|
package events
|
||||||
|
|
||||||
import "github.com/ProtonMail/proton-bridge/v2/internal/vault"
|
import "github.com/ProtonMail/proton-bridge/v2/internal/vault"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package focus
|
package focus
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package focus
|
package focus
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// Package proto provides the gRPC definition of the focus service.
|
// Package proto provides the gRPC definition of the focus service.
|
||||||
package proto
|
package proto
|
||||||
|
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.28.0
|
// protoc-gen-go v1.28.1
|
||||||
// protoc v3.21.7
|
// protoc v3.19.4
|
||||||
// source: focus.proto
|
// source: focus.proto
|
||||||
|
|
||||||
package proto
|
package proto
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// - protoc-gen-go-grpc v1.2.0
|
// - protoc-gen-go-grpc v1.2.0
|
||||||
// - protoc v3.21.7
|
// - protoc v3.19.4
|
||||||
// source: focus.proto
|
// source: focus.proto
|
||||||
|
|
||||||
package proto
|
package proto
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
// Package focus provides a gRPC service for raising the application.
|
// Package focus provides a gRPC service for raising the application.
|
||||||
package focus
|
package focus
|
||||||
|
|
||||||
|
|||||||
@ -349,6 +349,14 @@ bool SettingsTab::useSSLForSMTP() const
|
|||||||
return ui_.checkUseSSLForSMTP->isChecked();
|
return ui_.checkUseSSLForSMTP->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
/// \return The state of the 'Use SSL for SMTP' check box.
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
bool SettingsTab::useSSLForIMAP() const
|
||||||
|
{
|
||||||
|
return ui_.checkUseSSLForIMAP->isChecked();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//****************************************************************************************************************************************************
|
//****************************************************************************************************************************************************
|
||||||
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
|
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
|
||||||
@ -358,6 +366,14 @@ void SettingsTab::setUseSSLForSMTP(bool use)
|
|||||||
ui_.checkUseSSLForSMTP->setChecked(use);
|
ui_.checkUseSSLForSMTP->setChecked(use);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
void SettingsTab::setUseSSLForIMAP(bool use)
|
||||||
|
{
|
||||||
|
ui_.checkUseSSLForIMAP->setChecked(use);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//****************************************************************************************************************************************************
|
//****************************************************************************************************************************************************
|
||||||
/// \return The state of the the 'DoH enabled' check box.
|
/// \return The state of the the 'DoH enabled' check box.
|
||||||
|
|||||||
@ -59,6 +59,7 @@ public: // member functions.
|
|||||||
qint32 imapPort(); ///< Get the value of the IMAP port spin.
|
qint32 imapPort(); ///< Get the value of the IMAP port spin.
|
||||||
qint32 smtpPort(); ///< Get the value of the SMTP port spin.
|
qint32 smtpPort(); ///< Get the value of the SMTP port spin.
|
||||||
bool useSSLForSMTP() const; ///< Get the value for the 'Use SSL for SMTP' check box.
|
bool useSSLForSMTP() const; ///< Get the value for the 'Use SSL for SMTP' check box.
|
||||||
|
bool useSSLForIMAP() const; ///< Get the value for the 'Use SSL for IMAP' check box.
|
||||||
bool isDoHEnabled() const; ///< Get the value for the 'DoH Enabled' check box.
|
bool isDoHEnabled() const; ///< Get the value for the 'DoH Enabled' check box.
|
||||||
bool isPortFree() const; ///< Get the value for the "Is Port Free" check box.
|
bool isPortFree() const; ///< Get the value for the "Is Port Free" check box.
|
||||||
bool isCacheOnDiskEnabled() const; ///< get the value for the 'Cache On Disk Enabled' check box.
|
bool isCacheOnDiskEnabled() const; ///< get the value for the 'Cache On Disk Enabled' check box.
|
||||||
@ -79,6 +80,7 @@ public: // slots
|
|||||||
bool includeLogs); ///< Set the content of the bug report box.
|
bool includeLogs); ///< Set the content of the bug report box.
|
||||||
void changePorts(qint32 imapPort, qint32 smtpPort); ///< Change the IMAP and SMTP ports.
|
void changePorts(qint32 imapPort, qint32 smtpPort); ///< Change the IMAP and SMTP ports.
|
||||||
void setUseSSLForSMTP(bool use); ///< Set the value for the 'Use SSL for SMTP' check box.
|
void setUseSSLForSMTP(bool use); ///< Set the value for the 'Use SSL for SMTP' check box.
|
||||||
|
void setUseSSLForIMAP(bool use); ///< Set the value for the 'Use SSL for IMAP' check box.
|
||||||
void setIsDoHEnabled(bool enabled); ///< Set the value for the 'DoH Enabled' check box.
|
void setIsDoHEnabled(bool enabled); ///< Set the value for the 'DoH Enabled' check box.
|
||||||
void changeLocalCache(bool enabled, QString const &path); ///< Set the value for the 'Cache On Disk Enabled' check box.
|
void changeLocalCache(bool enabled, QString const &path); ///< Set the value for the 'Cache On Disk Enabled' check box.
|
||||||
void setIsAutomaticUpdateOn(bool on); ///< Set the value for the 'Automatic Update' check box.
|
void setIsAutomaticUpdateOn(bool on); ///< Set the value for the 'Automatic Update' check box.
|
||||||
|
|||||||
@ -259,6 +259,13 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="checkUseSSLForIMAP">
|
||||||
|
<property name="text">
|
||||||
|
<string>Use SSL For IMAP</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|||||||
@ -306,6 +306,16 @@ void QMLBackend::toggleUseSSLforSMTP(bool makeItActive)
|
|||||||
app().grpc().setUseSSLForSMTP(makeItActive);
|
app().grpc().setUseSSLForSMTP(makeItActive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
/// \param[in] makeItActive Should SSL for IMAP be enabled.
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
void QMLBackend::toggleUseSSLforIMAP(bool makeItActive)
|
||||||
|
{
|
||||||
|
// if call succeed, app will restart. No need to emit a value change signal, because it will trigger a read-back via gRPC that will fail.
|
||||||
|
emit hideMainWindow();
|
||||||
|
app().grpc().setUseSSLForIMAP(makeItActive);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//****************************************************************************************************************************************************
|
//****************************************************************************************************************************************************
|
||||||
/// \param[in] imapPort The IMAP port.
|
/// \param[in] imapPort The IMAP port.
|
||||||
|
|||||||
@ -68,6 +68,7 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo
|
|||||||
Q_PROPERTY(QString colorSchemeName READ colorSchemeName NOTIFY colorSchemeNameChanged) // _ string `property:"colorSchemeName"`
|
Q_PROPERTY(QString colorSchemeName READ colorSchemeName NOTIFY colorSchemeNameChanged) // _ string `property:"colorSchemeName"`
|
||||||
Q_PROPERTY(QUrl diskCachePath READ diskCachePath NOTIFY diskCachePathChanged) // _ core.QUrl `property:"diskCachePath"`
|
Q_PROPERTY(QUrl diskCachePath READ diskCachePath NOTIFY diskCachePathChanged) // _ core.QUrl `property:"diskCachePath"`
|
||||||
Q_PROPERTY(bool useSSLforSMTP READ useSSLForSMTP NOTIFY useSSLforSMTPChanged) // _ bool `property:"useSSLforSMTP"`
|
Q_PROPERTY(bool useSSLforSMTP READ useSSLForSMTP NOTIFY useSSLforSMTPChanged) // _ bool `property:"useSSLforSMTP"`
|
||||||
|
Q_PROPERTY(bool useSSLforIMAP READ useSSLForIMAP NOTIFY useSSLforIMAPChanged) // _ bool `property:"useSSLforIMAP"`
|
||||||
Q_PROPERTY(int portIMAP READ portIMAP NOTIFY portIMAPChanged) // _ int `property:"portIMAP"`
|
Q_PROPERTY(int portIMAP READ portIMAP NOTIFY portIMAPChanged) // _ int `property:"portIMAP"`
|
||||||
Q_PROPERTY(int portSMTP READ portSMTP NOTIFY portSMTPChanged) // _ int `property:"portSMTP"`
|
Q_PROPERTY(int portSMTP READ portSMTP NOTIFY portSMTPChanged) // _ int `property:"portSMTP"`
|
||||||
Q_PROPERTY(bool isDoHEnabled READ isDoHEnabled NOTIFY isDoHEnabledChanged) // _ bool `property:"isDoHEnabled"`
|
Q_PROPERTY(bool isDoHEnabled READ isDoHEnabled NOTIFY isDoHEnabledChanged) // _ bool `property:"isDoHEnabled"`
|
||||||
@ -99,6 +100,7 @@ public: // Qt/QML properties. Note that the NOTIFY-er signal is required even fo
|
|||||||
QString colorSchemeName() const { QString name; app().grpc().colorSchemeName(name); return name; }
|
QString colorSchemeName() const { QString name; app().grpc().colorSchemeName(name); return name; }
|
||||||
QUrl diskCachePath() const { QUrl path; app().grpc().diskCachePath(path); return path; }
|
QUrl diskCachePath() const { QUrl path; app().grpc().diskCachePath(path); return path; }
|
||||||
bool useSSLForSMTP() const{ bool useSSL; app().grpc().useSSLForSMTP(useSSL); return useSSL; }
|
bool useSSLForSMTP() const{ bool useSSL; app().grpc().useSSLForSMTP(useSSL); return useSSL; }
|
||||||
|
bool useSSLForIMAP() const{ bool useSSL; app().grpc().useSSLForIMAP(useSSL); return useSSL; }
|
||||||
int portIMAP() const { int port; app().grpc().portIMAP(port); return port; }
|
int portIMAP() const { int port; app().grpc().portIMAP(port); return port; }
|
||||||
int portSMTP() const { int port; app().grpc().portSMTP(port); return port; }
|
int portSMTP() const { int port; app().grpc().portSMTP(port); return port; }
|
||||||
bool isDoHEnabled() const { bool isEnabled; app().grpc().isDoHEnabled(isEnabled); return isEnabled;}
|
bool isDoHEnabled() const { bool isEnabled; app().grpc().isDoHEnabled(isEnabled); return isEnabled;}
|
||||||
@ -116,6 +118,7 @@ signals: // Signal used by the Qt property system. Many of them are unused but r
|
|||||||
void goosChanged(QString const &value);
|
void goosChanged(QString const &value);
|
||||||
void diskCachePathChanged(QUrl const &url);
|
void diskCachePathChanged(QUrl const &url);
|
||||||
void useSSLforSMTPChanged(bool value);
|
void useSSLforSMTPChanged(bool value);
|
||||||
|
void useSSLforIMAPChanged(bool value);
|
||||||
void isAutomaticUpdateOnChanged(bool value);
|
void isAutomaticUpdateOnChanged(bool value);
|
||||||
void isBetaEnabledChanged(bool value);
|
void isBetaEnabledChanged(bool value);
|
||||||
void isAllMailVisibleChanged(bool value);
|
void isAllMailVisibleChanged(bool value);
|
||||||
@ -149,6 +152,7 @@ public slots: // slot for signals received from QML -> To be forwarded to Bridge
|
|||||||
void login2Password(QString const& username, QString const& password) { app().grpc().login2Passwords(username, password);} // _ func(username, password string) `slot:"login2Password"`
|
void login2Password(QString const& username, QString const& password) { app().grpc().login2Passwords(username, password);} // _ func(username, password string) `slot:"login2Password"`
|
||||||
void loginAbort(QString const& username){ app().grpc().loginAbort(username);} // _ func(username string) `slot:"loginAbort"`
|
void loginAbort(QString const& username){ app().grpc().loginAbort(username);} // _ func(username string) `slot:"loginAbort"`
|
||||||
void toggleUseSSLforSMTP(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleUseSSLforSMTP"`
|
void toggleUseSSLforSMTP(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleUseSSLforSMTP"`
|
||||||
|
void toggleUseSSLforIMAP(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleUseSSLforIMAP"`
|
||||||
void changePorts(int imapPort, int smtpPort); // _ func(imapPort, smtpPort int) `slot:"changePorts"`
|
void changePorts(int imapPort, int smtpPort); // _ func(imapPort, smtpPort int) `slot:"changePorts"`
|
||||||
void toggleDoH(bool active); // _ func(makeItActive bool) `slot:"toggleDoH"`
|
void toggleDoH(bool active); // _ func(makeItActive bool) `slot:"toggleDoH"`
|
||||||
void toggleAutomaticUpdate(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleAutomaticUpdate"`
|
void toggleAutomaticUpdate(bool makeItActive); // _ func(makeItActive bool) `slot:"toggleAutomaticUpdate"`
|
||||||
|
|||||||
@ -100,6 +100,7 @@
|
|||||||
<file>qml/SetupGuide.qml</file>
|
<file>qml/SetupGuide.qml</file>
|
||||||
<file>qml/SignIn.qml</file>
|
<file>qml/SignIn.qml</file>
|
||||||
<file>qml/SMTPSettings.qml</file>
|
<file>qml/SMTPSettings.qml</file>
|
||||||
|
<file>qml/IMAPSettings.qml</file>
|
||||||
<file>qml/SplashScreen.qml</file>
|
<file>qml/SplashScreen.qml</file>
|
||||||
<file>qml/Status.qml</file>
|
<file>qml/Status.qml</file>
|
||||||
<file>qml/StatusWindow.qml</file>
|
<file>qml/StatusWindow.qml</file>
|
||||||
|
|||||||
@ -231,7 +231,7 @@ Item {
|
|||||||
port: Backend.portIMAP.toString()
|
port: Backend.portIMAP.toString()
|
||||||
username: configuration.currentAddress
|
username: configuration.currentAddress
|
||||||
password: root.user ? root.user.password : ""
|
password: root.user ? root.user.password : ""
|
||||||
security: "STARTTLS"
|
security : Backend.useSSLforIMAP ? "SSL" : "STARTTLS"
|
||||||
}
|
}
|
||||||
|
|
||||||
Configuration {
|
Configuration {
|
||||||
|
|||||||
@ -365,6 +365,14 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IMAPSettings { // 9
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
|
||||||
|
onBack: {
|
||||||
|
rightContent.showGeneralSettings()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function showAccount(index) {
|
function showAccount(index) {
|
||||||
if (index !== undefined && index >= 0){
|
if (index !== undefined && index >= 0){
|
||||||
accounts.currentIndex = index
|
accounts.currentIndex = index
|
||||||
@ -380,6 +388,7 @@ Item {
|
|||||||
function showLocalCacheSettings () { rightContent.currentIndex = 6 }
|
function showLocalCacheSettings () { rightContent.currentIndex = 6 }
|
||||||
function showHelpView () { rightContent.currentIndex = 7 }
|
function showHelpView () { rightContent.currentIndex = 7 }
|
||||||
function showBugReport () { rightContent.currentIndex = 8 }
|
function showBugReport () { rightContent.currentIndex = 8 }
|
||||||
|
function showIMAPSettings () { rightContent.currentIndex = 9 }
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: Backend
|
target: Backend
|
||||||
|
|||||||
@ -182,6 +182,19 @@ SettingsView {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SettingsItem {
|
||||||
|
id: imap
|
||||||
|
visible: root._isAdvancedShown
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
text: qsTr("IMAP connection mode")
|
||||||
|
actionText: qsTr("Change")
|
||||||
|
description: qsTr("Change the protocol Bridge and your client use to connect.")
|
||||||
|
type: SettingsItem.Button
|
||||||
|
onClicked: root.parent.showIMAPSettings()
|
||||||
|
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
SettingsItem {
|
SettingsItem {
|
||||||
id: smtp
|
id: smtp
|
||||||
visible: root._isAdvancedShown
|
visible: root._isAdvancedShown
|
||||||
|
|||||||
121
internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml
Normal file
121
internal/frontend/bridge-gui/bridge-gui/qml/IMAPSettings.qml
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import QtQuick
|
||||||
|
import QtQuick.Layouts
|
||||||
|
import QtQuick.Controls
|
||||||
|
import QtQuick.Controls.impl
|
||||||
|
|
||||||
|
import Proton
|
||||||
|
|
||||||
|
SettingsView {
|
||||||
|
id: root
|
||||||
|
|
||||||
|
fillHeight: false
|
||||||
|
|
||||||
|
Label {
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
text: qsTr("IMAP connection mode")
|
||||||
|
type: Label.Heading
|
||||||
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
text: qsTr("Changes require reconfiguration of email client. Bridge will automatically restart.")
|
||||||
|
type: Label.Body
|
||||||
|
color: root.colorScheme.text_weak
|
||||||
|
Layout.fillWidth: true
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
}
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
spacing: 16
|
||||||
|
|
||||||
|
ButtonGroup{ id: protocolSelection }
|
||||||
|
|
||||||
|
Label {
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
text: qsTr("IMAP connection security")
|
||||||
|
}
|
||||||
|
|
||||||
|
RadioButton {
|
||||||
|
id: sslButton
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
ButtonGroup.group: protocolSelection
|
||||||
|
text: qsTr("SSL")
|
||||||
|
}
|
||||||
|
|
||||||
|
RadioButton {
|
||||||
|
id: starttlsButton
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
ButtonGroup.group: protocolSelection
|
||||||
|
text: qsTr("STARTTLS")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
height: 1
|
||||||
|
color: root.colorScheme.border_weak
|
||||||
|
}
|
||||||
|
|
||||||
|
RowLayout {
|
||||||
|
spacing: 12
|
||||||
|
|
||||||
|
Button {
|
||||||
|
id: submitButton
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
text: qsTr("Save and restart")
|
||||||
|
onClicked: {
|
||||||
|
submitButton.loading = true
|
||||||
|
root.submit()
|
||||||
|
}
|
||||||
|
|
||||||
|
enabled: sslButton.checked !== Backend.useSSLforIMAP
|
||||||
|
}
|
||||||
|
|
||||||
|
Button {
|
||||||
|
colorScheme: root.colorScheme
|
||||||
|
text: qsTr("Cancel")
|
||||||
|
onClicked: root.back()
|
||||||
|
secondary: true
|
||||||
|
}
|
||||||
|
|
||||||
|
Connections {
|
||||||
|
target: Backend
|
||||||
|
|
||||||
|
function onToggleUseSSLFinished() {
|
||||||
|
submitButton.loading = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function submit(){
|
||||||
|
submitButton.loading = true
|
||||||
|
Backend.toggleUseSSLforIMAP(sslButton.checked)
|
||||||
|
}
|
||||||
|
|
||||||
|
function setDefaultValues(){
|
||||||
|
sslButton.checked = Backend.useSSLforIMAP
|
||||||
|
starttlsButton.checked = !Backend.useSSLforIMAP
|
||||||
|
}
|
||||||
|
|
||||||
|
onVisibleChanged: {
|
||||||
|
root.setDefaultValues()
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -411,6 +411,26 @@ grpc::Status GRPCClient::setIsDoHEnabled(bool enabled)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
/// \param[out] outUseSSL The value for the property.
|
||||||
|
/// \return The status for the gRPC call.
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
grpc::Status GRPCClient::useSSLForIMAP(bool &outUseSSL)
|
||||||
|
{
|
||||||
|
return this->logGRPCCallStatus(this->getBool(&Bridge::Stub::UseSslForImap, outUseSSL), __FUNCTION__);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
/// \param[in] useSSL The new value for the property.
|
||||||
|
/// \return The status for the gRPC call.
|
||||||
|
//****************************************************************************************************************************************************
|
||||||
|
grpc::Status GRPCClient::setUseSSLForIMAP(bool useSSL)
|
||||||
|
{
|
||||||
|
return this->logGRPCCallStatus(this->setBool(&Bridge::Stub::SetUseSslForImap, useSSL), __FUNCTION__);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//****************************************************************************************************************************************************
|
//****************************************************************************************************************************************************
|
||||||
/// \return The status for the gRPC call.
|
/// \return The status for the gRPC call.
|
||||||
//****************************************************************************************************************************************************
|
//****************************************************************************************************************************************************
|
||||||
@ -1344,6 +1364,10 @@ void GRPCClient::processMailSettingsEvent(MailSettingsEvent const &event)
|
|||||||
this->logTrace("MailSettings event received: UseSslForSmtpFinished.");
|
this->logTrace("MailSettings event received: UseSslForSmtpFinished.");
|
||||||
emit toggleUseSSLFinished();
|
emit toggleUseSSLFinished();
|
||||||
break;
|
break;
|
||||||
|
case MailSettingsEvent::kUseSslForImapFinished:
|
||||||
|
this->logTrace("MailSettings event received: UseSslForImapFinished.");
|
||||||
|
emit toggleUseSSLFinished();
|
||||||
|
break;
|
||||||
case MailSettingsEvent::kChangePortsFinished:
|
case MailSettingsEvent::kChangePortsFinished:
|
||||||
this->logTrace("MailSettings event received: ChangePortsFinished.");
|
this->logTrace("MailSettings event received: ChangePortsFinished.");
|
||||||
emit changePortFinished();
|
emit changePortFinished();
|
||||||
|
|||||||
@ -124,6 +124,8 @@ public:
|
|||||||
grpc::Status changePorts(int portIMAP, int portSMTP); ///< Performs the 'changePorts' gRPC call.
|
grpc::Status changePorts(int portIMAP, int portSMTP); ///< Performs the 'changePorts' gRPC call.
|
||||||
grpc::Status isDoHEnabled(bool &outEnabled); ///< Performs the 'isDoHEnabled' gRPC call.
|
grpc::Status isDoHEnabled(bool &outEnabled); ///< Performs the 'isDoHEnabled' gRPC call.
|
||||||
grpc::Status setIsDoHEnabled(bool enabled); ///< Performs the 'setIsDoHEnabled' gRPC call.
|
grpc::Status setIsDoHEnabled(bool enabled); ///< Performs the 'setIsDoHEnabled' gRPC call.
|
||||||
|
grpc::Status useSSLForIMAP(bool &outUseSSL); ///< Performs the 'useSSLForSMTP' gRPC call
|
||||||
|
grpc::Status setUseSSLForIMAP(bool useSSL); ///< Performs the 'currentEmailClient' gRPC call.
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void portIssueIMAP();
|
void portIssueIMAP();
|
||||||
|
|||||||
@ -64,6 +64,8 @@ static const char* Bridge_method_names[] = {
|
|||||||
"/grpc.Bridge/IsDoHEnabled",
|
"/grpc.Bridge/IsDoHEnabled",
|
||||||
"/grpc.Bridge/SetUseSslForSmtp",
|
"/grpc.Bridge/SetUseSslForSmtp",
|
||||||
"/grpc.Bridge/UseSslForSmtp",
|
"/grpc.Bridge/UseSslForSmtp",
|
||||||
|
"/grpc.Bridge/SetUseSslForImap",
|
||||||
|
"/grpc.Bridge/UseSslForImap",
|
||||||
"/grpc.Bridge/Hostname",
|
"/grpc.Bridge/Hostname",
|
||||||
"/grpc.Bridge/ImapPort",
|
"/grpc.Bridge/ImapPort",
|
||||||
"/grpc.Bridge/SmtpPort",
|
"/grpc.Bridge/SmtpPort",
|
||||||
@ -131,22 +133,24 @@ Bridge::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, co
|
|||||||
, rpcmethod_IsDoHEnabled_(Bridge_method_names[39], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_IsDoHEnabled_(Bridge_method_names[39], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_SetUseSslForSmtp_(Bridge_method_names[40], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SetUseSslForSmtp_(Bridge_method_names[40], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_UseSslForSmtp_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_UseSslForSmtp_(Bridge_method_names[41], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_Hostname_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SetUseSslForImap_(Bridge_method_names[42], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_ImapPort_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_UseSslForImap_(Bridge_method_names[43], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_SmtpPort_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_Hostname_(Bridge_method_names[44], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_ChangePorts_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_ImapPort_(Bridge_method_names[45], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_IsPortFree_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SmtpPort_(Bridge_method_names[46], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_AvailableKeychains_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_ChangePorts_(Bridge_method_names[47], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_SetCurrentKeychain_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_IsPortFree_(Bridge_method_names[48], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_CurrentKeychain_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_AvailableKeychains_(Bridge_method_names[49], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_GetUserList_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SetCurrentKeychain_(Bridge_method_names[50], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_GetUser_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_CurrentKeychain_(Bridge_method_names[51], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_SetUserSplitMode_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_GetUserList_(Bridge_method_names[52], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_LogoutUser_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_GetUser_(Bridge_method_names[53], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_RemoveUser_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_SetUserSplitMode_(Bridge_method_names[54], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_LogoutUser_(Bridge_method_names[55], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_RunEventStream_(Bridge_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
|
, rpcmethod_RemoveUser_(Bridge_method_names[56], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
, rpcmethod_StopEventStream_(Bridge_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
, rpcmethod_ConfigureUserAppleMail_(Bridge_method_names[57], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
|
, rpcmethod_RunEventStream_(Bridge_method_names[58], options.suffix_for_stats(),::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
|
||||||
|
, rpcmethod_StopEventStream_(Bridge_method_names[59], options.suffix_for_stats(),::grpc::internal::RpcMethod::NORMAL_RPC, channel)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) {
|
::grpc::Status Bridge::Stub::CheckTokens(::grpc::ClientContext* context, const ::google::protobuf::StringValue& request, ::google::protobuf::StringValue* response) {
|
||||||
@ -1115,6 +1119,52 @@ void Bridge::Stub::async::UseSslForSmtp(::grpc::ClientContext* context, const ::
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::grpc::Status Bridge::Stub::SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::google::protobuf::Empty* response) {
|
||||||
|
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_SetUseSslForImap_, context, request, response);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bridge::Stub::async::SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, std::function<void(::grpc::Status)> f) {
|
||||||
|
::grpc::internal::CallbackUnaryCall< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetUseSslForImap_, context, request, response, std::move(f));
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bridge::Stub::async::SetUseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response, ::grpc::ClientUnaryReactor* reactor) {
|
||||||
|
::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_SetUseSslForImap_, context, request, response, reactor);
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::PrepareAsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_SetUseSslForImap_, context, request);
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::Empty>* Bridge::Stub::AsyncSetUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::BoolValue& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
auto* result =
|
||||||
|
this->PrepareAsyncSetUseSslForImapRaw(context, request, cq);
|
||||||
|
result->StartCall();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::Status Bridge::Stub::UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::BoolValue* response) {
|
||||||
|
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_UseSslForImap_, context, request, response);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bridge::Stub::async::UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, std::function<void(::grpc::Status)> f) {
|
||||||
|
::grpc::internal::CallbackUnaryCall< ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UseSslForImap_, context, request, response, std::move(f));
|
||||||
|
}
|
||||||
|
|
||||||
|
void Bridge::Stub::async::UseSslForImap(::grpc::ClientContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response, ::grpc::ClientUnaryReactor* reactor) {
|
||||||
|
::grpc::internal::ClientCallbackUnaryFactory::Create< ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(stub_->channel_.get(), stub_->rpcmethod_UseSslForImap_, context, request, response, reactor);
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::PrepareAsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
return ::grpc::internal::ClientAsyncResponseReaderHelper::Create< ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), cq, rpcmethod_UseSslForImap_, context, request);
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::ClientAsyncResponseReader< ::google::protobuf::BoolValue>* Bridge::Stub::AsyncUseSslForImapRaw(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::grpc::CompletionQueue* cq) {
|
||||||
|
auto* result =
|
||||||
|
this->PrepareAsyncUseSslForImapRaw(context, request, cq);
|
||||||
|
result->StartCall();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
::grpc::Status Bridge::Stub::Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) {
|
::grpc::Status Bridge::Stub::Hostname(::grpc::ClientContext* context, const ::google::protobuf::Empty& request, ::google::protobuf::StringValue* response) {
|
||||||
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_Hostname_, context, request, response);
|
return ::grpc::internal::BlockingUnaryCall< ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(channel_.get(), rpcmethod_Hostname_, context, request, response);
|
||||||
}
|
}
|
||||||
@ -1900,6 +1950,26 @@ Bridge::Service::Service() {
|
|||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[42],
|
Bridge_method_names[42],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::BoolValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
|
[](Bridge::Service* service,
|
||||||
|
::grpc::ServerContext* ctx,
|
||||||
|
const ::google::protobuf::BoolValue* req,
|
||||||
|
::google::protobuf::Empty* resp) {
|
||||||
|
return service->SetUseSslForImap(ctx, req, resp);
|
||||||
|
}, this)));
|
||||||
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
|
Bridge_method_names[43],
|
||||||
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
|
[](Bridge::Service* service,
|
||||||
|
::grpc::ServerContext* ctx,
|
||||||
|
const ::google::protobuf::Empty* req,
|
||||||
|
::google::protobuf::BoolValue* resp) {
|
||||||
|
return service->UseSslForImap(ctx, req, resp);
|
||||||
|
}, this)));
|
||||||
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
|
Bridge_method_names[44],
|
||||||
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
::grpc::ServerContext* ctx,
|
::grpc::ServerContext* ctx,
|
||||||
@ -1908,7 +1978,7 @@ Bridge::Service::Service() {
|
|||||||
return service->Hostname(ctx, req, resp);
|
return service->Hostname(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[43],
|
Bridge_method_names[45],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1918,7 +1988,7 @@ Bridge::Service::Service() {
|
|||||||
return service->ImapPort(ctx, req, resp);
|
return service->ImapPort(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[44],
|
Bridge_method_names[46],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Int32Value, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1928,7 +1998,7 @@ Bridge::Service::Service() {
|
|||||||
return service->SmtpPort(ctx, req, resp);
|
return service->SmtpPort(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[45],
|
Bridge_method_names[47],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ChangePortsRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ChangePortsRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1938,7 +2008,7 @@ Bridge::Service::Service() {
|
|||||||
return service->ChangePorts(ctx, req, resp);
|
return service->ChangePorts(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[46],
|
Bridge_method_names[48],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Int32Value, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Int32Value, ::google::protobuf::BoolValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1948,7 +2018,7 @@ Bridge::Service::Service() {
|
|||||||
return service->IsPortFree(ctx, req, resp);
|
return service->IsPortFree(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[47],
|
Bridge_method_names[49],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::AvailableKeychainsResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1958,7 +2028,7 @@ Bridge::Service::Service() {
|
|||||||
return service->AvailableKeychains(ctx, req, resp);
|
return service->AvailableKeychains(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[48],
|
Bridge_method_names[50],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1968,7 +2038,7 @@ Bridge::Service::Service() {
|
|||||||
return service->SetCurrentKeychain(ctx, req, resp);
|
return service->SetCurrentKeychain(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[49],
|
Bridge_method_names[51],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::StringValue, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1978,7 +2048,7 @@ Bridge::Service::Service() {
|
|||||||
return service->CurrentKeychain(ctx, req, resp);
|
return service->CurrentKeychain(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[50],
|
Bridge_method_names[52],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::UserListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::grpc::UserListResponse, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1988,7 +2058,7 @@ Bridge::Service::Service() {
|
|||||||
return service->GetUserList(ctx, req, resp);
|
return service->GetUserList(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[51],
|
Bridge_method_names[53],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::grpc::User, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::grpc::User, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -1998,7 +2068,7 @@ Bridge::Service::Service() {
|
|||||||
return service->GetUser(ctx, req, resp);
|
return service->GetUser(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[52],
|
Bridge_method_names[54],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::UserSplitModeRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::UserSplitModeRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2008,7 +2078,7 @@ Bridge::Service::Service() {
|
|||||||
return service->SetUserSplitMode(ctx, req, resp);
|
return service->SetUserSplitMode(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[53],
|
Bridge_method_names[55],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2018,7 +2088,7 @@ Bridge::Service::Service() {
|
|||||||
return service->LogoutUser(ctx, req, resp);
|
return service->LogoutUser(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[54],
|
Bridge_method_names[56],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::StringValue, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2028,7 +2098,7 @@ Bridge::Service::Service() {
|
|||||||
return service->RemoveUser(ctx, req, resp);
|
return service->RemoveUser(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[55],
|
Bridge_method_names[57],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::grpc::ConfigureAppleMailRequest, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2038,7 +2108,7 @@ Bridge::Service::Service() {
|
|||||||
return service->ConfigureUserAppleMail(ctx, req, resp);
|
return service->ConfigureUserAppleMail(ctx, req, resp);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[56],
|
Bridge_method_names[58],
|
||||||
::grpc::internal::RpcMethod::SERVER_STREAMING,
|
::grpc::internal::RpcMethod::SERVER_STREAMING,
|
||||||
new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
new ::grpc::internal::ServerStreamingHandler< Bridge::Service, ::grpc::EventStreamRequest, ::grpc::StreamEvent>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2048,7 +2118,7 @@ Bridge::Service::Service() {
|
|||||||
return service->RunEventStream(ctx, req, writer);
|
return service->RunEventStream(ctx, req, writer);
|
||||||
}, this)));
|
}, this)));
|
||||||
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
AddMethod(new ::grpc::internal::RpcServiceMethod(
|
||||||
Bridge_method_names[57],
|
Bridge_method_names[59],
|
||||||
::grpc::internal::RpcMethod::NORMAL_RPC,
|
::grpc::internal::RpcMethod::NORMAL_RPC,
|
||||||
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
new ::grpc::internal::RpcMethodHandler< Bridge::Service, ::google::protobuf::Empty, ::google::protobuf::Empty, ::grpc::protobuf::MessageLite, ::grpc::protobuf::MessageLite>(
|
||||||
[](Bridge::Service* service,
|
[](Bridge::Service* service,
|
||||||
@ -2356,6 +2426,20 @@ Bridge::Service::~Service() {
|
|||||||
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::grpc::Status Bridge::Service::SetUseSslForImap(::grpc::ServerContext* context, const ::google::protobuf::BoolValue* request, ::google::protobuf::Empty* response) {
|
||||||
|
(void) context;
|
||||||
|
(void) request;
|
||||||
|
(void) response;
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
::grpc::Status Bridge::Service::UseSslForImap(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::BoolValue* response) {
|
||||||
|
(void) context;
|
||||||
|
(void) request;
|
||||||
|
(void) response;
|
||||||
|
return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
|
||||||
|
}
|
||||||
|
|
||||||
::grpc::Status Bridge::Service::Hostname(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) {
|
::grpc::Status Bridge::Service::Hostname(::grpc::ServerContext* context, const ::google::protobuf::Empty* request, ::google::protobuf::StringValue* response) {
|
||||||
(void) context;
|
(void) context;
|
||||||
(void) request;
|
(void) request;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -579,6 +579,17 @@ struct UseSslForSmtpFinishedEventDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseSslForSmtpFinishedEventDefaultTypeInternal _UseSslForSmtpFinishedEvent_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseSslForSmtpFinishedEventDefaultTypeInternal _UseSslForSmtpFinishedEvent_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(
|
||||||
|
::_pbi::ConstantInitialized) {}
|
||||||
|
struct UseSslForImapFinishedEventDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR UseSslForImapFinishedEventDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~UseSslForImapFinishedEventDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
UseSslForImapFinishedEvent _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UseSslForImapFinishedEventDefaultTypeInternal _UseSslForImapFinishedEvent_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR ChangePortsFinishedEvent::ChangePortsFinishedEvent(
|
PROTOBUF_CONSTEXPR ChangePortsFinishedEvent::ChangePortsFinishedEvent(
|
||||||
::_pbi::ConstantInitialized) {}
|
::_pbi::ConstantInitialized) {}
|
||||||
struct ChangePortsFinishedEventDefaultTypeInternal {
|
struct ChangePortsFinishedEventDefaultTypeInternal {
|
||||||
@ -755,7 +766,7 @@ struct UserChangedEventDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserChangedEventDefaultTypeInternal _UserChangedEvent_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserChangedEventDefaultTypeInternal _UserChangedEvent_default_instance_;
|
||||||
} // namespace grpc
|
} // namespace grpc
|
||||||
static ::_pb::Metadata file_level_metadata_bridge_2eproto[57];
|
static ::_pb::Metadata file_level_metadata_bridge_2eproto[58];
|
||||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_bridge_2eproto[5];
|
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_bridge_2eproto[5];
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_bridge_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_bridge_2eproto = nullptr;
|
||||||
|
|
||||||
@ -1089,6 +1100,7 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p
|
|||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsEvent, _impl_.event_),
|
PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsEvent, _impl_.event_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsErrorEvent, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::grpc::MailSettingsErrorEvent, _internal_metadata_),
|
||||||
@ -1104,6 +1116,12 @@ const uint32_t TableStruct_bridge_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(p
|
|||||||
~0u, // no _weak_field_map_
|
~0u, // no _weak_field_map_
|
||||||
~0u, // no _inlined_string_donated_
|
~0u, // no _inlined_string_donated_
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::grpc::UseSslForImapFinishedEvent, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsFinishedEvent, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::grpc::ChangePortsFinishedEvent, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
~0u, // no _oneof_case_
|
~0u, // no _oneof_case_
|
||||||
@ -1249,22 +1267,23 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 306, -1, -1, sizeof(::grpc::ChangeLocalCacheFinishedEvent)},
|
{ 306, -1, -1, sizeof(::grpc::ChangeLocalCacheFinishedEvent)},
|
||||||
{ 313, -1, -1, sizeof(::grpc::DiskCachePathChanged)},
|
{ 313, -1, -1, sizeof(::grpc::DiskCachePathChanged)},
|
||||||
{ 320, -1, -1, sizeof(::grpc::MailSettingsEvent)},
|
{ 320, -1, -1, sizeof(::grpc::MailSettingsEvent)},
|
||||||
{ 330, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)},
|
{ 331, -1, -1, sizeof(::grpc::MailSettingsErrorEvent)},
|
||||||
{ 337, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)},
|
{ 338, -1, -1, sizeof(::grpc::UseSslForSmtpFinishedEvent)},
|
||||||
{ 343, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)},
|
{ 344, -1, -1, sizeof(::grpc::UseSslForImapFinishedEvent)},
|
||||||
{ 349, -1, -1, sizeof(::grpc::KeychainEvent)},
|
{ 350, -1, -1, sizeof(::grpc::ChangePortsFinishedEvent)},
|
||||||
{ 359, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)},
|
{ 356, -1, -1, sizeof(::grpc::KeychainEvent)},
|
||||||
{ 365, -1, -1, sizeof(::grpc::HasNoKeychainEvent)},
|
{ 366, -1, -1, sizeof(::grpc::ChangeKeychainFinishedEvent)},
|
||||||
{ 371, -1, -1, sizeof(::grpc::RebuildKeychainEvent)},
|
{ 372, -1, -1, sizeof(::grpc::HasNoKeychainEvent)},
|
||||||
{ 377, -1, -1, sizeof(::grpc::MailEvent)},
|
{ 378, -1, -1, sizeof(::grpc::RebuildKeychainEvent)},
|
||||||
{ 388, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)},
|
{ 384, -1, -1, sizeof(::grpc::MailEvent)},
|
||||||
{ 395, -1, -1, sizeof(::grpc::AddressChangedEvent)},
|
{ 395, -1, -1, sizeof(::grpc::NoActiveKeyForRecipientEvent)},
|
||||||
{ 402, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)},
|
{ 402, -1, -1, sizeof(::grpc::AddressChangedEvent)},
|
||||||
{ 409, -1, -1, sizeof(::grpc::ApiCertIssueEvent)},
|
{ 409, -1, -1, sizeof(::grpc::AddressChangedLogoutEvent)},
|
||||||
{ 415, -1, -1, sizeof(::grpc::UserEvent)},
|
{ 416, -1, -1, sizeof(::grpc::ApiCertIssueEvent)},
|
||||||
{ 425, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)},
|
{ 422, -1, -1, sizeof(::grpc::UserEvent)},
|
||||||
{ 432, -1, -1, sizeof(::grpc::UserDisconnectedEvent)},
|
{ 432, -1, -1, sizeof(::grpc::ToggleSplitModeFinishedEvent)},
|
||||||
{ 439, -1, -1, sizeof(::grpc::UserChangedEvent)},
|
{ 439, -1, -1, sizeof(::grpc::UserDisconnectedEvent)},
|
||||||
|
{ 446, -1, -1, sizeof(::grpc::UserChangedEvent)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@ -1311,6 +1330,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::grpc::_MailSettingsEvent_default_instance_._instance,
|
&::grpc::_MailSettingsEvent_default_instance_._instance,
|
||||||
&::grpc::_MailSettingsErrorEvent_default_instance_._instance,
|
&::grpc::_MailSettingsErrorEvent_default_instance_._instance,
|
||||||
&::grpc::_UseSslForSmtpFinishedEvent_default_instance_._instance,
|
&::grpc::_UseSslForSmtpFinishedEvent_default_instance_._instance,
|
||||||
|
&::grpc::_UseSslForImapFinishedEvent_default_instance_._instance,
|
||||||
&::grpc::_ChangePortsFinishedEvent_default_instance_._instance,
|
&::grpc::_ChangePortsFinishedEvent_default_instance_._instance,
|
||||||
&::grpc::_KeychainEvent_default_instance_._instance,
|
&::grpc::_KeychainEvent_default_instance_._instance,
|
||||||
&::grpc::_ChangeKeychainFinishedEvent_default_instance_._instance,
|
&::grpc::_ChangeKeychainFinishedEvent_default_instance_._instance,
|
||||||
@ -1416,156 +1436,162 @@ const char descriptor_table_protodef_bridge_2eproto[] PROTOBUF_SECTION_VARIABLE(
|
|||||||
"grpc.CacheErrorType\"!\n\037CacheLocationChan"
|
"grpc.CacheErrorType\"!\n\037CacheLocationChan"
|
||||||
"geSuccessEvent\"4\n\035ChangeLocalCacheFinish"
|
"geSuccessEvent\"4\n\035ChangeLocalCacheFinish"
|
||||||
"edEvent\022\023\n\013willRestart\030\001 \001(\010\"$\n\024DiskCach"
|
"edEvent\022\023\n\013willRestart\030\001 \001(\010\"$\n\024DiskCach"
|
||||||
"ePathChanged\022\014\n\004path\030\001 \001(\t\"\315\001\n\021MailSetti"
|
"ePathChanged\022\014\n\004path\030\001 \001(\t\"\220\002\n\021MailSetti"
|
||||||
"ngsEvent\022-\n\005error\030\001 \001(\0132\034.grpc.MailSetti"
|
"ngsEvent\022-\n\005error\030\001 \001(\0132\034.grpc.MailSetti"
|
||||||
"ngsErrorEventH\000\022A\n\025useSslForSmtpFinished"
|
"ngsErrorEventH\000\022A\n\025useSslForSmtpFinished"
|
||||||
"\030\002 \001(\0132 .grpc.UseSslForSmtpFinishedEvent"
|
"\030\002 \001(\0132 .grpc.UseSslForSmtpFinishedEvent"
|
||||||
"H\000\022=\n\023changePortsFinished\030\003 \001(\0132\036.grpc.C"
|
"H\000\022=\n\023changePortsFinished\030\003 \001(\0132\036.grpc.C"
|
||||||
"hangePortsFinishedEventH\000B\007\n\005event\"C\n\026Ma"
|
"hangePortsFinishedEventH\000\022A\n\025useSslForIm"
|
||||||
"ilSettingsErrorEvent\022)\n\004type\030\001 \001(\0162\033.grp"
|
"apFinished\030\004 \001(\0132 .grpc.UseSslForImapFin"
|
||||||
"c.MailSettingsErrorType\"\034\n\032UseSslForSmtp"
|
"ishedEventH\000B\007\n\005event\"C\n\026MailSettingsErr"
|
||||||
"FinishedEvent\"\032\n\030ChangePortsFinishedEven"
|
"orEvent\022)\n\004type\030\001 \001(\0162\033.grpc.MailSetting"
|
||||||
"t\"\307\001\n\rKeychainEvent\022C\n\026changeKeychainFin"
|
"sErrorType\"\034\n\032UseSslForSmtpFinishedEvent"
|
||||||
"ished\030\001 \001(\0132!.grpc.ChangeKeychainFinishe"
|
"\"\034\n\032UseSslForImapFinishedEvent\"\032\n\030Change"
|
||||||
"dEventH\000\0221\n\rhasNoKeychain\030\002 \001(\0132\030.grpc.H"
|
"PortsFinishedEvent\"\307\001\n\rKeychainEvent\022C\n\026"
|
||||||
"asNoKeychainEventH\000\0225\n\017rebuildKeychain\030\003"
|
"changeKeychainFinished\030\001 \001(\0132!.grpc.Chan"
|
||||||
" \001(\0132\032.grpc.RebuildKeychainEventH\000B\007\n\005ev"
|
"geKeychainFinishedEventH\000\0221\n\rhasNoKeycha"
|
||||||
"ent\"\035\n\033ChangeKeychainFinishedEvent\"\024\n\022Ha"
|
"in\030\002 \001(\0132\030.grpc.HasNoKeychainEventH\000\0225\n\017"
|
||||||
"sNoKeychainEvent\"\026\n\024RebuildKeychainEvent"
|
"rebuildKeychain\030\003 \001(\0132\032.grpc.RebuildKeyc"
|
||||||
"\"\207\002\n\tMailEvent\022J\n\034noActiveKeyForRecipien"
|
"hainEventH\000B\007\n\005event\"\035\n\033ChangeKeychainFi"
|
||||||
"tEvent\030\001 \001(\0132\".grpc.NoActiveKeyForRecipi"
|
"nishedEvent\"\024\n\022HasNoKeychainEvent\"\026\n\024Reb"
|
||||||
"entEventH\000\0223\n\016addressChanged\030\002 \001(\0132\031.grp"
|
"uildKeychainEvent\"\207\002\n\tMailEvent\022J\n\034noAct"
|
||||||
"c.AddressChangedEventH\000\022\?\n\024addressChange"
|
"iveKeyForRecipientEvent\030\001 \001(\0132\".grpc.NoA"
|
||||||
"dLogout\030\003 \001(\0132\037.grpc.AddressChangedLogou"
|
"ctiveKeyForRecipientEventH\000\0223\n\016addressCh"
|
||||||
"tEventH\000\022/\n\014apiCertIssue\030\006 \001(\0132\027.grpc.Ap"
|
"anged\030\002 \001(\0132\031.grpc.AddressChangedEventH\000"
|
||||||
"iCertIssueEventH\000B\007\n\005event\"-\n\034NoActiveKe"
|
"\022\?\n\024addressChangedLogout\030\003 \001(\0132\037.grpc.Ad"
|
||||||
"yForRecipientEvent\022\r\n\005email\030\001 \001(\t\"&\n\023Add"
|
"dressChangedLogoutEventH\000\022/\n\014apiCertIssu"
|
||||||
"ressChangedEvent\022\017\n\007address\030\001 \001(\t\",\n\031Add"
|
"e\030\006 \001(\0132\027.grpc.ApiCertIssueEventH\000B\007\n\005ev"
|
||||||
"ressChangedLogoutEvent\022\017\n\007address\030\001 \001(\t\""
|
"ent\"-\n\034NoActiveKeyForRecipientEvent\022\r\n\005e"
|
||||||
"\023\n\021ApiCertIssueEvent\"\303\001\n\tUserEvent\022E\n\027to"
|
"mail\030\001 \001(\t\"&\n\023AddressChangedEvent\022\017\n\007add"
|
||||||
"ggleSplitModeFinished\030\001 \001(\0132\".grpc.Toggl"
|
"ress\030\001 \001(\t\",\n\031AddressChangedLogoutEvent\022"
|
||||||
"eSplitModeFinishedEventH\000\0227\n\020userDisconn"
|
"\017\n\007address\030\001 \001(\t\"\023\n\021ApiCertIssueEvent\"\303\001"
|
||||||
"ected\030\002 \001(\0132\033.grpc.UserDisconnectedEvent"
|
"\n\tUserEvent\022E\n\027toggleSplitModeFinished\030\001"
|
||||||
"H\000\022-\n\013userChanged\030\003 \001(\0132\026.grpc.UserChang"
|
" \001(\0132\".grpc.ToggleSplitModeFinishedEvent"
|
||||||
"edEventH\000B\007\n\005event\".\n\034ToggleSplitModeFin"
|
"H\000\0227\n\020userDisconnected\030\002 \001(\0132\033.grpc.User"
|
||||||
"ishedEvent\022\016\n\006userID\030\001 \001(\t\")\n\025UserDiscon"
|
"DisconnectedEventH\000\022-\n\013userChanged\030\003 \001(\013"
|
||||||
"nectedEvent\022\020\n\010username\030\001 \001(\t\"\"\n\020UserCha"
|
"2\026.grpc.UserChangedEventH\000B\007\n\005event\".\n\034T"
|
||||||
"ngedEvent\022\016\n\006userID\030\001 \001(\t*q\n\010LogLevel\022\r\n"
|
"oggleSplitModeFinishedEvent\022\016\n\006userID\030\001 "
|
||||||
"\tLOG_PANIC\020\000\022\r\n\tLOG_FATAL\020\001\022\r\n\tLOG_ERROR"
|
"\001(\t\")\n\025UserDisconnectedEvent\022\020\n\010username"
|
||||||
"\020\002\022\014\n\010LOG_WARN\020\003\022\014\n\010LOG_INFO\020\004\022\r\n\tLOG_DE"
|
"\030\001 \001(\t\"\"\n\020UserChangedEvent\022\016\n\006userID\030\001 \001"
|
||||||
"BUG\020\005\022\r\n\tLOG_TRACE\020\006*\242\001\n\016LoginErrorType\022"
|
"(\t*q\n\010LogLevel\022\r\n\tLOG_PANIC\020\000\022\r\n\tLOG_FAT"
|
||||||
"\033\n\027USERNAME_PASSWORD_ERROR\020\000\022\r\n\tFREE_USE"
|
"AL\020\001\022\r\n\tLOG_ERROR\020\002\022\014\n\010LOG_WARN\020\003\022\014\n\010LOG"
|
||||||
"R\020\001\022\024\n\020CONNECTION_ERROR\020\002\022\r\n\tTFA_ERROR\020\003"
|
"_INFO\020\004\022\r\n\tLOG_DEBUG\020\005\022\r\n\tLOG_TRACE\020\006*\242\001"
|
||||||
"\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_PASSWORDS_ERROR\020\005"
|
"\n\016LoginErrorType\022\033\n\027USERNAME_PASSWORD_ER"
|
||||||
"\022\027\n\023TWO_PASSWORDS_ABORT\020\006*[\n\017UpdateError"
|
"ROR\020\000\022\r\n\tFREE_USER\020\001\022\024\n\020CONNECTION_ERROR"
|
||||||
"Type\022\027\n\023UPDATE_MANUAL_ERROR\020\000\022\026\n\022UPDATE_"
|
"\020\002\022\r\n\tTFA_ERROR\020\003\022\r\n\tTFA_ABORT\020\004\022\027\n\023TWO_"
|
||||||
"FORCE_ERROR\020\001\022\027\n\023UPDATE_SILENT_ERROR\020\002*W"
|
"PASSWORDS_ERROR\020\005\022\027\n\023TWO_PASSWORDS_ABORT"
|
||||||
"\n\016CacheErrorType\022\033\n\027CACHE_UNAVAILABLE_ER"
|
"\020\006*[\n\017UpdateErrorType\022\027\n\023UPDATE_MANUAL_E"
|
||||||
"ROR\020\000\022\031\n\025CACHE_CANT_MOVE_ERROR\020\001\022\r\n\tDISK"
|
"RROR\020\000\022\026\n\022UPDATE_FORCE_ERROR\020\001\022\027\n\023UPDATE"
|
||||||
"_FULL\020\002*A\n\025MailSettingsErrorType\022\023\n\017IMAP"
|
"_SILENT_ERROR\020\002*W\n\016CacheErrorType\022\033\n\027CAC"
|
||||||
"_PORT_ISSUE\020\000\022\023\n\017SMTP_PORT_ISSUE\020\0012\233\037\n\006B"
|
"HE_UNAVAILABLE_ERROR\020\000\022\031\n\025CACHE_CANT_MOV"
|
||||||
"ridge\022I\n\013CheckTokens\022\034.google.protobuf.S"
|
"E_ERROR\020\001\022\r\n\tDISK_FULL\020\002*A\n\025MailSettings"
|
||||||
"tringValue\032\034.google.protobuf.StringValue"
|
"ErrorType\022\023\n\017IMAP_PORT_ISSUE\020\000\022\023\n\017SMTP_P"
|
||||||
"\022\?\n\013AddLogEntry\022\030.grpc.AddLogEntryReques"
|
"ORT_ISSUE\020\0012\250 \n\006Bridge\022I\n\013CheckTokens\022\034."
|
||||||
"t\032\026.google.protobuf.Empty\022:\n\010GuiReady\022\026."
|
"google.protobuf.StringValue\032\034.google.pro"
|
||||||
"google.protobuf.Empty\032\026.google.protobuf."
|
"tobuf.StringValue\022\?\n\013AddLogEntry\022\030.grpc."
|
||||||
"Empty\0226\n\004Quit\022\026.google.protobuf.Empty\032\026."
|
"AddLogEntryRequest\032\026.google.protobuf.Emp"
|
||||||
"google.protobuf.Empty\0229\n\007Restart\022\026.googl"
|
"ty\022:\n\010GuiReady\022\026.google.protobuf.Empty\032\026"
|
||||||
"e.protobuf.Empty\032\026.google.protobuf.Empty"
|
".google.protobuf.Empty\0226\n\004Quit\022\026.google."
|
||||||
"\022C\n\rShowOnStartup\022\026.google.protobuf.Empt"
|
"protobuf.Empty\032\026.google.protobuf.Empty\0229"
|
||||||
"y\032\032.google.protobuf.BoolValue\022F\n\020ShowSpl"
|
"\n\007Restart\022\026.google.protobuf.Empty\032\026.goog"
|
||||||
"ashScreen\022\026.google.protobuf.Empty\032\032.goog"
|
"le.protobuf.Empty\022C\n\rShowOnStartup\022\026.goo"
|
||||||
"le.protobuf.BoolValue\022E\n\017IsFirstGuiStart"
|
"gle.protobuf.Empty\032\032.google.protobuf.Boo"
|
||||||
"\022\026.google.protobuf.Empty\032\032.google.protob"
|
"lValue\022F\n\020ShowSplashScreen\022\026.google.prot"
|
||||||
"uf.BoolValue\022F\n\020SetIsAutostartOn\022\032.googl"
|
"obuf.Empty\032\032.google.protobuf.BoolValue\022E"
|
||||||
"e.protobuf.BoolValue\032\026.google.protobuf.E"
|
"\n\017IsFirstGuiStart\022\026.google.protobuf.Empt"
|
||||||
"mpty\022C\n\rIsAutostartOn\022\026.google.protobuf."
|
"y\032\032.google.protobuf.BoolValue\022F\n\020SetIsAu"
|
||||||
"Empty\032\032.google.protobuf.BoolValue\022F\n\020Set"
|
"tostartOn\022\032.google.protobuf.BoolValue\032\026."
|
||||||
"IsBetaEnabled\022\032.google.protobuf.BoolValu"
|
"google.protobuf.Empty\022C\n\rIsAutostartOn\022\026"
|
||||||
"e\032\026.google.protobuf.Empty\022C\n\rIsBetaEnabl"
|
".google.protobuf.Empty\032\032.google.protobuf"
|
||||||
"ed\022\026.google.protobuf.Empty\032\032.google.prot"
|
".BoolValue\022F\n\020SetIsBetaEnabled\022\032.google."
|
||||||
"obuf.BoolValue\022I\n\023SetIsAllMailVisible\022\032."
|
"protobuf.BoolValue\032\026.google.protobuf.Emp"
|
||||||
"google.protobuf.BoolValue\032\026.google.proto"
|
"ty\022C\n\rIsBetaEnabled\022\026.google.protobuf.Em"
|
||||||
"buf.Empty\022F\n\020IsAllMailVisible\022\026.google.p"
|
"pty\032\032.google.protobuf.BoolValue\022I\n\023SetIs"
|
||||||
"rotobuf.Empty\032\032.google.protobuf.BoolValu"
|
"AllMailVisible\022\032.google.protobuf.BoolVal"
|
||||||
"e\022<\n\004GoOs\022\026.google.protobuf.Empty\032\034.goog"
|
"ue\032\026.google.protobuf.Empty\022F\n\020IsAllMailV"
|
||||||
"le.protobuf.StringValue\022>\n\014TriggerReset\022"
|
"isible\022\026.google.protobuf.Empty\032\032.google."
|
||||||
"\026.google.protobuf.Empty\032\026.google.protobu"
|
"protobuf.BoolValue\022<\n\004GoOs\022\026.google.prot"
|
||||||
"f.Empty\022\?\n\007Version\022\026.google.protobuf.Emp"
|
"obuf.Empty\032\034.google.protobuf.StringValue"
|
||||||
"ty\032\034.google.protobuf.StringValue\022@\n\010Logs"
|
"\022>\n\014TriggerReset\022\026.google.protobuf.Empty"
|
||||||
"Path\022\026.google.protobuf.Empty\032\034.google.pr"
|
"\032\026.google.protobuf.Empty\022\?\n\007Version\022\026.go"
|
||||||
"otobuf.StringValue\022C\n\013LicensePath\022\026.goog"
|
"ogle.protobuf.Empty\032\034.google.protobuf.St"
|
||||||
"le.protobuf.Empty\032\034.google.protobuf.Stri"
|
"ringValue\022@\n\010LogsPath\022\026.google.protobuf."
|
||||||
"ngValue\022L\n\024ReleaseNotesPageLink\022\026.google"
|
"Empty\032\034.google.protobuf.StringValue\022C\n\013L"
|
||||||
".protobuf.Empty\032\034.google.protobuf.String"
|
"icensePath\022\026.google.protobuf.Empty\032\034.goo"
|
||||||
"Value\022N\n\026DependencyLicensesLink\022\026.google"
|
"gle.protobuf.StringValue\022L\n\024ReleaseNotes"
|
||||||
".protobuf.Empty\032\034.google.protobuf.String"
|
"PageLink\022\026.google.protobuf.Empty\032\034.googl"
|
||||||
"Value\022G\n\017LandingPageLink\022\026.google.protob"
|
"e.protobuf.StringValue\022N\n\026DependencyLice"
|
||||||
"uf.Empty\032\034.google.protobuf.StringValue\022J"
|
"nsesLink\022\026.google.protobuf.Empty\032\034.googl"
|
||||||
"\n\022SetColorSchemeName\022\034.google.protobuf.S"
|
"e.protobuf.StringValue\022G\n\017LandingPageLin"
|
||||||
"tringValue\032\026.google.protobuf.Empty\022G\n\017Co"
|
"k\022\026.google.protobuf.Empty\032\034.google.proto"
|
||||||
"lorSchemeName\022\026.google.protobuf.Empty\032\034."
|
"buf.StringValue\022J\n\022SetColorSchemeName\022\034."
|
||||||
"google.protobuf.StringValue\022J\n\022CurrentEm"
|
"google.protobuf.StringValue\032\026.google.pro"
|
||||||
"ailClient\022\026.google.protobuf.Empty\032\034.goog"
|
"tobuf.Empty\022G\n\017ColorSchemeName\022\026.google."
|
||||||
"le.protobuf.StringValue\022;\n\tReportBug\022\026.g"
|
"protobuf.Empty\032\034.google.protobuf.StringV"
|
||||||
"rpc.ReportBugRequest\032\026.google.protobuf.E"
|
"alue\022J\n\022CurrentEmailClient\022\026.google.prot"
|
||||||
"mpty\022E\n\rForceLauncher\022\034.google.protobuf."
|
"obuf.Empty\032\034.google.protobuf.StringValue"
|
||||||
"StringValue\032\026.google.protobuf.Empty\022I\n\021S"
|
"\022;\n\tReportBug\022\026.grpc.ReportBugRequest\032\026."
|
||||||
"etMainExecutable\022\034.google.protobuf.Strin"
|
"google.protobuf.Empty\022E\n\rForceLauncher\022\034"
|
||||||
"gValue\032\026.google.protobuf.Empty\0223\n\005Login\022"
|
".google.protobuf.StringValue\032\026.google.pr"
|
||||||
"\022.grpc.LoginRequest\032\026.google.protobuf.Em"
|
"otobuf.Empty\022I\n\021SetMainExecutable\022\034.goog"
|
||||||
"pty\0226\n\010Login2FA\022\022.grpc.LoginRequest\032\026.go"
|
"le.protobuf.StringValue\032\026.google.protobu"
|
||||||
"ogle.protobuf.Empty\022=\n\017Login2Passwords\022\022"
|
"f.Empty\0223\n\005Login\022\022.grpc.LoginRequest\032\026.g"
|
||||||
".grpc.LoginRequest\032\026.google.protobuf.Emp"
|
"oogle.protobuf.Empty\0226\n\010Login2FA\022\022.grpc."
|
||||||
"ty\022=\n\nLoginAbort\022\027.grpc.LoginAbortReques"
|
"LoginRequest\032\026.google.protobuf.Empty\022=\n\017"
|
||||||
"t\032\026.google.protobuf.Empty\022=\n\013CheckUpdate"
|
"Login2Passwords\022\022.grpc.LoginRequest\032\026.go"
|
||||||
"\022\026.google.protobuf.Empty\032\026.google.protob"
|
"ogle.protobuf.Empty\022=\n\nLoginAbort\022\027.grpc"
|
||||||
"uf.Empty\022\?\n\rInstallUpdate\022\026.google.proto"
|
".LoginAbortRequest\032\026.google.protobuf.Emp"
|
||||||
"buf.Empty\032\026.google.protobuf.Empty\022L\n\026Set"
|
"ty\022=\n\013CheckUpdate\022\026.google.protobuf.Empt"
|
||||||
"IsAutomaticUpdateOn\022\032.google.protobuf.Bo"
|
"y\032\026.google.protobuf.Empty\022\?\n\rInstallUpda"
|
||||||
"olValue\032\026.google.protobuf.Empty\022I\n\023IsAut"
|
"te\022\026.google.protobuf.Empty\032\026.google.prot"
|
||||||
"omaticUpdateOn\022\026.google.protobuf.Empty\032\032"
|
"obuf.Empty\022L\n\026SetIsAutomaticUpdateOn\022\032.g"
|
||||||
".google.protobuf.BoolValue\022E\n\rDiskCacheP"
|
"oogle.protobuf.BoolValue\032\026.google.protob"
|
||||||
"ath\022\026.google.protobuf.Empty\032\034.google.pro"
|
"uf.Empty\022I\n\023IsAutomaticUpdateOn\022\026.google"
|
||||||
"tobuf.StringValue\022I\n\020ChangeLocalCache\022\035."
|
".protobuf.Empty\032\032.google.protobuf.BoolVa"
|
||||||
"grpc.ChangeLocalCacheRequest\032\026.google.pr"
|
"lue\022E\n\rDiskCachePath\022\026.google.protobuf.E"
|
||||||
"otobuf.Empty\022E\n\017SetIsDoHEnabled\022\032.google"
|
"mpty\032\034.google.protobuf.StringValue\022I\n\020Ch"
|
||||||
".protobuf.BoolValue\032\026.google.protobuf.Em"
|
"angeLocalCache\022\035.grpc.ChangeLocalCacheRe"
|
||||||
"pty\022B\n\014IsDoHEnabled\022\026.google.protobuf.Em"
|
"quest\032\026.google.protobuf.Empty\022E\n\017SetIsDo"
|
||||||
"pty\032\032.google.protobuf.BoolValue\022F\n\020SetUs"
|
"HEnabled\022\032.google.protobuf.BoolValue\032\026.g"
|
||||||
"eSslForSmtp\022\032.google.protobuf.BoolValue\032"
|
"oogle.protobuf.Empty\022B\n\014IsDoHEnabled\022\026.g"
|
||||||
"\026.google.protobuf.Empty\022C\n\rUseSslForSmtp"
|
"oogle.protobuf.Empty\032\032.google.protobuf.B"
|
||||||
"\022\026.google.protobuf.Empty\032\032.google.protob"
|
"oolValue\022F\n\020SetUseSslForSmtp\022\032.google.pr"
|
||||||
"uf.BoolValue\022@\n\010Hostname\022\026.google.protob"
|
"otobuf.BoolValue\032\026.google.protobuf.Empty"
|
||||||
"uf.Empty\032\034.google.protobuf.StringValue\022\?"
|
"\022C\n\rUseSslForSmtp\022\026.google.protobuf.Empt"
|
||||||
"\n\010ImapPort\022\026.google.protobuf.Empty\032\033.goo"
|
"y\032\032.google.protobuf.BoolValue\022F\n\020SetUseS"
|
||||||
"gle.protobuf.Int32Value\022\?\n\010SmtpPort\022\026.go"
|
"slForImap\022\032.google.protobuf.BoolValue\032\026."
|
||||||
"ogle.protobuf.Empty\032\033.google.protobuf.In"
|
"google.protobuf.Empty\022C\n\rUseSslForImap\022\026"
|
||||||
"t32Value\022\?\n\013ChangePorts\022\030.grpc.ChangePor"
|
".google.protobuf.Empty\032\032.google.protobuf"
|
||||||
"tsRequest\032\026.google.protobuf.Empty\022E\n\nIsP"
|
".BoolValue\022@\n\010Hostname\022\026.google.protobuf"
|
||||||
"ortFree\022\033.google.protobuf.Int32Value\032\032.g"
|
".Empty\032\034.google.protobuf.StringValue\022\?\n\010"
|
||||||
"oogle.protobuf.BoolValue\022N\n\022AvailableKey"
|
"ImapPort\022\026.google.protobuf.Empty\032\033.googl"
|
||||||
"chains\022\026.google.protobuf.Empty\032 .grpc.Av"
|
"e.protobuf.Int32Value\022\?\n\010SmtpPort\022\026.goog"
|
||||||
"ailableKeychainsResponse\022J\n\022SetCurrentKe"
|
"le.protobuf.Empty\032\033.google.protobuf.Int3"
|
||||||
"ychain\022\034.google.protobuf.StringValue\032\026.g"
|
"2Value\022\?\n\013ChangePorts\022\030.grpc.ChangePorts"
|
||||||
"oogle.protobuf.Empty\022G\n\017CurrentKeychain\022"
|
"Request\032\026.google.protobuf.Empty\022E\n\nIsPor"
|
||||||
"\026.google.protobuf.Empty\032\034.google.protobu"
|
"tFree\022\033.google.protobuf.Int32Value\032\032.goo"
|
||||||
"f.StringValue\022=\n\013GetUserList\022\026.google.pr"
|
"gle.protobuf.BoolValue\022N\n\022AvailableKeych"
|
||||||
"otobuf.Empty\032\026.grpc.UserListResponse\0223\n\007"
|
"ains\022\026.google.protobuf.Empty\032 .grpc.Avai"
|
||||||
"GetUser\022\034.google.protobuf.StringValue\032\n."
|
"lableKeychainsResponse\022J\n\022SetCurrentKeyc"
|
||||||
"grpc.User\022F\n\020SetUserSplitMode\022\032.grpc.Use"
|
"hain\022\034.google.protobuf.StringValue\032\026.goo"
|
||||||
"rSplitModeRequest\032\026.google.protobuf.Empt"
|
"gle.protobuf.Empty\022G\n\017CurrentKeychain\022\026."
|
||||||
"y\022B\n\nLogoutUser\022\034.google.protobuf.String"
|
"google.protobuf.Empty\032\034.google.protobuf."
|
||||||
"Value\032\026.google.protobuf.Empty\022B\n\nRemoveU"
|
"StringValue\022=\n\013GetUserList\022\026.google.prot"
|
||||||
"ser\022\034.google.protobuf.StringValue\032\026.goog"
|
"obuf.Empty\032\026.grpc.UserListResponse\0223\n\007Ge"
|
||||||
"le.protobuf.Empty\022Q\n\026ConfigureUserAppleM"
|
"tUser\022\034.google.protobuf.StringValue\032\n.gr"
|
||||||
"ail\022\037.grpc.ConfigureAppleMailRequest\032\026.g"
|
"pc.User\022F\n\020SetUserSplitMode\022\032.grpc.UserS"
|
||||||
"oogle.protobuf.Empty\022\?\n\016RunEventStream\022\030"
|
"plitModeRequest\032\026.google.protobuf.Empty\022"
|
||||||
".grpc.EventStreamRequest\032\021.grpc.StreamEv"
|
"B\n\nLogoutUser\022\034.google.protobuf.StringVa"
|
||||||
"ent0\001\022A\n\017StopEventStream\022\026.google.protob"
|
"lue\032\026.google.protobuf.Empty\022B\n\nRemoveUse"
|
||||||
"uf.Empty\032\026.google.protobuf.EmptyB6Z4gith"
|
"r\022\034.google.protobuf.StringValue\032\026.google"
|
||||||
"ub.com/ProtonMail/proton-bridge/v2/inter"
|
".protobuf.Empty\022Q\n\026ConfigureUserAppleMai"
|
||||||
"nal/grpcb\006proto3"
|
"l\022\037.grpc.ConfigureAppleMailRequest\032\026.goo"
|
||||||
|
"gle.protobuf.Empty\022\?\n\016RunEventStream\022\030.g"
|
||||||
|
"rpc.EventStreamRequest\032\021.grpc.StreamEven"
|
||||||
|
"t0\001\022A\n\017StopEventStream\022\026.google.protobuf"
|
||||||
|
".Empty\032\026.google.protobuf.EmptyB6Z4github"
|
||||||
|
".com/ProtonMail/proton-bridge/v2/interna"
|
||||||
|
"l/grpcb\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps[2] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps[2] = {
|
||||||
&::descriptor_table_google_2fprotobuf_2fempty_2eproto,
|
&::descriptor_table_google_2fprotobuf_2fempty_2eproto,
|
||||||
@ -1573,9 +1599,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_bridge_2eproto_deps
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_bridge_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_bridge_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_bridge_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_bridge_2eproto = {
|
||||||
false, false, 9496, descriptor_table_protodef_bridge_2eproto,
|
false, false, 9734, descriptor_table_protodef_bridge_2eproto,
|
||||||
"bridge.proto",
|
"bridge.proto",
|
||||||
&descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 57,
|
&descriptor_table_bridge_2eproto_once, descriptor_table_bridge_2eproto_deps, 2, 58,
|
||||||
schemas, file_default_instances, TableStruct_bridge_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_bridge_2eproto::offsets,
|
||||||
file_level_metadata_bridge_2eproto, file_level_enum_descriptors_bridge_2eproto,
|
file_level_metadata_bridge_2eproto, file_level_enum_descriptors_bridge_2eproto,
|
||||||
file_level_service_descriptors_bridge_2eproto,
|
file_level_service_descriptors_bridge_2eproto,
|
||||||
@ -10122,6 +10148,7 @@ class MailSettingsEvent::_Internal {
|
|||||||
static const ::grpc::MailSettingsErrorEvent& error(const MailSettingsEvent* msg);
|
static const ::grpc::MailSettingsErrorEvent& error(const MailSettingsEvent* msg);
|
||||||
static const ::grpc::UseSslForSmtpFinishedEvent& usesslforsmtpfinished(const MailSettingsEvent* msg);
|
static const ::grpc::UseSslForSmtpFinishedEvent& usesslforsmtpfinished(const MailSettingsEvent* msg);
|
||||||
static const ::grpc::ChangePortsFinishedEvent& changeportsfinished(const MailSettingsEvent* msg);
|
static const ::grpc::ChangePortsFinishedEvent& changeportsfinished(const MailSettingsEvent* msg);
|
||||||
|
static const ::grpc::UseSslForImapFinishedEvent& usesslforimapfinished(const MailSettingsEvent* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::grpc::MailSettingsErrorEvent&
|
const ::grpc::MailSettingsErrorEvent&
|
||||||
@ -10136,6 +10163,10 @@ const ::grpc::ChangePortsFinishedEvent&
|
|||||||
MailSettingsEvent::_Internal::changeportsfinished(const MailSettingsEvent* msg) {
|
MailSettingsEvent::_Internal::changeportsfinished(const MailSettingsEvent* msg) {
|
||||||
return *msg->_impl_.event_.changeportsfinished_;
|
return *msg->_impl_.event_.changeportsfinished_;
|
||||||
}
|
}
|
||||||
|
const ::grpc::UseSslForImapFinishedEvent&
|
||||||
|
MailSettingsEvent::_Internal::usesslforimapfinished(const MailSettingsEvent* msg) {
|
||||||
|
return *msg->_impl_.event_.usesslforimapfinished_;
|
||||||
|
}
|
||||||
void MailSettingsEvent::set_allocated_error(::grpc::MailSettingsErrorEvent* error) {
|
void MailSettingsEvent::set_allocated_error(::grpc::MailSettingsErrorEvent* error) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
clear_event();
|
clear_event();
|
||||||
@ -10181,6 +10212,21 @@ void MailSettingsEvent::set_allocated_changeportsfinished(::grpc::ChangePortsFin
|
|||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.changePortsFinished)
|
// @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.changePortsFinished)
|
||||||
}
|
}
|
||||||
|
void MailSettingsEvent::set_allocated_usesslforimapfinished(::grpc::UseSslForImapFinishedEvent* usesslforimapfinished) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
clear_event();
|
||||||
|
if (usesslforimapfinished) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(usesslforimapfinished);
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
usesslforimapfinished = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, usesslforimapfinished, submessage_arena);
|
||||||
|
}
|
||||||
|
set_has_usesslforimapfinished();
|
||||||
|
_impl_.event_.usesslforimapfinished_ = usesslforimapfinished;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:grpc.MailSettingsEvent.useSslForImapFinished)
|
||||||
|
}
|
||||||
MailSettingsEvent::MailSettingsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
MailSettingsEvent::MailSettingsEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@ -10213,6 +10259,11 @@ MailSettingsEvent::MailSettingsEvent(const MailSettingsEvent& from)
|
|||||||
from._internal_changeportsfinished());
|
from._internal_changeportsfinished());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kUseSslForImapFinished: {
|
||||||
|
_this->_internal_mutable_usesslforimapfinished()->::grpc::UseSslForImapFinishedEvent::MergeFrom(
|
||||||
|
from._internal_usesslforimapfinished());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case EVENT_NOT_SET: {
|
case EVENT_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -10273,6 +10324,12 @@ void MailSettingsEvent::clear_event() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kUseSslForImapFinished: {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.event_.usesslforimapfinished_;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case EVENT_NOT_SET: {
|
case EVENT_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -10321,6 +10378,14 @@ const char* MailSettingsEvent::_InternalParse(const char* ptr, ::_pbi::ParseCont
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||||
|
case 4:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_usesslforimapfinished(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
default:
|
default:
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
} // switch
|
} // switch
|
||||||
@ -10371,6 +10436,13 @@ uint8_t* MailSettingsEvent::_InternalSerialize(
|
|||||||
_Internal::changeportsfinished(this).GetCachedSize(), target, stream);
|
_Internal::changeportsfinished(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||||
|
if (_internal_has_usesslforimapfinished()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(4, _Internal::usesslforimapfinished(this),
|
||||||
|
_Internal::usesslforimapfinished(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
@ -10409,6 +10481,13 @@ size_t MailSettingsEvent::ByteSizeLong() const {
|
|||||||
*_impl_.event_.changeportsfinished_);
|
*_impl_.event_.changeportsfinished_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||||
|
case kUseSslForImapFinished: {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.event_.usesslforimapfinished_);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case EVENT_NOT_SET: {
|
case EVENT_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -10447,6 +10526,11 @@ void MailSettingsEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons
|
|||||||
from._internal_changeportsfinished());
|
from._internal_changeportsfinished());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kUseSslForImapFinished: {
|
||||||
|
_this->_internal_mutable_usesslforimapfinished()->::grpc::UseSslForImapFinishedEvent::MergeFrom(
|
||||||
|
from._internal_usesslforimapfinished());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case EVENT_NOT_SET: {
|
case EVENT_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -10701,6 +10785,46 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForSmtpFinishedEvent::Ge
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
class UseSslForImapFinishedEvent::_Internal {
|
||||||
|
public:
|
||||||
|
};
|
||||||
|
|
||||||
|
UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
|
||||||
|
// @@protoc_insertion_point(arena_constructor:grpc.UseSslForImapFinishedEvent)
|
||||||
|
}
|
||||||
|
UseSslForImapFinishedEvent::UseSslForImapFinishedEvent(const UseSslForImapFinishedEvent& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
|
||||||
|
UseSslForImapFinishedEvent* const _this = this; (void)_this;
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
// @@protoc_insertion_point(copy_constructor:grpc.UseSslForImapFinishedEvent)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UseSslForImapFinishedEvent::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UseSslForImapFinishedEvent::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata UseSslForImapFinishedEvent::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
|
file_level_metadata_bridge_2eproto[43]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
class ChangePortsFinishedEvent::_Internal {
|
class ChangePortsFinishedEvent::_Internal {
|
||||||
public:
|
public:
|
||||||
};
|
};
|
||||||
@ -10736,7 +10860,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangePortsFinishedEvent::GetC
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata ChangePortsFinishedEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata ChangePortsFinishedEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[43]);
|
file_level_metadata_bridge_2eproto[44]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -11099,7 +11223,7 @@ void KeychainEvent::InternalSwap(KeychainEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata KeychainEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata KeychainEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[44]);
|
file_level_metadata_bridge_2eproto[45]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -11139,7 +11263,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeKeychainFinishedEvent::G
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata ChangeKeychainFinishedEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata ChangeKeychainFinishedEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[45]);
|
file_level_metadata_bridge_2eproto[46]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -11179,7 +11303,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*HasNoKeychainEvent::GetClassDa
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata HasNoKeychainEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata HasNoKeychainEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[46]);
|
file_level_metadata_bridge_2eproto[47]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -11219,7 +11343,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RebuildKeychainEvent::GetClass
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata RebuildKeychainEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata RebuildKeychainEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[47]);
|
file_level_metadata_bridge_2eproto[48]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -11640,7 +11764,7 @@ void MailEvent::InternalSwap(MailEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata MailEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata MailEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[48]);
|
file_level_metadata_bridge_2eproto[49]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -11843,7 +11967,7 @@ void NoActiveKeyForRecipientEvent::InternalSwap(NoActiveKeyForRecipientEvent* ot
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata NoActiveKeyForRecipientEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata NoActiveKeyForRecipientEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[49]);
|
file_level_metadata_bridge_2eproto[50]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -12046,7 +12170,7 @@ void AddressChangedEvent::InternalSwap(AddressChangedEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata AddressChangedEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata AddressChangedEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[50]);
|
file_level_metadata_bridge_2eproto[51]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -12249,7 +12373,7 @@ void AddressChangedLogoutEvent::InternalSwap(AddressChangedLogoutEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata AddressChangedLogoutEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata AddressChangedLogoutEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[51]);
|
file_level_metadata_bridge_2eproto[52]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -12289,7 +12413,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ApiCertIssueEvent::GetClassDat
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata ApiCertIssueEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata ApiCertIssueEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[52]);
|
file_level_metadata_bridge_2eproto[53]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -12652,7 +12776,7 @@ void UserEvent::InternalSwap(UserEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata UserEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata UserEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[53]);
|
file_level_metadata_bridge_2eproto[54]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -12855,7 +12979,7 @@ void ToggleSplitModeFinishedEvent::InternalSwap(ToggleSplitModeFinishedEvent* ot
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata ToggleSplitModeFinishedEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata ToggleSplitModeFinishedEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[54]);
|
file_level_metadata_bridge_2eproto[55]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -13058,7 +13182,7 @@ void UserDisconnectedEvent::InternalSwap(UserDisconnectedEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata UserDisconnectedEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata UserDisconnectedEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[55]);
|
file_level_metadata_bridge_2eproto[56]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@ -13261,7 +13385,7 @@ void UserChangedEvent::InternalSwap(UserChangedEvent* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata UserChangedEvent::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata UserChangedEvent::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
&descriptor_table_bridge_2eproto_getter, &descriptor_table_bridge_2eproto_once,
|
||||||
file_level_metadata_bridge_2eproto[56]);
|
file_level_metadata_bridge_2eproto[57]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@ -13439,6 +13563,10 @@ template<> PROTOBUF_NOINLINE ::grpc::UseSslForSmtpFinishedEvent*
|
|||||||
Arena::CreateMaybeMessage< ::grpc::UseSslForSmtpFinishedEvent >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::grpc::UseSslForSmtpFinishedEvent >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::grpc::UseSslForSmtpFinishedEvent >(arena);
|
return Arena::CreateMessageInternal< ::grpc::UseSslForSmtpFinishedEvent >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::grpc::UseSslForImapFinishedEvent*
|
||||||
|
Arena::CreateMaybeMessage< ::grpc::UseSslForImapFinishedEvent >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::grpc::UseSslForImapFinishedEvent >(arena);
|
||||||
|
}
|
||||||
template<> PROTOBUF_NOINLINE ::grpc::ChangePortsFinishedEvent*
|
template<> PROTOBUF_NOINLINE ::grpc::ChangePortsFinishedEvent*
|
||||||
Arena::CreateMaybeMessage< ::grpc::ChangePortsFinishedEvent >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::grpc::ChangePortsFinishedEvent >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::grpc::ChangePortsFinishedEvent >(arena);
|
return Arena::CreateMessageInternal< ::grpc::ChangePortsFinishedEvent >(arena);
|
||||||
|
|||||||
@ -199,6 +199,9 @@ extern UpdateSilentRestartNeededDefaultTypeInternal _UpdateSilentRestartNeeded_d
|
|||||||
class UpdateVersionChanged;
|
class UpdateVersionChanged;
|
||||||
struct UpdateVersionChangedDefaultTypeInternal;
|
struct UpdateVersionChangedDefaultTypeInternal;
|
||||||
extern UpdateVersionChangedDefaultTypeInternal _UpdateVersionChanged_default_instance_;
|
extern UpdateVersionChangedDefaultTypeInternal _UpdateVersionChanged_default_instance_;
|
||||||
|
class UseSslForImapFinishedEvent;
|
||||||
|
struct UseSslForImapFinishedEventDefaultTypeInternal;
|
||||||
|
extern UseSslForImapFinishedEventDefaultTypeInternal _UseSslForImapFinishedEvent_default_instance_;
|
||||||
class UseSslForSmtpFinishedEvent;
|
class UseSslForSmtpFinishedEvent;
|
||||||
struct UseSslForSmtpFinishedEventDefaultTypeInternal;
|
struct UseSslForSmtpFinishedEventDefaultTypeInternal;
|
||||||
extern UseSslForSmtpFinishedEventDefaultTypeInternal _UseSslForSmtpFinishedEvent_default_instance_;
|
extern UseSslForSmtpFinishedEventDefaultTypeInternal _UseSslForSmtpFinishedEvent_default_instance_;
|
||||||
@ -272,6 +275,7 @@ template<> ::grpc::UpdateManualReadyEvent* Arena::CreateMaybeMessage<::grpc::Upd
|
|||||||
template<> ::grpc::UpdateManualRestartNeededEvent* Arena::CreateMaybeMessage<::grpc::UpdateManualRestartNeededEvent>(Arena*);
|
template<> ::grpc::UpdateManualRestartNeededEvent* Arena::CreateMaybeMessage<::grpc::UpdateManualRestartNeededEvent>(Arena*);
|
||||||
template<> ::grpc::UpdateSilentRestartNeeded* Arena::CreateMaybeMessage<::grpc::UpdateSilentRestartNeeded>(Arena*);
|
template<> ::grpc::UpdateSilentRestartNeeded* Arena::CreateMaybeMessage<::grpc::UpdateSilentRestartNeeded>(Arena*);
|
||||||
template<> ::grpc::UpdateVersionChanged* Arena::CreateMaybeMessage<::grpc::UpdateVersionChanged>(Arena*);
|
template<> ::grpc::UpdateVersionChanged* Arena::CreateMaybeMessage<::grpc::UpdateVersionChanged>(Arena*);
|
||||||
|
template<> ::grpc::UseSslForImapFinishedEvent* Arena::CreateMaybeMessage<::grpc::UseSslForImapFinishedEvent>(Arena*);
|
||||||
template<> ::grpc::UseSslForSmtpFinishedEvent* Arena::CreateMaybeMessage<::grpc::UseSslForSmtpFinishedEvent>(Arena*);
|
template<> ::grpc::UseSslForSmtpFinishedEvent* Arena::CreateMaybeMessage<::grpc::UseSslForSmtpFinishedEvent>(Arena*);
|
||||||
template<> ::grpc::User* Arena::CreateMaybeMessage<::grpc::User>(Arena*);
|
template<> ::grpc::User* Arena::CreateMaybeMessage<::grpc::User>(Arena*);
|
||||||
template<> ::grpc::UserChangedEvent* Arena::CreateMaybeMessage<::grpc::UserChangedEvent>(Arena*);
|
template<> ::grpc::UserChangedEvent* Arena::CreateMaybeMessage<::grpc::UserChangedEvent>(Arena*);
|
||||||
@ -7117,6 +7121,7 @@ class MailSettingsEvent final :
|
|||||||
kError = 1,
|
kError = 1,
|
||||||
kUseSslForSmtpFinished = 2,
|
kUseSslForSmtpFinished = 2,
|
||||||
kChangePortsFinished = 3,
|
kChangePortsFinished = 3,
|
||||||
|
kUseSslForImapFinished = 4,
|
||||||
EVENT_NOT_SET = 0,
|
EVENT_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -7201,6 +7206,7 @@ class MailSettingsEvent final :
|
|||||||
kErrorFieldNumber = 1,
|
kErrorFieldNumber = 1,
|
||||||
kUseSslForSmtpFinishedFieldNumber = 2,
|
kUseSslForSmtpFinishedFieldNumber = 2,
|
||||||
kChangePortsFinishedFieldNumber = 3,
|
kChangePortsFinishedFieldNumber = 3,
|
||||||
|
kUseSslForImapFinishedFieldNumber = 4,
|
||||||
};
|
};
|
||||||
// .grpc.MailSettingsErrorEvent error = 1;
|
// .grpc.MailSettingsErrorEvent error = 1;
|
||||||
bool has_error() const;
|
bool has_error() const;
|
||||||
@ -7256,6 +7262,24 @@ class MailSettingsEvent final :
|
|||||||
::grpc::ChangePortsFinishedEvent* changeportsfinished);
|
::grpc::ChangePortsFinishedEvent* changeportsfinished);
|
||||||
::grpc::ChangePortsFinishedEvent* unsafe_arena_release_changeportsfinished();
|
::grpc::ChangePortsFinishedEvent* unsafe_arena_release_changeportsfinished();
|
||||||
|
|
||||||
|
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||||
|
bool has_usesslforimapfinished() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_usesslforimapfinished() const;
|
||||||
|
public:
|
||||||
|
void clear_usesslforimapfinished();
|
||||||
|
const ::grpc::UseSslForImapFinishedEvent& usesslforimapfinished() const;
|
||||||
|
PROTOBUF_NODISCARD ::grpc::UseSslForImapFinishedEvent* release_usesslforimapfinished();
|
||||||
|
::grpc::UseSslForImapFinishedEvent* mutable_usesslforimapfinished();
|
||||||
|
void set_allocated_usesslforimapfinished(::grpc::UseSslForImapFinishedEvent* usesslforimapfinished);
|
||||||
|
private:
|
||||||
|
const ::grpc::UseSslForImapFinishedEvent& _internal_usesslforimapfinished() const;
|
||||||
|
::grpc::UseSslForImapFinishedEvent* _internal_mutable_usesslforimapfinished();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_usesslforimapfinished(
|
||||||
|
::grpc::UseSslForImapFinishedEvent* usesslforimapfinished);
|
||||||
|
::grpc::UseSslForImapFinishedEvent* unsafe_arena_release_usesslforimapfinished();
|
||||||
|
|
||||||
void clear_event();
|
void clear_event();
|
||||||
EventCase event_case() const;
|
EventCase event_case() const;
|
||||||
// @@protoc_insertion_point(class_scope:grpc.MailSettingsEvent)
|
// @@protoc_insertion_point(class_scope:grpc.MailSettingsEvent)
|
||||||
@ -7264,6 +7288,7 @@ class MailSettingsEvent final :
|
|||||||
void set_has_error();
|
void set_has_error();
|
||||||
void set_has_usesslforsmtpfinished();
|
void set_has_usesslforsmtpfinished();
|
||||||
void set_has_changeportsfinished();
|
void set_has_changeportsfinished();
|
||||||
|
void set_has_usesslforimapfinished();
|
||||||
|
|
||||||
inline bool has_event() const;
|
inline bool has_event() const;
|
||||||
inline void clear_has_event();
|
inline void clear_has_event();
|
||||||
@ -7278,6 +7303,7 @@ class MailSettingsEvent final :
|
|||||||
::grpc::MailSettingsErrorEvent* error_;
|
::grpc::MailSettingsErrorEvent* error_;
|
||||||
::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished_;
|
::grpc::UseSslForSmtpFinishedEvent* usesslforsmtpfinished_;
|
||||||
::grpc::ChangePortsFinishedEvent* changeportsfinished_;
|
::grpc::ChangePortsFinishedEvent* changeportsfinished_;
|
||||||
|
::grpc::UseSslForImapFinishedEvent* usesslforimapfinished_;
|
||||||
} event_;
|
} event_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
uint32_t _oneof_case_[1];
|
uint32_t _oneof_case_[1];
|
||||||
@ -7554,6 +7580,124 @@ class UseSslForSmtpFinishedEvent final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class UseSslForImapFinishedEvent final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.UseSslForImapFinishedEvent) */ {
|
||||||
|
public:
|
||||||
|
inline UseSslForImapFinishedEvent() : UseSslForImapFinishedEvent(nullptr) {}
|
||||||
|
explicit PROTOBUF_CONSTEXPR UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
UseSslForImapFinishedEvent(const UseSslForImapFinishedEvent& from);
|
||||||
|
UseSslForImapFinishedEvent(UseSslForImapFinishedEvent&& from) noexcept
|
||||||
|
: UseSslForImapFinishedEvent() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline UseSslForImapFinishedEvent& operator=(const UseSslForImapFinishedEvent& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline UseSslForImapFinishedEvent& operator=(UseSslForImapFinishedEvent&& from) noexcept {
|
||||||
|
if (this == &from) return *this;
|
||||||
|
if (GetOwningArena() == from.GetOwningArena()
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
&& GetOwningArena() != nullptr
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
) {
|
||||||
|
InternalSwap(&from);
|
||||||
|
} else {
|
||||||
|
CopyFrom(from);
|
||||||
|
}
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||||
|
return GetDescriptor();
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||||
|
return default_instance().GetMetadata().descriptor;
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||||
|
return default_instance().GetMetadata().reflection;
|
||||||
|
}
|
||||||
|
static const UseSslForImapFinishedEvent& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const UseSslForImapFinishedEvent* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const UseSslForImapFinishedEvent*>(
|
||||||
|
&_UseSslForImapFinishedEvent_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
43;
|
||||||
|
|
||||||
|
friend void swap(UseSslForImapFinishedEvent& a, UseSslForImapFinishedEvent& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(UseSslForImapFinishedEvent* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() != nullptr &&
|
||||||
|
GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
InternalSwap(other);
|
||||||
|
} else {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void UnsafeArenaSwap(UseSslForImapFinishedEvent* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
UseSslForImapFinishedEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<UseSslForImapFinishedEvent>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
|
||||||
|
inline void CopyFrom(const UseSslForImapFinishedEvent& from) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
|
||||||
|
void MergeFrom(const UseSslForImapFinishedEvent& from) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
|
||||||
|
}
|
||||||
|
public:
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "grpc.UseSslForImapFinishedEvent";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit UseSslForImapFinishedEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned = false);
|
||||||
|
public:
|
||||||
|
|
||||||
|
static const ClassData _class_data_;
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:grpc.UseSslForImapFinishedEvent)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
};
|
||||||
|
friend struct ::TableStruct_bridge_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class ChangePortsFinishedEvent final :
|
class ChangePortsFinishedEvent final :
|
||||||
public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.ChangePortsFinishedEvent) */ {
|
public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:grpc.ChangePortsFinishedEvent) */ {
|
||||||
public:
|
public:
|
||||||
@ -7601,7 +7745,7 @@ class ChangePortsFinishedEvent final :
|
|||||||
&_ChangePortsFinishedEvent_default_instance_);
|
&_ChangePortsFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
43;
|
44;
|
||||||
|
|
||||||
friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) {
|
friend void swap(ChangePortsFinishedEvent& a, ChangePortsFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7727,7 +7871,7 @@ class KeychainEvent final :
|
|||||||
&_KeychainEvent_default_instance_);
|
&_KeychainEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
44;
|
45;
|
||||||
|
|
||||||
friend void swap(KeychainEvent& a, KeychainEvent& b) {
|
friend void swap(KeychainEvent& a, KeychainEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -7937,7 +8081,7 @@ class ChangeKeychainFinishedEvent final :
|
|||||||
&_ChangeKeychainFinishedEvent_default_instance_);
|
&_ChangeKeychainFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
45;
|
46;
|
||||||
|
|
||||||
friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) {
|
friend void swap(ChangeKeychainFinishedEvent& a, ChangeKeychainFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8055,7 +8199,7 @@ class HasNoKeychainEvent final :
|
|||||||
&_HasNoKeychainEvent_default_instance_);
|
&_HasNoKeychainEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
46;
|
47;
|
||||||
|
|
||||||
friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) {
|
friend void swap(HasNoKeychainEvent& a, HasNoKeychainEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8173,7 +8317,7 @@ class RebuildKeychainEvent final :
|
|||||||
&_RebuildKeychainEvent_default_instance_);
|
&_RebuildKeychainEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
47;
|
48;
|
||||||
|
|
||||||
friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) {
|
friend void swap(RebuildKeychainEvent& a, RebuildKeychainEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8300,7 +8444,7 @@ class MailEvent final :
|
|||||||
&_MailEvent_default_instance_);
|
&_MailEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
48;
|
49;
|
||||||
|
|
||||||
friend void swap(MailEvent& a, MailEvent& b) {
|
friend void swap(MailEvent& a, MailEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8532,7 +8676,7 @@ class NoActiveKeyForRecipientEvent final :
|
|||||||
&_NoActiveKeyForRecipientEvent_default_instance_);
|
&_NoActiveKeyForRecipientEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
49;
|
50;
|
||||||
|
|
||||||
friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) {
|
friend void swap(NoActiveKeyForRecipientEvent& a, NoActiveKeyForRecipientEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8685,7 +8829,7 @@ class AddressChangedEvent final :
|
|||||||
&_AddressChangedEvent_default_instance_);
|
&_AddressChangedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
50;
|
51;
|
||||||
|
|
||||||
friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) {
|
friend void swap(AddressChangedEvent& a, AddressChangedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8838,7 +8982,7 @@ class AddressChangedLogoutEvent final :
|
|||||||
&_AddressChangedLogoutEvent_default_instance_);
|
&_AddressChangedLogoutEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
51;
|
52;
|
||||||
|
|
||||||
friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) {
|
friend void swap(AddressChangedLogoutEvent& a, AddressChangedLogoutEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -8990,7 +9134,7 @@ class ApiCertIssueEvent final :
|
|||||||
&_ApiCertIssueEvent_default_instance_);
|
&_ApiCertIssueEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
52;
|
53;
|
||||||
|
|
||||||
friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) {
|
friend void swap(ApiCertIssueEvent& a, ApiCertIssueEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9116,7 +9260,7 @@ class UserEvent final :
|
|||||||
&_UserEvent_default_instance_);
|
&_UserEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
53;
|
54;
|
||||||
|
|
||||||
friend void swap(UserEvent& a, UserEvent& b) {
|
friend void swap(UserEvent& a, UserEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9327,7 +9471,7 @@ class ToggleSplitModeFinishedEvent final :
|
|||||||
&_ToggleSplitModeFinishedEvent_default_instance_);
|
&_ToggleSplitModeFinishedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
54;
|
55;
|
||||||
|
|
||||||
friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) {
|
friend void swap(ToggleSplitModeFinishedEvent& a, ToggleSplitModeFinishedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9480,7 +9624,7 @@ class UserDisconnectedEvent final :
|
|||||||
&_UserDisconnectedEvent_default_instance_);
|
&_UserDisconnectedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
55;
|
56;
|
||||||
|
|
||||||
friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) {
|
friend void swap(UserDisconnectedEvent& a, UserDisconnectedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -9633,7 +9777,7 @@ class UserChangedEvent final :
|
|||||||
&_UserChangedEvent_default_instance_);
|
&_UserChangedEvent_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
56;
|
57;
|
||||||
|
|
||||||
friend void swap(UserChangedEvent& a, UserChangedEvent& b) {
|
friend void swap(UserChangedEvent& a, UserChangedEvent& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@ -14282,6 +14426,80 @@ inline ::grpc::ChangePortsFinishedEvent* MailSettingsEvent::mutable_changeportsf
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .grpc.UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||||
|
inline bool MailSettingsEvent::_internal_has_usesslforimapfinished() const {
|
||||||
|
return event_case() == kUseSslForImapFinished;
|
||||||
|
}
|
||||||
|
inline bool MailSettingsEvent::has_usesslforimapfinished() const {
|
||||||
|
return _internal_has_usesslforimapfinished();
|
||||||
|
}
|
||||||
|
inline void MailSettingsEvent::set_has_usesslforimapfinished() {
|
||||||
|
_impl_._oneof_case_[0] = kUseSslForImapFinished;
|
||||||
|
}
|
||||||
|
inline void MailSettingsEvent::clear_usesslforimapfinished() {
|
||||||
|
if (_internal_has_usesslforimapfinished()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.event_.usesslforimapfinished_;
|
||||||
|
}
|
||||||
|
clear_has_event();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::release_usesslforimapfinished() {
|
||||||
|
// @@protoc_insertion_point(field_release:grpc.MailSettingsEvent.useSslForImapFinished)
|
||||||
|
if (_internal_has_usesslforimapfinished()) {
|
||||||
|
clear_has_event();
|
||||||
|
::grpc::UseSslForImapFinishedEvent* temp = _impl_.event_.usesslforimapfinished_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.event_.usesslforimapfinished_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::grpc::UseSslForImapFinishedEvent& MailSettingsEvent::_internal_usesslforimapfinished() const {
|
||||||
|
return _internal_has_usesslforimapfinished()
|
||||||
|
? *_impl_.event_.usesslforimapfinished_
|
||||||
|
: reinterpret_cast< ::grpc::UseSslForImapFinishedEvent&>(::grpc::_UseSslForImapFinishedEvent_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::grpc::UseSslForImapFinishedEvent& MailSettingsEvent::usesslforimapfinished() const {
|
||||||
|
// @@protoc_insertion_point(field_get:grpc.MailSettingsEvent.useSslForImapFinished)
|
||||||
|
return _internal_usesslforimapfinished();
|
||||||
|
}
|
||||||
|
inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::unsafe_arena_release_usesslforimapfinished() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:grpc.MailSettingsEvent.useSslForImapFinished)
|
||||||
|
if (_internal_has_usesslforimapfinished()) {
|
||||||
|
clear_has_event();
|
||||||
|
::grpc::UseSslForImapFinishedEvent* temp = _impl_.event_.usesslforimapfinished_;
|
||||||
|
_impl_.event_.usesslforimapfinished_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void MailSettingsEvent::unsafe_arena_set_allocated_usesslforimapfinished(::grpc::UseSslForImapFinishedEvent* usesslforimapfinished) {
|
||||||
|
clear_event();
|
||||||
|
if (usesslforimapfinished) {
|
||||||
|
set_has_usesslforimapfinished();
|
||||||
|
_impl_.event_.usesslforimapfinished_ = usesslforimapfinished;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:grpc.MailSettingsEvent.useSslForImapFinished)
|
||||||
|
}
|
||||||
|
inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::_internal_mutable_usesslforimapfinished() {
|
||||||
|
if (!_internal_has_usesslforimapfinished()) {
|
||||||
|
clear_event();
|
||||||
|
set_has_usesslforimapfinished();
|
||||||
|
_impl_.event_.usesslforimapfinished_ = CreateMaybeMessage< ::grpc::UseSslForImapFinishedEvent >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.event_.usesslforimapfinished_;
|
||||||
|
}
|
||||||
|
inline ::grpc::UseSslForImapFinishedEvent* MailSettingsEvent::mutable_usesslforimapfinished() {
|
||||||
|
::grpc::UseSslForImapFinishedEvent* _msg = _internal_mutable_usesslforimapfinished();
|
||||||
|
// @@protoc_insertion_point(field_mutable:grpc.MailSettingsEvent.useSslForImapFinished)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
|
||||||
inline bool MailSettingsEvent::has_event() const {
|
inline bool MailSettingsEvent::has_event() const {
|
||||||
return event_case() != EVENT_NOT_SET;
|
return event_case() != EVENT_NOT_SET;
|
||||||
}
|
}
|
||||||
@ -14321,6 +14539,10 @@ inline void MailSettingsErrorEvent::set_type(::grpc::MailSettingsErrorType value
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// UseSslForImapFinishedEvent
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// ChangePortsFinishedEvent
|
// ChangePortsFinishedEvent
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -15557,6 +15779,8 @@ inline void UserChangedEvent::set_allocated_userid(std::string* userid) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -80,6 +80,8 @@ service Bridge {
|
|||||||
rpc IsDoHEnabled(google.protobuf.Empty) returns (google.protobuf.BoolValue);
|
rpc IsDoHEnabled(google.protobuf.Empty) returns (google.protobuf.BoolValue);
|
||||||
rpc SetUseSslForSmtp(google.protobuf.BoolValue) returns (google.protobuf.Empty);
|
rpc SetUseSslForSmtp(google.protobuf.BoolValue) returns (google.protobuf.Empty);
|
||||||
rpc UseSslForSmtp(google.protobuf.Empty) returns (google.protobuf.BoolValue);
|
rpc UseSslForSmtp(google.protobuf.Empty) returns (google.protobuf.BoolValue);
|
||||||
|
rpc SetUseSslForImap(google.protobuf.BoolValue) returns (google.protobuf.Empty);
|
||||||
|
rpc UseSslForImap(google.protobuf.Empty) returns (google.protobuf.BoolValue);
|
||||||
rpc Hostname(google.protobuf.Empty) returns (google.protobuf.StringValue);
|
rpc Hostname(google.protobuf.Empty) returns (google.protobuf.StringValue);
|
||||||
rpc ImapPort(google.protobuf.Empty) returns (google.protobuf.Int32Value);
|
rpc ImapPort(google.protobuf.Empty) returns (google.protobuf.Int32Value);
|
||||||
rpc SmtpPort(google.protobuf.Empty) returns (google.protobuf.Int32Value);
|
rpc SmtpPort(google.protobuf.Empty) returns (google.protobuf.Int32Value);
|
||||||
@ -377,6 +379,7 @@ message MailSettingsEvent {
|
|||||||
MailSettingsErrorEvent error = 1;
|
MailSettingsErrorEvent error = 1;
|
||||||
UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2;
|
UseSslForSmtpFinishedEvent useSslForSmtpFinished = 2;
|
||||||
ChangePortsFinishedEvent changePortsFinished = 3;
|
ChangePortsFinishedEvent changePortsFinished = 3;
|
||||||
|
UseSslForImapFinishedEvent useSslForImapFinished = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -391,6 +394,8 @@ message MailSettingsErrorEvent {
|
|||||||
|
|
||||||
message UseSslForSmtpFinishedEvent {}
|
message UseSslForSmtpFinishedEvent {}
|
||||||
|
|
||||||
|
message UseSslForImapFinishedEvent {}
|
||||||
|
|
||||||
message ChangePortsFinishedEvent {}
|
message ChangePortsFinishedEvent {}
|
||||||
|
|
||||||
//**********************************************************
|
//**********************************************************
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// - protoc-gen-go-grpc v1.2.0
|
// - protoc-gen-go-grpc v1.2.0
|
||||||
// - protoc v3.21.7
|
// - protoc v3.19.4
|
||||||
// source: bridge.proto
|
// source: bridge.proto
|
||||||
|
|
||||||
package grpc
|
package grpc
|
||||||
@ -71,6 +71,8 @@ type BridgeClient interface {
|
|||||||
IsDoHEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
|
IsDoHEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
|
||||||
SetUseSslForSmtp(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
SetUseSslForSmtp(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||||
UseSslForSmtp(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
|
UseSslForSmtp(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
|
||||||
|
SetUseSslForImap(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
||||||
|
UseSslForImap(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
|
||||||
Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
|
Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
|
||||||
ImapPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
|
ImapPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
|
||||||
SmtpPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
|
SmtpPort(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error)
|
||||||
@ -478,6 +480,24 @@ func (c *bridgeClient) UseSslForSmtp(ctx context.Context, in *emptypb.Empty, opt
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *bridgeClient) SetUseSslForImap(ctx context.Context, in *wrapperspb.BoolValue, opts ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||||
|
out := new(emptypb.Empty)
|
||||||
|
err := c.cc.Invoke(ctx, "/grpc.Bridge/SetUseSslForImap", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *bridgeClient) UseSslForImap(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) {
|
||||||
|
out := new(wrapperspb.BoolValue)
|
||||||
|
err := c.cc.Invoke(ctx, "/grpc.Bridge/UseSslForImap", in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
func (c *bridgeClient) Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) {
|
func (c *bridgeClient) Hostname(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) {
|
||||||
out := new(wrapperspb.StringValue)
|
out := new(wrapperspb.StringValue)
|
||||||
err := c.cc.Invoke(ctx, "/grpc.Bridge/Hostname", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/grpc.Bridge/Hostname", in, out, opts...)
|
||||||
@ -696,6 +716,8 @@ type BridgeServer interface {
|
|||||||
IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
|
IsDoHEnabled(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
|
||||||
SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
|
SetUseSslForSmtp(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
|
||||||
UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
|
UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
|
||||||
|
SetUseSslForImap(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error)
|
||||||
|
UseSslForImap(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
|
||||||
Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
|
Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
|
||||||
ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
|
ImapPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
|
||||||
SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
|
SmtpPort(context.Context, *emptypb.Empty) (*wrapperspb.Int32Value, error)
|
||||||
@ -848,6 +870,12 @@ func (UnimplementedBridgeServer) SetUseSslForSmtp(context.Context, *wrapperspb.B
|
|||||||
func (UnimplementedBridgeServer) UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) {
|
func (UnimplementedBridgeServer) UseSslForSmtp(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method UseSslForSmtp not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method UseSslForSmtp not implemented")
|
||||||
}
|
}
|
||||||
|
func (UnimplementedBridgeServer) SetUseSslForImap(context.Context, *wrapperspb.BoolValue) (*emptypb.Empty, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method SetUseSslForImap not implemented")
|
||||||
|
}
|
||||||
|
func (UnimplementedBridgeServer) UseSslForImap(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method UseSslForImap not implemented")
|
||||||
|
}
|
||||||
func (UnimplementedBridgeServer) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) {
|
func (UnimplementedBridgeServer) Hostname(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method Hostname not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method Hostname not implemented")
|
||||||
}
|
}
|
||||||
@ -1665,6 +1693,42 @@ func _Bridge_UseSslForSmtp_Handler(srv interface{}, ctx context.Context, dec fun
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func _Bridge_SetUseSslForImap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(wrapperspb.BoolValue)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(BridgeServer).SetUseSslForImap(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/grpc.Bridge/SetUseSslForImap",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(BridgeServer).SetUseSslForImap(ctx, req.(*wrapperspb.BoolValue))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _Bridge_UseSslForImap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(emptypb.Empty)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(BridgeServer).UseSslForImap(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: "/grpc.Bridge/UseSslForImap",
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(BridgeServer).UseSslForImap(ctx, req.(*emptypb.Empty))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
func _Bridge_Hostname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _Bridge_Hostname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(emptypb.Empty)
|
in := new(emptypb.Empty)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
@ -2131,6 +2195,14 @@ var Bridge_ServiceDesc = grpc.ServiceDesc{
|
|||||||
MethodName: "UseSslForSmtp",
|
MethodName: "UseSslForSmtp",
|
||||||
Handler: _Bridge_UseSslForSmtp_Handler,
|
Handler: _Bridge_UseSslForSmtp_Handler,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
MethodName: "SetUseSslForImap",
|
||||||
|
Handler: _Bridge_SetUseSslForImap_Handler,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
MethodName: "UseSslForImap",
|
||||||
|
Handler: _Bridge_UseSslForImap_Handler,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
MethodName: "Hostname",
|
MethodName: "Hostname",
|
||||||
Handler: _Bridge_Hostname_Handler,
|
Handler: _Bridge_Hostname_Handler,
|
||||||
|
|||||||
@ -122,6 +122,10 @@ func NewMailSettingsUseSslForSmtpFinishedEvent() *StreamEvent { //nolint:revive,
|
|||||||
return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_UseSslForSmtpFinished{UseSslForSmtpFinished: &UseSslForSmtpFinishedEvent{}}})
|
return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_UseSslForSmtpFinished{UseSslForSmtpFinished: &UseSslForSmtpFinishedEvent{}}})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func NewMailSettingsUseSslForImapFinishedEvent() *StreamEvent { //nolint:revive,stylecheck
|
||||||
|
return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_UseSslForImapFinished{UseSslForImapFinished: &UseSslForImapFinishedEvent{}}})
|
||||||
|
}
|
||||||
|
|
||||||
func NewMailSettingsChangePortFinishedEvent() *StreamEvent {
|
func NewMailSettingsChangePortFinishedEvent() *StreamEvent {
|
||||||
return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_ChangePortsFinished{ChangePortsFinished: &ChangePortsFinishedEvent{}}})
|
return mailSettingsEvent(&MailSettingsEvent{Event: &MailSettingsEvent_ChangePortsFinished{ChangePortsFinished: &ChangePortsFinishedEvent{}}})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -601,6 +601,27 @@ func (s *Service) UseSslForSmtp(ctx context.Context, _ *emptypb.Empty) (*wrapper
|
|||||||
return wrapperspb.Bool(s.bridge.GetSMTPSSL()), nil
|
return wrapperspb.Bool(s.bridge.GetSMTPSSL()), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Service) SetUseSslForImap(ctx context.Context, useSsl *wrapperspb.BoolValue) (*emptypb.Empty, error) { //nolint:revive,stylecheck
|
||||||
|
s.log.WithField("useSsl", useSsl.Value).Debug("SetUseSslForImap")
|
||||||
|
|
||||||
|
if s.bridge.GetIMAPSSL() == useSsl.Value {
|
||||||
|
return &emptypb.Empty{}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := s.bridge.SetIMAPSSL(useSsl.Value); err != nil {
|
||||||
|
s.log.WithError(err).Error("Failed to set IMAP SSL")
|
||||||
|
return nil, status.Errorf(codes.Internal, "failed to set IMAP SSL: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return &emptypb.Empty{}, s.SendEvent(NewMailSettingsUseSslForImapFinishedEvent())
|
||||||
|
}
|
||||||
|
|
||||||
|
func (s *Service) UseSslForImap(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.BoolValue, error) { //nolint:revive,stylecheck
|
||||||
|
s.log.Debug("UseSslForImap")
|
||||||
|
|
||||||
|
return wrapperspb.Bool(s.bridge.GetIMAPSSL()), nil
|
||||||
|
}
|
||||||
|
|
||||||
func (s *Service) Hostname(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) {
|
func (s *Service) Hostname(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error) {
|
||||||
s.log.Debug("Hostname")
|
s.log.Debug("Hostname")
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import "github.com/sirupsen/logrus"
|
import "github.com/sirupsen/logrus"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package safe
|
package safe
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package safe
|
package safe
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package safe
|
package safe
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package safe
|
package safe
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package safe
|
package safe
|
||||||
|
|
||||||
import "sync"
|
import "sync"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package safe
|
package safe
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package try
|
package try
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package try
|
package try
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package updater
|
package updater
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package user_test
|
package user_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
func (vault *Vault) GetBridgeTLSCert() []byte {
|
func (vault *Vault) GetBridgeTLSCert() []byte {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault_test
|
package vault_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
func (vault *Vault) GetCookies() ([]byte, error) {
|
func (vault *Vault) GetCookies() ([]byte, error) {
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault_test
|
package vault_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault_test
|
package vault_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault_test
|
package vault_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault
|
package vault
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package vault_test
|
package vault_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -1,3 +1,20 @@
|
|||||||
|
// Copyright (c) 2022 Proton AG
|
||||||
|
//
|
||||||
|
// This file is part of Proton Mail Bridge.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// Proton Mail Bridge is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
package restarter
|
package restarter
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user