Repository navigation
Explorar: verificar un canal sin importarlo (#106) - #111
Merged
Merged
Conversation
A status column in Explorar with a check button per row: it runs the catalog's verification (both identifier kinds, the catalog's known one first) and swaps in the cell with the outcome. The outcome is stored on the source entry (check_status, check_peers, checked_at; migration 0008) and carried over when the source is refreshed. An engine that cannot be reached is reported and nothing is stored. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #106. Encadenado sobre #110.
Explorar tiene una columna Estado con un botón Verificar por fila. Corre la misma verificación que el catálogo, sin agregar el canal, y muestra el resultado en la fila: estado, peers y cuándo.
POST /explore/entries/{id}/checkresponde con la celda, que se reemplaza sola (hx-target="closest td"), con «Verificando…» mientras corre. Las filas están dentro del formulario de agregar, así que el botón usahx-postconhx-params="none".sources.check_entry()usaverify()(Content ID e infohash, Verificar y reproducir enlaces que traen el infohash en lugar del Content ID #100), primero con la forma que conoce el catálogo para ese Content ID, si la hay.check_status,check_peersychecked_at(migración 0008, con CHECK del estado). Se conserva al actualizar la fuente (se cruza por Content ID).Pruebas
rufflimpio; 649 tests, cobertura 98,9 %./explore/entries/{id}/play(cancelado antes de abrir VLC).