mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
parent
6397e2ea39
commit
3b9652ba9a
@ -81,7 +81,7 @@ class CitadelPlugin(LiveSyncPluginBase):
|
||||
|
||||
def init(self):
|
||||
super().init()
|
||||
self.connect(signals.get_search_providers, self.get_search_providers)
|
||||
self.connect(signals.core.get_search_providers, self.get_search_providers)
|
||||
self.connect(signals.plugin.cli, self._extend_indico_cli)
|
||||
|
||||
def get_search_providers(self, sender, **kwargs):
|
||||
|
||||
@ -20,6 +20,6 @@ from .simplify import SimpleChange, process_records # noqa: E402
|
||||
from .uploader import Uploader # noqa: E402
|
||||
|
||||
|
||||
@signals.import_tasks.connect
|
||||
@signals.core.import_tasks.connect
|
||||
def _import_tasks(sender, **kwargs):
|
||||
import indico_livesync.task # noqa: F401
|
||||
|
||||
@ -30,7 +30,7 @@ from indico_livesync.util import get_excluded_categories, obj_ref
|
||||
|
||||
def connect_signals(plugin):
|
||||
# request
|
||||
plugin.connect(signals.after_process, _apply_changes)
|
||||
plugin.connect(signals.core.after_process, _apply_changes)
|
||||
# moved
|
||||
plugin.connect(signals.category.moved, _moved)
|
||||
plugin.connect(signals.event.moved, _moved)
|
||||
|
||||
@ -59,7 +59,7 @@ class ManualPaymentPlugin(PaymentPluginMixin, IndicoPlugin):
|
||||
|
||||
def init(self):
|
||||
super().init()
|
||||
self.connect(signals.get_placeholders, self._get_details_placeholders, sender='manual-payment-details')
|
||||
self.connect(signals.core.get_placeholders, self._get_details_placeholders, sender='manual-payment-details')
|
||||
|
||||
def _get_details_placeholders(self, sender, regform, registration, **kwargs):
|
||||
from indico_payment_manual.placeholders import (CurrencyPlaceholder, EmailPlaceholder, EventIDPlaceholder,
|
||||
|
||||
@ -12,6 +12,6 @@ from indico.util.i18n import make_bound_gettext
|
||||
_ = make_bound_gettext('storage_s3')
|
||||
|
||||
|
||||
@signals.import_tasks.connect
|
||||
@signals.core.import_tasks.connect
|
||||
def _import_tasks(sender, **kwargs):
|
||||
import indico_storage_s3.task # noqa: F401
|
||||
|
||||
@ -61,7 +61,7 @@ class S3StoragePlugin(IndicoPlugin):
|
||||
|
||||
def init(self):
|
||||
super().init()
|
||||
self.connect(signals.get_storage_backends, self._get_storage_backends)
|
||||
self.connect(signals.core.get_storage_backends, self._get_storage_backends)
|
||||
self.connect(signals.plugin.cli, self._extend_indico_cli)
|
||||
|
||||
def _get_storage_backends(self, sender, **kwargs):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user