[Enhancement] Allow redownloading of files for existing media items (#239)

* Added ability to specify overwrite behaviour when downloading media

* Added helper for redownloading media items

* renamed media redownload worker to disambiguate it from similarly named methods

* Added new redownload option to source actions dropdown

* Refactored MediaQuery to use a __using__ macro

* docs
This commit is contained in:
Kieran
2024-05-13 14:25:39 -07:00
committed by GitHub
parent 5c86e7192e
commit a38ffbc55b
27 changed files with 247 additions and 71 deletions
@@ -1,9 +1,8 @@
defmodule Pinchflat.Pages.HistoryTableLive do
use PinchflatWeb, :live_view
import Ecto.Query, warn: false
use Pinchflat.Media.MediaQuery
alias Pinchflat.Repo
alias Pinchflat.Media.MediaQuery
alias Pinchflat.Utils.NumberUtils
alias PinchflatWeb.CustomComponents.TextComponents