aprsd 3.4.4__py3-none-any.whl → 4.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aprsd/cli_helper.py +12 -5
- aprsd/client/aprsis.py +31 -9
- aprsd/client/base.py +13 -2
- aprsd/client/drivers/aprsis.py +6 -3
- aprsd/client/drivers/fake.py +15 -20
- aprsd/client/factory.py +0 -2
- aprsd/client/fake.py +0 -2
- aprsd/client/kiss.py +17 -2
- aprsd/client/stats.py +1 -3
- aprsd/cmds/completion.py +7 -4
- aprsd/cmds/dev.py +38 -42
- aprsd/cmds/fetch_stats.py +140 -143
- aprsd/cmds/healthcheck.py +5 -3
- aprsd/cmds/list_plugins.py +140 -134
- aprsd/cmds/listen.py +13 -9
- aprsd/cmds/server.py +53 -27
- aprsd/conf/__init__.py +1 -2
- aprsd/conf/client.py +3 -4
- aprsd/conf/common.py +19 -93
- aprsd/conf/log.py +2 -4
- aprsd/conf/opts.py +5 -4
- aprsd/conf/plugin_common.py +11 -121
- aprsd/exception.py +2 -0
- aprsd/log/log.py +7 -46
- aprsd/main.py +10 -4
- aprsd/packets/__init__.py +14 -4
- aprsd/packets/core.py +57 -67
- aprsd/packets/log.py +8 -8
- aprsd/packets/packet_list.py +9 -6
- aprsd/plugin.py +22 -11
- aprsd/plugins/notify.py +1 -4
- aprsd/plugins/weather.py +10 -8
- aprsd/stats/collector.py +5 -2
- aprsd/threads/__init__.py +3 -2
- aprsd/threads/aprsd.py +12 -7
- aprsd/threads/{keep_alive.py → keepalive.py} +14 -45
- aprsd/threads/registry.py +3 -3
- aprsd/threads/rx.py +9 -6
- aprsd/threads/stats.py +2 -2
- aprsd/threads/tx.py +3 -4
- aprsd/utils/__init__.py +42 -10
- aprsd/utils/json.py +9 -4
- aprsd/utils/keepalive_collector.py +55 -0
- aprsd/utils/trace.py +0 -2
- aprsd-4.0.0.dist-info/AUTHORS +1 -0
- aprsd-4.0.0.dist-info/METADATA +293 -0
- aprsd-4.0.0.dist-info/RECORD +74 -0
- {aprsd-3.4.4.dist-info → aprsd-4.0.0.dist-info}/WHEEL +1 -1
- aprsd/cmds/admin.py +0 -57
- aprsd/cmds/webchat.py +0 -662
- aprsd/conf/plugin_email.py +0 -105
- aprsd/plugins/email.py +0 -715
- aprsd/plugins/location.py +0 -181
- aprsd/threads/log_monitor.py +0 -121
- aprsd/web/__init__.py +0 -0
- aprsd/web/admin/__init__.py +0 -0
- aprsd/web/admin/static/css/index.css +0 -84
- aprsd/web/admin/static/css/prism.css +0 -4
- aprsd/web/admin/static/css/tabs.css +0 -35
- aprsd/web/admin/static/images/Untitled.png +0 -0
- aprsd/web/admin/static/images/aprs-symbols-16-0.png +0 -0
- aprsd/web/admin/static/images/aprs-symbols-16-1.png +0 -0
- aprsd/web/admin/static/images/aprs-symbols-64-0.png +0 -0
- aprsd/web/admin/static/images/aprs-symbols-64-1.png +0 -0
- aprsd/web/admin/static/images/aprs-symbols-64-2.png +0 -0
- aprsd/web/admin/static/js/charts.js +0 -235
- aprsd/web/admin/static/js/echarts.js +0 -465
- aprsd/web/admin/static/js/logs.js +0 -26
- aprsd/web/admin/static/js/main.js +0 -231
- aprsd/web/admin/static/js/prism.js +0 -12
- aprsd/web/admin/static/js/send-message.js +0 -114
- aprsd/web/admin/static/js/tabs.js +0 -28
- aprsd/web/admin/templates/index.html +0 -196
- aprsd/web/chat/static/css/chat.css +0 -115
- aprsd/web/chat/static/css/index.css +0 -66
- aprsd/web/chat/static/css/style.css.map +0 -1
- aprsd/web/chat/static/css/tabs.css +0 -41
- aprsd/web/chat/static/css/upstream/bootstrap.min.css +0 -6
- aprsd/web/chat/static/css/upstream/font.woff2 +0 -0
- aprsd/web/chat/static/css/upstream/google-fonts.css +0 -23
- aprsd/web/chat/static/css/upstream/jquery-ui.css +0 -1311
- aprsd/web/chat/static/css/upstream/jquery.toast.css +0 -28
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/icons.woff +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/icons.woff2 +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/outline-icons.woff +0 -0
- aprsd/web/chat/static/css/upstream/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- aprsd/web/chat/static/images/Untitled.png +0 -0
- aprsd/web/chat/static/images/aprs-symbols-16-0.png +0 -0
- aprsd/web/chat/static/images/aprs-symbols-16-1.png +0 -0
- aprsd/web/chat/static/images/aprs-symbols-64-0.png +0 -0
- aprsd/web/chat/static/images/aprs-symbols-64-1.png +0 -0
- aprsd/web/chat/static/images/aprs-symbols-64-2.png +0 -0
- aprsd/web/chat/static/images/globe.svg +0 -3
- aprsd/web/chat/static/js/gps.js +0 -84
- aprsd/web/chat/static/js/main.js +0 -45
- aprsd/web/chat/static/js/send-message.js +0 -612
- aprsd/web/chat/static/js/tabs.js +0 -28
- aprsd/web/chat/static/js/upstream/bootstrap.bundle.min.js +0 -7
- aprsd/web/chat/static/js/upstream/jquery-3.7.1.min.js +0 -2
- aprsd/web/chat/static/js/upstream/jquery-ui.min.js +0 -13
- aprsd/web/chat/static/js/upstream/jquery.toast.js +0 -374
- aprsd/web/chat/static/js/upstream/semantic.min.js +0 -11
- aprsd/web/chat/static/js/upstream/socket.io.min.js +0 -7
- aprsd/web/chat/templates/index.html +0 -139
- aprsd/wsgi.py +0 -322
- aprsd-3.4.4.dist-info/AUTHORS +0 -13
- aprsd-3.4.4.dist-info/METADATA +0 -849
- aprsd-3.4.4.dist-info/RECORD +0 -134
- {aprsd-3.4.4.dist-info → aprsd-4.0.0.dist-info}/LICENSE +0 -0
- {aprsd-3.4.4.dist-info → aprsd-4.0.0.dist-info}/entry_points.txt +0 -0
- {aprsd-3.4.4.dist-info → aprsd-4.0.0.dist-info}/top_level.txt +0 -0
aprsd/conf/plugin_email.py
DELETED
@@ -1,105 +0,0 @@
|
|
1
|
-
from oslo_config import cfg
|
2
|
-
|
3
|
-
|
4
|
-
email_group = cfg.OptGroup(
|
5
|
-
name="email_plugin",
|
6
|
-
title="Options for the APRSD Email plugin",
|
7
|
-
)
|
8
|
-
|
9
|
-
email_opts = [
|
10
|
-
cfg.StrOpt(
|
11
|
-
"callsign",
|
12
|
-
help="(Required) Callsign to validate for doing email commands."
|
13
|
-
"Only this callsign can check email. This is also where the "
|
14
|
-
"email notifications for new emails will be sent.",
|
15
|
-
),
|
16
|
-
cfg.BoolOpt(
|
17
|
-
"enabled",
|
18
|
-
default=False,
|
19
|
-
help="Enable the Email plugin?",
|
20
|
-
),
|
21
|
-
cfg.BoolOpt(
|
22
|
-
"debug",
|
23
|
-
default=False,
|
24
|
-
help="Enable the Email plugin Debugging?",
|
25
|
-
),
|
26
|
-
]
|
27
|
-
|
28
|
-
email_imap_opts = [
|
29
|
-
cfg.StrOpt(
|
30
|
-
"imap_login",
|
31
|
-
help="Login username/email for IMAP server",
|
32
|
-
),
|
33
|
-
cfg.StrOpt(
|
34
|
-
"imap_password",
|
35
|
-
secret=True,
|
36
|
-
help="Login password for IMAP server",
|
37
|
-
),
|
38
|
-
cfg.HostnameOpt(
|
39
|
-
"imap_host",
|
40
|
-
help="Hostname/IP of the IMAP server",
|
41
|
-
),
|
42
|
-
cfg.PortOpt(
|
43
|
-
"imap_port",
|
44
|
-
default=993,
|
45
|
-
help="Port to use for IMAP server",
|
46
|
-
),
|
47
|
-
cfg.BoolOpt(
|
48
|
-
"imap_use_ssl",
|
49
|
-
default=True,
|
50
|
-
help="Use SSL for connection to IMAP Server",
|
51
|
-
),
|
52
|
-
]
|
53
|
-
|
54
|
-
email_smtp_opts = [
|
55
|
-
cfg.StrOpt(
|
56
|
-
"smtp_login",
|
57
|
-
help="Login username/email for SMTP server",
|
58
|
-
),
|
59
|
-
cfg.StrOpt(
|
60
|
-
"smtp_password",
|
61
|
-
secret=True,
|
62
|
-
help="Login password for SMTP server",
|
63
|
-
),
|
64
|
-
cfg.HostnameOpt(
|
65
|
-
"smtp_host",
|
66
|
-
help="Hostname/IP of the SMTP server",
|
67
|
-
),
|
68
|
-
cfg.PortOpt(
|
69
|
-
"smtp_port",
|
70
|
-
default=465,
|
71
|
-
help="Port to use for SMTP server",
|
72
|
-
),
|
73
|
-
cfg.BoolOpt(
|
74
|
-
"smtp_use_ssl",
|
75
|
-
default=True,
|
76
|
-
help="Use SSL for connection to SMTP Server",
|
77
|
-
),
|
78
|
-
]
|
79
|
-
|
80
|
-
email_shortcuts_opts = [
|
81
|
-
cfg.ListOpt(
|
82
|
-
"email_shortcuts",
|
83
|
-
help="List of email shortcuts for checking/sending email "
|
84
|
-
"For Exmaple: wb=walt@walt.com,cl=cl@cl.com\n"
|
85
|
-
"Means use 'wb' to send an email to walt@walt.com",
|
86
|
-
),
|
87
|
-
]
|
88
|
-
|
89
|
-
ALL_OPTS = (
|
90
|
-
email_opts
|
91
|
-
+ email_imap_opts
|
92
|
-
+ email_smtp_opts
|
93
|
-
+ email_shortcuts_opts
|
94
|
-
)
|
95
|
-
|
96
|
-
|
97
|
-
def register_opts(config):
|
98
|
-
config.register_group(email_group)
|
99
|
-
config.register_opts(ALL_OPTS, group=email_group)
|
100
|
-
|
101
|
-
|
102
|
-
def list_opts():
|
103
|
-
return {
|
104
|
-
email_group.name: ALL_OPTS,
|
105
|
-
}
|