archivebox.core.admin
ď
Module Contentsď
Classesď
Accellerated Pagniator ignores DISTINCT when counting total number of rows. Speeds up SELECT Count(*) on Admin views by >20x. https://hakibenita.com/optimizing-the-django-admin-paginator |
|
Functionsď
Dataď
APIď
- archivebox.core.admin.__package__ď
âarchivebox.coreâ
- archivebox.core.admin.CONFIGď
None
- archivebox.core.admin.GLOBAL_CONTEXTď
None
- class archivebox.core.admin.ArchiveBoxAdminď
Bases:
django.contrib.admin.AdminSite
- site_headerď
âArchiveBoxâ
- index_titleď
âLinksâ
- site_titleď
âIndexâ
- namespaceď
âadminâ
- class archivebox.core.admin.CustomUserAdminď
Bases:
django.contrib.auth.admin.UserAdmin
- sort_fieldsď
[âidâ, âemailâ, âusernameâ, âis_superuserâ, âlast_loginâ, âdate_joinedâ]
- list_displayď
[âusernameâ, âidâ, âemailâ, âis_superuserâ, âlast_loginâ, âdate_joinedâ]
- readonly_fieldsď
(âsnapshot_setâ, âarchiveresult_setâ, âtag_setâ, âapitoken_setâ, âoutboundwebhook_setâ)
- fieldsetsď
None
- snapshot_set(obj)ď
- archiveresult_set(obj)ď
- tag_set(obj)ď
- apitoken_set(obj)ď
- outboundwebhook_set(obj)ď
- archivebox.core.admin.archivebox_adminď
âArchiveBoxAdmin(âŚ)â
- class archivebox.core.admin.CustomTaskModelAdminď
Bases:
huey_monitor.admin.TaskModelAdmin
- actionsď
[âdelete_selectedâ]
- has_delete_permission(request, obj=None)ď
- archivebox.core.admin.result_url(result: huey_monitor.admin.TaskModel) str ď
- class archivebox.core.admin.AccelleratedPaginatorď
Bases:
django.core.paginator.Paginator
Accellerated Pagniator ignores DISTINCT when counting total number of rows. Speeds up SELECT Count(*) on Admin views by >20x. https://hakibenita.com/optimizing-the-django-admin-paginator
- count()ď
- class archivebox.core.admin.ArchiveResultInlineď
Bases:
django.contrib.admin.TabularInline
- nameď
âArchive Results Logâ
- modelď
None
- parent_modelď
None
- extraď
0
- sort_fieldsď
(âend_tsâ, âextractorâ, âoutputâ, âstatusâ, âcmd_versionâ)
- readonly_fieldsď
(âidâ, âresult_idâ, âcompletedâ, âcommandâ, âversionâ)
- fieldsď
(âstart_tsâ, âend_tsâ)
- orderingď
(âend_tsâ,)
- show_change_linkď
True
- get_parent_object_from_request(request)ď
- completed(obj)ď
- result_id(obj)ď
- command(obj)ď
- version(obj)ď
- get_formset(request, obj=None, **kwargs)ď
- get_readonly_fields(request, obj=None)ď
- class archivebox.core.admin.TagInlineď
Bases:
django.contrib.admin.TabularInline
- modelď
None
- fieldsď
(âidâ, âtagâ)
- extraď
1
- max_numď
1000
- autocomplete_fieldsď
(âtagâ,)
- class archivebox.core.admin.SnapshotActionFormď
Bases:
django.contrib.admin.helpers.ActionForm
- tagsď
âModelMultipleChoiceField(âŚ)â
- class archivebox.core.admin.SnapshotAdminď
Bases:
core.mixins.SearchResultsAdminMixin
,abid_utils.admin.ABIDModelAdmin
- list_displayď
(âcreated_atâ, âtitle_strâ, âfilesâ, âsizeâ, âurl_strâ)
- sort_fieldsď
(âtitle_strâ, âurl_strâ, âcreated_atâ)
- readonly_fieldsď
(âadmin_actionsâ, âstatus_infoâ, âtags_strâ, âimported_timestampâ, âcreated_atâ, âmodified_atâ, âdowâŚ
- search_fieldsď
(âidâ, âurlâ, âabidâ, âtimestampâ, âtitleâ, âtags__nameâ)
- list_filterď
(âcreated_atâ, âdownloaded_atâ, âarchiveresult__statusâ, âcreated_byâ, âtags__nameâ)
- fieldsď
(âurlâ, âtitleâ, âcreated_byâ, âbookmarked_atâ)
- orderingď
[â-created_atâ]
- actionsď
[âadd_tagsâ, âremove_tagsâ, âupdate_titlesâ, âupdate_snapshotsâ, âresnapshot_snapshotâ, âoverwrite_sâŚ
- inlinesď
None
- list_per_pageď
âmin(âŚ)â
- action_formď
None
- paginatorď
None
- save_on_topď
True
- show_full_result_countď
False
- changelist_view(request, extra_context=None)ď
- get_urls()ď
- imported_timestamp(obj)ď
- admin_actions(obj)ď
- status_info(obj)ď
- title_str(obj)ď
- files(obj)ď
- size(obj)ď
- url_str(obj)ď
- grid_view(request, extra_context=None)ď
- update_titles(request, queryset)ď
- update_snapshots(request, queryset)ď
- resnapshot_snapshot(request, queryset)ď
- overwrite_snapshots(request, queryset)ď
- delete_snapshots(request, queryset)ď
- add_tags(request, queryset)ď
- remove_tags(request, queryset)ď
- class archivebox.core.admin.TagAdminď
Bases:
abid_utils.admin.ABIDModelAdmin
- list_displayď
(âcreated_atâ, âcreated_byâ, âabidâ, ânameâ, ânum_snapshotsâ, âsnapshotsâ)
- list_filterď
(âcreated_atâ, âcreated_byâ)
- sort_fieldsď
(ânameâ, âslugâ, âabidâ, âcreated_byâ, âcreated_atâ)
- readonly_fieldsď
(âslugâ, âabidâ, âcreated_atâ, âmodified_atâ, âabid_infoâ, âsnapshotsâ)
- search_fieldsď
(âabidâ, ânameâ, âslugâ)
- fieldsď
(ânameâ, âcreated_byâ)
- actionsď
[âdelete_selectedâ]
- orderingď
[â-created_atâ]
- paginatorď
None
- num_snapshots(tag)ď
- snapshots(tag)ď
- class archivebox.core.admin.ArchiveResultAdminď
Bases:
abid_utils.admin.ABIDModelAdmin
- list_displayď
(âstart_tsâ, âsnapshot_infoâ, âtags_strâ, âextractorâ, âcmd_strâ, âstatusâ, âoutput_strâ)
- sort_fieldsď
(âstart_tsâ, âextractorâ, âstatusâ)
- readonly_fieldsď
(âcmd_strâ, âsnapshot_infoâ, âtags_strâ, âcreated_atâ, âmodified_atâ, âabid_infoâ, âoutput_summaryâ)
- search_fieldsď
(âidâ, âabidâ, âsnapshot__urlâ, âextractorâ, âoutputâ, âcmd_versionâ, âcmdâ, âsnapshot__timestampâ)
- fieldsď
(âsnapshotâ, âextractorâ, âstatusâ, âoutputâ, âpwdâ, âstart_tsâ, âend_tsâ, âcreated_byâ, âcmd_versioâŚ
- autocomplete_fieldsď
[âsnapshotâ]
- list_filterď
(âstatusâ, âextractorâ, âstart_tsâ, âcmd_versionâ)
- orderingď
[â-start_tsâ]
- list_per_pageď
None
- paginatorď
None
- save_on_topď
True
- actionsď
[âdelete_selectedâ]
- change_view(request, object_id, form_url='', extra_context=None)ď
- snapshot_info(result)ď
- tags_str(result)ď
- cmd_str(result)ď
- output_str(result)ď
- output_summary(result)ď
- class archivebox.core.admin.APITokenAdminď
Bases:
abid_utils.admin.ABIDModelAdmin
- list_displayď
(âcreated_atâ, âabidâ, âcreated_byâ, âtoken_redactedâ, âexpiresâ)
- sort_fieldsď
(âabidâ, âcreated_atâ, âcreated_byâ, âexpiresâ)
- readonly_fieldsď
(âcreated_atâ, âmodified_atâ, âabid_infoâ)
- search_fieldsď
(âidâ, âabidâ, âcreated_by__usernameâ, âtokenâ)
- fieldsď
(âcreated_byâ, âtokenâ, âexpiresâ)
- list_filterď
(âcreated_byâ,)
- orderingď
[â-created_atâ]
- list_per_pageď
100
- class archivebox.core.admin.CustomWebhookAdminď
Bases:
signal_webhooks.admin.WebhookAdmin
,abid_utils.admin.ABIDModelAdmin
- list_displayď
(âcreated_atâ, âcreated_byâ, âabidâ)
- sort_fieldsď
(âcreated_atâ, âcreated_byâ, âabidâ, âreferenced_modelâ, âendpointâ, âlast_successâ, âlast_errorâ)
- readonly_fieldsď
(âcreated_atâ, âmodified_atâ, âabid_infoâ)
- class archivebox.core.admin.MachineAdminď
Bases:
abid_utils.admin.ABIDModelAdmin
- list_displayď
(âabidâ, âcreated_atâ, âhostnameâ, âipsâ, âos_platformâ, âhw_in_dockerâ, âhw_in_vmâ, âhw_manufactureâŚ
- sort_fieldsď
(âabidâ, âcreated_atâ, âhostnameâ, âipsâ, âos_platformâ, âhw_in_dockerâ, âhw_in_vmâ, âhw_manufactureâŚ
- readonly_fieldsď
(âguidâ, âcreated_atâ, âmodified_atâ, âabid_infoâ, âipsâ)
- fieldsď
()
- list_filterď
(âhw_in_dockerâ, âhw_in_vmâ, âos_archâ, âos_familyâ, âos_platformâ)
- orderingď
[â-created_atâ]
- list_per_pageď
100
- actionsď
[âdelete_selectedâ]
- ips(machine)ď
- class archivebox.core.admin.NetworkInterfaceAdminď
Bases:
abid_utils.admin.ABIDModelAdmin
- list_displayď
(âabidâ, âcreated_atâ, âmachine_infoâ, âip_publicâ, âdns_serverâ, âispâ, âcountryâ, âregionâ, âcityââŚ
- sort_fieldsď
(âabidâ, âcreated_atâ, âmachine_infoâ, âip_publicâ, âdns_serverâ, âispâ, âcountryâ, âregionâ, âcityââŚ
- search_fieldsď
(âabidâ, âmachine__abidâ, âifaceâ, âip_publicâ, âip_localâ, âmac_addressâ, âdns_serverâ, âhostnameâ,âŚ
- readonly_fieldsď
(âmachineâ, âcreated_atâ, âmodified_atâ, âabid_infoâ, âmac_addressâ, âip_publicâ, âip_localâ, âdns_sâŚ
- fieldsď
()
- list_filterď
(âispâ, âcountryâ, âregionâ)
- orderingď
[â-created_atâ]
- list_per_pageď
100
- actionsď
[âdelete_selectedâ]
- machine_info(iface)ď
- class archivebox.core.admin.InstalledBinaryAdminď
Bases:
abid_utils.admin.ABIDModelAdmin
- list_displayď
(âabidâ, âcreated_atâ, âmachine_infoâ, ânameâ, âbinproviderâ, âversionâ, âabspathâ, âsha256â, âhealtâŚ
- sort_fieldsď
(âabidâ, âcreated_atâ, âmachine_infoâ, ânameâ, âbinproviderâ, âversionâ, âabspathâ, âsha256â)
- search_fieldsď
(âabidâ, âmachine__abidâ, ânameâ, âbinproviderâ, âversionâ, âabspathâ, âsha256â)
- readonly_fieldsď
(âcreated_atâ, âmodified_atâ, âabid_infoâ)
- fieldsď
(âmachineâ, ânameâ, âbinproviderâ, âabspathâ, âversionâ, âsha256â)
- list_filterď
(ânameâ, âbinproviderâ, âmachine_idâ)
- orderingď
[â-created_atâ]
- list_per_pageď
100
- actionsď
[âdelete_selectedâ]
- machine_info(installed_binary)ď