Commit Graph

9275 Commits

Author SHA1 Message Date
Michael Manganiello
004c0b634e fix: Make some DB columns non-nullable
This change makes some database columns non-nullable, and includes the
migration to seamlessly upgrade the schema.

It includes:
* User and Platform names
* Every boolean column
2024-07-07 11:07:27 -03:00
Georges-Antoine Assi
99a36cadf2 Merge pull request #983 from adamantike/fix/disable-compression-on-rom-download
fix: Disable zip compression on ROM download
2024-07-06 23:49:38 -04:00
Michael Manganiello
936476c9a5 fix: Disable zip compression on ROM download
Zip compression during multi-file ROM download is not needed. Commonly,
ROMs are already compressed, and trying to compress them again on the
fly does not reduce the generated file's size, while spending CPU power
and making the download slower because of the compression process being
the bottleneck.

By setting `level=0`, compression gets disabled, increasing download
speed, and reducing CPU usage. CPU still gets a usage peak, because of
Zip requiring a CRC32 calculation over each file's content.
2024-07-06 22:27:34 -03:00
Zurdi
e3e6815bcd Merge pull request #982 from adamantike/misc/fix-FromAsCasing-docker-warning
misc: Fix FromAsCasing warning during Docker build
2024-07-07 02:18:38 +02:00
Michael Manganiello
7611e57811 misc: Fix FromAsCasing warning during Docker build
Fix recently introduced `FromAsCasing` [1] Docker build check.

[1] https://docs.docker.com/reference/build-checks/from-as-casing/
2024-07-06 20:37:41 -03:00
Zurdi
7c39d211fb fixed dockerfile for arm64 3.3.0-beta.3 2024-07-06 23:59:52 +02:00
Zurdi
0a1e077b1e Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-07-06 22:09:40 +02:00
Zurdi
a5f9ef666a Merge pull request #977 from rommapp/feature/favs-collection
Add favourites collection feature
2024-07-06 22:04:09 +02:00
Zurdi
e7bc3cd9e8 Merge remote-tracking branch 'origin/master' into feature/favs-collection 2024-07-06 19:17:27 +02:00
Zurdi
ceb7147afb Merge pull request #975 from rommapp/feature/user-own-edit
Allow users to edit own profile
2024-07-06 19:11:53 +02:00
Zurdi
14e2377f3a fixes from PR review 2024-07-06 18:55:45 +02:00
Zurdi
4435093329 Update backend/endpoints/user.py
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com>
2024-07-06 18:53:29 +02:00
Zurdi
e9c33043e5 Merge branch 'master' into feature/user-own-edit 2024-07-06 18:41:55 +02:00
Zurdi
6ba4946f1d Merge pull request #976 from rommapp/feature/setup-wizard
Setup wizard added for new installations
2024-07-06 18:41:41 +02:00
Zurdi
ca7d37a3b0 fixed unit tests 2024-07-06 17:40:13 +02:00
Zurdi
b1f5ae50e5 fixes from PR review 2024-07-06 17:25:08 +02:00
dependabot[bot]
1756dca869 Merge pull request #980 from rommapp/dependabot/npm_and_yarn/frontend/multi-1729a3ee87 2024-07-06 14:57:42 +00:00
dependabot[bot]
4eec344be7 Bump ws and engine.io-client in /frontend
Bumps [ws](https://github.com/websockets/ws) and [engine.io-client](https://github.com/socketio/engine.io-client). These dependencies needed to be updated together.

Updates `ws` from 8.11.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.11.0...8.17.1)

Updates `engine.io-client` from 6.5.3 to 6.5.4
- [Release notes](https://github.com/socketio/engine.io-client/releases)
- [Changelog](https://github.com/socketio/engine.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io-client/compare/6.5.3...6.5.4)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: engine.io-client
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 14:51:30 +00:00
dependabot[bot]
e9c8876aa2 Merge pull request #979 from rommapp/dependabot/pip/certifi-2024.7.4 2024-07-06 14:50:56 +00:00
zurdi
46f8930e6f protect urls behind permissions 2024-07-06 12:00:21 +02:00
dependabot[bot]
ed72812058 Bump certifi from 2024.2.2 to 2024.7.4
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 01:46:07 +00:00
Zurdi
c80f3f8807 Merge remote-tracking branch 'origin/master' into feature/user-own-edit 2024-07-05 21:15:09 +02:00
Zurdi
c7af3f2aca Merge remote-tracking branch 'origin/master' into feature/favs-collection 2024-07-05 21:14:27 +02:00
Zurdi
d8a9cb1e4b fixed filter roms both by platform and collection 2024-07-05 21:14:04 +02:00
Zurdi
2962441ec6 Update frontend/src/stores/users.ts
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com>
2024-07-05 21:14:03 +02:00
zurdi
533555ef9d fixed edit collection permission for non-admin user 2024-07-05 21:14:03 +02:00
zurdi
9ca60f28e6 fixed add to collection for non-admin users 2024-07-05 21:14:03 +02:00
Zurdi
65589393c8 Merge remote-tracking branch 'origin/master' into feature/setup-wizard 2024-07-05 21:13:12 +02:00
Zurdi
7c54a58728 Merge pull request #964 from rommapp/feature/collections
Collections
2024-07-05 21:12:21 +02:00
Zurdi
ebaa5d6520 fixed filter roms both by platform and collection 2024-07-05 20:59:14 +02:00
Zurdi
3c658d0e65 Update frontend/src/stores/users.ts
Co-authored-by: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com>
2024-07-05 20:57:22 +02:00
Zurdi
2cf88abcdc added default cover for favourites collection 2024-07-05 19:45:06 +02:00
Zurdi
0d3b880a1f Merge branch 'feature/user-own-edit' into feature/favs-collection 2024-07-05 19:17:32 +02:00
Zurdi
99cd44e8d6 fixed user endpoint tests 2024-07-05 19:17:18 +02:00
Zurdi
eda1c94868 fixed user endpoint tests 2024-07-05 19:16:47 +02:00
Zurdi
a2b35cc61b make favourites collection reactive 2024-07-05 18:56:55 +02:00
Zurdi
dabd6bcf83 added add to favourites from admin menu 2024-07-05 18:45:36 +02:00
zurdi
0fcbe4db24 multiform favourite icon 2024-07-05 18:30:43 +02:00
zurdi
69f7efdcba added add/remove favourite switch 2024-07-05 15:08:49 +02:00
zurdi
b428abac96 Merge branch 'feature/user-own-edit' into feature/favs-collection 2024-07-05 13:02:55 +02:00
zurdi
c5b1402259 extracted fav btn as component 2024-07-05 11:08:17 +02:00
zurdi
df80915542 added fav icon overlay in game cover 2024-07-05 10:58:29 +02:00
zurdi
91dcec379a fixed edit collection permission for non-admin user 2024-07-05 09:42:07 +02:00
zurdi
7fafef085a fixed add to collection for non-admin users 2024-07-05 00:04:14 +02:00
zurdi
e9363b0335 Merge branch 'feature/setup-wizard' into feature/user-own-edit 2024-07-04 23:58:20 +02:00
zurdi
8a2a4d6099 fixes from trunk 2024-07-04 23:54:18 +02:00
zurdi
864459076f Merge branch 'feature/setup-wizard' into feature/user-own-edit 2024-07-04 23:47:50 +02:00
zurdi
3d27a05c22 fixes from trunk 2024-07-04 23:47:14 +02:00
zurdi
bab71b00c2 fixes from trunk 2024-07-04 23:45:44 +02:00
Zurdi
cd70849a9e Merge branch 'feature/setup-wizard' into feature/user-own-edit 2024-07-04 23:17:04 +02:00