aa-mumble-quick-connect 1.0.1__py3-none-any.whl → 1.1.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.
- aa_mumble_quick_connect/__init__.py +1 -1
- aa_mumble_quick_connect/locale/cs_CZ/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/de/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/django.pot +2 -2
- aa_mumble_quick_connect/locale/es/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/fr_FR/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/it_IT/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/ja/LC_MESSAGES/django.mo +0 -0
- aa_mumble_quick_connect/locale/ja/LC_MESSAGES/django.po +17 -16
- aa_mumble_quick_connect/locale/ko_KR/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/nl_NL/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/pl_PL/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/ru/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/sk/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/uk/LC_MESSAGES/django.po +1 -1
- aa_mumble_quick_connect/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- aa_mumble_quick_connect/locale/zh_Hans/LC_MESSAGES/django.po +10 -9
- aa_mumble_quick_connect/tests/test_access.py +4 -4
- aa_mumble_quick_connect/tests/test_auth_hooks.py +2 -2
- aa_mumble_quick_connect/tests/utils.py +70 -0
- {aa_mumble_quick_connect-1.0.1.dist-info → aa_mumble_quick_connect-1.1.0.dist-info}/METADATA +3 -4
- {aa_mumble_quick_connect-1.0.1.dist-info → aa_mumble_quick_connect-1.1.0.dist-info}/RECORD +24 -24
- {aa_mumble_quick_connect-1.0.1.dist-info → aa_mumble_quick_connect-1.1.0.dist-info}/WHEEL +1 -1
- {aa_mumble_quick_connect-1.0.1.dist-info → aa_mumble_quick_connect-1.1.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
9
|
-
"POT-Creation-Date: 2025-
|
|
9
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
10
10
|
"PO-Revision-Date: 2025-02-13 22:07+0000\n"
|
|
11
11
|
"Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
|
|
12
12
|
"Language-Team: Czech <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/cs/>\n"
|
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
9
|
-
"POT-Creation-Date: 2025-
|
|
9
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
10
10
|
"PO-Revision-Date: 2025-04-25 14:24+0000\n"
|
|
11
11
|
"Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
|
|
12
12
|
"Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/de/>\n"
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
#, fuzzy
|
|
7
7
|
msgid ""
|
|
8
8
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: AA Mumble Quick Connect 1.0
|
|
9
|
+
"Project-Id-Version: AA Mumble Quick Connect 1.1.0\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
11
|
-
"POT-Creation-Date: 2025-
|
|
11
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
9
|
-
"POT-Creation-Date: 2025-
|
|
9
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
10
10
|
"PO-Revision-Date: 2025-02-13 22:08+0000\n"
|
|
11
11
|
"Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
|
|
12
12
|
"Language-Team: Spanish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/es/>\n"
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
11
|
-
"POT-Creation-Date: 2025-
|
|
11
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
12
12
|
"PO-Revision-Date: 2025-08-03 04:24+0000\n"
|
|
13
13
|
"Last-Translator: The “Devcutter” Guy <mick162534@gmail.com>\n"
|
|
14
14
|
"Language-Team: French <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/fr/>\n"
|
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
9
|
-
"POT-Creation-Date: 2025-
|
|
9
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
10
10
|
"PO-Revision-Date: 2025-02-13 22:08+0000\n"
|
|
11
11
|
"Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
|
|
12
12
|
"Language-Team: Italian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/it/>\n"
|
|
Binary file
|
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
# This file is distributed under the same license as the PACKAGE package.
|
|
4
4
|
# Peter Pfeufer <info@ppfeufer.de>, 2025.
|
|
5
5
|
# hin0 <gabrieldaichi1201@gmail.com>, 2025.
|
|
6
|
+
# Dexsar <dexsar.paf@gmail.com>, 2025.
|
|
6
7
|
msgid ""
|
|
7
8
|
msgstr ""
|
|
8
9
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
9
10
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
10
|
-
"POT-Creation-Date: 2025-
|
|
11
|
-
"PO-Revision-Date: 2025-
|
|
12
|
-
"Last-Translator:
|
|
11
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
12
|
+
"PO-Revision-Date: 2025-11-06 08:17+0000\n"
|
|
13
|
+
"Last-Translator: Dexsar <dexsar.paf@gmail.com>\n"
|
|
13
14
|
"Language-Team: Japanese <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/ja/>\n"
|
|
14
15
|
"Language: ja\n"
|
|
15
16
|
"MIME-Version: 1.0\n"
|
|
@@ -26,7 +27,7 @@ msgstr "Mumbleショートカットボタン"
|
|
|
26
27
|
|
|
27
28
|
#: aa_mumble_quick_connect/models.py:26
|
|
28
29
|
msgid "The Mumble channel URL must start with \"mumble://\""
|
|
29
|
-
msgstr "MumbleチャンネルのURL
|
|
30
|
+
msgstr "MumbleチャンネルのURLは「mumble://」で始まる必要があります"
|
|
30
31
|
|
|
31
32
|
#: aa_mumble_quick_connect/models.py:36
|
|
32
33
|
#, python-brace-format
|
|
@@ -51,48 +52,48 @@ msgstr "セクション"
|
|
|
51
52
|
|
|
52
53
|
#: aa_mumble_quick_connect/models.py:100
|
|
53
54
|
msgid "Section the Mumble channel belongs to. (Optional)"
|
|
54
|
-
msgstr ""
|
|
55
|
+
msgstr "Mumbleチャンネルが属するセクション。(任意)"
|
|
55
56
|
|
|
56
57
|
#: aa_mumble_quick_connect/models.py:102
|
|
57
58
|
msgid "Name of the Mumble channel"
|
|
58
|
-
msgstr ""
|
|
59
|
+
msgstr "Mumbleチャンネル名"
|
|
59
60
|
|
|
60
61
|
#: aa_mumble_quick_connect/models.py:105
|
|
61
62
|
msgid "URL to the channel"
|
|
62
|
-
msgstr ""
|
|
63
|
+
msgstr "チャンネルへのURL"
|
|
63
64
|
|
|
64
65
|
#: aa_mumble_quick_connect/models.py:109
|
|
65
66
|
msgid "Disable Mumble channel URL verification"
|
|
66
|
-
msgstr ""
|
|
67
|
+
msgstr "MumbleチャンネルURL検証を無効にする"
|
|
67
68
|
|
|
68
69
|
#: aa_mumble_quick_connect/models.py:111
|
|
69
70
|
msgid "If checked, the Mumble channel URL will not be verified against what is configured for this Auth instance when saving the link. Only use this if you are sure the URL is correct and the Mumble server is controlled by this Auth instance."
|
|
70
|
-
msgstr ""
|
|
71
|
+
msgstr "チェックすると、リンク保存時にMumbleチャンネルURLが本認証インスタンスの設定内容と照合されなくなります。URLが正しく、かつMumbleサーバーが本認証インスタンスで管理されている場合にのみ使用してください。"
|
|
71
72
|
|
|
72
73
|
#: aa_mumble_quick_connect/models.py:124
|
|
73
74
|
msgid "Mumble Link"
|
|
74
|
-
msgstr ""
|
|
75
|
+
msgstr "Mumble Link"
|
|
75
76
|
|
|
76
77
|
#: aa_mumble_quick_connect/models.py:125
|
|
77
78
|
msgid "Mumble Links"
|
|
78
|
-
msgstr ""
|
|
79
|
+
msgstr "Mumble Links"
|
|
79
80
|
|
|
80
81
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/index.html:15
|
|
81
82
|
msgid "You don't have your Mumble service set up. Please go to the services page and activate the Mumble service."
|
|
82
|
-
msgstr ""
|
|
83
|
+
msgstr "Mumbleサービスが設定されていません。サービスページに移動し、Mumbleサービスを有効化してください。"
|
|
83
84
|
|
|
84
85
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/index.html:20
|
|
85
86
|
msgid "Mumble service is not installed!"
|
|
86
|
-
msgstr ""
|
|
87
|
+
msgstr "Mumbleサービスがインストールされていません!"
|
|
87
88
|
|
|
88
89
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/partials/channels-without-sections.html:10
|
|
89
90
|
msgid "Uncategorized"
|
|
90
|
-
msgstr ""
|
|
91
|
+
msgstr "未分類"
|
|
91
92
|
|
|
92
93
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/partials/footer/app-translation-footer.html:5
|
|
93
94
|
msgid "Do you want to help translate this app into your language or improve the existing translation?"
|
|
94
|
-
msgstr ""
|
|
95
|
+
msgstr "このアプリをあなたの言語に翻訳するお手伝いをしたり、既存の翻訳を改善したりしませんか?"
|
|
95
96
|
|
|
96
97
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/partials/footer/app-translation-footer.html:8
|
|
97
98
|
msgid "Join our team of translators!"
|
|
98
|
-
msgstr ""
|
|
99
|
+
msgstr "翻訳者チームに参加しましょう!"
|
|
@@ -7,7 +7,7 @@ msgid ""
|
|
|
7
7
|
msgstr ""
|
|
8
8
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
9
9
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
10
|
-
"POT-Creation-Date: 2025-
|
|
10
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
11
11
|
"PO-Revision-Date: 2025-10-25 13:38+0000\n"
|
|
12
12
|
"Last-Translator: SiO4 <hohoit0078@gmail.com>\n"
|
|
13
13
|
"Language-Team: Korean <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/ko/>\n"
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
11
|
-
"POT-Creation-Date: 2025-
|
|
11
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
9
|
-
"POT-Creation-Date: 2025-
|
|
9
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
10
10
|
"PO-Revision-Date: 2025-02-13 22:08+0000\n"
|
|
11
11
|
"Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
|
|
12
12
|
"Language-Team: Polish <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/pl/>\n"
|
|
@@ -7,7 +7,7 @@ msgid ""
|
|
|
7
7
|
msgstr ""
|
|
8
8
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
9
9
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
10
|
-
"POT-Creation-Date: 2025-
|
|
10
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
11
11
|
"PO-Revision-Date: 2025-11-04 09:17+0000\n"
|
|
12
12
|
"Last-Translator: Zbayet <lorilorinori@gmail.com>\n"
|
|
13
13
|
"Language-Team: Russian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/ru/>\n"
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
11
|
-
"POT-Creation-Date: 2025-
|
|
11
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
11
|
-
"POT-Creation-Date: 2025-
|
|
11
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
12
12
|
"PO-Revision-Date: 2025-04-10 07:05+0000\n"
|
|
13
13
|
"Last-Translator: s0k0l -_- <salarysalo@gmail.com>\n"
|
|
14
14
|
"Language-Team: Ukrainian <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/uk/>\n"
|
|
Binary file
|
|
@@ -2,35 +2,36 @@
|
|
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|
3
3
|
# This file is distributed under the same license as the PACKAGE package.
|
|
4
4
|
# Peter Pfeufer <info@ppfeufer.de>, 2025.
|
|
5
|
+
# AKA Patrick <hsc844766246@gmail.com>, 2025.
|
|
5
6
|
msgid ""
|
|
6
7
|
msgstr ""
|
|
7
8
|
"Project-Id-Version: AA Mumble Quick Connect 0.0.1\n"
|
|
8
9
|
"Report-Msgid-Bugs-To: https://github.com/ppfeufer/aa-mumble-quick-connect/issues\n"
|
|
9
|
-
"POT-Creation-Date: 2025-
|
|
10
|
-
"PO-Revision-Date: 2025-
|
|
11
|
-
"Last-Translator:
|
|
10
|
+
"POT-Creation-Date: 2025-12-02 07:37+0100\n"
|
|
11
|
+
"PO-Revision-Date: 2025-11-15 16:52+0000\n"
|
|
12
|
+
"Last-Translator: AKA Patrick <hsc844766246@gmail.com>\n"
|
|
12
13
|
"Language-Team: Chinese (Simplified Han script) <https://weblate.ppfeufer.de/projects/alliance-auth-apps/aa-mumble-quick-connect/zh_Hans/>\n"
|
|
13
14
|
"Language: zh_Hans\n"
|
|
14
15
|
"MIME-Version: 1.0\n"
|
|
15
16
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
16
17
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
18
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
-
"X-Generator: Weblate 5.
|
|
19
|
+
"X-Generator: Weblate 5.14.3\n"
|
|
19
20
|
|
|
20
21
|
#: aa_mumble_quick_connect/__init__.py:10
|
|
21
22
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/base.html:6
|
|
22
23
|
#: aa_mumble_quick_connect/templates/aa_mumble_quick_connect/base.html:10
|
|
23
24
|
msgid "Mumble Quick Connect"
|
|
24
|
-
msgstr ""
|
|
25
|
+
msgstr "Mumble快速连接"
|
|
25
26
|
|
|
26
27
|
#: aa_mumble_quick_connect/models.py:26
|
|
27
28
|
msgid "The Mumble channel URL must start with \"mumble://\""
|
|
28
|
-
msgstr ""
|
|
29
|
+
msgstr "Mumble地址(必须是mumble://开头)"
|
|
29
30
|
|
|
30
31
|
#: aa_mumble_quick_connect/models.py:36
|
|
31
32
|
#, python-brace-format
|
|
32
33
|
msgid "The Mumble channel URL must start with \"{mumble_base_url}\""
|
|
33
|
-
msgstr ""
|
|
34
|
+
msgstr "Mumble频道地址(必须是{mumble_base_url}开头)"
|
|
34
35
|
|
|
35
36
|
#: aa_mumble_quick_connect/models.py:56
|
|
36
37
|
msgid "Can access this app"
|
|
@@ -42,11 +43,11 @@ msgstr ""
|
|
|
42
43
|
|
|
43
44
|
#: aa_mumble_quick_connect/models.py:74 aa_mumble_quick_connect/models.py:97
|
|
44
45
|
msgid "Section"
|
|
45
|
-
msgstr ""
|
|
46
|
+
msgstr "选项"
|
|
46
47
|
|
|
47
48
|
#: aa_mumble_quick_connect/models.py:75
|
|
48
49
|
msgid "Sections"
|
|
49
|
-
msgstr ""
|
|
50
|
+
msgstr "选项"
|
|
50
51
|
|
|
51
52
|
#: aa_mumble_quick_connect/models.py:100
|
|
52
53
|
msgid "Section the Mumble channel belongs to. (Optional)"
|
|
@@ -9,11 +9,11 @@ from http import HTTPStatus
|
|
|
9
9
|
from django.test import TestCase, modify_settings
|
|
10
10
|
from django.urls import reverse
|
|
11
11
|
|
|
12
|
-
# Alliance Auth (External Libs)
|
|
13
|
-
from app_utils.testing import create_fake_user
|
|
14
|
-
|
|
15
12
|
# AA Mumble Quick Connect
|
|
16
|
-
from aa_mumble_quick_connect.tests.utils import
|
|
13
|
+
from aa_mumble_quick_connect.tests.utils import (
|
|
14
|
+
create_fake_user,
|
|
15
|
+
response_content_to_str,
|
|
16
|
+
)
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class TestAccess(TestCase):
|
|
@@ -9,8 +9,8 @@ from http import HTTPStatus
|
|
|
9
9
|
from django.test import TestCase, modify_settings
|
|
10
10
|
from django.urls import reverse
|
|
11
11
|
|
|
12
|
-
#
|
|
13
|
-
from
|
|
12
|
+
# AA Mumble Quick Connect
|
|
13
|
+
from aa_mumble_quick_connect.tests.utils import create_fake_user
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class TestHooks(TestCase):
|
|
@@ -2,10 +2,17 @@
|
|
|
2
2
|
Helper for our tests
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
# Standard Library
|
|
6
|
+
import re
|
|
7
|
+
|
|
5
8
|
# Django
|
|
9
|
+
from django.contrib.auth.models import User
|
|
6
10
|
from django.core.handlers.wsgi import WSGIRequest
|
|
7
11
|
from django.template import Context, Template
|
|
8
12
|
|
|
13
|
+
# Alliance Auth
|
|
14
|
+
from allianceauth.tests.auth_utils import AuthUtils
|
|
15
|
+
|
|
9
16
|
|
|
10
17
|
def render_template(string, context=None):
|
|
11
18
|
"""
|
|
@@ -32,3 +39,66 @@ def response_content_to_str(response: WSGIRequest) -> str:
|
|
|
32
39
|
"""
|
|
33
40
|
|
|
34
41
|
return response.content.decode(response.charset)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def create_fake_user(
|
|
45
|
+
character_id: int,
|
|
46
|
+
character_name: str,
|
|
47
|
+
corporation_id: int = None,
|
|
48
|
+
corporation_name: str = None,
|
|
49
|
+
corporation_ticker: str = None,
|
|
50
|
+
permissions: list[str] = None,
|
|
51
|
+
**kwargs,
|
|
52
|
+
) -> User:
|
|
53
|
+
"""
|
|
54
|
+
Create a fake user with a given character name and id.
|
|
55
|
+
|
|
56
|
+
:param character_id:
|
|
57
|
+
:type character_id:
|
|
58
|
+
:param character_name:
|
|
59
|
+
:type character_name:
|
|
60
|
+
:param corporation_id:
|
|
61
|
+
:type corporation_id:
|
|
62
|
+
:param corporation_name:
|
|
63
|
+
:type corporation_name:
|
|
64
|
+
:param corporation_ticker:
|
|
65
|
+
:type corporation_ticker:
|
|
66
|
+
:param permissions:
|
|
67
|
+
:type permissions:
|
|
68
|
+
:param kwargs:
|
|
69
|
+
:type kwargs:
|
|
70
|
+
:return:
|
|
71
|
+
:rtype:
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
username = re.sub(pattern=r"[^\w\d@\.\+-]", repl="_", string=character_name)
|
|
75
|
+
user = AuthUtils.create_user(username=username)
|
|
76
|
+
|
|
77
|
+
if not corporation_id:
|
|
78
|
+
corporation_id = 2001
|
|
79
|
+
corporation_name = "Wayne Technologies Inc."
|
|
80
|
+
corporation_ticker = "WTE"
|
|
81
|
+
|
|
82
|
+
alliance_id = kwargs.get("alliance_id", 3001)
|
|
83
|
+
alliance_name = (
|
|
84
|
+
kwargs.get("alliance_name", "Wayne Enterprises")
|
|
85
|
+
if alliance_id is not None
|
|
86
|
+
else ""
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
AuthUtils.add_main_character_2(
|
|
90
|
+
user=user,
|
|
91
|
+
name=character_name,
|
|
92
|
+
character_id=character_id,
|
|
93
|
+
corp_id=corporation_id,
|
|
94
|
+
corp_name=corporation_name,
|
|
95
|
+
corp_ticker=corporation_ticker,
|
|
96
|
+
alliance_id=alliance_id,
|
|
97
|
+
alliance_name=alliance_name,
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
if permissions:
|
|
101
|
+
perm_objs = [AuthUtils.get_permission_by_name(perm) for perm in permissions]
|
|
102
|
+
user = AuthUtils.add_permissions_to_user(perms=perm_objs, user=user)
|
|
103
|
+
|
|
104
|
+
return user
|
{aa_mumble_quick_connect-1.0.1.dist-info → aa_mumble_quick_connect-1.1.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aa-mumble-quick-connect
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Quick connect links to your Mumble server channels
|
|
5
5
|
Project-URL: Changelog, https://github.com/ppfeufer/aa-mumble-quick-connect/blob/master/CHANGELOG.md
|
|
6
6
|
Project-URL: Codecov, https://codecov.io/gh/ppfeufer/aa-mumble-quick-connect
|
|
@@ -702,7 +702,6 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
702
702
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
703
703
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
704
704
|
Requires-Python: <3.14,>=3.10
|
|
705
|
-
Requires-Dist: allianceauth-app-utils>=1.19.1
|
|
706
705
|
Requires-Dist: allianceauth<5,>=4.10
|
|
707
706
|
Provides-Extra: tests-allianceauth-latest
|
|
708
707
|
Requires-Dist: coverage; extra == 'tests-allianceauth-latest'
|
|
@@ -772,7 +771,7 @@ ______________________________________________________________________
|
|
|
772
771
|
Install the app using pip:
|
|
773
772
|
|
|
774
773
|
```shell
|
|
775
|
-
pip install aa-mumble-quick-connect==1.0
|
|
774
|
+
pip install aa-mumble-quick-connect==1.1.0
|
|
776
775
|
```
|
|
777
776
|
|
|
778
777
|
#### Step 2: Update Your AA Settings<a name="step-2-update-your-aa-settings"></a>
|
|
@@ -801,7 +800,7 @@ python manage.py collectstatic --noinput
|
|
|
801
800
|
Add the app to your `conf/requirements.txt`:
|
|
802
801
|
|
|
803
802
|
```text
|
|
804
|
-
aa-mumble-quick-connect==1.0
|
|
803
|
+
aa-mumble-quick-connect==1.1.0
|
|
805
804
|
```
|
|
806
805
|
|
|
807
806
|
#### Step 2: Update Your AA Settings<a name="step-2-update-your-aa-settings-1"></a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aa_mumble_quick_connect/__init__.py,sha256=
|
|
1
|
+
aa_mumble_quick_connect/__init__.py,sha256=d0-YGHtO6XcIeqfFUgU2Ptdp9k_rtPkYHrO5ROoZejw,199
|
|
2
2
|
aa_mumble_quick_connect/admin.py,sha256=-E1_6HVosf1VeDGWTeMKCO18NBXh9E-3rP2TGhpb-aQ,524
|
|
3
3
|
aa_mumble_quick_connect/apps.py,sha256=5YGJORar_kr_PFsvVOBsaM2tA0O2ps1UFbM3xJcuumE,494
|
|
4
4
|
aa_mumble_quick_connect/auth_hooks.py,sha256=3Mn5Cb8SzmVlJBdAPCHTv2gDRzME9PtD0aDEyu4xAaI,1525
|
|
@@ -6,31 +6,31 @@ aa_mumble_quick_connect/dependency_checks.py,sha256=N_-ssY1CW0_KnOQ6XkLdzuxa7MlB
|
|
|
6
6
|
aa_mumble_quick_connect/models.py,sha256=DH3UjYgLFjE2DTbESnHneXZMGagiF8NOITOCeUvlmwI,3681
|
|
7
7
|
aa_mumble_quick_connect/urls.py,sha256=VUQOGrzX4KfjQcfXM6Rfb3ACBUhDcBLNscTf2vZq0P8,336
|
|
8
8
|
aa_mumble_quick_connect/views.py,sha256=Oe2SA2SD2JZTcYuYRy0e-HjqQppe9Kg3KdxrUw4ZutE,1347
|
|
9
|
-
aa_mumble_quick_connect/locale/django.pot,sha256=
|
|
9
|
+
aa_mumble_quick_connect/locale/django.pot,sha256=53Vsd28eX7Yc58mY6yT-2HOxn5G6TjET-0sm2NR9jb8,3149
|
|
10
10
|
aa_mumble_quick_connect/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=8bbLnti-G_cMZXa-Z5hW_4nGdzFQoY_OX46-y6lkZNw,941
|
|
11
|
-
aa_mumble_quick_connect/locale/cs_CZ/LC_MESSAGES/django.po,sha256=
|
|
11
|
+
aa_mumble_quick_connect/locale/cs_CZ/LC_MESSAGES/django.po,sha256=s3Q81KH65hPbkA6Ar1Jyk8rHIxiikI3L61PpDBzm3CA,3525
|
|
12
12
|
aa_mumble_quick_connect/locale/de/LC_MESSAGES/django.mo,sha256=YufQJ4dn5YSn1jil2bqguwsYCjKlbSGMp8c1tc6SlCY,2733
|
|
13
|
-
aa_mumble_quick_connect/locale/de/LC_MESSAGES/django.po,sha256=
|
|
13
|
+
aa_mumble_quick_connect/locale/de/LC_MESSAGES/django.po,sha256=yby-F3fluAVg1Na3VV6tUIEdE7X33yIk4ID8RhLpwFY,4226
|
|
14
14
|
aa_mumble_quick_connect/locale/es/LC_MESSAGES/django.mo,sha256=xMiCK1jIKTrfLI5F6BfvwnpCSkRdCvofQhlKZSzQHjw,859
|
|
15
|
-
aa_mumble_quick_connect/locale/es/LC_MESSAGES/django.po,sha256=
|
|
15
|
+
aa_mumble_quick_connect/locale/es/LC_MESSAGES/django.po,sha256=nWRkulmMh4uTATx0uadYiUw_YlfhqQOQEMSAY79F7-U,3438
|
|
16
16
|
aa_mumble_quick_connect/locale/fr_FR/LC_MESSAGES/django.mo,sha256=N6I3BeG792xzgAGHwvxDYIJVMwZWLefvImNDhQPV9Dc,1672
|
|
17
|
-
aa_mumble_quick_connect/locale/fr_FR/LC_MESSAGES/django.po,sha256=
|
|
17
|
+
aa_mumble_quick_connect/locale/fr_FR/LC_MESSAGES/django.po,sha256=Q4JhZ3BzhoIALL78zahnZCNY1DK7-WQPe0-tAFgjLsM,3903
|
|
18
18
|
aa_mumble_quick_connect/locale/it_IT/LC_MESSAGES/django.mo,sha256=Vh2mBOjclawqzzOhX-kc-daTxpxxmMRhw7x1MGQSm2E,570
|
|
19
|
-
aa_mumble_quick_connect/locale/it_IT/LC_MESSAGES/django.po,sha256=
|
|
20
|
-
aa_mumble_quick_connect/locale/ja/LC_MESSAGES/django.mo,sha256=
|
|
21
|
-
aa_mumble_quick_connect/locale/ja/LC_MESSAGES/django.po,sha256=
|
|
19
|
+
aa_mumble_quick_connect/locale/it_IT/LC_MESSAGES/django.po,sha256=myTkLjkEtBEMtM9Avx3mKa6a-KPzr9N62kuRohi4IWo,3311
|
|
20
|
+
aa_mumble_quick_connect/locale/ja/LC_MESSAGES/django.mo,sha256=6MUh_2GqYbBhnDoXBp_kFJivGTAjpj2KFfipeMmCuyQ,2936
|
|
21
|
+
aa_mumble_quick_connect/locale/ja/LC_MESSAGES/django.po,sha256=kccfd5u54-ELdC1JS3l6u3Roxe4hmdygZvHJYYOv8VM,4509
|
|
22
22
|
aa_mumble_quick_connect/locale/ko_KR/LC_MESSAGES/django.mo,sha256=8ctC_thl3JjvvsmxCys0V8yy3WtAGRzZYDymm8fl8x8,2254
|
|
23
|
-
aa_mumble_quick_connect/locale/ko_KR/LC_MESSAGES/django.po,sha256=
|
|
24
|
-
aa_mumble_quick_connect/locale/nl_NL/LC_MESSAGES/django.po,sha256=
|
|
23
|
+
aa_mumble_quick_connect/locale/ko_KR/LC_MESSAGES/django.po,sha256=ZYK_5U9UMPIEAQGfqK2QnEBMdBvyVBZ08rMFEefoKEc,4093
|
|
24
|
+
aa_mumble_quick_connect/locale/nl_NL/LC_MESSAGES/django.po,sha256=Jda7uTgPnsqrWezTu7pF-_C_EvQ9eLn-LHDwsAb4yxw,3170
|
|
25
25
|
aa_mumble_quick_connect/locale/pl_PL/LC_MESSAGES/django.mo,sha256=j8KXKASN0F5fV7e_drJn9EDJuc7_rqJ-7sMD2klAzO0,853
|
|
26
|
-
aa_mumble_quick_connect/locale/pl_PL/LC_MESSAGES/django.po,sha256=
|
|
26
|
+
aa_mumble_quick_connect/locale/pl_PL/LC_MESSAGES/django.po,sha256=9pcQLEJLqyRApHun3olzRkl8ANFdlpuGa83hIAyQB8M,3473
|
|
27
27
|
aa_mumble_quick_connect/locale/ru/LC_MESSAGES/django.mo,sha256=w8rSBWwwzVl8WCRrgsfND9YgmkGkqszVGWeCCP3OfQc,1472
|
|
28
|
-
aa_mumble_quick_connect/locale/ru/LC_MESSAGES/django.po,sha256=
|
|
29
|
-
aa_mumble_quick_connect/locale/sk/LC_MESSAGES/django.po,sha256=
|
|
28
|
+
aa_mumble_quick_connect/locale/ru/LC_MESSAGES/django.po,sha256=kdrTlZ9iMPOt8NnBGrVvdRhuMEiuU7YujCBPaUrCiS8,3887
|
|
29
|
+
aa_mumble_quick_connect/locale/sk/LC_MESSAGES/django.po,sha256=NOzbateLF-MqTgg5yZRdn450QsIyDkGrvtF-MQtaQ1U,3247
|
|
30
30
|
aa_mumble_quick_connect/locale/uk/LC_MESSAGES/django.mo,sha256=kHnJGeNqGXdKZIHvgsLlRNfDKb28onotCoL9nAr6wLA,3399
|
|
31
|
-
aa_mumble_quick_connect/locale/uk/LC_MESSAGES/django.po,sha256=
|
|
32
|
-
aa_mumble_quick_connect/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=
|
|
33
|
-
aa_mumble_quick_connect/locale/zh_Hans/LC_MESSAGES/django.po,sha256=
|
|
31
|
+
aa_mumble_quick_connect/locale/uk/LC_MESSAGES/django.po,sha256=WZLIxwXJLiT1-maj6x0R6X-HO0r1ZwhJjhIKI5n3NdA,4967
|
|
32
|
+
aa_mumble_quick_connect/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=nn4TxwGMXY9_yD5idgogk1bkkY70Kvl5u0cdWQGX77c,1283
|
|
33
|
+
aa_mumble_quick_connect/locale/zh_Hans/LC_MESSAGES/django.po,sha256=CfXAlHKgSnZDJ8XcihjNNk3LoEIi2O-ohERDKA2iONo,3623
|
|
34
34
|
aa_mumble_quick_connect/migrations/0001_initial.py,sha256=DVL1fCdvAtgw7jYpRP8dIm3EgMsRWhpes6LWtpDJefU,3303
|
|
35
35
|
aa_mumble_quick_connect/migrations/0002_mumblelink_disable_url_verification.py,sha256=9Vs8rv-8x63Gve0x3d6TH3f1DfiTNccmr2PIZa7Atb8,979
|
|
36
36
|
aa_mumble_quick_connect/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -44,12 +44,12 @@ aa_mumble_quick_connect/templates/aa_mumble_quick_connect/partials/footer/app-tr
|
|
|
44
44
|
aa_mumble_quick_connect/templatetags/__init__.py,sha256=sP2D1ovt2gGAPLcGQkByRgXYhvUJ6C52mZMlLIALQ8s,37
|
|
45
45
|
aa_mumble_quick_connect/templatetags/aa_mumble_quick_connect.py,sha256=2mqu1Xjhq8UEbI2niLk7ah4MsnROqWk3VBkhF4OC5Io,904
|
|
46
46
|
aa_mumble_quick_connect/tests/__init__.py,sha256=hQ-yK-riPHikEE78PrbFZUKRToIZhif7-mD-yiHzjkM,873
|
|
47
|
-
aa_mumble_quick_connect/tests/test_access.py,sha256=
|
|
48
|
-
aa_mumble_quick_connect/tests/test_auth_hooks.py,sha256=
|
|
47
|
+
aa_mumble_quick_connect/tests/test_access.py,sha256=F63yYx_cv4MqP-n2Sz6f2sIjcMUSH4NpXcKe2idlxzo,4747
|
|
48
|
+
aa_mumble_quick_connect/tests/test_auth_hooks.py,sha256=FckDwFXRK_zhDgYMDWcPXqnxevRqFZCUlwdUZu4_m9g,3220
|
|
49
49
|
aa_mumble_quick_connect/tests/test_models.py,sha256=ngT6nceZXjTJkiGtIi5DFlCNPE-Y0L2qr-fmUOlnO_4,5440
|
|
50
50
|
aa_mumble_quick_connect/tests/test_templatetags.py,sha256=9zndK2ISwnO5iMZ3fyz7rALp7EoPOgDuLlxu2HgPbFk,2586
|
|
51
|
-
aa_mumble_quick_connect/tests/utils.py,sha256=
|
|
52
|
-
aa_mumble_quick_connect-1.0.
|
|
53
|
-
aa_mumble_quick_connect-1.0.
|
|
54
|
-
aa_mumble_quick_connect-1.0.
|
|
55
|
-
aa_mumble_quick_connect-1.0.
|
|
51
|
+
aa_mumble_quick_connect/tests/utils.py,sha256=CWViwFu9iYA0Rr-ODHjorwsvPN2zRuCpYiAiiv38jhU,2477
|
|
52
|
+
aa_mumble_quick_connect-1.1.0.dist-info/METADATA,sha256=Sxo-iL6ISrVJZpsJSGXHFIzURec9QpxKBy1IgFAdarI,48765
|
|
53
|
+
aa_mumble_quick_connect-1.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
54
|
+
aa_mumble_quick_connect-1.1.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
55
|
+
aa_mumble_quick_connect-1.1.0.dist-info/RECORD,,
|
{aa_mumble_quick_connect-1.0.1.dist-info → aa_mumble_quick_connect-1.1.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|