Commit Graph

4807 Commits

Author SHA1 Message Date
Zurdi
dbf50a67cd Merge pull request #1409 from rommapp/fix/sort-platform-drawer
fix: Update platforms drawer to use display_name and sort results
2024-12-30 02:14:23 +01:00
Michael Manganiello
e136d62718 Merge pull request #1408 from rommapp/fix/remove-mysql-dialect-from-migrations
fix: Remove MySQL specific dialect from migrations
2024-12-29 21:08:58 -03:00
Michael Manganiello
3cce2844b9 fix: Remove MySQL specific dialect from migrations
Avoid using SQLAlchemy's specific MySQL dialect in migrations.

This change also fixes migration `0014` downgrade logic, which was
broken.
2024-12-29 20:30:36 -03:00
zurdi
41b0616af6 fix: Update filteredPlatforms to use display_name and sort results 2024-12-29 23:07:44 +00:00
Michael Manganiello
cd7c1a0543 Merge pull request #1407 from rommapp/fix/copy-dashboard-icons-to-docker-image
fix: Copy dashboard-icons to Docker image
2024-12-29 01:34:03 -03:00
Michael Manganiello
cfce52e7e5 fix: Copy dashboard-icons to Docker image 2024-12-29 01:25:17 -03:00
Georges-Antoine Assi
41fed35a7c Merge pull request #1404 from dataway/oidc-fix-auk
OIDC fix auk
3.7.0-alpha.2
2024-12-28 10:14:11 -05:00
Georges-Antoine Assi
4473b6e498 fix formatting and tests 2024-12-28 10:11:36 -05:00
Anthony Uk
d96f11d56f Fix preferred_username 2024-12-28 07:11:23 +01:00
Anthony Uk
920aee5095 Rework OIDC base_handler 2024-12-28 07:05:29 +01:00
Zurdi
35a208f0ae Merge pull request #1403 from rommapp/fix/infinite-redirection-loop
fix: infinite redirection loop on setup
2024-12-28 00:50:33 +01:00
zurdi
f8f639bda3 fix: fixed infinite redirection loop on setup 2024-12-27 20:16:52 +00:00
zurdi
ce45a0659c Merge remote-tracking branch 'origin/master' into fix/infinite-redirection-loop 2024-12-27 20:13:11 +00:00
Michael Manganiello
3139290708 Merge pull request #1401 from rommapp/feat/sentry-support
feat: Initial Sentry support
2024-12-27 17:06:19 -03:00
Michael Manganiello
7dc7eea34d feat: Initial Sentry support
This change initializes the Sentry SDK, which enables error tracking
when the `SENTRY_DSN` environment variable is set.

Drop-in alternatives to Sentry are also supported, like GlitchTip.
2024-12-27 17:03:45 -03:00
Zurdi
2deb968735 Merge pull request #1400 from rommapp/fix/user-protected-urls
fix: protected access to URLs
2024-12-27 17:40:48 +01:00
zurdi
ffda5fd591 removed unnecessary comment 2024-12-27 16:39:35 +00:00
zurdi
082c6e82f3 Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-12-27 16:19:16 +00:00
Zurdi
48c7911475 Merge pull request #1394 from rommapp/feature/404-view
feat: 404 view
2024-12-27 17:06:21 +01:00
Zurdi
324f5d74dc Merge pull request #1402 from rommapp/fix/remove-oidc-create-user-env-variable
refactor: Remove OIDC_CREATE_USER configuration and generate an uuid in a OIDC created user password
2024-12-27 16:58:54 +01:00
zurdi
f7a4699ce1 fix: Update snackbar messages to use username and improve visual feedback 2024-12-27 15:43:47 +00:00
zurdi
f6673dd707 fix: Use preferred_username for new user creation instead of email prefix 2024-12-27 15:43:37 +00:00
zurdi
68f0d77d60 fix: permission to edit platforms and collections 2024-12-27 14:57:25 +00:00
zurdi
ff03d8e125 refactor: Remove OIDC_CREATE_USER configuration and generate an uuid in a OIDC created user password 2024-12-27 14:49:23 +00:00
zurdi
dd5752aa10 fix: redirect to path after login 2024-12-27 14:38:16 +00:00
zurdi
57b0f08d34 Merge remote-tracking branch 'origin/master' into feature/404-view 2024-12-27 14:21:18 +00:00
zurdi
afbf8b7f49 Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-12-27 14:20:16 +00:00
zurdi
92df377b92 fix: improved route guard for all the possible scenarios 2024-12-27 14:17:49 +00:00
Michael Manganiello
d457ce077e Merge pull request #1396 from rommapp/fix/mysql-support
fix: MySQL migration and driver support
2024-12-27 11:05:55 -03:00
zurdi
3af51f3aa8 Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-12-27 13:33:38 +00:00
zurdi
df240ceb2d fix: fix platform error handling platform doesn't exists 2024-12-27 13:30:58 +00:00
zurdi
469b4794c8 Refactor RomM component and initialization logic; streamline data loading and improve router handling to protect direct access to specific routes 2024-12-27 13:28:13 +00:00
Zurdi
48f3a0980d Merge pull request #1399 from rommapp/feature/create_OIDC_user
feat: Add CREATE_OIDC_USER configuration to enable automatic user creation
2024-12-27 13:38:45 +01:00
zurdi
ffbebc2f46 fix: Rename CREATE_OIDC_USER to OIDC_CREATE_USER for consistency 2024-12-27 12:32:49 +00:00
zurdi
54483403db Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-12-27 12:21:19 +00:00
zurdi
e92e2f6190 Merge branch 'feature/404-view' into fix/user-protected-urls 2024-12-27 12:21:13 +00:00
zurdi
e52ebcbc5a feat: Add CREATE_OIDC_USER configuration to enable automatic user creation 2024-12-27 12:04:49 +00:00
Michael Manganiello
e07f781aca Merge pull request #1398 from rommapp/misc/dockerfile-layer-caching-prod-dependencies
misc: Improve Docker layer caching by installing dependencies before copying
2024-12-27 08:51:15 -03:00
Michael Manganiello
b2c17de0e0 Merge pull request #1397 from rommapp/fix/login-hide-or-divider-when-oidc-disabled
fix: Hide "or" divider in Login form when OIDC is disabled
2024-12-27 08:50:15 -03:00
Zurdi
7f40258f1c Merge pull request #1393 from rommapp/feature/1330-filter-on-search
feat: migrated search dialog to full view
2024-12-27 08:41:10 +01:00
Georges-Antoine Assi
8b62a355b3 Merge pull request #1388 from rommapp/compress-images
Compress images
2024-12-27 00:30:59 -05:00
Michael Manganiello
3b42f5cec8 misc: Improve Docker layer caching by installing dependencies before copying
This commit improves Docker layer caching by installing the required
packages in the `production-stage` stage, before copying files from
other stages.

This way, dependency installation will remain cached unless there's a
change in the required `apk` packages (or the stage's base image).
2024-12-27 00:53:45 -03:00
Michael Manganiello
a0bd575019 fix: MySQL migration and driver support
Trying to run MySQL as database (instead of MariaDB) was failing due to
incompatible migrations and lack of support for the MySQL driver.

These small changes fix the issue and recover the support for MySQL as
database driver.

Support for MySQL is on a best-effort basis, as the project's main
database is MariaDB.
2024-12-27 00:29:28 -03:00
Michael Manganiello
77d957b6a1 fix: Hide "or" divider in Login form when OIDC is disabled
The "or" divider was being displayed in the login form even when OIDC
was disabled.
2024-12-27 00:26:36 -03:00
Zurdi
eea41fc854 Merge pull request #1390 from mikhailv/fix/graceful-shutdown
fix: Handle terminate signals in init script
2024-12-26 23:07:03 +01:00
Mikhail Vazhnov
f5bd75cced fix: Handle terminate signals in init script
`tini` does not wait for child processes to close, so all processes will be killed immediately. This is why the container stops so fast.

This fix makes the `init` script listen and handle terminate signals. It also ensures that child processes are shut down in reverse order with proper waiting for completion.
2024-12-27 01:02:19 +03:00
zurdi
3b4eea34f6 Merge remote-tracking branch 'origin/master' into fix/user-protected-urls 2024-12-26 21:06:58 +00:00
zurdi
aa5e383253 Merge branch 'feature/1330-filter-on-search' into feature/404-view 2024-12-26 21:05:21 +00:00
zurdi
41a51faf59 Merge remote-tracking branch 'origin/master' into feature/1330-filter-on-search 2024-12-26 21:05:06 +00:00
Zurdi
29e6e128db Merge pull request #1389 from rommapp/refactor/collections-edit
refactor: collections edit
2024-12-26 22:02:27 +01:00