codex 1.5.17__py3-none-any.whl → 1.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codex might be problematic. Click here for more details.
- codex/exceptions.py +25 -12
- codex/integrity.py +66 -3
- codex/librarian/covers/coverd.py +2 -2
- codex/librarian/covers/create.py +52 -30
- codex/librarian/covers/path.py +9 -8
- codex/librarian/covers/purge.py +28 -18
- codex/librarian/covers/tasks.py +3 -2
- codex/librarian/importer/{aggregate_metadata.py → aggregate.py} +58 -88
- codex/librarian/importer/cache.py +93 -0
- codex/librarian/importer/const.py +77 -23
- codex/librarian/importer/create_comics.py +101 -18
- codex/librarian/importer/create_covers.py +96 -0
- codex/librarian/importer/create_fks.py +129 -150
- codex/librarian/importer/deleted.py +103 -28
- codex/librarian/importer/{clean_metadata.py → extract.py} +33 -4
- codex/librarian/importer/failed_imports.py +44 -66
- codex/librarian/importer/importer.py +96 -0
- codex/librarian/importer/importerd.py +71 -290
- codex/librarian/importer/init.py +265 -0
- codex/librarian/importer/link_comics.py +26 -26
- codex/librarian/importer/link_covers.py +73 -0
- codex/librarian/importer/moved.py +138 -89
- codex/librarian/importer/query_covers.py +52 -0
- codex/librarian/importer/query_fks.py +255 -189
- codex/librarian/importer/status.py +8 -39
- codex/librarian/importer/tasks.py +26 -9
- codex/librarian/janitor/cleanup.py +61 -16
- codex/librarian/janitor/failed_imports.py +1 -1
- codex/librarian/janitor/janitor.py +13 -1
- codex/librarian/janitor/janitord.py +1 -1
- codex/librarian/janitor/status.py +1 -0
- codex/librarian/janitor/tasks.py +5 -0
- codex/librarian/librariand.py +9 -5
- codex/librarian/notifier/notifierd.py +1 -1
- codex/librarian/notifier/tasks.py +4 -4
- codex/librarian/search/update.py +1 -1
- codex/librarian/watchdog/db_snapshot.py +9 -6
- codex/librarian/watchdog/emitter.py +3 -0
- codex/librarian/watchdog/event_batcherd.py +19 -3
- codex/librarian/watchdog/events.py +176 -36
- codex/librarian/watchdog/observers.py +13 -3
- codex/middleware.py +1 -2
- codex/migrations/0027_import_order_and_covers.py +280 -0
- codex/models/admin.py +0 -1
- codex/models/base.py +6 -0
- codex/models/comic.py +41 -44
- codex/models/functions.py +12 -0
- codex/models/groups.py +58 -12
- codex/models/library.py +11 -3
- codex/models/paths.py +65 -13
- codex/models/query.py +91 -0
- codex/models/util.py +31 -0
- codex/permissions.py +1 -1
- codex/search/backend.py +2 -2
- codex/search/backend_search.py +229 -0
- codex/search/engine.py +1 -9
- codex/search/query.py +67 -0
- codex/search/writing.py +1 -1
- codex/serializers/admin.py +56 -45
- codex/serializers/browser/choices.py +37 -42
- codex/serializers/browser/filters.py +32 -136
- codex/serializers/browser/metadata.py +59 -0
- codex/serializers/browser/mixins.py +65 -0
- codex/serializers/browser/mtime.py +21 -0
- codex/serializers/browser/page.py +6 -21
- codex/serializers/browser/settings.py +43 -11
- codex/serializers/choices.py +35 -12
- codex/serializers/fields.py +149 -0
- codex/serializers/mixins.py +0 -22
- codex/serializers/models/pycountry.py +11 -51
- codex/serializers/opds/urls.py +10 -0
- codex/serializers/opds/v2.py +10 -16
- codex/serializers/opds/v2_unused.py +5 -3
- codex/serializers/reader.py +24 -16
- codex/serializers/redirect.py +3 -2
- codex/serializers/route.py +45 -0
- codex/serializers/settings.py +12 -0
- codex/settings/settings.py +79 -32
- codex/signals/django_signals.py +6 -0
- codex/startup.py +77 -3
- codex/static_root/assets/VCheckbox-DanrzdHo.8ec5e2094cbf.js +1 -0
- codex/static_root/assets/VCheckbox-DanrzdHo.8ec5e2094cbf.js.br +0 -0
- codex/static_root/assets/VCheckbox-DanrzdHo.8ec5e2094cbf.js.gz +0 -0
- codex/static_root/assets/VCheckbox-DanrzdHo.js +1 -0
- codex/static_root/assets/VCheckbox-DanrzdHo.js.br +0 -0
- codex/static_root/assets/VCheckbox-DanrzdHo.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-DxNOKONG.5ab34c4c47aa.js +1 -0
- codex/static_root/assets/VCheckboxBtn-DxNOKONG.5ab34c4c47aa.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-DxNOKONG.5ab34c4c47aa.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-DxNOKONG.js +1 -0
- codex/static_root/assets/VCheckboxBtn-DxNOKONG.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-DxNOKONG.js.gz +0 -0
- codex/static_root/assets/VCombobox-DDvdoPTG.11d080e8edd7.js +1 -0
- codex/static_root/assets/VCombobox-DDvdoPTG.11d080e8edd7.js.br +0 -0
- codex/static_root/assets/VCombobox-DDvdoPTG.11d080e8edd7.js.gz +0 -0
- codex/static_root/assets/VCombobox-DDvdoPTG.js +1 -0
- codex/static_root/assets/VCombobox-DDvdoPTG.js.br +0 -0
- codex/static_root/assets/VCombobox-DDvdoPTG.js.gz +0 -0
- codex/static_root/assets/VDialog-Bd5dN_E1.457666d7fce1.js +1 -0
- codex/static_root/assets/VDialog-Bd5dN_E1.457666d7fce1.js.br +0 -0
- codex/static_root/assets/VDialog-Bd5dN_E1.457666d7fce1.js.gz +0 -0
- codex/static_root/assets/VDialog-Bd5dN_E1.js +1 -0
- codex/static_root/assets/VDialog-Bd5dN_E1.js.br +0 -0
- codex/static_root/assets/VDialog-Bd5dN_E1.js.gz +0 -0
- codex/static_root/assets/VDialog-lQ13FnRR.1c801ad756b2.css +1 -0
- codex/static_root/assets/VDialog-lQ13FnRR.1c801ad756b2.css.br +0 -0
- codex/static_root/assets/VDialog-lQ13FnRR.1c801ad756b2.css.gz +0 -0
- codex/static_root/assets/VDialog-lQ13FnRR.css +1 -0
- codex/static_root/assets/VDialog-lQ13FnRR.css.br +0 -0
- codex/static_root/assets/VDialog-lQ13FnRR.css.gz +0 -0
- codex/static_root/assets/VExpansionPanels-DqTuYpTR.12673cf9f391.js +1 -0
- codex/static_root/assets/VExpansionPanels-DqTuYpTR.12673cf9f391.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-DqTuYpTR.12673cf9f391.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-DqTuYpTR.js +1 -0
- codex/static_root/assets/VExpansionPanels-DqTuYpTR.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-DqTuYpTR.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-DKb8XPr-.3cf6bf5bf3bc.js +1 -0
- codex/static_root/assets/VRadioGroup-DKb8XPr-.3cf6bf5bf3bc.js.br +0 -0
- codex/static_root/assets/VRadioGroup-DKb8XPr-.3cf6bf5bf3bc.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-DKb8XPr-.js +1 -0
- codex/static_root/assets/VRadioGroup-DKb8XPr-.js.br +0 -0
- codex/static_root/assets/VRadioGroup-DKb8XPr-.js.gz +0 -0
- codex/static_root/assets/VSelect-ARDhJiQK.372c098fb475.css +1 -0
- codex/static_root/assets/VSelect-ARDhJiQK.372c098fb475.css.br +0 -0
- codex/static_root/assets/VSelect-ARDhJiQK.372c098fb475.css.gz +0 -0
- codex/static_root/assets/VSelect-ARDhJiQK.css +1 -0
- codex/static_root/assets/VSelect-ARDhJiQK.css.br +0 -0
- codex/static_root/assets/VSelect-ARDhJiQK.css.gz +0 -0
- codex/static_root/assets/VSelect-C_yPbyCG.08bd6b53a7ce.js +1 -0
- codex/static_root/assets/VSelect-C_yPbyCG.08bd6b53a7ce.js.br +0 -0
- codex/static_root/assets/VSelect-C_yPbyCG.08bd6b53a7ce.js.gz +0 -0
- codex/static_root/assets/VSelect-C_yPbyCG.js +1 -0
- codex/static_root/assets/VSelect-C_yPbyCG.js.br +0 -0
- codex/static_root/assets/VSelect-C_yPbyCG.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-CmFPvGMS.802c9b3e6e28.js +1 -0
- codex/static_root/assets/VSelectionControl-CmFPvGMS.802c9b3e6e28.js.br +0 -0
- codex/static_root/assets/VSelectionControl-CmFPvGMS.802c9b3e6e28.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-CmFPvGMS.js +1 -0
- codex/static_root/assets/VSelectionControl-CmFPvGMS.js.br +0 -0
- codex/static_root/assets/VSelectionControl-CmFPvGMS.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-D5FZWsM1.a47491fe3e6d.js +1 -0
- codex/static_root/assets/VSlideGroup-D5FZWsM1.a47491fe3e6d.js.br +0 -0
- codex/static_root/assets/VSlideGroup-D5FZWsM1.a47491fe3e6d.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-D5FZWsM1.js +1 -0
- codex/static_root/assets/VSlideGroup-D5FZWsM1.js.br +0 -0
- codex/static_root/assets/VSlideGroup-D5FZWsM1.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css +1 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css.br +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.2c836070ec75.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css +1 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css.br +0 -0
- codex/static_root/assets/VSlideGroup-Dk_1upHt.css.gz +0 -0
- codex/static_root/assets/{VTable-XNBBnB2q.b2784736062a.js → VTable-2RHFqfg6.f0f2106b158b.js} +1 -1
- codex/static_root/assets/VTable-2RHFqfg6.f0f2106b158b.js.br +0 -0
- codex/static_root/assets/VTable-2RHFqfg6.f0f2106b158b.js.gz +0 -0
- codex/static_root/assets/{VTable-XNBBnB2q.js → VTable-2RHFqfg6.js} +1 -1
- codex/static_root/assets/VTable-2RHFqfg6.js.br +0 -0
- codex/static_root/assets/VTable-2RHFqfg6.js.gz +0 -0
- codex/static_root/assets/VTextField-BssVoDhB.4cc388b4aa3c.css +1 -0
- codex/static_root/assets/VTextField-BssVoDhB.4cc388b4aa3c.css.br +0 -0
- codex/static_root/assets/VTextField-BssVoDhB.4cc388b4aa3c.css.gz +0 -0
- codex/static_root/assets/VTextField-BssVoDhB.css +1 -0
- codex/static_root/assets/VTextField-BssVoDhB.css.br +0 -0
- codex/static_root/assets/VTextField-BssVoDhB.css.gz +0 -0
- codex/static_root/assets/VTextField-o1N9ylIb.7fffaeff8d40.js +1 -0
- codex/static_root/assets/VTextField-o1N9ylIb.7fffaeff8d40.js.br +0 -0
- codex/static_root/assets/VTextField-o1N9ylIb.7fffaeff8d40.js.gz +0 -0
- codex/static_root/assets/VTextField-o1N9ylIb.js +1 -0
- codex/static_root/assets/VTextField-o1N9ylIb.js.br +0 -0
- codex/static_root/assets/VTextField-o1N9ylIb.js.gz +0 -0
- codex/static_root/assets/VWindowItem-C_zvuz9C.663fa48efea4.js +1 -0
- codex/static_root/assets/VWindowItem-C_zvuz9C.663fa48efea4.js.br +0 -0
- codex/static_root/assets/VWindowItem-C_zvuz9C.663fa48efea4.js.gz +0 -0
- codex/static_root/assets/VWindowItem-C_zvuz9C.js +1 -0
- codex/static_root/assets/VWindowItem-C_zvuz9C.js.br +0 -0
- codex/static_root/assets/VWindowItem-C_zvuz9C.js.gz +0 -0
- codex/static_root/assets/admin-B8Bp2Uih.82c98714bcf1.css +1 -0
- codex/static_root/assets/admin-B8Bp2Uih.82c98714bcf1.css.br +0 -0
- codex/static_root/assets/admin-B8Bp2Uih.82c98714bcf1.css.gz +0 -0
- codex/static_root/assets/admin-B8Bp2Uih.css +1 -0
- codex/static_root/assets/admin-B8Bp2Uih.css.br +0 -0
- codex/static_root/assets/admin-B8Bp2Uih.css.gz +0 -0
- codex/static_root/assets/admin-DHyHEWZ3.7a8015456c0f.js +1 -0
- codex/static_root/assets/admin-DHyHEWZ3.7a8015456c0f.js.br +0 -0
- codex/static_root/assets/admin-DHyHEWZ3.7a8015456c0f.js.gz +0 -0
- codex/static_root/assets/admin-DHyHEWZ3.js +1 -0
- codex/static_root/assets/admin-DHyHEWZ3.js.br +0 -0
- codex/static_root/assets/admin-DHyHEWZ3.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BXpIDQXM.19507a95375b.js +30 -0
- codex/static_root/assets/admin-drawer-panel-BXpIDQXM.19507a95375b.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BXpIDQXM.19507a95375b.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-BXpIDQXM.js +30 -0
- codex/static_root/assets/admin-drawer-panel-BXpIDQXM.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-BXpIDQXM.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-mne3FIj6.561b3f75fe65.css +1 -0
- codex/static_root/assets/admin-drawer-panel-mne3FIj6.561b3f75fe65.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-mne3FIj6.561b3f75fe65.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-mne3FIj6.css +1 -0
- codex/static_root/assets/admin-drawer-panel-mne3FIj6.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-mne3FIj6.css.gz +0 -0
- codex/static_root/assets/browser-D0Vjmmp_.a1bfaf48d65f.js +1 -0
- codex/static_root/assets/browser-D0Vjmmp_.a1bfaf48d65f.js.br +0 -0
- codex/static_root/assets/browser-D0Vjmmp_.a1bfaf48d65f.js.gz +0 -0
- codex/static_root/assets/browser-D0Vjmmp_.js +1 -0
- codex/static_root/assets/browser-D0Vjmmp_.js.br +0 -0
- codex/static_root/assets/browser-D0Vjmmp_.js.gz +0 -0
- codex/static_root/assets/browser-D7QQDneO.155cb612ed0c.css +1 -0
- codex/static_root/assets/browser-D7QQDneO.155cb612ed0c.css.br +0 -0
- codex/static_root/assets/browser-D7QQDneO.155cb612ed0c.css.gz +0 -0
- codex/static_root/assets/browser-D7QQDneO.css +1 -0
- codex/static_root/assets/browser-D7QQDneO.css.br +0 -0
- codex/static_root/assets/browser-D7QQDneO.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-0u6IJA87.5f9a9aa573b7.css +1 -0
- codex/static_root/assets/change-password-dialog-0u6IJA87.5f9a9aa573b7.css.br +0 -0
- codex/static_root/assets/change-password-dialog-0u6IJA87.5f9a9aa573b7.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-0u6IJA87.css +1 -0
- codex/static_root/assets/change-password-dialog-0u6IJA87.css.br +0 -0
- codex/static_root/assets/change-password-dialog-0u6IJA87.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-BBsJLPXZ.e642f7e2b96f.js +1 -0
- codex/static_root/assets/change-password-dialog-BBsJLPXZ.e642f7e2b96f.js.br +0 -0
- codex/static_root/assets/change-password-dialog-BBsJLPXZ.e642f7e2b96f.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-BBsJLPXZ.js +1 -0
- codex/static_root/assets/change-password-dialog-BBsJLPXZ.js.br +0 -0
- codex/static_root/assets/change-password-dialog-BBsJLPXZ.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-DCKvg3ai.2a3277b3c147.js +1 -0
- codex/static_root/assets/confirm-dialog-DCKvg3ai.2a3277b3c147.js.br +0 -0
- codex/static_root/assets/confirm-dialog-DCKvg3ai.2a3277b3c147.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-DCKvg3ai.js +1 -0
- codex/static_root/assets/confirm-dialog-DCKvg3ai.js.br +0 -0
- codex/static_root/assets/confirm-dialog-DCKvg3ai.js.gz +0 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.bec27f144aca.js +1 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.bec27f144aca.js.br +0 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.js +1 -0
- codex/static_root/assets/copy-to-clipboard-DoUvDJVx.js.br +0 -0
- codex/static_root/assets/datetime-column-DeCthByU.1f3bf499e063.css +1 -0
- codex/static_root/assets/datetime-column-DeCthByU.css +1 -0
- codex/static_root/assets/datetime-column-jHKA_uNm.039c7da2036f.js +1 -0
- codex/static_root/assets/datetime-column-jHKA_uNm.039c7da2036f.js.br +0 -0
- codex/static_root/assets/datetime-column-jHKA_uNm.039c7da2036f.js.gz +0 -0
- codex/static_root/assets/datetime-column-jHKA_uNm.js +1 -0
- codex/static_root/assets/datetime-column-jHKA_uNm.js.br +0 -0
- codex/static_root/assets/datetime-column-jHKA_uNm.js.gz +0 -0
- codex/static_root/assets/filter-DgPg2ts9.af0fcf0888c6.js +1 -0
- codex/static_root/assets/filter-DgPg2ts9.af0fcf0888c6.js.br +0 -0
- codex/static_root/assets/filter-DgPg2ts9.af0fcf0888c6.js.gz +0 -0
- codex/static_root/assets/filter-DgPg2ts9.js +1 -0
- codex/static_root/assets/filter-DgPg2ts9.js.br +0 -0
- codex/static_root/assets/filter-DgPg2ts9.js.gz +0 -0
- codex/static_root/assets/flag-tab-9qxOALxP.f89bc9891671.js +1 -0
- codex/static_root/assets/flag-tab-9qxOALxP.f89bc9891671.js.br +0 -0
- codex/static_root/assets/flag-tab-9qxOALxP.f89bc9891671.js.gz +0 -0
- codex/static_root/assets/flag-tab-9qxOALxP.js +1 -0
- codex/static_root/assets/flag-tab-9qxOALxP.js.br +0 -0
- codex/static_root/assets/flag-tab-9qxOALxP.js.gz +0 -0
- codex/static_root/assets/flag-tab-BNwbLfrN.b755a99fff7e.css +1 -0
- codex/static_root/assets/flag-tab-BNwbLfrN.b755a99fff7e.css.br +0 -0
- codex/static_root/assets/flag-tab-BNwbLfrN.b755a99fff7e.css.gz +0 -0
- codex/static_root/assets/flag-tab-BNwbLfrN.css +1 -0
- codex/static_root/assets/flag-tab-BNwbLfrN.css.br +0 -0
- codex/static_root/assets/flag-tab-BNwbLfrN.css.gz +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css +1 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css.br +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.7e4746634782.css.gz +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css +1 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css.br +0 -0
- codex/static_root/assets/group-tab-CBKuS3Iv.css.gz +0 -0
- codex/static_root/assets/group-tab-D5vWrihT.1afb2ce453ff.js +1 -0
- codex/static_root/assets/group-tab-D5vWrihT.1afb2ce453ff.js.br +0 -0
- codex/static_root/assets/group-tab-D5vWrihT.1afb2ce453ff.js.gz +0 -0
- codex/static_root/assets/group-tab-D5vWrihT.js +1 -0
- codex/static_root/assets/group-tab-D5vWrihT.js.br +0 -0
- codex/static_root/assets/group-tab-D5vWrihT.js.gz +0 -0
- codex/static_root/assets/http-error-B4FHoKfs.141fdae409bc.js +1 -0
- codex/static_root/assets/http-error-B4FHoKfs.141fdae409bc.js.br +0 -0
- codex/static_root/assets/http-error-B4FHoKfs.141fdae409bc.js.gz +0 -0
- codex/static_root/assets/http-error-B4FHoKfs.js +1 -0
- codex/static_root/assets/http-error-B4FHoKfs.js.br +0 -0
- codex/static_root/assets/http-error-B4FHoKfs.js.gz +0 -0
- codex/static_root/assets/http-error-DKulXuTl.95e42988d5d5.css +1 -0
- codex/static_root/assets/http-error-DKulXuTl.95e42988d5d5.css.br +0 -0
- codex/static_root/assets/http-error-DKulXuTl.95e42988d5d5.css.gz +0 -0
- codex/static_root/assets/http-error-DKulXuTl.css +1 -0
- codex/static_root/assets/http-error-DKulXuTl.css.br +0 -0
- codex/static_root/assets/http-error-DKulXuTl.css.gz +0 -0
- codex/static_root/assets/library-tab-BN0SfPcH.913e236f625e.css +1 -0
- codex/static_root/assets/library-tab-BN0SfPcH.913e236f625e.css.br +0 -0
- codex/static_root/assets/library-tab-BN0SfPcH.913e236f625e.css.gz +0 -0
- codex/static_root/assets/library-tab-BN0SfPcH.css +1 -0
- codex/static_root/assets/library-tab-BN0SfPcH.css.br +0 -0
- codex/static_root/assets/library-tab-BN0SfPcH.css.gz +0 -0
- codex/static_root/assets/library-tab-BWo0cmzk.0e3d67d0c41a.js +1 -0
- codex/static_root/assets/library-tab-BWo0cmzk.0e3d67d0c41a.js.br +0 -0
- codex/static_root/assets/library-tab-BWo0cmzk.0e3d67d0c41a.js.gz +0 -0
- codex/static_root/assets/library-tab-BWo0cmzk.js +1 -0
- codex/static_root/assets/library-tab-BWo0cmzk.js.br +0 -0
- codex/static_root/assets/library-tab-BWo0cmzk.js.gz +0 -0
- codex/static_root/assets/{main-ClKzvaJK.css → main-Ztp855PW.css} +1 -1
- codex/static_root/assets/main-Ztp855PW.css.br +0 -0
- codex/static_root/assets/{main-ClKzvaJK.css.gz → main-Ztp855PW.css.gz} +0 -0
- codex/static_root/assets/{main-ClKzvaJK.04ea1888c6b4.css → main-Ztp855PW.d46d718fac45.css} +1 -1
- codex/static_root/assets/main-Ztp855PW.d46d718fac45.css.br +0 -0
- codex/static_root/assets/{main-ClKzvaJK.04ea1888c6b4.css.gz → main-Ztp855PW.d46d718fac45.css.gz} +0 -0
- codex/static_root/assets/main-ipmlipkF.5e60e6e8e447.js +32 -0
- codex/static_root/assets/main-ipmlipkF.5e60e6e8e447.js.br +0 -0
- codex/static_root/assets/main-ipmlipkF.5e60e6e8e447.js.gz +0 -0
- codex/static_root/assets/main-ipmlipkF.js +32 -0
- codex/static_root/assets/main-ipmlipkF.js.br +0 -0
- codex/static_root/assets/main-ipmlipkF.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BA9ifTed.b4865334ee08.css +1 -0
- codex/static_root/assets/pagination-toolbar-BA9ifTed.b4865334ee08.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-BA9ifTed.b4865334ee08.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-BA9ifTed.css +1 -0
- codex/static_root/assets/pagination-toolbar-BA9ifTed.css.br +0 -0
- codex/static_root/assets/pagination-toolbar-BA9ifTed.css.gz +0 -0
- codex/static_root/assets/pagination-toolbar-kZ-Xdv8c.b3341b8028df.js +1 -0
- codex/static_root/assets/pagination-toolbar-kZ-Xdv8c.b3341b8028df.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-kZ-Xdv8c.b3341b8028df.js.gz +0 -0
- codex/static_root/assets/pagination-toolbar-kZ-Xdv8c.js +1 -0
- codex/static_root/assets/pagination-toolbar-kZ-Xdv8c.js.br +0 -0
- codex/static_root/assets/pagination-toolbar-kZ-Xdv8c.js.gz +0 -0
- codex/static_root/assets/pdf-doc-C2StaYUz.cb848834dbe1.js +305 -0
- codex/static_root/assets/pdf-doc-C2StaYUz.cb848834dbe1.js.br +0 -0
- codex/static_root/assets/pdf-doc-C2StaYUz.cb848834dbe1.js.gz +0 -0
- codex/static_root/assets/pdf-doc-C2StaYUz.js +305 -0
- codex/static_root/assets/pdf-doc-C2StaYUz.js.br +0 -0
- codex/static_root/assets/pdf-doc-C2StaYUz.js.gz +0 -0
- codex/static_root/assets/reader-CCnq3j1-.b6b38ed5521e.js +2 -0
- codex/static_root/assets/reader-CCnq3j1-.b6b38ed5521e.js.br +0 -0
- codex/static_root/assets/reader-CCnq3j1-.b6b38ed5521e.js.gz +0 -0
- codex/static_root/assets/reader-CCnq3j1-.js +2 -0
- codex/static_root/assets/reader-CCnq3j1-.js.br +0 -0
- codex/static_root/assets/reader-CCnq3j1-.js.gz +0 -0
- codex/static_root/assets/reader-CqXFa_gE.78267e9de0c2.css +1 -0
- codex/static_root/assets/reader-CqXFa_gE.78267e9de0c2.css.br +0 -0
- codex/static_root/assets/reader-CqXFa_gE.78267e9de0c2.css.gz +0 -0
- codex/static_root/assets/reader-CqXFa_gE.css +1 -0
- codex/static_root/assets/reader-CqXFa_gE.css.br +0 -0
- codex/static_root/assets/reader-CqXFa_gE.css.gz +0 -0
- codex/static_root/assets/relation-chips-Bsc-gUxE.98e65384c3c9.css +1 -0
- codex/static_root/assets/relation-chips-Bsc-gUxE.98e65384c3c9.css.br +0 -0
- codex/static_root/assets/relation-chips-Bsc-gUxE.98e65384c3c9.css.gz +0 -0
- codex/static_root/assets/relation-chips-Bsc-gUxE.css +1 -0
- codex/static_root/assets/relation-chips-Bsc-gUxE.css.br +0 -0
- codex/static_root/assets/relation-chips-Bsc-gUxE.css.gz +0 -0
- codex/static_root/assets/relation-chips-C9ysW0tU.670f1d1f273f.js +1 -0
- codex/static_root/assets/relation-chips-C9ysW0tU.670f1d1f273f.js.br +0 -0
- codex/static_root/assets/relation-chips-C9ysW0tU.670f1d1f273f.js.gz +0 -0
- codex/static_root/assets/relation-chips-C9ysW0tU.js +1 -0
- codex/static_root/assets/relation-chips-C9ysW0tU.js.br +0 -0
- codex/static_root/assets/relation-chips-C9ysW0tU.js.gz +0 -0
- codex/static_root/assets/settings-drawer-C0ofzAhW.c0def8f383cb.js +2 -0
- codex/static_root/assets/settings-drawer-C0ofzAhW.c0def8f383cb.js.br +0 -0
- codex/static_root/assets/settings-drawer-C0ofzAhW.c0def8f383cb.js.gz +0 -0
- codex/static_root/assets/settings-drawer-C0ofzAhW.js +2 -0
- codex/static_root/assets/settings-drawer-C0ofzAhW.js.br +0 -0
- codex/static_root/assets/settings-drawer-C0ofzAhW.js.gz +0 -0
- codex/static_root/assets/settings-drawer-nZ9HvKSZ.01744e131806.css +1 -0
- codex/static_root/assets/settings-drawer-nZ9HvKSZ.01744e131806.css.br +0 -0
- codex/static_root/assets/settings-drawer-nZ9HvKSZ.01744e131806.css.gz +0 -0
- codex/static_root/assets/settings-drawer-nZ9HvKSZ.css +1 -0
- codex/static_root/assets/settings-drawer-nZ9HvKSZ.css.br +0 -0
- codex/static_root/assets/settings-drawer-nZ9HvKSZ.css.gz +0 -0
- codex/static_root/assets/stats-tab-B4yKuY0c.a5728396494b.css +1 -0
- codex/static_root/assets/stats-tab-B4yKuY0c.a5728396494b.css.br +0 -0
- codex/static_root/assets/stats-tab-B4yKuY0c.a5728396494b.css.gz +0 -0
- codex/static_root/assets/stats-tab-B4yKuY0c.css +1 -0
- codex/static_root/assets/stats-tab-B4yKuY0c.css.br +0 -0
- codex/static_root/assets/stats-tab-B4yKuY0c.css.gz +0 -0
- codex/static_root/assets/stats-tab-BqJj7j1w.38a3459d61ea.js +1 -0
- codex/static_root/assets/stats-tab-BqJj7j1w.38a3459d61ea.js.br +0 -0
- codex/static_root/assets/stats-tab-BqJj7j1w.38a3459d61ea.js.gz +0 -0
- codex/static_root/assets/stats-tab-BqJj7j1w.js +1 -0
- codex/static_root/assets/stats-tab-BqJj7j1w.js.br +0 -0
- codex/static_root/assets/stats-tab-BqJj7j1w.js.gz +0 -0
- codex/static_root/assets/task-tab-1XiWn9xP.06cb8e1b794d.css +1 -0
- codex/static_root/assets/{task-tab-DoX9OA37.9bb355f36dbf.css.br → task-tab-1XiWn9xP.06cb8e1b794d.css.br} +1 -1
- codex/static_root/assets/task-tab-1XiWn9xP.06cb8e1b794d.css.gz +0 -0
- codex/static_root/assets/task-tab-1XiWn9xP.css +1 -0
- codex/static_root/assets/{task-tab-DoX9OA37.css.br → task-tab-1XiWn9xP.css.br} +1 -1
- codex/static_root/assets/task-tab-1XiWn9xP.css.gz +0 -0
- codex/static_root/assets/task-tab-BsPzNk8S.e00630a60b43.js +1 -0
- codex/static_root/assets/task-tab-BsPzNk8S.e00630a60b43.js.br +0 -0
- codex/static_root/assets/task-tab-BsPzNk8S.e00630a60b43.js.gz +0 -0
- codex/static_root/assets/task-tab-BsPzNk8S.js +1 -0
- codex/static_root/assets/task-tab-BsPzNk8S.js.br +0 -0
- codex/static_root/assets/task-tab-BsPzNk8S.js.gz +0 -0
- codex/static_root/assets/to-case-KvqtSug2.9c02da2e47c7.js +1 -0
- codex/static_root/assets/to-case-KvqtSug2.9c02da2e47c7.js.br +0 -0
- codex/static_root/assets/to-case-KvqtSug2.js +1 -0
- codex/static_root/assets/to-case-KvqtSug2.js.br +0 -0
- codex/static_root/assets/unauthorized-CibJYD8o.4c2de98c2b53.css +1 -0
- codex/static_root/assets/unauthorized-CibJYD8o.4c2de98c2b53.css.br +0 -0
- codex/static_root/assets/unauthorized-CibJYD8o.4c2de98c2b53.css.gz +0 -0
- codex/static_root/assets/unauthorized-CibJYD8o.css +1 -0
- codex/static_root/assets/unauthorized-CibJYD8o.css.br +0 -0
- codex/static_root/assets/unauthorized-CibJYD8o.css.gz +0 -0
- codex/static_root/assets/unauthorized-DwSdNzX2.f418e69f3afe.js +1 -0
- codex/static_root/assets/unauthorized-DwSdNzX2.f418e69f3afe.js.br +0 -0
- codex/static_root/assets/unauthorized-DwSdNzX2.f418e69f3afe.js.gz +0 -0
- codex/static_root/assets/unauthorized-DwSdNzX2.js +1 -0
- codex/static_root/assets/unauthorized-DwSdNzX2.js.br +0 -0
- codex/static_root/assets/unauthorized-DwSdNzX2.js.gz +0 -0
- codex/static_root/assets/user-tab-DrJOb9Ys.083d993726d8.js +1 -0
- codex/static_root/assets/user-tab-DrJOb9Ys.083d993726d8.js.br +0 -0
- codex/static_root/assets/user-tab-DrJOb9Ys.083d993726d8.js.gz +0 -0
- codex/static_root/assets/user-tab-DrJOb9Ys.js +1 -0
- codex/static_root/assets/user-tab-DrJOb9Ys.js.br +0 -0
- codex/static_root/assets/user-tab-DrJOb9Ys.js.gz +0 -0
- codex/static_root/img/folder.f28936a3701d.svg +1 -0
- codex/static_root/img/folder.f28936a3701d.svg.br +0 -0
- codex/static_root/img/folder.f28936a3701d.svg.gz +0 -0
- codex/static_root/img/folder.svg +1 -0
- codex/static_root/img/folder.svg.br +0 -0
- codex/static_root/img/folder.svg.gz +0 -0
- codex/static_root/img/imprint.7c2adebb76d6.svg +1 -0
- codex/static_root/img/imprint.7c2adebb76d6.svg.br +0 -0
- codex/static_root/img/imprint.7c2adebb76d6.svg.gz +0 -0
- codex/static_root/img/imprint.svg +1 -0
- codex/static_root/img/imprint.svg.br +0 -0
- codex/static_root/img/imprint.svg.gz +0 -0
- codex/static_root/img/logo-32.5688944495bf.webp +0 -0
- codex/static_root/img/logo-32.webp +0 -0
- codex/static_root/img/logo-maskable-180.c58d966aa64e.webp +0 -0
- codex/static_root/img/logo-maskable-180.webp +0 -0
- codex/static_root/img/logo-maskable.8f7de7f1c6a8.svg +1 -0
- codex/static_root/img/logo-maskable.8f7de7f1c6a8.svg.br +0 -0
- codex/static_root/img/logo-maskable.8f7de7f1c6a8.svg.gz +0 -0
- codex/static_root/img/logo-maskable.svg +1 -83
- codex/static_root/img/logo-maskable.svg.br +0 -0
- codex/static_root/img/logo-maskable.svg.gz +0 -0
- codex/static_root/img/logo.0f5344a028ca.svg +1 -0
- codex/static_root/img/logo.0f5344a028ca.svg.br +0 -0
- codex/static_root/img/logo.0f5344a028ca.svg.gz +0 -0
- codex/static_root/img/logo.svg +1 -80
- codex/static_root/img/logo.svg.br +0 -0
- codex/static_root/img/logo.svg.gz +0 -0
- codex/static_root/img/missing-cover-165.0743171f2148.webp +0 -0
- codex/static_root/img/missing-cover-165.webp +0 -0
- codex/static_root/img/missing-cover.ddb038cc2c56.svg +1 -0
- codex/static_root/img/missing-cover.ddb038cc2c56.svg.br +0 -0
- codex/static_root/img/missing-cover.ddb038cc2c56.svg.gz +0 -0
- codex/static_root/img/missing-cover.svg +1 -0
- codex/static_root/img/missing-cover.svg.br +0 -0
- codex/static_root/img/missing-cover.svg.gz +0 -0
- codex/static_root/img/publisher.82d378fcd601.svg +1 -0
- codex/static_root/img/publisher.82d378fcd601.svg.br +0 -0
- codex/static_root/img/publisher.82d378fcd601.svg.gz +0 -0
- codex/static_root/img/publisher.svg +1 -0
- codex/static_root/img/publisher.svg.br +0 -0
- codex/static_root/img/publisher.svg.gz +0 -0
- codex/static_root/img/series.ec8a889b8f95.svg +1 -0
- codex/static_root/img/series.ec8a889b8f95.svg.br +0 -0
- codex/static_root/img/series.ec8a889b8f95.svg.gz +0 -0
- codex/static_root/img/series.svg +1 -0
- codex/static_root/img/series.svg.br +0 -0
- codex/static_root/img/series.svg.gz +0 -0
- codex/static_root/img/story-arc.ca10014355ef.svg +1 -0
- codex/static_root/img/story-arc.ca10014355ef.svg.br +1 -0
- codex/static_root/img/story-arc.ca10014355ef.svg.gz +0 -0
- codex/static_root/img/story-arc.svg +1 -0
- codex/static_root/img/story-arc.svg.br +1 -0
- codex/static_root/img/story-arc.svg.gz +0 -0
- codex/static_root/img/volume.814e4c79461a.svg +1 -0
- codex/static_root/img/volume.814e4c79461a.svg.br +0 -0
- codex/static_root/img/volume.814e4c79461a.svg.gz +0 -0
- codex/static_root/img/volume.svg +1 -0
- codex/static_root/img/volume.svg.br +0 -0
- codex/static_root/img/volume.svg.gz +0 -0
- codex/static_root/js/choices-admin.3521e2a863df.json +1 -0
- codex/static_root/js/choices-admin.3521e2a863df.json.br +0 -0
- codex/static_root/js/choices-admin.3521e2a863df.json.gz +0 -0
- codex/static_root/js/choices-admin.json +1 -1
- codex/static_root/js/choices-admin.json.br +0 -0
- codex/static_root/js/choices-admin.json.gz +0 -0
- codex/static_root/js/choices.2f6b0359e1ef.json +1 -0
- codex/static_root/js/choices.2f6b0359e1ef.json.br +0 -0
- codex/static_root/js/choices.2f6b0359e1ef.json.gz +0 -0
- codex/static_root/js/choices.json +1 -1
- codex/static_root/js/choices.json.br +0 -0
- codex/static_root/js/choices.json.gz +0 -0
- codex/static_root/manifest.1c84116d9a0a.json +622 -0
- codex/static_root/manifest.1c84116d9a0a.json.br +0 -0
- codex/static_root/manifest.1c84116d9a0a.json.gz +0 -0
- codex/static_root/manifest.json +342 -327
- codex/static_root/manifest.json.br +0 -0
- codex/static_root/manifest.json.gz +0 -0
- codex/static_root/staticfiles.json +1 -1
- codex/status_controller.py +11 -2
- codex/templates/headers-script-globals.html +1 -4
- codex/urls/api/admin.py +5 -7
- codex/urls/api/auth.py +2 -1
- codex/urls/api/browser.py +18 -9
- codex/urls/api/reader.py +5 -11
- codex/urls/api/v3.py +4 -0
- codex/urls/app.py +8 -3
- codex/urls/converters.py +39 -0
- codex/urls/opds/binary.py +1 -1
- codex/urls/opds/root.py +3 -4
- codex/urls/opds/v1.py +1 -1
- codex/urls/opds/v2.py +6 -1
- codex/urls/root.py +2 -1
- codex/util.py +12 -0
- codex/views/admin/api_key.py +7 -8
- codex/views/admin/auth.py +28 -0
- codex/views/admin/flag.py +2 -7
- codex/views/admin/group.py +2 -6
- codex/views/admin/library.py +44 -37
- codex/views/admin/stats.py +20 -83
- codex/views/admin/tasks.py +26 -12
- codex/views/admin/user.py +3 -14
- codex/views/auth.py +39 -64
- codex/views/bookmark.py +93 -72
- codex/views/browser/annotations.py +293 -0
- codex/views/browser/base.py +101 -87
- codex/views/browser/breadcrumbs.py +202 -0
- codex/views/browser/browser.py +165 -518
- codex/views/browser/choices.py +67 -120
- codex/views/browser/cover.py +165 -0
- codex/views/browser/filters/annotations.py +102 -0
- codex/views/browser/filters/bookmark.py +24 -12
- codex/views/browser/filters/field.py +8 -6
- codex/views/browser/filters/group.py +38 -16
- codex/views/browser/filters/search.py +169 -25
- codex/views/browser/metadata.py +169 -136
- codex/views/browser/mtime.py +61 -0
- codex/views/browser/order_by.py +65 -0
- codex/views/browser/paginate.py +106 -0
- codex/views/browser/settings.py +66 -0
- codex/views/browser/title.py +48 -0
- codex/views/browser/validate.py +161 -0
- codex/views/const.py +157 -0
- codex/views/download.py +8 -20
- codex/views/error.py +2 -2
- codex/views/frontend.py +8 -3
- codex/views/mixins.py +76 -0
- codex/views/opds/auth.py +17 -0
- codex/views/opds/authentication_v1.py +46 -45
- codex/views/opds/binary.py +5 -10
- codex/views/opds/const.py +13 -0
- codex/views/opds/urls.py +30 -0
- codex/views/opds/util.py +11 -19
- codex/views/opds/v1/entry/data.py +2 -2
- codex/views/opds/v1/entry/entry.py +5 -5
- codex/views/opds/v1/entry/links.py +68 -58
- codex/views/opds/v1/facets.py +11 -11
- codex/views/opds/v1/feed.py +84 -63
- codex/views/opds/v1/links.py +21 -19
- codex/views/opds/v1/opensearch_v1.py +5 -6
- codex/views/opds/v2/feed.py +69 -53
- codex/views/opds/v2/links.py +4 -2
- codex/views/opds/v2/publications.py +50 -68
- codex/views/opds/v2/top_links.py +4 -4
- codex/views/public.py +36 -0
- codex/views/reader/arcs.py +92 -0
- codex/views/reader/books.py +181 -0
- codex/views/reader/init.py +125 -0
- codex/views/reader/page.py +16 -5
- codex/views/reader/reader.py +22 -236
- codex/views/reader/{session.py → settings.py} +4 -2
- codex/views/session.py +92 -102
- codex/views/settings.py +47 -0
- codex/views/template.py +3 -3
- codex/views/util.py +77 -0
- codex/views/version.py +2 -2
- codex/websockets/consumers.py +14 -10
- {codex-1.5.17.dist-info → codex-1.6.0.dist-info}/METADATA +36 -18
- codex-1.6.0.dist-info/RECORD +1013 -0
- codex/db_functions.py +0 -25
- codex/img/missing-cover.webp +0 -0
- codex/librarian/importer/update_comics.py +0 -90
- codex/serializers/metadata.py +0 -15
- codex/static_root/assets/VCheckbox-CFqm2IhY.60c7775eda9e.js +0 -1
- codex/static_root/assets/VCheckbox-CFqm2IhY.60c7775eda9e.js.br +0 -0
- codex/static_root/assets/VCheckbox-CFqm2IhY.60c7775eda9e.js.gz +0 -0
- codex/static_root/assets/VCheckbox-CFqm2IhY.js +0 -1
- codex/static_root/assets/VCheckbox-CFqm2IhY.js.br +0 -0
- codex/static_root/assets/VCheckbox-CFqm2IhY.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-BjWW08N8.bee4c9c1c3b4.js +0 -1
- codex/static_root/assets/VCheckboxBtn-BjWW08N8.bee4c9c1c3b4.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-BjWW08N8.bee4c9c1c3b4.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-BjWW08N8.js +0 -1
- codex/static_root/assets/VCheckboxBtn-BjWW08N8.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-BjWW08N8.js.gz +0 -0
- codex/static_root/assets/VCombobox-BiHR4LaF.7487536b173b.js +0 -1
- codex/static_root/assets/VCombobox-BiHR4LaF.7487536b173b.js.br +0 -0
- codex/static_root/assets/VCombobox-BiHR4LaF.7487536b173b.js.gz +0 -0
- codex/static_root/assets/VCombobox-BiHR4LaF.js +0 -1
- codex/static_root/assets/VCombobox-BiHR4LaF.js.br +0 -0
- codex/static_root/assets/VCombobox-BiHR4LaF.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual--XFLD9jr.ecfcb691279b.js +0 -1
- codex/static_root/assets/VDataTableVirtual--XFLD9jr.ecfcb691279b.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual--XFLD9jr.ecfcb691279b.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual--XFLD9jr.js +0 -1
- codex/static_root/assets/VDataTableVirtual--XFLD9jr.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual--XFLD9jr.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-CSBxS0yr.825a0ca38f9d.css +0 -1
- codex/static_root/assets/VDataTableVirtual-CSBxS0yr.825a0ca38f9d.css.br +0 -0
- codex/static_root/assets/VDataTableVirtual-CSBxS0yr.825a0ca38f9d.css.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-CSBxS0yr.css +0 -1
- codex/static_root/assets/VDataTableVirtual-CSBxS0yr.css.br +0 -0
- codex/static_root/assets/VDataTableVirtual-CSBxS0yr.css.gz +0 -0
- codex/static_root/assets/VExpansionPanel-CSSnZFhG.bb54c6635f82.js +0 -1
- codex/static_root/assets/VExpansionPanel-CSSnZFhG.bb54c6635f82.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-CSSnZFhG.bb54c6635f82.js.gz +0 -0
- codex/static_root/assets/VExpansionPanel-CSSnZFhG.js +0 -1
- codex/static_root/assets/VExpansionPanel-CSSnZFhG.js.br +0 -0
- codex/static_root/assets/VExpansionPanel-CSSnZFhG.js.gz +0 -0
- codex/static_root/assets/VMain-BJLquw4_.0d36762696df.js +0 -1
- codex/static_root/assets/VMain-BJLquw4_.0d36762696df.js.br +0 -0
- codex/static_root/assets/VMain-BJLquw4_.0d36762696df.js.gz +0 -0
- codex/static_root/assets/VMain-BJLquw4_.js +0 -1
- codex/static_root/assets/VMain-BJLquw4_.js.br +0 -0
- codex/static_root/assets/VMain-BJLquw4_.js.gz +0 -0
- codex/static_root/assets/VMain-Byt37V4c.a00e206f3cfa.css +0 -1
- codex/static_root/assets/VMain-Byt37V4c.a00e206f3cfa.css.br +0 -0
- codex/static_root/assets/VMain-Byt37V4c.a00e206f3cfa.css.gz +0 -0
- codex/static_root/assets/VMain-Byt37V4c.css +0 -1
- codex/static_root/assets/VMain-Byt37V4c.css.br +0 -0
- codex/static_root/assets/VMain-Byt37V4c.css.gz +0 -0
- codex/static_root/assets/VRadioGroup-BrO5lLMK.60b07cdd1b52.js +0 -1
- codex/static_root/assets/VRadioGroup-BrO5lLMK.60b07cdd1b52.js.br +0 -0
- codex/static_root/assets/VRadioGroup-BrO5lLMK.60b07cdd1b52.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-BrO5lLMK.js +0 -1
- codex/static_root/assets/VRadioGroup-BrO5lLMK.js.br +0 -0
- codex/static_root/assets/VRadioGroup-BrO5lLMK.js.gz +0 -0
- codex/static_root/assets/VSelect-BdGop3V2.604c1785fbff.css +0 -1
- codex/static_root/assets/VSelect-BdGop3V2.604c1785fbff.css.br +0 -0
- codex/static_root/assets/VSelect-BdGop3V2.604c1785fbff.css.gz +0 -0
- codex/static_root/assets/VSelect-BdGop3V2.css +0 -1
- codex/static_root/assets/VSelect-BdGop3V2.css.br +0 -0
- codex/static_root/assets/VSelect-BdGop3V2.css.gz +0 -0
- codex/static_root/assets/VSelect-CAEbdtAK.6d93a3800567.js +0 -1
- codex/static_root/assets/VSelect-CAEbdtAK.6d93a3800567.js.br +0 -0
- codex/static_root/assets/VSelect-CAEbdtAK.6d93a3800567.js.gz +0 -0
- codex/static_root/assets/VSelect-CAEbdtAK.js +0 -1
- codex/static_root/assets/VSelect-CAEbdtAK.js.br +0 -0
- codex/static_root/assets/VSelect-CAEbdtAK.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BoyRbIct.7cfcfa9ae20b.js +0 -1
- codex/static_root/assets/VSelectionControl-BoyRbIct.7cfcfa9ae20b.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BoyRbIct.7cfcfa9ae20b.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-BoyRbIct.js +0 -1
- codex/static_root/assets/VSelectionControl-BoyRbIct.js.br +0 -0
- codex/static_root/assets/VSelectionControl-BoyRbIct.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-C3lY91uv.css +0 -1
- codex/static_root/assets/VSlideGroup-C3lY91uv.css.br +0 -0
- codex/static_root/assets/VSlideGroup-C3lY91uv.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-C3lY91uv.d268067bd078.css +0 -1
- codex/static_root/assets/VSlideGroup-C3lY91uv.d268067bd078.css.br +0 -0
- codex/static_root/assets/VSlideGroup-C3lY91uv.d268067bd078.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-IIebYuJm.d50fd68270e6.js +0 -1
- codex/static_root/assets/VSlideGroup-IIebYuJm.d50fd68270e6.js.br +0 -0
- codex/static_root/assets/VSlideGroup-IIebYuJm.d50fd68270e6.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-IIebYuJm.js +0 -1
- codex/static_root/assets/VSlideGroup-IIebYuJm.js.br +0 -0
- codex/static_root/assets/VSlideGroup-IIebYuJm.js.gz +0 -0
- codex/static_root/assets/VTable-XNBBnB2q.b2784736062a.js.br +0 -0
- codex/static_root/assets/VTable-XNBBnB2q.b2784736062a.js.gz +0 -0
- codex/static_root/assets/VTable-XNBBnB2q.js.br +0 -0
- codex/static_root/assets/VTable-XNBBnB2q.js.gz +0 -0
- codex/static_root/assets/VToolbar-CLYsoOKq.acca0b6c0684.js +0 -2
- codex/static_root/assets/VToolbar-CLYsoOKq.acca0b6c0684.js.br +0 -0
- codex/static_root/assets/VToolbar-CLYsoOKq.acca0b6c0684.js.gz +0 -0
- codex/static_root/assets/VToolbar-CLYsoOKq.js +0 -2
- codex/static_root/assets/VToolbar-CLYsoOKq.js.br +0 -0
- codex/static_root/assets/VToolbar-CLYsoOKq.js.gz +0 -0
- codex/static_root/assets/VToolbar-DqQLg1UA.614d6a4a8a09.css +0 -1
- codex/static_root/assets/VToolbar-DqQLg1UA.614d6a4a8a09.css.br +0 -0
- codex/static_root/assets/VToolbar-DqQLg1UA.614d6a4a8a09.css.gz +0 -0
- codex/static_root/assets/VToolbar-DqQLg1UA.css +0 -1
- codex/static_root/assets/VToolbar-DqQLg1UA.css.br +0 -0
- codex/static_root/assets/VToolbar-DqQLg1UA.css.gz +0 -0
- codex/static_root/assets/VWindowItem-CPevuSn_.27817d5bd8e4.js +0 -1
- codex/static_root/assets/VWindowItem-CPevuSn_.27817d5bd8e4.js.br +0 -0
- codex/static_root/assets/VWindowItem-CPevuSn_.27817d5bd8e4.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CPevuSn_.js +0 -1
- codex/static_root/assets/VWindowItem-CPevuSn_.js.br +0 -0
- codex/static_root/assets/VWindowItem-CPevuSn_.js.gz +0 -0
- codex/static_root/assets/admin-CzWbM7Nl.95cf937f31ff.js +0 -1
- codex/static_root/assets/admin-CzWbM7Nl.95cf937f31ff.js.br +0 -0
- codex/static_root/assets/admin-CzWbM7Nl.95cf937f31ff.js.gz +0 -0
- codex/static_root/assets/admin-CzWbM7Nl.js +0 -1
- codex/static_root/assets/admin-CzWbM7Nl.js.br +0 -0
- codex/static_root/assets/admin-CzWbM7Nl.js.gz +0 -0
- codex/static_root/assets/admin-Df82-Qcj.4c3f0406ee54.css +0 -1
- codex/static_root/assets/admin-Df82-Qcj.4c3f0406ee54.css.br +0 -0
- codex/static_root/assets/admin-Df82-Qcj.4c3f0406ee54.css.gz +0 -0
- codex/static_root/assets/admin-Df82-Qcj.css +0 -1
- codex/static_root/assets/admin-Df82-Qcj.css.br +0 -0
- codex/static_root/assets/admin-Df82-Qcj.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-B4-04ET4.ff74b52952d0.js +0 -30
- codex/static_root/assets/admin-drawer-panel-B4-04ET4.ff74b52952d0.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-B4-04ET4.ff74b52952d0.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-B4-04ET4.js +0 -30
- codex/static_root/assets/admin-drawer-panel-B4-04ET4.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-B4-04ET4.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Cr-0BCQv.b519336cb005.css +0 -1
- codex/static_root/assets/admin-drawer-panel-Cr-0BCQv.b519336cb005.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Cr-0BCQv.b519336cb005.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Cr-0BCQv.css +0 -1
- codex/static_root/assets/admin-drawer-panel-Cr-0BCQv.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Cr-0BCQv.css.gz +0 -0
- codex/static_root/assets/browser-BldK4CGS.ce8c71552de0.js +0 -1
- codex/static_root/assets/browser-BldK4CGS.ce8c71552de0.js.br +0 -0
- codex/static_root/assets/browser-BldK4CGS.ce8c71552de0.js.gz +0 -0
- codex/static_root/assets/browser-BldK4CGS.js +0 -1
- codex/static_root/assets/browser-BldK4CGS.js.br +0 -0
- codex/static_root/assets/browser-BldK4CGS.js.gz +0 -0
- codex/static_root/assets/browser-HtKThxA9.69be059a55f4.css +0 -1
- codex/static_root/assets/browser-HtKThxA9.69be059a55f4.css.br +0 -0
- codex/static_root/assets/browser-HtKThxA9.69be059a55f4.css.gz +0 -0
- codex/static_root/assets/browser-HtKThxA9.css +0 -1
- codex/static_root/assets/browser-HtKThxA9.css.br +0 -0
- codex/static_root/assets/browser-HtKThxA9.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-BRmvkNir.2fead58a78c7.css +0 -1
- codex/static_root/assets/change-password-dialog-BRmvkNir.2fead58a78c7.css.br +0 -0
- codex/static_root/assets/change-password-dialog-BRmvkNir.2fead58a78c7.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-BRmvkNir.css +0 -1
- codex/static_root/assets/change-password-dialog-BRmvkNir.css.br +0 -0
- codex/static_root/assets/change-password-dialog-BRmvkNir.css.gz +0 -0
- codex/static_root/assets/change-password-dialog-DAvSz_BT.89752c597186.js +0 -1
- codex/static_root/assets/change-password-dialog-DAvSz_BT.89752c597186.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DAvSz_BT.89752c597186.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-DAvSz_BT.js +0 -1
- codex/static_root/assets/change-password-dialog-DAvSz_BT.js.br +0 -0
- codex/static_root/assets/change-password-dialog-DAvSz_BT.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-0mqMQack.a2b39e1d65f7.js +0 -1
- codex/static_root/assets/confirm-dialog-0mqMQack.a2b39e1d65f7.js.br +0 -0
- codex/static_root/assets/confirm-dialog-0mqMQack.a2b39e1d65f7.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-0mqMQack.js +0 -1
- codex/static_root/assets/confirm-dialog-0mqMQack.js.br +0 -0
- codex/static_root/assets/confirm-dialog-0mqMQack.js.gz +0 -0
- codex/static_root/assets/confirm-footer-VFepxcJs.4150131304bd.css +0 -1
- codex/static_root/assets/confirm-footer-VFepxcJs.4150131304bd.css.br +0 -0
- codex/static_root/assets/confirm-footer-VFepxcJs.4150131304bd.css.gz +0 -0
- codex/static_root/assets/confirm-footer-VFepxcJs.css +0 -1
- codex/static_root/assets/confirm-footer-VFepxcJs.css.br +0 -0
- codex/static_root/assets/confirm-footer-VFepxcJs.css.gz +0 -0
- codex/static_root/assets/confirm-footer-oTUv06_v.99f172061491.js +0 -1
- codex/static_root/assets/confirm-footer-oTUv06_v.99f172061491.js.br +0 -0
- codex/static_root/assets/confirm-footer-oTUv06_v.99f172061491.js.gz +0 -0
- codex/static_root/assets/confirm-footer-oTUv06_v.js +0 -1
- codex/static_root/assets/confirm-footer-oTUv06_v.js.br +0 -0
- codex/static_root/assets/confirm-footer-oTUv06_v.js.gz +0 -0
- codex/static_root/assets/datetime-column-BWWfvyhn.a4a94ba57c73.css +0 -1
- codex/static_root/assets/datetime-column-BWWfvyhn.a4a94ba57c73.css.br +0 -0
- codex/static_root/assets/datetime-column-BWWfvyhn.css +0 -1
- codex/static_root/assets/datetime-column-BWWfvyhn.css.br +0 -0
- codex/static_root/assets/datetime-column-D3I95kw3.26791f31ac02.js +0 -1
- codex/static_root/assets/datetime-column-D3I95kw3.26791f31ac02.js.br +0 -0
- codex/static_root/assets/datetime-column-D3I95kw3.26791f31ac02.js.gz +0 -0
- codex/static_root/assets/datetime-column-D3I95kw3.js +0 -1
- codex/static_root/assets/datetime-column-D3I95kw3.js.br +0 -0
- codex/static_root/assets/datetime-column-D3I95kw3.js.gz +0 -0
- codex/static_root/assets/filter-D95Y3XYa.b69f5d543997.js +0 -1
- codex/static_root/assets/filter-D95Y3XYa.b69f5d543997.js.br +0 -0
- codex/static_root/assets/filter-D95Y3XYa.b69f5d543997.js.gz +0 -0
- codex/static_root/assets/filter-D95Y3XYa.js +0 -1
- codex/static_root/assets/filter-D95Y3XYa.js.br +0 -0
- codex/static_root/assets/filter-D95Y3XYa.js.gz +0 -0
- codex/static_root/assets/flag-tab-C9vu256Y.bd43f22c727b.js +0 -1
- codex/static_root/assets/flag-tab-C9vu256Y.bd43f22c727b.js.br +0 -0
- codex/static_root/assets/flag-tab-C9vu256Y.bd43f22c727b.js.gz +0 -0
- codex/static_root/assets/flag-tab-C9vu256Y.js +0 -1
- codex/static_root/assets/flag-tab-C9vu256Y.js.br +0 -0
- codex/static_root/assets/flag-tab-C9vu256Y.js.gz +0 -0
- codex/static_root/assets/flag-tab-D_HjkAta.203bedf35ce7.css +0 -1
- codex/static_root/assets/flag-tab-D_HjkAta.203bedf35ce7.css.br +0 -0
- codex/static_root/assets/flag-tab-D_HjkAta.203bedf35ce7.css.gz +0 -0
- codex/static_root/assets/flag-tab-D_HjkAta.css +0 -1
- codex/static_root/assets/flag-tab-D_HjkAta.css.br +0 -0
- codex/static_root/assets/flag-tab-D_HjkAta.css.gz +0 -0
- codex/static_root/assets/group-tab-DKqBg4yc.22ea16c1e331.js +0 -1
- codex/static_root/assets/group-tab-DKqBg4yc.22ea16c1e331.js.br +0 -0
- codex/static_root/assets/group-tab-DKqBg4yc.22ea16c1e331.js.gz +0 -0
- codex/static_root/assets/group-tab-DKqBg4yc.js +0 -1
- codex/static_root/assets/group-tab-DKqBg4yc.js.br +0 -0
- codex/static_root/assets/group-tab-DKqBg4yc.js.gz +0 -0
- codex/static_root/assets/group-tab-GFacGljN.98df9e04f2a7.css +0 -1
- codex/static_root/assets/group-tab-GFacGljN.98df9e04f2a7.css.br +0 -0
- codex/static_root/assets/group-tab-GFacGljN.98df9e04f2a7.css.gz +0 -0
- codex/static_root/assets/group-tab-GFacGljN.css +0 -1
- codex/static_root/assets/group-tab-GFacGljN.css.br +0 -0
- codex/static_root/assets/group-tab-GFacGljN.css.gz +0 -0
- codex/static_root/assets/http-error-C25WdjWC.1c7337ad6e1d.css +0 -1
- codex/static_root/assets/http-error-C25WdjWC.1c7337ad6e1d.css.br +0 -0
- codex/static_root/assets/http-error-C25WdjWC.1c7337ad6e1d.css.gz +0 -0
- codex/static_root/assets/http-error-C25WdjWC.css +0 -1
- codex/static_root/assets/http-error-C25WdjWC.css.br +0 -0
- codex/static_root/assets/http-error-C25WdjWC.css.gz +0 -0
- codex/static_root/assets/http-error-F_AIFiVP.1d3b95f22256.js +0 -1
- codex/static_root/assets/http-error-F_AIFiVP.1d3b95f22256.js.br +0 -0
- codex/static_root/assets/http-error-F_AIFiVP.1d3b95f22256.js.gz +0 -0
- codex/static_root/assets/http-error-F_AIFiVP.js +0 -1
- codex/static_root/assets/http-error-F_AIFiVP.js.br +0 -0
- codex/static_root/assets/http-error-F_AIFiVP.js.gz +0 -0
- codex/static_root/assets/index-DUjeNg4x.36d50c91b2c1.js +0 -1
- codex/static_root/assets/index-DUjeNg4x.36d50c91b2c1.js.br +0 -0
- codex/static_root/assets/index-DUjeNg4x.36d50c91b2c1.js.gz +0 -0
- codex/static_root/assets/index-DUjeNg4x.js +0 -1
- codex/static_root/assets/index-DUjeNg4x.js.br +0 -0
- codex/static_root/assets/index-DUjeNg4x.js.gz +0 -0
- codex/static_root/assets/library-tab-CKYjhIWV.a1119d2cb417.js +0 -1
- codex/static_root/assets/library-tab-CKYjhIWV.a1119d2cb417.js.br +0 -0
- codex/static_root/assets/library-tab-CKYjhIWV.a1119d2cb417.js.gz +0 -0
- codex/static_root/assets/library-tab-CKYjhIWV.js +0 -1
- codex/static_root/assets/library-tab-CKYjhIWV.js.br +0 -0
- codex/static_root/assets/library-tab-CKYjhIWV.js.gz +0 -0
- codex/static_root/assets/library-tab-DZKDtQ5v.c8123e4bc5a4.css +0 -1
- codex/static_root/assets/library-tab-DZKDtQ5v.c8123e4bc5a4.css.br +0 -3
- codex/static_root/assets/library-tab-DZKDtQ5v.c8123e4bc5a4.css.gz +0 -0
- codex/static_root/assets/library-tab-DZKDtQ5v.css +0 -1
- codex/static_root/assets/library-tab-DZKDtQ5v.css.br +0 -3
- codex/static_root/assets/library-tab-DZKDtQ5v.css.gz +0 -0
- codex/static_root/assets/main-BJxn-WA7.a04c671bd796.js +0 -32
- codex/static_root/assets/main-BJxn-WA7.a04c671bd796.js.br +0 -0
- codex/static_root/assets/main-BJxn-WA7.a04c671bd796.js.gz +0 -0
- codex/static_root/assets/main-BJxn-WA7.js +0 -32
- codex/static_root/assets/main-BJxn-WA7.js.br +0 -0
- codex/static_root/assets/main-BJxn-WA7.js.gz +0 -0
- codex/static_root/assets/main-ClKzvaJK.04ea1888c6b4.css.br +0 -0
- codex/static_root/assets/main-ClKzvaJK.css.br +0 -0
- codex/static_root/assets/metadata-dialog-DNdhw8Y2.21df0d7eff56.js +0 -1
- codex/static_root/assets/metadata-dialog-DNdhw8Y2.21df0d7eff56.js.br +0 -0
- codex/static_root/assets/metadata-dialog-DNdhw8Y2.21df0d7eff56.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-DNdhw8Y2.js +0 -1
- codex/static_root/assets/metadata-dialog-DNdhw8Y2.js.br +0 -0
- codex/static_root/assets/metadata-dialog-DNdhw8Y2.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-DqTRiI3h.ac34b1bcab82.css +0 -1
- codex/static_root/assets/metadata-dialog-DqTRiI3h.ac34b1bcab82.css.br +0 -0
- codex/static_root/assets/metadata-dialog-DqTRiI3h.ac34b1bcab82.css.gz +0 -0
- codex/static_root/assets/metadata-dialog-DqTRiI3h.css +0 -1
- codex/static_root/assets/metadata-dialog-DqTRiI3h.css.br +0 -0
- codex/static_root/assets/metadata-dialog-DqTRiI3h.css.gz +0 -0
- codex/static_root/assets/pdf-doc-DQV6XqAo.38b6ebeec5bc.js +0 -35
- codex/static_root/assets/pdf-doc-DQV6XqAo.38b6ebeec5bc.js.br +0 -0
- codex/static_root/assets/pdf-doc-DQV6XqAo.38b6ebeec5bc.js.gz +0 -0
- codex/static_root/assets/pdf-doc-DQV6XqAo.js +0 -35
- codex/static_root/assets/pdf-doc-DQV6XqAo.js.br +0 -0
- codex/static_root/assets/pdf-doc-DQV6XqAo.js.gz +0 -0
- codex/static_root/assets/reader-BuAYRwBN.3f834951f509.js +0 -2
- codex/static_root/assets/reader-BuAYRwBN.3f834951f509.js.br +0 -0
- codex/static_root/assets/reader-BuAYRwBN.3f834951f509.js.gz +0 -0
- codex/static_root/assets/reader-BuAYRwBN.js +0 -2
- codex/static_root/assets/reader-BuAYRwBN.js.br +0 -0
- codex/static_root/assets/reader-BuAYRwBN.js.gz +0 -0
- codex/static_root/assets/reader-CG6zrLXl.css +0 -1
- codex/static_root/assets/reader-CG6zrLXl.css.br +0 -0
- codex/static_root/assets/reader-CG6zrLXl.css.gz +0 -0
- codex/static_root/assets/reader-CG6zrLXl.ed017042cd53.css +0 -1
- codex/static_root/assets/reader-CG6zrLXl.ed017042cd53.css.br +0 -0
- codex/static_root/assets/reader-CG6zrLXl.ed017042cd53.css.gz +0 -0
- codex/static_root/assets/stats-tab-BTZLMBCU.7e0a9547c12e.css +0 -1
- codex/static_root/assets/stats-tab-BTZLMBCU.7e0a9547c12e.css.br +0 -0
- codex/static_root/assets/stats-tab-BTZLMBCU.7e0a9547c12e.css.gz +0 -0
- codex/static_root/assets/stats-tab-BTZLMBCU.css +0 -1
- codex/static_root/assets/stats-tab-BTZLMBCU.css.br +0 -0
- codex/static_root/assets/stats-tab-BTZLMBCU.css.gz +0 -0
- codex/static_root/assets/stats-tab-wzOFMrgw.ffc62bf814ce.js +0 -1
- codex/static_root/assets/stats-tab-wzOFMrgw.ffc62bf814ce.js.br +0 -0
- codex/static_root/assets/stats-tab-wzOFMrgw.ffc62bf814ce.js.gz +0 -0
- codex/static_root/assets/stats-tab-wzOFMrgw.js +0 -1
- codex/static_root/assets/stats-tab-wzOFMrgw.js.br +0 -0
- codex/static_root/assets/stats-tab-wzOFMrgw.js.gz +0 -0
- codex/static_root/assets/task-tab-DoX9OA37.9bb355f36dbf.css +0 -1
- codex/static_root/assets/task-tab-DoX9OA37.9bb355f36dbf.css.gz +0 -0
- codex/static_root/assets/task-tab-DoX9OA37.css +0 -1
- codex/static_root/assets/task-tab-DoX9OA37.css.gz +0 -0
- codex/static_root/assets/task-tab-UYMTSKl-.c37096a07f51.js +0 -1
- codex/static_root/assets/task-tab-UYMTSKl-.c37096a07f51.js.br +0 -0
- codex/static_root/assets/task-tab-UYMTSKl-.c37096a07f51.js.gz +0 -0
- codex/static_root/assets/task-tab-UYMTSKl-.js +0 -1
- codex/static_root/assets/task-tab-UYMTSKl-.js.br +0 -0
- codex/static_root/assets/task-tab-UYMTSKl-.js.gz +0 -0
- codex/static_root/assets/to-case-kUm8NPpW.5b3369f511b8.js +0 -1
- codex/static_root/assets/to-case-kUm8NPpW.js +0 -1
- codex/static_root/assets/user-tab-ByP2OwxN.255023553b2e.js +0 -1
- codex/static_root/assets/user-tab-ByP2OwxN.255023553b2e.js.br +0 -0
- codex/static_root/assets/user-tab-ByP2OwxN.255023553b2e.js.gz +0 -0
- codex/static_root/assets/user-tab-ByP2OwxN.js +0 -1
- codex/static_root/assets/user-tab-ByP2OwxN.js.br +0 -0
- codex/static_root/assets/user-tab-ByP2OwxN.js.gz +0 -0
- codex/static_root/img/logo-32.dbb98f6dfde4.webp +0 -0
- codex/static_root/img/logo-maskable-180.201cbde62d55.webp +0 -0
- codex/static_root/img/logo-maskable.d618c2d7943f.svg +0 -83
- codex/static_root/img/logo-maskable.d618c2d7943f.svg.br +0 -0
- codex/static_root/img/logo-maskable.d618c2d7943f.svg.gz +0 -0
- codex/static_root/img/logo.3fb129bfbd92.svg +0 -80
- codex/static_root/img/logo.3fb129bfbd92.svg.br +0 -0
- codex/static_root/img/logo.3fb129bfbd92.svg.gz +0 -0
- codex/static_root/img/missing-cover.8c8c1d4f6782.webp +0 -0
- codex/static_root/img/missing-cover.webp +0 -0
- codex/static_root/img/missing-page.71bb10f7c72a.svg +0 -13
- codex/static_root/img/missing-page.71bb10f7c72a.svg.br +0 -0
- codex/static_root/img/missing-page.71bb10f7c72a.svg.gz +0 -0
- codex/static_root/img/missing-page.svg +0 -13
- codex/static_root/img/missing-page.svg.br +0 -0
- codex/static_root/img/missing-page.svg.gz +0 -0
- codex/static_root/js/choices-admin.bb730e4f26ac.json +0 -1
- codex/static_root/js/choices-admin.bb730e4f26ac.json.br +0 -0
- codex/static_root/js/choices-admin.bb730e4f26ac.json.gz +0 -0
- codex/static_root/js/choices.fedcbd1ec085.json +0 -1
- codex/static_root/js/choices.fedcbd1ec085.json.br +0 -0
- codex/static_root/js/choices.fedcbd1ec085.json.gz +0 -0
- codex/static_root/manifest.d2fc837c9c53.json +0 -607
- codex/static_root/manifest.d2fc837c9c53.json.br +0 -0
- codex/static_root/manifest.d2fc837c9c53.json.gz +0 -0
- codex/views/browser/browser_annotations.py +0 -298
- codex/views/browser/browser_order_by.py +0 -108
- codex/views/browser/const.py +0 -3
- codex/views/browser/session.py +0 -12
- codex/views/cover.py +0 -59
- codex-1.5.17.dist-info/RECORD +0 -936
- /codex/static_root/assets/{VExpansionPanel-DsEXVcCv.20b475255e66.css → VExpansionPanels-DsEXVcCv.20b475255e66.css} +0 -0
- /codex/static_root/assets/{VExpansionPanel-DsEXVcCv.20b475255e66.css.br → VExpansionPanels-DsEXVcCv.20b475255e66.css.br} +0 -0
- /codex/static_root/assets/{VExpansionPanel-DsEXVcCv.20b475255e66.css.gz → VExpansionPanels-DsEXVcCv.20b475255e66.css.gz} +0 -0
- /codex/static_root/assets/{VExpansionPanel-DsEXVcCv.css → VExpansionPanels-DsEXVcCv.css} +0 -0
- /codex/static_root/assets/{VExpansionPanel-DsEXVcCv.css.br → VExpansionPanels-DsEXVcCv.css.br} +0 -0
- /codex/static_root/assets/{VExpansionPanel-DsEXVcCv.css.gz → VExpansionPanels-DsEXVcCv.css.gz} +0 -0
- {codex-1.5.17.dist-info → codex-1.6.0.dist-info}/LICENSE +0 -0
- {codex-1.5.17.dist-info → codex-1.6.0.dist-info}/WHEEL +0 -0
- {codex-1.5.17.dist-info → codex-1.6.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,299 +1,31 @@
|
|
|
1
1
|
"""Bulk import and move comics and folders."""
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
from pathlib import Path
|
|
5
|
-
from time import sleep, time
|
|
3
|
+
from django.utils import timezone
|
|
6
4
|
|
|
7
|
-
from
|
|
8
|
-
from humanize import naturaldelta
|
|
9
|
-
|
|
10
|
-
from codex.librarian.importer.aggregate_metadata import AggregateMetadataMixin
|
|
11
|
-
from codex.librarian.importer.const import FIS, FKS, M2M_MDS, MDS
|
|
12
|
-
from codex.librarian.importer.deleted import DeletedMixin
|
|
13
|
-
from codex.librarian.importer.failed_imports import FailedImportsMixin
|
|
14
|
-
from codex.librarian.importer.moved import MovedMixin
|
|
5
|
+
from codex.librarian.importer.importer import ComicImporter
|
|
15
6
|
from codex.librarian.importer.status import ImportStatusTypes
|
|
16
7
|
from codex.librarian.importer.tasks import (
|
|
17
8
|
AdoptOrphanFoldersTask,
|
|
18
9
|
ImportDBDiffTask,
|
|
19
10
|
LazyImportComicsTask,
|
|
11
|
+
UpdateGroupsTask,
|
|
20
12
|
)
|
|
21
|
-
from codex.librarian.
|
|
22
|
-
from codex.
|
|
23
|
-
from codex.librarian.search.status import SearchIndexStatusTypes
|
|
24
|
-
from codex.librarian.search.tasks import SearchIndexAbortTask, SearchIndexUpdateTask
|
|
25
|
-
from codex.librarian.tasks import DelayedTasks
|
|
26
|
-
from codex.models import Comic, Library
|
|
13
|
+
from codex.librarian.notifier.tasks import LIBRARY_CHANGED_TASK
|
|
14
|
+
from codex.models import Comic, Folder, Library
|
|
27
15
|
from codex.status import Status
|
|
28
|
-
|
|
29
|
-
_WRITE_WAIT_EXPIRY = 60
|
|
16
|
+
from codex.threads import QueuedThread
|
|
30
17
|
|
|
31
18
|
|
|
32
|
-
class ComicImporterThread(
|
|
33
|
-
AggregateMetadataMixin,
|
|
34
|
-
DeletedMixin,
|
|
35
|
-
UpdateComicsMixin,
|
|
36
|
-
FailedImportsMixin,
|
|
37
|
-
MovedMixin,
|
|
38
|
-
):
|
|
19
|
+
class ComicImporterThread(QueuedThread):
|
|
39
20
|
"""A worker to handle all bulk database updates."""
|
|
40
21
|
|
|
41
|
-
def
|
|
42
|
-
|
|
43
|
-
started_checking = time()
|
|
44
|
-
|
|
45
|
-
# Don't wait for deletes to complete.
|
|
46
|
-
# Do wait for move, modified, create files before import.
|
|
47
|
-
all_modified_paths = (
|
|
48
|
-
frozenset(task.dirs_moved.values())
|
|
49
|
-
| frozenset(task.files_moved.values())
|
|
50
|
-
| task.dirs_modified
|
|
51
|
-
| task.files_modified
|
|
52
|
-
| task.files_created
|
|
53
|
-
)
|
|
54
|
-
|
|
55
|
-
old_total_size = -1
|
|
56
|
-
total_size = 0
|
|
57
|
-
wait_time = 2
|
|
58
|
-
while old_total_size != total_size:
|
|
59
|
-
if old_total_size > 0:
|
|
60
|
-
# second time around or more
|
|
61
|
-
sleep(wait_time)
|
|
62
|
-
wait_time = wait_time**2
|
|
63
|
-
self.log.debug(
|
|
64
|
-
f"Waiting for files to copy before import: "
|
|
65
|
-
f"{old_total_size} != {total_size}"
|
|
66
|
-
)
|
|
67
|
-
if time() - started_checking > _WRITE_WAIT_EXPIRY:
|
|
68
|
-
return True
|
|
69
|
-
|
|
70
|
-
old_total_size = total_size
|
|
71
|
-
total_size = 0
|
|
72
|
-
for path_str in all_modified_paths:
|
|
73
|
-
path = Path(path_str)
|
|
74
|
-
if path.exists():
|
|
75
|
-
total_size += Path(path).stat().st_size
|
|
76
|
-
return False
|
|
77
|
-
|
|
78
|
-
def _log_task_construct_dirs_log(self, task):
|
|
79
|
-
"""Construct dirs log line."""
|
|
80
|
-
dirs_log = []
|
|
81
|
-
if task.dirs_moved:
|
|
82
|
-
dirs_log += [f"{len(task.dirs_moved)} moved"]
|
|
83
|
-
if task.dirs_modified:
|
|
84
|
-
dirs_log += [f"{len(task.dirs_modified)} modified"]
|
|
85
|
-
if task.dirs_deleted:
|
|
86
|
-
dirs_log += [f"{len(task.dirs_deleted)} deleted"]
|
|
87
|
-
return dirs_log
|
|
88
|
-
|
|
89
|
-
def _log_task_construct_comics_log(self, task):
|
|
90
|
-
"""Construct comcis log line."""
|
|
91
|
-
comics_log = []
|
|
92
|
-
if task.files_moved:
|
|
93
|
-
comics_log += [f"{len(task.files_moved)} moved"]
|
|
94
|
-
if task.files_modified:
|
|
95
|
-
comics_log += [f"{len(task.files_modified)} modified"]
|
|
96
|
-
if task.files_created:
|
|
97
|
-
comics_log += [f"{len(task.files_created)} created"]
|
|
98
|
-
if task.files_deleted:
|
|
99
|
-
comics_log += [f"{len(task.files_deleted)} deleted"]
|
|
100
|
-
return comics_log
|
|
101
|
-
|
|
102
|
-
def _log_task(self, path, task):
|
|
103
|
-
"""Log the watchdog event task."""
|
|
104
|
-
if self.log.getEffectiveLevel() < logging.DEBUG:
|
|
105
|
-
return
|
|
106
|
-
|
|
107
|
-
self.log.debug(f"Updating library {path}...")
|
|
108
|
-
comics_log = self._log_task_construct_comics_log(task)
|
|
109
|
-
if comics_log:
|
|
110
|
-
log = "Comics: "
|
|
111
|
-
log += ", ".join(comics_log)
|
|
112
|
-
self.log.debug(" " + log)
|
|
22
|
+
def _create_importer(self, task):
|
|
23
|
+
return ComicImporter(task, self.log_queue, self.librarian_queue)
|
|
113
24
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
self.log.debug(" " + log)
|
|
119
|
-
|
|
120
|
-
@staticmethod
|
|
121
|
-
def _init_if_modified_or_created(task, path, status_list):
|
|
122
|
-
"""Initialize librarian statuses for modified or created ops."""
|
|
123
|
-
total_paths = len(task.files_modified) + len(task.files_created)
|
|
124
|
-
status_list += [
|
|
125
|
-
Status(ImportStatusTypes.AGGREGATE_TAGS, 0, total_paths, subtitle=path),
|
|
126
|
-
Status(ImportStatusTypes.QUERY_MISSING_FKS),
|
|
127
|
-
Status(ImportStatusTypes.CREATE_FKS),
|
|
128
|
-
]
|
|
129
|
-
if task.files_modified:
|
|
130
|
-
status_list += [
|
|
131
|
-
Status(
|
|
132
|
-
ImportStatusTypes.FILES_MODIFIED,
|
|
133
|
-
None,
|
|
134
|
-
len(task.files_modified),
|
|
135
|
-
)
|
|
136
|
-
]
|
|
137
|
-
if task.files_created:
|
|
138
|
-
status_list += [
|
|
139
|
-
Status(ImportStatusTypes.FILES_CREATED, None, len(task.files_created))
|
|
140
|
-
]
|
|
141
|
-
if task.files_modified or task.files_created:
|
|
142
|
-
status_list += [Status(ImportStatusTypes.LINK_M2M_FIELDS)]
|
|
143
|
-
return total_paths
|
|
144
|
-
|
|
145
|
-
def _init_librarian_status(self, task, path):
|
|
146
|
-
"""Update the librarian status tasks."""
|
|
147
|
-
status_list = []
|
|
148
|
-
search_index_updates = 0
|
|
149
|
-
if task.dirs_moved:
|
|
150
|
-
status_list += [
|
|
151
|
-
Status(ImportStatusTypes.DIRS_MOVED, None, len(task.dirs_moved))
|
|
152
|
-
]
|
|
153
|
-
if task.files_moved:
|
|
154
|
-
status_list += [
|
|
155
|
-
Status(ImportStatusTypes.FILES_MOVED, None, len(task.files_moved))
|
|
156
|
-
]
|
|
157
|
-
search_index_updates += len(task.files_moved)
|
|
158
|
-
if task.files_modified:
|
|
159
|
-
status_list += [
|
|
160
|
-
Status(ImportStatusTypes.DIRS_MODIFIED, None, len(task.dirs_modified))
|
|
161
|
-
]
|
|
162
|
-
if task.files_modified or task.files_created:
|
|
163
|
-
search_index_updates += self._init_if_modified_or_created(
|
|
164
|
-
task, path, status_list
|
|
165
|
-
)
|
|
166
|
-
if task.files_deleted:
|
|
167
|
-
status_list += [
|
|
168
|
-
Status(ImportStatusTypes.FILES_DELETED, None, len(task.files_deleted))
|
|
169
|
-
]
|
|
170
|
-
search_index_updates += len(task.files_deleted)
|
|
171
|
-
status_list += [
|
|
172
|
-
Status(
|
|
173
|
-
SearchIndexStatusTypes.SEARCH_INDEX_UPDATE,
|
|
174
|
-
0,
|
|
175
|
-
search_index_updates,
|
|
176
|
-
),
|
|
177
|
-
Status(SearchIndexStatusTypes.SEARCH_INDEX_REMOVE),
|
|
178
|
-
]
|
|
179
|
-
self.status_controller.start_many(status_list)
|
|
180
|
-
|
|
181
|
-
def _init_apply(self, library, task):
|
|
182
|
-
"""Initialize the library and status flags."""
|
|
183
|
-
library.update_in_progress = True
|
|
184
|
-
library.save()
|
|
185
|
-
too_long = self._wait_for_filesystem_ops_to_finish(task)
|
|
186
|
-
if too_long:
|
|
187
|
-
self.log.warning(
|
|
188
|
-
"Import apply waited for the filesystem to stop changing too long. "
|
|
189
|
-
"Try polling again once files have finished copying"
|
|
190
|
-
f" in library: {library.path}"
|
|
191
|
-
)
|
|
192
|
-
return
|
|
193
|
-
self._log_task(library.path, task)
|
|
194
|
-
self._init_librarian_status(task, library.path)
|
|
195
|
-
|
|
196
|
-
def _create_comic_relations(self, library, fks) -> int:
|
|
197
|
-
"""Query all foreign keys to determine what needs creating, then create them."""
|
|
198
|
-
if not fks:
|
|
199
|
-
return 0
|
|
200
|
-
create_data = self.query_all_missing_fks(library.path, fks)
|
|
201
|
-
return self.create_all_fks(library, create_data)
|
|
202
|
-
|
|
203
|
-
def _finish_apply_status(self, library):
|
|
204
|
-
"""Finish all librarian statuses."""
|
|
205
|
-
library.update_in_progress = False
|
|
206
|
-
library.save()
|
|
207
|
-
self.status_controller.finish_many(ImportStatusTypes.values)
|
|
208
|
-
|
|
209
|
-
def _finish_apply(self, changed, new_failed_imports, changed_args):
|
|
210
|
-
"""Perform final tasks when the apply is done."""
|
|
211
|
-
if changed:
|
|
212
|
-
library, start_time, imported_count = changed_args
|
|
213
|
-
self.librarian_queue.put(LIBRARY_CHANGED_TASK)
|
|
214
|
-
elapsed_time = time() - start_time
|
|
215
|
-
elapsed = naturaldelta(elapsed_time)
|
|
216
|
-
log_txt = f"Updated library {library.path} in {elapsed}."
|
|
217
|
-
if imported_count:
|
|
218
|
-
cps = round(imported_count / elapsed_time, 1)
|
|
219
|
-
log_txt += (
|
|
220
|
-
f" Imported {imported_count} comics at {cps} comics per second."
|
|
221
|
-
)
|
|
222
|
-
else:
|
|
223
|
-
log_txt += " No comics to import."
|
|
224
|
-
self.log.info(log_txt)
|
|
225
|
-
|
|
226
|
-
# Wait to start the search index update in case more updates are incoming.
|
|
227
|
-
until = time() + 3
|
|
228
|
-
delayed_search_task = DelayedTasks(until, (SearchIndexUpdateTask(False),))
|
|
229
|
-
self.librarian_queue.put(delayed_search_task)
|
|
230
|
-
else:
|
|
231
|
-
self.log.info("No updates neccissary.")
|
|
232
|
-
if new_failed_imports:
|
|
233
|
-
self.librarian_queue.put(FAILED_IMPORTS_TASK)
|
|
234
|
-
|
|
235
|
-
def _apply(self, task):
|
|
236
|
-
"""Bulk import comics."""
|
|
237
|
-
start_time = time()
|
|
238
|
-
self.librarian_queue.put(SearchIndexAbortTask())
|
|
239
|
-
library = Library.objects.get(pk=task.library_id)
|
|
240
|
-
try:
|
|
241
|
-
self._init_apply(library, task)
|
|
242
|
-
|
|
243
|
-
changed: int = 0
|
|
244
|
-
changed += self.move_and_modify_dirs(library, task)
|
|
245
|
-
|
|
246
|
-
modified_paths = task.files_modified
|
|
247
|
-
created_paths = task.files_created
|
|
248
|
-
task.files_modified = task.files_created = None
|
|
249
|
-
mds = {}
|
|
250
|
-
m2m_mds = {}
|
|
251
|
-
fks = {}
|
|
252
|
-
fis = {}
|
|
253
|
-
all_metadata = {
|
|
254
|
-
MDS: mds,
|
|
255
|
-
M2M_MDS: m2m_mds,
|
|
256
|
-
FKS: fks,
|
|
257
|
-
FIS: fis,
|
|
258
|
-
}
|
|
259
|
-
self.get_aggregate_metadata(
|
|
260
|
-
modified_paths | created_paths,
|
|
261
|
-
library.path,
|
|
262
|
-
all_metadata,
|
|
263
|
-
task.force_import_metadata,
|
|
264
|
-
)
|
|
265
|
-
all_metadata = None
|
|
266
|
-
modified_paths -= fis.keys()
|
|
267
|
-
created_paths -= fis.keys()
|
|
268
|
-
|
|
269
|
-
changed += self._create_comic_relations(library, fks)
|
|
270
|
-
fks = None
|
|
271
|
-
|
|
272
|
-
imported_count = self.bulk_update_comics(
|
|
273
|
-
modified_paths,
|
|
274
|
-
library,
|
|
275
|
-
created_paths,
|
|
276
|
-
mds,
|
|
277
|
-
)
|
|
278
|
-
modified_paths = None
|
|
279
|
-
imported_count += self.bulk_create_comics(created_paths, library, mds)
|
|
280
|
-
created_paths = mds = None
|
|
281
|
-
self.bulk_query_and_link_comic_m2m_fields(m2m_mds)
|
|
282
|
-
m2m_mds = None
|
|
283
|
-
changed += imported_count
|
|
284
|
-
|
|
285
|
-
new_failed_imports = self.fail_imports(
|
|
286
|
-
library, fis, bool(task.files_deleted)
|
|
287
|
-
)
|
|
288
|
-
|
|
289
|
-
changed += self.delete(library, task)
|
|
290
|
-
if changed:
|
|
291
|
-
cache.clear()
|
|
292
|
-
finally:
|
|
293
|
-
self._finish_apply_status(library)
|
|
294
|
-
|
|
295
|
-
changed_args = (library, start_time, imported_count)
|
|
296
|
-
self._finish_apply(changed, new_failed_imports, changed_args)
|
|
25
|
+
def _import(self, task):
|
|
26
|
+
"""Run an import task."""
|
|
27
|
+
importer = self._create_importer(task)
|
|
28
|
+
importer.apply()
|
|
297
29
|
|
|
298
30
|
def _lazy_import_metadata(self, task):
|
|
299
31
|
"""Kick off an import task for just these books."""
|
|
@@ -306,27 +38,76 @@ class ComicImporterThread(
|
|
|
306
38
|
library_path_map[library_id].add(import_comic.path)
|
|
307
39
|
|
|
308
40
|
for library_id, paths in library_path_map.items():
|
|
41
|
+
# An abridged import task.
|
|
309
42
|
task = ImportDBDiffTask(
|
|
310
43
|
library_id=library_id,
|
|
311
|
-
dirs_moved={},
|
|
312
|
-
files_moved={},
|
|
313
|
-
dirs_modified=frozenset(),
|
|
314
44
|
files_modified=frozenset(paths),
|
|
315
|
-
files_created=frozenset(),
|
|
316
|
-
dirs_deleted=frozenset(),
|
|
317
|
-
files_deleted=frozenset(),
|
|
318
45
|
force_import_metadata=True,
|
|
319
46
|
)
|
|
320
|
-
|
|
47
|
+
self._import(task)
|
|
48
|
+
|
|
49
|
+
def _adopt_orphan_folders_for_library(self, library):
|
|
50
|
+
"""Adopt orphan folders for one library."""
|
|
51
|
+
orphan_folder_paths = (
|
|
52
|
+
Folder.objects.filter(library=library, parent_folder=None)
|
|
53
|
+
.exclude(path=library.path)
|
|
54
|
+
.values_list("path", flat=True)
|
|
55
|
+
)
|
|
56
|
+
if not orphan_folder_paths:
|
|
57
|
+
self.log.debug(f"No orphan folders in {library.path}")
|
|
58
|
+
return False
|
|
59
|
+
|
|
60
|
+
self.log.debug(
|
|
61
|
+
f"{len(orphan_folder_paths)} orphan folders found in {library.path}"
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# Move in place
|
|
65
|
+
folders_moved = {path: path for path in orphan_folder_paths}
|
|
66
|
+
|
|
67
|
+
# An abridged import task.
|
|
68
|
+
task = ImportDBDiffTask(
|
|
69
|
+
library_id=library.pk,
|
|
70
|
+
dirs_moved=folders_moved,
|
|
71
|
+
)
|
|
72
|
+
importer = self._create_importer(task)
|
|
73
|
+
# Only run the moved task.
|
|
74
|
+
importer.bulk_folders_moved()
|
|
75
|
+
return True
|
|
76
|
+
|
|
77
|
+
def _adopt_orphan_folders(self):
|
|
78
|
+
"""Find orphan folders and move them into their correct place."""
|
|
79
|
+
status = Status(ImportStatusTypes.ADOPT_FOLDERS)
|
|
80
|
+
moved_status = Status(ImportStatusTypes.DIRS_MOVED)
|
|
81
|
+
self.status_controller.start(status)
|
|
82
|
+
self.status_controller.start(moved_status)
|
|
83
|
+
libraries = Library.objects.filter(covers_only=False).only("path")
|
|
84
|
+
for library in libraries.iterator():
|
|
85
|
+
folders_left = True
|
|
86
|
+
while folders_left:
|
|
87
|
+
# Run until there are no orphan folders
|
|
88
|
+
folders_left = self._adopt_orphan_folders_for_library(library)
|
|
89
|
+
|
|
90
|
+
self.status_controller.finish_many((moved_status, status))
|
|
91
|
+
|
|
92
|
+
def _update_groups(self, task):
|
|
93
|
+
pks = Library.objects.filter(covers_only=False).values_list("pk", flat=True)
|
|
94
|
+
start_time = task.start_time if task.start_time else timezone.now()
|
|
95
|
+
for pk in pks:
|
|
96
|
+
task = ImportDBDiffTask(library_id=pk)
|
|
97
|
+
importer = self._create_importer(task)
|
|
98
|
+
importer.update_all_groups({}, start_time)
|
|
99
|
+
self.librarian_queue.put(LIBRARY_CHANGED_TASK)
|
|
321
100
|
|
|
322
101
|
def process_item(self, item):
|
|
323
102
|
"""Run the updater."""
|
|
324
103
|
task = item
|
|
325
104
|
if isinstance(task, ImportDBDiffTask):
|
|
326
|
-
self.
|
|
105
|
+
self._import(task)
|
|
327
106
|
elif isinstance(task, LazyImportComicsTask):
|
|
328
107
|
self._lazy_import_metadata(task)
|
|
329
108
|
elif isinstance(task, AdoptOrphanFoldersTask):
|
|
330
|
-
self.
|
|
109
|
+
self._adopt_orphan_folders()
|
|
110
|
+
elif isinstance(task, UpdateGroupsTask):
|
|
111
|
+
self._update_groups(task)
|
|
331
112
|
else:
|
|
332
113
|
self.log.warning(f"Bad task sent to library updater {task}")
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
"""Initiale Importer."""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
from time import sleep, time
|
|
6
|
+
from typing import Any
|
|
7
|
+
|
|
8
|
+
from django.utils.timezone import now
|
|
9
|
+
|
|
10
|
+
from codex.librarian.importer.status import ImportStatusTypes
|
|
11
|
+
from codex.librarian.importer.tasks import ImportDBDiffTask
|
|
12
|
+
from codex.librarian.search.status import SearchIndexStatusTypes
|
|
13
|
+
from codex.librarian.search.tasks import SearchIndexAbortTask
|
|
14
|
+
from codex.models import Library
|
|
15
|
+
from codex.status import Status
|
|
16
|
+
from codex.worker_base import WorkerBaseMixin
|
|
17
|
+
|
|
18
|
+
_WRITE_WAIT_EXPIRY = 60
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class InitImporter(WorkerBaseMixin):
|
|
22
|
+
"""Initiale Importer."""
|
|
23
|
+
|
|
24
|
+
def __init__(self, task: ImportDBDiffTask, log_queue, librarian_queue):
|
|
25
|
+
"""Initialize the import."""
|
|
26
|
+
self.init_worker(log_queue, librarian_queue)
|
|
27
|
+
self.task: ImportDBDiffTask = task
|
|
28
|
+
self.metadata: dict[str, Any] = {}
|
|
29
|
+
self.changed: int = 0
|
|
30
|
+
self.library = Library.objects.only("path", "update_in_progress").get(
|
|
31
|
+
pk=self.task.library_id
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
def _wait_for_filesystem_ops_to_finish(self) -> bool:
|
|
35
|
+
"""Watchdog sends events before filesystem events finish, so wait for them."""
|
|
36
|
+
started_checking = time()
|
|
37
|
+
|
|
38
|
+
# Don't wait for deletes to complete.
|
|
39
|
+
# Do wait for move, modified, create files before import.
|
|
40
|
+
all_modified_paths = (
|
|
41
|
+
frozenset(self.task.dirs_moved.values())
|
|
42
|
+
| frozenset(self.task.files_moved.values())
|
|
43
|
+
| self.task.dirs_modified
|
|
44
|
+
| self.task.files_modified
|
|
45
|
+
| self.task.files_created
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
old_total_size = -1
|
|
49
|
+
total_size = 0
|
|
50
|
+
wait_time = 2
|
|
51
|
+
while old_total_size != total_size:
|
|
52
|
+
if old_total_size > 0:
|
|
53
|
+
# second time around or more
|
|
54
|
+
sleep(wait_time)
|
|
55
|
+
wait_time = wait_time**2
|
|
56
|
+
self.log.debug(
|
|
57
|
+
f"Waiting for files to copy before import: "
|
|
58
|
+
f"{old_total_size} != {total_size}"
|
|
59
|
+
)
|
|
60
|
+
if time() - started_checking > _WRITE_WAIT_EXPIRY:
|
|
61
|
+
return True
|
|
62
|
+
|
|
63
|
+
old_total_size = total_size
|
|
64
|
+
total_size = 0
|
|
65
|
+
for path_str in all_modified_paths:
|
|
66
|
+
path = Path(path_str)
|
|
67
|
+
if path.exists():
|
|
68
|
+
total_size += Path(path).stat().st_size
|
|
69
|
+
return False
|
|
70
|
+
|
|
71
|
+
#######
|
|
72
|
+
# LOG #
|
|
73
|
+
#######
|
|
74
|
+
def _log_task_construct_dirs_log(self):
|
|
75
|
+
"""Construct dirs log line."""
|
|
76
|
+
dirs_log = []
|
|
77
|
+
if self.task.dirs_moved:
|
|
78
|
+
dirs_log += [f"{len(self.task.dirs_moved)} moved"]
|
|
79
|
+
if self.task.dirs_modified:
|
|
80
|
+
dirs_log += [f"{len(self.task.dirs_modified)} modified"]
|
|
81
|
+
if self.task.dirs_deleted:
|
|
82
|
+
dirs_log += [f"{len(self.task.dirs_deleted)} deleted"]
|
|
83
|
+
return dirs_log
|
|
84
|
+
|
|
85
|
+
def _log_task_construct_comics_log(self):
|
|
86
|
+
"""Construct comcis log line."""
|
|
87
|
+
comics_log = []
|
|
88
|
+
if self.task.files_moved:
|
|
89
|
+
comics_log += [f"{len(self.task.files_moved)} moved"]
|
|
90
|
+
if self.task.files_modified:
|
|
91
|
+
comics_log += [f"{len(self.task.files_modified)} modified"]
|
|
92
|
+
if self.task.files_created:
|
|
93
|
+
comics_log += [f"{len(self.task.files_created)} created"]
|
|
94
|
+
if self.task.files_deleted:
|
|
95
|
+
comics_log += [f"{len(self.task.files_deleted)} deleted"]
|
|
96
|
+
return comics_log
|
|
97
|
+
|
|
98
|
+
def _log_task(self):
|
|
99
|
+
"""Log the watchdog event self.task."""
|
|
100
|
+
if self.log.getEffectiveLevel() < logging.DEBUG:
|
|
101
|
+
return
|
|
102
|
+
|
|
103
|
+
self.log.debug(f"Updating library {self.library.path}...")
|
|
104
|
+
comics_log = self._log_task_construct_comics_log()
|
|
105
|
+
if comics_log:
|
|
106
|
+
log = "Comics: "
|
|
107
|
+
log += ", ".join(comics_log)
|
|
108
|
+
self.log.debug(" " + log)
|
|
109
|
+
|
|
110
|
+
dirs_log = self._log_task_construct_dirs_log()
|
|
111
|
+
if dirs_log:
|
|
112
|
+
log = "Folders: "
|
|
113
|
+
log += ", ".join(dirs_log)
|
|
114
|
+
self.log.debug(" " + log)
|
|
115
|
+
|
|
116
|
+
########
|
|
117
|
+
# INIT #
|
|
118
|
+
########
|
|
119
|
+
def _init_librarian_status_moved(self, status_list):
|
|
120
|
+
"""Initialize moved statuses."""
|
|
121
|
+
search_index_updates = 0
|
|
122
|
+
if self.task.dirs_moved:
|
|
123
|
+
status_list += [
|
|
124
|
+
Status(ImportStatusTypes.DIRS_MOVED, None, len(self.task.dirs_moved))
|
|
125
|
+
]
|
|
126
|
+
if self.task.files_moved:
|
|
127
|
+
status_list += [
|
|
128
|
+
Status(ImportStatusTypes.FILES_MOVED, None, len(self.task.files_moved))
|
|
129
|
+
]
|
|
130
|
+
search_index_updates += len(self.task.files_moved)
|
|
131
|
+
if self.task.covers_moved:
|
|
132
|
+
status_list += [
|
|
133
|
+
Status(
|
|
134
|
+
ImportStatusTypes.COVERS_MOVED, None, len(self.task.covers_moved)
|
|
135
|
+
)
|
|
136
|
+
]
|
|
137
|
+
if self.task.dirs_modified:
|
|
138
|
+
status_list += [
|
|
139
|
+
Status(
|
|
140
|
+
ImportStatusTypes.DIRS_MODIFIED, None, len(self.task.dirs_modified)
|
|
141
|
+
)
|
|
142
|
+
]
|
|
143
|
+
return search_index_updates
|
|
144
|
+
|
|
145
|
+
def _init_if_modified_or_created(self, path, status_list):
|
|
146
|
+
"""Initialize librarian statuses for modified or created ops."""
|
|
147
|
+
total_paths = len(self.task.files_modified) + len(self.task.files_created)
|
|
148
|
+
status_list += [
|
|
149
|
+
Status(ImportStatusTypes.AGGREGATE_TAGS, 0, total_paths, subtitle=path),
|
|
150
|
+
Status(ImportStatusTypes.QUERY_MISSING_FKS),
|
|
151
|
+
Status(ImportStatusTypes.QUERY_MISSING_COVERS),
|
|
152
|
+
Status(ImportStatusTypes.CREATE_FKS),
|
|
153
|
+
]
|
|
154
|
+
if self.task.files_modified:
|
|
155
|
+
status_list += [
|
|
156
|
+
Status(
|
|
157
|
+
ImportStatusTypes.FILES_MODIFIED,
|
|
158
|
+
None,
|
|
159
|
+
len(self.task.files_modified),
|
|
160
|
+
)
|
|
161
|
+
]
|
|
162
|
+
if self.task.covers_modified:
|
|
163
|
+
status_list += [
|
|
164
|
+
Status(
|
|
165
|
+
ImportStatusTypes.COVERS_MODIFIED,
|
|
166
|
+
None,
|
|
167
|
+
len(self.task.covers_modified),
|
|
168
|
+
)
|
|
169
|
+
]
|
|
170
|
+
|
|
171
|
+
if self.task.files_created or self.task.covers_created:
|
|
172
|
+
status_list += [
|
|
173
|
+
Status(
|
|
174
|
+
ImportStatusTypes.FILES_CREATED, None, len(self.task.files_created)
|
|
175
|
+
)
|
|
176
|
+
]
|
|
177
|
+
if self.task.covers_created:
|
|
178
|
+
status_list += [
|
|
179
|
+
Status(
|
|
180
|
+
ImportStatusTypes.COVERS_CREATED,
|
|
181
|
+
None,
|
|
182
|
+
len(self.task.covers_created),
|
|
183
|
+
)
|
|
184
|
+
]
|
|
185
|
+
|
|
186
|
+
if self.task.files_modified or self.task.files_created:
|
|
187
|
+
status_list += [Status(ImportStatusTypes.LINK_M2M_FIELDS)]
|
|
188
|
+
|
|
189
|
+
num_covers_linked = (
|
|
190
|
+
len(self.task.covers_moved)
|
|
191
|
+
+ len(self.task.covers_modified)
|
|
192
|
+
+ len(self.task.covers_created)
|
|
193
|
+
)
|
|
194
|
+
if num_covers_linked:
|
|
195
|
+
status_list += [
|
|
196
|
+
Status(ImportStatusTypes.COVERS_LINK, None, num_covers_linked)
|
|
197
|
+
]
|
|
198
|
+
|
|
199
|
+
return total_paths
|
|
200
|
+
|
|
201
|
+
def _init_librarian_status_deleted(self, status_list):
|
|
202
|
+
"""Init deleted statuses."""
|
|
203
|
+
search_index_updates = 0
|
|
204
|
+
if self.task.files_deleted:
|
|
205
|
+
status_list += [
|
|
206
|
+
Status(
|
|
207
|
+
ImportStatusTypes.FILES_DELETED, None, len(self.task.files_deleted)
|
|
208
|
+
)
|
|
209
|
+
]
|
|
210
|
+
search_index_updates += len(self.task.files_deleted)
|
|
211
|
+
if self.task.covers_deleted:
|
|
212
|
+
status_list += [
|
|
213
|
+
Status(
|
|
214
|
+
ImportStatusTypes.COVERS_DELETED,
|
|
215
|
+
None,
|
|
216
|
+
len(self.task.covers_deleted),
|
|
217
|
+
)
|
|
218
|
+
]
|
|
219
|
+
return search_index_updates
|
|
220
|
+
|
|
221
|
+
@staticmethod
|
|
222
|
+
def _init_librarian_status_search_index(search_index_updates, status_list):
|
|
223
|
+
"""Init search index statuses."""
|
|
224
|
+
status_list += [
|
|
225
|
+
Status(
|
|
226
|
+
SearchIndexStatusTypes.SEARCH_INDEX_UPDATE,
|
|
227
|
+
0,
|
|
228
|
+
search_index_updates,
|
|
229
|
+
),
|
|
230
|
+
Status(SearchIndexStatusTypes.SEARCH_INDEX_REMOVE),
|
|
231
|
+
]
|
|
232
|
+
|
|
233
|
+
def _init_librarian_status(self, path):
|
|
234
|
+
"""Update the librarian status self.tasks."""
|
|
235
|
+
status_list = []
|
|
236
|
+
search_index_updates = 0
|
|
237
|
+
search_index_updates += self._init_librarian_status_moved(status_list)
|
|
238
|
+
if (
|
|
239
|
+
self.task.files_modified
|
|
240
|
+
or self.task.files_created
|
|
241
|
+
or self.task.covers_modified
|
|
242
|
+
or self.task.covers_created
|
|
243
|
+
):
|
|
244
|
+
search_index_updates += self._init_if_modified_or_created(path, status_list)
|
|
245
|
+
search_index_updates += self._init_librarian_status_deleted(status_list)
|
|
246
|
+
status_list += [Status(ImportStatusTypes.GROUP_UPDATE)]
|
|
247
|
+
self._init_librarian_status_search_index(search_index_updates, status_list)
|
|
248
|
+
self.status_controller.start_many(status_list)
|
|
249
|
+
|
|
250
|
+
def init_apply(self):
|
|
251
|
+
"""Initialize the library and status flags."""
|
|
252
|
+
self.start_time = now()
|
|
253
|
+
self.librarian_queue.put(SearchIndexAbortTask())
|
|
254
|
+
self.library.update_in_progress = True
|
|
255
|
+
self.library.save()
|
|
256
|
+
too_long = self._wait_for_filesystem_ops_to_finish()
|
|
257
|
+
if too_long:
|
|
258
|
+
self.log.warning(
|
|
259
|
+
"Import apply waited for the filesystem to stop changing too long. "
|
|
260
|
+
"Try polling again once files have finished copying"
|
|
261
|
+
f" in library: {self.library.path}"
|
|
262
|
+
)
|
|
263
|
+
return
|
|
264
|
+
self._log_task()
|
|
265
|
+
self._init_librarian_status(self.library.path)
|