aa-structures 2.7.1__tar.gz → 2.8.0__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 (221) hide show
  1. {aa_structures-2.7.1 → aa_structures-2.8.0}/PKG-INFO +2 -1
  2. {aa_structures-2.7.1 → aa_structures-2.8.0}/pyproject.toml +1 -0
  3. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/__init__.py +1 -1
  4. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/models/notifications.py +2 -0
  5. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_notifications_1.py +2 -1
  6. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_notifications_2.py +2 -1
  7. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/test_admin.py +12 -6
  8. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/test_tasks.py +2 -1
  9. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/models.py +1 -0
  10. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/tests/test_core.py +4 -2
  11. {aa_structures-2.7.1 → aa_structures-2.8.0}/LICENSE +0 -0
  12. {aa_structures-2.7.1 → aa_structures-2.8.0}/README.md +0 -0
  13. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/admin.py +0 -0
  14. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/app_settings.py +0 -0
  15. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/apps.py +0 -0
  16. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/auth_hooks.py +0 -0
  17. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/constants.py +0 -0
  18. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/__init__.py +0 -0
  19. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/__init__.py +0 -0
  20. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/billing_embeds.py +0 -0
  21. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/character_embeds.py +0 -0
  22. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/helpers.py +0 -0
  23. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/main.py +0 -0
  24. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/moonmining_embeds.py +0 -0
  25. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/orbital_embeds.py +0 -0
  26. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/sov_embeds.py +0 -0
  27. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/structures_embeds.py +0 -0
  28. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/tower_embeds.py +0 -0
  29. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_embeds/war_embeds.py +0 -0
  30. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_timers.py +0 -0
  31. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/notification_types.py +0 -0
  32. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/serializers.py +0 -0
  33. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/sovereignty.py +0 -0
  34. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/core/starbases.py +0 -0
  35. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/forms.py +0 -0
  36. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/helpers.py +0 -0
  37. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/de/LC_MESSAGES/django.mo +0 -0
  38. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/de/LC_MESSAGES/django.po +0 -0
  39. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/django.pot +0 -0
  40. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/en/LC_MESSAGES/django.mo +0 -0
  41. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/en/LC_MESSAGES/django.po +0 -0
  42. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/es/LC_MESSAGES/django.mo +0 -0
  43. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/es/LC_MESSAGES/django.po +0 -0
  44. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  45. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/fr_FR/LC_MESSAGES/django.po +0 -0
  46. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/it_IT/LC_MESSAGES/django.mo +0 -0
  47. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/it_IT/LC_MESSAGES/django.po +0 -0
  48. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/ja/LC_MESSAGES/django.mo +0 -0
  49. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/ja/LC_MESSAGES/django.po +0 -0
  50. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  51. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/ko_KR/LC_MESSAGES/django.po +0 -0
  52. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/ru/LC_MESSAGES/django.mo +0 -0
  53. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/ru/LC_MESSAGES/django.po +0 -0
  54. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/uk/LC_MESSAGES/django.mo +0 -0
  55. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/uk/LC_MESSAGES/django.po +0 -0
  56. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  57. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/locale/zh_Hans/LC_MESSAGES/django.po +0 -0
  58. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/management/commands/__init__.py +0 -0
  59. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/management/commands/structures_load_eve.py +0 -0
  60. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/management/commands/structures_preload_eveuniverse.py +0 -0
  61. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/management/commands/structures_update_poco_planets.py +0 -0
  62. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/managers.py +0 -0
  63. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/migrations/0001_initial_new.py +0 -0
  64. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/migrations/0002_remove_eveuniverse_relation_names.py +0 -0
  65. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/migrations/0003_add_localization_and_unique_key.py +0 -0
  66. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/migrations/0004_improve_localization.py +0 -0
  67. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/migrations/__init__.py +0 -0
  68. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/models/__init__.py +0 -0
  69. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/models/eveuniverse.py +0 -0
  70. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/models/owners.py +0 -0
  71. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/models/structures_1.py +0 -0
  72. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/models/structures_2.py +0 -0
  73. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/providers.py +0 -0
  74. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/css/global.css +0 -0
  75. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/css/main.css +0 -0
  76. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/css/public.css +0 -0
  77. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/css/statistics.css +0 -0
  78. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/css/structures.css +0 -0
  79. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/bars-rotate-fade-black-36.svg +0 -0
  80. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/bars-rotate-fade-white-36.svg +0 -0
  81. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/eve_symbol_128.png +0 -0
  82. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/0h.png +0 -0
  83. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/0l.png +0 -0
  84. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/0m.png +0 -0
  85. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/0r.png +0 -0
  86. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/0s.png +0 -0
  87. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/1h.png +0 -0
  88. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/1l.png +0 -0
  89. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/1m.png +0 -0
  90. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/1r.png +0 -0
  91. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/2h.png +0 -0
  92. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/2l.png +0 -0
  93. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/2m.png +0 -0
  94. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/2r.png +0 -0
  95. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/3h.png +0 -0
  96. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/3l.png +0 -0
  97. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/3m.png +0 -0
  98. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/3r.png +0 -0
  99. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/4h.png +0 -0
  100. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/4l.png +0 -0
  101. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/4m.png +0 -0
  102. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/4s.png +0 -0
  103. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/5h.png +0 -0
  104. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/5l.png +0 -0
  105. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/5m.png +0 -0
  106. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/5s.png +0 -0
  107. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/6h.png +0 -0
  108. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/6l.png +0 -0
  109. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/6m.png +0 -0
  110. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/7h.png +0 -0
  111. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/7l.png +0 -0
  112. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/7m.png +0 -0
  113. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/8h.png +0 -0
  114. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/8l.png +0 -0
  115. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/8m.png +0 -0
  116. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/blank.png +0 -0
  117. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/circle.png +0 -0
  118. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/dustwheel.png +0 -0
  119. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/h.png +0 -0
  120. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/l.png +0 -0
  121. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/m.png +0 -0
  122. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/noship.png +0 -0
  123. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/r.png +0 -0
  124. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/tyrannis.png +0 -0
  125. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/tyrannis_blue.png +0 -0
  126. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/tyrannis_darkred.png +0 -0
  127. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/tyrannis_default.png +0 -0
  128. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/panel/tyrannis_revelations.png +0 -0
  129. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/img/structures_logo.png +0 -0
  130. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/js/global.js +0 -0
  131. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/js/public.js +0 -0
  132. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/js/statistics.js +0 -0
  133. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/js/structures.js +0 -0
  134. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/vendor/datatables/plugins/dataTables.rowGroup.min.js +0 -0
  135. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/vendor/datatables/plugins/datetime.js +0 -0
  136. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/vendor/datatables/plugins/filterDropDown.min.js +0 -0
  137. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/vendor/datatables/plugins/rowGroup.bootstrap.min.css +0 -0
  138. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/static/structures/vendor/datatables/plugins/rowGroup.dataTables.min.css +0 -0
  139. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tasks.py +0 -0
  140. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/base.html +0 -0
  141. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/fitting_assets.html +0 -0
  142. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/fitting_gfx.html +0 -0
  143. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/poco_details.html +0 -0
  144. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/starbase_detail.html +0 -0
  145. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/structure_details.html +0 -0
  146. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/tab_general_detail.html +0 -0
  147. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/modals/tab_services_detail.html +0 -0
  148. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/menu.html +0 -0
  149. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/public/poco_list.html +0 -0
  150. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/statistics/structure_summary.html +0 -0
  151. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/structures/active_tags.html +0 -0
  152. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/structures/jump_gates_list.html +0 -0
  153. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/structures/poco_list.html +0 -0
  154. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/structures/starbase_list.html +0 -0
  155. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/partials/structures/structure_list.html +0 -0
  156. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/public.html +0 -0
  157. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/statistics.html +0 -0
  158. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/structures.html +0 -0
  159. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/templatetags/detail_title.html +0 -0
  160. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/templatetags/list_asset.html +0 -0
  161. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/templatetags/list_item.html +0 -0
  162. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/templatetags/list_tax_item.html +0 -0
  163. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templates/structures/templatetags/list_title.html +0 -0
  164. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templatetags/__init__.py +0 -0
  165. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/templatetags/structures.py +0 -0
  166. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/__init__.py +0 -0
  167. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/__init__.py +0 -0
  168. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/notification_embeds/__init__.py +0 -0
  169. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/notification_embeds/test_helpers.py +0 -0
  170. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/notification_embeds/test_main.py +0 -0
  171. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/test_notification_structuretimers.py +0 -0
  172. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/test_notification_types.py +0 -0
  173. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/test_notifications_timerboard.py +0 -0
  174. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/test_serializers.py +0 -0
  175. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/test_sovereignty.py +0 -0
  176. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/core/test_starbases.py +0 -0
  177. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/integration/__init__.py +0 -0
  178. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/integration/test_tasks.py +0 -0
  179. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/integration/test_views.py +0 -0
  180. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/__init__.py +0 -0
  181. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_eveuniverse.py +0 -0
  182. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_notifications_3.py +0 -0
  183. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_notifications_discord.py +0 -0
  184. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_owners_1.py +0 -0
  185. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_owners_2.py +0 -0
  186. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_owners_3.py +0 -0
  187. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_owners_4.py +0 -0
  188. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_owners_5.py +0 -0
  189. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/models/test_structures.py +0 -0
  190. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/test_helpers.py +0 -0
  191. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/test_managers_1.py +0 -0
  192. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/test_managers_2.py +0 -0
  193. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/__init__.py +0 -0
  194. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/create_eveuniverse.py +0 -0
  195. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/entities.json +0 -0
  196. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/esi_data.json +0 -0
  197. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/eveuniverse.json +0 -0
  198. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/factories.py +0 -0
  199. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/generate_notifications.py +0 -0
  200. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/generate_notifications_2.py +0 -0
  201. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/generate_structures.py +0 -0
  202. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/helpers.py +0 -0
  203. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/load_eveuniverse.py +0 -0
  204. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/tasks_loadtest.py +0 -0
  205. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/testdata/test_generate_structures.py +0 -0
  206. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/views/__init__.py +0 -0
  207. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/views/test_public.py +0 -0
  208. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/views/test_statistics.py +0 -0
  209. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/views/test_structures.py +0 -0
  210. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/tests/views/utils.py +0 -0
  211. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/urls.py +0 -0
  212. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/views/__init__.py +0 -0
  213. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/views/common.py +0 -0
  214. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/views/public.py +0 -0
  215. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/views/statistics.py +0 -0
  216. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/views/structures.py +0 -0
  217. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/__init__.py +0 -0
  218. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/core.py +0 -0
  219. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/managers.py +0 -0
  220. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/tests/__init__.py +0 -0
  221. {aa_structures-2.7.1 → aa_structures-2.8.0}/structures/webhooks/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aa-structures
3
- Version: 2.7.1
3
+ Version: 2.8.0
4
4
  Summary: App for managing Eve Online structures with Alliance Auth.
5
5
  Author-email: Erik Kalkoken <kalkoken87@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -8,6 +8,7 @@ Description-Content-Type: text/markdown
8
8
  Classifier: Environment :: Web Environment
9
9
  Classifier: Framework :: Django
10
10
  Classifier: Framework :: Django :: 4.0
11
+ Classifier: Framework :: Django :: 4.2
11
12
  Classifier: Intended Audience :: End Users/Desktop
12
13
  Classifier: License :: OSI Approved :: MIT License
13
14
  Classifier: Operating System :: OS Independent
@@ -13,6 +13,7 @@ classifiers = [
13
13
  "Environment :: Web Environment",
14
14
  "Framework :: Django",
15
15
  "Framework :: Django :: 4.0",
16
+ "Framework :: Django :: 4.2",
16
17
  "Intended Audience :: End Users/Desktop",
17
18
  "License :: OSI Approved :: MIT License",
18
19
  "Operating System :: OS Independent",
@@ -3,5 +3,5 @@
3
3
  # pylint: disable = invalid-name
4
4
  default_app_config = "structures.apps.StructuresConfig"
5
5
 
6
- __version__ = "2.7.1"
6
+ __version__ = "2.8.0"
7
7
  __title__ = "Structures"
@@ -8,6 +8,7 @@ from typing import Optional, Tuple, Union
8
8
  import dhooks_lite
9
9
  import yaml
10
10
  from multiselectfield import MultiSelectField
11
+ from multiselectfield.utils import get_max_length
11
12
  from requests.exceptions import HTTPError
12
13
 
13
14
  from django.contrib.auth.models import Group
@@ -67,6 +68,7 @@ class Webhook(WebhookBase):
67
68
 
68
69
  notification_types = MultiSelectField(
69
70
  choices=NotificationType.choices,
71
+ max_length=get_max_length(NotificationType.choices, None),
70
72
  default=NotificationType.webhook_defaults(),
71
73
  verbose_name=_("notification types"),
72
74
  help_text=_(
@@ -592,7 +592,8 @@ class TestNotificationSendToWebhook(NoSocketsTestCase):
592
592
  @patch(MODULE_PATH + ".Webhook.send_message", spec=True)
593
593
  class TestNotificationSendMessage(NoSocketsTestCase):
594
594
  @classmethod
595
- def setUpTestData(cls):
595
+ def setUpClass(cls): # Can not be setUpTestData due to conflict with redis client
596
+ super().setUpClass()
596
597
  load_eveuniverse()
597
598
  load_eve_entities()
598
599
  cls.owner = OwnerFactory(is_alliance_main=True)
@@ -33,7 +33,8 @@ MODULE_PATH = "structures.models.notifications"
33
33
  @patch(MODULE_PATH + ".Webhook.send_message", spec=True)
34
34
  class TestStructureFuelAlerts(NoSocketsTestCase):
35
35
  @classmethod
36
- def setUpTestData(cls):
36
+ def setUpClass(cls): # Can not be setUpTestData due to conflict with redis client
37
+ super().setUpClass()
37
38
  load_eveuniverse()
38
39
  load_eve_entities()
39
40
  cls.owner = OwnerFactory()
@@ -52,7 +52,8 @@ class MockRequest(object):
52
52
 
53
53
  class TestFuelNotificationConfigAdminView(TestCase):
54
54
  @classmethod
55
- def setUpTestData(cls):
55
+ def setUpClass(cls):
56
+ super().setUpClass()
56
57
  cls.defaults = {
57
58
  "is_enabled": True,
58
59
  "channel_ping_type": Webhook.PingType.HERE,
@@ -213,7 +214,8 @@ class TestFuelNotificationConfigAdminView(TestCase):
213
214
 
214
215
  class TestStructureFuelAlertAdmin(TestCase):
215
216
  @classmethod
216
- def setUpTestData(cls):
217
+ def setUpClass(cls):
218
+ super().setUpClass()
217
219
  cls.modeladmin = StructureFuelAlertConfigAdmin(
218
220
  model=FuelAlertConfig, admin_site=AdminSite()
219
221
  )
@@ -235,7 +237,8 @@ class TestStructureFuelAlertAdmin(TestCase):
235
237
 
236
238
  class TestNotificationAdmin(TestCase):
237
239
  @classmethod
238
- def setUpTestData(cls):
240
+ def setUpClass(cls):
241
+ super().setUpClass()
239
242
  cls.factory = RequestFactory()
240
243
  load_eveuniverse()
241
244
  cls.modeladmin = NotificationAdmin(model=Notification, admin_site=AdminSite())
@@ -355,7 +358,8 @@ class TestNotificationAdmin(TestCase):
355
358
 
356
359
  class TestOwnerAdmin(TestCase):
357
360
  @classmethod
358
- def setUpTestData(cls):
361
+ def setUpClass(cls):
362
+ super().setUpClass()
359
363
  cls.factory = RequestFactory()
360
364
  cls.modeladmin = OwnerAdmin(model=Owner, admin_site=AdminSite())
361
365
  load_eveuniverse()
@@ -454,7 +458,8 @@ class TestOwnerAdmin(TestCase):
454
458
 
455
459
  class TestStructureAdmin(TestCase):
456
460
  @classmethod
457
- def setUpTestData(cls):
461
+ def setUpClass(cls):
462
+ super().setUpClass()
458
463
  cls.factory = RequestFactory()
459
464
  load_eveuniverse()
460
465
  cls.modeladmin = StructureAdmin(model=Structure, admin_site=AdminSite())
@@ -609,7 +614,8 @@ class TestStructureAdmin(TestCase):
609
614
 
610
615
  class TestWebhookAdmin(TestCase):
611
616
  @classmethod
612
- def setUpTestData(cls):
617
+ def setUpClass(cls):
618
+ super().setUpClass()
613
619
  cls.modeladmin = WebhookAdmin(model=Webhook, admin_site=AdminSite())
614
620
  cls.user = SuperuserFactory()
615
621
 
@@ -26,7 +26,8 @@ MODULE_PATH_MODELS_OWNERS = "structures.models.owners"
26
26
  @patch(MODULE_PATH + ".Webhook.send_queued_messages", spec=True)
27
27
  class TestSendMessagesForWebhook(TestCase):
28
28
  @classmethod
29
- def setUpTestData(cls):
29
+ def setUpClass(cls): # Can not be setUpTestData due to conflict with redis client
30
+ super().setUpClass()
30
31
  cls.webhook = WebhookFactory()
31
32
 
32
33
  def test_normal(self, mock_send_queued_messages):
@@ -7,6 +7,7 @@ from .core import DiscordWebhookMixin
7
7
  from .managers import WebhookBaseManager
8
8
 
9
9
 
10
+ # TODO: Investigate if this can be changed to a dependency injection to use fakes
10
11
  class WebhookBase(DiscordWebhookMixin, models.Model):
11
12
  """Base model for a Webhook"""
12
13
 
@@ -33,7 +33,8 @@ class Webhook(core.DiscordWebhookMixin):
33
33
  @patch(MODULE_PATH + ".sleep", lambda _: None)
34
34
  class TestDiscordWebhookMixin(TestCase):
35
35
  @classmethod
36
- def setUpTestData(cls):
36
+ def setUpClass(cls): # Can not be setUpTestData due to conflict with redis client
37
+ super().setUpClass()
37
38
  cls.webhook = WebhookFactory.build(name="Dummy 1", url="dummy-1-url")
38
39
 
39
40
  def setUp(self) -> None:
@@ -144,7 +145,8 @@ class TestDiscordWebhookMixin(TestCase):
144
145
  @patch(MODULE_PATH + ".dhooks_lite.Webhook.execute")
145
146
  class TestSendTestMessage(TestCase):
146
147
  @classmethod
147
- def setUpTestData(cls):
148
+ def setUpClass(cls): # Can not be setUpTestData due to conflict with redis client
149
+ super().setUpClass()
148
150
  cls.webhook = WebhookFactory(name="Dummy 1", url="dummy-1-url")
149
151
 
150
152
  def setUp(self) -> None:
File without changes
File without changes