mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Rename ~IndicoPlugin.hidden => .configurable
This commit is contained in:
parent
d3340bc10f
commit
84f4bd8816
@ -77,7 +77,7 @@ class ChatPlugin(IndicoPlugin):
|
||||
|
||||
Provides an XMPP based chat for events.
|
||||
"""
|
||||
|
||||
configurable = True
|
||||
settings_form = SettingsForm
|
||||
settings_form_field_opts = {
|
||||
'server': {'placeholder': 'jabber.server.tld'},
|
||||
|
||||
@ -30,8 +30,6 @@ class ImporterPlugin(IndicoPlugin):
|
||||
Extends Indico for other plugins to import data from external sources to
|
||||
the timetable.
|
||||
"""
|
||||
|
||||
hidden = True
|
||||
category = PluginCategory.importers
|
||||
|
||||
def init(self):
|
||||
|
||||
@ -27,6 +27,6 @@ class ImporterInvenioPlugin(ImporterSourcePluginBase):
|
||||
|
||||
Adds Invenio importer to Indico timetable import sources.
|
||||
"""
|
||||
|
||||
importer_engine_classes = (InvenioImporter,)
|
||||
configurable = True
|
||||
settings_form = SettingsForm
|
||||
importer_engine_classes = (InvenioImporter,)
|
||||
|
||||
@ -51,7 +51,7 @@ class LiveSyncPlugin(IndicoPlugin):
|
||||
Provides the basic LiveSync functionality.
|
||||
Only useful if a livesync agent plugin is installed, too.
|
||||
"""
|
||||
|
||||
configurable = True
|
||||
settings_form = SettingsForm
|
||||
default_settings = {'excluded_categories': [],
|
||||
'queue_entry_ttl': 0}
|
||||
|
||||
@ -26,5 +26,4 @@ class LiveSyncDebugPlugin(LiveSyncPluginBase):
|
||||
|
||||
Provides the debug backend for LiveSync which just prints/logs changes
|
||||
"""
|
||||
|
||||
backend_classes = {'debug': LiveSyncDebugBackend}
|
||||
|
||||
@ -26,5 +26,4 @@ class InvenioLiveSyncPlugin(LiveSyncPluginBase):
|
||||
|
||||
Provides the Invenio backend for LiveSync
|
||||
"""
|
||||
|
||||
backend_classes = {'invenio': InvenioLiveSyncBackend}
|
||||
|
||||
@ -45,6 +45,7 @@ class ManualPaymentPlugin(PaymentPluginMixin, IndicoPlugin):
|
||||
who then pays manually using e.g. a wire transfer. Marking the registrant
|
||||
as paid is then done manually by a manager of the event.
|
||||
"""
|
||||
configurable = True
|
||||
settings_form = PluginSettingsForm
|
||||
event_settings_form = EventSettingsForm
|
||||
default_settings = {'method_name': 'Bank Transfer'}
|
||||
|
||||
@ -47,6 +47,7 @@ class PaypalPaymentPlugin(PaymentPluginMixin, IndicoPlugin):
|
||||
|
||||
Provides a payment method using the PayPal IPN API.
|
||||
"""
|
||||
configurable = True
|
||||
settings_form = PluginSettingsForm
|
||||
event_settings_form = EventSettingsForm
|
||||
default_settings = {'method_name': 'PayPal',
|
||||
|
||||
@ -37,6 +37,7 @@ class PiwikPlugin(IndicoPlugin):
|
||||
|
||||
Retrieves piwik statistics for conferences, meetings and contributions.
|
||||
"""
|
||||
configurable = True
|
||||
settings_form = SettingsForm
|
||||
report_script = 'index.php'
|
||||
track_script = 'piwik.php'
|
||||
|
||||
@ -30,9 +30,7 @@ class SearchPlugin(IndicoPlugin):
|
||||
|
||||
Provides a base for search engine plugins.
|
||||
"""
|
||||
|
||||
category = PluginCategory.search
|
||||
hidden = True
|
||||
_engine_plugin = None # the search engine plugin
|
||||
|
||||
def init(self):
|
||||
|
||||
@ -44,7 +44,7 @@ class InvenioSearchPlugin(SearchPluginBase):
|
||||
|
||||
Uses Invenio as Indico's search engine
|
||||
"""
|
||||
|
||||
configurable = True
|
||||
settings_form = SettingsForm
|
||||
default_settings = {
|
||||
'search_url': None,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user