refactoring: renamed sat package to libervia.backend
This commit is contained in:
parent
a15648d682
commit
d2685ba11b
63 changed files with 1293 additions and 1293 deletions
|
|
@ -19,10 +19,10 @@
|
|||
import asyncio
|
||||
import dbus
|
||||
import ast
|
||||
from sat.core.i18n import _
|
||||
from sat.tools import config
|
||||
from sat.core.log import getLogger
|
||||
from sat.core.exceptions import BridgeExceptionNoService, BridgeInitError
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools import config
|
||||
from libervia.backend.core.log import getLogger
|
||||
from libervia.backend.core.exceptions import BridgeExceptionNoService, BridgeInitError
|
||||
from dbus.mainloop.glib import DBusGMainLoop
|
||||
from .bridge_frontend import BridgeException
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ from pathlib import Path
|
|||
from twisted.spread import pb
|
||||
from twisted.internet import reactor, defer
|
||||
from twisted.internet.error import ConnectionRefusedError, ConnectError
|
||||
from sat.core import exceptions
|
||||
from sat.tools import config
|
||||
from libervia.backend.core import exceptions
|
||||
from libervia.backend.tools import config
|
||||
from sat_frontends.bridge.bridge_frontend import BridgeException
|
||||
|
||||
log = getLogger(__name__)
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from sat.core.i18n import _
|
||||
from sat.core import exceptions
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.core import exceptions
|
||||
|
||||
|
||||
def escape(arg, smart=True):
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import asyncio
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
|
||||
### logging ###
|
||||
import logging as log
|
||||
|
|
@ -37,14 +37,14 @@ from glob import iglob
|
|||
from typing import Optional, Set, Union
|
||||
from importlib import import_module
|
||||
from sat_frontends.tools.jid import JID
|
||||
from sat.tools import config
|
||||
from sat.tools.common import dynamic_import
|
||||
from sat.tools.common import uri
|
||||
from sat.tools.common import date_utils
|
||||
from sat.tools.common import utils
|
||||
from sat.tools.common import data_format
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from sat.core import exceptions
|
||||
from libervia.backend.tools import config
|
||||
from libervia.backend.tools.common import dynamic_import
|
||||
from libervia.backend.tools.common import uri
|
||||
from libervia.backend.tools.common import date_utils
|
||||
from libervia.backend.tools.common import utils
|
||||
from libervia.backend.tools.common import data_format
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.core import exceptions
|
||||
import sat_frontends.jp
|
||||
from sat_frontends.jp.loops import QuitException, get_jp_loop
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat_frontends.bridge.bridge_frontend import BridgeException
|
||||
from sat.core.log import getLogger
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.log import getLogger
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp import base
|
||||
from sat_frontends.tools import jid
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat_frontends.jp import xmlui_manager
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools.common import data_format
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
|
||||
__commands__ = ["Application"]
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ import os
|
|||
import os.path
|
||||
import asyncio
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat.tools import config
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.tools import config
|
||||
from libervia.backend.tools.common import data_format
|
||||
|
||||
|
||||
__commands__ = ["Avatar"]
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
import json
|
||||
import os
|
||||
from sat.core.i18n import _
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools.common import data_format
|
||||
from sat_frontends.jp import common
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from . import base
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@ import sys
|
|||
import tempfile
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from sat.core.i18n import _
|
||||
from sat.tools import config
|
||||
from sat.tools.common import uri
|
||||
from sat.tools.common import data_format
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools import config
|
||||
from libervia.backend.tools.common import uri
|
||||
from libervia.backend.tools.common import data_format
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from sat_frontends.jp import common
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
|
||||
__commands__ = ["Bookmarks"]
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
import json
|
||||
|
||||
__commands__ = ["Debug"]
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
from sat_frontends.jp import base
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat.core.i18n import _
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools.common import data_format
|
||||
from sat_frontends.jp import xmlui_manager
|
||||
|
||||
__commands__ = ["Encryption"]
|
||||
|
|
|
|||
|
|
@ -23,13 +23,13 @@ import sys
|
|||
|
||||
from sqlalchemy import desc
|
||||
|
||||
from sat.core.i18n import _
|
||||
from sat.core.i18n import _
|
||||
from sat.tools.common import data_format
|
||||
from sat.tools.common import data_format
|
||||
from sat.tools.common import date_utils
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools.common import data_format
|
||||
from libervia.backend.tools.common import data_format
|
||||
from libervia.backend.tools.common import date_utils
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from sat_frontends.jp import common
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
|
|
|
|||
|
|
@ -24,13 +24,13 @@ import sys
|
|||
import os
|
||||
import os.path
|
||||
import tarfile
|
||||
from sat.core.i18n import _
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools.common import data_format
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat_frontends.jp import common
|
||||
from sat_frontends.tools import jid
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from sat.tools.common import utils
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.tools.common import utils
|
||||
from urllib.parse import urlparse
|
||||
from pathlib import Path
|
||||
import tempfile
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@
|
|||
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat_frontends.jp import common
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
import codecs
|
||||
import json
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.tools.common import data_format
|
||||
|
||||
__commands__ = ["Identity"]
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
from pprint import pformat
|
||||
|
||||
from sat.core.i18n import _
|
||||
from sat.tools.common import data_format, date_utils
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.tools.common import data_format, date_utils
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from sat_frontends.jp import common
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@ import sys
|
|||
import shlex
|
||||
import asyncio
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from sat.core import exceptions
|
||||
from libervia.backend.core.i18n import _
|
||||
from libervia.backend.core import exceptions
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
|
||||
__commands__ = ["Input"]
|
||||
OPT_STDIN = "stdin"
|
||||
|
|
|
|||
|
|
@ -19,10 +19,10 @@
|
|||
|
||||
|
||||
from . import base
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.i18n import _
|
||||
from sat_frontends.jp.constants import Const as C
|
||||
from sat.tools.common.ansi import ANSI as A
|
||||
from sat.tools.common import data_format
|
||||
from libervia.backend.tools.common.ansi import ANSI as A
|
||||
from libervia.backend.tools.common import data_format
|
||||
|
||||
__commands__ = ["Invitation"]
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue