-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add trunk.io checks #868
Add trunk.io checks #868
Conversation
|
||
if not metadata_sources: | ||
metadata_sources = ["igdb", "moby"] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
Rom.file_name.ilike(f"%{search_term}%"), | ||
Rom.name.ilike(f"%{search_term}%"), | ||
Rom.file_name.ilike(f"%{search_term}%"), # type: ignore[attr-defined] | ||
Rom.name.ilike(f"%{search_term}%"), # type: ignore[attr-defined] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mypy doesn't play nice with sqlalchemy
] | ||
for name in excluded_names: | ||
if file_name == name or fnmatch.fnmatch(file_name, name): | ||
excluded_files.append(file_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
name=s["name"], | ||
cover_url=pydash.get(s, "cover.url", ""), | ||
type="similar", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
) -> Rom: | ||
if not metadata_sources: | ||
metadata_sources = ["igdb", "moby"] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
and_(Rom.igdb_id == self.igdb_id, Rom.igdb_id != None), # noqa | ||
and_(Rom.moby_id == self.moby_id, Rom.moby_id != None), # noqa | ||
and_(Rom.igdb_id == self.igdb_id, Rom.igdb_id is not None), | ||
and_(Rom.moby_id == self.moby_id, Rom.moby_id is not None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
<template v-slot:activator="{ props }"> | ||
<div v-bind="props"> | ||
<template #activator="{ props: tooltipProps }"> | ||
<div v-bind="tooltipProps"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
<v-btn | ||
:disabled="!auth.scopes.includes('roms.write')" | ||
v-bind="props" | ||
v-bind="menuProps" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
@@ -25,7 +41,7 @@ const galleryFilter = storeGalleryFilter(); | |||
<v-divider class="mx-2 my-4" /> | |||
<v-row no-gutters> | |||
<v-col class="text-caption"> | |||
<p v-html="rom.summary"></p> | |||
<p v-text="rom.summary" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
@@ -8,14 +8,15 @@ import type { Emitter } from "mitt"; | |||
import { inject, ref } from "vue"; | |||
|
|||
const props = defineProps<{ rom: DetailedRom }>(); | |||
const romRef = ref<DetailedRom>(props.rom); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
variant="outlined" | ||
class="text-romm-accent-1" | ||
label | ||
@click.stop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
@@ -10,14 +10,15 @@ import storeRoms, { type DetailedRom } from "@/stores/roms"; | |||
import type { StateSchema } from "@/__generated__"; | |||
|
|||
const props = defineProps<{ rom: DetailedRom }>(); | |||
const romRef = ref<DetailedRom>(props.rom); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
url_cover: string | undefined; | ||
name: string; | ||
rom: SearchRomSchema; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
> | ||
<v-hover v-slot="{ isHovering, props }" open-delay="800"> | ||
<v-hover | ||
v-slot="{ isHovering: isChildHovering, props: hoverProps }" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
if (file) { | ||
reader.readAsDataURL(file); | ||
if (input.files[0]) { | ||
reader.readAsDataURL(input.files[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
@@ -25,18 +25,18 @@ function selectRom(event: MouseEvent) { | |||
</script> | |||
|
|||
<template> | |||
<v-hover v-slot="{ isHovering, props }"> | |||
<v-hover v-slot="{ isHovering, props: hoverProps }"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
@@ -14,6 +14,7 @@ const props = defineProps<{ | |||
bios: FirmwareSchema | null; | |||
core: string | null; | |||
}>(); | |||
const romRef = ref<DetailedRom>(props.rom); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
changeOrigin: false, | ||
ws: true, | ||
}, | ||
"/openapi.json": { | ||
target: `http://localhost:${backendPort}`, | ||
target: `http://127.0.0.1:${backendPort}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#CHANGE
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [rommapp/romm](https://github.com/rommapp/romm) | minor | `3.2.0` -> `3.3.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>rommapp/romm (rommapp/romm)</summary> ### [`v3.3.0`](https://github.com/rommapp/romm/releases/tag/3.3.0) [Compare Source](https://github.com/rommapp/romm/compare/3.2.0...3.3.0) #### What's Changed - UI complete redesign by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#934 - Covers are now fetch in their 1080p version by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#934 - Now sibling roms can have different covers by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#934 - Screenshots are fetch in their big version by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#934 - Setup wizard added for new **RomM** installations by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#976 - Added collections by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#964 - Add favourites collection as special collection by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#977 - SteamGridDB integration. Roms and collections can be edited with a SteamGridDB cover by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#960 - Enhanced scan logs by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#965 - Select main sibling added for merged roms in gallery by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#963 - Allow users to edit their own profile by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#975 - Fixed firmware drawer permissions by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#956 - Added total filesize endpoint by [@​adamantike](https://github.com/adamantike) in [rommapp/romm#969 - Improved Docker image size by [@​adamantike](https://github.com/adamantike) in [rommapp/romm#947 - Install redis instead of building in Dockerfile by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#945 - Fix section links and improve grammar/spelling in README.md by [@​TylerVigario](https://github.com/TylerVigario) in [rommapp/romm#914 - Add trunk.io checks by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#868 - Add parallel-n64 to cores by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#923 - Use core icon when showing version by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#922 - Add interactive table of contents by [@​Nicmorris1820](https://github.com/Nicmorris1820) in [rommapp/romm#924 - Added linuxserver/mariadb as alternative by [@​need4swede](https://github.com/need4swede) in [rommapp/romm#926 - Added large carousel on screnshot click by [@​zurdi15](https://github.com/zurdi15) in [rommapp/romm#932 - Resources structure migrated from `resources/{platform_slug}/{rom_name}` to `resources/roms/{platform_id}/{rom_id}`. - Disabled zip compression on streaming multi-file download to increase speed by [@​adamantike](https://github.com/adamantike) in [rommapp/romm#983 - Prevent mass-purging of roms during scan if filesystem is not correctly mounted by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#987 - Fixed abort scan by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#1004 - Added support for any kind of image extension on custom covers by [@​gantoine](https://github.com/gantoine) in [rommapp/romm#1002 - Fixes and improvements everywhere #### New Contributors - [@​adamantike](https://github.com/adamantike) made their first contribution in [rommapp/romm#947 - [@​TylerVigario](https://github.com/TylerVigario) made their first contribution in [rommapp/romm#914 - [@​Nicmorris1820](https://github.com/Nicmorris1820) made their first contribution in [rommapp/romm#924 - [@​need4swede](https://github.com/need4swede) made their first contribution in [rommapp/romm#926 - [@​lepture](https://github.com/lepture) made their first contribution in [rommapp/romm#931 **Full Changelog**: rommapp/romm@3.2.0...3.3.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzQuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQzNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
No description provided.