firefighter-incident 0.0.28__py3-none-any.whl → 0.0.29__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.
- firefighter/_version.py +2 -2
- firefighter/incidents/views/views.py +16 -4
- {firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/METADATA +1 -1
- {firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/RECORD +7 -7
- {firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/WHEEL +0 -0
- {firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/entry_points.txt +0 -0
- {firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/licenses/LICENSE +0 -0
firefighter/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.0.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
31
|
+
__version__ = version = '0.0.29'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 0, 29)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -148,10 +148,22 @@ class IncidentDetailView(CustomDetailView[Incident]):
|
|
|
148
148
|
"conversation",
|
|
149
149
|
"created_by",
|
|
150
150
|
]
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
if
|
|
154
|
-
|
|
151
|
+
|
|
152
|
+
# Always load post-mortem relationships to display existing data
|
|
153
|
+
# even if creation is disabled
|
|
154
|
+
try:
|
|
155
|
+
# Only add if confluence app is installed
|
|
156
|
+
if "firefighter.confluence" in settings.INSTALLED_APPS:
|
|
157
|
+
select_related.append("postmortem_for")
|
|
158
|
+
except ImportError:
|
|
159
|
+
pass
|
|
160
|
+
|
|
161
|
+
try:
|
|
162
|
+
# Only add if jira_app is installed
|
|
163
|
+
if "firefighter.jira_app" in settings.INSTALLED_APPS:
|
|
164
|
+
select_related.append("jira_postmortem_for")
|
|
165
|
+
except ImportError:
|
|
166
|
+
pass
|
|
155
167
|
queryset = Incident.objects.select_related(*select_related).prefetch_related(
|
|
156
168
|
Prefetch(
|
|
157
169
|
"incidentupdate_set",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: firefighter-incident
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.29
|
|
4
4
|
Summary: Incident Management tool made for Slack using Django
|
|
5
5
|
Project-URL: Repository, https://github.com/ManoManoTech/firefighter-incident
|
|
6
6
|
Project-URL: Documentation, https://manomanotech.github.io/firefighter-incident/latest/
|
|
@@ -6,7 +6,7 @@ gunicorn.conf.py,sha256=vHsTGjaKOr8FDMp6fTKYTX4AtokmPgYvvt5Mr0Q6APc,273
|
|
|
6
6
|
main.py,sha256=CsbprHoOYhjCLpTJmq9Z_aRYFoFgWxoz2pDLuwm8Eqg,1558
|
|
7
7
|
manage.py,sha256=5ivHGD13C6nJ8QvltKsJ9T9akA5he8da70HLWaEP3k8,689
|
|
8
8
|
firefighter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
firefighter/_version.py,sha256=
|
|
9
|
+
firefighter/_version.py,sha256=p4kcB0BmpcnphBIseH7188jNCCOqFZSly7Pka9LrUDM,706
|
|
10
10
|
firefighter/api/__init__.py,sha256=JQW0Bv6xwGqy7ioxx3h6UGMzkkJ4DntDpbvV1Ncgi8k,136
|
|
11
11
|
firefighter/api/admin.py,sha256=x9Ysy-GiYjb0rynmFdS9g56e6n24fkN0ouGy5QD9Yrc,4629
|
|
12
12
|
firefighter/api/apps.py,sha256=P5uU1_gMrDfzurdMbfqw1Bnb2uNKKcMq17WBPg2sLhc,204
|
|
@@ -264,7 +264,7 @@ firefighter/incidents/views/date_filter.py,sha256=fUhTjkBulMokI5tAHuqNDVv1dyspjm
|
|
|
264
264
|
firefighter/incidents/views/date_utils.py,sha256=tiRTlh7PmRv4eAH0asiSX3Gn7ajsal9egm4S1d7s3_s,5759
|
|
265
265
|
firefighter/incidents/views/errors.py,sha256=yDuH0YOdGf-voVNEC51yR9Ie3OU-az7g2EqWs_uV1Kk,7855
|
|
266
266
|
firefighter/incidents/views/reports.py,sha256=1Iegx04w-oHw4cj7u9w2_s7T_e9FH5I6RRPTwDZwZhg,20973
|
|
267
|
-
firefighter/incidents/views/views.py,sha256=
|
|
267
|
+
firefighter/incidents/views/views.py,sha256=Gx1qAYQmN6B60-smnG_Lc_xvzXN2Lrfr6J11wEBCufQ,10987
|
|
268
268
|
firefighter/incidents/views/components/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
269
269
|
firefighter/incidents/views/components/details.py,sha256=gFEezmL1TcVYnM_ryLNNMaynuIdjYV31Qzx_GfzrQiA,1040
|
|
270
270
|
firefighter/incidents/views/components/list.py,sha256=u8HfXetmdL59h_4AZIhiHmKcmrPRZXgekPfnucB4Rek,2207
|
|
@@ -526,8 +526,8 @@ firefighter_tests/test_slack/views/modals/test_send_sos.py,sha256=_rE6jD-gOzcGyh
|
|
|
526
526
|
firefighter_tests/test_slack/views/modals/test_status.py,sha256=oQzPfwdg2tkbo9nfkO1GfS3WydxqSC6vy1AZjZDKT30,2226
|
|
527
527
|
firefighter_tests/test_slack/views/modals/test_update_status.py,sha256=vbHGx6dkM_0swE1vJ0HrkhI1oJzD_WHZuIQ-_arAxXo,55686
|
|
528
528
|
firefighter_tests/test_slack/views/modals/test_utils.py,sha256=DJd2n9q6fFu8UuCRdiq9U_Cn19MdnC5c-ydLLrk6rkc,5218
|
|
529
|
-
firefighter_incident-0.0.
|
|
530
|
-
firefighter_incident-0.0.
|
|
531
|
-
firefighter_incident-0.0.
|
|
532
|
-
firefighter_incident-0.0.
|
|
533
|
-
firefighter_incident-0.0.
|
|
529
|
+
firefighter_incident-0.0.29.dist-info/METADATA,sha256=vMdQRWVVxjc_sHtb6YnFH7Z_iZB0xAwsFPG0inDS6SQ,5570
|
|
530
|
+
firefighter_incident-0.0.29.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
531
|
+
firefighter_incident-0.0.29.dist-info/entry_points.txt,sha256=c13meJbv7YNmYz7MipMOQwzQ5IeFOPXUBYAJ44XMQsM,61
|
|
532
|
+
firefighter_incident-0.0.29.dist-info/licenses/LICENSE,sha256=krRiGp-a9-1nH1bWpBEdxyTKLhjLmn6DMVVoIb0zF90,1087
|
|
533
|
+
firefighter_incident-0.0.29.dist-info/RECORD,,
|
|
File without changes
|
{firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{firefighter_incident-0.0.28.dist-info → firefighter_incident-0.0.29.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|