Skip to content

Commit

Permalink
Merge pull request #241 from zurdi15/develop
Browse files Browse the repository at this point in the history
v1.8.2
  • Loading branch information
zurdi15 authored May 8, 2023
2 parents b06572b + 9e83613 commit ed81895
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 9 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# v1.8.2 (_09-05-2023_)

## Added
- Atari 2600 support added. Solves [#224](https://github.com/zurdi15/romm/issues/224)
- Atari 7800 support added. Solves [#226](https://github.com/zurdi15/romm/issues/226)
- Atari 5200 support added. Solves [#225](https://github.com/zurdi15/romm/issues/225)
- Sega 32X support added. Solves [#223](https://github.com/zurdi15/romm/issues/223)
- Nintendo Virtual Boy support added. Solves [#222](https://github.com/zurdi15/romm/issues/222)

## Fixed
- Fixed potentially malformed urls for covers and screenshots from IGDB. Solves [#216](https://github.com/zurdi15/romm/issues/216)
- Fixed potentially scan fail with some games with large names. Solves [#229](https://github.com/zurdi15/romm/issues/229)

<br>

# v1.8.1 (_27-04-2023_)

## Added
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ This will change over the time, adding games metadata for more platforms. Make s
| amiga | Amiga ||
| arcade | Arcade ||
| atari | atari ||
| atari2600 | Atari 2600 ||
| atari5200 | Atari 5200 ||
| atari7800 | Atari 7800 ||
| coleco | coleco ||
| c64 | Commodore C64/128/MAX ||
| cpc | cpc ||
Expand Down Expand Up @@ -181,6 +184,7 @@ This will change over the time, adding games metadata for more platforms. Make s
| psp | PlayStation Portable ||
| psvita | PlayStation Vita ||
| saturn | Sega Saturn ||
| sega32 | Sega 32X ||
| scummvm | scummvm ||
| segacd | Sega CD ||
| segasgone | segasgone ||
Expand All @@ -190,6 +194,7 @@ This will change over the time, adding games metadata for more platforms. Make s
| snes | Super Nintendo Entertainment System ||
| supervision | supervision ||
| switch | Nintendo Switch ||
| virtualboy | Virtual Boy ||
| wii | Wii ||
| win | PC (Microsoft Windows) ||
| wiiu | Wii U ||
Expand Down
30 changes: 30 additions & 0 deletions backend/src/alembic/versions/1.8.2_.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""update to 1.8.2
Revision ID: 1.8.2
Revises: 1.8.1
Create Date: 2023-05-09 00:00:19.143526
"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '1.8.2'
down_revision = '1.8.1'
branch_labels = None
depends_on = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("roms") as batch_op:
batch_op.alter_column('r_slug', type_=sa.String(length=400), existing_type=sa.String(length=100))
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("roms") as batch_op:
batch_op.alter_column('r_slug', type_=sa.String(length=100), existing_type=sa.String(length=400))
# ### end Alembic commands ###
2 changes: 1 addition & 1 deletion backend/src/models/rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Rom(BaseModel):
file_size_units = Column(String(length=10), default="")

r_name = Column(String(length=350), default="")
r_slug = Column(String(length=100), default="")
r_slug = Column(String(length=400), default="")

summary = Column(Text, default="")

Expand Down
Binary file added frontend/assets/platforms/atari2600.ico
Binary file not shown.
Binary file added frontend/assets/platforms/atari5200.ico
Binary file not shown.
Binary file added frontend/assets/platforms/atari7800.ico
Binary file not shown.
Binary file added frontend/assets/platforms/sega32.ico
Binary file not shown.
Binary file added frontend/assets/platforms/virtualboy.ico
Binary file not shown.
8 changes: 4 additions & 4 deletions frontend/src/components/GameGallery/ListItem/Header.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<thead>
<v-row no-gutter>
<v-row no-gutters>
<v-col>
<v-list-item>
<v-row class="text-subtitle-2 align-center">
Expand All @@ -17,9 +17,9 @@
</v-list-item>
</v-col>
<v-col cols="3" xs="3" sm="1" md="1" lg="1" class="d-flex justify-center align-center mr-4">
<v-btn size="x-small" variant="text"/>
<v-btn size="x-small" variant="text"/>
<v-btn size="x-small" variant="text"/>
<v-btn size="x-small" variant="text" disabled/>
<v-btn size="x-small" variant="text" disabled/>
<v-btn size="x-small" variant="text" disabled/>
</v-col>
</v-row>
</thead>
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/views/Details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ onMounted(() => {
</v-row>
</v-toolbar>

<v-card-text class="pl-2 pt-1 pr-2 scroll bg-secondary">
<v-row class="justify-center loader-searching" v-show="searching">
<v-card-text class="pa-1 scroll bg-secondary">
<v-row class="justify-center loader-searching" v-show="searching" no-gutters>
<v-progress-circular :width="2" :size="40" color="rommAccent1" indeterminate/>
</v-row>
<v-row class="justify-center no-results-searching" v-show="!searching && matchedRoms.length==0">
<v-row class="justify-center no-results-searching" v-show="!searching && matchedRoms.length==0" no-gutters>
<span>No results found</span>
</v-row>
<v-row class="pl-2 pr-2 pb-1 mt-0">
<v-row no-gutters>
<v-col class="pa-1" cols="4" xs="4" sm="3" md="3" lg="2" v-show="!searching" v-for="rom in matchedRoms" :key="rom.file_name">
<v-hover v-slot="{isHovering, props}">
<v-card @click="updateRom(updatedData=rom)" v-bind="props" :class="{'on-hover': isHovering}" :elevation="isHovering ? 20 : 3">
Expand Down

0 comments on commit ed81895

Please sign in to comment.