codex 1.5.19__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 -40
- codex/models/functions.py +12 -0
- codex/models/groups.py +58 -12
- codex/models/library.py +11 -3
- codex/models/paths.py +62 -14
- 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-CzTNt4cV.39d03f0eaf4b.js → VCheckboxBtn-DxNOKONG.5ab34c4c47aa.js} +1 -1
- 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-CzTNt4cV.js → VCheckboxBtn-DxNOKONG.js} +1 -1
- 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-TEvK4Tmn.c68c176d93db.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-TEvK4Tmn.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-D380D1SI.f4bc34623651.js → flag-tab-9qxOALxP.f89bc9891671.js} +1 -1
- 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-D380D1SI.js → flag-tab-9qxOALxP.js} +1 -1
- 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-ED57DJUb.css → main-Ztp855PW.css} +1 -1
- codex/static_root/assets/main-Ztp855PW.css.br +0 -0
- codex/static_root/assets/{main-ED57DJUb.css.gz → main-Ztp855PW.css.gz} +0 -0
- codex/static_root/assets/{main-ED57DJUb.b84231dc384d.css → main-Ztp855PW.d46d718fac45.css} +1 -1
- codex/static_root/assets/main-Ztp855PW.d46d718fac45.css.br +0 -0
- codex/static_root/assets/{main-ED57DJUb.b84231dc384d.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 +337 -322
- 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.19.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-D7WF5wMC.c98c1beb207e.js +0 -1
- codex/static_root/assets/VCheckbox-D7WF5wMC.c98c1beb207e.js.br +0 -0
- codex/static_root/assets/VCheckbox-D7WF5wMC.c98c1beb207e.js.gz +0 -0
- codex/static_root/assets/VCheckbox-D7WF5wMC.js +0 -1
- codex/static_root/assets/VCheckbox-D7WF5wMC.js.br +0 -0
- codex/static_root/assets/VCheckbox-D7WF5wMC.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-CzTNt4cV.39d03f0eaf4b.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-CzTNt4cV.39d03f0eaf4b.js.gz +0 -0
- codex/static_root/assets/VCheckboxBtn-CzTNt4cV.js.br +0 -0
- codex/static_root/assets/VCheckboxBtn-CzTNt4cV.js.gz +0 -0
- codex/static_root/assets/VCombobox-BWrSBDP9.52f0c0067437.js +0 -1
- codex/static_root/assets/VCombobox-BWrSBDP9.52f0c0067437.js.br +0 -0
- codex/static_root/assets/VCombobox-BWrSBDP9.52f0c0067437.js.gz +0 -0
- codex/static_root/assets/VCombobox-BWrSBDP9.js +0 -1
- codex/static_root/assets/VCombobox-BWrSBDP9.js.br +0 -0
- codex/static_root/assets/VCombobox-BWrSBDP9.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-BMondxto.8b48739e5470.js +0 -1
- codex/static_root/assets/VDataTableVirtual-BMondxto.8b48739e5470.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-BMondxto.8b48739e5470.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-BMondxto.js +0 -1
- codex/static_root/assets/VDataTableVirtual-BMondxto.js.br +0 -0
- codex/static_root/assets/VDataTableVirtual-BMondxto.js.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-C5zDmmxd.a73a7dd5614a.css +0 -1
- codex/static_root/assets/VDataTableVirtual-C5zDmmxd.a73a7dd5614a.css.br +0 -0
- codex/static_root/assets/VDataTableVirtual-C5zDmmxd.a73a7dd5614a.css.gz +0 -0
- codex/static_root/assets/VDataTableVirtual-C5zDmmxd.css +0 -1
- codex/static_root/assets/VDataTableVirtual-C5zDmmxd.css.br +0 -0
- codex/static_root/assets/VDataTableVirtual-C5zDmmxd.css.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CDS9qp1D.9fdf68e2f68f.js +0 -1
- codex/static_root/assets/VExpansionPanels-CDS9qp1D.9fdf68e2f68f.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CDS9qp1D.9fdf68e2f68f.js.gz +0 -0
- codex/static_root/assets/VExpansionPanels-CDS9qp1D.js +0 -1
- codex/static_root/assets/VExpansionPanels-CDS9qp1D.js.br +0 -0
- codex/static_root/assets/VExpansionPanels-CDS9qp1D.js.gz +0 -0
- codex/static_root/assets/VMain-8vjSGbNt.4a97ed735dc3.js +0 -1
- codex/static_root/assets/VMain-8vjSGbNt.4a97ed735dc3.js.br +0 -0
- codex/static_root/assets/VMain-8vjSGbNt.4a97ed735dc3.js.gz +0 -0
- codex/static_root/assets/VMain-8vjSGbNt.js +0 -1
- codex/static_root/assets/VMain-8vjSGbNt.js.br +0 -0
- codex/static_root/assets/VMain-8vjSGbNt.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-DGplihzh.3f4a5d26a1cb.js +0 -1
- codex/static_root/assets/VRadioGroup-DGplihzh.3f4a5d26a1cb.js.br +0 -0
- codex/static_root/assets/VRadioGroup-DGplihzh.3f4a5d26a1cb.js.gz +0 -0
- codex/static_root/assets/VRadioGroup-DGplihzh.js +0 -1
- codex/static_root/assets/VRadioGroup-DGplihzh.js.br +0 -0
- codex/static_root/assets/VRadioGroup-DGplihzh.js.gz +0 -0
- codex/static_root/assets/VSelect-DfV5vhqb.d24dcc61a20f.js +0 -1
- codex/static_root/assets/VSelect-DfV5vhqb.d24dcc61a20f.js.br +0 -0
- codex/static_root/assets/VSelect-DfV5vhqb.d24dcc61a20f.js.gz +0 -0
- codex/static_root/assets/VSelect-DfV5vhqb.js +0 -1
- codex/static_root/assets/VSelect-DfV5vhqb.js.br +0 -0
- codex/static_root/assets/VSelect-DfV5vhqb.js.gz +0 -0
- codex/static_root/assets/VSelect-MGVSeLgr.7cabd30bc5e4.css +0 -1
- codex/static_root/assets/VSelect-MGVSeLgr.7cabd30bc5e4.css.br +0 -0
- codex/static_root/assets/VSelect-MGVSeLgr.7cabd30bc5e4.css.gz +0 -0
- codex/static_root/assets/VSelect-MGVSeLgr.css +0 -1
- codex/static_root/assets/VSelect-MGVSeLgr.css.br +0 -0
- codex/static_root/assets/VSelect-MGVSeLgr.css.gz +0 -0
- codex/static_root/assets/VSelectionControl-DvHEDoJy.30ca0aef8bd2.js +0 -1
- codex/static_root/assets/VSelectionControl-DvHEDoJy.30ca0aef8bd2.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DvHEDoJy.30ca0aef8bd2.js.gz +0 -0
- codex/static_root/assets/VSelectionControl-DvHEDoJy.js +0 -1
- codex/static_root/assets/VSelectionControl-DvHEDoJy.js.br +0 -0
- codex/static_root/assets/VSelectionControl-DvHEDoJy.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BdgkaRxE.ba78a4e0efc0.js +0 -1
- codex/static_root/assets/VSlideGroup-BdgkaRxE.ba78a4e0efc0.js.br +0 -0
- codex/static_root/assets/VSlideGroup-BdgkaRxE.ba78a4e0efc0.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-BdgkaRxE.js +0 -1
- codex/static_root/assets/VSlideGroup-BdgkaRxE.js.br +0 -0
- codex/static_root/assets/VSlideGroup-BdgkaRxE.js.gz +0 -0
- codex/static_root/assets/VSlideGroup-CTW-HJl4.8b75b66602c9.css +0 -1
- codex/static_root/assets/VSlideGroup-CTW-HJl4.8b75b66602c9.css.br +0 -0
- codex/static_root/assets/VSlideGroup-CTW-HJl4.8b75b66602c9.css.gz +0 -0
- codex/static_root/assets/VSlideGroup-CTW-HJl4.css +0 -1
- codex/static_root/assets/VSlideGroup-CTW-HJl4.css.br +0 -0
- codex/static_root/assets/VSlideGroup-CTW-HJl4.css.gz +0 -0
- codex/static_root/assets/VTable-TEvK4Tmn.c68c176d93db.js.br +0 -0
- codex/static_root/assets/VTable-TEvK4Tmn.c68c176d93db.js.gz +0 -0
- codex/static_root/assets/VTable-TEvK4Tmn.js.br +0 -0
- codex/static_root/assets/VTable-TEvK4Tmn.js.gz +0 -0
- codex/static_root/assets/VToolbar-D7BgLWdG.css +0 -1
- codex/static_root/assets/VToolbar-D7BgLWdG.css.br +0 -0
- codex/static_root/assets/VToolbar-D7BgLWdG.css.gz +0 -0
- codex/static_root/assets/VToolbar-D7BgLWdG.e4d8a79cc655.css +0 -1
- codex/static_root/assets/VToolbar-D7BgLWdG.e4d8a79cc655.css.br +0 -0
- codex/static_root/assets/VToolbar-D7BgLWdG.e4d8a79cc655.css.gz +0 -0
- codex/static_root/assets/VToolbar-DCXw9xBt.576c107a78d3.js +0 -2
- codex/static_root/assets/VToolbar-DCXw9xBt.576c107a78d3.js.br +0 -0
- codex/static_root/assets/VToolbar-DCXw9xBt.576c107a78d3.js.gz +0 -0
- codex/static_root/assets/VToolbar-DCXw9xBt.js +0 -2
- codex/static_root/assets/VToolbar-DCXw9xBt.js.br +0 -0
- codex/static_root/assets/VToolbar-DCXw9xBt.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CCYriq5i.8a6d4a38dabd.js +0 -1
- codex/static_root/assets/VWindowItem-CCYriq5i.8a6d4a38dabd.js.br +0 -0
- codex/static_root/assets/VWindowItem-CCYriq5i.8a6d4a38dabd.js.gz +0 -0
- codex/static_root/assets/VWindowItem-CCYriq5i.js +0 -1
- codex/static_root/assets/VWindowItem-CCYriq5i.js.br +0 -0
- codex/static_root/assets/VWindowItem-CCYriq5i.js.gz +0 -0
- codex/static_root/assets/admin-A2T028Mn.be3fa80456de.js +0 -1
- codex/static_root/assets/admin-A2T028Mn.be3fa80456de.js.br +0 -0
- codex/static_root/assets/admin-A2T028Mn.be3fa80456de.js.gz +0 -0
- codex/static_root/assets/admin-A2T028Mn.js +0 -1
- codex/static_root/assets/admin-A2T028Mn.js.br +0 -0
- codex/static_root/assets/admin-A2T028Mn.js.gz +0 -0
- codex/static_root/assets/admin-C8Kk7_Ni.255594400b96.css +0 -1
- codex/static_root/assets/admin-C8Kk7_Ni.255594400b96.css.br +0 -0
- codex/static_root/assets/admin-C8Kk7_Ni.255594400b96.css.gz +0 -0
- codex/static_root/assets/admin-C8Kk7_Ni.css +0 -1
- codex/static_root/assets/admin-C8Kk7_Ni.css.br +0 -0
- codex/static_root/assets/admin-C8Kk7_Ni.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-DffXGW1d.8f7f39ffb127.js +0 -30
- codex/static_root/assets/admin-drawer-panel-DffXGW1d.8f7f39ffb127.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-DffXGW1d.8f7f39ffb127.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-DffXGW1d.js +0 -30
- codex/static_root/assets/admin-drawer-panel-DffXGW1d.js.br +0 -0
- codex/static_root/assets/admin-drawer-panel-DffXGW1d.js.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Dv_IY0x2.af4fa9980c09.css +0 -1
- codex/static_root/assets/admin-drawer-panel-Dv_IY0x2.af4fa9980c09.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Dv_IY0x2.af4fa9980c09.css.gz +0 -0
- codex/static_root/assets/admin-drawer-panel-Dv_IY0x2.css +0 -1
- codex/static_root/assets/admin-drawer-panel-Dv_IY0x2.css.br +0 -0
- codex/static_root/assets/admin-drawer-panel-Dv_IY0x2.css.gz +0 -0
- codex/static_root/assets/browser-CY9BdW6B.c9c3e5dffcbf.js +0 -1
- codex/static_root/assets/browser-CY9BdW6B.c9c3e5dffcbf.js.br +0 -0
- codex/static_root/assets/browser-CY9BdW6B.c9c3e5dffcbf.js.gz +0 -0
- codex/static_root/assets/browser-CY9BdW6B.js +0 -1
- codex/static_root/assets/browser-CY9BdW6B.js.br +0 -0
- codex/static_root/assets/browser-CY9BdW6B.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-Dr1CYQ46.afdd502a985d.js +0 -1
- codex/static_root/assets/change-password-dialog-Dr1CYQ46.afdd502a985d.js.br +0 -0
- codex/static_root/assets/change-password-dialog-Dr1CYQ46.afdd502a985d.js.gz +0 -0
- codex/static_root/assets/change-password-dialog-Dr1CYQ46.js +0 -1
- codex/static_root/assets/change-password-dialog-Dr1CYQ46.js.br +0 -0
- codex/static_root/assets/change-password-dialog-Dr1CYQ46.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-BoVvCI5y.8549e2429bdf.js +0 -1
- codex/static_root/assets/confirm-dialog-BoVvCI5y.8549e2429bdf.js.br +0 -0
- codex/static_root/assets/confirm-dialog-BoVvCI5y.8549e2429bdf.js.gz +0 -0
- codex/static_root/assets/confirm-dialog-BoVvCI5y.js +0 -1
- codex/static_root/assets/confirm-dialog-BoVvCI5y.js.br +0 -0
- codex/static_root/assets/confirm-dialog-BoVvCI5y.js.gz +0 -0
- codex/static_root/assets/confirm-footer-BPuy6r_H.3aa74b8e07c1.css +0 -1
- codex/static_root/assets/confirm-footer-BPuy6r_H.3aa74b8e07c1.css.br +0 -0
- codex/static_root/assets/confirm-footer-BPuy6r_H.3aa74b8e07c1.css.gz +0 -0
- codex/static_root/assets/confirm-footer-BPuy6r_H.css +0 -1
- codex/static_root/assets/confirm-footer-BPuy6r_H.css.br +0 -0
- codex/static_root/assets/confirm-footer-BPuy6r_H.css.gz +0 -0
- codex/static_root/assets/confirm-footer-CIu2tkFD.0aa16c0fc333.js +0 -1
- codex/static_root/assets/confirm-footer-CIu2tkFD.0aa16c0fc333.js.br +0 -0
- codex/static_root/assets/confirm-footer-CIu2tkFD.0aa16c0fc333.js.gz +0 -0
- codex/static_root/assets/confirm-footer-CIu2tkFD.js +0 -1
- codex/static_root/assets/confirm-footer-CIu2tkFD.js.br +0 -0
- codex/static_root/assets/confirm-footer-CIu2tkFD.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-C3t430gN.97e5c5364aef.js +0 -1
- codex/static_root/assets/datetime-column-C3t430gN.97e5c5364aef.js.br +0 -0
- codex/static_root/assets/datetime-column-C3t430gN.97e5c5364aef.js.gz +0 -0
- codex/static_root/assets/datetime-column-C3t430gN.js +0 -1
- codex/static_root/assets/datetime-column-C3t430gN.js.br +0 -0
- codex/static_root/assets/datetime-column-C3t430gN.js.gz +0 -0
- codex/static_root/assets/filter-BQ_FuhIp.ee8b78c4aa55.js +0 -1
- codex/static_root/assets/filter-BQ_FuhIp.ee8b78c4aa55.js.br +0 -0
- codex/static_root/assets/filter-BQ_FuhIp.ee8b78c4aa55.js.gz +0 -0
- codex/static_root/assets/filter-BQ_FuhIp.js +0 -1
- codex/static_root/assets/filter-BQ_FuhIp.js.br +0 -0
- codex/static_root/assets/filter-BQ_FuhIp.js.gz +0 -0
- codex/static_root/assets/flag-tab-D380D1SI.f4bc34623651.js.br +0 -0
- codex/static_root/assets/flag-tab-D380D1SI.f4bc34623651.js.gz +0 -0
- codex/static_root/assets/flag-tab-D380D1SI.js.br +0 -0
- codex/static_root/assets/flag-tab-D380D1SI.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-CDcOyQyw.9c85a4fb987a.js +0 -1
- codex/static_root/assets/group-tab-CDcOyQyw.9c85a4fb987a.js.br +0 -0
- codex/static_root/assets/group-tab-CDcOyQyw.9c85a4fb987a.js.gz +0 -0
- codex/static_root/assets/group-tab-CDcOyQyw.js +0 -1
- codex/static_root/assets/group-tab-CDcOyQyw.js.br +0 -0
- codex/static_root/assets/group-tab-CDcOyQyw.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-D4BCbtF2.d3d31021f2ca.js +0 -1
- codex/static_root/assets/http-error-D4BCbtF2.d3d31021f2ca.js.br +0 -0
- codex/static_root/assets/http-error-D4BCbtF2.d3d31021f2ca.js.gz +0 -0
- codex/static_root/assets/http-error-D4BCbtF2.js +0 -1
- codex/static_root/assets/http-error-D4BCbtF2.js.br +0 -0
- codex/static_root/assets/http-error-D4BCbtF2.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-BpWTK9vs.b2a752770db5.js +0 -1
- codex/static_root/assets/library-tab-BpWTK9vs.b2a752770db5.js.br +0 -0
- codex/static_root/assets/library-tab-BpWTK9vs.b2a752770db5.js.gz +0 -0
- codex/static_root/assets/library-tab-BpWTK9vs.js +0 -1
- codex/static_root/assets/library-tab-BpWTK9vs.js.br +0 -0
- codex/static_root/assets/library-tab-BpWTK9vs.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-DB0zDxIA.e71734100695.js +0 -32
- codex/static_root/assets/main-DB0zDxIA.e71734100695.js.br +0 -0
- codex/static_root/assets/main-DB0zDxIA.e71734100695.js.gz +0 -0
- codex/static_root/assets/main-DB0zDxIA.js +0 -32
- codex/static_root/assets/main-DB0zDxIA.js.br +0 -0
- codex/static_root/assets/main-DB0zDxIA.js.gz +0 -0
- codex/static_root/assets/main-ED57DJUb.b84231dc384d.css.br +0 -0
- codex/static_root/assets/main-ED57DJUb.css.br +0 -0
- codex/static_root/assets/metadata-dialog-BlvHIpPe.aca38025f67b.js +0 -1
- codex/static_root/assets/metadata-dialog-BlvHIpPe.aca38025f67b.js.br +0 -0
- codex/static_root/assets/metadata-dialog-BlvHIpPe.aca38025f67b.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-BlvHIpPe.js +0 -1
- codex/static_root/assets/metadata-dialog-BlvHIpPe.js.br +0 -0
- codex/static_root/assets/metadata-dialog-BlvHIpPe.js.gz +0 -0
- codex/static_root/assets/metadata-dialog-CNrYFyyx.87cbe14f8752.css +0 -1
- codex/static_root/assets/metadata-dialog-CNrYFyyx.87cbe14f8752.css.br +0 -0
- codex/static_root/assets/metadata-dialog-CNrYFyyx.87cbe14f8752.css.gz +0 -0
- codex/static_root/assets/metadata-dialog-CNrYFyyx.css +0 -1
- codex/static_root/assets/metadata-dialog-CNrYFyyx.css.br +0 -0
- codex/static_root/assets/metadata-dialog-CNrYFyyx.css.gz +0 -0
- codex/static_root/assets/pdf-doc-x5fJF5N8.67b5456d222e.js +0 -35
- codex/static_root/assets/pdf-doc-x5fJF5N8.67b5456d222e.js.br +0 -0
- codex/static_root/assets/pdf-doc-x5fJF5N8.67b5456d222e.js.gz +0 -0
- codex/static_root/assets/pdf-doc-x5fJF5N8.js +0 -35
- codex/static_root/assets/pdf-doc-x5fJF5N8.js.br +0 -0
- codex/static_root/assets/pdf-doc-x5fJF5N8.js.gz +0 -0
- codex/static_root/assets/reader-BDo-P8Ww.46ce70253011.css +0 -1
- codex/static_root/assets/reader-BDo-P8Ww.46ce70253011.css.br +0 -0
- codex/static_root/assets/reader-BDo-P8Ww.46ce70253011.css.gz +0 -0
- codex/static_root/assets/reader-BDo-P8Ww.css +0 -1
- codex/static_root/assets/reader-BDo-P8Ww.css.br +0 -0
- codex/static_root/assets/reader-BDo-P8Ww.css.gz +0 -0
- codex/static_root/assets/reader-CXmsYhy4.3f98149c37d9.js +0 -2
- codex/static_root/assets/reader-CXmsYhy4.3f98149c37d9.js.br +0 -0
- codex/static_root/assets/reader-CXmsYhy4.3f98149c37d9.js.gz +0 -0
- codex/static_root/assets/reader-CXmsYhy4.js +0 -2
- codex/static_root/assets/reader-CXmsYhy4.js.br +0 -0
- codex/static_root/assets/reader-CXmsYhy4.js.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-xK8fU37K.24f65a4c7479.js +0 -1
- codex/static_root/assets/stats-tab-xK8fU37K.24f65a4c7479.js.br +0 -0
- codex/static_root/assets/stats-tab-xK8fU37K.24f65a4c7479.js.gz +0 -0
- codex/static_root/assets/stats-tab-xK8fU37K.js +0 -1
- codex/static_root/assets/stats-tab-xK8fU37K.js.br +0 -0
- codex/static_root/assets/stats-tab-xK8fU37K.js.gz +0 -0
- codex/static_root/assets/task-tab-D-j9C5kb.f8defdafa5d1.js +0 -1
- codex/static_root/assets/task-tab-D-j9C5kb.f8defdafa5d1.js.br +0 -0
- codex/static_root/assets/task-tab-D-j9C5kb.f8defdafa5d1.js.gz +0 -0
- codex/static_root/assets/task-tab-D-j9C5kb.js +0 -1
- codex/static_root/assets/task-tab-D-j9C5kb.js.br +0 -0
- codex/static_root/assets/task-tab-D-j9C5kb.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/to-case-kUm8NPpW.5b3369f511b8.js +0 -1
- codex/static_root/assets/to-case-kUm8NPpW.js +0 -1
- codex/static_root/assets/user-tab-DMcrO04A.501813c958bd.js +0 -1
- codex/static_root/assets/user-tab-DMcrO04A.501813c958bd.js.br +0 -0
- codex/static_root/assets/user-tab-DMcrO04A.501813c958bd.js.gz +0 -0
- codex/static_root/assets/user-tab-DMcrO04A.js +0 -1
- codex/static_root/assets/user-tab-DMcrO04A.js.br +0 -0
- codex/static_root/assets/user-tab-DMcrO04A.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.8e6c35516db7.json +0 -607
- codex/static_root/manifest.8e6c35516db7.json.br +0 -0
- codex/static_root/manifest.8e6c35516db7.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.19.dist-info/RECORD +0 -936
- {codex-1.5.19.dist-info → codex-1.6.0.dist-info}/LICENSE +0 -0
- {codex-1.5.19.dist-info → codex-1.6.0.dist-info}/WHEEL +0 -0
- {codex-1.5.19.dist-info → codex-1.6.0.dist-info}/entry_points.txt +0 -0
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from collections.abc import Mapping
|
|
4
4
|
from pathlib import Path
|
|
5
|
-
from zipfile import BadZipFile
|
|
6
5
|
|
|
7
|
-
from comicbox.box import Comicbox
|
|
8
|
-
from comicbox.exceptions import UnsupportedArchiveTypeError
|
|
9
|
-
from rarfile import BadRarFile
|
|
10
|
-
|
|
11
|
-
from codex.librarian.importer.clean_metadata import CleanMetadataMixin
|
|
12
6
|
from codex.librarian.importer.const import (
|
|
13
7
|
COMIC_FK_FIELD_NAMES,
|
|
14
8
|
COMIC_M2M_FIELD_NAMES,
|
|
@@ -24,13 +18,15 @@ from codex.librarian.importer.const import (
|
|
|
24
18
|
MDS,
|
|
25
19
|
VOLUME_COUNT,
|
|
26
20
|
)
|
|
27
|
-
from codex.librarian.importer.
|
|
21
|
+
from codex.librarian.importer.extract import ExtractMetadataImporter
|
|
22
|
+
from codex.librarian.importer.status import ImportStatusTypes
|
|
28
23
|
from codex.models import Imprint, Publisher, Series, Volume
|
|
29
24
|
from codex.models.admin import AdminFlag
|
|
30
25
|
from codex.status import Status
|
|
26
|
+
from codex.util import max_none
|
|
31
27
|
|
|
32
28
|
|
|
33
|
-
class
|
|
29
|
+
class AggregateMetadataImporter(ExtractMetadataImporter):
|
|
34
30
|
"""Aggregate metadata from comics to prepare for importing."""
|
|
35
31
|
|
|
36
32
|
_BROWSER_GROUPS = (Publisher, Imprint, Series, Volume)
|
|
@@ -86,37 +82,13 @@ class AggregateMetadataMixin(CleanMetadataMixin):
|
|
|
86
82
|
m2m_md[FOLDERS_FIELD] = Path(path).parents
|
|
87
83
|
return m2m_md
|
|
88
84
|
|
|
89
|
-
def _get_path_metadata(self,
|
|
90
|
-
"""Get the
|
|
91
|
-
|
|
92
|
-
fk_md =
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
try:
|
|
97
|
-
if import_metadata:
|
|
98
|
-
with Comicbox(path) as cb:
|
|
99
|
-
md = cb.to_dict()
|
|
100
|
-
md = md.get("comicbox", {})
|
|
101
|
-
if "file_type" not in md:
|
|
102
|
-
md["file_type"] = cb.get_file_type()
|
|
103
|
-
if "page_count" not in md:
|
|
104
|
-
md["page_count"] = cb.get_page_count()
|
|
105
|
-
|
|
106
|
-
md["path"] = path
|
|
107
|
-
md = self.clean_md(md)
|
|
108
|
-
|
|
109
|
-
group_tree_md = self._get_group_tree(md)
|
|
110
|
-
fk_md = self._get_fk_metadata(md)
|
|
111
|
-
m2m_md = self._get_m2m_metadata(md, path)
|
|
112
|
-
|
|
113
|
-
except (UnsupportedArchiveTypeError, BadRarFile, BadZipFile, OSError) as exc:
|
|
114
|
-
self.log.warning(f"Failed to import {path}: {exc}")
|
|
115
|
-
failed_import = {path: exc}
|
|
116
|
-
except Exception as exc:
|
|
117
|
-
self.log.exception(f"Failed to import: {path}")
|
|
118
|
-
failed_import = {path: exc}
|
|
119
|
-
return md, m2m_md, fk_md, group_tree_md, failed_import
|
|
85
|
+
def _get_path_metadata(self, md, path):
|
|
86
|
+
"""Get the metadata from comicbox and munge it a little."""
|
|
87
|
+
group_tree_md = self._get_group_tree(md)
|
|
88
|
+
fk_md = self._get_fk_metadata(md)
|
|
89
|
+
m2m_md = self._get_m2m_metadata(md, path)
|
|
90
|
+
|
|
91
|
+
return md, m2m_md, fk_md, group_tree_md
|
|
120
92
|
|
|
121
93
|
@staticmethod
|
|
122
94
|
def _aggregate_m2m_metadata_dict_value(names, key, values, all_fks):
|
|
@@ -182,22 +154,13 @@ class AggregateMetadataMixin(CleanMetadataMixin):
|
|
|
182
154
|
all_fks[field] = set()
|
|
183
155
|
all_fks[field].add(name)
|
|
184
156
|
|
|
185
|
-
@staticmethod
|
|
186
|
-
def _none_max(a, b):
|
|
187
|
-
"""None aware math.max."""
|
|
188
|
-
if a is not None and b is not None:
|
|
189
|
-
return max(a, b)
|
|
190
|
-
if a is None:
|
|
191
|
-
return b
|
|
192
|
-
return a
|
|
193
|
-
|
|
194
157
|
@classmethod
|
|
195
158
|
def _set_max_group_count(cls, common_args, group_class, index, count_key):
|
|
196
159
|
"""Assign the maximum group count number."""
|
|
197
160
|
all_fks, group_tree, group_md = common_args
|
|
198
161
|
group_name = group_tree[0:index]
|
|
199
162
|
try:
|
|
200
|
-
count =
|
|
163
|
+
count = max_none(
|
|
201
164
|
all_fks[GROUP_TREES][Series].get(group_name),
|
|
202
165
|
group_md.get(count_key),
|
|
203
166
|
)
|
|
@@ -215,72 +178,79 @@ class AggregateMetadataMixin(CleanMetadataMixin):
|
|
|
215
178
|
cls._set_max_group_count(common_args, Series, 3, VOLUME_COUNT)
|
|
216
179
|
cls._set_max_group_count(common_args, Volume, 4, ISSUE_COUNT)
|
|
217
180
|
|
|
218
|
-
def _aggregate_path(self,
|
|
181
|
+
def _aggregate_path(self, md, path, status):
|
|
219
182
|
"""Aggregate metadata for one path."""
|
|
220
|
-
|
|
221
|
-
md, m2m_md, fk_md, group_tree_md, failed_import = self._get_path_metadata(
|
|
222
|
-
path_str, import_metadata
|
|
223
|
-
)
|
|
183
|
+
md, m2m_md, fk_md, group_tree_md = self._get_path_metadata(md, path)
|
|
224
184
|
|
|
225
|
-
|
|
226
|
-
if
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
if md:
|
|
230
|
-
all_mds[path_str] = md
|
|
185
|
+
path_str = str(path)
|
|
186
|
+
if md:
|
|
187
|
+
all_mds = self.metadata[MDS]
|
|
188
|
+
all_mds[path_str] = md
|
|
231
189
|
|
|
232
|
-
|
|
233
|
-
|
|
190
|
+
all_fks = self.metadata[FKS]
|
|
191
|
+
if m2m_md:
|
|
192
|
+
all_m2m_mds = self.metadata[M2M_MDS]
|
|
193
|
+
self._aggregate_m2m_metadata(all_m2m_mds, m2m_md, all_fks, path_str)
|
|
234
194
|
|
|
235
|
-
|
|
236
|
-
|
|
195
|
+
if fk_md:
|
|
196
|
+
self._aggregate_fk_metadata(all_fks, fk_md)
|
|
237
197
|
|
|
238
|
-
|
|
239
|
-
|
|
198
|
+
if group_tree_md:
|
|
199
|
+
self._aggregate_group_tree_metadata(all_fks, group_tree_md)
|
|
240
200
|
|
|
241
201
|
if status:
|
|
242
202
|
status.complete += 1
|
|
243
203
|
self.status_controller.update(status)
|
|
244
204
|
|
|
245
|
-
|
|
246
|
-
def get_aggregate_metadata( # noqa: PLR0913
|
|
205
|
+
def get_aggregate_metadata(
|
|
247
206
|
self,
|
|
248
|
-
all_paths,
|
|
249
|
-
library_path,
|
|
250
|
-
metadata,
|
|
251
|
-
force_import_metadata,
|
|
252
207
|
status=None,
|
|
253
208
|
):
|
|
254
|
-
"""Get aggregated
|
|
209
|
+
"""Get aggregated metadata for the paths given."""
|
|
210
|
+
all_paths = self.task.files_modified | self.task.files_created
|
|
255
211
|
total_paths = len(all_paths)
|
|
212
|
+
|
|
256
213
|
if not total_paths:
|
|
257
214
|
return 0
|
|
258
|
-
self.log.info(
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
if
|
|
266
|
-
status.complete = 0
|
|
267
|
-
key = AdminFlag.FlagChoices.IMPORT_METADATA.value # type: ignore
|
|
268
|
-
if force_import_metadata:
|
|
215
|
+
self.log.info(
|
|
216
|
+
f"Reading tags from {total_paths} comics in {self.library.path}..."
|
|
217
|
+
)
|
|
218
|
+
status = Status(ImportStatusTypes.AGGREGATE_TAGS, 0, total_paths)
|
|
219
|
+
self.status_controller.start(status, notify=False)
|
|
220
|
+
|
|
221
|
+
# Set import_metadata flag
|
|
222
|
+
if self.task.force_import_metadata:
|
|
269
223
|
import_metadata = True
|
|
270
224
|
else:
|
|
225
|
+
key = AdminFlag.FlagChoices.IMPORT_METADATA.value # type: ignore
|
|
271
226
|
import_metadata = AdminFlag.objects.get(key=key).on
|
|
272
227
|
if not import_metadata:
|
|
273
228
|
self.log.warn("Admin flag set to NOT import metadata.")
|
|
274
|
-
|
|
229
|
+
|
|
230
|
+
# Init metadata, extract and aggregate
|
|
231
|
+
self.metadata[MDS] = {}
|
|
232
|
+
self.metadata[M2M_MDS] = {}
|
|
233
|
+
self.metadata[FKS] = {GROUP_TREES: {cls: {} for cls in self._BROWSER_GROUPS}}
|
|
234
|
+
self.metadata[FIS] = {}
|
|
275
235
|
for path in all_paths:
|
|
276
|
-
self.
|
|
236
|
+
md = self.extract_and_clean(path, import_metadata)
|
|
237
|
+
if md:
|
|
238
|
+
self._aggregate_path(md, path, status)
|
|
277
239
|
|
|
278
|
-
|
|
279
|
-
|
|
240
|
+
# Aggregate further
|
|
241
|
+
self.metadata[FKS][COMIC_PATHS] = frozenset(self.metadata[MDS].keys())
|
|
242
|
+
fis = self.metadata[FIS]
|
|
243
|
+
self.task.files_modified -= fis.keys()
|
|
244
|
+
self.task.files_created -= fis.keys()
|
|
245
|
+
|
|
246
|
+
# Set statii
|
|
247
|
+
fi_status = Status(ImportStatusTypes.FAILED_IMPORTS, 0, len(fis))
|
|
280
248
|
self.status_controller.update(
|
|
281
249
|
fi_status,
|
|
282
250
|
notify=False,
|
|
283
251
|
)
|
|
284
252
|
count = status.complete if status else 0
|
|
285
253
|
self.log.info(f"Aggregated tags from {count} comics.")
|
|
254
|
+
|
|
255
|
+
self.status_controller.finish(status)
|
|
286
256
|
return count
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"""Update Groups timestamp for cover cache busting."""
|
|
2
|
+
|
|
3
|
+
from django.db.models.aggregates import Count
|
|
4
|
+
from django.db.models.functions.datetime import Now
|
|
5
|
+
from django.db.models.query import Q
|
|
6
|
+
|
|
7
|
+
from codex.librarian.importer.init import InitImporter
|
|
8
|
+
from codex.librarian.importer.status import ImportStatusTypes
|
|
9
|
+
from codex.models import StoryArc, Volume
|
|
10
|
+
from codex.status import Status
|
|
11
|
+
from codex.views.const import GROUP_MODELS
|
|
12
|
+
|
|
13
|
+
_UPDATE_FIELDS = ("updated_at",)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CacheUpdateImporter(InitImporter):
|
|
17
|
+
"""Update Groups timestamp for cover cache busting."""
|
|
18
|
+
|
|
19
|
+
@staticmethod
|
|
20
|
+
def _get_update_filter(model, start_time, force_update_group_map):
|
|
21
|
+
# Get groups with comics updated during this import
|
|
22
|
+
rel = "storyarcnumber__" if model == StoryArc else ""
|
|
23
|
+
updated_at_rel = rel + "comic__updated_at__gt"
|
|
24
|
+
updated_filter = {updated_at_rel: start_time}
|
|
25
|
+
update_filter = Q(**updated_filter)
|
|
26
|
+
|
|
27
|
+
# Get groups with custom covers updated during this import
|
|
28
|
+
if model != Volume:
|
|
29
|
+
update_filter |= Q(custom_cover__updated_at__gt=start_time)
|
|
30
|
+
|
|
31
|
+
# Get groups to be force updated (usually those with deleted children)
|
|
32
|
+
if pks := force_update_group_map.get(model):
|
|
33
|
+
update_filter |= Q(pk__in=pks)
|
|
34
|
+
|
|
35
|
+
return update_filter
|
|
36
|
+
|
|
37
|
+
@staticmethod
|
|
38
|
+
def _add_child_count_filter(qs, model):
|
|
39
|
+
"""Filter out groups with no comics."""
|
|
40
|
+
rel_prefix = "storyarcnumber__" if model == StoryArc else ""
|
|
41
|
+
rel_prefix += "comic"
|
|
42
|
+
qs = qs.alias(child_count=Count(f"{rel_prefix}__pk", distinct=True))
|
|
43
|
+
return qs.filter(child_count__gt=0)
|
|
44
|
+
|
|
45
|
+
@classmethod
|
|
46
|
+
def _update_group_model(cls, force_update_group_map, model, start_time, log_list):
|
|
47
|
+
"""Update a single group model."""
|
|
48
|
+
update_filter = cls._get_update_filter(
|
|
49
|
+
model, start_time, force_update_group_map
|
|
50
|
+
)
|
|
51
|
+
qs = model.objects.filter(update_filter)
|
|
52
|
+
qs = cls._add_child_count_filter(qs, model)
|
|
53
|
+
|
|
54
|
+
qs = qs.distinct()
|
|
55
|
+
qs = qs.only(*_UPDATE_FIELDS)
|
|
56
|
+
|
|
57
|
+
updated = []
|
|
58
|
+
for obj in qs:
|
|
59
|
+
obj.updated_at = Now()
|
|
60
|
+
updated.append(obj)
|
|
61
|
+
|
|
62
|
+
count = len(updated)
|
|
63
|
+
if count:
|
|
64
|
+
model.objects.bulk_update(updated, _UPDATE_FIELDS)
|
|
65
|
+
log_list.append(f"{count} {model.__name__}s")
|
|
66
|
+
return count
|
|
67
|
+
|
|
68
|
+
def update_all_groups(self, force_update_group_map, start_time):
|
|
69
|
+
"""Update timestamps for each group for cover cache busting."""
|
|
70
|
+
total_count = 0
|
|
71
|
+
status = Status(ImportStatusTypes.GROUP_UPDATE)
|
|
72
|
+
self.status_controller.start(status)
|
|
73
|
+
try:
|
|
74
|
+
log_list = []
|
|
75
|
+
for model in GROUP_MODELS:
|
|
76
|
+
# self.log.debug(f"Updating timestamps for {model.__name__}s...")
|
|
77
|
+
count = self._update_group_model(
|
|
78
|
+
force_update_group_map, model, start_time, log_list
|
|
79
|
+
)
|
|
80
|
+
if count:
|
|
81
|
+
self.log.debug(f"Updated {count} {model.__name__}s timestamps.")
|
|
82
|
+
status.add_complete(count)
|
|
83
|
+
self.status_controller.update(status, notify=False)
|
|
84
|
+
total_count += count
|
|
85
|
+
|
|
86
|
+
if total_count:
|
|
87
|
+
groups_log = ", ".join(log_list)
|
|
88
|
+
self.log.info( # type: ignore
|
|
89
|
+
f"Updated timestamps for {groups_log}."
|
|
90
|
+
)
|
|
91
|
+
self.changed += total_count
|
|
92
|
+
finally:
|
|
93
|
+
self.status_controller.finish(status)
|
|
@@ -2,17 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
from types import MappingProxyType
|
|
4
4
|
|
|
5
|
+
from bidict import bidict
|
|
6
|
+
|
|
5
7
|
from codex.models import (
|
|
6
8
|
Comic,
|
|
7
9
|
Contributor,
|
|
10
|
+
Folder,
|
|
8
11
|
Imprint,
|
|
9
12
|
Publisher,
|
|
10
13
|
Series,
|
|
14
|
+
StoryArc,
|
|
11
15
|
StoryArcNumber,
|
|
12
16
|
Volume,
|
|
13
17
|
)
|
|
14
18
|
from codex.models.groups import BrowserGroupModel
|
|
15
19
|
from codex.models.named import Identifier
|
|
20
|
+
from codex.models.paths import CustomCover
|
|
16
21
|
|
|
17
22
|
#################
|
|
18
23
|
# DICT METADATA #
|
|
@@ -27,7 +32,6 @@ _NUMBER_FIELD_NAME = "number"
|
|
|
27
32
|
IDENTIFIERS_FIELD_NAME = "identifiers"
|
|
28
33
|
_IDENTIFIER_TYPE_FIELD_NAME = "identifier_type"
|
|
29
34
|
_IDENTIFIER_CODE_FIELD_NAME = "nss"
|
|
30
|
-
_IDENTIFIER_URL_FIELD_NAME = "url"
|
|
31
35
|
|
|
32
36
|
# AGGREGATE
|
|
33
37
|
DICT_MODEL_AGG_MAP = MappingProxyType(
|
|
@@ -50,28 +54,27 @@ DICT_MODEL_CLASS_FIELDS_MAP = MappingProxyType(
|
|
|
50
54
|
Identifier: frozenset({_IDENTIFIER_TYPE_FIELD_NAME}),
|
|
51
55
|
}
|
|
52
56
|
)
|
|
57
|
+
DICT_MODEL_FIELD_MODEL_MAP = MappingProxyType(
|
|
58
|
+
{
|
|
59
|
+
CONTRIBUTORS_FIELD_NAME: Contributor,
|
|
60
|
+
STORY_ARCS_METADATA_KEY: StoryArcNumber,
|
|
61
|
+
IDENTIFIERS_FIELD_NAME: Identifier,
|
|
62
|
+
}
|
|
63
|
+
)
|
|
53
64
|
DICT_MODEL_REL_MAP = MappingProxyType(
|
|
54
65
|
{
|
|
55
66
|
CONTRIBUTORS_FIELD_NAME: (
|
|
56
|
-
Contributor,
|
|
57
67
|
f"{_CONTRIBUTOR_ROLE_FIELD_NAME}__name",
|
|
58
68
|
f"{_CONTRIBUTOR_PERSON_FIELD_NAME}__name",
|
|
59
69
|
),
|
|
60
70
|
STORY_ARCS_METADATA_KEY: (
|
|
61
|
-
StoryArcNumber,
|
|
62
71
|
f"{_STORY_ARC_FIELD_NAME}__name",
|
|
63
72
|
_NUMBER_FIELD_NAME,
|
|
64
73
|
),
|
|
65
|
-
}
|
|
66
|
-
)
|
|
67
|
-
IDENTIFIERS_MODEL_REL_MAP = MappingProxyType(
|
|
68
|
-
{
|
|
69
74
|
IDENTIFIERS_FIELD_NAME: (
|
|
70
|
-
Identifier,
|
|
71
75
|
f"{_IDENTIFIER_TYPE_FIELD_NAME}__name",
|
|
72
76
|
{
|
|
73
77
|
"nss": _IDENTIFIER_CODE_FIELD_NAME,
|
|
74
|
-
"url": _IDENTIFIER_URL_FIELD_NAME,
|
|
75
78
|
},
|
|
76
79
|
),
|
|
77
80
|
}
|
|
@@ -112,12 +115,8 @@ DICT_MODEL_REL_LINK_MAP = MappingProxyType(
|
|
|
112
115
|
# BULK UPDATE #
|
|
113
116
|
###############
|
|
114
117
|
|
|
115
|
-
_EXCLUDEBULK_UPDATE_COMIC_FIELDS = {
|
|
116
|
-
|
|
117
|
-
"searchresult",
|
|
118
|
-
"id",
|
|
119
|
-
"bookmark",
|
|
120
|
-
}
|
|
118
|
+
_EXCLUDEBULK_UPDATE_COMIC_FIELDS = {"bookmark", "created_at", "id", "library"}
|
|
119
|
+
GROUP_BASE_FIELDS = ("name", "sort_name")
|
|
121
120
|
BULK_UPDATE_COMIC_FIELDS = tuple(
|
|
122
121
|
sorted(
|
|
123
122
|
field.name
|
|
@@ -126,6 +125,14 @@ BULK_UPDATE_COMIC_FIELDS = tuple(
|
|
|
126
125
|
and (field.name not in _EXCLUDEBULK_UPDATE_COMIC_FIELDS)
|
|
127
126
|
)
|
|
128
127
|
)
|
|
128
|
+
BULK_CREATE_COMIC_FIELDS = (*BULK_UPDATE_COMIC_FIELDS, "library")
|
|
129
|
+
BULK_UPDATE_FOLDER_FIELDS = (
|
|
130
|
+
*GROUP_BASE_FIELDS,
|
|
131
|
+
"stat",
|
|
132
|
+
"updated_at",
|
|
133
|
+
"path",
|
|
134
|
+
"parent_folder",
|
|
135
|
+
)
|
|
129
136
|
BULK_UPDATE_FOLDER_MODIFIED_FIELDS = ("stat", "updated_at")
|
|
130
137
|
BULK_UPDATE_COMIC_FIELDS_WITH_VALUES = tuple(
|
|
131
138
|
sorted(
|
|
@@ -133,6 +140,15 @@ BULK_UPDATE_COMIC_FIELDS_WITH_VALUES = tuple(
|
|
|
133
140
|
- frozenset(BULK_UPDATE_FOLDER_MODIFIED_FIELDS)
|
|
134
141
|
)
|
|
135
142
|
)
|
|
143
|
+
MOVED_BULK_COMIC_UPDATE_FIELDS = ("path", "parent_folder", "stat", "updated_at")
|
|
144
|
+
MOVED_BULK_FOLDER_UPDATE_FIELDS = (
|
|
145
|
+
"path",
|
|
146
|
+
"parent_folder",
|
|
147
|
+
*GROUP_BASE_FIELDS,
|
|
148
|
+
"stat",
|
|
149
|
+
"updated_at",
|
|
150
|
+
)
|
|
151
|
+
CUSTOM_COVER_UPDATE_FIELDS = ("path", "stat", "updated_at", "sort_name", "group")
|
|
136
152
|
|
|
137
153
|
#########
|
|
138
154
|
# OTHER #
|
|
@@ -140,14 +156,22 @@ BULK_UPDATE_COMIC_FIELDS_WITH_VALUES = tuple(
|
|
|
140
156
|
VOLUME_COUNT = "volume_count"
|
|
141
157
|
ISSUE_COUNT = "issue_count"
|
|
142
158
|
COUNT_FIELDS = {Series: VOLUME_COUNT, Volume: ISSUE_COUNT}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
159
|
+
_GROUP_CLASSES = (Publisher, Imprint, Series, Volume)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def _create_group_update_fields():
|
|
163
|
+
guf = {}
|
|
164
|
+
fields = GROUP_BASE_FIELDS
|
|
165
|
+
for cls in _GROUP_CLASSES:
|
|
166
|
+
if cls == Volume:
|
|
167
|
+
guf[cls] = tuple({*fields} - {"sort_name"})
|
|
168
|
+
else:
|
|
169
|
+
guf[cls] = fields
|
|
170
|
+
fields = (*fields, cls.__name__.lower())
|
|
171
|
+
return MappingProxyType(guf)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
GROUP_UPDATE_FIELDS = _create_group_update_fields()
|
|
151
175
|
NAMED_MODEL_UPDATE_FIELDS = ("name",)
|
|
152
176
|
FOLDERS_FIELD = "folders"
|
|
153
177
|
GROUP_TREES = "group_trees"
|
|
@@ -161,12 +185,25 @@ MDS = "mds"
|
|
|
161
185
|
M2M_MDS = "m2m_mds"
|
|
162
186
|
FKS = "fks"
|
|
163
187
|
FIS = "fis"
|
|
188
|
+
FK_CREATE = "fk_create"
|
|
189
|
+
COVERS_UPDATE = "covers_update"
|
|
190
|
+
COVERS_CREATE = "covers_create"
|
|
191
|
+
LINK_COVER_PKS = "link_cover_pks"
|
|
164
192
|
GROUP_COMPARE_FIELDS = MappingProxyType(
|
|
165
193
|
{
|
|
166
194
|
Series: ("publisher__name", "imprint__name", "name"),
|
|
167
195
|
Volume: ("publisher__name", "imprint__name", "series__name", "name"),
|
|
168
196
|
}
|
|
169
197
|
)
|
|
198
|
+
CLASS_CUSTOM_COVER_GROUP_MAP = bidict(
|
|
199
|
+
{
|
|
200
|
+
Publisher: CustomCover.GroupChoice.P.value,
|
|
201
|
+
Imprint: CustomCover.GroupChoice.I.value,
|
|
202
|
+
Series: CustomCover.GroupChoice.S.value,
|
|
203
|
+
StoryArc: CustomCover.GroupChoice.A.value,
|
|
204
|
+
Folder: CustomCover.GroupChoice.F.value,
|
|
205
|
+
}
|
|
206
|
+
)
|
|
170
207
|
|
|
171
208
|
COMIC_FK_FIELD_NAMES = frozenset(
|
|
172
209
|
field.name
|
|
@@ -182,3 +219,20 @@ COMIC_M2M_FIELD_NAMES = frozenset(
|
|
|
182
219
|
for field in Comic._meta.get_fields()
|
|
183
220
|
if field.many_to_many and field.name != "folders"
|
|
184
221
|
)
|
|
222
|
+
COMIC_GROUP_FIELD_NAMES = (
|
|
223
|
+
"publisher",
|
|
224
|
+
"imprint",
|
|
225
|
+
"series",
|
|
226
|
+
"volume",
|
|
227
|
+
"story_arc_numbers",
|
|
228
|
+
"folders",
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
FKC_CONTRIBUTORS = "create_contributors"
|
|
232
|
+
FKC_STORY_ARC_NUMBERS = "create_story_arc_numbers"
|
|
233
|
+
FKC_IDENTIFIERS = "create_identifiers"
|
|
234
|
+
FKC_CREATE_GROUPS = "create_groups"
|
|
235
|
+
FKC_UPDATE_GROUPS = "update_groups"
|
|
236
|
+
FKC_CREATE_FKS = "create_fks"
|
|
237
|
+
FKC_FOLDER_PATHS = "create_folder_paths"
|
|
238
|
+
FKC_TOTAL_FKS = "total_fks"
|
|
@@ -1,40 +1,121 @@
|
|
|
1
1
|
"""Bulk update and create comic objects and bulk update m2m fields."""
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
5
|
-
|
|
3
|
+
from django.db.models import NOT_PROVIDED
|
|
4
|
+
from django.db.models.functions import Now
|
|
5
|
+
|
|
6
|
+
from codex.librarian.importer.const import (
|
|
7
|
+
BULK_CREATE_COMIC_FIELDS,
|
|
8
|
+
BULK_UPDATE_COMIC_FIELDS,
|
|
9
|
+
BULK_UPDATE_COMIC_FIELDS_WITH_VALUES,
|
|
10
|
+
MDS,
|
|
11
|
+
)
|
|
12
|
+
from codex.librarian.importer.link_comics import LinkComicsImporter
|
|
13
|
+
from codex.librarian.importer.status import ImportStatusTypes
|
|
6
14
|
from codex.models import (
|
|
7
15
|
Comic,
|
|
8
16
|
)
|
|
17
|
+
from codex.status import Status
|
|
9
18
|
|
|
10
19
|
|
|
11
|
-
class
|
|
20
|
+
class CreateComicsImporter(LinkComicsImporter):
|
|
12
21
|
"""Create comics methods."""
|
|
13
22
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
def _bulk_update_comics_add_comic(self, comic, results):
|
|
24
|
+
"""Add one comic and stats to the bulk update list."""
|
|
25
|
+
try:
|
|
26
|
+
md = self.metadata[MDS].pop(comic.path)
|
|
27
|
+
self.get_comic_fk_links(md, comic.path)
|
|
28
|
+
for field_name in BULK_UPDATE_COMIC_FIELDS_WITH_VALUES:
|
|
29
|
+
value = md.get(field_name)
|
|
30
|
+
if value is None:
|
|
31
|
+
default_value = Comic._meta.get_field(field_name).default
|
|
32
|
+
if default_value != NOT_PROVIDED:
|
|
33
|
+
value = default_value
|
|
34
|
+
setattr(comic, field_name, value)
|
|
35
|
+
comic.presave()
|
|
36
|
+
comic.updated_at = Now()
|
|
37
|
+
update_comics, comic_pks, comic_update_paths = results
|
|
38
|
+
update_comics.append(comic)
|
|
39
|
+
comic_pks.append(comic.pk)
|
|
40
|
+
comic_update_paths.add(comic.path)
|
|
41
|
+
except Exception:
|
|
42
|
+
self.log.exception(f"Error preparing {comic} for update.")
|
|
20
43
|
|
|
44
|
+
def bulk_update_comics(self):
|
|
45
|
+
"""Bulk update comics, and move nonextant comics into create job.."""
|
|
46
|
+
num_comics = len(self.task.files_modified)
|
|
47
|
+
if not num_comics:
|
|
48
|
+
return num_comics
|
|
49
|
+
|
|
50
|
+
self.log.debug(
|
|
51
|
+
f"Preparing {num_comics} comics for update in library {self.library.path}."
|
|
52
|
+
)
|
|
53
|
+
status = Status(ImportStatusTypes.FILES_MODIFIED, 0, num_comics)
|
|
54
|
+
self.status_controller.start(status, notify=False)
|
|
55
|
+
# Get existing comics to update
|
|
56
|
+
comics = Comic.objects.filter(
|
|
57
|
+
library=self.library, path__in=self.task.files_modified
|
|
58
|
+
).only(*BULK_UPDATE_COMIC_FIELDS)
|
|
59
|
+
|
|
60
|
+
# set attributes for each comic
|
|
61
|
+
update_comics = []
|
|
62
|
+
comic_pks = []
|
|
63
|
+
comic_update_paths = set()
|
|
64
|
+
results = update_comics, comic_pks, comic_update_paths
|
|
65
|
+
for comic in comics.iterator():
|
|
66
|
+
self._bulk_update_comics_add_comic(comic, results)
|
|
67
|
+
|
|
68
|
+
converted_create_paths = frozenset(
|
|
69
|
+
set(self.task.files_modified) - comic_update_paths
|
|
70
|
+
)
|
|
71
|
+
self.task.files_created |= converted_create_paths
|
|
72
|
+
count = len(converted_create_paths)
|
|
73
|
+
if count:
|
|
74
|
+
self.log.info(f"Converted {count} update paths to create paths.")
|
|
75
|
+
|
|
76
|
+
self.log.debug(f"Bulk updating {len(update_comics)} comics.")
|
|
77
|
+
try:
|
|
78
|
+
Comic.objects.bulk_update(update_comics, BULK_UPDATE_COMIC_FIELDS)
|
|
79
|
+
count = len(update_comics)
|
|
80
|
+
|
|
81
|
+
self._remove_covers(comic_pks, False) # type: ignore
|
|
82
|
+
self.log.debug(f"Purging covers for {len(comic_pks)} updated comics.")
|
|
83
|
+
if count:
|
|
84
|
+
self.log.info(f"Updated {count} comics.")
|
|
85
|
+
except Exception:
|
|
86
|
+
self.log.exception(f"While updating {comic_update_paths}")
|
|
87
|
+
|
|
88
|
+
self.task.files_modified = frozenset()
|
|
89
|
+
|
|
90
|
+
self.status_controller.finish(status)
|
|
91
|
+
return count
|
|
92
|
+
|
|
93
|
+
def bulk_create_comics(self):
|
|
94
|
+
"""Bulk create comics."""
|
|
95
|
+
num_comics = len(self.task.files_created)
|
|
96
|
+
if not num_comics:
|
|
97
|
+
return num_comics
|
|
21
98
|
# prepare create comics
|
|
22
99
|
self.log.debug(
|
|
23
|
-
f"Preparing {num_comics} comics for creation in library {library.path}."
|
|
100
|
+
f"Preparing {num_comics} comics for creation in library {self.library.path}."
|
|
24
101
|
)
|
|
102
|
+
status = Status(ImportStatusTypes.FILES_CREATED, 0, num_comics)
|
|
103
|
+
self.status_controller.start(status, notify=False)
|
|
104
|
+
|
|
25
105
|
create_comics = []
|
|
26
|
-
for path in
|
|
106
|
+
for path in sorted(self.task.files_created):
|
|
27
107
|
try:
|
|
28
|
-
md =
|
|
29
|
-
self.get_comic_fk_links(md,
|
|
30
|
-
comic = Comic(**md)
|
|
108
|
+
md = self.metadata[MDS].pop(path, {})
|
|
109
|
+
self.get_comic_fk_links(md, path)
|
|
110
|
+
comic = Comic(**md, library=self.library)
|
|
31
111
|
comic.presave()
|
|
32
|
-
comic.set_stat()
|
|
33
112
|
create_comics.append(comic)
|
|
34
113
|
except KeyError:
|
|
35
114
|
self.log.warning(f"No comic metadata for {path}")
|
|
36
115
|
except Exception:
|
|
37
116
|
self.log.exception(f"Error preparing {path} for create.")
|
|
117
|
+
self.task.files_created = frozenset()
|
|
118
|
+
self.metadata.pop(MDS)
|
|
38
119
|
|
|
39
120
|
num_comics = len(create_comics)
|
|
40
121
|
count = 0
|
|
@@ -44,13 +125,15 @@ class CreateComicsMixin(LinkComicsMixin):
|
|
|
44
125
|
Comic.objects.bulk_create(
|
|
45
126
|
create_comics,
|
|
46
127
|
update_conflicts=True,
|
|
47
|
-
update_fields=
|
|
128
|
+
update_fields=BULK_CREATE_COMIC_FIELDS,
|
|
48
129
|
unique_fields=Comic._meta.unique_together[0], # type: ignore
|
|
49
130
|
)
|
|
50
131
|
count = len(create_comics)
|
|
51
132
|
if count:
|
|
52
133
|
self.log.info(f"Created {count} comics.")
|
|
53
134
|
except Exception:
|
|
54
|
-
self.log.exception(f"While creating {
|
|
135
|
+
self.log.exception(f"While creating {num_comics} comics")
|
|
55
136
|
|
|
137
|
+
self.changed += count
|
|
138
|
+
self.status_controller.finish(status)
|
|
56
139
|
return count
|