-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin_settings.py
More file actions
48 lines (36 loc) · 1.07 KB
/
plugin_settings.py
File metadata and controls
48 lines (36 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from utils import plugins
PLUGIN_NAME = 'Export Plugin'
DISPLAY_NAME = 'Export'
DESCRIPTION = 'A workflow element to export data.'
AUTHOR = 'Andy Byers'
VERSION = '1.0'
SHORT_NAME = 'export'
MANAGER_URL = 'export_manager'
JANEWAY_VERSION = "1.4.3"
IS_WORKFLOW_PLUGIN = True
JUMP_URL = 'export_article'
HANDSHAKE_URL = 'export_articles'
ARTICLE_PK_IN_HANDSHAKE_URL = True
STAGE = 'export_plugin'
KANBAN_CARD = 'export/elements/card.html'
DASHBOARD_TEMPLATE = 'export/elements/dashboard.html'
class ExportPlugin(plugins.Plugin):
plugin_name = PLUGIN_NAME
display_name = DISPLAY_NAME
description = DESCRIPTION
author = AUTHOR
short_name = SHORT_NAME
manager_url = MANAGER_URL
version = VERSION
janeway_version = JANEWAY_VERSION
is_workflow_plugin = IS_WORKFLOW_PLUGIN
stage = STAGE
handshake_url = HANDSHAKE_URL
article_pk_in_handshake_url = ARTICLE_PK_IN_HANDSHAKE_URL
export_plugin = ExportPlugin()
def install():
export_plugin.install()
def hook_registry():
export_plugin.hook_registry()
def register_for_events():
pass