Age | Commit message (Collapse) | Author |
|
when i.e. clicking on links or just using the downloader at all, this
prevents some flickering and the widget never getting hidden in some
cases.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Puts them all inside the 'ResourceDownload' namespace, so that it's a
bit clearer from the outside that those belong to the same 'module'.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.
For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.
It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p
This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
|
|
|
|
|
|
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
|
|
For some reason this makes some of our CI test runs super slow, and
sometimes fail miserably.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
damn you visual studio for creating CRLF files everywhere...
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Closes https://github.com/PrismLauncher/PrismLauncher/issues/158
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
fixed by properly converting from a file path and converting to native seperators.
should have known naive handling of file path as a URL would come back to bite us cross platform.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
|
|
Signed-off-by: seth <getchoo@tuta.io>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
|
|
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/708
|
|
Signed-off-by: seth <getchoo@tuta.io>
|
|
gimp fail
Signed-off-by: seth <getchoo@tuta.io>
|
|
Signed-off-by: seth <getchoo@tuta.io>
|
|
Signed-off-by: seth <getchoo@tuta.io>
|
|
drawn by sympathytea (https://github.com/SympathyTea)
Signed-off-by: seth <getchoo@tuta.io>
|
|
Some mod pages use certain tags for centering purposes, but trips up
hoedown.
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
Signed-off-by: byquanton <32410361+byquanton@users.noreply.github.com>
|
|
|
|
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
closes https://github.com/PrismLauncher/PrismLauncher/issues/402
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
This makes the mod list look a bit less polluted in the common case of
mods having no provider whatsoever.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
This makes it easier to check if a mod has a provider or not, without
having to do a string comparison.
Signed-off-by: flow <flowlnlnln@gmail.com>
|