From d50b3b00b504274e233b8bc071856df639d53dab Mon Sep 17 00:00:00 2001 From: ildyria Date: Thu, 26 Jun 2025 10:11:51 +0200 Subject: [PATCH 1/5] version 6.6.12 --- docs/releases.md | 33 +++++++++++++++++++++++ src/components/widgets/Announcement.astro | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/docs/releases.md b/docs/releases.md index 964d8257..c80940c4 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -30,6 +30,39 @@ ## Version 6 +### v6.6.12 + +Released on Jun 26, 2025 + +#### Persian, Right to Left (RTL) support, and invite links! + +This is a small release that brings a few new features. A few weeks ago we added support for Arabic, +but that was without the proper reading direction support. By adding support for Persian, we also took the +time to add a full Right to Left (RTL) integration. There might still be some light display issues, +but we are confident our middle eastern users will appreciate this. + +A bug that has been pleaguing lychee for a while was that on mobile, the album header bar was disappearing when switching +to the photo view. We completely rewrote the way the header bar is displayed and this is now fixed. + +In version 6.6.6 we added a new registration page. This was either on or off, but there was no way to filter who could register. +This release adds the ability to create invite links. As a result, you can keep the registration page disabled and create invite +links that you can share with your friends. + +* `new` #3419 : Add Persian language and fix LTR and RTL display by @ildyria. +* `new` #3435 : Do not log queries which are faster than 100ms by default by @ildyria. + > We added the .env variable `DB_LOG_SQL_MIN_TIME` which allows to you set the minimum time in ms + > for a query to be logged. Any SQL queries faster than this will be ignored. + > This is not something that is visible to the user, and more of a debugging/profiling feature. +* `fixes` #3494 : fix disappearing header bar on mobile by @ildyria. +* `new` #3433 : Add backend and frontend for simple invitation links by @ildyria. +* `new` #3458 : Add quick setup to run pgsql locally with tests by @ildyria. + > We added a small pgsql docker compose file a postgresql database setup. This is not meant to be used in production, + > but it will allow us to easilly run our test suite locally with a postgresql database. + +#### Credits + +We would like thank my colleague [@foadalavi](https://github.com/foadalavi) for taking the time to review the Persian translations. + ### v6.6.11 Released on Jun 23, 2025 diff --git a/src/components/widgets/Announcement.astro b/src/components/widgets/Announcement.astro index 0b3832e0..b30ff2ca 100644 --- a/src/components/widgets/Announcement.astro +++ b/src/components/widgets/Announcement.astro @@ -14,8 +14,8 @@ class="text-slate-200 hover:underline dark:text-slate-200 font-medium">Lychee 6.6.11 is now available! » --> CVSS 7.5 in Lychee [6.6.6 to 6.6.9], update as soon as possible! Lychee 6.6.11 is now available! »CVSS 7.5 in Lychee [6.6.6 to 6.6.9], update as soon as possible! Lychee 6.6.12 is now available! » Date: Thu, 26 Jun 2025 10:13:07 +0200 Subject: [PATCH 2/5] Update docs/releases.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/releases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases.md b/docs/releases.md index c80940c4..507199bf 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -41,7 +41,7 @@ but that was without the proper reading direction support. By adding support for time to add a full Right to Left (RTL) integration. There might still be some light display issues, but we are confident our middle eastern users will appreciate this. -A bug that has been pleaguing lychee for a while was that on mobile, the album header bar was disappearing when switching +A bug that has been plaguing lychee for a while was that on mobile, the album header bar was disappearing when switching to the photo view. We completely rewrote the way the header bar is displayed and this is now fixed. In version 6.6.6 we added a new registration page. This was either on or off, but there was no way to filter who could register. From 52fd43f5843ea2b678ce42cb4178532a8724c58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Thu, 26 Jun 2025 10:13:13 +0200 Subject: [PATCH 3/5] Update docs/releases.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/releases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases.md b/docs/releases.md index 507199bf..3ab6002d 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -57,7 +57,7 @@ links that you can share with your friends. * `new` #3433 : Add backend and frontend for simple invitation links by @ildyria. * `new` #3458 : Add quick setup to run pgsql locally with tests by @ildyria. > We added a small pgsql docker compose file a postgresql database setup. This is not meant to be used in production, - > but it will allow us to easilly run our test suite locally with a postgresql database. + > but it will allow us to easily run our test suite locally with a postgresql database. #### Credits From fb008c5fb2f2821c7fd4962011eee9ad08638162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Thu, 26 Jun 2025 10:13:18 +0200 Subject: [PATCH 4/5] Update docs/releases.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/releases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases.md b/docs/releases.md index 3ab6002d..fd7351d9 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -61,7 +61,7 @@ links that you can share with your friends. #### Credits -We would like thank my colleague [@foadalavi](https://github.com/foadalavi) for taking the time to review the Persian translations. +We would like to thank my colleague [@foadalavi](https://github.com/foadalavi) for taking the time to review the Persian translations. ### v6.6.11 From 1a19fdbfe08656e939dbd69ce46c34c551ecfe0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Thu, 26 Jun 2025 12:09:01 +0200 Subject: [PATCH 5/5] Apply suggestions from code review Co-authored-by: Martin Stone <1611702+d7415@users.noreply.github.com> --- docs/releases.md | 2 +- src/components/widgets/Announcement.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/releases.md b/docs/releases.md index fd7351d9..7bac1661 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -56,7 +56,7 @@ links that you can share with your friends. * `fixes` #3494 : fix disappearing header bar on mobile by @ildyria. * `new` #3433 : Add backend and frontend for simple invitation links by @ildyria. * `new` #3458 : Add quick setup to run pgsql locally with tests by @ildyria. - > We added a small pgsql docker compose file a postgresql database setup. This is not meant to be used in production, + > We added a small pgsql docker compose file with a postgresql database setup. This is not meant to be used in production, > but it will allow us to easily run our test suite locally with a postgresql database. #### Credits diff --git a/src/components/widgets/Announcement.astro b/src/components/widgets/Announcement.astro index b30ff2ca..59a7d53d 100644 --- a/src/components/widgets/Announcement.astro +++ b/src/components/widgets/Announcement.astro @@ -11,7 +11,7 @@ >