codex 1.6.17__py3-none-any.whl → 1.6.19__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.

Files changed (536) hide show
  1. codex/librarian/janitor/janitor.py +12 -4
  2. codex/librarian/janitor/latest_version.py +54 -0
  3. codex/librarian/janitor/status.py +1 -0
  4. codex/librarian/janitor/tasks.py +14 -7
  5. codex/librarian/janitor/update.py +21 -2
  6. codex/librarian/janitor/vacuum.py +1 -2
  7. codex/librarian/watchdog/emitter.py +12 -14
  8. codex/librarian/watchdog/events.py +5 -2
  9. codex/librarian/watchdog/observers.py +4 -4
  10. codex/serializers/browser/mixins.py +1 -2
  11. codex/settings/settings.py +4 -1
  12. codex/signals/django_signals.py +0 -9
  13. codex/static_root/assets/VCheckbox-Cko1sQK-.170726b3b8a1.js +1 -0
  14. codex/static_root/assets/VCheckbox-Cko1sQK-.170726b3b8a1.js.br +0 -0
  15. codex/static_root/assets/VCheckbox-Cko1sQK-.170726b3b8a1.js.gz +0 -0
  16. codex/static_root/assets/VCheckbox-Cko1sQK-.js +1 -0
  17. codex/static_root/assets/VCheckbox-Cko1sQK-.js.br +0 -0
  18. codex/static_root/assets/VCheckbox-Cko1sQK-.js.gz +0 -0
  19. codex/static_root/assets/VCheckboxBtn-CO3-aqQL.c9b8062fd66f.js +1 -0
  20. codex/static_root/assets/VCheckboxBtn-CO3-aqQL.c9b8062fd66f.js.br +0 -0
  21. codex/static_root/assets/VCheckboxBtn-CO3-aqQL.c9b8062fd66f.js.gz +0 -0
  22. codex/static_root/assets/VCheckboxBtn-CO3-aqQL.js +1 -0
  23. codex/static_root/assets/VCheckboxBtn-CO3-aqQL.js.br +0 -0
  24. codex/static_root/assets/VCheckboxBtn-CO3-aqQL.js.gz +0 -0
  25. codex/static_root/assets/VCombobox-Bjp6lffE.caf59fba486e.js +1 -0
  26. codex/static_root/assets/VCombobox-Bjp6lffE.caf59fba486e.js.br +0 -0
  27. codex/static_root/assets/VCombobox-Bjp6lffE.caf59fba486e.js.gz +0 -0
  28. codex/static_root/assets/VCombobox-Bjp6lffE.js +1 -0
  29. codex/static_root/assets/VCombobox-Bjp6lffE.js.br +0 -0
  30. codex/static_root/assets/VCombobox-Bjp6lffE.js.gz +0 -0
  31. codex/static_root/assets/VDialog-BkpVGB70.6eea3ca762a5.js +1 -0
  32. codex/static_root/assets/VDialog-BkpVGB70.6eea3ca762a5.js.br +0 -0
  33. codex/static_root/assets/VDialog-BkpVGB70.6eea3ca762a5.js.gz +0 -0
  34. codex/static_root/assets/VDialog-BkpVGB70.js +1 -0
  35. codex/static_root/assets/VDialog-BkpVGB70.js.br +0 -0
  36. codex/static_root/assets/VDialog-BkpVGB70.js.gz +0 -0
  37. codex/static_root/assets/VExpansionPanels-Ci2-j8XX.9c55db4ef49e.js +1 -0
  38. codex/static_root/assets/VExpansionPanels-Ci2-j8XX.9c55db4ef49e.js.br +0 -0
  39. codex/static_root/assets/VExpansionPanels-Ci2-j8XX.9c55db4ef49e.js.gz +0 -0
  40. codex/static_root/assets/VExpansionPanels-Ci2-j8XX.js +1 -0
  41. codex/static_root/assets/VExpansionPanels-Ci2-j8XX.js.br +0 -0
  42. codex/static_root/assets/VExpansionPanels-Ci2-j8XX.js.gz +0 -0
  43. codex/static_root/assets/VRadioGroup-D3Py5BfQ.a4f25edb86d3.js +1 -0
  44. codex/static_root/assets/VRadioGroup-D3Py5BfQ.a4f25edb86d3.js.br +0 -0
  45. codex/static_root/assets/VRadioGroup-D3Py5BfQ.a4f25edb86d3.js.gz +0 -0
  46. codex/static_root/assets/VRadioGroup-D3Py5BfQ.js +1 -0
  47. codex/static_root/assets/VRadioGroup-D3Py5BfQ.js.br +0 -0
  48. codex/static_root/assets/VRadioGroup-D3Py5BfQ.js.gz +0 -0
  49. codex/static_root/assets/VSelect-DtvZsYZz.e98745d858eb.js +1 -0
  50. codex/static_root/assets/VSelect-DtvZsYZz.e98745d858eb.js.br +0 -0
  51. codex/static_root/assets/VSelect-DtvZsYZz.e98745d858eb.js.gz +0 -0
  52. codex/static_root/assets/VSelect-DtvZsYZz.js +1 -0
  53. codex/static_root/assets/VSelect-DtvZsYZz.js.br +0 -0
  54. codex/static_root/assets/VSelect-DtvZsYZz.js.gz +0 -0
  55. codex/static_root/assets/VSelectionControl-D6kmykQW.1e1fda62ceba.js +1 -0
  56. codex/static_root/assets/VSelectionControl-D6kmykQW.1e1fda62ceba.js.br +0 -0
  57. codex/static_root/assets/VSelectionControl-D6kmykQW.1e1fda62ceba.js.gz +0 -0
  58. codex/static_root/assets/VSelectionControl-D6kmykQW.js +1 -0
  59. codex/static_root/assets/VSelectionControl-D6kmykQW.js.br +0 -0
  60. codex/static_root/assets/VSelectionControl-D6kmykQW.js.gz +0 -0
  61. codex/static_root/assets/{VSlideGroup-B9zEPv1H.627ca1e091fb.js → VSlideGroup-UGZWxpF5.360bdefcd215.js} +1 -1
  62. codex/static_root/assets/VSlideGroup-UGZWxpF5.360bdefcd215.js.br +0 -0
  63. codex/static_root/assets/VSlideGroup-UGZWxpF5.360bdefcd215.js.gz +0 -0
  64. codex/static_root/assets/{VSlideGroup-B9zEPv1H.js → VSlideGroup-UGZWxpF5.js} +1 -1
  65. codex/static_root/assets/VSlideGroup-UGZWxpF5.js.br +0 -0
  66. codex/static_root/assets/VSlideGroup-UGZWxpF5.js.gz +0 -0
  67. codex/static_root/assets/{VTable-D85UV0cA.c9b0d82847a0.js → VTable-DXH_yQ0o.1149f56ad566.js} +1 -1
  68. codex/static_root/assets/VTable-DXH_yQ0o.1149f56ad566.js.br +0 -0
  69. codex/static_root/assets/VTable-DXH_yQ0o.1149f56ad566.js.gz +0 -0
  70. codex/static_root/assets/{VTable-D85UV0cA.js → VTable-DXH_yQ0o.js} +1 -1
  71. codex/static_root/assets/VTable-DXH_yQ0o.js.br +0 -0
  72. codex/static_root/assets/VTable-DXH_yQ0o.js.gz +0 -0
  73. codex/static_root/assets/VTextField-Blqy56_L.26d8761e0155.js +1 -0
  74. codex/static_root/assets/VTextField-Blqy56_L.26d8761e0155.js.br +0 -0
  75. codex/static_root/assets/VTextField-Blqy56_L.26d8761e0155.js.gz +0 -0
  76. codex/static_root/assets/VTextField-Blqy56_L.js +1 -0
  77. codex/static_root/assets/VTextField-Blqy56_L.js.br +0 -0
  78. codex/static_root/assets/VTextField-Blqy56_L.js.gz +0 -0
  79. codex/static_root/assets/VWindowItem-C8_ovV7e.afbc08414765.js +1 -0
  80. codex/static_root/assets/VWindowItem-C8_ovV7e.afbc08414765.js.br +0 -0
  81. codex/static_root/assets/VWindowItem-C8_ovV7e.afbc08414765.js.gz +0 -0
  82. codex/static_root/assets/VWindowItem-C8_ovV7e.js +1 -0
  83. codex/static_root/assets/VWindowItem-C8_ovV7e.js.br +0 -0
  84. codex/static_root/assets/VWindowItem-C8_ovV7e.js.gz +0 -0
  85. codex/static_root/assets/admin-DTRn8bBs.d031ea42d8d0.js +1 -0
  86. codex/static_root/assets/admin-DTRn8bBs.d031ea42d8d0.js.br +0 -0
  87. codex/static_root/assets/admin-DTRn8bBs.d031ea42d8d0.js.gz +0 -0
  88. codex/static_root/assets/admin-DTRn8bBs.js +1 -0
  89. codex/static_root/assets/admin-DTRn8bBs.js.br +0 -0
  90. codex/static_root/assets/admin-DTRn8bBs.js.gz +0 -0
  91. codex/static_root/assets/admin-drawer-panel-BaXFOcru.b1a44b05f482.js +30 -0
  92. codex/static_root/assets/admin-drawer-panel-BaXFOcru.b1a44b05f482.js.br +0 -0
  93. codex/static_root/assets/admin-drawer-panel-BaXFOcru.b1a44b05f482.js.gz +0 -0
  94. codex/static_root/assets/admin-drawer-panel-BaXFOcru.js +30 -0
  95. codex/static_root/assets/admin-drawer-panel-BaXFOcru.js.br +0 -0
  96. codex/static_root/assets/admin-drawer-panel-BaXFOcru.js.gz +0 -0
  97. codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css +1 -0
  98. codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css.br +0 -0
  99. codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.3cb33056e994.css.gz +0 -0
  100. codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css +1 -0
  101. codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css.br +0 -0
  102. codex/static_root/assets/admin-drawer-panel-Bs2wgKj3.css.gz +0 -0
  103. codex/static_root/assets/browser-BBpUyGmz.c1cb9e2d463b.js +1 -0
  104. codex/static_root/assets/browser-BBpUyGmz.c1cb9e2d463b.js.br +0 -0
  105. codex/static_root/assets/browser-BBpUyGmz.c1cb9e2d463b.js.gz +0 -0
  106. codex/static_root/assets/browser-BBpUyGmz.js +1 -0
  107. codex/static_root/assets/browser-BBpUyGmz.js.br +0 -0
  108. codex/static_root/assets/browser-BBpUyGmz.js.gz +0 -0
  109. codex/static_root/assets/{browser-DWoo5pGT.29bee2bbd49b.css → browser-Binc3n9H.313722d27ca3.css} +1 -1
  110. codex/static_root/assets/browser-Binc3n9H.313722d27ca3.css.br +0 -0
  111. codex/static_root/assets/browser-Binc3n9H.313722d27ca3.css.gz +0 -0
  112. codex/static_root/assets/{browser-DWoo5pGT.css → browser-Binc3n9H.css} +1 -1
  113. codex/static_root/assets/browser-Binc3n9H.css.br +0 -0
  114. codex/static_root/assets/browser-Binc3n9H.css.gz +0 -0
  115. codex/static_root/assets/change-password-dialog-Cebek1-c.aff2975e31f8.css +1 -0
  116. codex/static_root/assets/change-password-dialog-Cebek1-c.aff2975e31f8.css.br +0 -0
  117. codex/static_root/assets/change-password-dialog-Cebek1-c.aff2975e31f8.css.gz +0 -0
  118. codex/static_root/assets/change-password-dialog-Cebek1-c.css +1 -0
  119. codex/static_root/assets/change-password-dialog-Cebek1-c.css.br +0 -0
  120. codex/static_root/assets/change-password-dialog-Cebek1-c.css.gz +0 -0
  121. codex/static_root/assets/change-password-dialog-DlHoLhDF.76ab4a29bb9b.js +1 -0
  122. codex/static_root/assets/change-password-dialog-DlHoLhDF.76ab4a29bb9b.js.br +0 -0
  123. codex/static_root/assets/change-password-dialog-DlHoLhDF.76ab4a29bb9b.js.gz +0 -0
  124. codex/static_root/assets/change-password-dialog-DlHoLhDF.js +1 -0
  125. codex/static_root/assets/change-password-dialog-DlHoLhDF.js.br +0 -0
  126. codex/static_root/assets/change-password-dialog-DlHoLhDF.js.gz +0 -0
  127. codex/static_root/assets/confirm-dialog-D3_s2DQy.9dde66036c72.js +1 -0
  128. codex/static_root/assets/confirm-dialog-D3_s2DQy.9dde66036c72.js.br +0 -0
  129. codex/static_root/assets/confirm-dialog-D3_s2DQy.9dde66036c72.js.gz +0 -0
  130. codex/static_root/assets/confirm-dialog-D3_s2DQy.js +1 -0
  131. codex/static_root/assets/confirm-dialog-D3_s2DQy.js.br +0 -0
  132. codex/static_root/assets/confirm-dialog-D3_s2DQy.js.gz +0 -0
  133. codex/static_root/assets/{datetime-column-BdnHcY-4.12fb4188de00.js → datetime-column-BxC1Li9e.3dc314b3295d.js} +1 -1
  134. codex/static_root/assets/datetime-column-BxC1Li9e.3dc314b3295d.js.br +0 -0
  135. codex/static_root/assets/datetime-column-BxC1Li9e.3dc314b3295d.js.gz +0 -0
  136. codex/static_root/assets/{datetime-column-BdnHcY-4.js → datetime-column-BxC1Li9e.js} +1 -1
  137. codex/static_root/assets/datetime-column-BxC1Li9e.js.br +0 -0
  138. codex/static_root/assets/datetime-column-BxC1Li9e.js.gz +0 -0
  139. codex/static_root/assets/{filter-BL9RMUvn.b92d240c4512.js → filter-Bzk7x841.d0c3b602e62d.js} +1 -1
  140. codex/static_root/assets/filter-Bzk7x841.d0c3b602e62d.js.br +0 -0
  141. codex/static_root/assets/filter-Bzk7x841.d0c3b602e62d.js.gz +0 -0
  142. codex/static_root/assets/{filter-BL9RMUvn.js → filter-Bzk7x841.js} +1 -1
  143. codex/static_root/assets/filter-Bzk7x841.js.br +0 -0
  144. codex/static_root/assets/filter-Bzk7x841.js.gz +0 -0
  145. codex/static_root/assets/flag-tab-C2bI5zq3.8f8c297600a6.js +1 -0
  146. codex/static_root/assets/flag-tab-C2bI5zq3.8f8c297600a6.js.br +0 -0
  147. codex/static_root/assets/flag-tab-C2bI5zq3.8f8c297600a6.js.gz +0 -0
  148. codex/static_root/assets/flag-tab-C2bI5zq3.js +1 -0
  149. codex/static_root/assets/flag-tab-C2bI5zq3.js.br +0 -0
  150. codex/static_root/assets/flag-tab-C2bI5zq3.js.gz +0 -0
  151. codex/static_root/assets/group-tab-5esH4lwX.a81fdd258117.js +1 -0
  152. codex/static_root/assets/group-tab-5esH4lwX.a81fdd258117.js.br +0 -0
  153. codex/static_root/assets/group-tab-5esH4lwX.a81fdd258117.js.gz +0 -0
  154. codex/static_root/assets/group-tab-5esH4lwX.js +1 -0
  155. codex/static_root/assets/group-tab-5esH4lwX.js.br +0 -0
  156. codex/static_root/assets/group-tab-5esH4lwX.js.gz +0 -0
  157. codex/static_root/assets/http-error-BTOBfcGY.52ced6f28420.js +1 -0
  158. codex/static_root/assets/http-error-BTOBfcGY.52ced6f28420.js.br +0 -0
  159. codex/static_root/assets/http-error-BTOBfcGY.52ced6f28420.js.gz +0 -0
  160. codex/static_root/assets/http-error-BTOBfcGY.js +1 -0
  161. codex/static_root/assets/http-error-BTOBfcGY.js.br +0 -0
  162. codex/static_root/assets/http-error-BTOBfcGY.js.gz +0 -0
  163. codex/static_root/assets/{library-tab-VMgJSPRy.5e7d6c6baff6.css → library-tab-Bh7ErAk7.7c44200ee727.css} +1 -1
  164. codex/static_root/assets/library-tab-Bh7ErAk7.7c44200ee727.css.br +2 -0
  165. codex/static_root/assets/library-tab-Bh7ErAk7.7c44200ee727.css.gz +0 -0
  166. codex/static_root/assets/{library-tab-VMgJSPRy.css → library-tab-Bh7ErAk7.css} +1 -1
  167. codex/static_root/assets/library-tab-Bh7ErAk7.css.br +2 -0
  168. codex/static_root/assets/library-tab-Bh7ErAk7.css.gz +0 -0
  169. codex/static_root/assets/library-tab-DiPEdOF7.ece2d642a9dc.js +1 -0
  170. codex/static_root/assets/library-tab-DiPEdOF7.ece2d642a9dc.js.br +0 -0
  171. codex/static_root/assets/library-tab-DiPEdOF7.ece2d642a9dc.js.gz +0 -0
  172. codex/static_root/assets/library-tab-DiPEdOF7.js +1 -0
  173. codex/static_root/assets/library-tab-DiPEdOF7.js.br +0 -0
  174. codex/static_root/assets/library-tab-DiPEdOF7.js.gz +0 -0
  175. codex/static_root/assets/main-BPIPjzsc.66def8991e38.js +6 -0
  176. codex/static_root/assets/main-BPIPjzsc.66def8991e38.js.br +0 -0
  177. codex/static_root/assets/main-BPIPjzsc.66def8991e38.js.gz +0 -0
  178. codex/static_root/assets/main-BPIPjzsc.js +6 -0
  179. codex/static_root/assets/main-BPIPjzsc.js.br +0 -0
  180. codex/static_root/assets/main-BPIPjzsc.js.gz +0 -0
  181. codex/static_root/assets/pager-full-pdf-CiyC6Al9.278b9978f36f.js +1 -0
  182. codex/static_root/assets/pager-full-pdf-CiyC6Al9.278b9978f36f.js.br +0 -0
  183. codex/static_root/assets/pager-full-pdf-CiyC6Al9.278b9978f36f.js.gz +0 -0
  184. codex/static_root/assets/pager-full-pdf-CiyC6Al9.js +1 -0
  185. codex/static_root/assets/pager-full-pdf-CiyC6Al9.js.br +0 -0
  186. codex/static_root/assets/pager-full-pdf-CiyC6Al9.js.gz +0 -0
  187. codex/static_root/assets/pagination-toolbar-C45-onwe.4722195bb60b.css +1 -0
  188. codex/static_root/assets/pagination-toolbar-C45-onwe.4722195bb60b.css.br +0 -0
  189. codex/static_root/assets/pagination-toolbar-C45-onwe.4722195bb60b.css.gz +0 -0
  190. codex/static_root/assets/pagination-toolbar-C45-onwe.css +1 -0
  191. codex/static_root/assets/pagination-toolbar-C45-onwe.css.br +0 -0
  192. codex/static_root/assets/pagination-toolbar-C45-onwe.css.gz +0 -0
  193. codex/static_root/assets/pagination-toolbar-CkIzuyx1.00c354a82e6e.js +1 -0
  194. codex/static_root/assets/pagination-toolbar-CkIzuyx1.00c354a82e6e.js.br +0 -0
  195. codex/static_root/assets/pagination-toolbar-CkIzuyx1.00c354a82e6e.js.gz +0 -0
  196. codex/static_root/assets/pagination-toolbar-CkIzuyx1.js +1 -0
  197. codex/static_root/assets/pagination-toolbar-CkIzuyx1.js.br +0 -0
  198. codex/static_root/assets/pagination-toolbar-CkIzuyx1.js.gz +0 -0
  199. codex/static_root/assets/{pdf-doc-BDi_S8C8.ec2572c47556.js → pdf-doc-BjlRPuf4.0f056fa321b6.js} +15 -15
  200. codex/static_root/assets/pdf-doc-BjlRPuf4.0f056fa321b6.js.br +0 -0
  201. codex/static_root/assets/pdf-doc-BjlRPuf4.0f056fa321b6.js.gz +0 -0
  202. codex/static_root/assets/{pdf-doc-BDi_S8C8.js → pdf-doc-BjlRPuf4.js} +15 -15
  203. codex/static_root/assets/pdf-doc-BjlRPuf4.js.br +0 -0
  204. codex/static_root/assets/pdf-doc-BjlRPuf4.js.gz +0 -0
  205. codex/static_root/assets/pdf-doc-CG5-AZ2M.b94aac7e3313.css +1 -0
  206. codex/static_root/assets/pdf-doc-CG5-AZ2M.b94aac7e3313.css.br +1 -0
  207. codex/static_root/assets/pdf-doc-CG5-AZ2M.b94aac7e3313.css.gz +0 -0
  208. codex/static_root/assets/pdf-doc-CG5-AZ2M.css +1 -0
  209. codex/static_root/assets/pdf-doc-CG5-AZ2M.css.br +1 -0
  210. codex/static_root/assets/pdf-doc-CG5-AZ2M.css.gz +0 -0
  211. codex/static_root/assets/reader-_stAWL-4.5089e9144795.css +1 -0
  212. codex/static_root/assets/reader-_stAWL-4.5089e9144795.css.br +0 -0
  213. codex/static_root/assets/reader-_stAWL-4.5089e9144795.css.gz +0 -0
  214. codex/static_root/assets/reader-_stAWL-4.css +1 -0
  215. codex/static_root/assets/reader-_stAWL-4.css.br +0 -0
  216. codex/static_root/assets/reader-_stAWL-4.css.gz +0 -0
  217. codex/static_root/assets/reader-ucxnLi2K.d0fbce0f03c1.js +2 -0
  218. codex/static_root/assets/reader-ucxnLi2K.d0fbce0f03c1.js.br +0 -0
  219. codex/static_root/assets/reader-ucxnLi2K.d0fbce0f03c1.js.gz +0 -0
  220. codex/static_root/assets/reader-ucxnLi2K.js +2 -0
  221. codex/static_root/assets/reader-ucxnLi2K.js.br +0 -0
  222. codex/static_root/assets/reader-ucxnLi2K.js.gz +0 -0
  223. codex/static_root/assets/relation-chips-CUSatZET.a58031ff8141.js +1 -0
  224. codex/static_root/assets/relation-chips-CUSatZET.a58031ff8141.js.br +0 -0
  225. codex/static_root/assets/relation-chips-CUSatZET.a58031ff8141.js.gz +0 -0
  226. codex/static_root/assets/relation-chips-CUSatZET.js +1 -0
  227. codex/static_root/assets/relation-chips-CUSatZET.js.br +0 -0
  228. codex/static_root/assets/relation-chips-CUSatZET.js.gz +0 -0
  229. codex/static_root/assets/settings-drawer-BSHTAsJ9.1d07ce084fc9.js +2 -0
  230. codex/static_root/assets/settings-drawer-BSHTAsJ9.1d07ce084fc9.js.br +0 -0
  231. codex/static_root/assets/settings-drawer-BSHTAsJ9.1d07ce084fc9.js.gz +0 -0
  232. codex/static_root/assets/settings-drawer-BSHTAsJ9.js +2 -0
  233. codex/static_root/assets/settings-drawer-BSHTAsJ9.js.br +0 -0
  234. codex/static_root/assets/settings-drawer-BSHTAsJ9.js.gz +0 -0
  235. codex/static_root/assets/{stats-tab-Dd3GXeM3.9473f148a600.css → stats-tab-BXGisn5N.9b7a71e7fe28.css} +1 -1
  236. codex/static_root/assets/stats-tab-BXGisn5N.9b7a71e7fe28.css.br +0 -0
  237. codex/static_root/assets/stats-tab-BXGisn5N.9b7a71e7fe28.css.gz +0 -0
  238. codex/static_root/assets/{stats-tab-Dd3GXeM3.css → stats-tab-BXGisn5N.css} +1 -1
  239. codex/static_root/assets/stats-tab-BXGisn5N.css.br +0 -0
  240. codex/static_root/assets/stats-tab-BXGisn5N.css.gz +0 -0
  241. codex/static_root/assets/stats-tab-DKXVB2Cc.0a3de58bf5ee.js +1 -0
  242. codex/static_root/assets/stats-tab-DKXVB2Cc.0a3de58bf5ee.js.br +0 -0
  243. codex/static_root/assets/stats-tab-DKXVB2Cc.0a3de58bf5ee.js.gz +0 -0
  244. codex/static_root/assets/stats-tab-DKXVB2Cc.js +1 -0
  245. codex/static_root/assets/stats-tab-DKXVB2Cc.js.br +0 -0
  246. codex/static_root/assets/stats-tab-DKXVB2Cc.js.gz +0 -0
  247. codex/static_root/assets/task-tab-NORFAa9p.97e07e366ddd.js +1 -0
  248. codex/static_root/assets/task-tab-NORFAa9p.97e07e366ddd.js.br +0 -0
  249. codex/static_root/assets/task-tab-NORFAa9p.97e07e366ddd.js.gz +0 -0
  250. codex/static_root/assets/task-tab-NORFAa9p.js +1 -0
  251. codex/static_root/assets/task-tab-NORFAa9p.js.br +0 -0
  252. codex/static_root/assets/task-tab-NORFAa9p.js.gz +0 -0
  253. codex/static_root/assets/unauthorized-RHaQZRfr.a234e9403f60.js +1 -0
  254. codex/static_root/assets/unauthorized-RHaQZRfr.a234e9403f60.js.br +0 -0
  255. codex/static_root/assets/unauthorized-RHaQZRfr.a234e9403f60.js.gz +0 -0
  256. codex/static_root/assets/unauthorized-RHaQZRfr.js +1 -0
  257. codex/static_root/assets/unauthorized-RHaQZRfr.js.br +0 -0
  258. codex/static_root/assets/unauthorized-RHaQZRfr.js.gz +0 -0
  259. codex/static_root/assets/{unauthorized-CQL7W5pA.75124be66863.css → unauthorized-muDsv-rC.2166ec8b3a32.css} +1 -1
  260. codex/static_root/assets/unauthorized-muDsv-rC.2166ec8b3a32.css.br +0 -0
  261. codex/static_root/assets/unauthorized-muDsv-rC.2166ec8b3a32.css.gz +0 -0
  262. codex/static_root/assets/{unauthorized-CQL7W5pA.css → unauthorized-muDsv-rC.css} +1 -1
  263. codex/static_root/assets/unauthorized-muDsv-rC.css.br +0 -0
  264. codex/static_root/assets/unauthorized-muDsv-rC.css.gz +0 -0
  265. codex/static_root/assets/user-tab-CHbyN1EW.e7206db08680.js +1 -0
  266. codex/static_root/assets/user-tab-CHbyN1EW.e7206db08680.js.br +0 -0
  267. codex/static_root/assets/user-tab-CHbyN1EW.e7206db08680.js.gz +0 -0
  268. codex/static_root/assets/user-tab-CHbyN1EW.js +1 -0
  269. codex/static_root/assets/user-tab-CHbyN1EW.js.br +0 -0
  270. codex/static_root/assets/user-tab-CHbyN1EW.js.gz +0 -0
  271. codex/static_root/js/choices-admin.1a20a5648f20.json +1 -0
  272. codex/static_root/js/choices-admin.1a20a5648f20.json.br +0 -0
  273. codex/static_root/js/choices-admin.1a20a5648f20.json.gz +0 -0
  274. codex/static_root/js/choices-admin.json +1 -1
  275. codex/static_root/js/choices-admin.json.br +0 -0
  276. codex/static_root/js/choices-admin.json.gz +0 -0
  277. codex/static_root/manifest.0fe31a6cb99f.json +635 -0
  278. codex/static_root/manifest.0fe31a6cb99f.json.br +0 -0
  279. codex/static_root/manifest.0fe31a6cb99f.json.gz +0 -0
  280. codex/static_root/manifest.json +273 -249
  281. codex/static_root/manifest.json.br +0 -0
  282. codex/static_root/manifest.json.gz +0 -0
  283. codex/static_root/staticfiles.json +1 -1
  284. codex/templates/pwa/serviceworker.js +4 -4
  285. codex/version.py +0 -63
  286. codex/views/admin/tasks.py +2 -0
  287. codex/views/bookmark.py +16 -23
  288. codex/views/const.py +1 -2
  289. codex/views/reader/books.py +2 -2
  290. codex/views/reader/init.py +3 -2
  291. codex/views/version.py +10 -2
  292. {codex-1.6.17.dist-info → codex-1.6.19.dist-info}/METADATA +8 -8
  293. {codex-1.6.17.dist-info → codex-1.6.19.dist-info}/RECORD +296 -289
  294. codex/static_root/assets/VCheckbox-D8eqoc1z.62941f086d95.js +0 -1
  295. codex/static_root/assets/VCheckbox-D8eqoc1z.62941f086d95.js.br +0 -0
  296. codex/static_root/assets/VCheckbox-D8eqoc1z.62941f086d95.js.gz +0 -0
  297. codex/static_root/assets/VCheckbox-D8eqoc1z.js +0 -1
  298. codex/static_root/assets/VCheckbox-D8eqoc1z.js.br +0 -0
  299. codex/static_root/assets/VCheckbox-D8eqoc1z.js.gz +0 -0
  300. codex/static_root/assets/VCheckboxBtn-BaQC30AI.ea98c97505c2.js +0 -1
  301. codex/static_root/assets/VCheckboxBtn-BaQC30AI.ea98c97505c2.js.br +0 -0
  302. codex/static_root/assets/VCheckboxBtn-BaQC30AI.ea98c97505c2.js.gz +0 -0
  303. codex/static_root/assets/VCheckboxBtn-BaQC30AI.js +0 -1
  304. codex/static_root/assets/VCheckboxBtn-BaQC30AI.js.br +0 -0
  305. codex/static_root/assets/VCheckboxBtn-BaQC30AI.js.gz +0 -0
  306. codex/static_root/assets/VCombobox-BTG361j0.b2b9962de820.js +0 -1
  307. codex/static_root/assets/VCombobox-BTG361j0.b2b9962de820.js.br +0 -0
  308. codex/static_root/assets/VCombobox-BTG361j0.b2b9962de820.js.gz +0 -0
  309. codex/static_root/assets/VCombobox-BTG361j0.js +0 -1
  310. codex/static_root/assets/VCombobox-BTG361j0.js.br +0 -0
  311. codex/static_root/assets/VCombobox-BTG361j0.js.gz +0 -0
  312. codex/static_root/assets/VDialog-BWXBR7iM.80372742901b.js +0 -1
  313. codex/static_root/assets/VDialog-BWXBR7iM.80372742901b.js.br +0 -0
  314. codex/static_root/assets/VDialog-BWXBR7iM.80372742901b.js.gz +0 -0
  315. codex/static_root/assets/VDialog-BWXBR7iM.js +0 -1
  316. codex/static_root/assets/VDialog-BWXBR7iM.js.br +0 -0
  317. codex/static_root/assets/VDialog-BWXBR7iM.js.gz +0 -0
  318. codex/static_root/assets/VExpansionPanels-W4VN2Ykh.a3bf34bd9c01.js +0 -1
  319. codex/static_root/assets/VExpansionPanels-W4VN2Ykh.a3bf34bd9c01.js.br +0 -0
  320. codex/static_root/assets/VExpansionPanels-W4VN2Ykh.a3bf34bd9c01.js.gz +0 -0
  321. codex/static_root/assets/VExpansionPanels-W4VN2Ykh.js +0 -1
  322. codex/static_root/assets/VExpansionPanels-W4VN2Ykh.js.br +0 -0
  323. codex/static_root/assets/VExpansionPanels-W4VN2Ykh.js.gz +0 -0
  324. codex/static_root/assets/VRadioGroup-B8chw_xV.768aef5d30cd.js +0 -1
  325. codex/static_root/assets/VRadioGroup-B8chw_xV.768aef5d30cd.js.br +0 -0
  326. codex/static_root/assets/VRadioGroup-B8chw_xV.768aef5d30cd.js.gz +0 -0
  327. codex/static_root/assets/VRadioGroup-B8chw_xV.js +0 -1
  328. codex/static_root/assets/VRadioGroup-B8chw_xV.js.br +0 -0
  329. codex/static_root/assets/VRadioGroup-B8chw_xV.js.gz +0 -0
  330. codex/static_root/assets/VSelect-BpWdXMPq.1921062294e6.js +0 -1
  331. codex/static_root/assets/VSelect-BpWdXMPq.1921062294e6.js.br +0 -0
  332. codex/static_root/assets/VSelect-BpWdXMPq.1921062294e6.js.gz +0 -0
  333. codex/static_root/assets/VSelect-BpWdXMPq.js +0 -1
  334. codex/static_root/assets/VSelect-BpWdXMPq.js.br +0 -0
  335. codex/static_root/assets/VSelect-BpWdXMPq.js.gz +0 -0
  336. codex/static_root/assets/VSelectionControl-FmTy_2ch.7e005af872d4.js +0 -1
  337. codex/static_root/assets/VSelectionControl-FmTy_2ch.7e005af872d4.js.br +0 -0
  338. codex/static_root/assets/VSelectionControl-FmTy_2ch.7e005af872d4.js.gz +0 -0
  339. codex/static_root/assets/VSelectionControl-FmTy_2ch.js +0 -1
  340. codex/static_root/assets/VSelectionControl-FmTy_2ch.js.br +0 -0
  341. codex/static_root/assets/VSelectionControl-FmTy_2ch.js.gz +0 -0
  342. codex/static_root/assets/VSlideGroup-B9zEPv1H.627ca1e091fb.js.br +0 -0
  343. codex/static_root/assets/VSlideGroup-B9zEPv1H.627ca1e091fb.js.gz +0 -0
  344. codex/static_root/assets/VSlideGroup-B9zEPv1H.js.br +0 -0
  345. codex/static_root/assets/VSlideGroup-B9zEPv1H.js.gz +0 -0
  346. codex/static_root/assets/VTable-D85UV0cA.c9b0d82847a0.js.br +0 -0
  347. codex/static_root/assets/VTable-D85UV0cA.c9b0d82847a0.js.gz +0 -0
  348. codex/static_root/assets/VTable-D85UV0cA.js.br +0 -0
  349. codex/static_root/assets/VTable-D85UV0cA.js.gz +0 -0
  350. codex/static_root/assets/VTextField-DAe7a2au.04013b823a64.js +0 -1
  351. codex/static_root/assets/VTextField-DAe7a2au.04013b823a64.js.br +0 -0
  352. codex/static_root/assets/VTextField-DAe7a2au.04013b823a64.js.gz +0 -0
  353. codex/static_root/assets/VTextField-DAe7a2au.js +0 -1
  354. codex/static_root/assets/VTextField-DAe7a2au.js.br +0 -0
  355. codex/static_root/assets/VTextField-DAe7a2au.js.gz +0 -0
  356. codex/static_root/assets/VWindowItem-BOT7VsDv.061276a5a285.js +0 -1
  357. codex/static_root/assets/VWindowItem-BOT7VsDv.061276a5a285.js.br +0 -0
  358. codex/static_root/assets/VWindowItem-BOT7VsDv.061276a5a285.js.gz +0 -0
  359. codex/static_root/assets/VWindowItem-BOT7VsDv.js +0 -1
  360. codex/static_root/assets/VWindowItem-BOT7VsDv.js.br +0 -0
  361. codex/static_root/assets/VWindowItem-BOT7VsDv.js.gz +0 -0
  362. codex/static_root/assets/admin-DCoV7mGR.d949114bed68.js +0 -1
  363. codex/static_root/assets/admin-DCoV7mGR.d949114bed68.js.br +0 -0
  364. codex/static_root/assets/admin-DCoV7mGR.d949114bed68.js.gz +0 -0
  365. codex/static_root/assets/admin-DCoV7mGR.js +0 -1
  366. codex/static_root/assets/admin-DCoV7mGR.js.br +0 -0
  367. codex/static_root/assets/admin-DCoV7mGR.js.gz +0 -0
  368. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.b0cd2b71000c.css +0 -1
  369. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.b0cd2b71000c.css.br +0 -0
  370. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.b0cd2b71000c.css.gz +0 -0
  371. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.css +0 -1
  372. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.css.br +0 -0
  373. codex/static_root/assets/admin-drawer-panel-COV3Ru1J.css.gz +0 -0
  374. codex/static_root/assets/admin-drawer-panel-Dmnn03CQ.52ea4aad3985.js +0 -30
  375. codex/static_root/assets/admin-drawer-panel-Dmnn03CQ.52ea4aad3985.js.br +0 -0
  376. codex/static_root/assets/admin-drawer-panel-Dmnn03CQ.52ea4aad3985.js.gz +0 -0
  377. codex/static_root/assets/admin-drawer-panel-Dmnn03CQ.js +0 -30
  378. codex/static_root/assets/admin-drawer-panel-Dmnn03CQ.js.br +0 -0
  379. codex/static_root/assets/admin-drawer-panel-Dmnn03CQ.js.gz +0 -0
  380. codex/static_root/assets/browser--OxfD4LA.d6c438cacb9a.js +0 -1
  381. codex/static_root/assets/browser--OxfD4LA.d6c438cacb9a.js.br +0 -0
  382. codex/static_root/assets/browser--OxfD4LA.d6c438cacb9a.js.gz +0 -0
  383. codex/static_root/assets/browser--OxfD4LA.js +0 -1
  384. codex/static_root/assets/browser--OxfD4LA.js.br +0 -0
  385. codex/static_root/assets/browser--OxfD4LA.js.gz +0 -0
  386. codex/static_root/assets/browser-DWoo5pGT.29bee2bbd49b.css.br +0 -0
  387. codex/static_root/assets/browser-DWoo5pGT.29bee2bbd49b.css.gz +0 -0
  388. codex/static_root/assets/browser-DWoo5pGT.css.br +0 -0
  389. codex/static_root/assets/browser-DWoo5pGT.css.gz +0 -0
  390. codex/static_root/assets/change-password-dialog-Bosys_6j.036c0eea895d.css +0 -1
  391. codex/static_root/assets/change-password-dialog-Bosys_6j.036c0eea895d.css.br +0 -0
  392. codex/static_root/assets/change-password-dialog-Bosys_6j.036c0eea895d.css.gz +0 -0
  393. codex/static_root/assets/change-password-dialog-Bosys_6j.css +0 -1
  394. codex/static_root/assets/change-password-dialog-Bosys_6j.css.br +0 -0
  395. codex/static_root/assets/change-password-dialog-Bosys_6j.css.gz +0 -0
  396. codex/static_root/assets/change-password-dialog-HW0jK0gr.bbc3ed89fb31.js +0 -1
  397. codex/static_root/assets/change-password-dialog-HW0jK0gr.bbc3ed89fb31.js.br +0 -0
  398. codex/static_root/assets/change-password-dialog-HW0jK0gr.bbc3ed89fb31.js.gz +0 -0
  399. codex/static_root/assets/change-password-dialog-HW0jK0gr.js +0 -1
  400. codex/static_root/assets/change-password-dialog-HW0jK0gr.js.br +0 -0
  401. codex/static_root/assets/change-password-dialog-HW0jK0gr.js.gz +0 -0
  402. codex/static_root/assets/confirm-dialog-BJlNq6ku.42441ece74ab.js +0 -1
  403. codex/static_root/assets/confirm-dialog-BJlNq6ku.42441ece74ab.js.br +0 -0
  404. codex/static_root/assets/confirm-dialog-BJlNq6ku.42441ece74ab.js.gz +0 -0
  405. codex/static_root/assets/confirm-dialog-BJlNq6ku.js +0 -1
  406. codex/static_root/assets/confirm-dialog-BJlNq6ku.js.br +0 -0
  407. codex/static_root/assets/confirm-dialog-BJlNq6ku.js.gz +0 -0
  408. codex/static_root/assets/datetime-column-BdnHcY-4.12fb4188de00.js.br +0 -0
  409. codex/static_root/assets/datetime-column-BdnHcY-4.12fb4188de00.js.gz +0 -0
  410. codex/static_root/assets/datetime-column-BdnHcY-4.js.br +0 -0
  411. codex/static_root/assets/datetime-column-BdnHcY-4.js.gz +0 -0
  412. codex/static_root/assets/filter-BL9RMUvn.b92d240c4512.js.br +0 -0
  413. codex/static_root/assets/filter-BL9RMUvn.b92d240c4512.js.gz +0 -0
  414. codex/static_root/assets/filter-BL9RMUvn.js.br +0 -0
  415. codex/static_root/assets/filter-BL9RMUvn.js.gz +0 -0
  416. codex/static_root/assets/flag-tab-BWJ5tGcV.6f4c1dd9d1bb.js +0 -1
  417. codex/static_root/assets/flag-tab-BWJ5tGcV.6f4c1dd9d1bb.js.br +0 -0
  418. codex/static_root/assets/flag-tab-BWJ5tGcV.6f4c1dd9d1bb.js.gz +0 -0
  419. codex/static_root/assets/flag-tab-BWJ5tGcV.js +0 -1
  420. codex/static_root/assets/flag-tab-BWJ5tGcV.js.br +0 -0
  421. codex/static_root/assets/flag-tab-BWJ5tGcV.js.gz +0 -0
  422. codex/static_root/assets/group-tab-CQiGzI43.d88e38af13b4.js +0 -1
  423. codex/static_root/assets/group-tab-CQiGzI43.d88e38af13b4.js.br +0 -0
  424. codex/static_root/assets/group-tab-CQiGzI43.d88e38af13b4.js.gz +0 -0
  425. codex/static_root/assets/group-tab-CQiGzI43.js +0 -1
  426. codex/static_root/assets/group-tab-CQiGzI43.js.br +0 -0
  427. codex/static_root/assets/group-tab-CQiGzI43.js.gz +0 -0
  428. codex/static_root/assets/http-error-B0-GHW9C.81a3af2c7f7c.js +0 -1
  429. codex/static_root/assets/http-error-B0-GHW9C.81a3af2c7f7c.js.br +0 -0
  430. codex/static_root/assets/http-error-B0-GHW9C.81a3af2c7f7c.js.gz +0 -0
  431. codex/static_root/assets/http-error-B0-GHW9C.js +0 -1
  432. codex/static_root/assets/http-error-B0-GHW9C.js.br +0 -0
  433. codex/static_root/assets/http-error-B0-GHW9C.js.gz +0 -0
  434. codex/static_root/assets/library-tab-VMgJSPRy.5e7d6c6baff6.css.br +0 -0
  435. codex/static_root/assets/library-tab-VMgJSPRy.5e7d6c6baff6.css.gz +0 -0
  436. codex/static_root/assets/library-tab-VMgJSPRy.css.br +0 -0
  437. codex/static_root/assets/library-tab-VMgJSPRy.css.gz +0 -0
  438. codex/static_root/assets/library-tab-czIX7PK1.540a657518c8.js +0 -1
  439. codex/static_root/assets/library-tab-czIX7PK1.540a657518c8.js.br +0 -0
  440. codex/static_root/assets/library-tab-czIX7PK1.540a657518c8.js.gz +0 -0
  441. codex/static_root/assets/library-tab-czIX7PK1.js +0 -1
  442. codex/static_root/assets/library-tab-czIX7PK1.js.br +0 -0
  443. codex/static_root/assets/library-tab-czIX7PK1.js.gz +0 -0
  444. codex/static_root/assets/main-C0t41OAE.9c108cc29c65.js +0 -6
  445. codex/static_root/assets/main-C0t41OAE.9c108cc29c65.js.br +0 -0
  446. codex/static_root/assets/main-C0t41OAE.9c108cc29c65.js.gz +0 -0
  447. codex/static_root/assets/main-C0t41OAE.js +0 -6
  448. codex/static_root/assets/main-C0t41OAE.js.br +0 -0
  449. codex/static_root/assets/main-C0t41OAE.js.gz +0 -0
  450. codex/static_root/assets/pagination-toolbar-BNiqJX4c.c62f4bb07236.js +0 -1
  451. codex/static_root/assets/pagination-toolbar-BNiqJX4c.c62f4bb07236.js.br +0 -0
  452. codex/static_root/assets/pagination-toolbar-BNiqJX4c.c62f4bb07236.js.gz +0 -0
  453. codex/static_root/assets/pagination-toolbar-BNiqJX4c.js +0 -1
  454. codex/static_root/assets/pagination-toolbar-BNiqJX4c.js.br +0 -0
  455. codex/static_root/assets/pagination-toolbar-BNiqJX4c.js.gz +0 -0
  456. codex/static_root/assets/pagination-toolbar-D6v3_jVe.4f0e62bbb1e5.css +0 -1
  457. codex/static_root/assets/pagination-toolbar-D6v3_jVe.4f0e62bbb1e5.css.br +0 -0
  458. codex/static_root/assets/pagination-toolbar-D6v3_jVe.4f0e62bbb1e5.css.gz +0 -0
  459. codex/static_root/assets/pagination-toolbar-D6v3_jVe.css +0 -1
  460. codex/static_root/assets/pagination-toolbar-D6v3_jVe.css.br +0 -0
  461. codex/static_root/assets/pagination-toolbar-D6v3_jVe.css.gz +0 -0
  462. codex/static_root/assets/pdf-doc-BDi_S8C8.ec2572c47556.js.br +0 -0
  463. codex/static_root/assets/pdf-doc-BDi_S8C8.ec2572c47556.js.gz +0 -0
  464. codex/static_root/assets/pdf-doc-BDi_S8C8.js.br +0 -0
  465. codex/static_root/assets/pdf-doc-BDi_S8C8.js.gz +0 -0
  466. codex/static_root/assets/pdf-doc-CMzaSV_K.8cd4b3e65f9a.css +0 -1
  467. codex/static_root/assets/pdf-doc-CMzaSV_K.8cd4b3e65f9a.css.br +0 -0
  468. codex/static_root/assets/pdf-doc-CMzaSV_K.8cd4b3e65f9a.css.gz +0 -0
  469. codex/static_root/assets/pdf-doc-CMzaSV_K.css +0 -1
  470. codex/static_root/assets/pdf-doc-CMzaSV_K.css.br +0 -0
  471. codex/static_root/assets/pdf-doc-CMzaSV_K.css.gz +0 -0
  472. codex/static_root/assets/reader-BORfYc0l.css +0 -1
  473. codex/static_root/assets/reader-BORfYc0l.css.br +0 -0
  474. codex/static_root/assets/reader-BORfYc0l.css.gz +0 -0
  475. codex/static_root/assets/reader-BORfYc0l.e66ce0ded0b6.css +0 -1
  476. codex/static_root/assets/reader-BORfYc0l.e66ce0ded0b6.css.br +0 -0
  477. codex/static_root/assets/reader-BORfYc0l.e66ce0ded0b6.css.gz +0 -0
  478. codex/static_root/assets/reader-Dg5VFhMO.d0ece6c59cb6.js +0 -2
  479. codex/static_root/assets/reader-Dg5VFhMO.d0ece6c59cb6.js.br +0 -0
  480. codex/static_root/assets/reader-Dg5VFhMO.d0ece6c59cb6.js.gz +0 -0
  481. codex/static_root/assets/reader-Dg5VFhMO.js +0 -2
  482. codex/static_root/assets/reader-Dg5VFhMO.js.br +0 -0
  483. codex/static_root/assets/reader-Dg5VFhMO.js.gz +0 -0
  484. codex/static_root/assets/relation-chips-nc41xEEd.eadca8fe8606.js +0 -1
  485. codex/static_root/assets/relation-chips-nc41xEEd.eadca8fe8606.js.br +0 -0
  486. codex/static_root/assets/relation-chips-nc41xEEd.eadca8fe8606.js.gz +0 -0
  487. codex/static_root/assets/relation-chips-nc41xEEd.js +0 -1
  488. codex/static_root/assets/relation-chips-nc41xEEd.js.br +0 -0
  489. codex/static_root/assets/relation-chips-nc41xEEd.js.gz +0 -0
  490. codex/static_root/assets/settings-drawer-ChnWWcfy.627fb9c17389.js +0 -2
  491. codex/static_root/assets/settings-drawer-ChnWWcfy.627fb9c17389.js.br +0 -0
  492. codex/static_root/assets/settings-drawer-ChnWWcfy.627fb9c17389.js.gz +0 -0
  493. codex/static_root/assets/settings-drawer-ChnWWcfy.js +0 -2
  494. codex/static_root/assets/settings-drawer-ChnWWcfy.js.br +0 -0
  495. codex/static_root/assets/settings-drawer-ChnWWcfy.js.gz +0 -0
  496. codex/static_root/assets/stats-tab-Dd3GXeM3.9473f148a600.css.br +0 -0
  497. codex/static_root/assets/stats-tab-Dd3GXeM3.9473f148a600.css.gz +0 -0
  498. codex/static_root/assets/stats-tab-Dd3GXeM3.css.br +0 -0
  499. codex/static_root/assets/stats-tab-Dd3GXeM3.css.gz +0 -0
  500. codex/static_root/assets/stats-tab-Ep3dyw2f.1c5c48751a8d.js +0 -1
  501. codex/static_root/assets/stats-tab-Ep3dyw2f.1c5c48751a8d.js.br +0 -0
  502. codex/static_root/assets/stats-tab-Ep3dyw2f.1c5c48751a8d.js.gz +0 -0
  503. codex/static_root/assets/stats-tab-Ep3dyw2f.js +0 -1
  504. codex/static_root/assets/stats-tab-Ep3dyw2f.js.br +0 -0
  505. codex/static_root/assets/stats-tab-Ep3dyw2f.js.gz +0 -0
  506. codex/static_root/assets/task-tab-CZM8h2Cr.d61b2f38a5c7.js +0 -1
  507. codex/static_root/assets/task-tab-CZM8h2Cr.d61b2f38a5c7.js.br +0 -0
  508. codex/static_root/assets/task-tab-CZM8h2Cr.d61b2f38a5c7.js.gz +0 -0
  509. codex/static_root/assets/task-tab-CZM8h2Cr.js +0 -1
  510. codex/static_root/assets/task-tab-CZM8h2Cr.js.br +0 -0
  511. codex/static_root/assets/task-tab-CZM8h2Cr.js.gz +0 -0
  512. codex/static_root/assets/unauthorized-CQL7W5pA.75124be66863.css.br +0 -0
  513. codex/static_root/assets/unauthorized-CQL7W5pA.75124be66863.css.gz +0 -0
  514. codex/static_root/assets/unauthorized-CQL7W5pA.css.br +0 -0
  515. codex/static_root/assets/unauthorized-CQL7W5pA.css.gz +0 -0
  516. codex/static_root/assets/unauthorized-DnNuMsHM.2e4595f10736.js +0 -1
  517. codex/static_root/assets/unauthorized-DnNuMsHM.2e4595f10736.js.br +0 -0
  518. codex/static_root/assets/unauthorized-DnNuMsHM.2e4595f10736.js.gz +0 -0
  519. codex/static_root/assets/unauthorized-DnNuMsHM.js +0 -1
  520. codex/static_root/assets/unauthorized-DnNuMsHM.js.br +0 -0
  521. codex/static_root/assets/unauthorized-DnNuMsHM.js.gz +0 -0
  522. codex/static_root/assets/user-tab-CmdeTcr_.e7929862d979.js +0 -1
  523. codex/static_root/assets/user-tab-CmdeTcr_.e7929862d979.js.br +0 -0
  524. codex/static_root/assets/user-tab-CmdeTcr_.e7929862d979.js.gz +0 -0
  525. codex/static_root/assets/user-tab-CmdeTcr_.js +0 -1
  526. codex/static_root/assets/user-tab-CmdeTcr_.js.br +0 -0
  527. codex/static_root/assets/user-tab-CmdeTcr_.js.gz +0 -0
  528. codex/static_root/js/choices-admin.1eca6d2c22cf.json +0 -1
  529. codex/static_root/js/choices-admin.1eca6d2c22cf.json.br +0 -0
  530. codex/static_root/js/choices-admin.1eca6d2c22cf.json.gz +0 -0
  531. codex/static_root/manifest.9e3c56e33cdb.json +0 -611
  532. codex/static_root/manifest.9e3c56e33cdb.json.br +0 -0
  533. codex/static_root/manifest.9e3c56e33cdb.json.gz +0 -0
  534. {codex-1.6.17.dist-info → codex-1.6.19.dist-info}/LICENSE +0 -0
  535. {codex-1.6.17.dist-info → codex-1.6.19.dist-info}/WHEEL +0 -0
  536. {codex-1.6.17.dist-info → codex-1.6.19.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1 @@
1
+ import{aG as k,aH as D,cC as E,cD as _,R as N,A as f,bm as O,S as w,m as c,z as A,_ as B,U as d,V as a,T as n,W as l,ak as L,am as p,Q as i,af as h,aC as u,aL as v,aA as U,aK as b,bi as g,aE as y}from"./admin-drawer-panel-BaXFOcru.js";import{S as T,a as I,V as m}from"./VTextField-Blqy56_L.js";import{V as M}from"./VDialog-BkpVGB70.js";const F={name:"ChangePasswordDialog",components:{SubmitFooter:T,CloseButton:k,DrawerItem:D},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,mdiLockReset:E,mdiLockPlusOutline:_,showOnlyThisDialog:!1}},computed:{...N(f,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),...O(c,["showChangePasswordDialog"])},watch:{showOnlyThisDialog(e){if(this.showChangePasswordDialog=e,e){const s=this.$refs.form;s&&s.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:s})=>(this.submitButtonEnabled=s,s)).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){window.addEventListener("keyup",this._keyUpListener)},beforeUnmount(){window.removeEventListener("keyup",this._keyUpListener)},methods:{...w(c,["changePassword"]),...w(f,["clearErrors"]),doUserChange(){return A().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:s})=>{if(s)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyUpListener(e){e.stopImmediatePropagation()}}},R={key:0,class:"codexFormSuccess"},W=["value"];function x(e,s,t,z,o,P){const C=d("DrawerItem"),S=d("CloseButton"),V=d("SubmitFooter");return t.user?(a(),n(M,{key:0,modelValue:o.showOnlyThisDialog,"onUpdate:modelValue":s[7]||(s[7]=r=>o.showOnlyThisDialog=r),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:l(({props:r})=>[t.isAdminMode?(a(),n(L,p({key:0,icon:""},r,{size:t.size,density:t.density,title:"Change Password"}),{default:l(()=>[i(v,null,{default:l(()=>[h(u(o.mdiLockPlusOutline),1)]),_:1})]),_:2},1040,["size","density"])):(a(),n(C,p({key:1,"prepend-icon":o.mdiLockReset},r,{title:"Change Password"}),null,16,["prepend-icon"]))]),default:l(()=>[e.formSuccess?(a(),U("div",R,[h(u(e.formSuccess)+" ",1),i(S,{onClick:s[0]||(s[0]=r=>o.showOnlyThisDialog=!1)})])):(a(),n(I,{key:1,ref:"form",class:"changePasswordForm"},{default:l(()=>[b("h2",null,"User "+u(t.user.username),1),b("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:t.user.username},null,8,W),t.isAdminMode?y("",!0):(a(),n(m,{key:0,ref:"oldPassword",modelValue:o.credentials.oldPassword,"onUpdate:modelValue":s[1]||(s[1]=r=>o.credentials.oldPassword=r),autocomplete:"current-password",label:"Old Password",rules:o.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:s[2]||(s[2]=g(r=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),i(m,{ref:"password",modelValue:o.credentials.password,"onUpdate:modelValue":s[3]||(s[3]=r=>o.credentials.password=r),autocomplete:"new-password",label:"New Password",rules:o.rules.password,clearable:"",type:"password",autofocus:t.isAdminMode,onKeydown:s[4]||(s[4]=g(r=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),i(m,{ref:"passwordConfirm",modelValue:o.credentials.passwordConfirm,"onUpdate:modelValue":s[5]||(s[5]=r=>o.credentials.passwordConfirm=r),autocomplete:"new-password",label:"Confirm Password",rules:o.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),i(V,{verb:"Change",table:"Password",disabled:!o.submitButtonEnabled,onSubmit:P.submit,onCancel:s[6]||(s[6]=r=>o.showOnlyThisDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):y("",!0)}const H=B(F,[["render",x],["__scopeId","data-v-04933fe0"]]);export{H as C};
@@ -0,0 +1 @@
1
+ import{aG as k,aH as D,cC as E,cD as _,R as N,A as f,bm as O,S as w,m as c,z as A,_ as B,U as d,V as a,T as n,W as l,ak as L,am as p,Q as i,af as h,aC as u,aL as v,aA as U,aK as b,bi as g,aE as y}from"./admin-drawer-panel-BaXFOcru.js";import{S as T,a as I,V as m}from"./VTextField-Blqy56_L.js";import{V as M}from"./VDialog-BkpVGB70.js";const F={name:"ChangePasswordDialog",components:{SubmitFooter:T,CloseButton:k,DrawerItem:D},props:{user:{type:Object,required:!0},isAdminMode:{type:Boolean,default:!1},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{rules:{oldPassword:[e=>!!e||"Old Password is required"],password:[e=>e?e.length<this.MIN_PASSWORD_LENGTH?`Password must be ${this.MIN_PASSWORD_LENGTH} characters long`:e===this.credentials.oldPassword?"New password must be different than old password":!0:"New Password is required"],passwordConfirm:[e=>e===this.credentials.password||"Passwords must match"]},credentials:{oldPassword:"",password:"",passwordConfirm:""},submitButtonEnabled:!1,mdiLockReset:E,mdiLockPlusOutline:_,showOnlyThisDialog:!1}},computed:{...N(f,{formErrors:e=>e.form.errors,formSuccess:e=>e.form.success,MIN_PASSWORD_LEN:e=>e.MIN_PASSWORD_LEN}),...O(c,["showChangePasswordDialog"])},watch:{showOnlyThisDialog(e){if(this.showChangePasswordDialog=e,e){const s=this.$refs.form;s&&s.reset(),this.clearErrors()}},credentials:{handler(){const e=this.$refs.form;if(!e){this.submitButtonEnabled=!1;return}e.validate().then(({valid:s})=>(this.submitButtonEnabled=s,s)).catch(()=>{this.submitButtonEnabled=!1})},deep:!0}},mounted(){window.addEventListener("keyup",this._keyUpListener)},beforeUnmount(){window.removeEventListener("keyup",this._keyUpListener)},methods:{...w(c,["changePassword"]),...w(f,["clearErrors"]),doUserChange(){return A().changeUserPassword(this.user.pk,this.credentials).catch(console.error)},doSelfChange(){return this.changePassword(this.credentials).catch(console.error)},submit(){const e=this.$refs.form;e&&e.validate().then(({valid:s})=>{if(s)return this.isAdminMode?this.doUserChange():this.doSelfChange()}).catch(console.error)},_keyUpListener(e){e.stopImmediatePropagation()}}},R={key:0,class:"codexFormSuccess"},W=["value"];function x(e,s,t,z,o,P){const C=d("DrawerItem"),S=d("CloseButton"),V=d("SubmitFooter");return t.user?(a(),n(M,{key:0,modelValue:o.showOnlyThisDialog,"onUpdate:modelValue":s[7]||(s[7]=r=>o.showOnlyThisDialog=r),origin:"center-top",transition:"slide-y-transition","max-width":"22em"},{activator:l(({props:r})=>[t.isAdminMode?(a(),n(L,p({key:0,icon:""},r,{size:t.size,density:t.density,title:"Change Password"}),{default:l(()=>[i(v,null,{default:l(()=>[h(u(o.mdiLockPlusOutline),1)]),_:1})]),_:2},1040,["size","density"])):(a(),n(C,p({key:1,"prepend-icon":o.mdiLockReset},r,{title:"Change Password"}),null,16,["prepend-icon"]))]),default:l(()=>[e.formSuccess?(a(),U("div",R,[h(u(e.formSuccess)+" ",1),i(S,{onClick:s[0]||(s[0]=r=>o.showOnlyThisDialog=!1)})])):(a(),n(I,{key:1,ref:"form",class:"changePasswordForm"},{default:l(()=>[b("h2",null,"User "+u(t.user.username),1),b("input",{name:"username",autocomplete:"username",disabled:"",type:"text",class:"hidden",value:t.user.username},null,8,W),t.isAdminMode?y("",!0):(a(),n(m,{key:0,ref:"oldPassword",modelValue:o.credentials.oldPassword,"onUpdate:modelValue":s[1]||(s[1]=r=>o.credentials.oldPassword=r),autocomplete:"current-password",label:"Old Password",rules:o.rules.oldPassword,clearable:"",type:"password",autofocus:"",onKeydown:s[2]||(s[2]=g(r=>e.$refs.password.focus(),["enter"]))},null,8,["modelValue","rules"])),i(m,{ref:"password",modelValue:o.credentials.password,"onUpdate:modelValue":s[3]||(s[3]=r=>o.credentials.password=r),autocomplete:"new-password",label:"New Password",rules:o.rules.password,clearable:"",type:"password",autofocus:t.isAdminMode,onKeydown:s[4]||(s[4]=g(r=>e.$refs.passwordConfirm.focus(),["enter"]))},null,8,["modelValue","rules","autofocus"]),i(m,{ref:"passwordConfirm",modelValue:o.credentials.passwordConfirm,"onUpdate:modelValue":s[5]||(s[5]=r=>o.credentials.passwordConfirm=r),autocomplete:"new-password",label:"Confirm Password",rules:o.rules.passwordConfirm,clearable:"",type:"password"},null,8,["modelValue","rules"]),i(V,{verb:"Change",table:"Password",disabled:!o.submitButtonEnabled,onSubmit:P.submit,onCancel:s[6]||(s[6]=r=>o.showOnlyThisDialog=!1)},null,8,["disabled","onSubmit"])]),_:1},512))]),_:1},8,["modelValue"])):y("",!0)}const H=B(F,[["render",x],["__scopeId","data-v-04933fe0"]]);export{H as C};
@@ -0,0 +1 @@
1
+ import{C as x,V as _}from"./VDialog-BkpVGB70.js";import{_ as C,U as V,V as a,T as l,W as i,ak as d,am as m,Q as u,af as r,aC as n,aL as D,aK as g}from"./admin-drawer-panel-BaXFOcru.js";const T={name:"ConfirmDialog",components:{ConfirmFooter:x},props:{icon:{type:String,default:""},buttonText:{type:String,default:""},titleText:{type:String,required:!0},objectName:{type:String,required:!0},confirmText:{type:String,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1}}},S={class:"confirmDialog"};function v(s,t,e,b,f,c){const y=V("ConfirmFooter");return a(),l(_,{modelValue:f.showDialog,"onUpdate:modelValue":t[2]||(t[2]=o=>f.showDialog=o),transition:"fab-transition","max-width":"20em","overlay-opacity":"0.5"},{activator:i(({props:o})=>[e.icon?(a(),l(d,m({key:0,icon:""},o,{size:e.size,density:e.density,title:e.titleText}),{default:i(()=>[u(D,null,{default:i(()=>[r(n(e.icon),1)]),_:1})]),_:2},1040,["size","density","title"])):(a(),l(d,m({key:1,block:""},o),{default:i(()=>[r(n(e.buttonText),1)]),_:2},1040))]),default:i(()=>[g("div",S,[g("h3",null,n(e.titleText),1),r(" "+n(e.objectName)+" ",1),u(y,{"confirm-text":e.confirmText,onConfirm:t[0]||(t[0]=o=>c.close("confirm")),onCancel:t[1]||(t[1]=o=>c.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const w=C(T,[["render",v],["__scopeId","data-v-996f6e3c"]]);export{w as C};
@@ -0,0 +1 @@
1
+ import{C as x,V as _}from"./VDialog-BkpVGB70.js";import{_ as C,U as V,V as a,T as l,W as i,ak as d,am as m,Q as u,af as r,aC as n,aL as D,aK as g}from"./admin-drawer-panel-BaXFOcru.js";const T={name:"ConfirmDialog",components:{ConfirmFooter:x},props:{icon:{type:String,default:""},buttonText:{type:String,default:""},titleText:{type:String,required:!0},objectName:{type:String,required:!0},confirmText:{type:String,required:!0},size:{type:String,default:"default"},density:{type:String,default:"default"}},data(){return{showDialog:!1}},methods:{close(s){this.$emit(s),this.showDialog=!1}}},S={class:"confirmDialog"};function v(s,t,e,b,f,c){const y=V("ConfirmFooter");return a(),l(_,{modelValue:f.showDialog,"onUpdate:modelValue":t[2]||(t[2]=o=>f.showDialog=o),transition:"fab-transition","max-width":"20em","overlay-opacity":"0.5"},{activator:i(({props:o})=>[e.icon?(a(),l(d,m({key:0,icon:""},o,{size:e.size,density:e.density,title:e.titleText}),{default:i(()=>[u(D,null,{default:i(()=>[r(n(e.icon),1)]),_:1})]),_:2},1040,["size","density","title"])):(a(),l(d,m({key:1,block:""},o),{default:i(()=>[r(n(e.buttonText),1)]),_:2},1040))]),default:i(()=>[g("div",S,[g("h3",null,n(e.titleText),1),r(" "+n(e.objectName)+" ",1),u(y,{"confirm-text":e.confirmText,onConfirm:t[0]||(t[0]=o=>c.close("confirm")),onCancel:t[1]||(t[1]=o=>c.close("cancel"))},null,8,["confirm-text"])])]),_:1},8,["modelValue"])}const w=C(T,[["render",v],["__scopeId","data-v-996f6e3c"]]);export{w as C};
@@ -1 +1 @@
1
- import{W as r,a$ as m,cY as s,_ as i,$ as n,aE as d,ak as c,aG as a,aO as u,aI as f}from"./admin-drawer-panel-Dmnn03CQ.js";import{u as _}from"./main-C0t41OAE.js";const T={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(_,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},p={key:0,datetime:"formattedDate"},l={class:"colTime",datetime:"formattedTime"};function D(t,h,o,F,y,e){return o.dttm?(n(),d("time",p,[c(a(e.formattedDate)+" ",1),u("time",l,a(e.formattedTime),1)])):f("",!0)}const k=i(T,[["render",D],["__scopeId","data-v-4e9e3015"]]);export{k as D};
1
+ import{R as r,aV as m,cS as s,_ as i,V as n,aA as d,af as c,aC as a,aK as u,aE as f}from"./admin-drawer-panel-BaXFOcru.js";import{u as _}from"./main-BPIPjzsc.js";const T={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(_,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},p={key:0,datetime:"formattedDate"},l={class:"colTime",datetime:"formattedTime"};function D(t,h,o,F,y,e){return o.dttm?(n(),d("time",p,[c(a(e.formattedDate)+" ",1),u("time",l,a(e.formattedTime),1)])):f("",!0)}const V=i(T,[["render",D],["__scopeId","data-v-4e9e3015"]]);export{V as D};
@@ -1 +1 @@
1
- import{W as r,a$ as m,cY as s,_ as i,$ as n,aE as d,ak as c,aG as a,aO as u,aI as f}from"./admin-drawer-panel-Dmnn03CQ.js";import{u as _}from"./main-C0t41OAE.js";const T={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(_,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},p={key:0,datetime:"formattedDate"},l={class:"colTime",datetime:"formattedTime"};function D(t,h,o,F,y,e){return o.dttm?(n(),d("time",p,[c(a(e.formattedDate)+" ",1),u("time",l,a(e.formattedTime),1)])):f("",!0)}const k=i(T,[["render",D],["__scopeId","data-v-4e9e3015"]]);export{k as D};
1
+ import{R as r,aV as m,cS as s,_ as i,V as n,aA as d,af as c,aC as a,aK as u,aE as f}from"./admin-drawer-panel-BaXFOcru.js";import{u as _}from"./main-BPIPjzsc.js";const T={name:"DateTimeColumn",props:{dttm:{type:String,default:""}},data(){return{date:new Date(this.dttm)}},computed:{...r(_,{twentyFourHourTime:t=>t.settings.twentyFourHourTime}),formattedDate:function(){return m.format(this.date)},formattedTime:function(){return s(this.twentyFourHourTime).format(this.date)}},created(){}},p={key:0,datetime:"formattedDate"},l={class:"colTime",datetime:"formattedTime"};function D(t,h,o,F,y,e){return o.dttm?(n(),d("time",p,[c(a(e.formattedDate)+" ",1),u("time",l,a(e.formattedTime),1)])):f("",!0)}const V=i(T,[["render",D],["__scopeId","data-v-4e9e3015"]]);export{V as D};
@@ -1 +1 @@
1
- import{F as I,r as v,h as L,u as i,w as j,cV as w,d8 as O}from"./admin-drawer-panel-Dmnn03CQ.js";const S=(t,c,e)=>t==null||c==null?-1:t.toString().toLocaleLowerCase().indexOf(c.toString().toLocaleLowerCase()),A=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function x(t,c,e){var g;const f=[],s=(e==null?void 0:e.default)??S,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,y=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,M=a]=w(t[r]),d={},u={};let l=-1;if((c||y>0)&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(M);for(const n of K){const b=O(M,n),k=(g=e==null?void 0:e.customKeyFilter)==null?void 0:g[n];if(l=k?k(b,c,a):s(b,c,a),l!==-1&&l!==!1)k?d[n]=l:u[n]=l;else if((e==null?void 0:e.filterMode)==="every")continue e}}else l=s(a,c,a),l!==-1&&l!==!1&&(u.title=l);const h=Object.keys(u).length,F=Object.keys(d).length;if(!h&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==y&&!h||(e==null?void 0:e.filterMode)==="intersection"&&(F!==y||!h))continue}f.push({index:r,matches:{...u,...d}})}return f}function C(t,c,e,f){const s=v([]),m=v(new Map),y=L(()=>f!=null&&f.transform?i(c).map(r=>[r,f.transform(r)]):i(c));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),M=x(y.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),d=i(c),u=[],l=new Map;M.forEach(h=>{let{index:F,matches:K}=h;const n=d[F];u.push(n),l.set(n.value,K)}),s.value=u,m.value=l});function g(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:g}}export{A as m,C as u};
1
+ import{B as I,r as v,h as L,u as i,w as j,cP as w,d2 as O}from"./admin-drawer-panel-BaXFOcru.js";const S=(t,c,e)=>t==null||c==null?-1:t.toString().toLocaleLowerCase().indexOf(c.toString().toLocaleLowerCase()),_=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function x(t,c,e){var g;const f=[],s=(e==null?void 0:e.default)??S,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,y=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,M=a]=w(t[r]),d={},u={};let l=-1;if((c||y>0)&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(M);for(const n of K){const b=O(M,n),k=(g=e==null?void 0:e.customKeyFilter)==null?void 0:g[n];if(l=k?k(b,c,a):s(b,c,a),l!==-1&&l!==!1)k?d[n]=l:u[n]=l;else if((e==null?void 0:e.filterMode)==="every")continue e}}else l=s(a,c,a),l!==-1&&l!==!1&&(u.title=l);const h=Object.keys(u).length,F=Object.keys(d).length;if(!h&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==y&&!h||(e==null?void 0:e.filterMode)==="intersection"&&(F!==y||!h))continue}f.push({index:r,matches:{...u,...d}})}return f}function A(t,c,e,f){const s=v([]),m=v(new Map),y=L(()=>f!=null&&f.transform?i(c).map(r=>[r,f.transform(r)]):i(c));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),M=x(y.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),d=i(c),u=[],l=new Map;M.forEach(h=>{let{index:F,matches:K}=h;const n=d[F];u.push(n),l.set(n.value,K)}),s.value=u,m.value=l});function g(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:g}}export{_ as m,A as u};
@@ -1 +1 @@
1
- import{F as I,r as v,h as L,u as i,w as j,cV as w,d8 as O}from"./admin-drawer-panel-Dmnn03CQ.js";const S=(t,c,e)=>t==null||c==null?-1:t.toString().toLocaleLowerCase().indexOf(c.toString().toLocaleLowerCase()),A=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function x(t,c,e){var g;const f=[],s=(e==null?void 0:e.default)??S,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,y=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,M=a]=w(t[r]),d={},u={};let l=-1;if((c||y>0)&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(M);for(const n of K){const b=O(M,n),k=(g=e==null?void 0:e.customKeyFilter)==null?void 0:g[n];if(l=k?k(b,c,a):s(b,c,a),l!==-1&&l!==!1)k?d[n]=l:u[n]=l;else if((e==null?void 0:e.filterMode)==="every")continue e}}else l=s(a,c,a),l!==-1&&l!==!1&&(u.title=l);const h=Object.keys(u).length,F=Object.keys(d).length;if(!h&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==y&&!h||(e==null?void 0:e.filterMode)==="intersection"&&(F!==y||!h))continue}f.push({index:r,matches:{...u,...d}})}return f}function C(t,c,e,f){const s=v([]),m=v(new Map),y=L(()=>f!=null&&f.transform?i(c).map(r=>[r,f.transform(r)]):i(c));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),M=x(y.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),d=i(c),u=[],l=new Map;M.forEach(h=>{let{index:F,matches:K}=h;const n=d[F];u.push(n),l.set(n.value,K)}),s.value=u,m.value=l});function g(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:g}}export{A as m,C as u};
1
+ import{B as I,r as v,h as L,u as i,w as j,cP as w,d2 as O}from"./admin-drawer-panel-BaXFOcru.js";const S=(t,c,e)=>t==null||c==null?-1:t.toString().toLocaleLowerCase().indexOf(c.toString().toLocaleLowerCase()),_=I({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function x(t,c,e){var g;const f=[],s=(e==null?void 0:e.default)??S,m=e!=null&&e.filterKeys?w(e.filterKeys):!1,y=Object.keys((e==null?void 0:e.customKeyFilter)??{}).length;if(!(t!=null&&t.length))return f;e:for(let r=0;r<t.length;r++){const[a,M=a]=w(t[r]),d={},u={};let l=-1;if((c||y>0)&&!(e!=null&&e.noFilter)){if(typeof a=="object"){const K=m||Object.keys(M);for(const n of K){const b=O(M,n),k=(g=e==null?void 0:e.customKeyFilter)==null?void 0:g[n];if(l=k?k(b,c,a):s(b,c,a),l!==-1&&l!==!1)k?d[n]=l:u[n]=l;else if((e==null?void 0:e.filterMode)==="every")continue e}}else l=s(a,c,a),l!==-1&&l!==!1&&(u.title=l);const h=Object.keys(u).length,F=Object.keys(d).length;if(!h&&!F||(e==null?void 0:e.filterMode)==="union"&&F!==y&&!h||(e==null?void 0:e.filterMode)==="intersection"&&(F!==y||!h))continue}f.push({index:r,matches:{...u,...d}})}return f}function A(t,c,e,f){const s=v([]),m=v(new Map),y=L(()=>f!=null&&f.transform?i(c).map(r=>[r,f.transform(r)]):i(c));j(()=>{const r=typeof e=="function"?e():i(e),a=typeof r!="string"&&typeof r!="number"?"":String(r),M=x(y.value,a,{customKeyFilter:{...t.customKeyFilter,...i(f==null?void 0:f.customKeyFilter)},default:t.customFilter,filterKeys:t.filterKeys,filterMode:t.filterMode,noFilter:t.noFilter}),d=i(c),u=[],l=new Map;M.forEach(h=>{let{index:F,matches:K}=h;const n=d[F];u.push(n),l.set(n.value,K)}),s.value=u,m.value=l});function g(r){return m.value.get(r.value)}return{filteredItems:s,filteredMatches:m,getMatches:g}}export{_ as m,A as u};
@@ -0,0 +1 @@
1
+ import{_ as f,R as i,A as p,z as d,S as y,cB as b,T as g,W as w,V as r,aK as a,aA as m,aB as k,aC as c,Q as v,al as x}from"./admin-drawer-panel-BaXFOcru.js";import{V as C}from"./VTable-DXH_yQ0o.js";import{V as S}from"./VCheckbox-Cko1sQK-.js";import"./VCheckboxBtn-CO3-aqQL.js";import"./VSelectionControl-D6kmykQW.js";const T="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",A="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",F="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",U=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,V="Fully optimize the search index each night. Disabling this flag will instead run a partial optimization which only merges small files. You should only disable this if the nightly optimization stresses your system too much.",_="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. Instead, metadata will be loaded lazily as comics are read. This makes importing comics fast, but disables most of the metadata browser functionality, making codex mostly a file tree browser.",B="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",E={AU:T,NU:A,RG:F,FV:U,SO:V,IM:_,ST:B},I={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:E}},computed:{...i(p,["formErrors"]),...i(d,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...y(d,["updateRow","clearErrors","loadTables"]),changeCol(e,t,n){this.lastUpdate.name=e,this.lastUpdate.field=t;const l={[t]:n};this.updateRow("Flag",e,l)},getFormErrors(e,t){if(e===this.lastUpdate.name&&t===this.lastUpdate.field)return this.formErrors},title(e){return b[e.key]}}},D={class:"nameCol"},z={class:"desc"};function N(e,t,n,l,u,o){return r(),g(C,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:w(()=>[t[0]||(t[0]=a("thead",null,[a("tr",null,[a("th",null,"Description"),a("th",null,"Enabled")])],-1)),a("tbody",null,[(r(!0),m(x,null,k(e.flags,s=>(r(),m("tr",{key:`f${s.key}`},[a("td",D,[a("h4",null,c(o.title(s)),1),a("p",z,c(u.DESC[s.key]),1)]),a("td",null,[v(S,{"model-value":s.on,"true-value":!0,"error-messages":o.getFormErrors(s.key,"on"),"hide-details":"auto","onUpdate:modelValue":h=>o.changeCol(s.key,"on",h)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const K=f(I,[["render",N],["__scopeId","data-v-43c13cb0"]]);export{K as default};
@@ -0,0 +1 @@
1
+ import{_ as f,R as i,A as p,z as d,S as y,cB as b,T as g,W as w,V as r,aK as a,aA as m,aB as k,aC as c,Q as v,al as x}from"./admin-drawer-panel-BaXFOcru.js";import{V as C}from"./VTable-DXH_yQ0o.js";import{V as S}from"./VCheckbox-Cko1sQK-.js";import"./VCheckboxBtn-CO3-aqQL.js";import"./VSelectionControl-D6kmykQW.js";const T="If enabled, codex will attempt to update the codex python package once a day and restart the server if an update occurred. Not advisable if running from Docker as running containers aren't meant to hold state and will be rebuilt if you update the image. Look into services that automatically update docker images instead.",A="By default all Codex features, including bookmarking, are available to users who are not logged in. You may disable this feature and Codex will hide its browser and reader and disable its API from anyone who is not logged in as a user.",F="By default users' bookmarks and preferences are saved in an anonymous browser session. Users can create a username and password to save their bookmarks between browsers. You may disable this feature. Admins may still create users.",U=`By default, codex provides a "Folder View" which mimics the directory hierarchy of the libraries that you've added to Codex. You may disable this feature. The database style browser view is always available. This flag also enables and disables the "Filename" sort option and the path from search indexing.`,V="Fully optimize the search index each night. Disabling this flag will instead run a partial optimization which only merges small files. You should only disable this if the nightly optimization stresses your system too much.",_="If disabled, Codex will not bulk import metadata from comic libraries when they are scanned and only import folders and filenames. Instead, metadata will be loaded lazily as comics are read. This makes importing comics fast, but disables most of the metadata browser functionality, making codex mostly a file tree browser.",B="Anonymously send the contents of the Admin Stats tab once a week to understand how people use Codex and improve the software. The server collecting the stats does not log or store your IP. The author considers all personally identifying information and the names and metadata of your comics to be a radioactive privacy violation and will never be exposed to it. Only the information you see on the stats page is collected. Your API Key is not sent. Stats are not sent for the first 24 hours to allow opt-out.",E={AU:T,NU:A,RG:F,FV:U,SO:V,IM:_,ST:B},I={name:"AdminFlagsTab",components:{},data(){return{lastUpdate:{name:"",field:void 0},DESC:E}},computed:{...i(p,["formErrors"]),...i(d,["flags"])},mounted(){this.loadTables(["Flag"])},methods:{...y(d,["updateRow","clearErrors","loadTables"]),changeCol(e,t,n){this.lastUpdate.name=e,this.lastUpdate.field=t;const l={[t]:n};this.updateRow("Flag",e,l)},getFormErrors(e,t){if(e===this.lastUpdate.name&&t===this.lastUpdate.field)return this.formErrors},title(e){return b[e.key]}}},D={class:"nameCol"},z={class:"desc"};function N(e,t,n,l,u,o){return r(),g(C,{class:"highlight-table flags-table",items:e.flags,"fixed-header":""},{default:w(()=>[t[0]||(t[0]=a("thead",null,[a("tr",null,[a("th",null,"Description"),a("th",null,"Enabled")])],-1)),a("tbody",null,[(r(!0),m(x,null,k(e.flags,s=>(r(),m("tr",{key:`f${s.key}`},[a("td",D,[a("h4",null,c(o.title(s)),1),a("p",z,c(u.DESC[s.key]),1)]),a("td",null,[v(S,{"model-value":s.on,"true-value":!0,"error-messages":o.getFormErrors(s.key,"on"),"hide-details":"auto","onUpdate:modelValue":h=>o.changeCol(s.key,"on",h)},null,8,["model-value","error-messages","onUpdate:modelValue"])])]))),128))])]),_:1},8,["items"])}const K=f(I,[["render",N],["__scopeId","data-v-43c13cb0"]]);export{K as default};
@@ -0,0 +1 @@
1
+ import{R as k,z as m,S as w,_ as A,U as i,V as G,aA as h,Q as s,W as a,by as T,aK as t,af as p}from"./admin-drawer-panel-BaXFOcru.js";import{A as V,G as S,a as v,b as I,c as j,R as D}from"./relation-chips-CUSatZET.js";import{d as g}from"./main-BPIPjzsc.js";import{V as E}from"./VTextField-Blqy56_L.js";import{V as f,a as N}from"./VRadioGroup-D3Py5BfQ.js";import"./VDialog-BkpVGB70.js";import"./VSelect-DtvZsYZz.js";import"./VSelectionControl-D6kmykQW.js";import"./VCheckboxBtn-CO3-aqQL.js";import"./VSlideGroup-UGZWxpF5.js";import"./VTable-DXH_yQ0o.js";import"./filter-Bzk7x841.js";import"./confirm-dialog-D3_s2DQy.js";const C=["name","userSet","librarySet","exclude"];Object.freeze(C);const b={name:"",userSet:[],librarySet:[],exclude:!1};Object.freeze(b);const H={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:V,GroupChip:S},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[l=>!!l||"Name is required",l=>!!l&&!this.names.has(l.trim())||"Name already used"]},row:{...b,...g(this.oldRow)}}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(l){this.$emit("change",l)},deep:!0},oldRow:{handler(l){this.row=g(l)},deep:!0}},methods:{...w(m,["nameSet"])},UPDATE_KEYS:C,EMPTY_ROW:b};function P(l,e,y,x,o,c){const d=i("GroupChip"),u=i("AdminRelationPicker");return G(),h("div",null,[s(E,{modelValue:o.row.name,"onUpdate:modelValue":e[0]||(e[0]=r=>o.row.name=r),label:"Group Name",rules:o.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),s(N,{inline:"",label:"Type","model-value":o.row.exclude,"hide-details":"auto","onUpdate:modelValue":e[1]||(e[1]=r=>o.row.exclude=r)},{default:a(()=>[s(f,{value:!1},{label:a(()=>[s(d,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),s(f,{value:!0},{label:a(()=>[s(d,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),s(u,{"model-value":o.row.userSet,label:"Users",objs:l.users,"title-key":"username","onUpdate:modelValue":e[2]||(e[2]=r=>o.row.userSet=r)},null,8,["model-value","objs"]),s(u,{"model-value":o.row.librarySet,label:"Libraries",objs:l.libraries,"title-key":"path","onUpdate:modelValue":e[3]||(e[3]=r=>o.row.librarySet=r)},null,8,["model-value","objs"])])}const L=A(H,[["render",P]]),O=180,z={name:"AdminGroupsTab",components:{AdminTable:v,AdminDeleteRowDialog:I,AdminCreateUpdateDialog:j,RelationChips:D,GroupChip:S},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:T(L),GROUP_HELP_HEIGHT:O,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...w(m,["loadTables"]),groupType(l){const e=l.exclude;return{name:e?"Exclude ":"Include",exclude:e}}}},B={class:"tabHeader"},_={id:"groupHelp"},K={id:"groupTable"};function W(l,e,y,x,o,c){const d=i("AdminCreateUpdateDialog"),u=i("GroupChip"),r=i("RelationChips"),U=i("AdminDeleteRowDialog"),R=i("AdminTable");return G(),h("div",null,[t("header",B,[s(d,{table:"Group","max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),s(R,{"item-title":"name",headers:o.headers,items:l.groups},{"no-data":a(()=>e[0]||(e[0]=[t("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)])),"item.exclude":a(({item:n})=>[s(u,{"group-type":"",item:c.groupType(n),"title-key":"name"},null,8,["item"])]),"item.userSet":a(({item:n})=>[s(r,{pks:n.userSet,objs:l.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":a(({item:n})=>[s(r,{pks:n.librarySet,objs:l.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":a(({item:n})=>[s(d,{table:"Group","old-row":n,"max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),s(U,{table:"Group",pk:n.pk,name:n.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),t("div",_,[e[9]||(e[9]=t("h3",null,"Group Logic",-1)),e[10]||(e[10]=t("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),e[11]||(e[11]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Include groups is accessible "),t("em",null,"only"),p(" to users who are in those groups. ")],-1)),e[12]||(e[12]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),e[13]||(e[13]=t("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),t("table",K,[e[8]||(e[8]=t("thead",null,[t("tr",null,[t("th",null,"Library in Group Type"),t("th",null,"Guest"),t("th",null,"User Out of Group"),t("th",null,"User In Group")])],-1)),t("tbody",null,[e[7]||(e[7]=t("tr",null,[t("td",null,"Not in a Group"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See")],-1)),t("tr",null,[t("td",null,[s(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),e[1]||(e[1]=t("td",{class:"hidden"},"Hidden",-1)),e[2]||(e[2]=t("td",{class:"hidden"},"Hidden",-1)),e[3]||(e[3]=t("td",{class:"see"},"Can See",-1))]),t("tr",null,[t("td",null,[s(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),e[4]||(e[4]=t("td",{class:"hidden"},"Hidden",-1)),e[5]||(e[5]=t("td",{class:"see"},"Can See",-1)),e[6]||(e[6]=t("td",{class:"hidden"},"Hidden",-1))])])])])])}const oe=A(z,[["render",W],["__scopeId","data-v-0893032c"]]);export{oe as default};
@@ -0,0 +1 @@
1
+ import{R as k,z as m,S as w,_ as A,U as i,V as G,aA as h,Q as s,W as a,by as T,aK as t,af as p}from"./admin-drawer-panel-BaXFOcru.js";import{A as V,G as S,a as v,b as I,c as j,R as D}from"./relation-chips-CUSatZET.js";import{d as g}from"./main-BPIPjzsc.js";import{V as E}from"./VTextField-Blqy56_L.js";import{V as f,a as N}from"./VRadioGroup-D3Py5BfQ.js";import"./VDialog-BkpVGB70.js";import"./VSelect-DtvZsYZz.js";import"./VSelectionControl-D6kmykQW.js";import"./VCheckboxBtn-CO3-aqQL.js";import"./VSlideGroup-UGZWxpF5.js";import"./VTable-DXH_yQ0o.js";import"./filter-Bzk7x841.js";import"./confirm-dialog-D3_s2DQy.js";const C=["name","userSet","librarySet","exclude"];Object.freeze(C);const b={name:"",userSet:[],librarySet:[],exclude:!1};Object.freeze(b);const H={name:"AdminGroupCreateUpdateInputs",components:{AdminRelationPicker:V,GroupChip:S},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{name:[l=>!!l||"Name is required",l=>!!l&&!this.names.has(l.trim())||"Name already used"]},row:{...b,...g(this.oldRow)}}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users}),names(){return this.nameSet(this.groups,"name",this.oldRow,!0)}},watch:{row:{handler(l){this.$emit("change",l)},deep:!0},oldRow:{handler(l){this.row=g(l)},deep:!0}},methods:{...w(m,["nameSet"])},UPDATE_KEYS:C,EMPTY_ROW:b};function P(l,e,y,x,o,c){const d=i("GroupChip"),u=i("AdminRelationPicker");return G(),h("div",null,[s(E,{modelValue:o.row.name,"onUpdate:modelValue":e[0]||(e[0]=r=>o.row.name=r),label:"Group Name",rules:o.rules.name,clearable:"",autofocus:""},null,8,["modelValue","rules"]),s(N,{inline:"",label:"Type","model-value":o.row.exclude,"hide-details":"auto","onUpdate:modelValue":e[1]||(e[1]=r=>o.row.exclude=r)},{default:a(()=>[s(f,{value:!1},{label:a(()=>[s(d,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),_:1}),s(f,{value:!0},{label:a(()=>[s(d,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),_:1})]),_:1},8,["model-value"]),s(u,{"model-value":o.row.userSet,label:"Users",objs:l.users,"title-key":"username","onUpdate:modelValue":e[2]||(e[2]=r=>o.row.userSet=r)},null,8,["model-value","objs"]),s(u,{"model-value":o.row.librarySet,label:"Libraries",objs:l.libraries,"title-key":"path","onUpdate:modelValue":e[3]||(e[3]=r=>o.row.librarySet=r)},null,8,["model-value","objs"])])}const L=A(H,[["render",P]]),O=180,z={name:"AdminGroupsTab",components:{AdminTable:v,AdminDeleteRowDialog:I,AdminCreateUpdateDialog:j,RelationChips:D,GroupChip:S},data(){return{lastUpdate:{pk:0,field:void 0},AdminGroupCreateUpdateInputs:T(L),GROUP_HELP_HEIGHT:O,headers:[{title:"Name",key:"name",align:"start"},{title:"Type",key:"exclude",align:"start"},{title:"Users",key:"userSet"},{title:"Libraries",key:"librarySet"},{title:"Actions",key:"actions",sortable:!1}]}},computed:{...k(m,{groups:l=>l.groups,libraries:l=>l.libraries,users:l=>l.users})},mounted(){this.loadTables(["User","Library","Group"])},methods:{...w(m,["loadTables"]),groupType(l){const e=l.exclude;return{name:e?"Exclude ":"Include",exclude:e}}}},B={class:"tabHeader"},_={id:"groupHelp"},K={id:"groupTable"};function W(l,e,y,x,o,c){const d=i("AdminCreateUpdateDialog"),u=i("GroupChip"),r=i("RelationChips"),U=i("AdminDeleteRowDialog"),R=i("AdminTable");return G(),h("div",null,[t("header",B,[s(d,{table:"Group","max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs},null,8,["inputs"])]),s(R,{"item-title":"name",headers:o.headers,items:l.groups},{"no-data":a(()=>e[0]||(e[0]=[t("td",{class:"adminNoData",colspan:"100%"},"No groups",-1)])),"item.exclude":a(({item:n})=>[s(u,{"group-type":"",item:c.groupType(n),"title-key":"name"},null,8,["item"])]),"item.userSet":a(({item:n})=>[s(r,{pks:n.userSet,objs:l.users,"title-key":"username"},null,8,["pks","objs"])]),"item.librarySet":a(({item:n})=>[s(r,{pks:n.librarySet,objs:l.libraries,"title-key":"path"},null,8,["pks","objs"])]),"item.actions":a(({item:n})=>[s(d,{table:"Group","old-row":n,"max-width":"20em",inputs:o.AdminGroupCreateUpdateInputs,size:"small",density:"compact"},null,8,["old-row","inputs"]),s(U,{table:"Group",pk:n.pk,name:n.name,size:"small",density:"compact"},null,8,["pk","name"])]),_:2},1032,["headers","items"]),t("div",_,[e[9]||(e[9]=t("h3",null,"Group Logic",-1)),e[10]||(e[10]=t("p",null," A library in no groups is accessible to every user and non-users if those are enabled. ",-1)),e[11]||(e[11]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Include groups is accessible "),t("em",null,"only"),p(" to users who are in those groups. ")],-1)),e[12]||(e[12]=t("p",null,[p(" A library with "),t("em",null,"any"),p(" Exclude groups is not accessible to Guest users but is acccessable to any logged in users that are not in the Exclude groups. ")],-1)),e[13]||(e[13]=t("p",null," If you have libraries added and you do not see them in your browser, check to see if the library and your user are in the same group. ",-1)),t("table",K,[e[8]||(e[8]=t("thead",null,[t("tr",null,[t("th",null,"Library in Group Type"),t("th",null,"Guest"),t("th",null,"User Out of Group"),t("th",null,"User In Group")])],-1)),t("tbody",null,[e[7]||(e[7]=t("tr",null,[t("td",null,"Not in a Group"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See"),t("td",{class:"see"},"Can See")],-1)),t("tr",null,[t("td",null,[s(u,{item:{name:"Include",exclude:!1},"title-key":"name","group-type":""})]),e[1]||(e[1]=t("td",{class:"hidden"},"Hidden",-1)),e[2]||(e[2]=t("td",{class:"hidden"},"Hidden",-1)),e[3]||(e[3]=t("td",{class:"see"},"Can See",-1))]),t("tr",null,[t("td",null,[s(u,{item:{name:"Exclude",exclude:!0},"title-key":"name","group-type":""})]),e[4]||(e[4]=t("td",{class:"hidden"},"Hidden",-1)),e[5]||(e[5]=t("td",{class:"see"},"Can See",-1)),e[6]||(e[6]=t("td",{class:"hidden"},"Hidden",-1))])])])])])}const oe=A(z,[["render",W],["__scopeId","data-v-0893032c"]]);export{oe as default};
@@ -0,0 +1 @@
1
+ import{_ as m,az as _,m as h,T as n,W as a,U as s,V as i,aK as e,aC as d,Q as l}from"./admin-drawer-panel-BaXFOcru.js";import{U as f,V as k}from"./unauthorized-RHaQZRfr.js";import"./main-BPIPjzsc.js";import"./change-password-dialog-DlHoLhDF.js";import"./VTextField-Blqy56_L.js";import"./VDialog-BkpVGB70.js";import"./VSelectionControl-D6kmykQW.js";const c={400:"Bad Request",403:"Forbidden",404:"Page Not Found",500:"Server Error"};Object.freeze(c);const z={name:"HttpError",components:{Unauthorized:f},data(){return{}},computed:{..._(h,["isAuthorized"]),code:function(){return+this.$route.params.code},title:function(){let t=c[this.code];return t||(t="Unknown Error"),t}}},E={id:"httpCode"},U={id:"title"};function C(t,o,V,x,B,r){const p=s("router-link"),u=s("Unauthorized");return t.isAuthorized?(i(),n(k,{key:0,id:"httpError"},{default:a(()=>[e("h1",E,d(r.code),1),e("h1",U,d(r.title),1),l(p,{id:"link",to:{name:"home"}},{default:a(()=>o[0]||(o[0]=[e("h2",null,"Codex Home",-1)])),_:1})]),_:1})):(i(),n(u,{key:1}))}const b=m(z,[["render",C],["__scopeId","data-v-c7d80e26"]]);export{b as default};
@@ -0,0 +1 @@
1
+ import{_ as m,az as _,m as h,T as n,W as a,U as s,V as i,aK as e,aC as d,Q as l}from"./admin-drawer-panel-BaXFOcru.js";import{U as f,V as k}from"./unauthorized-RHaQZRfr.js";import"./main-BPIPjzsc.js";import"./change-password-dialog-DlHoLhDF.js";import"./VTextField-Blqy56_L.js";import"./VDialog-BkpVGB70.js";import"./VSelectionControl-D6kmykQW.js";const c={400:"Bad Request",403:"Forbidden",404:"Page Not Found",500:"Server Error"};Object.freeze(c);const z={name:"HttpError",components:{Unauthorized:f},data(){return{}},computed:{..._(h,["isAuthorized"]),code:function(){return+this.$route.params.code},title:function(){let t=c[this.code];return t||(t="Unknown Error"),t}}},E={id:"httpCode"},U={id:"title"};function C(t,o,V,x,B,r){const p=s("router-link"),u=s("Unauthorized");return t.isAuthorized?(i(),n(k,{key:0,id:"httpError"},{default:a(()=>[e("h1",E,d(r.code),1),e("h1",U,d(r.title),1),l(p,{id:"link",to:{name:"home"}},{default:a(()=>o[0]||(o[0]=[e("h2",null,"Codex Home",-1)])),_:1})]),_:1})):(i(),n(u,{key:1}))}const b=m(z,[["render",C],["__scopeId","data-v-c7d80e26"]]);export{b as default};
@@ -1 +1 @@
1
- #folderPicker[data-v-49f10642]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-49f10642] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-dc8b0e11]{color:rgb(var(--v-theme-textDisabled))!important}.actionButtonCell[data-v-dc8b0e11]>button{opacity:.7}.actionButtonCell[data-v-dc8b0e11]>button:hover{opacity:1}#customCoversHelp[data-v-589557a2]{color:rgb(var(--v-theme-textSecondary))}#customCoversHelp .v-expansion-panel-text h4[data-v-589557a2]{margin-top:.5em}.cli[data-v-a5ce4ee5]{display:block;margin-left:2em}#failedImportsPanel[data-v-a5ce4ee5]{padding-top:10px}#failedImportsIcon[data-v-a5ce4ee5]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a5ce4ee5]{padding-top:.5em}a[data-v-a5ce4ee5],a>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-primary))!important}a[data-v-a5ce4ee5]:hover,a:hover>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
1
+ #folderPicker[data-v-8f7dd090]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-8f7dd090] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-dc8b0e11]{color:rgb(var(--v-theme-textDisabled))!important}.actionButtonCell[data-v-dc8b0e11]>button{opacity:.7}.actionButtonCell[data-v-dc8b0e11]>button:hover{opacity:1}#customCoversHelp[data-v-589557a2]{color:rgb(var(--v-theme-textSecondary))}#customCoversHelp .v-expansion-panel-text h4[data-v-589557a2]{margin-top:.5em}.cli[data-v-a5ce4ee5]{display:block;margin-left:2em}#failedImportsPanel[data-v-a5ce4ee5]{padding-top:10px}#failedImportsIcon[data-v-a5ce4ee5]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a5ce4ee5]{padding-top:.5em}a[data-v-a5ce4ee5],a>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-primary))!important}a[data-v-a5ce4ee5]:hover,a:hover>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
@@ -0,0 +1,2 @@
1
+ v@dqN��a$�=~�۬��f ����8����f%��f�D��<��[���Y�[=o��$OtZ��3@T���B8����sgVg�xJ�����GGr�#����YiF��5uLO����;�d�.üAt1Tކ��WI��N�Q�1�K|G
2
+ �f2w�q��w#&���Y�=�dBD�}�q*�bH_��Y��aY�#q�?�I�\�$�˻.A$�X���^5}���#@�4yrc'/|#T랐%n�#�
@@ -1 +1 @@
1
- #folderPicker[data-v-49f10642]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-49f10642] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-dc8b0e11]{color:rgb(var(--v-theme-textDisabled))!important}.actionButtonCell[data-v-dc8b0e11]>button{opacity:.7}.actionButtonCell[data-v-dc8b0e11]>button:hover{opacity:1}#customCoversHelp[data-v-589557a2]{color:rgb(var(--v-theme-textSecondary))}#customCoversHelp .v-expansion-panel-text h4[data-v-589557a2]{margin-top:.5em}.cli[data-v-a5ce4ee5]{display:block;margin-left:2em}#failedImportsPanel[data-v-a5ce4ee5]{padding-top:10px}#failedImportsIcon[data-v-a5ce4ee5]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a5ce4ee5]{padding-top:.5em}a[data-v-a5ce4ee5],a>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-primary))!important}a[data-v-a5ce4ee5]:hover,a:hover>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
1
+ #folderPicker[data-v-8f7dd090]{border-radius:5px;background-color:rgb(var(--v-theme-surface))}.showHidden[data-v-8f7dd090] .v-label{color:rgb(var(--v-theme-textSecondary))}.disabled[data-v-dc8b0e11]{color:rgb(var(--v-theme-textDisabled))!important}.actionButtonCell[data-v-dc8b0e11]>button{opacity:.7}.actionButtonCell[data-v-dc8b0e11]>button:hover{opacity:1}#customCoversHelp[data-v-589557a2]{color:rgb(var(--v-theme-textSecondary))}#customCoversHelp .v-expansion-panel-text h4[data-v-589557a2]{margin-top:.5em}.cli[data-v-a5ce4ee5]{display:block;margin-left:2em}#failedImportsPanel[data-v-a5ce4ee5]{padding-top:10px}#failedImportsIcon[data-v-a5ce4ee5]{padding-left:.25em;color:rgb(var(--v-theme-error))!important}#failedImportsHelp[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textSecondary))}h4[data-v-a5ce4ee5]{padding-top:.5em}a[data-v-a5ce4ee5],a>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-primary))!important}a[data-v-a5ce4ee5]:hover,a:hover>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))!important}a.v-btn>.v-icon[data-v-a5ce4ee5]{color:rgb(var(--v-theme-textPrimary))}#customCovers[data-v-7582b1ea]{margin-top:60px}
@@ -0,0 +1,2 @@
1
+ v@dqN��a$�=~�۬��f ����8����f%��f�D��<��[���Y�[=o��$OtZ��3@T���B8����sgVg�xJ�����GGr�#����YiF��5uLO����;�d�.üAt1Tކ��WI��N�Q�1�K|G
2
+ �f2w�q��w#&���Y�=�dBD�}�q*�bH_��Y��aY�#q�?�I�\�$�˻.A$�X���^5}���#@�4yrc'/|#T랐%n�#�
@@ -0,0 +1 @@
1
+ import{d as F,u as Q}from"./main-BPIPjzsc.js";import{R as y,z as b,A as D,S as k,_ as C,V as c,aA as g,Q as r,W as s,aS as X,am as V,bi as J,T as w,U as p,aC as _,aE as I,al as H,cE as Z,cF as ee,cG as te,aI as $,by as B,aX as oe,aK as o,ag as re,af as d,cH as le,bm as se,aL as O,aB as ne,bL as U}from"./admin-drawer-panel-BaXFOcru.js";import{A as ae,a as ie,b as de,c as j,R as me}from"./relation-chips-CUSatZET.js";import{V as ue}from"./VCombobox-Bjp6lffE.js";import{V as E}from"./VCheckbox-Cko1sQK-.js";import{V as pe}from"./VTextField-Blqy56_L.js";import{D as W}from"./datetime-column-BxC1Li9e.js";import{C as ce}from"./confirm-dialog-D3_s2DQy.js";import{V as z}from"./VCheckboxBtn-CO3-aqQL.js";import{a as A,b as T,c as P,V as x}from"./VExpansionPanels-Ci2-j8XX.js";import{V as he}from"./VTable-DXH_yQ0o.js";import"./VDialog-BkpVGB70.js";import"./VSelect-DtvZsYZz.js";import"./VSelectionControl-D6kmykQW.js";import"./VSlideGroup-UGZWxpF5.js";import"./filter-Bzk7x841.js";const fe={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...y(b,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...y(D,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...k(b,["clearFolders","loadFolders"]),...k(D,["clearErrors"]),change(e){let t;e?e.startsWith("/")||e.startsWith("\\")?t=e:t=[this.rootFolder,e].join("/"):t=this.rootFolder;const n=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=n;let a="";return this.formErrors.length===0&&(this.path=a=this.rootFolder),this.$emit("change",a)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},be={id:"folderPicker"};function ye(e,t,n,a,l,u){return c(),g("div",be,[r(ue,V({modelValue:l.path,"onUpdate:modelValue":t[0]||(t[0]=m=>l.path=m),menu:l.menuOpen,"onUpdate:menu":t[1]||(t[1]=m=>l.menuOpen=m)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:u.onBlur,"onClick:clear":u.onClear,onKeydown:J(u.onKeyDownEnter,["enter"])}),{item:s(({item:m,props:f})=>[r(X,V(f,{title:m.title,value:m.value,onClick:v=>u.onItemClick(m.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),r(E,{modelValue:l.showHidden,"onUpdate:modelValue":t[2]||(t[2]=m=>l.showHidden=m),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const ve=C(fe,[["render",ye],["__scopeId","data-v-8f7dd090"]]),R="DDD HH:mm:SS",ge=/^(?:[0-3]?\d?\d\s)?(?:[01]?\d|2[0-3])(?::[0-5]\d){2}$/,we={name:"TimeTextField",data(){return{FORMAT:R,timeRules:[e=>ge.test(e)||`Invalid time format ${R}`]}}};function Ce(e,t,n,a,l,u){return c(),w(pe,V({ref:"timeField",density:"compact",filled:"",hint:l.FORMAT,round:"",rules:l.timeRules},e.$attrs),null,16,["hint","rules"])}const _e=C(we,[["render",Ce]]),G=["events","poll","pollEvery","groups"];Object.freeze(G);const L={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(L);const S=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Fe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:ae,AdminServerFolderPicker:ve,TimeTextField:_e},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(S(t,e))return"Path is a child of an existing library";if(S(e,t))return"Path is a parent of an existing library"}return!0}]},row:F(this.oldRow||L)}},computed:{...y(b,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=F(e)},deep:!0}},methods:{...k(b,["nameSet"])},UPDATE_KEYS:G,EMPTY_ROW:L},ke={key:1};function Ie(e,t,n,a,l,u){const m=p("AdminServerFolderPicker"),f=p("TimeTextField"),v=p("AdminRelationPicker");return c(),g(H,null,[n.oldRow?(c(),g("div",ke,_(n.oldRow.path),1)):(c(),w(m,{key:0,rules:l.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=h=>l.row.path=h)},null,8,["rules"])),r(E,{modelValue:l.row.events,"onUpdate:modelValue":t[1]||(t[1]=h=>l.row.events=h),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),r(E,{modelValue:l.row.poll,"onUpdate:modelValue":t[2]||(t[2]=h=>l.row.poll=h),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),r(f,{modelValue:l.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=h=>l.row.pollEvery=h),label:"Poll Every",disabled:!l.row.poll},null,8,["modelValue","disabled"]),l.row.coversOnly?I("",!0):(c(),w(v,{key:2,modelValue:l.row.groups,"onUpdate:modelValue":t[4]||(t[4]=h=>l.row.groups=h),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"]))],64)}const N=C(Fe,[["render",Ie]]),Ae={name:"AdminLibrariesTab",components:{AdminTable:ie,AdminDeleteRowDialog:de,AdminCreateUpdateDialog:j,RelationChips:me,ConfirmDialog:ce,DateTimeColumn:W},props:{coversDir:{type:Boolean,default:!1}},data(){return{lastUpdate:{pk:0,field:void 0},mdiCircleOffOutline:Z,mdiDatabaseClockOutline:ee,mdiDatabaseSyncOutline:te,mdiOpenInNew:$,AdminLibraryCreateUpdateInputs:B(N)}},computed:{...y(b,{groups:e=>e.groups,items(e){const t=[];for(const n of e.libraries){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t},headers(){const e=[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"}];return this.coversDir||e.push({title:"Groups",key:"groups"}),e.push({title:"Actions",key:"actions",sortable:!1}),e}}),...y(D,{formErrors:e=>{var t;return(t=e.form)==null?void 0:t.errors}}),...y(Q,{twentyFourHourTime:e=>e.settings.twentyFourHourTime}),iconSize(){const e=this.$vuetify.display;return e.xlAndUp?"x-large":e.lgAndUp?"large":e.mdAndUp?"default":"small"}},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?oe(e,(void 0).twentyFourHourTime):"",changeCol(e,t,n){this.lastUpdate.pk=e,this.lastUpdate.field=t;const a={[t]:n};this.updateRow("Library",e,a)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},libraryLabel(e,t=!0){let n="";return e.coversOnly?(t&&(n+="Custom Group "),n+="Cover Dir"):n+="Library",n},poll(e){const t=this.libraryLabel(e);this.librarianTask("poll",`Poll ${t} ${e.pk}`,e.pk)},forcePoll(e){const t=this.libraryLabel(e);this.librarianTask("poll_force",`Force Poll ${t} ${e.pk}`,e.pk)},pollConfirmText(e){return`Poll ${this.libraryLabel(e,!1)}`},updateLabel(e){return e.coversOnly?"Cover Dir":""}}},Te={class:"actionButtonCell"};function Pe(e,t,n,a,l,u){const m=p("DateTimeColumn"),f=p("RelationChips"),v=p("ConfirmDialog"),h=p("AdminCreateUpdateDialog"),M=p("AdminDeleteRowDialog"),Y=p("AdminTable");return c(),w(Y,{headers:e.headers},{"no-data":s(()=>t[0]||(t[0]=[o("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1)])),"item.events":s(({item:i})=>[r(z,{"model-value":i.events,disabled:""},null,8,["model-value"])]),"item.poll":s(({item:i})=>[r(z,{"model-value":i.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":s(({item:i})=>[o("span",{class:re({disabled:!i.poll})},_(i.pollEvery),3)]),"item.lastPoll":s(({item:i})=>[r(m,{dttm:i.lastPoll},null,8,["dttm"])]),"item.groups":s(({item:i})=>[r(f,{pks:i.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":s(({item:i})=>[o("span",Te,[r(v,{icon:l.mdiDatabaseClockOutline,"title-text":`Poll for updated ${i.label}s`,"object-name":i.path,"confirm-text":u.pollConfirmText(i),size:u.iconSize,density:"compact",onConfirm:q=>u.poll(i)},null,8,["icon","title-text","object-name","confirm-text","size","onConfirm"]),r(v,{icon:l.mdiDatabaseSyncOutline,"title-text":`Force update every ${i.label}`,"object-name":i.path,"confirm-text":"Force Update",size:u.iconSize,density:"compact",onConfirm:q=>u.forcePoll(i)},null,8,["icon","title-text","object-name","size","onConfirm"]),r(h,{table:"Library","old-row":i,inputs:l.AdminLibraryCreateUpdateInputs,label:u.updateLabel(i),"max-width":"22em",size:u.iconSize,density:"compact"},null,8,["old-row","inputs","label","size"]),i.coversOnly?I("",!0):(c(),w(M,{key:0,table:"Library",pk:i.pk,name:i.path,size:u.iconSize,density:"compact"},null,8,["pk","name","size"]))])]),_:2},1032,["headers"])}const K=C(Ae,[["render",Pe],["__scopeId","data-v-dc8b0e11"]]),xe={name:"AdminCustomCoversPanel",components:{AdminLibraryTable:K},computed:{...y(b,{coverDirItems(e){const t=[];for(const n of e.libraries)if(n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})}};function De(e,t,n,a,l,u){const m=p("AdminLibraryTable");return c(),w(P,null,{default:s(()=>[r(x,null,{default:s(()=>[r(A,null,{default:s(()=>t[0]||(t[0]=[o("h4",{id:"coverDirHeader"},"Custom Covers",-1)])),_:1}),r(T,null,{default:s(()=>[r(m,{items:e.coverDirItems,"disable-sort":"","covers-dir":!0},null,8,["items"]),r(P,null,{default:s(()=>[r(x,{id:"customCoversHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[1]||(t[1]=[o("h4",null,"Custom Covers Help",-1)])),_:1}),r(T,null,{default:s(()=>t[2]||(t[2]=[o("p",null,"Custom covers may be added to the browser in two locations:",-1),o("h4",null,"Folders",-1),o("p",null,[d(" A library folder with a file named "),o("code",null,".codex-cover.jpg"),d(" will show a custom cover for that folder in Folder view. The addition and removal of these covers by watching filesystem events and polling is handled by the library that folder belongs to. ")],-1),o("h4",null,"Custom Covers Dir",-1),o("p",null,[d(" The Codex config directory has a special folder named "),o("code",null,"custom-covers"),d(" under which are subdirectories for each of the browser groups that may adopt custom covers. Images in these subdirectories that match the name of the browser group will be used as custom covers. For instance: "),o("code",null,".../custom-covers/publishers/American Comics Group.webp"),d(' would be used as the cover for the publisher "American Comics Group". '),o("code",null,".../custom-covers/series/arrow.png"),d(' would be used as the cover for every series named "Arrow", for '),o("em",null,"every"),d(" publisher. Similar to a comic library, the "),o("code",null,"custom-covers"),d(" directory may be watched and polled for changes. By default it is neither watched nor polled and must be enabled by the admin. ")],-1),o("h4",null,"Image Formats & Size",-1),o("p",null,[d(" Custom covers are detected only for files with the extensions: "),o("code",null,".bmp, .gif, .jpeg, .jpg, .png, .webp"),d(". ")],-1),o("p",null," Browser covers are transformed from their sources to 165px x 254px thumbnails. Custom covers will transform most aesthetically the closer to that ratio they are. ",-1),o("h4",null,"Priority",-1),o("p",null," Custom covers supersede covers set by the user's individual browser settings. ",-1)])),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Ve=C(xe,[["render",De],["__scopeId","data-v-589557a2"]]),Ee={name:"AdminFailedImportsPanel",components:{DateTimeColumn:W},data(){return{mdiBookAlert:le,mdiOpenInNew:$}},computed:{...y(b,{failedImports:e=>e.failedImports,showFailedImports:e=>e.failedImports&&e.failedImports.length>0}),...se(b,["unseenFailedImports"])}},Le={key:0},Oe={class:"dateCol"},Ue={href:"https://github.com/ajslater/codex/issues/",target:"_blank"};function ze(e,t,n,a,l,u){const m=p("DateTimeColumn");return e.showFailedImports?(c(),g("div",Le,[r(P,null,{default:s(()=>[r(x,{id:"failedImportsPanel",onClick:t[0]||(t[0]=f=>e.unseenFailedImports=!1)},{default:s(()=>[r(A,null,{default:s(()=>[o("h4",null,"Failed Imports: "+_(e.failedImports.length),1),e.unseenFailedImports?(c(),w(O,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(_(l.mdiBookAlert),1)]),_:1})):I("",!0)]),_:1}),r(T,null,{default:s(()=>[r(he,{class:"highlight-table"},{default:s(()=>[t[1]||(t[1]=o("thead",null,[o("tr",null,[o("th",null,"Path"),o("th",null,"Created")])],-1)),o("tbody",null,[(c(!0),g(H,null,ne(e.failedImports,f=>(c(),g("tr",{key:`fi:${f.path}`},[o("td",null,_(f.path),1),o("td",Oe,[r(m,{dttm:f.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),r(P,null,{default:s(()=>[r(x,{id:"failedImportsHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[2]||(t[2]=[o("h4",null,"Failed Imports Help",-1)])),_:1}),r(T,null,{default:s(()=>[t[8]||(t[8]=o("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),t[9]||(t[9]=o("h4",null,"Fixing comics",-1)),t[10]||(t[10]=o("p",null,[d(" Try using the zip fixer to fix comics: "),o("code",{class:"cli"},[d(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),o("br"),d(" zip -F problem-comic.cbz --out fixed.zip"),o("br"),d(" mv fixed.zip problem-comic.cbz ")]),d(" You may also try "),o("code",null,"zip -FF"),d(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),t[11]||(t[11]=o("h4",null,"Reporting Issues",-1)),o("p",null,[t[4]||(t[4]=d(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an ")),o("a",Ue,[t[3]||(t[3]=d("Issue Report")),r(O,{size:"small"},{default:s(()=>[d(_(l.mdiOpenInNew),1)]),_:1})]),t[5]||(t[5]=d(" and include the stack trace from the logs at ")),t[6]||(t[6]=o("code",null,"config/logs/codex.log",-1)),t[7]||(t[7]=d(" if you can. "))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):I("",!0)}const Re=C(Ee,[["render",ze],["__scopeId","data-v-a5ce4ee5"]]),Se={name:"AdminLibrariesTab",components:{AdminFailedImportsPanel:Re,AdminLibraryTable:K,AdminCreateUpdateDialog:j,AdminCustomCoversPanel:Ve},data(){return{AdminLibraryCreateUpdateInputs:B(N)}},computed:{...y(b,{libraryItems(e){const t=[];if(!e.libraries)return t;for(const n of e.libraries)if(!n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["loadTables"])}},He={class:"tabHeader"};function $e(e,t,n,a,l,u){const m=p("AdminCreateUpdateDialog"),f=p("AdminLibraryTable"),v=p("AdminFailedImportsPanel"),h=p("AdminCustomCoversPanel");return c(),g("div",null,[o("header",He,[r(m,{table:"Library",inputs:l.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),r(f,{items:e.libraryItems,"sort-by":[{key:"path",order:"asc"}]},null,8,["items"]),r(U,null,{default:s(()=>[r(v,{id:"failedImports"})]),_:1}),r(U,null,{default:s(()=>[r(h,{id:"customCovers"})]),_:1})])}const rt=C(Se,[["render",$e],["__scopeId","data-v-7582b1ea"]]);export{rt as default};
@@ -0,0 +1 @@
1
+ import{d as F,u as Q}from"./main-BPIPjzsc.js";import{R as y,z as b,A as D,S as k,_ as C,V as c,aA as g,Q as r,W as s,aS as X,am as V,bi as J,T as w,U as p,aC as _,aE as I,al as H,cE as Z,cF as ee,cG as te,aI as $,by as B,aX as oe,aK as o,ag as re,af as d,cH as le,bm as se,aL as O,aB as ne,bL as U}from"./admin-drawer-panel-BaXFOcru.js";import{A as ae,a as ie,b as de,c as j,R as me}from"./relation-chips-CUSatZET.js";import{V as ue}from"./VCombobox-Bjp6lffE.js";import{V as E}from"./VCheckbox-Cko1sQK-.js";import{V as pe}from"./VTextField-Blqy56_L.js";import{D as W}from"./datetime-column-BxC1Li9e.js";import{C as ce}from"./confirm-dialog-D3_s2DQy.js";import{V as z}from"./VCheckboxBtn-CO3-aqQL.js";import{a as A,b as T,c as P,V as x}from"./VExpansionPanels-Ci2-j8XX.js";import{V as he}from"./VTable-DXH_yQ0o.js";import"./VDialog-BkpVGB70.js";import"./VSelect-DtvZsYZz.js";import"./VSelectionControl-D6kmykQW.js";import"./VSlideGroup-UGZWxpF5.js";import"./filter-Bzk7x841.js";const fe={name:"AdminServerFolderPicker",emits:["change","menu"],data(){return{path:"",originalPath:"",showHidden:!1,menuOpen:!1}},computed:{...y(b,{folders:e=>e.folderPicker.folders,rootFolder:e=>e.folderPicker.rootFolder}),...y(D,{formErrors:e=>e.form.errors}),appendOuterIcon(){return this.showHidden?this.mdiFolderHidden:this.mdiFolderOutline},showHiddenTooltipPrefix(){return this.showHidden?"Hide":"Show"}},watch:{menuOpen(e){e&&this.$emit("menu",e)}},created(){this.loadFolders().then(()=>(this.path=this.rootFolder,this.originalPath=this.rootFolder,!0)).catch(console.warn)},methods:{...k(b,["clearFolders","loadFolders"]),...k(D,["clearErrors"]),change(e){let t;e?e.startsWith("/")||e.startsWith("\\")?t=e:t=[this.rootFolder,e].join("/"):t=this.rootFolder;const n=this.menuOpen;this.clearErrors(),this.loadFolders(t,this.showHidden).then(()=>{this.menuOpen=n;let a="";return this.formErrors.length===0&&(this.path=a=this.rootFolder),this.$emit("change",a)}).catch(console.warn)},onBlur(){this.menuOpen=!1,this.change(this.path)},onClear(){this.clearFolders(this.orignalPath).then(()=>this.change(this.orginalPath)).catch(console.error)},onKeyDownEnter(){this.change(this.path)},onItemClick(e){this.change(e)}}},be={id:"folderPicker"};function ye(e,t,n,a,l,u){return c(),g("div",be,[r(ue,V({modelValue:l.path,"onUpdate:modelValue":t[0]||(t[0]=m=>l.path=m),menu:l.menuOpen,"onUpdate:menu":t[1]||(t[1]=m=>l.menuOpen=m)},e.$attrs,{"aria-label":"Library folder",clearable:"","error-messages":e.formErrors,"full-width":"","hide-details":"auto",items:e.folders,"menu-props":{maxHeight:"370px"},"validate-on":"blur",variant:"filled",onBlur:u.onBlur,"onClick:clear":u.onClear,onKeydown:J(u.onKeyDownEnter,["enter"])}),{item:s(({item:m,props:f})=>[r(X,V(f,{title:m.title,value:m.value,onClick:v=>u.onItemClick(m.value)}),null,16,["title","value","onClick"])]),_:1},16,["modelValue","menu","error-messages","items","onBlur","onClick:clear","onKeydown"]),r(E,{modelValue:l.showHidden,"onUpdate:modelValue":t[2]||(t[2]=m=>l.showHidden=m),density:"compact",class:"showHidden","hide-details":"auto",label:"Show Hidden Folders"},null,8,["modelValue"])])}const ve=C(fe,[["render",ye],["__scopeId","data-v-8f7dd090"]]),R="DDD HH:mm:SS",ge=/^(?:[0-3]?\d?\d\s)?(?:[01]?\d|2[0-3])(?::[0-5]\d){2}$/,we={name:"TimeTextField",data(){return{FORMAT:R,timeRules:[e=>ge.test(e)||`Invalid time format ${R}`]}}};function Ce(e,t,n,a,l,u){return c(),w(pe,V({ref:"timeField",density:"compact",filled:"",hint:l.FORMAT,round:"",rules:l.timeRules},e.$attrs),null,16,["hint","rules"])}const _e=C(we,[["render",Ce]]),G=["events","poll","pollEvery","groups"];Object.freeze(G);const L={path:"",events:!0,poll:!0,pollEvery:"01:00:00",groups:[]};Object.freeze(L);const S=(e,t)=>(e=e.replaceAll("\\","/"),t=t.replaceAll("\\","/"),e.endsWith("/")||(e+="/"),t.endsWith("/")||(t+="/"),t.startsWith(e)),Fe={name:"AdminLibraryCreateUpdateInputs",components:{AdminRelationPicker:ae,AdminServerFolderPicker:ve,TimeTextField:_e},props:{oldRow:{type:[Object,Boolean],default:!1}},emits:["change"],data(){return{rules:{path:[e=>!!e||"Path is required",e=>{if(!e)return!1;for(const t of this.paths){if(S(t,e))return"Path is a child of an existing library";if(S(e,t))return"Path is a parent of an existing library"}return!0}]},row:F(this.oldRow||L)}},computed:{...y(b,{groups:e=>e.groups,libraries:e=>e.libraries}),paths(){return this.nameSet(this.libraries,"path",this.oldRow,!1)}},watch:{row:{handler(e){this.$emit("change",e)},deep:!0},oldRow:{handler(e){this.row=F(e)},deep:!0}},methods:{...k(b,["nameSet"])},UPDATE_KEYS:G,EMPTY_ROW:L},ke={key:1};function Ie(e,t,n,a,l,u){const m=p("AdminServerFolderPicker"),f=p("TimeTextField"),v=p("AdminRelationPicker");return c(),g(H,null,[n.oldRow?(c(),g("div",ke,_(n.oldRow.path),1)):(c(),w(m,{key:0,rules:l.rules.path,autofocus:"",label:"Library Folder",onChange:t[0]||(t[0]=h=>l.row.path=h)},null,8,["rules"])),r(E,{modelValue:l.row.events,"onUpdate:modelValue":t[1]||(t[1]=h=>l.row.events=h),"hide-details":"auto",hint:"Update Codex instantly when the filesystem changes",label:"Watch Filesystem Events","persistent-hint":!0},null,8,["modelValue"]),r(E,{modelValue:l.row.poll,"onUpdate:modelValue":t[2]||(t[2]=h=>l.row.poll=h),label:"Poll Filesystem Periodically","hide-details":"auto",hint:"Periodically poll the library for changes","persistent-hint":!0},null,8,["modelValue"]),r(f,{modelValue:l.row.pollEvery,"onUpdate:modelValue":t[3]||(t[3]=h=>l.row.pollEvery=h),label:"Poll Every",disabled:!l.row.poll},null,8,["modelValue","disabled"]),l.row.coversOnly?I("",!0):(c(),w(v,{key:2,modelValue:l.row.groups,"onUpdate:modelValue":t[4]||(t[4]=h=>l.row.groups=h),label:"Groups",objs:e.groups,"group-type":"","title-key":"name"},null,8,["modelValue","objs"]))],64)}const N=C(Fe,[["render",Ie]]),Ae={name:"AdminLibrariesTab",components:{AdminTable:ie,AdminDeleteRowDialog:de,AdminCreateUpdateDialog:j,RelationChips:me,ConfirmDialog:ce,DateTimeColumn:W},props:{coversDir:{type:Boolean,default:!1}},data(){return{lastUpdate:{pk:0,field:void 0},mdiCircleOffOutline:Z,mdiDatabaseClockOutline:ee,mdiDatabaseSyncOutline:te,mdiOpenInNew:$,AdminLibraryCreateUpdateInputs:B(N)}},computed:{...y(b,{groups:e=>e.groups,items(e){const t=[];for(const n of e.libraries){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t},headers(){const e=[{title:"Path",key:"path",align:"start"},{title:"Watch File Events",key:"events"},{title:"Poll Files Periodically",key:"poll"},{title:"Poll Every",key:"pollEvery"},{title:"Last Poll",key:"lastPoll"}];return this.coversDir||e.push({title:"Groups",key:"groups"}),e.push({title:"Actions",key:"actions",sortable:!1}),e}}),...y(D,{formErrors:e=>{var t;return(t=e.form)==null?void 0:t.errors}}),...y(Q,{twentyFourHourTime:e=>e.settings.twentyFourHourTime}),iconSize(){const e=this.$vuetify.display;return e.xlAndUp?"x-large":e.lgAndUp?"large":e.mdAndUp?"default":"small"}},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["updateRow","clearErrors","librarianTask","loadTables"]),formatDateTime:e=>e?oe(e,(void 0).twentyFourHourTime):"",changeCol(e,t,n){this.lastUpdate.pk=e,this.lastUpdate.field=t;const a={[t]:n};this.updateRow("Library",e,a)},getFormErrors(e,t){if(e===this.lastUpdate.pk&&t===this.lastUpdate.field)return this.formErrors},libraryLabel(e,t=!0){let n="";return e.coversOnly?(t&&(n+="Custom Group "),n+="Cover Dir"):n+="Library",n},poll(e){const t=this.libraryLabel(e);this.librarianTask("poll",`Poll ${t} ${e.pk}`,e.pk)},forcePoll(e){const t=this.libraryLabel(e);this.librarianTask("poll_force",`Force Poll ${t} ${e.pk}`,e.pk)},pollConfirmText(e){return`Poll ${this.libraryLabel(e,!1)}`},updateLabel(e){return e.coversOnly?"Cover Dir":""}}},Te={class:"actionButtonCell"};function Pe(e,t,n,a,l,u){const m=p("DateTimeColumn"),f=p("RelationChips"),v=p("ConfirmDialog"),h=p("AdminCreateUpdateDialog"),M=p("AdminDeleteRowDialog"),Y=p("AdminTable");return c(),w(Y,{headers:e.headers},{"no-data":s(()=>t[0]||(t[0]=[o("td",{class:"adminNoData",colspan:"100%"}," Add a Library to start using Codex ",-1)])),"item.events":s(({item:i})=>[r(z,{"model-value":i.events,disabled:""},null,8,["model-value"])]),"item.poll":s(({item:i})=>[r(z,{"model-value":i.poll,disabled:""},null,8,["model-value"])]),"item.pollEvery":s(({item:i})=>[o("span",{class:re({disabled:!i.poll})},_(i.pollEvery),3)]),"item.lastPoll":s(({item:i})=>[r(m,{dttm:i.lastPoll},null,8,["dttm"])]),"item.groups":s(({item:i})=>[r(f,{pks:i.groups,objs:e.groups,"group-type":"","title-key":"name"},null,8,["pks","objs"])]),"item.actions":s(({item:i})=>[o("span",Te,[r(v,{icon:l.mdiDatabaseClockOutline,"title-text":`Poll for updated ${i.label}s`,"object-name":i.path,"confirm-text":u.pollConfirmText(i),size:u.iconSize,density:"compact",onConfirm:q=>u.poll(i)},null,8,["icon","title-text","object-name","confirm-text","size","onConfirm"]),r(v,{icon:l.mdiDatabaseSyncOutline,"title-text":`Force update every ${i.label}`,"object-name":i.path,"confirm-text":"Force Update",size:u.iconSize,density:"compact",onConfirm:q=>u.forcePoll(i)},null,8,["icon","title-text","object-name","size","onConfirm"]),r(h,{table:"Library","old-row":i,inputs:l.AdminLibraryCreateUpdateInputs,label:u.updateLabel(i),"max-width":"22em",size:u.iconSize,density:"compact"},null,8,["old-row","inputs","label","size"]),i.coversOnly?I("",!0):(c(),w(M,{key:0,table:"Library",pk:i.pk,name:i.path,size:u.iconSize,density:"compact"},null,8,["pk","name","size"]))])]),_:2},1032,["headers"])}const K=C(Ae,[["render",Pe],["__scopeId","data-v-dc8b0e11"]]),xe={name:"AdminCustomCoversPanel",components:{AdminLibraryTable:K},computed:{...y(b,{coverDirItems(e){const t=[];for(const n of e.libraries)if(n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})}};function De(e,t,n,a,l,u){const m=p("AdminLibraryTable");return c(),w(P,null,{default:s(()=>[r(x,null,{default:s(()=>[r(A,null,{default:s(()=>t[0]||(t[0]=[o("h4",{id:"coverDirHeader"},"Custom Covers",-1)])),_:1}),r(T,null,{default:s(()=>[r(m,{items:e.coverDirItems,"disable-sort":"","covers-dir":!0},null,8,["items"]),r(P,null,{default:s(()=>[r(x,{id:"customCoversHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[1]||(t[1]=[o("h4",null,"Custom Covers Help",-1)])),_:1}),r(T,null,{default:s(()=>t[2]||(t[2]=[o("p",null,"Custom covers may be added to the browser in two locations:",-1),o("h4",null,"Folders",-1),o("p",null,[d(" A library folder with a file named "),o("code",null,".codex-cover.jpg"),d(" will show a custom cover for that folder in Folder view. The addition and removal of these covers by watching filesystem events and polling is handled by the library that folder belongs to. ")],-1),o("h4",null,"Custom Covers Dir",-1),o("p",null,[d(" The Codex config directory has a special folder named "),o("code",null,"custom-covers"),d(" under which are subdirectories for each of the browser groups that may adopt custom covers. Images in these subdirectories that match the name of the browser group will be used as custom covers. For instance: "),o("code",null,".../custom-covers/publishers/American Comics Group.webp"),d(' would be used as the cover for the publisher "American Comics Group". '),o("code",null,".../custom-covers/series/arrow.png"),d(' would be used as the cover for every series named "Arrow", for '),o("em",null,"every"),d(" publisher. Similar to a comic library, the "),o("code",null,"custom-covers"),d(" directory may be watched and polled for changes. By default it is neither watched nor polled and must be enabled by the admin. ")],-1),o("h4",null,"Image Formats & Size",-1),o("p",null,[d(" Custom covers are detected only for files with the extensions: "),o("code",null,".bmp, .gif, .jpeg, .jpg, .png, .webp"),d(". ")],-1),o("p",null," Browser covers are transformed from their sources to 165px x 254px thumbnails. Custom covers will transform most aesthetically the closer to that ratio they are. ",-1),o("h4",null,"Priority",-1),o("p",null," Custom covers supersede covers set by the user's individual browser settings. ",-1)])),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const Ve=C(xe,[["render",De],["__scopeId","data-v-589557a2"]]),Ee={name:"AdminFailedImportsPanel",components:{DateTimeColumn:W},data(){return{mdiBookAlert:le,mdiOpenInNew:$}},computed:{...y(b,{failedImports:e=>e.failedImports,showFailedImports:e=>e.failedImports&&e.failedImports.length>0}),...se(b,["unseenFailedImports"])}},Le={key:0},Oe={class:"dateCol"},Ue={href:"https://github.com/ajslater/codex/issues/",target:"_blank"};function ze(e,t,n,a,l,u){const m=p("DateTimeColumn");return e.showFailedImports?(c(),g("div",Le,[r(P,null,{default:s(()=>[r(x,{id:"failedImportsPanel",onClick:t[0]||(t[0]=f=>e.unseenFailedImports=!1)},{default:s(()=>[r(A,null,{default:s(()=>[o("h4",null,"Failed Imports: "+_(e.failedImports.length),1),e.unseenFailedImports?(c(),w(O,{key:0,id:"failedImportsIcon",title:"New Failed Imports"},{default:s(()=>[d(_(l.mdiBookAlert),1)]),_:1})):I("",!0)]),_:1}),r(T,null,{default:s(()=>[r(he,{class:"highlight-table"},{default:s(()=>[t[1]||(t[1]=o("thead",null,[o("tr",null,[o("th",null,"Path"),o("th",null,"Created")])],-1)),o("tbody",null,[(c(!0),g(H,null,ne(e.failedImports,f=>(c(),g("tr",{key:`fi:${f.path}`},[o("td",null,_(f.path),1),o("td",Oe,[r(m,{dttm:f.createdAt},null,8,["dttm"])])]))),128))])]),_:1}),r(P,null,{default:s(()=>[r(x,{id:"failedImportsHelp"},{default:s(()=>[r(A,null,{default:s(()=>t[2]||(t[2]=[o("h4",null,"Failed Imports Help",-1)])),_:1}),r(T,null,{default:s(()=>[t[8]||(t[8]=o("p",null," These are Comic archives that have failed to import. This list is updated every time the library updates. You should probably review these files and fix or remove them. ",-1)),t[9]||(t[9]=o("h4",null,"Fixing comics",-1)),t[10]||(t[10]=o("p",null,[d(" Try using the zip fixer to fix comics: "),o("code",{class:"cli"},[d(" cp problem-comic.cbz /somewhere/safe/problem-comic.cbz.backup"),o("br"),d(" zip -F problem-comic.cbz --out fixed.zip"),o("br"),d(" mv fixed.zip problem-comic.cbz ")]),d(" You may also try "),o("code",null,"zip -FF"),d(" to fix comics which uses a different (not necissarily better) algorithm. If you fix some imports, and Codex does not immediately detect the change, poll the library which contains the fixed comics. ")],-1)),t[11]||(t[11]=o("h4",null,"Reporting Issues",-1)),o("p",null,[t[4]||(t[4]=d(" If the comic looks good to you, but still shows up as a failed import, it might be Codex's fault for not importing it correctly. Please file an ")),o("a",Ue,[t[3]||(t[3]=d("Issue Report")),r(O,{size:"small"},{default:s(()=>[d(_(l.mdiOpenInNew),1)]),_:1})]),t[5]||(t[5]=d(" and include the stack trace from the logs at ")),t[6]||(t[6]=o("code",null,"config/logs/codex.log",-1)),t[7]||(t[7]=d(" if you can. "))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])):I("",!0)}const Re=C(Ee,[["render",ze],["__scopeId","data-v-a5ce4ee5"]]),Se={name:"AdminLibrariesTab",components:{AdminFailedImportsPanel:Re,AdminLibraryTable:K,AdminCreateUpdateDialog:j,AdminCustomCoversPanel:Ve},data(){return{AdminLibraryCreateUpdateInputs:B(N)}},computed:{...y(b,{libraryItems(e){const t=[];if(!e.libraries)return t;for(const n of e.libraries)if(!n.coversOnly){const a=F(n);a.label=a.coversOnly?"custom group cover":"comic",t.push(a)}return t}})},mounted(){this.loadTables(["Group","Library","FailedImport"])},methods:{...k(b,["loadTables"])}},He={class:"tabHeader"};function $e(e,t,n,a,l,u){const m=p("AdminCreateUpdateDialog"),f=p("AdminLibraryTable"),v=p("AdminFailedImportsPanel"),h=p("AdminCustomCoversPanel");return c(),g("div",null,[o("header",He,[r(m,{table:"Library",inputs:l.AdminLibraryCreateUpdateInputs},null,8,["inputs"])]),r(f,{items:e.libraryItems,"sort-by":[{key:"path",order:"asc"}]},null,8,["items"]),r(U,null,{default:s(()=>[r(v,{id:"failedImports"})]),_:1}),r(U,null,{default:s(()=>[r(h,{id:"customCovers"})]),_:1})])}const rt=C(Se,[["render",$e],["__scopeId","data-v-7582b1ea"]]);export{rt as default};