Georges-Antoine Assi
3d96382780
Fix playing emulatorjs + better platform icon loading
2024-08-13 11:18:22 -04:00
Georges-Antoine Assi
dff554b53b
Merge pull request #1081 from rommapp/hotfix-hash-calc-scans
...
Hotfix scans when running HASH_SCAN
2024-08-12 12:12:11 -04:00
Georges-Antoine Assi
b3a50021b7
run quick before hash scan
2024-08-12 11:57:47 -04:00
Georges-Antoine Assi
e24a3b86bd
Hotfix scans when running HASH_SCAN
2024-08-12 11:37:49 -04:00
Georges-Antoine Assi
336cc42733
Merge pull request #1005 from rommapp/calc-file-hashes-roms
...
Calculate and store hashes for rom files
2024-08-12 09:40:43 -04:00
Georges-Antoine Assi
bc08e05a19
changes from self review
2024-08-11 23:09:58 -04:00
Georges-Antoine Assi
75b856bf94
only calc hashes in certian conditions
2024-08-11 22:54:35 -04:00
Georges-Antoine Assi
ce99ce4c62
update trunk + fix tests
2024-08-11 22:43:44 -04:00
Georges-Antoine Assi
1ea1b326d3
move hashes to rom model
2024-08-11 22:38:22 -04:00
Georges-Antoine Assi
a617b79f55
tweaks to details view
2024-08-11 21:16:34 -04:00
Georges-Antoine Assi
c3b754a2aa
fix file meta order
2024-08-11 20:05:04 -04:00
Georges-Antoine Assi
56037070fb
only calc hashes exlpicit
2024-08-11 19:36:52 -04:00
Georges-Antoine Assi
896d48108b
Merge branch 'master' into calc-file-hashes-roms
2024-08-11 19:08:25 -04:00
Georges-Antoine Assi
a5f0dfb992
Merge pull request #1049 from rommapp/ruffle-flash-emulator
...
Ruffle flash emulator
2024-08-11 19:08:13 -04:00
Georges-Antoine Assi
a4e162e2c1
Merge branch 'master' into calc-file-hashes-roms
2024-08-11 19:07:06 -04:00
Georges-Antoine Assi
7e086cec67
fixes from code review
2024-08-11 19:06:16 -04:00
Georges-Antoine Assi
9fb77f9a83
Merge pull request #1076 from rommapp/fixup-sibling-speed
...
Improve speed of fetching siblings for roms
2024-08-11 14:01:19 -04:00
Georges-Antoine Assi
46c2dbecc1
tweaks to sql migration
2024-08-10 23:42:12 -04:00
Georges-Antoine Assi
2af2ffe7d9
improve sql + add indexes
2024-08-10 10:14:13 -04:00
Georges-Antoine Assi
3e157eab1e
Merge branch 'master' into fixup-sibling-speed
2024-08-09 22:55:52 -04:00
Georges-Antoine Assi
bc38b40159
Merge branch 'master' into ruffle-flash-emulator
2024-08-09 18:54:36 -04:00
Georges-Antoine Assi
195b86b573
even more cleanup
2024-08-09 11:46:07 -04:00
Georges-Antoine Assi
90e0e688b7
Merge branch 'master' into calc-file-hashes-roms
2024-08-09 11:36:50 -04:00
Michael Manganiello
441e15c71f
Merge pull request #1077 from rommapp/fix/set-gunicorn-forwarded-allow-ips
...
fix: Set Gunicorn option forwarded-allow-ips
2024-08-09 11:41:00 -03:00
Michael Manganiello
687cffbfe4
Merge pull request #1078 from rommapp/fix/allow-tinfoil-feed-when-download-auth-disabled
...
fix: Allow access to Tinfoil feed when download auth is disabled
2024-08-09 11:40:38 -03:00
Michael Manganiello
b6aedfc902
fix: Allow access to Tinfoil feed when download auth is disabled
...
This matches the behavior of the Webrcade feed.
2024-08-09 09:54:59 -03:00
Zurdi
514513de44
Merge branch 'master' into fix/set-gunicorn-forwarded-allow-ips
2024-08-09 13:12:21 +02:00
Michael Manganiello
27ba5a1159
fix: Set Gunicorn option forwarded-allow-ips
...
Currently, the `request.url_for` and `URLPath.make_absolute_url` methods
always build URLs with "http" scheme, even when the original requested
URL is using "https".
The reason for this is that Gunicorn does not allow IPs other than
127.0.0.1 to set secure headers by default. As regular RomM
installations don't know which frontend IPs will try to set security
headers in advance, we can disable this validation, and fix URL
building.
A simple way to test this change is to access any of the `feed` endpoints,
which generate URLs using the mentioned methods. Accessing the endpoint
using "https" scheme must generate "https" URLs.
Reference:
* https://github.com/encode/starlette/issues/538#issuecomment-2054013679
* https://docs.gunicorn.org/en/stable/settings.html#forwarded-allow-ips
2024-08-09 01:20:17 -03:00
Georges-Antoine Assi
5f0577b900
more cleanup
2024-08-09 00:17:11 -04:00
Georges-Antoine Assi
1ae9cd0b5a
remove unneded code
2024-08-09 00:10:31 -04:00
Georges-Antoine Assi
3a1986f453
single lines for the virtual table
2024-08-08 23:27:31 -04:00
Georges-Antoine Assi
cd54d902a7
create database view for sibling roms
2024-08-08 22:25:50 -04:00
Zurdi
0171fbdf31
Merge pull request #1072 from rommapp/fix/setup-on-white-theme
...
fix: Readable setup text on white theme
2024-08-08 18:00:13 +02:00
Zurdi
d2d31b8a6d
Merge pull request #1073 from rommapp/fix/fab-overlay
...
fix: fab overlay fixed
2024-08-08 17:59:02 +02:00
Zurdi
9405723716
fixed new version overlay
2024-08-08 16:36:16 +02:00
zurdi
fc5115923d
fixed fab overlay
2024-08-08 13:54:26 +02:00
zurdi
0b766a617b
fixed white + shadow text
2024-08-08 12:17:53 +02:00
Georges-Antoine Assi
3df87d1f6b
Merge pull request #1065 from rommapp/romm-1063
...
[ROMM-1063] Add Amiga CD32 to emulatorjs game list
2024-08-07 23:54:37 -04:00
Georges-Antoine Assi
46b85ecd96
[ROMM-1063] Add Amiga CD32 to emulatorjs game list
2024-08-07 22:38:28 -04:00
Michael Manganiello
eccd220f73
Merge pull request #1064 from rommapp/misc/improve-feed-schemas
...
misc: Improve typing for feed schemas
2024-08-07 23:38:15 -03:00
Michael Manganiello
95a66a182e
misc: Improve typing for feed schemas
...
* Add typing for nested objects in Tinfoil and Webrcade feed schemas.
* Do not send Rom background and thumbnail, if not available.
* Correctly build URLs using `starlette` utils.
* Deprecate the `ROMM_HOST` setting, no longer needed.
* Fix FastAPI custom router to prefer routes without trailing slash.
* Fix Webrcade background URL pointing to gallery screenshot.
2024-08-07 22:56:16 -03:00
Georges-Antoine Assi
51ee99e29a
Merge pull request #1060 from rommapp/drop-auth-user-pass
...
Drop ROMM_AUTH_USERNAME and ROMM_AUTH_PASSWORD env variables
2024-08-07 14:46:02 -04:00
Georges-Antoine Assi
cbeac18fea
Drop ROMM_AUTH_USERNAME and ROMM_AUTH_PASSWORD env variables
2024-08-07 12:27:58 -04:00
Michael Manganiello
5e17efcb27
Merge pull request #1059 from rommapp/misc/backend-handle-trailing-slash
...
misc: Make backend handle URLs with trailing slash
2024-08-07 07:21:52 -03:00
Michael Manganiello
8abbae4c02
misc: Make backend handle URLs with trailing slash
...
According to multiple FastAPI discussions [1], FastAPI only includes a
built-in mechanism to redirect requests including a trailing slash, to
its variation without slash, using a `307` status code.
This can be an issue when certain clients do not send the same headers
on the redirected request.
This change adds a custom FastAPI `APIRouter`, that registers both route
path variations (with and without trailing slash), while only marking
the path without slash for being included in the OpenAPI schema.
[1] https://github.com/fastapi/fastapi/discussions/7298
2024-08-07 00:22:21 -03:00
Georges-Antoine Assi
76d679831e
Merge pull request #1057 from rommapp/fix/csrf-token
...
Fix CSRF token issues
2024-08-06 19:18:21 -04:00
Zurdi
ada7f5f837
Merge branch 'master' into fix/csrf-token
2024-08-05 20:16:52 +02:00
Michael Manganiello
cbab9f681b
Merge pull request #1058 from rommapp/fix/fastapi-redirections
...
fix: Backend URL redirection logic
2024-08-05 14:27:41 -03:00
Georges-Antoine Assi
d17cdd6875
hopefully actually fix csrf tokens
2024-08-05 13:13:25 -04:00
Georges-Antoine Assi
a53c0911d7
fix endpoint tests
2024-08-05 11:35:08 -04:00