django-restit 4.1.60__tar.gz → 4.1.62__tar.gz

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.
Files changed (488) hide show
  1. {django_restit-4.1.60 → django_restit-4.1.62}/PKG-INFO +1 -1
  2. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/group.py +1 -0
  3. django_restit-4.1.62/incident/migrations/0010_incident_category_incident_component_id.py +23 -0
  4. django_restit-4.1.62/incident/migrations/0011_ticket.py +38 -0
  5. {django_restit-4.1.60 → django_restit-4.1.62}/incident/models/__init__.py +1 -0
  6. {django_restit-4.1.60 → django_restit-4.1.62}/incident/models/event.py +28 -2
  7. {django_restit-4.1.60 → django_restit-4.1.62}/incident/models/incident.py +67 -36
  8. django_restit-4.1.62/incident/models/ticket.py +65 -0
  9. {django_restit-4.1.60 → django_restit-4.1.62}/incident/rpc.py +6 -0
  10. django_restit-4.1.60/incident/templates/email/incident_plain.html → django_restit-4.1.62/incident/templates/email/incident_change.html +20 -2
  11. django_restit-4.1.62/incident/templates/email/incident_plain.html +354 -0
  12. {django_restit-4.1.60 → django_restit-4.1.62}/incident/tq.py +14 -6
  13. {django_restit-4.1.60 → django_restit-4.1.62}/pyproject.toml +1 -1
  14. {django_restit-4.1.60 → django_restit-4.1.62}/rest/__init__.py +1 -1
  15. django_restit-4.1.60/incident/templates/email/incident_change.html +0 -443
  16. {django_restit-4.1.60 → django_restit-4.1.62}/LICENSE.md +0 -0
  17. {django_restit-4.1.60 → django_restit-4.1.62}/README.md +0 -0
  18. {django_restit-4.1.60 → django_restit-4.1.62}/account/__init__.py +0 -0
  19. {django_restit-4.1.60 → django_restit-4.1.62}/account/admin.py +0 -0
  20. {django_restit-4.1.60 → django_restit-4.1.62}/account/fcm/__init__.py +0 -0
  21. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0001_initial.py +0 -0
  22. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0003_member_phone_number.py +0 -0
  23. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0004_group_modified_alter_group_created.py +0 -0
  24. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0005_member_auth_code_expires.py +0 -0
  25. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0006_member_security_token.py +0 -0
  26. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0007_authtoken_signature_authsession.py +0 -0
  27. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0008_memberdevice_memberdevicemetadata.py +0 -0
  28. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0009_alter_member_phone_number.py +0 -0
  29. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0010_delete_authtoken.py +0 -0
  30. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0011_authtoken.py +0 -0
  31. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0012_settings_settingsmetadata.py +0 -0
  32. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0013_memberdevice_ip.py +0 -0
  33. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0014_alter_notificationmemberrecord_member.py +0 -0
  34. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0015_memberdevice_buid.py +0 -0
  35. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/0016_authsession_buid.py +0 -0
  36. {django_restit-4.1.60 → django_restit-4.1.62}/account/migrations/__init__.py +0 -0
  37. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/__init__.py +0 -0
  38. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/device.py +0 -0
  39. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/feeds.py +0 -0
  40. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/group.py +0 -0
  41. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/legacy.py +0 -0
  42. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/member.py +0 -0
  43. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/membership.py +0 -0
  44. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/notify.py +0 -0
  45. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/session.py +0 -0
  46. {django_restit-4.1.60 → django_restit-4.1.62}/account/models/settings.py +0 -0
  47. {django_restit-4.1.60 → django_restit-4.1.62}/account/oauth/__init__.py +0 -0
  48. {django_restit-4.1.60 → django_restit-4.1.62}/account/oauth/google.py +0 -0
  49. {django_restit-4.1.60 → django_restit-4.1.62}/account/periodic.py +0 -0
  50. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/__init__.py +0 -0
  51. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/auth.py +0 -0
  52. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/device.py +0 -0
  53. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/member.py +0 -0
  54. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/notify.py +0 -0
  55. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/oauth.py +0 -0
  56. {django_restit-4.1.60 → django_restit-4.1.62}/account/rpc/settings.py +0 -0
  57. {django_restit-4.1.60 → django_restit-4.1.62}/account/settings.py +0 -0
  58. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/base.html +0 -0
  59. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/invite.html +0 -0
  60. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/plain/base.html +0 -0
  61. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/plain/invite.html +0 -0
  62. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/plain/reset_code.html +0 -0
  63. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/reset_code.html +0 -0
  64. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/simple/invite.html +0 -0
  65. {django_restit-4.1.60 → django_restit-4.1.62}/account/templates/email/simple/reset_code.html +0 -0
  66. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/README +0 -0
  67. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/__init__.py +0 -0
  68. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/admin.py +0 -0
  69. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/decorators.py +0 -0
  70. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/middleware.py +0 -0
  71. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/migrations/0001_initial.py +0 -0
  72. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/migrations/__init__.py +0 -0
  73. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/models.py +0 -0
  74. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/periodic.py +0 -0
  75. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/rpc.py +0 -0
  76. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/tq.py +0 -0
  77. {django_restit-4.1.60 → django_restit-4.1.62}/auditlog/urls.py +0 -0
  78. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/README.md +0 -0
  79. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/__init__.py +0 -0
  80. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/admin.py +0 -0
  81. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/handlers.py +0 -0
  82. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/migrations/0001_initial.py +0 -0
  83. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/migrations/0002_alter_message_cc.py +0 -0
  84. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/migrations/0003_attachment_content_type.py +0 -0
  85. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/migrations/0004_mailtemplate.py +0 -0
  86. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/migrations/__init__.py +0 -0
  87. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/models/__init__.py +0 -0
  88. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/models/bounce.py +0 -0
  89. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/models/complaint.py +0 -0
  90. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/models/message.py +0 -0
  91. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/models/template.py +0 -0
  92. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/rpc.py +0 -0
  93. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/utils/__init__.py +0 -0
  94. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/utils/parsing.py +0 -0
  95. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/utils/render.py +0 -0
  96. {django_restit-4.1.60 → django_restit-4.1.62}/inbox/utils/sending.py +0 -0
  97. {django_restit-4.1.60 → django_restit-4.1.62}/incident/README.md +0 -0
  98. {django_restit-4.1.60 → django_restit-4.1.62}/incident/__init__.py +0 -0
  99. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0001_initial.py +0 -0
  100. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0002_event_component_event_component_id.py +0 -0
  101. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0003_rule_action.py +0 -0
  102. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0004_serverossecalert_ssh_sig_alter_rulecheck_parent.py +0 -0
  103. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0005_incident_component_alter_incident_state.py +0 -0
  104. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0006_delete_eventmetadata.py +0 -0
  105. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0007_event_metadata.py +0 -0
  106. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0008_incident_action_sent_incident_hostname_and_more.py +0 -0
  107. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/0009_incident_reporter_ip.py +0 -0
  108. {django_restit-4.1.60 → django_restit-4.1.62}/incident/migrations/__init__.py +0 -0
  109. {django_restit-4.1.60 → django_restit-4.1.62}/incident/models/ossec.py +0 -0
  110. {django_restit-4.1.60 → django_restit-4.1.62}/incident/models/rules.py +0 -0
  111. {django_restit-4.1.60 → django_restit-4.1.62}/incident/parsers/__init__.py +0 -0
  112. {django_restit-4.1.60 → django_restit-4.1.62}/incident/parsers/ossec.py +0 -0
  113. {django_restit-4.1.60 → django_restit-4.1.62}/incident/periodic.py +0 -0
  114. {django_restit-4.1.60 → django_restit-4.1.62}/incident/templates/email/incident_new.html +0 -0
  115. {django_restit-4.1.60 → django_restit-4.1.62}/location/__init__.py +0 -0
  116. {django_restit-4.1.60 → django_restit-4.1.62}/location/admin.py +0 -0
  117. {django_restit-4.1.60 → django_restit-4.1.62}/location/geolocate.py +0 -0
  118. {django_restit-4.1.60 → django_restit-4.1.62}/location/migrations/0001_initial.py +0 -0
  119. {django_restit-4.1.60 → django_restit-4.1.62}/location/migrations/0002_geoip_subnet_alter_geoip_ip.py +0 -0
  120. {django_restit-4.1.60 → django_restit-4.1.62}/location/migrations/__init__.py +0 -0
  121. {django_restit-4.1.60 → django_restit-4.1.62}/location/models/__init__.py +0 -0
  122. {django_restit-4.1.60 → django_restit-4.1.62}/location/models/address.py +0 -0
  123. {django_restit-4.1.60 → django_restit-4.1.62}/location/models/ip.py +0 -0
  124. {django_restit-4.1.60 → django_restit-4.1.62}/location/models/legacy.py +0 -0
  125. {django_restit-4.1.60 → django_restit-4.1.62}/location/models/location.py +0 -0
  126. {django_restit-4.1.60 → django_restit-4.1.62}/location/models/track.py +0 -0
  127. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/__init__.py +0 -0
  128. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/__init__.py +0 -0
  129. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/abstractapi.py +0 -0
  130. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/extremeip.py +0 -0
  131. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/geoplugin.py +0 -0
  132. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/ipapi.py +0 -0
  133. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/ipinfo.py +0 -0
  134. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/iplookup/restit.py +0 -0
  135. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/location/__init__.py +0 -0
  136. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/location/google.py +0 -0
  137. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/timezones/__init__.py +0 -0
  138. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/timezones/google.py +0 -0
  139. {django_restit-4.1.60 → django_restit-4.1.62}/location/providers/zillow.py +0 -0
  140. {django_restit-4.1.60 → django_restit-4.1.62}/location/rpc/__init__.py +0 -0
  141. {django_restit-4.1.60 → django_restit-4.1.62}/location/rpc/ip.py +0 -0
  142. {django_restit-4.1.60 → django_restit-4.1.62}/location/rpc/location.py +0 -0
  143. {django_restit-4.1.60 → django_restit-4.1.62}/location/rpc/track.py +0 -0
  144. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/__init__.py +0 -0
  145. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/admin.py +0 -0
  146. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/cvutil/__init__.py +0 -0
  147. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/cvutil/contours.py +0 -0
  148. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/cvutil/images.py +0 -0
  149. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/cvutil/misc.py +0 -0
  150. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/cvutil/text.py +0 -0
  151. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/fixtures/initial_data.json +0 -0
  152. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/fixtures/medialib.json +0 -0
  153. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/fixtures/medialib_test_fixture.json +0 -0
  154. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/forms.py +0 -0
  155. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/migrations/0001_initial.py +0 -0
  156. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/migrations/__init__.py +0 -0
  157. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/models.py +0 -0
  158. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/ocr.py +0 -0
  159. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/pdf.py +0 -0
  160. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/qrcode.py +0 -0
  161. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/__init__.py +0 -0
  162. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/__init__.py +0 -0
  163. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/anigif.py +0 -0
  164. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/ffmpeg.py +0 -0
  165. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/gifsicle.py +0 -0
  166. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/hls.py +0 -0
  167. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/mp4box.py +0 -0
  168. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/rtmp/Makefile +0 -0
  169. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/rtmp/__init__.py +0 -0
  170. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/rtmp/rtmp.i +0 -0
  171. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/rtmpdump.py +0 -0
  172. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/rtmpsink.py +0 -0
  173. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/video_getinfo.py +0 -0
  174. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/engines/websnap.py +0 -0
  175. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/exceptions.py +0 -0
  176. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/__init__.py +0 -0
  177. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/akamai.py +0 -0
  178. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/animated_thumbnail.py +0 -0
  179. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/ffmpeg.py +0 -0
  180. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/flv.py +0 -0
  181. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/hls.py +0 -0
  182. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/image_transcode.py +0 -0
  183. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/image_validate.py +0 -0
  184. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/mp4.py +0 -0
  185. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/video_still.py +0 -0
  186. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/video_validate.py +0 -0
  187. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/websnap.py +0 -0
  188. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/presets/youtube.py +0 -0
  189. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/render_utils.py +0 -0
  190. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/render/schedule.py +0 -0
  191. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/rpc/__init__.py +0 -0
  192. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/rpc/legacy.py +0 -0
  193. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/rpc/media.py +0 -0
  194. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/rpc/tools.py +0 -0
  195. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/scripts/init_config +0 -0
  196. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/css/base_medialibui.css +0 -0
  197. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/css/base_widgets.css +0 -0
  198. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/css/jquery.jcrop.css +0 -0
  199. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/arrow-down-white.png +0 -0
  200. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/bg-body.gif +0 -0
  201. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/cancel.gif +0 -0
  202. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/icon-generic.gif +0 -0
  203. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/icon-image.gif +0 -0
  204. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/icon-media.gif +0 -0
  205. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/icon-zip.gif +0 -0
  206. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/loading.gif +0 -0
  207. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/noimage.gif +0 -0
  208. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/render_err.gif +0 -0
  209. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/rendering.gif +0 -0
  210. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/star_off.png +0 -0
  211. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/star_on.png +0 -0
  212. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/img/unknown.gif +0 -0
  213. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/caman.full.js +0 -0
  214. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/hammer.min.js +0 -0
  215. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/jquery.Jcrop.js +0 -0
  216. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/jquery.hammer.js +0 -0
  217. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/load-image.min.js +0 -0
  218. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/swiper.js +0 -0
  219. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/tinymce/plugins/medialib/editor_plugin.js +0 -0
  220. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/tinymce/plugins/medialib/editor_plugin_src.js +0 -0
  221. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/tinymce/plugins/medialib/js/dialog.js +0 -0
  222. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/static/lib/tinymce/plugins/medialib/medialib.html +0 -0
  223. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/__init__.py +0 -0
  224. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/__init__.py +0 -0
  225. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/channel.py +0 -0
  226. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/discovery.py +0 -0
  227. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/errors.py +0 -0
  228. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/http.py +0 -0
  229. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/mimeparse.py +0 -0
  230. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/model.py +0 -0
  231. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/sample_tools.py +0 -0
  232. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/apiclient/schema.py +0 -0
  233. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/filestore.py +0 -0
  234. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/httplib2/__init__.py +0 -0
  235. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/httplib2/cacerts.txt +0 -0
  236. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/httplib2/iri2uri.py +0 -0
  237. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/httplib2/socks.py +0 -0
  238. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/httpstore.py +0 -0
  239. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/nullstore.py +0 -0
  240. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/__init__.py +0 -0
  241. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/anyjson.py +0 -0
  242. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/appengine.py +0 -0
  243. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/client.py +0 -0
  244. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/clientsecrets.py +0 -0
  245. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/crypt.py +0 -0
  246. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/django_orm.py +0 -0
  247. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/file.py +0 -0
  248. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/gce.py +0 -0
  249. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/keyring_storage.py +0 -0
  250. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/locked_file.py +0 -0
  251. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/multistore_file.py +0 -0
  252. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/old_run.py +0 -0
  253. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/tools.py +0 -0
  254. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/util.py +0 -0
  255. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/oauth2client/xsrfutil.py +0 -0
  256. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/rtmpstore.py +0 -0
  257. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/s3store.py +0 -0
  258. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/uritemplate/__init__.py +0 -0
  259. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/stores/youtubestore.py +0 -0
  260. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/base.html +0 -0
  261. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/instances.html +0 -0
  262. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/items.html +0 -0
  263. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/library.html +0 -0
  264. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_error.subject +0 -0
  265. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_error.to +0 -0
  266. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_error.txt +0 -0
  267. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_ready.subject +0 -0
  268. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_ready.to +0 -0
  269. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_ready.txt +0 -0
  270. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_render_error.subject +0 -0
  271. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_render_error.to +0 -0
  272. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_render_error.txt +0 -0
  273. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_validate_error.subject +0 -0
  274. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_validate_error.to +0 -0
  275. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/notify_validate_error.txt +0 -0
  276. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/smil +0 -0
  277. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/test.html +0 -0
  278. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/templates/medialib/testpicker.html +0 -0
  279. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/tests.py +0 -0
  280. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/tq.py +0 -0
  281. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/urls.py +0 -0
  282. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/utils.py +0 -0
  283. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/views.py +0 -0
  284. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/__init__.py +0 -0
  285. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/__init__.py +0 -0
  286. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/channel.py +0 -0
  287. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/discovery.py +0 -0
  288. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/errors.py +0 -0
  289. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/http.py +0 -0
  290. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/mimeparse.py +0 -0
  291. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/model.py +0 -0
  292. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/sample_tools.py +0 -0
  293. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/apiclient/schema.py +0 -0
  294. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/httplib2/__init__.py +0 -0
  295. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/httplib2/cacerts.txt +0 -0
  296. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/httplib2/iri2uri.py +0 -0
  297. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/httplib2/socks.py +0 -0
  298. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/__init__.py +0 -0
  299. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/anyjson.py +0 -0
  300. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/appengine.py +0 -0
  301. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/client.py +0 -0
  302. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/clientsecrets.py +0 -0
  303. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/crypt.py +0 -0
  304. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/django_orm.py +0 -0
  305. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/file.py +0 -0
  306. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/gce.py +0 -0
  307. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/keyring_storage.py +0 -0
  308. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/locked_file.py +0 -0
  309. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/multistore_file.py +0 -0
  310. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/old_run.py +0 -0
  311. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/tools.py +0 -0
  312. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/util.py +0 -0
  313. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/oauth2client/xsrfutil.py +0 -0
  314. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/upload.py +0 -0
  315. {django_restit-4.1.60 → django_restit-4.1.62}/medialib/youtube/uritemplate/__init__.py +0 -0
  316. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/README.md +0 -0
  317. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/__init__.py +0 -0
  318. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/client.py +0 -0
  319. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/eod.py +0 -0
  320. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/examples/eod_example.py +0 -0
  321. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/__init__.py +0 -0
  322. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/__init__.py +0 -0
  323. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/delete_gauge.py +0 -0
  324. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/delete_metric.py +0 -0
  325. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/fix_redis_metrics_keys.py +0 -0
  326. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/generate_test_metrics.py +0 -0
  327. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/redis_metrics_send_mail.py +0 -0
  328. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/reset_weekly_metrics.py +0 -0
  329. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/management/commands/system_metric.py +0 -0
  330. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/migrations/0001_initial.py +0 -0
  331. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/migrations/0002_metrics_k11_metrics_k12_metrics_k13_metrics_k14_and_more.py +0 -0
  332. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/migrations/0003_metrics_expires.py +0 -0
  333. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/migrations/0004_eodmetrics.py +0 -0
  334. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/migrations/0005_alter_metrics_v1_alter_metrics_v10_alter_metrics_v11_and_more.py +0 -0
  335. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/migrations/__init__.py +0 -0
  336. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/models.py +0 -0
  337. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/periodic.py +0 -0
  338. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/providers/__init__.py +0 -0
  339. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/providers/aws.py +0 -0
  340. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/rpc.py +0 -0
  341. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/settings.py +0 -0
  342. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/tq.py +0 -0
  343. {django_restit-4.1.60 → django_restit-4.1.62}/metrics/utils.py +0 -0
  344. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/__init__.py +0 -0
  345. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/admin.py +0 -0
  346. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/migrations/0001_initial.py +0 -0
  347. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/migrations/__init__.py +0 -0
  348. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/models.py +0 -0
  349. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/rpc/__init__.py +0 -0
  350. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/rpc/githooks.py +0 -0
  351. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/rpc/legacy.py +0 -0
  352. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/rpc/products.py +0 -0
  353. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/static/js/models_pushit.js +0 -0
  354. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/tq.py +0 -0
  355. {django_restit-4.1.60 → django_restit-4.1.62}/pushit/utils.py +0 -0
  356. {django_restit-4.1.60 → django_restit-4.1.62}/rest/.gitignore +0 -0
  357. {django_restit-4.1.60 → django_restit-4.1.62}/rest/README.md +0 -0
  358. {django_restit-4.1.60 → django_restit-4.1.62}/rest/RemoteEvents.py +0 -0
  359. {django_restit-4.1.60 → django_restit-4.1.62}/rest/arc4.py +0 -0
  360. {django_restit-4.1.60 → django_restit-4.1.62}/rest/cache.py +0 -0
  361. {django_restit-4.1.60 → django_restit-4.1.62}/rest/crypto/__init__.py +0 -0
  362. {django_restit-4.1.60 → django_restit-4.1.62}/rest/crypto/aes.py +0 -0
  363. {django_restit-4.1.60 → django_restit-4.1.62}/rest/crypto/privpub.py +0 -0
  364. {django_restit-4.1.60 → django_restit-4.1.62}/rest/crypto/util.py +0 -0
  365. {django_restit-4.1.60 → django_restit-4.1.62}/rest/datem.py +0 -0
  366. {django_restit-4.1.60 → django_restit-4.1.62}/rest/decorators.py +0 -0
  367. {django_restit-4.1.60 → django_restit-4.1.62}/rest/encryption.py +0 -0
  368. {django_restit-4.1.60 → django_restit-4.1.62}/rest/errors.py +0 -0
  369. {django_restit-4.1.60 → django_restit-4.1.62}/rest/extra/__init__.py +0 -0
  370. {django_restit-4.1.60 → django_restit-4.1.62}/rest/extra/json_metadata.py +0 -0
  371. {django_restit-4.1.60 → django_restit-4.1.62}/rest/fields.py +0 -0
  372. {django_restit-4.1.60 → django_restit-4.1.62}/rest/forms.py +0 -0
  373. {django_restit-4.1.60 → django_restit-4.1.62}/rest/helpers.py +0 -0
  374. {django_restit-4.1.60 → django_restit-4.1.62}/rest/joke.py +0 -0
  375. {django_restit-4.1.60 → django_restit-4.1.62}/rest/jwtoken.py +0 -0
  376. {django_restit-4.1.60 → django_restit-4.1.62}/rest/log.py +0 -0
  377. {django_restit-4.1.60 → django_restit-4.1.62}/rest/mail.py +0 -0
  378. {django_restit-4.1.60 → django_restit-4.1.62}/rest/mailman.py +0 -0
  379. {django_restit-4.1.60 → django_restit-4.1.62}/rest/management/__init__.py +0 -0
  380. {django_restit-4.1.60 → django_restit-4.1.62}/rest/management/commands/__init__.py +0 -0
  381. {django_restit-4.1.60 → django_restit-4.1.62}/rest/management/commands/rpc.py +0 -0
  382. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/__init__.py +0 -0
  383. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/cors.py +0 -0
  384. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/db_router.py +0 -0
  385. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/jwt.py +0 -0
  386. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/request.py +0 -0
  387. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/session.py +0 -0
  388. {django_restit-4.1.60 → django_restit-4.1.62}/rest/middleware/session_store.py +0 -0
  389. {django_restit-4.1.60 → django_restit-4.1.62}/rest/models/__init__.py +0 -0
  390. {django_restit-4.1.60 → django_restit-4.1.62}/rest/models/base.py +0 -0
  391. {django_restit-4.1.60 → django_restit-4.1.62}/rest/models/cacher.py +0 -0
  392. {django_restit-4.1.60 → django_restit-4.1.62}/rest/models/metadata.py +0 -0
  393. {django_restit-4.1.60 → django_restit-4.1.62}/rest/net.py +0 -0
  394. {django_restit-4.1.60 → django_restit-4.1.62}/rest/regexes.yaml +0 -0
  395. {django_restit-4.1.60 → django_restit-4.1.62}/rest/requestex.py +0 -0
  396. {django_restit-4.1.60 → django_restit-4.1.62}/rest/rpc.py +0 -0
  397. {django_restit-4.1.60 → django_restit-4.1.62}/rest/search.py +0 -0
  398. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/__init__.py +0 -0
  399. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/collection.py +0 -0
  400. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/csv.py +0 -0
  401. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/excel.py +0 -0
  402. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/json.py +0 -0
  403. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/legacy.py +0 -0
  404. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/model.py +0 -0
  405. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/profiler.py +0 -0
  406. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/response.py +0 -0
  407. {django_restit-4.1.60 → django_restit-4.1.62}/rest/serializers/util.py +0 -0
  408. {django_restit-4.1.60 → django_restit-4.1.62}/rest/settings_helper.py +0 -0
  409. {django_restit-4.1.60 → django_restit-4.1.62}/rest/ssl_check.py +0 -0
  410. {django_restit-4.1.60 → django_restit-4.1.62}/rest/static/lib/jquery.js +0 -0
  411. {django_restit-4.1.60 → django_restit-4.1.62}/rest/static/rest/app.css +0 -0
  412. {django_restit-4.1.60 → django_restit-4.1.62}/rest/static/rest/app.js +0 -0
  413. {django_restit-4.1.60 → django_restit-4.1.62}/rest/static/rest/rest.js +0 -0
  414. {django_restit-4.1.60 → django_restit-4.1.62}/rest/static/rest/rest.scss +0 -0
  415. {django_restit-4.1.60 → django_restit-4.1.62}/rest/templates/email/error.html +0 -0
  416. {django_restit-4.1.60 → django_restit-4.1.62}/rest/templates/email/error.subject +0 -0
  417. {django_restit-4.1.60 → django_restit-4.1.62}/rest/templates/rest_docs.html +0 -0
  418. {django_restit-4.1.60 → django_restit-4.1.62}/rest/templates/rest_html.html +0 -0
  419. {django_restit-4.1.60 → django_restit-4.1.62}/rest/ua.py +0 -0
  420. {django_restit-4.1.60 → django_restit-4.1.62}/rest/uberdict.py +0 -0
  421. {django_restit-4.1.60 → django_restit-4.1.62}/rest/url_docs.py +0 -0
  422. {django_restit-4.1.60 → django_restit-4.1.62}/rest/urls.py +0 -0
  423. {django_restit-4.1.60 → django_restit-4.1.62}/rest/views.py +0 -0
  424. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/.gitignore +0 -0
  425. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/README.md +0 -0
  426. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/__init__.py +0 -0
  427. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/admin.py +0 -0
  428. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/migrations/0001_initial.py +0 -0
  429. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/migrations/__init__.py +0 -0
  430. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/models.py +0 -0
  431. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/tests.py +0 -0
  432. {django_restit-4.1.60 → django_restit-4.1.62}/sessionlog/views.py +0 -0
  433. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/README.md +0 -0
  434. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/__init__.py +0 -0
  435. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/admin.py +0 -0
  436. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/migrations/0001_initial.py +0 -0
  437. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/migrations/__init__.py +0 -0
  438. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/models.py +0 -0
  439. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/periodic.py +0 -0
  440. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/rpc.py +0 -0
  441. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/tq.py +0 -0
  442. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/transports/__init__.py +0 -0
  443. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/transports/email.py +0 -0
  444. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/transports/http.py +0 -0
  445. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/transports/s3.py +0 -0
  446. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/transports/sftp.py +0 -0
  447. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/transports/sms.py +0 -0
  448. {django_restit-4.1.60 → django_restit-4.1.62}/taskqueue/worker.py +0 -0
  449. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/__init__.py +0 -0
  450. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/admin.py +0 -0
  451. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/decorators.py +0 -0
  452. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/migrations/0001_initial.py +0 -0
  453. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/migrations/__init__.py +0 -0
  454. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/models.py +0 -0
  455. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/phone_util.py +0 -0
  456. {django_restit-4.1.60 → django_restit-4.1.62}/telephony/rpc.py +0 -0
  457. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/__init__.py +0 -0
  458. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/migrations/0001_initial.py +0 -0
  459. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/migrations/__init__.py +0 -0
  460. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/models/__init__.py +0 -0
  461. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/models/faq.py +0 -0
  462. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/models/page.py +0 -0
  463. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/models/revision.py +0 -0
  464. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/periodic.py +0 -0
  465. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/__init__.py +0 -0
  466. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/__init__.py +0 -0
  467. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/highlight.py +0 -0
  468. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/math.py +0 -0
  469. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/media.py +0 -0
  470. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/meta.py +0 -0
  471. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/task_list.py +0 -0
  472. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/renderers/mistune/toc.py +0 -0
  473. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/rpc/__init__.py +0 -0
  474. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/rpc/wiki.py +0 -0
  475. {django_restit-4.1.60 → django_restit-4.1.62}/wiki/tq.py +0 -0
  476. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/README.md +0 -0
  477. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/__init__.py +0 -0
  478. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/client.py +0 -0
  479. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/connection.py +0 -0
  480. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/exceptions.py +0 -0
  481. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/redis.py +0 -0
  482. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/servers/__init__.py +0 -0
  483. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/servers/base.py +0 -0
  484. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/servers/django.py +0 -0
  485. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/servers/uwsgi.py +0 -0
  486. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/settings.py +0 -0
  487. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/utf8validator.py +0 -0
  488. {django_restit-4.1.60 → django_restit-4.1.62}/ws4redis/websocket.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-restit
3
- Version: 4.1.60
3
+ Version: 4.1.62
4
4
  Summary: A Rest Framework for DJANGO
5
5
  License: MIT
6
6
  Author: Ian Starnes
@@ -3,6 +3,7 @@ from rest import views as rv
3
3
  from account.models import Group, Membership, Member, GroupFeed, MemberFeed
4
4
  from taskqueue import models as tq
5
5
 
6
+
6
7
  @rd.url(r'^group$')
7
8
  @rd.url(r'^group/$') # required for legacy support
8
9
  @rd.url(r'^group/(?P<pk>\d+)$')
@@ -0,0 +1,23 @@
1
+ # Generated by Django 4.1.4 on 2023-11-20 03:38
2
+
3
+ from django.db import migrations, models
4
+
5
+
6
+ class Migration(migrations.Migration):
7
+
8
+ dependencies = [
9
+ ('incident', '0009_incident_reporter_ip'),
10
+ ]
11
+
12
+ operations = [
13
+ migrations.AddField(
14
+ model_name='incident',
15
+ name='category',
16
+ field=models.CharField(db_index=True, default=None, max_length=124, null=True),
17
+ ),
18
+ migrations.AddField(
19
+ model_name='incident',
20
+ name='component_id',
21
+ field=models.IntegerField(blank=True, db_index=True, default=None, null=True),
22
+ ),
23
+ ]
@@ -0,0 +1,38 @@
1
+ # Generated by Django 4.1.4 on 2023-11-20 03:51
2
+
3
+ from django.db import migrations, models
4
+ import django.db.models.deletion
5
+ import rest.models.base
6
+ import rest.models.metadata
7
+
8
+
9
+ class Migration(migrations.Migration):
10
+
11
+ dependencies = [
12
+ ('account', '0016_authsession_buid'),
13
+ ('incident', '0010_incident_category_incident_component_id'),
14
+ ]
15
+
16
+ operations = [
17
+ migrations.CreateModel(
18
+ name='Ticket',
19
+ fields=[
20
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
21
+ ('created', models.DateTimeField(auto_now_add=True)),
22
+ ('modified', models.DateTimeField(auto_now=True)),
23
+ ('category', models.CharField(db_index=True, max_length=200)),
24
+ ('priority', models.IntegerField(db_index=True, default=10)),
25
+ ('title', models.CharField(max_length=200)),
26
+ ('description', models.TextField()),
27
+ ('status', models.CharField(db_index=True, default=None, max_length=32, null=True)),
28
+ ('state', models.IntegerField(default=0)),
29
+ ('component', models.CharField(db_index=True, default=None, max_length=200, null=True)),
30
+ ('component_id', models.IntegerField(blank=True, db_index=True, default=None, null=True)),
31
+ ('assigned_to', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='tickets', to='account.member')),
32
+ ('created_by', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='account.member')),
33
+ ('group', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='tickets', to='account.group')),
34
+ ('incident', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='tickets', to='incident.incident')),
35
+ ],
36
+ bases=(models.Model, rest.models.base.RestModel, rest.models.metadata.MetaDataModel),
37
+ ),
38
+ ]
@@ -2,3 +2,4 @@ from .rules import * # noqa: F401, F403
2
2
  from .incident import * # noqa: F401, F403
3
3
  from .event import * # noqa: F401, F403
4
4
  from .ossec import * # noqa: F401, F403
5
+ from .ticket import * # noqa: F401, F403
@@ -15,7 +15,13 @@ from .rules import Rule
15
15
  INCIDENT_METRICS = settings.get("INCIDENT_METRICS", False)
16
16
  INCIDENT_EVENT_METRICS = settings.get("INCIDENT_EVENT_METRICS", False)
17
17
  EVENT_TO_INCIDENT_LEVEL = settings.get("EVENT_TO_INCIDENT_LEVEL", 4)
18
-
18
+ EVENT_DETAIL_TEMPLATES = settings.get("EVENT_DETAIL_TEMPLATES", None)
19
+ EVENT_META_KEYWORDS = settings.get("EVENT_META_KEYWORDS", [
20
+ "path", "ip", "reporter_ip", "code",
21
+ "reason", "buid", "merchant", "tid",
22
+ "group", "http_user_agent", "user_agent",
23
+ "app_url", "isp", "city", "state", "country"
24
+ ])
19
25
 
20
26
  logger = log.getLogger("incident", filename="incident.log")
21
27
 
@@ -80,6 +86,23 @@ class Event(JSONMetaData, rm.RestModel):
80
86
  return rule
81
87
  return None
82
88
 
89
+ @property
90
+ def details_by_category(self):
91
+ # returns detailed text based on the category settings
92
+ # if EVENT_DETAIL_TEMPLATES is None or self.category not in EVENT_DETAIL_TEMPLATES:
93
+ # return self.details
94
+ output = []
95
+ if self.component:
96
+ output.append(f"{self.component}({self.component_id})")
97
+ for key in EVENT_META_KEYWORDS:
98
+ if self.metadata.get(key, None) is not None:
99
+ output.append(f"{key}: {self.metadata[key]}")
100
+ if self.details:
101
+ output.append(self.details)
102
+ output.append("")
103
+ output.append("")
104
+ return "\n".join(output)
105
+
83
106
  def lookupIP(self, ip):
84
107
  GeoIP = rm.RestModel.getModel("location", "GeoIP")
85
108
  gip = GeoIP.lookup(ip)
@@ -138,7 +161,10 @@ class Event(JSONMetaData, rm.RestModel):
138
161
  incident = Incident(
139
162
  rule=hit_rule, priority=priority,
140
163
  reporter_ip=self.reporter_ip,
141
- component=self.category, hostname=self.hostname)
164
+ category=self.category,
165
+ component=self.component,
166
+ component_id=self.component_id,
167
+ hostname=self.hostname)
142
168
  if hit_rule is not None:
143
169
  incident.group = hit_rule.group
144
170
  # TODO possibly make this smarter?
@@ -52,7 +52,12 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
52
52
  modified = models.DateTimeField(auto_now=True)
53
53
 
54
54
  description = models.CharField(max_length=200)
55
+
56
+ category = models.CharField(max_length=124, null=True, default=None, db_index=True)
57
+
55
58
  component = models.CharField(max_length=200, null=True, default=None, db_index=True)
59
+ component_id = models.IntegerField(null=True, blank=True, default=None, db_index=True)
60
+
56
61
  hostname = models.CharField(max_length=200, null=True, default=None, db_index=True)
57
62
  reporter_ip = models.CharField(max_length=16, blank=True, null=True, default=None, db_index=True)
58
63
 
@@ -68,7 +73,15 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
68
73
  @property
69
74
  def first_event(self):
70
75
  return self.events.first()
71
-
76
+
77
+ def shouldTriggerAction(self):
78
+ count = self.events.all().count()
79
+ aa = self.rule.action_after
80
+ if aa>= 0:
81
+ return aa == count-1
82
+ aa = abs(self.rule.action_after)
83
+ return (count % aa) == 0
84
+
72
85
  def triggerAction(self, force=False):
73
86
  if self.rule is None:
74
87
  if self.action_sent is None:
@@ -82,7 +95,7 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
82
95
  # return
83
96
  # only do query if not 0
84
97
  logger.info("triggerAction", self.rule.action)
85
- if force or self.rule.action_after == 0 or self.rule.action_after < self.events.all().count():
98
+ if force or self.shouldTriggerAction():
86
99
  logger.info(f"triggering incident action: {self.rule.action}")
87
100
  self.triggerAsyncNotify()
88
101
  if self.rule.action is None or self.rule.action == "notify":
@@ -96,9 +109,12 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
96
109
 
97
110
  def triggerAsyncNotify(self):
98
111
  msg = dict(
112
+ pk=self.pk,
99
113
  created=time.mktime(self.created.timetuple()),
100
114
  description=self.description,
115
+ category=self.category,
101
116
  component=self.component,
117
+ component_id=self.component_id,
102
118
  hostname=self.hostname)
103
119
  if self.rule is not None:
104
120
  msg["rule"] = self.rule.name
@@ -148,7 +164,7 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
148
164
  # logger.info("notifyWith", perm)
149
165
  Member.notifyWith(
150
166
  perm,
151
- subject=F"Incident #{self.pk} {self.component}@{self.hostname}",
167
+ subject=F"New Incident #{self.pk} {self.component}@{self.hostname}",
152
168
  template=settings.get("INCIDENT_TEMPLATE", "email/incident_plain.html"),
153
169
  context=dict(incident=self, portal_url=settings.INCIDENT_PORTAL_URL),
154
170
  email_only=True, from_email=INCIDENT_EMAIL_FROM)
@@ -176,7 +192,8 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
176
192
  if request != None and "DATA" in request and "note" in request.DATA:
177
193
  self.logHistory(kind="note", note=request.DATA.get("note"), request=request)
178
194
 
179
- def logHistory(self, kind="history", note=None, media=None, request=None, member=None):
195
+ def logHistory(self, kind="history", note=None, media=None,
196
+ request=None, member=None, notify=True):
180
197
  if request is None:
181
198
  request = self.getActiveRequest()
182
199
  if member is None and request is not None and hasattr(request, "member"):
@@ -186,7 +203,7 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
186
203
  for k, v in self._changed__.items():
187
204
  nv = self.getFieldValue(k)
188
205
  notes.append(f"{k} changed from {v} to {nv}")
189
- note = "\n".join(notes)
206
+ note = "\n<br>".join(notes)
190
207
 
191
208
  h = IncidentHistory(
192
209
  parent=self,
@@ -203,57 +220,71 @@ class Incident(models.Model, rm.RestModel, rm.MetaDataModel):
203
220
  if media is not None:
204
221
  h.saveMediaFile(media, "media", media.name)
205
222
  h.save()
206
- if h.state != INCIDENT_STATE_IGNORE:
223
+ if notify and h.state != INCIDENT_STATE_IGNORE:
207
224
  self.notifyWatchers(
208
225
  subject=F"Updated Incident #{self.id}",
209
226
  history=h)
210
227
 
211
228
  def notifyWatchers(self, subject, history=None):
229
+ action = None
230
+ perm = "notify.incident_alerts"
231
+ if self.rule is not None and (self.rule.action.startswith("email:") or self.rule.action.startswith("notify:")):
232
+ action, perm = self.rule.action.split(":")
233
+ context = dict(
234
+ incident=self,
235
+ portal_url=settings.INCIDENT_PORTAL_URL,
236
+ history=history)
237
+ template = "email/incident_plain.html"
238
+
212
239
  # this should notify all users in our incident group of the change
213
240
  if self.group is not None:
214
241
  # all member of the group are notified because it is an incident group
215
242
  self.group.notifyMembers(
216
243
  subject=subject,
217
- template="email/incident_change.html",
218
- context=dict(incident=self, portal_url=settings.INCIDENT_PORTAL_URL),
219
- perms=["notify.incident_alerts"],
220
- email_only=True, from_email=INCIDENT_EMAIL_FROM)
221
- elif history is not None:
222
- action = None
223
- perm = "notify.incident_alerts"
224
- if self.rule is not None and (self.rule.action.startswith("email:") or self.rule.action.startswith("notify:")):
225
- action, perm = self.rule.action.split(":")
244
+ template=template,
245
+ context=context,
246
+ perms=[perm],
247
+ email_only=True,
248
+ from_email=INCIDENT_EMAIL_FROM)
249
+ elif history.by is None:
250
+ # notify everyone with the perm
251
+ Member.notifyWith(
252
+ perm,
253
+ subject,
254
+ template=template,
255
+ context=context,
256
+ email_only=True,
257
+ from_email=INCIDENT_EMAIL_FROM)
258
+ else:
259
+ # notitfy everyone but the sender
226
260
  if history.by is None:
227
- Member.notifyWith(
228
- perm, subject,
229
- message=history.note,
230
- from_email=INCIDENT_EMAIL_FROM)
231
- else:
232
261
  members = Member.GetWithPermission(perm).exclude(pk=history.by.pk)
233
- if members.count() > 0:
234
- NotificationRecord = Incident.getModel("account", "NotificationRecord")
235
- message = f"{history.note}\n\n- {history.by.username}\n\n\n"
236
- NotificationRecord.notify(
237
- members, subject, message,
238
- email_only=True, from_email=INCIDENT_EMAIL_FROM)
262
+ if members.count() == 0:
263
+ return
264
+ NotificationRecord = Incident.getModel("account", "NotificationRecord")
265
+ NotificationRecord.notify(
266
+ members,
267
+ subject,
268
+ template=template,
269
+ context=context,
270
+ email_only=True,
271
+ from_email=INCIDENT_EMAIL_FROM)
239
272
 
240
273
  @classmethod
241
274
  def getBundled(cls, rule, event):
242
275
  # calculate our bundle start time
243
276
  when = datetime.now() - timedelta(minutes=rule.bundle)
244
277
  q = objict(rule=rule, created__gte=when)
245
- if rule.bundle_by == 1:
246
- q.hostname = event.hostname
247
- elif rule.bundle_by == 2:
248
- q.component = event.category
249
- elif rule.bundle_by == 3:
278
+ if rule.bundle_by in [2, 3, 5]:
279
+ if event.component_id:
280
+ q.component = event.component
281
+ q.component_id = event.component_id
282
+ if rule.bundle_by in [1, 3, 7]:
250
283
  q.hostname = event.hostname
251
- q.component = event.category
252
- elif rule.bundle_by == 4:
253
- q.reporter_ip = event.reporter_ip
254
- elif rule.bundle_by == 5:
284
+ elif rule.bundle_by in [4, 5, 8]:
255
285
  q.reporter_ip = event.reporter_ip
256
- q.component = event.category
286
+ elif rule.bundle_by in [6, 7, 8]:
287
+ q.category = event.category
257
288
  return Incident.objects.filter(**q).last()
258
289
 
259
290
  @classmethod
@@ -0,0 +1,65 @@
1
+ from django.db import models
2
+ from django.conf import settings
3
+
4
+ from rest import models as rm
5
+ from rest import helpers as rh
6
+
7
+
8
+ class Ticket(models.Model, rm.RestModel, rm.MetaDataModel):
9
+ class RestMeta:
10
+ SEARCH_FIELDS = ["title", "description"]
11
+ CAN_DELETE = True
12
+ VIEW_PERMS = ["view_tickets"]
13
+ GRAPHS = {
14
+ "default": {
15
+ "extra": ["metadata"],
16
+ "graphs": {
17
+ "group": "basic",
18
+ "created_by": "basic",
19
+ "assigned_to": "basic",
20
+ "incident": "basic"
21
+ },
22
+ },
23
+ "detailed": {
24
+ "graphs": {
25
+ "group": "basic",
26
+ "created_by": "basic",
27
+ "assigned_to": "basic",
28
+ "incident": "basic",
29
+ "generic__component": "basic"
30
+ },
31
+ },
32
+ }
33
+
34
+ created = models.DateTimeField(auto_now_add=True)
35
+ modified = models.DateTimeField(auto_now=True)
36
+
37
+ group = models.ForeignKey(
38
+ "account.Group", on_delete=models.SET_NULL,
39
+ related_name="tickets",
40
+ null=True, default=None)
41
+ assigned_to = models.ForeignKey(
42
+ "account.Member", on_delete=models.SET_NULL,
43
+ related_name="tickets",
44
+ null=True, default=None)
45
+ created_by = models.ForeignKey(
46
+ "account.Member", on_delete=models.CASCADE,
47
+ related_name="+",
48
+ null=True, default=None)
49
+
50
+ # if category is null then this will run on all events?
51
+ category = models.CharField(max_length=200, db_index=True)
52
+ priority = models.IntegerField(default=10, db_index=True) # 1-10, 1 being the highest
53
+
54
+ title = models.CharField(max_length=200)
55
+ description = models.TextField()
56
+
57
+ status = models.CharField(max_length=32, default=None, null=True, db_index=True)
58
+ state = models.IntegerField(default=0) # how many incidents before firing action
59
+
60
+ incident = models.ForeignKey(
61
+ "incident.Incident", null=True, default=None,
62
+ related_name="tickets", on_delete=models.SET_NULL)
63
+
64
+ component = models.CharField(max_length=200, null=True, default=None, db_index=True)
65
+ component_id = models.IntegerField(null=True, blank=True, default=None, db_index=True)
@@ -158,3 +158,9 @@ def rest_firewall_block(request):
158
158
  return rv.restPermissionDenied(request)
159
159
  Task.Publish("incident", f"firewall_{action}", dict(ip=ip), channel="tq_broadcast")
160
160
  return rv.restStatus(request, True)
161
+
162
+
163
+ @rd.url('ticket')
164
+ @rd.url('ticket/<int:pk>')
165
+ def rest_on_ticket(request, pk=None):
166
+ return am.Ticket.on_rest_request(request, pk)
@@ -180,7 +180,7 @@
180
180
  <td align="left" style="font-size:0px;padding:0;word-break:break-word;">
181
181
  <div style="font-family:Roboto, Helvetica, Arial, sans-serif;font-size:30px;font-weight:300;line-height:30px;text-align:left;color:#FFFFFF;">
182
182
 
183
- New Incident on {{incident.hostname}}</div>
183
+ Incident #{{incident.pk}} on {{incident.hostname}}</div>
184
184
 
185
185
  </td>
186
186
  </tr>
@@ -195,10 +195,28 @@
195
195
  </tr>
196
196
  <tr>
197
197
  <td>
198
- <pre style="font-size: 16px; overflow-x: scroll; word-wrap: normal; max-width: 980px; padding: 8px;">{{incident.first_event.details}}
198
+ <pre style="font-size: 16px; overflow-x: scroll; word-wrap: normal; max-width: 980px; padding: 8px;">{{incident.first_event.details_by_category}}
199
199
  </pre>
200
200
  </td>
201
201
  </tr>
202
+ {% if history %}
203
+ <tr>
204
+ <td>
205
+ <pre style="font-size: 16px; overflow-x: scroll; word-wrap: normal; max-width: 980px; padding: 8px;">
206
+ updated by: {% if history %}{{history.by.username}}{% else %}system{% endif %}
207
+
208
+ {{history.note}}
209
+ </pre>
210
+ </td>
211
+ </tr>
212
+ {% endif %}
213
+ <tr>
214
+ <td>
215
+ <div style="font-family:Roboto, Helvetica, Arial, sans-serif;font-size:16;font-weight:300;font-style:italic;line-height:30px;text-align:left;">
216
+ You can respond to this email with notes or actions. Make sure to leave to blank lines at the end of your email. For actions just include one of these words on its own line: "open", "close", "pause", "ignore".
217
+ </div>
218
+ </td>
219
+ </tr>
202
220
 
203
221
  <tr>
204
222
  <td align="center" vertical-align="middle" style="font-size:0px;padding:10px 25px;word-break:break-word;">