aa-bb 3.2.1__tar.gz → 3.2.2__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 (181) hide show
  1. {aa_bb-3.2.1 → aa_bb-3.2.2}/PKG-INFO +2 -2
  2. {aa_bb-3.2.1 → aa_bb-3.2.2}/README.md +1 -1
  3. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/__init__.py +1 -1
  4. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/auth_hooks.py +6 -4
  5. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/views_paps.py +10 -5
  6. {aa_bb-3.2.1 → aa_bb-3.2.2}/.gitignore +0 -0
  7. {aa_bb-3.2.1 → aa_bb-3.2.2}/LICENSE +0 -0
  8. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/admin.py +0 -0
  9. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/app_settings.py +0 -0
  10. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/apps.py +0 -0
  11. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/celery.py +0 -0
  12. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/__init__.py +0 -0
  13. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/alliance_blacklist.py +0 -0
  14. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/alpha_skills.json +0 -0
  15. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/awox.py +0 -0
  16. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/clone_state.py +0 -0
  17. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/coalition_blacklist.py +0 -0
  18. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/corp_blacklist.py +0 -0
  19. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/corp_changes.py +0 -0
  20. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/cyno.py +0 -0
  21. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/hostile_assets.py +0 -0
  22. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/hostile_clones.py +0 -0
  23. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/roles_and_tokens.py +0 -0
  24. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/skills.json +0 -0
  25. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/skills.py +0 -0
  26. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/sus_contacts.py +0 -0
  27. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/sus_contracts.py +0 -0
  28. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/sus_mails.py +0 -0
  29. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks/sus_trans.py +0 -0
  30. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks_cb/__init__.py +0 -0
  31. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks_cb/hostile_assets.py +0 -0
  32. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks_cb/sus_contracts.py +0 -0
  33. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/checks_cb/sus_trans.py +0 -0
  34. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/esi_cache.py +0 -0
  35. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/esi_client.py +0 -0
  36. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/forms.py +0 -0
  37. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/locale/.gitkeep +0 -0
  38. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/management/__init__.py +0 -0
  39. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/management/commands/__init__.py +0 -0
  40. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/management/commands/manual_notif_test.py +0 -0
  41. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0001_initial.py +0 -0
  42. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0002_bigbrotherconfig_userstatus.py +0 -0
  43. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0003_alter_bigbrotherconfig_pingroleid.py +0 -0
  44. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0004_alter_bigbrotherconfig_is_active_and_more.py +0 -0
  45. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0005_alter_bigbrotherconfig_hostile_alliances.py +0 -0
  46. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0006_alter_bigbrotherconfig_pingroleid.py +0 -0
  47. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0007_alter_general_options.py +0 -0
  48. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0008_alliance_names_corporation_names.py +0 -0
  49. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0009_userstatus_sus_contacts_userstatus_sus_contracts_and_more.py +0 -0
  50. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0010_alter_userstatus_awox_kill_links_and_more.py +0 -0
  51. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0011_character_names.py +0 -0
  52. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0012_id_types.py +0 -0
  53. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0013_bigbrotherconfig_mail_keywords.py +0 -0
  54. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0014_processedcontract_processedmail_and_more.py +0 -0
  55. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0015_processedtransaction_sustransactionnote.py +0 -0
  56. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0016_warmprogress.py +0 -0
  57. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0017_entityinfocache.py +0 -0
  58. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0018_userstatus_cyno_userstatus_has_skills_and_more.py +0 -0
  59. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0019_bigbrotherconfig_whitelist_alliances_and_more.py +0 -0
  60. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0020_messages_bigbrotherconfig_are_daily_messages_active_and_more.py +0 -0
  61. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0021_alter_messages_id_alter_messages_text.py +0 -0
  62. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0022_messages_sent_in_cycle.py +0 -0
  63. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0023_optmessages1_optmessages2_optmessages3_optmessages4_and_more.py +0 -0
  64. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0024_bigbrotherconfig_dailyschedule_and_more.py +0 -0
  65. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0025_alter_messages_options_alter_optmessages1_options_and_more.py +0 -0
  66. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0026_alter_general_options_alter_bigbrotherconfig_id_and_more.py +0 -0
  67. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0027_alter_general_options_bigbrotherconfig_is_loa_active_and_more.py +0 -0
  68. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0028_alter_bigbrotherconfig_is_loa_active.py +0 -0
  69. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0029_leaverequest_main_character.py +0 -0
  70. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0030_alter_general_options.py +0 -0
  71. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0031_bigbrotherconfig_loa_max_logoff_days_and_more.py +0 -0
  72. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0032_alter_leaverequest_status.py +0 -0
  73. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0033_messagetype_bigbrotherconfig_pingroleid2_and_more.py +0 -0
  74. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0034_rename_last_updated_userstatus_updated.py +0 -0
  75. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0035_alter_userstatus_options.py +0 -0
  76. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0036_alter_general_options.py +0 -0
  77. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0037_corpstatus.py +0 -0
  78. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0038_bigbrotherconfig_ignored_corporations.py +0 -0
  79. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0039_alter_bigbrotherconfig_ignored_corporations.py +0 -0
  80. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0040_sovereigntymapcache_corporationinfocache_and_more.py +0 -0
  81. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0041_bigbrotherconfig_is_warmer_active.py +0 -0
  82. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0042_alter_general_options_and_more.py +0 -0
  83. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0043_bigbrotherconfig_bb_member_states_and_more.py +0 -0
  84. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0044_bigbrotherconfig_character_scopes_and_more.py +0 -0
  85. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0045_userstatus_sp_age_ratio_result.py +0 -0
  86. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0046_bigbrotherconfig_member_corporations.py +0 -0
  87. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0047_bigbrotherconfig_member_alliances.py +0 -0
  88. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0048_characteraccountstate.py +0 -0
  89. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0049_userstatus_clone_status.py +0 -0
  90. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0050_alter_general_options_and_more.py +0 -0
  91. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0051_monthlypapstats.py +0 -0
  92. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0052_papsconfig_delete_monthlypapstats.py +0 -0
  93. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0053_alter_papsconfig_corp_modifier_and_more.py +0 -0
  94. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0054_alter_general_options.py +0 -0
  95. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0055_papsconfig_group_paps_papsconfig_group_paps_modifier.py +0 -0
  96. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0056_alter_papsconfig_group_paps.py +0 -0
  97. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0057_papsconfig_excluded_groups_papsconfig_excluded_users_and_more.py +0 -0
  98. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0058_papsconfig_excluded_groups_get_paps_and_more.py +0 -0
  99. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0059_alter_papsconfig_excluded_groups_get_paps.py +0 -0
  100. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0060_papsconfig_cap_group_papsconfig_cap_group_paps_and_more.py +0 -0
  101. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0061_remove_papsconfig_cap_group_and_more.py +0 -0
  102. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0062_complianceticket.py +0 -0
  103. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0063_alter_complianceticket_user.py +0 -0
  104. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0064_alter_complianceticket_reason.py +0 -0
  105. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0065_alter_complianceticket_reason_and_more.py +0 -0
  106. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0066_tickettoolconfig_papcompliance.py +0 -0
  107. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0067_remove_tickettoolconfig_category_id_and_more.py +0 -0
  108. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0068_tickettoolconfig_category_id_and_more.py +0 -0
  109. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0069_tickettoolconfig_ticket_counter.py +0 -0
  110. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0070_remove_tickettoolconfig_role_id_and_more.py +0 -0
  111. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0071_tickettoolconfig_role_id.py +0 -0
  112. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0072_alter_complianceticket_reason.py +0 -0
  113. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0073_tickettoolconfig_starting_pap_compliance.py +0 -0
  114. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0074_alter_bigbrotherconfig_hostile_alliances.py +0 -0
  115. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0075_bbupdatestate_tickettoolconfig_afk_check_frequency_and_more.py +0 -0
  116. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0076_id_types_last_accessed_frequentcorpchangescache_and_more.py +0 -0
  117. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0077_complianceticket_ticket_id_and_more.py +0 -0
  118. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0078_tickettoolconfig_awox_monitor_enabled.py +0 -0
  119. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0079_helptext_guidance.py +0 -0
  120. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0080_bigbrotherconfig_dlc_flags.py +0 -0
  121. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0081_remove_papsconfig_imp_modifier_and_more.py +0 -0
  122. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0082_remove_bigbrotherconfig_token_and_more.py +0 -0
  123. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0083_alter_bigbrotherredditmessage_options_and_more.py +0 -0
  124. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0084_bigbrotherconfig_consider_all_structures_hostile_and_more.py +0 -0
  125. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0085_bigbrotherconfig_awox_notify_and_more.py +0 -0
  126. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0086_bigbrotherconfig_are_recurring_stats_active_and_more.py +0 -0
  127. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0087_bigbrotherconfig_dlc_are_recurring_stats_active.py +0 -0
  128. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0088_bigbrotherconfig_cyno_notify.py +0 -0
  129. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0089_bigbrotherconfig_asset_notify_and_more.py +0 -0
  130. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0090_alter_papsconfig_options_and_more.py +0 -0
  131. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0091_remove_bigbrotherconfig_dlc_are_recurring_stats_active_and_more.py +0 -0
  132. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/0092_userstatus_baseline_initialized.py +0 -0
  133. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/migrations/__init__.py +0 -0
  134. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/models.py +0 -0
  135. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/reddit.py +0 -0
  136. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/signals.py +0 -0
  137. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/static/aa_bb/.gitkeep +0 -0
  138. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks.py +0 -0
  139. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks_bot.py +0 -0
  140. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks_cb.py +0 -0
  141. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks_ct.py +0 -0
  142. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks_other.py +0 -0
  143. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks_reddit.py +0 -0
  144. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tasks_tickets.py +0 -0
  145. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/aa_bb/base.html +0 -0
  146. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/aa_bb/disabled.html +0 -0
  147. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/aa_bb/index.html +0 -0
  148. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/aa_cb/base.html +0 -0
  149. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/aa_cb/disabled.html +0 -0
  150. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/aa_cb/index.html +0 -0
  151. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/base.html +0 -0
  152. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/cards.html +0 -0
  153. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/faq.html +0 -0
  154. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/menu.html +0 -0
  155. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/modules.html +0 -0
  156. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/settings_bigbrother.html +0 -0
  157. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/settings_nav.html +0 -0
  158. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/settings_paps.html +0 -0
  159. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/faq/settings_tickets.html +0 -0
  160. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/_loa_subtabs.html +0 -0
  161. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/admin.html +0 -0
  162. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/base.html +0 -0
  163. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/disabled.html +0 -0
  164. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/index.html +0 -0
  165. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/menu.html +0 -0
  166. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/loa/request.html +0 -0
  167. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/paps/base.html +0 -0
  168. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/paps/disabled.html +0 -0
  169. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/paps/history.html +0 -0
  170. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/paps/index.html +0 -0
  171. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/templates/paps/menu.html +0 -0
  172. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tests/__init__.py +0 -0
  173. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/tests/test_example.py +0 -0
  174. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/urls.py +0 -0
  175. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/urls_cb.py +0 -0
  176. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/urls_loa.py +0 -0
  177. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/urls_paps.py +0 -0
  178. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/views.py +0 -0
  179. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/views_cb.py +0 -0
  180. {aa_bb-3.2.1 → aa_bb-3.2.2}/aa_bb/views_faq.py +0 -0
  181. {aa_bb-3.2.1 → aa_bb-3.2.2}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aa_bb
3
- Version: 3.2.1
3
+ Version: 3.2.2
4
4
  Summary: BigBrother
5
5
  Project-URL: Changelog, https://github.com/BroodLK/aa_bb/blob/main/CHANGELOG.md
6
6
  Project-URL: Issue / Bug Reports, https://github.com/BroodLK/aa_bb/issues
@@ -98,7 +98,7 @@ After making sure to add the above prerequisite applications.
98
98
  source /home/allianceserver/venv/auth/bin/activate && cd /home/allianceserver/myauth/
99
99
  ```
100
100
  ```bash
101
- pip install aa-bb==3.1.0b2
101
+ pip install aa-bb==3.2.1
102
102
  ```
103
103
  ```bash
104
104
  vi myauth/settings/local.py
@@ -58,7 +58,7 @@ After making sure to add the above prerequisite applications.
58
58
  source /home/allianceserver/venv/auth/bin/activate && cd /home/allianceserver/myauth/
59
59
  ```
60
60
  ```bash
61
- pip install aa-bb==3.1.0b2
61
+ pip install aa-bb==3.2.1
62
62
  ```
63
63
  ```bash
64
64
  vi myauth/settings/local.py
@@ -1,4 +1,4 @@
1
1
  """Initialize the app"""
2
2
 
3
- __version__ = "3.2.1"
3
+ __version__ = "3.2.2"
4
4
  __title__ = "BigBrother"
@@ -11,6 +11,7 @@ from allianceauth.services.hooks import MenuItemHook, UrlHook
11
11
  from aa_bb import urls, urls_loa, urls_cb, urls_paps
12
12
  from .models import BigBrotherConfig, LeaveRequest
13
13
 
14
+ from .app_settings import afat_active
14
15
 
15
16
  class CorpBrotherMenuItem(MenuItemHook):
16
17
  """This class ensures only authorized users will see the menu entry"""
@@ -174,10 +175,11 @@ def register_paps_menu():
174
175
  """Register the PAP stats sidebar entry."""
175
176
  return PapsMenuItem()
176
177
 
177
- @hooks.register("url_hook")
178
- def register_paps_urls():
179
- """Wire the PAP URLconf into AllianceAuth."""
180
- return UrlHook(urls_paps, "paps", r"^paps/")
178
+ if afat_active():
179
+ @hooks.register("url_hook")
180
+ def register_paps_urls():
181
+ """Wire the PAP URLconf into AllianceAuth."""
182
+ return UrlHook(urls_paps, "paps", r"^paps/")
181
183
 
182
184
 
183
185
  @hooks.register('discord_cogs_hook')
@@ -16,15 +16,20 @@ from django.urls import reverse
16
16
  from .models import BigBrotherConfig, PapsConfig, PapCompliance, TicketToolConfig, LeaveRequest
17
17
  from .app_settings import get_user_profiles, get_user_characters, afat_active
18
18
 
19
- try:
20
- from afat.models import Fat
21
- except ImportError:
22
- logger.error("afat not installed; PAP generation will not work.")
19
+ AFAT_INSTALLED = False
20
+ if afat_active():
21
+ try:
22
+ from afat.models import Fat
23
+ AFAT_INSTALLED = True
24
+ except ImportError:
25
+ logger.error("afat not installed; PAP generation will not work.")
23
26
 
24
27
  @login_required
25
28
  @permission_required("aa_bb.can_generate_paps")
26
29
  def index(request):
27
30
  """Render the PAP entry form allowing recruiters to input monthly stats."""
31
+ if not afat_active():
32
+ return render(request, "paps/disabled.html")
28
33
  cfg = BigBrotherConfig.get_solo()
29
34
  if not cfg.is_paps_active: # Disable UI when PAP module turned off.
30
35
  return render(request, "paps/disabled.html")
@@ -123,7 +128,7 @@ def index(request):
123
128
  corp_paps += paps_to_add
124
129
 
125
130
 
126
- if afat_active(): # Count Alliance FATs per character for corp PAP totals.
131
+ if AFAT_INSTALLED: # Count Alliance FATs per character for corp PAP totals.
127
132
  for char in characters:
128
133
  fats = Fat.objects.filter(
129
134
  character__character_id=char,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes