Add compatibility for Gajim 1.1
This commit is contained in:
@@ -24,15 +24,19 @@ Acronyms expander plugin.
|
|||||||
:license: GPL
|
:license: GPL
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from gi.repository import Gtk
|
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log, log_calls
|
from gajim.plugins.helpers import log, log_calls
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class AcronymsExpanderPlugin(GajimPlugin):
|
class AcronymsExpanderPlugin(GajimPlugin):
|
||||||
|
|
||||||
@log_calls('AcronymsExpanderPlugin')
|
@log_calls('AcronymsExpanderPlugin')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Acronyms Expander
|
name: Acronyms Expander
|
||||||
short_name: acronyms_expander
|
short_name: acronyms_expander
|
||||||
version: 0.3
|
version: 0.4
|
||||||
description: Replaces acronyms (or other strings) with given expansions/substitutes.
|
description: Replaces acronyms (or other strings) with given expansions/substitutes.
|
||||||
authors: Mateusz Biliński <mateusz@bilinski.it>
|
authors: Mateusz Biliński <mateusz@bilinski.it>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AcronymsExpanderPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AcronymsExpanderPlugin
|
||||||
|
|||||||
@@ -32,6 +32,12 @@ from gajim.plugins import GajimPlugin
|
|||||||
from gajim.plugins.helpers import log, log_calls
|
from gajim.plugins.helpers import log, log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class AntiSpamPlugin(GajimPlugin):
|
class AntiSpamPlugin(GajimPlugin):
|
||||||
|
|
||||||
@log_calls('AntiSpamPlugin')
|
@log_calls('AntiSpamPlugin')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Anti Spam
|
name: Anti Spam
|
||||||
short_name: anti_spam
|
short_name: anti_spam
|
||||||
version: 1.4.4
|
version: 1.4.5
|
||||||
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>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Ayatana Appindicator integration
|
name: Ayatana Appindicator integration
|
||||||
short_name: appindicator_integration
|
short_name: appindicator_integration
|
||||||
version: 1.1.0
|
version: 1.1.1
|
||||||
description: This plugin integrates Gajim with the Ayatana AppIndicator. You must have gir1.2-ayatanaappindicator3-0.1 installed to enable this plugin.
|
description: This plugin integrates Gajim with the Ayatana AppIndicator. You must have gir1.2-ayatanaappindicator3-0.1 installed to enable this plugin.
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AppindicatorSupportPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AppindicatorSupportPlugin
|
||||||
authors: Denis Borenko <borenko@rambler.ru>
|
authors: Denis Borenko <borenko@rambler.ru>
|
||||||
|
|||||||
@@ -18,13 +18,19 @@ try:
|
|||||||
from gi.repository import AyatanaAppIndicator3 as appindicator
|
from gi.repository import AyatanaAppIndicator3 as appindicator
|
||||||
ERRORMSG = None
|
ERRORMSG = None
|
||||||
except (ValueError, ImportError):
|
except (ValueError, ImportError):
|
||||||
ERRORMSG = _('Please install libappindicator3')
|
ERRORMSG = 'Please install libappindicator3'
|
||||||
|
|
||||||
from gajim.common import app, ged
|
from gajim.common import app, ged
|
||||||
from gajim.common import configpaths
|
from gajim.common import configpaths
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class AppindicatorIntegrationPlugin(GajimPlugin):
|
class AppindicatorIntegrationPlugin(GajimPlugin):
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Banner Tweaks
|
name: Banner Tweaks
|
||||||
short_name: banner_tweaks
|
short_name: banner_tweaks
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
description: Allows user to tweak chat window banner appearance (eg. make it compact).
|
description: Allows user to tweak chat window banner appearance (eg. make it compact).
|
||||||
authors = Mateusz Biliński <mateusz@bilinski.it>
|
authors = Mateusz Biliński <mateusz@bilinski.it>
|
||||||
homepage = http://trac-plugins.gajim.org/wiki/BannerTweaksPlugin
|
homepage = http://trac-plugins.gajim.org/wiki/BannerTweaksPlugin
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ http://trac.gajim.org/attachment/ticket/4133/gajim-chatbanneroptions-svn10008.pa
|
|||||||
:license: GPL
|
:license: GPL
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
from gajim import message_control
|
from gajim import message_control
|
||||||
@@ -38,9 +36,16 @@ from gajim.common import app
|
|||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log, log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class BannerTweaksPlugin(GajimPlugin):
|
class BannerTweaksPlugin(GajimPlugin):
|
||||||
|
|
||||||
@log_calls('BannerTweaksPlugin')
|
@log_calls('BannerTweaksPlugin')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Birthday reminder
|
name: Birthday reminder
|
||||||
short_name: birthday_reminder
|
short_name: birthday_reminder
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
description: Reminds you if a contact of yours has birthday
|
description: Reminds you if a contact of yours has birthday
|
||||||
authors: Evgeniy Popov <evgeniypopov@gmail.com>
|
authors: Evgeniy Popov <evgeniypopov@gmail.com>
|
||||||
Philipp Hörist <philipp@hoerist.com>
|
Philipp Hörist <philipp@hoerist.com>
|
||||||
|
|||||||
@@ -11,6 +11,12 @@ from gajim.common import configpaths
|
|||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
log = logging.getLogger('gajim.plugin_system.birthday')
|
log = logging.getLogger('gajim.plugin_system.birthday')
|
||||||
|
|
||||||
TITLE = _('%s has birthday today')
|
TITLE = _('%s has birthday today')
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
import unicodedata
|
||||||
##
|
|
||||||
|
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
|
|
||||||
@@ -9,7 +8,12 @@ from gajim.common import ged
|
|||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim import gtkgui_helpers
|
from gajim import gtkgui_helpers
|
||||||
import unicodedata
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
def paragraph_direction_mark(text):
|
def paragraph_direction_mark(text):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Chatstate in roster
|
name: Chatstate in roster
|
||||||
short_name: chatstate
|
short_name: chatstate
|
||||||
version: 0.5.5
|
version: 0.5.6
|
||||||
description: Chat State Notifications in roster.
|
description: Chat State Notifications in roster.
|
||||||
Font color of the contact varies depending on the chat state.
|
Font color of the contact varies depending on the chat state.
|
||||||
The plugin does not work if you use custom font color for contacts in roster.
|
The plugin does not work if you use custom font color for contacts in roster.
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
|
|
||||||
@@ -7,6 +5,12 @@ from gajim.common import app
|
|||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class ClickableNicknames(GajimPlugin):
|
class ClickableNicknames(GajimPlugin):
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Clickable Nicknames
|
name: Clickable Nicknames
|
||||||
short_name: clickable_nicknames
|
short_name: clickable_nicknames
|
||||||
version: 0.6
|
version: 0.7
|
||||||
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>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/ClickableNicknamesPlugin
|
homepage: http://trac-plugins.gajim.org/wiki/ClickableNicknamesPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
import os
|
||||||
##
|
import logging
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GdkPixbuf
|
from gi.repository import GdkPixbuf
|
||||||
import os
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from clients_icons.clients import CLIENTS, LIBPURPLE_CLIENTS
|
from clients_icons.clients import CLIENTS, LIBPURPLE_CLIENTS
|
||||||
|
|
||||||
@@ -15,6 +13,12 @@ from gajim.common import ged
|
|||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import caps_cache
|
from gajim.common import caps_cache
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
log = logging.getLogger('gajim.plugin_system.clients_icons')
|
log = logging.getLogger('gajim.plugin_system.clients_icons')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Clients icons
|
name: Clients icons
|
||||||
short_name: clients_icons
|
short_name: clients_icons
|
||||||
version: 7.2
|
version: 7.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>
|
||||||
Thilo Molitor <thilo@eightysoft.de>
|
Thilo Molitor <thilo@eightysoft.de>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/ClientsIconsPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/ClientsIconsPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,14 +1,18 @@
|
|||||||
# -*- coding: utf-8 -*-
|
import subprocess
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
import subprocess
|
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls, log
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class FlashingKeyboard(GajimPlugin):
|
class FlashingKeyboard(GajimPlugin):
|
||||||
@log_calls('FlashingKeyboard')
|
@log_calls('FlashingKeyboard')
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Flashing Keyboard
|
name: Flashing Keyboard
|
||||||
short_name: flashing_keyboard
|
short_name: flashing_keyboard
|
||||||
version: 0.4
|
version: 0.5
|
||||||
description: Flashing keyboard led when there are unread messages.
|
description: Flashing keyboard led when there are unread messages.
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/flashingkeyboardplugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/flashingkeyboardplugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GdkPixbuf
|
from gi.repository import GdkPixbuf
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim import gtkgui_helpers
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class GuiForMe(GajimPlugin):
|
class GuiForMe(GajimPlugin):
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[info]
|
[info]
|
||||||
name: GUI For Me
|
name: GUI For Me
|
||||||
short_name: gui_for_me
|
short_name: gui_for_me
|
||||||
version: 0.4
|
version: 0.5
|
||||||
description: Adds a button for the '/me' command.
|
description: Adds a button for the '/me' command.
|
||||||
authors: BomberMan
|
authors: BomberMan
|
||||||
copper
|
copper
|
||||||
Denis Fomin <fominde@gmail.com>
|
Denis Fomin <fominde@gmail.com>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/GUIForMePlugin
|
homepage: http://trac-plugins.gajim.org/wiki/GUIForMePlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,18 +1,23 @@
|
|||||||
# -*- coding: utf-8 -*-
|
import os
|
||||||
|
|
||||||
import dbus
|
import dbus
|
||||||
import datetime as dt
|
import datetime as dt
|
||||||
|
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
import os
|
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
from gajim.common import dbus_support
|
from gajim.common import dbus_support
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls, log
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.common.pep import ACTIVITIES
|
from gajim.common.pep import ACTIVITIES
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
HAMSTAER_INTERFACE = 'org.gnome.Hamster'
|
HAMSTAER_INTERFACE = 'org.gnome.Hamster'
|
||||||
SUBACTIVITIES = []
|
SUBACTIVITIES = []
|
||||||
subactivity_ = [list(ACTIVITIES[x].keys()) for x in list(ACTIVITIES.keys())]
|
subactivity_ = [list(ACTIVITIES[x].keys()) for x in list(ACTIVITIES.keys())]
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Hamster integration
|
name: Hamster integration
|
||||||
short_name: hamster_integration
|
short_name: hamster_integration
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
description: Integration with project hamster
|
description: Integration with project hamster
|
||||||
see https://trac.gajim.org/ticket/6993
|
see https://trac.gajim.org/ticket/6993
|
||||||
and http://projecthamster.wordpress.com/about/
|
and http://projecthamster.wordpress.com/about/
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/
|
homepage: http://trac-plugins.gajim.org/wiki/
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -10,6 +10,12 @@ from gajim.plugins import GajimPlugin
|
|||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.dialogs import ErrorDialog
|
from gajim.dialogs import ErrorDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from gajim.gtk.filechoosers import FileChooserDialog
|
from gajim.gtk.filechoosers import FileChooserDialog
|
||||||
NEW_FILECHOOSER = True
|
NEW_FILECHOOSER = True
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Image
|
name: Image
|
||||||
short_name: image
|
short_name: image
|
||||||
version: 1.0
|
version: 1.1
|
||||||
description: This plugin is designed to send a small(0 - 40 kb) graphic image to your contact.
|
description: This plugin is designed to send a small(0 - 40 kb) graphic image to your contact.
|
||||||
Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI.
|
Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI.
|
||||||
Psi+ and Jabbim supported this.
|
Psi+ and Jabbim supported this.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Juick
|
name: Juick
|
||||||
short_name: Juick
|
short_name: Juick
|
||||||
version: 0.9.8
|
version: 0.9.9
|
||||||
description: Clickable Juick links , Juick nicks, preview Juick picturs.
|
description: Clickable Juick links , Juick nicks, preview Juick picturs.
|
||||||
The key combination alt + up in the textbox allow insert the number of last message (comment or topic).
|
The key combination alt + up in the textbox allow insert the number of last message (comment or topic).
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
evgen <drujebober@gmail.com>
|
evgen <drujebober@gmail.com>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/JuickPlugin
|
homepage: http://trac-plugins.gajim.org/wiki/JuickPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,25 +1,29 @@
|
|||||||
# -*- coding: utf-8 -*-
|
import re
|
||||||
|
import os
|
||||||
|
import time
|
||||||
|
import sqlite3
|
||||||
|
|
||||||
|
import nbxmpp
|
||||||
from gi.repository import Pango
|
from gi.repository import Pango
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GdkPixbuf
|
from gi.repository import GdkPixbuf
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
import re
|
|
||||||
import os
|
|
||||||
import time
|
|
||||||
import locale
|
|
||||||
import sqlite3
|
|
||||||
|
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import configpaths
|
from gajim.common import configpaths
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls, log
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
from gajim.conversation_textview import TextViewImage
|
from gajim.conversation_textview import TextViewImage
|
||||||
from gajim import gtkgui_helpers
|
from gajim import gtkgui_helpers
|
||||||
|
|
||||||
import nbxmpp
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class JuickPlugin(GajimPlugin):
|
class JuickPlugin(GajimPlugin):
|
||||||
|
|||||||
@@ -21,22 +21,29 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
from threading import Thread
|
|
||||||
import os
|
import os
|
||||||
|
import random
|
||||||
|
from tempfile import mkstemp, mkdtemp
|
||||||
|
from threading import Thread
|
||||||
|
from subprocess import Popen, PIPE
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
from gi.repository import GdkPixbuf
|
from gi.repository import GdkPixbuf
|
||||||
from gi.repository import Pango
|
from gi.repository import Pango
|
||||||
from gi.repository import GObject
|
from gi.repository import GObject
|
||||||
from tempfile import mkstemp, mkdtemp
|
|
||||||
import random
|
|
||||||
from subprocess import Popen, PIPE
|
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log, log_calls
|
from gajim.plugins.helpers import log, log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
def latex_template(code):
|
def latex_template(code):
|
||||||
return '''\\documentclass[12pt]{article}
|
return '''\\documentclass[12pt]{article}
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ authors: Yves Fischer <yvesf@xapek.org>
|
|||||||
Yann Leboulanger <asterix@lagaule.org>
|
Yann Leboulanger <asterix@lagaule.org>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/LatexPlugin
|
homepage: http://trac-plugins.gajim.org/wiki/LatexPlugin
|
||||||
min_gajim_version: 1.0.0
|
min_gajim_version: 1.0.0
|
||||||
|
max_gajim_version: 1.0.3
|
||||||
|
|||||||
@@ -24,15 +24,20 @@ Message length notifier plugin.
|
|||||||
:license: GPL
|
:license: GPL
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log, log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class LengthNotifierPlugin(GajimPlugin):
|
class LengthNotifierPlugin(GajimPlugin):
|
||||||
|
|
||||||
@log_calls('LengthNotifierPlugin')
|
@log_calls('LengthNotifierPlugin')
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Message Length Notifier
|
name: Message Length Notifier
|
||||||
short_name: length_notifier
|
short_name: length_notifier
|
||||||
version: 0.4
|
version: 0.5
|
||||||
description: Highlights message entry field in chat window when given length of message is exceeded.
|
description: Highlights message entry field in chat window when given length of message is exceeded.
|
||||||
authors = Mateusz Biliński <mateusz@bilinski.it>
|
authors = Mateusz Biliński <mateusz@bilinski.it>
|
||||||
homepage = http://trac-plugins.gajim.org/wiki/LengthNotifierPlugin
|
homepage = http://trac-plugins.gajim.org/wiki/LengthNotifierPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Message Box Size
|
name: Message Box Size
|
||||||
short_name: message_box_size
|
short_name: message_box_size
|
||||||
version: 0.4
|
version: 0.5
|
||||||
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>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/MessageBoxSizePlugin
|
homepage: http://trac-plugins.gajim.org/wiki/MessageBoxSizePlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from gajim.common import app
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class MsgBoxSizePlugin(GajimPlugin):
|
class MsgBoxSizePlugin(GajimPlugin):
|
||||||
@log_calls('MsgBoxSizePlugin')
|
@log_calls('MsgBoxSizePlugin')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Now Listen
|
name: Now Listen
|
||||||
short_name: now-listen
|
short_name: now-listen
|
||||||
version: 0.3.2
|
version: 0.3.3
|
||||||
description: Copy tune info of playing music to conversation input box at cursor position (Alt + N)
|
description: Copy tune info of playing music to conversation input box at cursor position (Alt + N)
|
||||||
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
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
import os
|
||||||
|
import logging
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
import os
|
|
||||||
import logging
|
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
@@ -11,6 +10,12 @@ from gajim.plugins.gui import GajimPluginConfigDialog
|
|||||||
|
|
||||||
from gajim.music_track_listener import MusicTrackListener
|
from gajim.music_track_listener import MusicTrackListener
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
log = logging.getLogger('gajim.plugin_system.now_listen')
|
log = logging.getLogger('gajim.plugin_system.now_listen')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,11 @@ from gajim.common import configpaths
|
|||||||
from gajim.dialogs import YesNoDialog
|
from gajim.dialogs import YesNoDialog
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
@unique
|
@unique
|
||||||
class State(IntEnum):
|
class State(IntEnum):
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Plugin Installer
|
name: Plugin Installer
|
||||||
short_name: plugin_installer
|
short_name: plugin_installer
|
||||||
version: 0.20.4
|
version: 0.20.5
|
||||||
description: Install and upgrade plugins from ftp
|
description: Install and upgrade plugins from ftp
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
Yann Leboulanger <asterix@lagaule.org>
|
Yann Leboulanger <asterix@lagaule.org>
|
||||||
Thilo Molitor <thilo@eightysoft.de>
|
Thilo Molitor <thilo@eightysoft.de>
|
||||||
Philipp Hörist <philipp@hoerist.com>
|
Philipp Hörist <philipp@hoerist.com>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/PluginInstallerPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/PluginInstallerPlugin
|
||||||
min_gajim_version: 0.16.10
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -55,6 +55,12 @@ except ImportError:
|
|||||||
from gajim.dialogs import WarningDialog, HigDialog, YesNoDialog
|
from gajim.dialogs import WarningDialog, HigDialog, YesNoDialog
|
||||||
from gajim.gtkgui_helpers import get_action
|
from gajim.gtkgui_helpers import get_action
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
log = logging.getLogger('gajim.plugin_system.plugin_installer')
|
log = logging.getLogger('gajim.plugin_system.plugin_installer')
|
||||||
|
|
||||||
PLUGINS_URL = 'https://ftp.gajim.org/plugins_1/'
|
PLUGINS_URL = 'https://ftp.gajim.org/plugins_1/'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Quick replies
|
name: Quick replies
|
||||||
short_name: quick_replies
|
short_name: quick_replies
|
||||||
version: 0.0.4
|
version: 1.0.0
|
||||||
description: Plugin for quick insert template message and add your own template messages
|
description: Plugin for quick insert template message and add your own template messages
|
||||||
authors = Evgeniy Popov <evgeniypopov@gmail.com>
|
authors = Evgeniy Popov <evgeniypopov@gmail.com>
|
||||||
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/QuickRepliesPlugin
|
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/QuickRepliesPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,13 +1,17 @@
|
|||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import GdkPixbuf
|
from gi.repository import GdkPixbuf
|
||||||
|
|
||||||
from gajim import gtkgui_helpers
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class QuickRepliesPlugin(GajimPlugin):
|
class QuickRepliesPlugin(GajimPlugin):
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Regex Filter
|
name: Regex Filter
|
||||||
short_name: regex_filter
|
short_name: regex_filter
|
||||||
version: 0.4
|
version: 0.5
|
||||||
description: Filter incoming messages using regex.
|
description: Filter incoming messages using regex.
|
||||||
authors: Yann Leboulanger <asterix@lagaule.org>
|
authors: Yann Leboulanger <asterix@lagaule.org>
|
||||||
homepage: http://trac-plugins.gajim.org/wiki/RegexFilterPlugin
|
homepage: http://trac-plugins.gajim.org/wiki/RegexFilterPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -27,13 +27,20 @@ Regex Filter plugin.
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log, log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
from gajim.command_system.framework import CommandContainer, command, doc
|
from gajim.command_system.framework import CommandContainer, command, doc
|
||||||
from gajim.command_system.implementation.hosts import *
|
from gajim.command_system.implementation.hosts import *
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class RegexFilterPlugin(GajimPlugin):
|
class RegexFilterPlugin(GajimPlugin):
|
||||||
|
|
||||||
@log_calls('RegexFilterPlugin')
|
@log_calls('RegexFilterPlugin')
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Roster Tweaks
|
name: Roster Tweaks
|
||||||
short_name: roster_tweaks
|
short_name: roster_tweaks
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
description: Allows user to tweak roster window appearance (eg. make it compact).
|
description: Allows user to tweak roster window appearance (eg. make it compact).
|
||||||
Added ability to quickly change the status message to all connected accounts.
|
Added ability to quickly change the status message to all connected accounts.
|
||||||
authors = Denis Fomin <fominde@gmail.com>
|
authors = Denis Fomin <fominde@gmail.com>
|
||||||
homepage = http://trac-plugins.gajim.org/wiki/RosterTweaksPlugin
|
homepage = http://trac-plugins.gajim.org/wiki/RosterTweaksPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from gi.repository import Pango
|
from gi.repository import Pango
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
@@ -11,6 +9,12 @@ from gajim.plugins.gui import GajimPluginConfigDialog
|
|||||||
from gajim.dialogs import ChangeActivityDialog, ChangeMoodDialog
|
from gajim.dialogs import ChangeActivityDialog, ChangeMoodDialog
|
||||||
from gajim import gtkgui_helpers
|
from gajim import gtkgui_helpers
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class RosterTweaksPlugin(GajimPlugin):
|
class RosterTweaksPlugin(GajimPlugin):
|
||||||
def init(self):
|
def init(self):
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Server Status Icons
|
name: Server Status Icons
|
||||||
short_name: server_status_icons
|
short_name: server_status_icons
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
description: Replace standard Gajim status icons with server
|
description: Replace standard Gajim status icons with server
|
||||||
specific for known XMPP server accounts (vk.com, ...)
|
specific for known XMPP server accounts (vk.com, ...)
|
||||||
authors = Denis Fomin <fominde@gmail.com>
|
authors = Denis Fomin <fominde@gmail.com>
|
||||||
Pavel Suslov
|
Pavel Suslov
|
||||||
homepage = http://trac-plugins.gajim.org/wiki/ServerStatusIconsPlugin
|
homepage = http://trac-plugins.gajim.org/wiki/ServerStatusIconsPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
##
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim import gtkgui_helpers
|
from gajim import gtkgui_helpers
|
||||||
@@ -10,6 +7,11 @@ from gajim.common import app
|
|||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class ServerStatusIconsPlugin(GajimPlugin):
|
class ServerStatusIconsPlugin(GajimPlugin):
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Set Location
|
name: Set Location
|
||||||
short_name: set_location
|
short_name: set_location
|
||||||
version: 0.7.5
|
version: 0.7.6
|
||||||
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
|
To be able to set your location on the built-in map, you must install gir1.2-gtkchamplain
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
Daniel Brötzmann <wurstsalat@posteo.de>
|
Daniel Brötzmann <wurstsalat@posteo.de>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/SetLocationPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/SetLocationPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
##
|
|
||||||
|
|
||||||
from datetime import datetime
|
|
||||||
from gi.repository import Gtk
|
|
||||||
from gi.repository import GdkPixbuf
|
|
||||||
import gi
|
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
|
import gi
|
||||||
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
@@ -19,6 +16,12 @@ from gajim.common import configpaths
|
|||||||
from gajim import gtkgui_helpers
|
from gajim import gtkgui_helpers
|
||||||
from gajim.dialogs import InputDialog, WarningDialog
|
from gajim.dialogs import InputDialog, WarningDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
log = logging.getLogger('gajim.plugin_system.set_location')
|
log = logging.getLogger('gajim.plugin_system.set_location')
|
||||||
|
|
||||||
CHAMPLAIN_AVAILABLE = True
|
CHAMPLAIN_AVAILABLE = True
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Tic tac toe
|
name: Tic tac toe
|
||||||
short_name: Tic tac toe
|
short_name: Tic tac toe
|
||||||
version: 1.5
|
version: 1.6
|
||||||
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
|
||||||
|
|||||||
@@ -49,6 +49,12 @@ from gajim.common import ged
|
|||||||
from gajim import dialogs
|
from gajim import dialogs
|
||||||
from gajim.common.connection_handlers_events import InformationEvent
|
from gajim.common.connection_handlers_events import InformationEvent
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
NS_GAMES = 'http://jabber.org/protocol/games'
|
NS_GAMES = 'http://jabber.org/protocol/games'
|
||||||
NS_GAMES_TICTACTOE = NS_GAMES + '/tictactoe'
|
NS_GAMES_TICTACTOE = NS_GAMES + '/tictactoe'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Triggers
|
name: Triggers
|
||||||
short_name: triggers
|
short_name: triggers
|
||||||
version: 0.5
|
version: 0.6
|
||||||
description: Configure Gajim's behaviour for each contact
|
description: Configure Gajim's behaviour for each contact
|
||||||
authors: Yann Leboulanger <asterix@lagaule.org>
|
authors: Yann Leboulanger <asterix@lagaule.org>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/TriggersPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/TriggersPlugin
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ from gajim.plugins import GajimPlugin
|
|||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from gajim.gtk.filechoosers import NativeFileChooserDialog, Filter
|
from gajim.gtk.filechoosers import NativeFileChooserDialog, Filter
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ from gi.repository import Gtk
|
|||||||
from gajim.options_dialog import OptionsDialog, GenericOption, SpinOption
|
from gajim.options_dialog import OptionsDialog, GenericOption, SpinOption
|
||||||
from gajim.common.const import Option, OptionType, OptionKind
|
from gajim.common.const import Option, OptionType, OptionKind
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class UrlImagePreviewConfigDialog(OptionsDialog):
|
class UrlImagePreviewConfigDialog(OptionsDialog):
|
||||||
def __init__(self, plugin, parent):
|
def __init__(self, plugin, parent):
|
||||||
|
|||||||
@@ -17,13 +17,19 @@
|
|||||||
|
|
||||||
import urllib.request as urllib2
|
import urllib.request as urllib2
|
||||||
import socket
|
import socket
|
||||||
import re
|
|
||||||
import ssl
|
import ssl
|
||||||
|
import logging
|
||||||
|
import os
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
import logging
|
|
||||||
|
|
||||||
import os
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
import certifi
|
import certifi
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Url image preview
|
name: Url image preview
|
||||||
short_name: url_image_preview
|
short_name: url_image_preview
|
||||||
version: 2.3.0
|
version: 2.3.1
|
||||||
description: Displays a preview of links to images
|
description: Displays a preview of links to images
|
||||||
authors = Denis Fomin <fominde@gmail.com>
|
authors = Denis Fomin <fominde@gmail.com>
|
||||||
Yann Leboulanger <asterix@lagaule.org>
|
Yann Leboulanger <asterix@lagaule.org>
|
||||||
|
|||||||
@@ -38,6 +38,12 @@ from url_image_preview.http_functions import get_http_head, get_http_file
|
|||||||
from url_image_preview.config_dialog import UrlImagePreviewConfigDialog
|
from url_image_preview.config_dialog import UrlImagePreviewConfigDialog
|
||||||
from url_image_preview.resize_gif import resize_gif
|
from url_image_preview.resize_gif import resize_gif
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from gajim.gtk.filechoosers import FileSaveDialog
|
from gajim.gtk.filechoosers import FileSaveDialog
|
||||||
NEW_FILECHOOSER = True
|
NEW_FILECHOOSER = True
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Whiteboard
|
name: Whiteboard
|
||||||
short_name: whiteboard
|
short_name: whiteboard
|
||||||
version: 0.8
|
version: 0.9
|
||||||
description: Shows a whiteboard in chat. python-pygoocanvas is required.
|
description: Shows a whiteboard in chat. python-pygoocanvas is required.
|
||||||
authors = Yann Leboulanger <asterix@lagaule.org>
|
authors = Yann Leboulanger <asterix@lagaule.org>
|
||||||
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/WhiteboardPlugin
|
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/WhiteboardPlugin
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ from gajim.plugins import GajimPlugin
|
|||||||
from gajim.plugins.gajimplugin import GajimPluginException
|
from gajim.plugins.gajimplugin import GajimPluginException
|
||||||
from gajim.plugins.helpers import log_calls, log
|
from gajim.plugins.helpers import log_calls, log
|
||||||
from nbxmpp import Message
|
from nbxmpp import Message
|
||||||
from gi.repository import Gtk
|
|
||||||
from gi.repository import Gio
|
from gi.repository import Gio
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
from gajim import chat_control
|
from gajim import chat_control
|
||||||
@@ -44,7 +43,12 @@ from gajim.common.jingle_content import JingleContent
|
|||||||
from gajim.common.jingle_transport import JingleTransport, TransportType
|
from gajim.common.jingle_transport import JingleTransport, TransportType
|
||||||
from gajim import dialogs
|
from gajim import dialogs
|
||||||
from .whiteboard_widget import Whiteboard, HAS_GOOCANVAS
|
from .whiteboard_widget import Whiteboard, HAS_GOOCANVAS
|
||||||
from gajim.common import caps_cache
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
NS_JINGLE_XHTML = 'urn:xmpp:tmp:jingle:apps:xhtml'
|
NS_JINGLE_XHTML = 'urn:xmpp:tmp:jingle:apps:xhtml'
|
||||||
NS_JINGLE_SXE = 'urn:xmpp:tmp:jingle:transports:sxe'
|
NS_JINGLE_SXE = 'urn:xmpp:tmp:jingle:transports:sxe'
|
||||||
|
|||||||
@@ -18,9 +18,17 @@
|
|||||||
## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
## along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
||||||
##
|
##
|
||||||
|
|
||||||
|
from nbxmpp import Node
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gi
|
import gi
|
||||||
gi.require_version('GooCanvas', '2.0')
|
gi.require_version('GooCanvas', '2.0')
|
||||||
@@ -28,7 +36,7 @@ try:
|
|||||||
HAS_GOOCANVAS = True
|
HAS_GOOCANVAS = True
|
||||||
except:
|
except:
|
||||||
HAS_GOOCANVAS = False
|
HAS_GOOCANVAS = False
|
||||||
from nbxmpp import Node
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from gajim.gtk.filechoosers import NativeFileChooserDialog, Filter
|
from gajim.gtk.filechoosers import NativeFileChooserDialog, Filter
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Wicd support
|
name: Wicd support
|
||||||
short_name: wicd_support
|
short_name: wicd_support
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
description: Support for autodetection of network status for Wicd Network Manager.
|
description: Support for autodetection of network status for Wicd Network Manager.
|
||||||
Requires wicd and python-dbus.
|
Requires wicd and python-dbus.
|
||||||
authors = Denis Fomin <fominde@gmail.com>
|
authors = Denis Fomin <fominde@gmail.com>
|
||||||
homepage = http://trac-plugins.gajim.org/wiki/WicdSupportPlugin
|
homepage = http://trac-plugins.gajim.org/wiki/WicdSupportPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
@@ -7,6 +5,11 @@ from gajim.plugins import GajimPlugin
|
|||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
from gajim.common import dbus_support
|
from gajim.common import dbus_support
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class WicdPlugin(GajimPlugin):
|
class WicdPlugin(GajimPlugin):
|
||||||
@log_calls('WicdPlugin')
|
@log_calls('WicdPlugin')
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Wrong Layout
|
name: Wrong Layout
|
||||||
short_name: Wrong Layout
|
short_name: Wrong Layout
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
description: Press alt+r to convert chars typed in wrong layout Rus<>Eng
|
description: Press alt+r to convert chars typed in wrong layout Rus<>Eng
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/WrongLayoutPlugin
|
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/WrongLayoutPlugin
|
||||||
min_gajim_version: 0.16.11
|
min_gajim_version: 1.0.0
|
||||||
@@ -1,13 +1,16 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
from gajim.common import helpers
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
|
|
||||||
from gajim.plugins import GajimPlugin
|
from gajim.plugins import GajimPlugin
|
||||||
from gajim.plugins.helpers import log_calls
|
from gajim.plugins.helpers import log_calls
|
||||||
|
|
||||||
|
# Since Gajim 1.1.0 _() has to be imported
|
||||||
|
try:
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
class WrongLayoutPlugin(GajimPlugin):
|
class WrongLayoutPlugin(GajimPlugin):
|
||||||
@log_calls('WrongLayoutPlugin')
|
@log_calls('WrongLayoutPlugin')
|
||||||
|
|||||||
Reference in New Issue
Block a user