Commit 5b763716 authored by Philipp Hörist's avatar Philipp Hörist

Make imports GUI agnostic

parent b8548cbc
Pipeline #6825 passed with stage
in 7 seconds
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingKind from gajim.gui.const import SettingKind
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Anti Spam name: Anti Spam
short_name: anti_spam short_name: anti_spam
version: 1.5.1 version: 1.5.2
description: Block some incoming messages. description: Block some incoming messages.
authors: Yann Leboulanger <asterix@lagaule.org> authors: Yann Leboulanger <asterix@lagaule.org>
Denis Fomin <fominde@gmail.com> Denis Fomin <fominde@gmail.com>
......
...@@ -6,7 +6,7 @@ from gajim.common import app ...@@ -6,7 +6,7 @@ from gajim.common import app
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
from gajim.gtk.util import get_cursor from gajim.gui.util import get_cursor
class ClickableNicknames(GajimPlugin): class ClickableNicknames(GajimPlugin):
......
[info] [info]
name: Clickable Nicknames name: Clickable Nicknames
short_name: clickable_nicknames short_name: clickable_nicknames
version: 1.3.0 version: 1.3.1
description: Clickable nicknames in the conversation textview. description: Clickable nicknames in the conversation textview.
authors: Andrey Musikhin <melomansegfault@gmail.com> authors: Andrey Musikhin <melomansegfault@gmail.com>
Denis Fomin <fominde@gmail.com> Denis Fomin <fominde@gmail.com>
......
...@@ -20,7 +20,7 @@ from functools import partial ...@@ -20,7 +20,7 @@ from functools import partial
from gi.repository import Gtk from gi.repository import Gtk
from gajim.common import app from gajim.common import app
from gajim.gtk.util import load_icon from gajim.gui.util import load_icon
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingKind from gajim.gui.const import SettingKind
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Clients icons name: Clients icons
short_name: clients_icons short_name: clients_icons
version: 7.9.2 version: 7.9.3
description: Shows client icons in roster and in groupchats. description: Shows client icons in roster and in groupchats.
authors: Denis Fomin <fominde@gmail.com> authors: Denis Fomin <fominde@gmail.com>
Artem Klyop <art.klyop@gmail.com> Artem Klyop <art.klyop@gmail.com>
......
...@@ -22,7 +22,7 @@ from gi.repository import Gtk ...@@ -22,7 +22,7 @@ from gi.repository import Gtk
from gajim.common import app from gajim.common import app
from gajim.common.structs import OutgoingMessage from gajim.common.structs import OutgoingMessage
from gajim.gtk.dataform import DataFormWidget from gajim.gui.dataform import DataFormWidget
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Form Handler name: Form Handler
short_name: form_handler short_name: form_handler
version: 1.3.2 version: 1.3.3
description: Lets the user display and answer forms attached to messages. description: Lets the user display and answer forms attached to messages.
authors = Philipp Hoerist <philipp@hoerist.com> authors = Philipp Hoerist <philipp@hoerist.com>
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/formhandler homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/formhandler
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
from gi.repository import GObject from gi.repository import GObject
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.settings import SpinSetting from gajim.gui.settings import SpinSetting
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Latex name: Latex
short_name: latex short_name: latex
version: 1.3.1 version: 1.3.2
description: Render LaTeX markup for $$foobar$$ sourrounded LaTeX equations. description: Render LaTeX markup for $$foobar$$ sourrounded LaTeX equations.
authors: Yves Fischer <yvesf@xapek.org> authors: Yves Fischer <yvesf@xapek.org>
Yann Leboulanger <asterix@lagaule.org> Yann Leboulanger <asterix@lagaule.org>
......
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
from gi.repository import GObject from gi.repository import GObject
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.settings import SpinSetting from gajim.gui.settings import SpinSetting
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingKind from gajim.gui.const import SettingKind
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Message Length Notifier name: Message Length Notifier
short_name: length_notifier short_name: length_notifier
version: 1.3.1 version: 1.3.2
description: Highlights the chat window’s message input if a specified message length is exceeded description: Highlights the chat window’s message input if a specified message length is exceeded
authors: Mateusz Biliński <mateusz@bilinski.it> authors: Mateusz Biliński <mateusz@bilinski.it>
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/LengthNotifierPlugin homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/LengthNotifierPlugin
......
from gi.repository import GObject from gi.repository import GObject
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.settings import SpinSetting from gajim.gui.settings import SpinSetting
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Message Box Size name: Message Box Size
short_name: message_box_size short_name: message_box_size
version: 1.3.0 version: 1.3.1
description: Allows you to adjust the height of the 'New message' input field. description: Allows you to adjust the height of the 'New message' input field.
authors: Denis Fomin <fominde@gmail.com> authors: Denis Fomin <fominde@gmail.com>
Philipp Hörist <philipp@hoerist.com> Philipp Hörist <philipp@hoerist.com>
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.settings import SettingKind from gajim.gui.settings import SettingKind
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Now Listen name: Now Listen
short_name: now_listen short_name: now_listen
version: 1.3.1 version: 1.3.2
description: Allows you to paste info about the music you are playing (use by pressing Alt+N in the message input). description: Allows you to paste info about the music you are playing (use by pressing Alt+N in the message input).
authors = Denis Fomin <fominde@gmail.com> authors = Denis Fomin <fominde@gmail.com>
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/NowListenPlugin homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/NowListenPlugin
......
2.7.12 / 2020-12-06
- Adapt to Gajim changes
2.7.11 / 2020-10-19 2.7.11 / 2020-10-19
- Adapt to nbxmpp changes - Adapt to nbxmpp changes
......
...@@ -31,8 +31,8 @@ from gajim.common.const import URIType ...@@ -31,8 +31,8 @@ from gajim.common.const import URIType
from gajim.common.const import FTState from gajim.common.const import FTState
from gajim.common.filetransfer import FileTransfer from gajim.common.filetransfer import FileTransfer
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from gajim.gtk.dialogs import ConfirmationDialog from gajim.gui.dialogs import ConfirmationDialog
from omemo.backend.aes import aes_decrypt_file from omemo.backend.aes import aes_decrypt_file
......
...@@ -28,8 +28,8 @@ from gi.repository import GdkPixbuf ...@@ -28,8 +28,8 @@ from gi.repository import GdkPixbuf
from gajim.common import app from gajim.common import app
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
from gajim.plugins.helpers import get_builder from gajim.plugins.helpers import get_builder
from gajim.gtk.dialogs import ConfirmationDialog from gajim.gui.dialogs import ConfirmationDialog
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from omemo.backend.util import Trust from omemo.backend.util import Trust
from omemo.backend.util import IdentityKeyExtended from omemo.backend.util import IdentityKeyExtended
......
[info] [info]
name: OMEMO name: OMEMO
short_name: omemo short_name: omemo
version: 2.7.11 version: 2.7.12
description: OMEMO is an XMPP Extension Protocol (XEP) for secure multi-client end-to-end encryption based on Axolotl and PEP. You need to install some dependencies, detailed in the installation instructions for your system in the GitLab wiki. description: OMEMO is an XMPP Extension Protocol (XEP) for secure multi-client end-to-end encryption based on Axolotl and PEP. You need to install some dependencies, detailed in the installation instructions for your system in the GitLab wiki.
authors: Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> authors: Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de>
Daniel Gultsch <daniel@gultsch.de> Daniel Gultsch <daniel@gultsch.de>
......
...@@ -21,8 +21,8 @@ from gi.repository import Gtk ...@@ -21,8 +21,8 @@ from gi.repository import Gtk
from gajim.common import app from gajim.common import app
from gajim.gtk.dialogs import ConfirmationDialog from gajim.gui.dialogs import ConfirmationDialog
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
from openpgp.modules.util import Trust from openpgp.modules.util import Trust
......
[info] [info]
name: OpenPGP name: OpenPGP
short_name: openpgp short_name: openpgp
version: 1.3.8 version: 1.3.9
description: Experimental OpenPGP (XEP-0373) implementation. description: Experimental OpenPGP (XEP-0373) implementation.
authors: Philipp Hörist <philipp@hoerist.com> authors: Philipp Hörist <philipp@hoerist.com>
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/pgp homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/pgp
......
...@@ -29,7 +29,7 @@ from gajim.common import configpaths ...@@ -29,7 +29,7 @@ from gajim.common import configpaths
from gajim.common import helpers from gajim.common import helpers
from gajim.common.const import CSSPriority from gajim.common.const import CSSPriority
from gajim.gtk.dialogs import ErrorDialog from gajim.gui.dialogs import ErrorDialog
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: PGP name: PGP
short_name: pgp short_name: pgp
version: 1.3.4 version: 1.3.5
description: PGP encryption as per XEP-0027. description: PGP encryption as per XEP-0027.
authors: Philipp Hörist <philipp@hoerist.com> authors: Philipp Hörist <philipp@hoerist.com>
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/pgpplugin homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/pgpplugin
......
...@@ -26,9 +26,9 @@ from gajim.common import ged ...@@ -26,9 +26,9 @@ from gajim.common import ged
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
from gajim.gtk.dialogs import ErrorDialog from gajim.gui.dialogs import ErrorDialog
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from gajim.gtk.dialogs import ConfirmationCheckDialog from gajim.gui.dialogs import ConfirmationCheckDialog
from pgp.gtk.key import KeyDialog from pgp.gtk.key import KeyDialog
from pgp.gtk.config import PGPConfigDialog from pgp.gtk.config import PGPConfigDialog
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingKind from gajim.gui.const import SettingKind
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Plugin Installer name: Plugin Installer
short_name: plugin_installer short_name: plugin_installer
version: 1.3.6 version: 1.3.7
description: Install and upgrade plugins for Gajim description: Install and upgrade plugins for Gajim
authors: Denis Fomin <fominde@gmail.com> authors: Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org> Yann Leboulanger <asterix@lagaule.org>
......
...@@ -29,9 +29,9 @@ from gajim.common import app ...@@ -29,9 +29,9 @@ from gajim.common import app
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from gajim.gtk.dialogs import InformationDialog from gajim.gui.dialogs import InformationDialog
from gajim.gtk.dialogs import ConfirmationCheckDialog from gajim.gui.dialogs import ConfirmationCheckDialog
from plugin_installer.config_dialog import PluginInstallerConfigDialog from plugin_installer.config_dialog import PluginInstallerConfigDialog
from plugin_installer.widget import AvailablePage from plugin_installer.widget import AvailablePage
......
[info] [info]
name: Set Location name: Set Location
short_name: set_location short_name: set_location
version: 1.3.3 version: 1.3.4
description: Set information about your current geographical or physical location. description: Set information about your current geographical or physical location.
To be able to set your location on the built-in map, you must install gir1.2-gtkchamplain and gir1.2-gtkclutter-1.0 To be able to set your location on the built-in map, you must install gir1.2-gtkchamplain and gir1.2-gtkclutter-1.0
authors: Denis Fomin <fominde@gmail.com> authors: Denis Fomin <fominde@gmail.com>
......
...@@ -16,9 +16,9 @@ from gajim.common import ged ...@@ -16,9 +16,9 @@ from gajim.common import ged
from gajim.common import configpaths from gajim.common import configpaths
from gajim.common.helpers import sanitize_filename from gajim.common.helpers import sanitize_filename
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from gajim.gtk.dialogs import InputDialog from gajim.gui.dialogs import InputDialog
from gajim.gtk.dialogs import WarningDialog from gajim.gui.dialogs import WarningDialog
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import get_builder from gajim.plugins.helpers import get_builder
......
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
from gi.repository import GObject from gi.repository import GObject
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.settings import SpinSetting from gajim.gui.settings import SpinSetting
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Tic tac toe name: Tic tac toe
short_name: tictactoe short_name: tictactoe
version: 1.7.1 version: 1.7.2
description: Play Tic-tac-toe. description: Play Tic-tac-toe.
authors = Yann Leboulanger <asterix@lagaule.org> authors = Yann Leboulanger <asterix@lagaule.org>
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/TictactoePlugin homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/TictactoePlugin
......
...@@ -44,8 +44,8 @@ from gajim.common import app ...@@ -44,8 +44,8 @@ from gajim.common import app
from gajim.common import ged from gajim.common import ged
from gajim.common.connection_handlers_events import InformationEvent from gajim.common.connection_handlers_events import InformationEvent
from gajim.gtk.dialogs import DialogButton from gajim.gui.dialogs import DialogButton
from gajim.gtk.dialogs import ConfirmationDialog from gajim.gui.dialogs import ConfirmationDialog
from gajim.plugins import GajimPlugin from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log from gajim.plugins.helpers import log
......
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
from gi.repository import GObject from gi.repository import GObject
from gi.repository import Gtk from gi.repository import Gtk
from gajim.gtk.settings import SettingsDialog from gajim.gui.settings import SettingsDialog
from gajim.gtk.settings import SpinSetting from gajim.gui.settings import SpinSetting
from gajim.gtk.const import Setting from gajim.gui.const import Setting
from gajim.gtk.const import SettingKind from gajim.gui.const import SettingKind
from gajim.gtk.const import SettingType from gajim.gui.const import SettingType
from gajim.plugins.plugins_i18n import _ from gajim.plugins.plugins_i18n import _
......
[info] [info]
name: Url image preview name: Url image preview
short_name: url_image_preview short_name: url_image_preview
version: 2.5.5 version: 2.5.6
description: Displays a preview of image links. description: Displays a preview of image links.
authors = Denis Fomin <fominde@gmail.com> authors = Denis Fomin <fominde@gmail.com>
Yann Leboulanger <asterix@lagaule.org> Yann Leboulanger <asterix@lagaule.org>
......
...@@ -47,11 +47,11 @@ from gajim.common.helpers import write_file_async ...@@ -47,11 +47,11 @@ from gajim.common.helpers import write_file_async
from gajim.common.helpers import load_file_async from gajim.common.helpers import load_file_async
from gajim.common.helpers import get_tls_error_phrase from gajim.common.helpers import get_tls_error_phrase
from gajim.common.helpers import get_user_proxy from gajim.common.helpers import get_user_proxy
from gajim.gtk.dialogs import ErrorDialog from gajim.gui.dialogs import ErrorDialog
from gajim.gtk.filechoosers import FileSaveDialog from gajim.gui.filechoosers import FileSaveDialog
from gajim.gtk.util import get_cursor from gajim.gui.util import get_cursor
from gajim.gtk.util import get_monitor_scale_factor from gajim.gui.util import get_monitor_scale_factor