mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
* OpenAPI root url fix
* Journaling OSS setup
* feat: add preserve-original-file mode for email ingestion for GoBD compliance
- Add `preserveOriginalFile` option to ingestion sources and connectors
- Stream original EML/MBOX/PST emails to temp files instead of holding
full buffers in memory, reducing memory allocation during ingestion
- Skip attachment binary extraction and EML re-serialization when
preserve mode is enabled; use raw file on disk as source of truth
- Update `EmailObject` to use `tempFilePath` instead of in-memory `eml`
buffer across all connectors (EML, MBOX, PST)
- Add new database migration (0032) for `preserve_original_file` column
- Add frontend UI toggle with tooltip (tippy.js) for the new option
- Replace console.warn calls with structured pino logger in connectors
* add isjournaled property to archived_email
* feat(ingestion): add unmerge ingestion source functionality
Introduces the ability to detach a child ingestion source from its
merge group, making it a standalone root source. Changes include:
- Add `unmerge` controller method with auth and error handling
- Add POST `/v1/ingestion-sources/{id}/unmerge` route with OpenAPI docs
- Implement `IngestionService.unmerge` backend logic
- Add unmerge UI action and handler in the frontend ingestion view
- Fix bulk delete to also remove children of deleted root sources
- Update docs with new API operation and merging sources user guide
* code formatting
* Database migration file for enum `partially_active`
* Error handling improvement
38 lines
1.2 KiB
Svelte
38 lines
1.2 KiB
Svelte
<script lang="ts">
|
|
import { t } from '$lib/translations';
|
|
import * as Alert from '$lib/components/ui/alert';
|
|
import { Info } from 'lucide-svelte';
|
|
|
|
export let currentVersion: string;
|
|
export let newVersionInfo: { version: string; description: string; url: string } | null = null;
|
|
</script>
|
|
|
|
<footer class="bg-muted py-6 md:py-0">
|
|
<div class="container mx-auto flex flex-col items-center justify-center gap-4 py-8 md:flex-row">
|
|
<div class="flex flex-col items-center gap-2">
|
|
{#if newVersionInfo}
|
|
<Alert.Root>
|
|
<Alert.Title class="flex items-center gap-2">
|
|
<Info class="h-4 w-4" />
|
|
{$t('app.components.footer.new_version_available')}
|
|
<a
|
|
href={newVersionInfo.url}
|
|
target="_blank"
|
|
class=" text-muted-foreground underline"
|
|
>
|
|
{newVersionInfo.description}
|
|
</a>
|
|
</Alert.Title>
|
|
</Alert.Root>
|
|
{/if}
|
|
<p class="text-balance text-center text-xs font-medium leading-loose">
|
|
© {new Date().getFullYear()}
|
|
<a href="https://openarchiver.com/" target="_blank">Open Archiver</a>
|
|
</p>
|
|
<p class="text-balance text-center text-xs font-medium leading-loose">
|
|
Version: {currentVersion}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|