mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
* refactor microservices to machine-learning * Update tGithub issue template with correct task syntax * Added microservices container * Communicate between service based on queue system * added dependency * Fixed problem with having to import BullQueue into the individual service * Added todo * refactor server into monorepo with microservices * refactor database and entity to library * added simple migration * Move migrations and database config to library * Migration works in library * Cosmetic change in logging message * added user dto * Fixed issue with testing not able to find the shared library * Clean up library mapping path * Added webp generator to microservices * Update Github Action build latest * Fixed issue NPM cannot install due to conflict witl Bull Queue * format project with prettier * Modified docker-compose file * Add GH Action for Staging build: * Fixed GH action job name * Modified GH Action to only build & push latest when pushing to main * Added Test 2e2 Github Action * Added Test 2e2 Github Action * Implemented microservice to extract exif * Added cronjob to scan and generate webp thumbnail at midnight * Refactor to ireduce hit time to database when running microservices * Added error handling to asset services that handle read file from disk * Added video transcoding queue to process one video at a time * Fixed loading spinner on web while loading covering the info panel * Add mechanism to show new release announcement to web and mobile app (#209) * Added changelog page * Fixed issues based on PR comments * Fixed issue with video transcoding run on the server * Change entry point content for backward combatibility when starting up server * Added announcement box * Added error handling to failed silently when the app version checking is not able to make the request to GITHUB * Added new version announcement overlay * Update message * Added messages * Added logic to check and show announcement * Add method to handle saving new version * Added button to dimiss the acknowledge message * Up version for deployment to the app store
62 lines
2.2 KiB
Svelte
62 lines
2.2 KiB
Svelte
<script lang="ts">
|
|
import { goto } from '$app/navigation';
|
|
|
|
import { createEventDispatcher } from 'svelte';
|
|
import { page } from '$app/stores';
|
|
import FullScreenModal from './full-screen-modal.svelte';
|
|
export let localVersion: string;
|
|
export let remoteVersion: string;
|
|
|
|
const acknowledgeClickHandler = () => {
|
|
localStorage.setItem('appVersion', remoteVersion);
|
|
|
|
goto($page.url.pathname);
|
|
};
|
|
</script>
|
|
|
|
<div class="absolute top-0 left-0 w-screen h-screen">
|
|
<FullScreenModal on:clickOutside={() => console.log('Click outside')}>
|
|
<div class="max-w-[500px] z-[99999] border bg-immich-bg p-10 rounded-xl">
|
|
<p class="text-2xl ">🎉 NEW VERSION AVAILABLE 🎉</p>
|
|
<br />
|
|
|
|
<section class="max-h-[400px] overflow-y-auto">
|
|
<div class="font-thin">
|
|
Hi friend, there is a new release of <span class="font-immich-title text-immich-primary font-bold"
|
|
>IMMICH</span
|
|
>, please take your time to visit the
|
|
<span class="underline font-medium"
|
|
><a href="https://github.com/alextran1502/immich/releases/latest" target="_blank" rel="noopener noreferrer"
|
|
>release note</a
|
|
></span
|
|
>
|
|
and ensure your <code>docker-compose</code>, and <code>.env</code> setup is up-to-date to prevent any misconfigurations,
|
|
especially if you use WatchTower or any mechanism that handles updating your application automatically.
|
|
</div>
|
|
|
|
{#if remoteVersion == 'v1.11.0_17-dev'}
|
|
<div class="mt-2 font-thin">
|
|
This specific version <span class="font-medium">v1.11.0_17-dev</span> includes changes in the docker-compose
|
|
setup that added additional containters. Please make sure to update the docker-compose file, pull new images
|
|
and check your setup for the latest features and bug fixes.
|
|
</div>
|
|
{/if}
|
|
</section>
|
|
|
|
<div class="font-thin mt-4">Your friend, Alex</div>
|
|
<div class="text-xs mt-8">
|
|
<code>Local Version {localVersion}</code>
|
|
<br />
|
|
<code>Remote Version {remoteVersion}</code>
|
|
</div>
|
|
|
|
<div class="text-right mt-4">
|
|
<button
|
|
class="bg-immich-primary text-gray-50 hover:bg-immich-primary/90 py-2 px-4 rounded-lg font-medium shadow-lg transition-all"
|
|
on:click={acknowledgeClickHandler}>Acknowledge</button
|
|
>
|
|
</div>
|
|
</div>
|
|
</FullScreenModal>
|
|
</div>
|