Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore: remove redundant license

johaven1fe9454cd2ad
diff --git a/LICENSE b/LICENSE
index 40b88506..bb61842c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -629,7 +629,7 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- Sync-in® Copyright (C) 2012-2025 Johan Legrand <[email protected]>
+ Sync-in® Copyright (C) 2012-2026 Johan Legrand <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
diff --git a/backend/eslint.config.mjs b/backend/eslint.config.mjs
index abe182b2..0e46da18 100644
--- a/backend/eslint.config.mjs
+++ b/backend/eslint.config.mjs
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// @ts-check
import eslint from '@eslint/js'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
diff --git a/backend/src/app.bootstrap.ts b/backend/src/app.bootstrap.ts
index 98ca7145..97fa98b1 100644
--- a/backend/src/app.bootstrap.ts
+++ b/backend/src/app.bootstrap.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fastifyCookie from '@fastify/cookie'
import fastifyHelmet from '@fastify/helmet'
import multipart from '@fastify/multipart'
diff --git a/backend/src/app.constants.ts b/backend/src/app.constants.ts
index 53640026..92cf253b 100644
--- a/backend/src/app.constants.ts
+++ b/backend/src/app.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { loadVersion } from './app.functions'
export const VERSION = loadVersion()
diff --git a/backend/src/app.e2e-spec.ts b/backend/src/app.e2e-spec.ts
index 2178b53f..eaa979bf 100644
--- a/backend/src/app.e2e-spec.ts
+++ b/backend/src/app.e2e-spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NestFastifyApplication } from '@nestjs/platform-fastify'
import { appBootstrap } from './app.bootstrap'
import { dbCloseConnection } from './infrastructure/database/utils'
diff --git a/backend/src/app.functions.ts b/backend/src/app.functions.ts
index bdfd1257..6369b229 100644
--- a/backend/src/app.functions.ts
+++ b/backend/src/app.functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { existsSync, readFileSync } from 'fs'
import { join, resolve } from 'node:path'
import { IS_TEST_ENV } from './configuration/config.constants'
diff --git a/backend/src/app.module.ts b/backend/src/app.module.ts
index d9e67c97..067f4321 100755
--- a/backend/src/app.module.ts
+++ b/backend/src/app.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpModule } from '@nestjs/axios'
import { Module } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
diff --git a/backend/src/app.service.spec.ts b/backend/src/app.service.spec.ts
index 0e1b130c..7cc40cb4 100644
--- a/backend/src/app.service.spec.ts
+++ b/backend/src/app.service.spec.ts
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Logger } from '@nestjs/common'
+import { setupPrimary } from '@socket.io/cluster-adapter'
import cluster from 'node:cluster'
import fs from 'node:fs'
import os from 'node:os'
@@ -13,10 +8,10 @@ import process from 'node:process'
import { AppService } from './app.service'
import { ENVIRONMENT_PREFIX } from './configuration/config.constants'
import { configuration, exportConfiguration } from './configuration/config.environment'
+
jest.mock('@socket.io/cluster-adapter', () => ({
setupPrimary: jest.fn()
}))
-import { setupPrimary } from '@socket.io/cluster-adapter'
describe(AppService.name, () => {
let appService: AppService
diff --git a/backend/src/app.service.ts b/backend/src/app.service.ts
index 3b7819d2..9588898f 100755
--- a/backend/src/app.service.ts
+++ b/backend/src/app.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import { setupPrimary } from '@socket.io/cluster-adapter'
import cluster, { Worker } from 'node:cluster'
diff --git a/backend/src/applications/admin/admin.module.ts b/backend/src/applications/admin/admin.module.ts
index 63055619..39b7c454 100644
--- a/backend/src/applications/admin/admin.module.ts
+++ b/backend/src/applications/admin/admin.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { AdminSchedulerService } from './services/admin-scheduler.service'
import { AdminService } from './services/admin.service'
diff --git a/backend/src/applications/admin/constants/routes.ts b/backend/src/applications/admin/constants/routes.ts
index 74e9f4be..ca7d956a 100644
--- a/backend/src/applications/admin/constants/routes.ts
+++ b/backend/src/applications/admin/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const ADMIN_ROUTE = {
BASE: '/api/admin'
}
diff --git a/backend/src/applications/admin/interfaces/check-update.interfaces.ts b/backend/src/applications/admin/interfaces/check-update.interfaces.ts
index e7b11c83..b81eb609 100644
--- a/backend/src/applications/admin/interfaces/check-update.interfaces.ts
+++ b/backend/src/applications/admin/interfaces/check-update.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface ServerReleaseVersionManifest {
// tag_name: `v1.0.0`
tag_name: string
diff --git a/backend/src/applications/admin/services/admin-scheduler.service.ts b/backend/src/applications/admin/services/admin-scheduler.service.ts
index c74ecef6..a054429f 100644
--- a/backend/src/applications/admin/services/admin-scheduler.service.ts
+++ b/backend/src/applications/admin/services/admin-scheduler.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { Cron, CronExpression } from '@nestjs/schedule'
import { setTimeout } from 'node:timers/promises'
diff --git a/backend/src/applications/admin/services/admin.service.spec.ts b/backend/src/applications/admin/services/admin.service.spec.ts
index 44c650a2..b1d7ae04 100644
--- a/backend/src/applications/admin/services/admin.service.spec.ts
+++ b/backend/src/applications/admin/services/admin.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../../infrastructure/cache/services/cache.service'
diff --git a/backend/src/applications/admin/services/admin.service.ts b/backend/src/applications/admin/services/admin.service.ts
index ed727296..c9332680 100644
--- a/backend/src/applications/admin/services/admin.service.ts
+++ b/backend/src/applications/admin/services/admin.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { Injectable, Logger } from '@nestjs/common'
import type { AxiosResponse } from 'axios'
diff --git a/backend/src/applications/admin/utils/check-update.ts b/backend/src/applications/admin/utils/check-update.ts
index a2356fa8..7d714e36 100644
--- a/backend/src/applications/admin/utils/check-update.ts
+++ b/backend/src/applications/admin/utils/check-update.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export function isServerUpdateAvailable(current: string, latest: string) {
const c = current.split('.').map(Number)
const l = latest.split('.').map(Number)
diff --git a/backend/src/applications/applications.config.ts b/backend/src/applications/applications.config.ts
index 59f2a279..278c20de 100644
--- a/backend/src/applications/applications.config.ts
+++ b/backend/src/applications/applications.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Type } from 'class-transformer'
import { IsDefined, IsNotEmptyObject, IsObject, ValidateNested } from 'class-validator'
import { FilesConfig } from './files/files.config'
diff --git a/backend/src/applications/applications.constants.ts b/backend/src/applications/applications.constants.ts
index 6d709f03..d8193b0c 100644
--- a/backend/src/applications/applications.constants.ts
+++ b/backend/src/applications/applications.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const APP_BASE_ROUTE = '/api/app'
export const HTTP_WEBDAV_METHOD = {
diff --git a/backend/src/applications/applications.module.ts b/backend/src/applications/applications.module.ts
index 849be375..d4a580b7 100644
--- a/backend/src/applications/applications.module.ts
+++ b/backend/src/applications/applications.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Global, Module } from '@nestjs/common'
import { AdminModule } from './admin/admin.module'
import { CommentsModule } from './comments/comments.module'
diff --git a/backend/src/applications/comments/comments.controller.spec.ts b/backend/src/applications/comments/comments.controller.spec.ts
index c81713a8..fc9c98d3 100644
--- a/backend/src/applications/comments/comments.controller.spec.ts
+++ b/backend/src/applications/comments/comments.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../infrastructure/cache/services/cache.service'
import { ContextManager } from '../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/comments/comments.controller.ts b/backend/src/applications/comments/comments.controller.ts
index 581ec11e..28786170 100644
--- a/backend/src/applications/comments/comments.controller.ts
+++ b/backend/src/applications/comments/comments.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Delete, Get, Patch, Post, Query, UseGuards, UseInterceptors } from '@nestjs/common'
import { ContextInterceptor } from '../../infrastructure/context/interceptors/context.interceptor'
import { SkipSpaceGuard } from '../spaces/decorators/space-skip-guard.decorator'
diff --git a/backend/src/applications/comments/comments.module.ts b/backend/src/applications/comments/comments.module.ts
index 88ee3f61..90268e8a 100644
--- a/backend/src/applications/comments/comments.module.ts
+++ b/backend/src/applications/comments/comments.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { CommentsController } from './comments.controller'
import { CommentsManager } from './services/comments-manager.service'
diff --git a/backend/src/applications/comments/constants/routes.ts b/backend/src/applications/comments/constants/routes.ts
index 578da38a..88a68290 100644
--- a/backend/src/applications/comments/constants/routes.ts
+++ b/backend/src/applications/comments/constants/routes.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { APP_BASE_ROUTE } from '../../applications.constants'
export const COMMENTS_ROUTE = {
diff --git a/backend/src/applications/comments/dto/comment.dto.ts b/backend/src/applications/comments/dto/comment.dto.ts
index f43bb15c..8e394424 100644
--- a/backend/src/applications/comments/dto/comment.dto.ts
+++ b/backend/src/applications/comments/dto/comment.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsInt, IsNotEmpty, IsOptional, IsString } from 'class-validator'
export class CreateOrUpdateCommentDto {
diff --git a/backend/src/applications/comments/interfaces/comment-recent.interface.ts b/backend/src/applications/comments/interfaces/comment-recent.interface.ts
index e2d34d3a..ee1ede1c 100644
--- a/backend/src/applications/comments/interfaces/comment-recent.interface.ts
+++ b/backend/src/applications/comments/interfaces/comment-recent.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { Owner } from '../../users/interfaces/owner.interface'
export interface CommentRecent {
diff --git a/backend/src/applications/comments/schemas/comment.interface.ts b/backend/src/applications/comments/schemas/comment.interface.ts
index d22f414c..64beb407 100644
--- a/backend/src/applications/comments/schemas/comment.interface.ts
+++ b/backend/src/applications/comments/schemas/comment.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Owner } from '../../users/interfaces/owner.interface'
import type { comments } from './comments.schema'
diff --git a/backend/src/applications/comments/schemas/comments.schema.ts b/backend/src/applications/comments/schemas/comments.schema.ts
index da2c0166..6e79c524 100644
--- a/backend/src/applications/comments/schemas/comments.schema.ts
+++ b/backend/src/applications/comments/schemas/comments.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Column, SQL, sql } from 'drizzle-orm'
import { bigint, datetime, index, mysqlTable, text } from 'drizzle-orm/mysql-core'
import { files } from '../../files/schemas/files.schema'
diff --git a/backend/src/applications/comments/services/comments-manager.service.spec.ts b/backend/src/applications/comments/services/comments-manager.service.spec.ts
index 9fb9897a..b535dfc1 100644
--- a/backend/src/applications/comments/services/comments-manager.service.spec.ts
+++ b/backend/src/applications/comments/services/comments-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../../infrastructure/cache/services/cache.service'
diff --git a/backend/src/applications/comments/services/comments-manager.service.ts b/backend/src/applications/comments/services/comments-manager.service.ts
index c27a6c8b..fba718de 100644
--- a/backend/src/applications/comments/services/comments-manager.service.ts
+++ b/backend/src/applications/comments/services/comments-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { ContextManager } from '../../../infrastructure/context/services/context-manager.service'
import type { FileProps } from '../../files/interfaces/file-props.interface'
diff --git a/backend/src/applications/comments/services/comments-queries.service.ts b/backend/src/applications/comments/services/comments-queries.service.ts
index 2fe37790..46c50b51 100644
--- a/backend/src/applications/comments/services/comments-queries.service.ts
+++ b/backend/src/applications/comments/services/comments-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable } from '@nestjs/common'
import { and, desc, eq, getTableColumns, inArray, isNotNull, isNull, ne, or, SelectedFields, SQL, sql } from 'drizzle-orm'
import { alias, union } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/files/adapters/files-indexer-mysql.service.spec.ts b/backend/src/applications/files/adapters/files-indexer-mysql.service.spec.ts
index 96d8cba6..22954976 100644
--- a/backend/src/applications/files/adapters/files-indexer-mysql.service.spec.ts
+++ b/backend/src/applications/files/adapters/files-indexer-mysql.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../../infrastructure/cache/services/cache.service'
import { DB_TOKEN_PROVIDER } from '../../../infrastructure/database/constants'
diff --git a/backend/src/applications/files/adapters/files-indexer-mysql.service.ts b/backend/src/applications/files/adapters/files-indexer-mysql.service.ts
index d775f9c4..45cdc0e9 100644
--- a/backend/src/applications/files/adapters/files-indexer-mysql.service.ts
+++ b/backend/src/applications/files/adapters/files-indexer-mysql.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { SQL, sql } from 'drizzle-orm'
import { MySqlQueryResult } from 'drizzle-orm/mysql2'
diff --git a/backend/src/applications/files/constants/cache.ts b/backend/src/applications/files/constants/cache.ts
index 2308b9b9..cd06483a 100644
--- a/backend/src/applications/files/constants/cache.ts
+++ b/backend/src/applications/files/constants/cache.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// cache task key = `ftask-$(userId}-${taskId}` => FileTask
export const CACHE_TASK_PREFIX = 'ftask' as const
export const CACHE_TASK_TTL = 86400 as const // one day
diff --git a/backend/src/applications/files/constants/compress.ts b/backend/src/applications/files/constants/compress.ts
index 6bec6fad..48e2beea 100644
--- a/backend/src/applications/files/constants/compress.ts
+++ b/backend/src/applications/files/constants/compress.ts
@@ -1,8 +1,2 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const tarExtension = 'tar'
export const tarGzExtension = 'tgz'
diff --git a/backend/src/applications/files/constants/files.ts b/backend/src/applications/files/constants/files.ts
index 15eb29fa..00b391d0 100644
--- a/backend/src/applications/files/constants/files.ts
+++ b/backend/src/applications/files/constants/files.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const DEFAULT_CHECKSUM_ALGORITHM = 'sha512-256'
export const DEFAULT_HIGH_WATER_MARK = 1024 * 1024
export const DEFAULT_MIME_TYPE = 'application/octet-stream'
diff --git a/backend/src/applications/files/constants/indexing.ts b/backend/src/applications/files/constants/indexing.ts
index d56dab26..aba74315 100644
--- a/backend/src/applications/files/constants/indexing.ts
+++ b/backend/src/applications/files/constants/indexing.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const userIndexPrefix = 'user_'
export const spaceIndexPrefix = 'space_'
export const shareIndexPrefix = 'share_'
diff --git a/backend/src/applications/files/constants/operations.ts b/backend/src/applications/files/constants/operations.ts
index 8ba0d8bc..ce800d45 100644
--- a/backend/src/applications/files/constants/operations.ts
+++ b/backend/src/applications/files/constants/operations.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum FILE_OPERATION {
MAKE = 'make',
COPY = 'copy',
diff --git a/backend/src/applications/files/constants/routes.ts b/backend/src/applications/files/constants/routes.ts
index ff8c7222..1e98a069 100644
--- a/backend/src/applications/files/constants/routes.ts
+++ b/backend/src/applications/files/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACES_ROUTE } from '../../spaces/constants/routes'
import { FILE_OPERATION } from './operations'
diff --git a/backend/src/applications/files/constants/samples.ts b/backend/src/applications/files/constants/samples.ts
index f7f70cde..b15c22db 100644
--- a/backend/src/applications/files/constants/samples.ts
+++ b/backend/src/applications/files/constants/samples.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const SAMPLE_PATH_WITHOUT_EXT = '../assets/samples/sample'
export const DOCUMENT_TYPE = {
'Microsoft Word': '.docx',
diff --git a/backend/src/applications/files/dto/file-operations.dto.ts b/backend/src/applications/files/dto/file-operations.dto.ts
index 4da50717..50f986bd 100644
--- a/backend/src/applications/files/dto/file-operations.dto.ts
+++ b/backend/src/applications/files/dto/file-operations.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { ArrayMinSize, IsArray, IsBoolean, IsDefined, IsIn, IsInt, IsNotEmpty, IsOptional, IsString, IsUrl } from 'class-validator'
import { RejectIfMatch } from '../../../common/decorators'
diff --git a/backend/src/applications/files/events/file-task-event.ts b/backend/src/applications/files/events/file-task-event.ts
index f8f562ff..806d688b 100644
--- a/backend/src/applications/files/events/file-task-event.ts
+++ b/backend/src/applications/files/events/file-task-event.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import EventEmitter from 'node:events'
export const FileTaskEvent: EventEmitter = new EventEmitter()
diff --git a/backend/src/applications/files/files-tasks.controller.spec.ts b/backend/src/applications/files/files-tasks.controller.spec.ts
index 084e464f..04b86f7e 100644
--- a/backend/src/applications/files/files-tasks.controller.spec.ts
+++ b/backend/src/applications/files/files-tasks.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../infrastructure/cache/services/cache.service'
import { FilesTasksController } from './files-tasks.controller'
diff --git a/backend/src/applications/files/files-tasks.controller.ts b/backend/src/applications/files/files-tasks.controller.ts
index 6dbb3b7e..4190946d 100644
--- a/backend/src/applications/files/files-tasks.controller.ts
+++ b/backend/src/applications/files/files-tasks.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Controller, Delete, Get, Param, Req, Res, StreamableFile } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { FastifySpaceRequest } from '../spaces/interfaces/space-request.interface'
diff --git a/backend/src/applications/files/files.config.ts b/backend/src/applications/files/files.config.ts
index a7ab6280..f6f7feae 100644
--- a/backend/src/applications/files/files.config.ts
+++ b/backend/src/applications/files/files.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Type } from 'class-transformer'
import { IsBoolean, IsInt, IsNotEmpty, IsNotEmptyObject, IsString, ValidateNested } from 'class-validator'
import { CollaboraOnlineConfig } from './modules/collabora-online/collabora-online.config'
diff --git a/backend/src/applications/files/files.controller.spec.ts b/backend/src/applications/files/files.controller.spec.ts
index cf819d94..b06719f4 100644
--- a/backend/src/applications/files/files.controller.spec.ts
+++ b/backend/src/applications/files/files.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { ContextInterceptor } from '../../infrastructure/context/interceptors/context.interceptor'
import { ContextManager } from '../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/files/files.controller.ts b/backend/src/applications/files/files.controller.ts
index 94d8647c..fc2c0503 100644
--- a/backend/src/applications/files/files.controller.ts
+++ b/backend/src/applications/files/files.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import {
Body,
Controller,
diff --git a/backend/src/applications/files/files.module.ts b/backend/src/applications/files/files.module.ts
index 47ef8306..e10f9b7a 100644
--- a/backend/src/applications/files/files.module.ts
+++ b/backend/src/applications/files/files.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { configuration } from '../../configuration/config.environment'
import { FilesIndexerMySQL } from './adapters/files-indexer-mysql.service'
diff --git a/backend/src/applications/files/interfaces/file-db-props.interface.ts b/backend/src/applications/files/interfaces/file-db-props.interface.ts
index dc291b09..22541134 100644
--- a/backend/src/applications/files/interfaces/file-db-props.interface.ts
+++ b/backend/src/applications/files/interfaces/file-db-props.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { File } from '../schemas/file.interface'
export interface FileDBProps extends Partial<Pick<File, 'ownerId' | 'spaceId' | 'spaceExternalRootId' | 'shareExternalId' | 'inTrash' | 'path'>> {
diff --git a/backend/src/applications/files/interfaces/file-lock.interface.ts b/backend/src/applications/files/interfaces/file-lock.interface.ts
index 9d8312d4..0d863ac7 100644
--- a/backend/src/applications/files/interfaces/file-lock.interface.ts
+++ b/backend/src/applications/files/interfaces/file-lock.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SERVER_NAME } from '../../../common/shared'
import { Owner } from '../../users/interfaces/owner.interface'
import { LOCK_DEPTH, LOCK_SCOPE, WEBDAV_APP_LOCK } from '../../webdav/constants/webdav'
diff --git a/backend/src/applications/files/interfaces/file-parse-index.ts b/backend/src/applications/files/interfaces/file-parse-index.ts
index 8f72a899..eb825908 100644
--- a/backend/src/applications/files/interfaces/file-parse-index.ts
+++ b/backend/src/applications/files/interfaces/file-parse-index.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export type FileParseType = 'user' | 'space' | 'share'
export interface FileParseContext {
diff --git a/backend/src/applications/files/interfaces/file-props.interface.ts b/backend/src/applications/files/interfaces/file-props.interface.ts
index bedfda14..25573a8a 100644
--- a/backend/src/applications/files/interfaces/file-props.interface.ts
+++ b/backend/src/applications/files/interfaces/file-props.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { Share } from '../../shares/schemas/share.interface'
import type { SpaceRoot } from '../../spaces/schemas/space-root.interface'
import type { Space } from '../../spaces/schemas/space.interface'
diff --git a/backend/src/applications/files/interfaces/file-recent-location.interface.ts b/backend/src/applications/files/interfaces/file-recent-location.interface.ts
index 18159d60..2d4acc9e 100644
--- a/backend/src/applications/files/interfaces/file-recent-location.interface.ts
+++ b/backend/src/applications/files/interfaces/file-recent-location.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface FileRecentLocation {
ownerId?: number
spaceId?: number
diff --git a/backend/src/applications/files/interfaces/file-space.interface.ts b/backend/src/applications/files/interfaces/file-space.interface.ts
index 660db7fa..e61303ef 100644
--- a/backend/src/applications/files/interfaces/file-space.interface.ts
+++ b/backend/src/applications/files/interfaces/file-space.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { File } from '../schemas/file.interface'
export class FileSpace implements Pick<File, 'id' | 'ownerId' | 'path' | 'isDir' | 'inTrash' | 'mime'> {
diff --git a/backend/src/applications/files/interfaces/file-tree.interface.ts b/backend/src/applications/files/interfaces/file-tree.interface.ts
index bb7848e9..f632aa24 100644
--- a/backend/src/applications/files/interfaces/file-tree.interface.ts
+++ b/backend/src/applications/files/interfaces/file-tree.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileProps } from './file-props.interface'
export interface FileTree extends Pick<FileProps, 'id' | 'name' | 'path' | 'isDir' | 'mime'> {
diff --git a/backend/src/applications/files/models/file-error.ts b/backend/src/applications/files/models/file-error.ts
index 58021101..0df437d1 100644
--- a/backend/src/applications/files/models/file-error.ts
+++ b/backend/src/applications/files/models/file-error.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export class FileError extends Error {
httpCode: number
diff --git a/backend/src/applications/files/models/file-lock-error.ts b/backend/src/applications/files/models/file-lock-error.ts
index 3b50194a..25186fa2 100644
--- a/backend/src/applications/files/models/file-lock-error.ts
+++ b/backend/src/applications/files/models/file-lock-error.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FileLock } from '../interfaces/file-lock.interface'
export class LockConflict extends Error {
diff --git a/backend/src/applications/files/models/file-task.ts b/backend/src/applications/files/models/file-task.ts
index e62f2940..96b90db7 100644
--- a/backend/src/applications/files/models/file-task.ts
+++ b/backend/src/applications/files/models/file-task.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FILE_OPERATION } from '../constants/operations'
export enum FileTaskStatus {
diff --git a/backend/src/applications/files/models/files-indexer.ts b/backend/src/applications/files/models/files-indexer.ts
index f2299db9..68bbb78c 100644
--- a/backend/src/applications/files/models/files-indexer.ts
+++ b/backend/src/applications/files/models/files-indexer.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FileContent } from '../schemas/file-content.interface'
export abstract class FilesIndexer {
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online-environment.decorator.ts b/backend/src/applications/files/modules/collabora-online/collabora-online-environment.decorator.ts
index dde035e5..4ca5865b 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online-environment.decorator.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online-environment.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { applyDecorators, SetMetadata, UseGuards } from '@nestjs/common'
import { SpaceGuard } from '../../../spaces/guards/space.guard'
import { COLLABORA_CONTEXT } from './collabora-online.constants'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.spec.ts b/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.spec.ts
index 855d2111..dd4a778d 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.spec.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus } from '@nestjs/common'
import { JwtService } from '@nestjs/jwt'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.ts b/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.ts
index 937f1a01..dcdb7df2 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { JwtService } from '@nestjs/jwt'
import { FastifyReply } from 'fastify'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.config.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.config.ts
index bab3fc50..e5a891d2 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.config.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsBoolean, IsOptional, IsString } from 'class-validator'
export class CollaboraOnlineConfig {
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.constants.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.constants.ts
index 8e220f8f..3a4abedd 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.constants.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const COLLABORA_URI = 'browser/dist/cool.html'
export const COLLABORA_CONTEXT = 'CollaboraOnlineEnvironment' as const
export const COLLABORA_WOPI_SRC_QUERY_PARAM_NAME = 'WOPISrc' as const
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.controller.spec.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.controller.spec.ts
index de6b0bc9..756a31ab 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.controller.spec.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { ContextInterceptor } from '../../../../infrastructure/context/interceptors/context.interceptor'
import { ContextManager } from '../../../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.controller.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.controller.ts
index 0dfa1af4..df51f08d 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.controller.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Controller, Get, HttpCode, HttpStatus, Post, Request, Res, StreamableFile, UseInterceptors } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { ContextInterceptor } from '../../../../infrastructure/context/interceptors/context.interceptor'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.dtos.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.dtos.ts
index 7d246439..a4904102 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.dtos.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.dtos.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FILE_MODE } from '../../constants/operations'
import type { FileLockProps } from '../../interfaces/file-props.interface'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.guard.spec.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.guard.spec.ts
index 1e1f1fdb..da43ddd0 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.guard.spec.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
import { JwtModule, JwtService } from '@nestjs/jwt'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.guard.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.guard.ts
index d1c5b38f..a2b721ce 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.guard.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.interface.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.interface.ts
index 4274d4bc..89304623 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.interface.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { JwtIdentityPayload } from '../../../../authentication/interfaces/jwt-payload.interface'
import type { FastifySpaceRequest } from '../../../spaces/interfaces/space-request.interface'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.module.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.module.ts
index 0630e69a..feb822ad 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.module.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { CollaboraOnlineManager } from './collabora-online-manager.service'
import { CollaboraOnlineController } from './collabora-online.controller'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.routes.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.routes.ts
index 6a4c263f..f7e0a184 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.routes.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const COLLABORA_ONLINE_ROUTE = {
BASE: '/wopi',
FILES: 'files',
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.strategy.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.strategy.ts
index c6b27584..c6b47b54 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.strategy.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AbstractStrategy, PassportStrategy } from '@nestjs/passport'
import { PinoLogger } from 'nestjs-pino'
diff --git a/backend/src/applications/files/modules/collabora-online/collabora-online.utils.ts b/backend/src/applications/files/modules/collabora-online/collabora-online.utils.ts
index 4b2acfa0..0e2cd179 100644
--- a/backend/src/applications/files/modules/collabora-online/collabora-online.utils.ts
+++ b/backend/src/applications/files/modules/collabora-online/collabora-online.utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { PATH_TO_SPACE_SEGMENTS } from '../../../spaces/utils/routes'
import type { FastifyCollaboraOnlineSpaceRequest } from './collabora-online.interface'
diff --git a/backend/src/applications/files/modules/only-office/only-office-environment.decorator.ts b/backend/src/applications/files/modules/only-office/only-office-environment.decorator.ts
index 5017a0f5..190ef0bc 100644
--- a/backend/src/applications/files/modules/only-office/only-office-environment.decorator.ts
+++ b/backend/src/applications/files/modules/only-office/only-office-environment.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { applyDecorators, SetMetadata, UseGuards } from '@nestjs/common'
import { SpaceGuard } from '../../../spaces/guards/space.guard'
import { ONLY_OFFICE_CONTEXT } from './only-office.constants'
diff --git a/backend/src/applications/files/modules/only-office/only-office-manager.service.spec.ts b/backend/src/applications/files/modules/only-office/only-office-manager.service.spec.ts
index 6484a90b..149a25d8 100644
--- a/backend/src/applications/files/modules/only-office/only-office-manager.service.spec.ts
+++ b/backend/src/applications/files/modules/only-office/only-office-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { HttpException, HttpStatus } from '@nestjs/common'
import { JwtService } from '@nestjs/jwt'
diff --git a/backend/src/applications/files/modules/only-office/only-office-manager.service.ts b/backend/src/applications/files/modules/only-office/only-office-manager.service.ts
index e7779373..49db9a3d 100644
--- a/backend/src/applications/files/modules/only-office/only-office-manager.service.ts
+++ b/backend/src/applications/files/modules/only-office/only-office-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { JwtService } from '@nestjs/jwt'
diff --git a/backend/src/applications/files/modules/only-office/only-office.config.ts b/backend/src/applications/files/modules/only-office/only-office.config.ts
index 7c7a754d..111c73a4 100644
--- a/backend/src/applications/files/modules/only-office/only-office.config.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsBoolean, IsNotEmpty, IsOptional, IsString, ValidateIf } from 'class-validator'
export class OnlyOfficeConfig {
diff --git a/backend/src/applications/files/modules/only-office/only-office.constants.ts b/backend/src/applications/files/modules/only-office/only-office.constants.ts
index 9b08f187..0b970a82 100644
--- a/backend/src/applications/files/modules/only-office/only-office.constants.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const ONLY_OFFICE_INTERNAL_URI = '/onlyoffice' // used by nginx as a proxy
export const ONLY_OFFICE_CONTEXT = 'OnlyOfficeEnvironment' as const
export const ONLY_OFFICE_TOKEN_QUERY_PARAM_NAME = 'token' as const
diff --git a/backend/src/applications/files/modules/only-office/only-office.controller.spec.ts b/backend/src/applications/files/modules/only-office/only-office.controller.spec.ts
index a419e9ee..0311b72d 100644
--- a/backend/src/applications/files/modules/only-office/only-office.controller.spec.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { ContextInterceptor } from '../../../../infrastructure/context/interceptors/context.interceptor'
import { ContextManager } from '../../../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/files/modules/only-office/only-office.controller.ts b/backend/src/applications/files/modules/only-office/only-office.controller.ts
index b2260b5a..815d0757 100644
--- a/backend/src/applications/files/modules/only-office/only-office.controller.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Get, HttpCode, HttpStatus, Post, Request, Res, StreamableFile, UseInterceptors } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { ContextInterceptor } from '../../../../infrastructure/context/interceptors/context.interceptor'
diff --git a/backend/src/applications/files/modules/only-office/only-office.dtos.ts b/backend/src/applications/files/modules/only-office/only-office.dtos.ts
index 622f3079..2263b80f 100644
--- a/backend/src/applications/files/modules/only-office/only-office.dtos.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.dtos.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileLockProps } from '../../interfaces/file-props.interface'
import type { OnlyOfficeConfig } from './only-office.interface'
diff --git a/backend/src/applications/files/modules/only-office/only-office.guard.spec.ts b/backend/src/applications/files/modules/only-office/only-office.guard.spec.ts
index fd6b9556..9eda9893 100644
--- a/backend/src/applications/files/modules/only-office/only-office.guard.spec.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
import { JwtModule, JwtService } from '@nestjs/jwt'
diff --git a/backend/src/applications/files/modules/only-office/only-office.guard.ts b/backend/src/applications/files/modules/only-office/only-office.guard.ts
index 77c518f5..d4c8fc80 100644
--- a/backend/src/applications/files/modules/only-office/only-office.guard.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
diff --git a/backend/src/applications/files/modules/only-office/only-office.interface.ts b/backend/src/applications/files/modules/only-office/only-office.interface.ts
index 826a67e7..87801c87 100644
--- a/backend/src/applications/files/modules/only-office/only-office.interface.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FILE_MODE } from '../../constants/operations'
export interface OnlyOfficeConvertForm {
diff --git a/backend/src/applications/files/modules/only-office/only-office.module.ts b/backend/src/applications/files/modules/only-office/only-office.module.ts
index 855d907f..339d64ff 100644
--- a/backend/src/applications/files/modules/only-office/only-office.module.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { OnlyOfficeManager } from './only-office-manager.service'
import { OnlyOfficeController } from './only-office.controller'
diff --git a/backend/src/applications/files/modules/only-office/only-office.routes.ts b/backend/src/applications/files/modules/only-office/only-office.routes.ts
index abef1aa6..26465f3c 100644
--- a/backend/src/applications/files/modules/only-office/only-office.routes.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACES_ROUTE } from '../../../spaces/constants/routes'
export const ONLY_OFFICE_ROUTE = {
diff --git a/backend/src/applications/files/modules/only-office/only-office.strategy.ts b/backend/src/applications/files/modules/only-office/only-office.strategy.ts
index c933ce2c..b85fb83c 100644
--- a/backend/src/applications/files/modules/only-office/only-office.strategy.ts
+++ b/backend/src/applications/files/modules/only-office/only-office.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AbstractStrategy, PassportStrategy } from '@nestjs/passport'
import { PinoLogger } from 'nestjs-pino'
diff --git a/backend/src/applications/files/schemas/file-content.interface.ts b/backend/src/applications/files/schemas/file-content.interface.ts
index e7772276..695927d5 100644
--- a/backend/src/applications/files/schemas/file-content.interface.ts
+++ b/backend/src/applications/files/schemas/file-content.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface FileContent {
id: number
path: string
diff --git a/backend/src/applications/files/schemas/file-recent.interface.ts b/backend/src/applications/files/schemas/file-recent.interface.ts
index 28380c72..f165716f 100644
--- a/backend/src/applications/files/schemas/file-recent.interface.ts
+++ b/backend/src/applications/files/schemas/file-recent.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { filesRecents } from './files-recents.schema'
type FileRecentSchema = typeof filesRecents.$inferSelect
diff --git a/backend/src/applications/files/schemas/file.interface.ts b/backend/src/applications/files/schemas/file.interface.ts
index 4a7210f6..3d7a4bb7 100644
--- a/backend/src/applications/files/schemas/file.interface.ts
+++ b/backend/src/applications/files/schemas/file.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { files } from './files.schema'
type FileSchema = typeof files.$inferSelect
diff --git a/backend/src/applications/files/schemas/files-content.schema.ts b/backend/src/applications/files/schemas/files-content.schema.ts
index 0d0b07c2..ce2952f3 100644
--- a/backend/src/applications/files/schemas/files-content.schema.ts
+++ b/backend/src/applications/files/schemas/files-content.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const FILES_CONTENT_TABLE_PREFIX = 'files_content_' as const
// The utf8mb4_uca1400_ai_ci COLLATE is better for precision but slower
diff --git a/backend/src/applications/files/schemas/files-recents.schema.ts b/backend/src/applications/files/schemas/files-recents.schema.ts
index 0672de40..66cb1502 100644
--- a/backend/src/applications/files/schemas/files-recents.schema.ts
+++ b/backend/src/applications/files/schemas/files-recents.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { bigint, index, mysqlTable, varchar } from 'drizzle-orm/mysql-core'
import { shares } from '../../shares/schemas/shares.schema'
import { spaces } from '../../spaces/schemas/spaces.schema'
diff --git a/backend/src/applications/files/schemas/files.schema.ts b/backend/src/applications/files/schemas/files.schema.ts
index edf7cceb..2b930a9f 100644
--- a/backend/src/applications/files/schemas/files.schema.ts
+++ b/backend/src/applications/files/schemas/files.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SQL, sql } from 'drizzle-orm'
import { AnyMySqlColumn, bigint, boolean, index, mysqlTable, varchar } from 'drizzle-orm/mysql-core'
import { escapeSQLRegexp } from '../../../common/functions'
diff --git a/backend/src/applications/files/services/files-content-manager.service.ts b/backend/src/applications/files/services/files-content-manager.service.ts
index 8f34ed44..79e66346 100644
--- a/backend/src/applications/files/services/files-content-manager.service.ts
+++ b/backend/src/applications/files/services/files-content-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import fs from 'fs/promises'
import { Stats } from 'node:fs'
diff --git a/backend/src/applications/files/services/files-lock-manager.service.spec.ts b/backend/src/applications/files/services/files-lock-manager.service.spec.ts
index e21c3f2a..b4570e59 100644
--- a/backend/src/applications/files/services/files-lock-manager.service.spec.ts
+++ b/backend/src/applications/files/services/files-lock-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../../infrastructure/cache/services/cache.service'
import { DB_TOKEN_PROVIDER } from '../../../infrastructure/database/constants'
diff --git a/backend/src/applications/files/services/files-lock-manager.service.ts b/backend/src/applications/files/services/files-lock-manager.service.ts
index 9698d313..30d0cdd8 100644
--- a/backend/src/applications/files/services/files-lock-manager.service.ts
+++ b/backend/src/applications/files/services/files-lock-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import crypto from 'node:crypto'
diff --git a/backend/src/applications/files/services/files-manager.service.spec.ts b/backend/src/applications/files/services/files-manager.service.spec.ts
index 7a86f5c4..eef29ebe 100644
--- a/backend/src/applications/files/services/files-manager.service.spec.ts
+++ b/backend/src/applications/files/services/files-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { Test, TestingModule } from '@nestjs/testing'
import { ContextManager } from '../../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/files/services/files-manager.service.ts b/backend/src/applications/files/services/files-manager.service.ts
index f6b16041..883c2d11 100644
--- a/backend/src/applications/files/services/files-manager.service.ts
+++ b/backend/src/applications/files/services/files-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { HttpStatus, Injectable, Logger } from '@nestjs/common'
import archiver, { Archiver, ArchiverError } from 'archiver'
diff --git a/backend/src/applications/files/services/files-methods.service.spec.ts b/backend/src/applications/files/services/files-methods.service.spec.ts
index 5d4c2a62..5c32debb 100644
--- a/backend/src/applications/files/services/files-methods.service.spec.ts
+++ b/backend/src/applications/files/services/files-methods.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import path from 'node:path'
import { transformAndValidate } from '../../../common/functions'
diff --git a/backend/src/applications/files/services/files-methods.service.ts b/backend/src/applications/files/services/files-methods.service.ts
index 9adc7b1c..2d33ee18 100644
--- a/backend/src/applications/files/services/files-methods.service.ts
+++ b/backend/src/applications/files/services/files-methods.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger, StreamableFile } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import path from 'node:path'
diff --git a/backend/src/applications/files/services/files-parser.service.spec.ts b/backend/src/applications/files/services/files-parser.service.spec.ts
index eec00511..be77d6a4 100644
--- a/backend/src/applications/files/services/files-parser.service.spec.ts
+++ b/backend/src/applications/files/services/files-parser.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { DB_TOKEN_PROVIDER } from '../../../infrastructure/database/constants'
import { FilesParser } from './files-parser.service'
diff --git a/backend/src/applications/files/services/files-parser.service.ts b/backend/src/applications/files/services/files-parser.service.ts
index d0df7d9f..8afab095 100644
--- a/backend/src/applications/files/services/files-parser.service.ts
+++ b/backend/src/applications/files/services/files-parser.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { and, eq, inArray, isNotNull, isNull, lte, or, sql } from 'drizzle-orm'
import path from 'node:path'
diff --git a/backend/src/applications/files/services/files-queries.service.ts b/backend/src/applications/files/services/files-queries.service.ts
index ad51c187..9eb35bde 100644
--- a/backend/src/applications/files/services/files-queries.service.ts
+++ b/backend/src/applications/files/services/files-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { and, desc, eq, getTableColumns, inArray, isNull, or, SelectedFields, sql, SQL } from 'drizzle-orm'
import { popFromObject } from '../../../common/shared'
diff --git a/backend/src/applications/files/services/files-recents.service.spec.ts b/backend/src/applications/files/services/files-recents.service.spec.ts
index 5f3aba25..0174d559 100644
--- a/backend/src/applications/files/services/files-recents.service.spec.ts
+++ b/backend/src/applications/files/services/files-recents.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { SharesQueries } from '../../shares/services/shares-queries.service'
import { SpacesQueries } from '../../spaces/services/spaces-queries.service'
diff --git a/backend/src/applications/files/services/files-recents.service.ts b/backend/src/applications/files/services/files-recents.service.ts
index fd7e5837..d41a7346 100644
--- a/backend/src/applications/files/services/files-recents.service.ts
+++ b/backend/src/applications/files/services/files-recents.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { convertDiffUpdate, convertHumanTimeToMs, diffCollection } from '../../../common/functions'
import { currentTimeStamp } from '../../../common/shared'
diff --git a/backend/src/applications/files/services/files-scheduler.service.ts b/backend/src/applications/files/services/files-scheduler.service.ts
index 174b2897..8153e1c1 100644
--- a/backend/src/applications/files/services/files-scheduler.service.ts
+++ b/backend/src/applications/files/services/files-scheduler.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { Cron, CronExpression, Timeout } from '@nestjs/schedule'
import { isNotNull, sql } from 'drizzle-orm'
diff --git a/backend/src/applications/files/services/files-search-manager.service.spec.ts b/backend/src/applications/files/services/files-search-manager.service.spec.ts
index 7b77cbfe..95b99383 100644
--- a/backend/src/applications/files/services/files-search-manager.service.spec.ts
+++ b/backend/src/applications/files/services/files-search-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { SharesQueries } from '../../shares/services/shares-queries.service'
import { SpacesQueries } from '../../spaces/services/spaces-queries.service'
diff --git a/backend/src/applications/files/services/files-search-manager.service.ts b/backend/src/applications/files/services/files-search-manager.service.ts
index 904093b5..e6ac10b0 100644
--- a/backend/src/applications/files/services/files-search-manager.service.ts
+++ b/backend/src/applications/files/services/files-search-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import fs from 'fs/promises'
import { Stats } from 'node:fs'
diff --git a/backend/src/applications/files/services/files-tasks-manager.service.spec.ts b/backend/src/applications/files/services/files-tasks-manager.service.spec.ts
index e49e488a..947a957c 100644
--- a/backend/src/applications/files/services/files-tasks-manager.service.spec.ts
+++ b/backend/src/applications/files/services/files-tasks-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../../infrastructure/cache/services/cache.service'
import { SpacesManager } from '../../spaces/services/spaces-manager.service'
diff --git a/backend/src/applications/files/services/files-tasks-manager.service.ts b/backend/src/applications/files/services/files-tasks-manager.service.ts
index 3d93a0fc..6c5b9d80 100644
--- a/backend/src/applications/files/services/files-tasks-manager.service.ts
+++ b/backend/src/applications/files/services/files-tasks-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger, StreamableFile } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import crypto from 'node:crypto'
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/excel.ts b/backend/src/applications/files/utils/doc-textify/adapters/excel.ts
index 8e26887b..aeb0a89b 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/excel.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/excel.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { promisify } from 'node:util'
import sax from 'sax'
import { open as openZip, Options, ZipFile } from 'yauzl'
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/html.ts b/backend/src/applications/files/utils/doc-textify/adapters/html.ts
index a9d787c0..df913dac 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/html.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/html.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fs from 'fs/promises'
import { compile } from 'html-to-text'
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts b/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts
index 056553ce..125e5823 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/open-office.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { promisify } from 'node:util'
import sax from 'sax'
import { Entry, open as openZip, Options, ZipFile } from 'yauzl'
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/pdf.ts b/backend/src/applications/files/utils/doc-textify/adapters/pdf.ts
index a2d7196a..b97c960e 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/pdf.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/pdf.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { readFile } from 'node:fs/promises'
import { getDocumentProxy } from 'unpdf'
import type { PDFDocumentProxy } from 'unpdf/pdfjs'
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts b/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts
index 95c6a2b8..bdcde674 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/power-point.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { promisify } from 'node:util'
import sax from 'sax'
import { Entry, open as openZip, Options, ZipFile } from 'yauzl'
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/text.ts b/backend/src/applications/files/utils/doc-textify/adapters/text.ts
index 3033d3ae..959cac14 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/text.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/text.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fs from 'fs/promises'
export async function parseText(filePath: string): Promise<string> {
diff --git a/backend/src/applications/files/utils/doc-textify/adapters/word.ts b/backend/src/applications/files/utils/doc-textify/adapters/word.ts
index b93154b2..34fcfb92 100644
--- a/backend/src/applications/files/utils/doc-textify/adapters/word.ts
+++ b/backend/src/applications/files/utils/doc-textify/adapters/word.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { promisify } from 'node:util'
import sax from 'sax'
import { Entry, open as openZip, Options, ZipFile } from 'yauzl'
diff --git a/backend/src/applications/files/utils/doc-textify/doc-textify.ts b/backend/src/applications/files/utils/doc-textify/doc-textify.ts
index 314d38b0..473c7ae5 100644
--- a/backend/src/applications/files/utils/doc-textify/doc-textify.ts
+++ b/backend/src/applications/files/utils/doc-textify/doc-textify.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fs from 'node:fs/promises'
import path from 'node:path'
import { parseExcel } from './adapters/excel'
diff --git a/backend/src/applications/files/utils/doc-textify/interfaces/doc-textify.interfaces.ts b/backend/src/applications/files/utils/doc-textify/interfaces/doc-textify.interfaces.ts
index d3560f91..9a298f83 100644
--- a/backend/src/applications/files/utils/doc-textify/interfaces/doc-textify.interfaces.ts
+++ b/backend/src/applications/files/utils/doc-textify/interfaces/doc-textify.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface DocTextifyOptions {
outputErrorToConsole?: boolean
newlineDelimiter: string
diff --git a/backend/src/applications/files/utils/doc-textify/utils/clean.ts b/backend/src/applications/files/utils/doc-textify/utils/clean.ts
index 2a3f24da..0fdf4523 100644
--- a/backend/src/applications/files/utils/doc-textify/utils/clean.ts
+++ b/backend/src/applications/files/utils/doc-textify/utils/clean.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { DocTextifyOptions } from '../interfaces/doc-textify.interfaces'
const regexAlphanumeric = /[a-zA-Z0-9]/
diff --git a/backend/src/applications/files/utils/files-search.ts b/backend/src/applications/files/utils/files-search.ts
index 6833dc83..b9dab0ee 100644
--- a/backend/src/applications/files/utils/files-search.ts
+++ b/backend/src/applications/files/utils/files-search.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { escapeString } from '../../../common/functions'
import { minCharsToSearch } from '../constants/indexing'
diff --git a/backend/src/applications/files/utils/files-tree.ts b/backend/src/applications/files/utils/files-tree.ts
index 501a3f1f..8e306afe 100644
--- a/backend/src/applications/files/utils/files-tree.ts
+++ b/backend/src/applications/files/utils/files-tree.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import path from 'node:path'
import { sortObjByName } from '../../../common/functions'
import { SHARE_ALL_OPERATIONS } from '../../shares/constants/shares'
diff --git a/backend/src/applications/files/utils/files.ts b/backend/src/applications/files/utils/files.ts
index 8f478138..1c832389 100644
--- a/backend/src/applications/files/utils/files.ts
+++ b/backend/src/applications/files/utils/files.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpStatus } from '@nestjs/common'
import { WriteStream } from 'fs'
import fse from 'fs-extra'
diff --git a/backend/src/applications/files/utils/send-file.ts b/backend/src/applications/files/utils/send-file.ts
index 3e4a095f..2776fc65 100644
--- a/backend/src/applications/files/utils/send-file.ts
+++ b/backend/src/applications/files/utils/send-file.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { send, SendOptions, SendResult } from '@fastify/send'
import { HttpStatus, StreamableFile } from '@nestjs/common'
import { FastifyReply, FastifyRequest } from 'fastify'
diff --git a/backend/src/applications/files/utils/unzip-file.ts b/backend/src/applications/files/utils/unzip-file.ts
index 33da35a8..6fe65e63 100644
--- a/backend/src/applications/files/utils/unzip-file.ts
+++ b/backend/src/applications/files/utils/unzip-file.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fs from 'node:fs'
import path from 'node:path'
import { promisify } from 'node:util'
diff --git a/backend/src/applications/files/utils/url-file.ts b/backend/src/applications/files/utils/url-file.ts
index f4fe8569..f613a8f2 100644
--- a/backend/src/applications/files/utils/url-file.ts
+++ b/backend/src/applications/files/utils/url-file.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
const parts = [
// IPv4 loopback (127.0.0.0/8)
'127\\.(?:\\d{1,3}\\.){2}\\d{1,3}',
diff --git a/backend/src/applications/links/constants/cache.ts b/backend/src/applications/links/constants/cache.ts
index 4b4dd192..f4d1cd2b 100644
--- a/backend/src/applications/links/constants/cache.ts
+++ b/backend/src/applications/links/constants/cache.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// cache link key = `link-uuid-${userId}-${uuid}` => ${uuid}
export const CACHE_LINK_UUID_PREFIX = 'link-uuid'
export const CACHE_LINK_UUID_TTL = 900 // 15 minutes
diff --git a/backend/src/applications/links/constants/links.ts b/backend/src/applications/links/constants/links.ts
index 955e14cd..2a797114 100644
--- a/backend/src/applications/links/constants/links.ts
+++ b/backend/src/applications/links/constants/links.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const LINK_ERROR = {
UNAUTHORIZED: 'unauthorized',
DISABLED: 'disabled',
diff --git a/backend/src/applications/links/constants/routes.ts b/backend/src/applications/links/constants/routes.ts
index f71c624d..26238ccb 100644
--- a/backend/src/applications/links/constants/routes.ts
+++ b/backend/src/applications/links/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { APP_BASE_ROUTE } from '../../applications.constants'
export const PUBLIC_LINKS_ROUTE = {
diff --git a/backend/src/applications/links/dto/create-or-update-link.dto.ts b/backend/src/applications/links/dto/create-or-update-link.dto.ts
index e99a6a03..84fc5b95 100644
--- a/backend/src/applications/links/dto/create-or-update-link.dto.ts
+++ b/backend/src/applications/links/dto/create-or-update-link.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsBoolean, IsDate, IsOptional, IsString, MinLength } from 'class-validator'
import { currentDate } from '../../../common/shared'
diff --git a/backend/src/applications/links/interfaces/link-guest.interface.ts b/backend/src/applications/links/interfaces/link-guest.interface.ts
index 147a8871..4d888c63 100644
--- a/backend/src/applications/links/interfaces/link-guest.interface.ts
+++ b/backend/src/applications/links/interfaces/link-guest.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { ShareMembers } from '../../shares/schemas/share-members.interface'
import type { User } from '../../users/schemas/user.interface'
import type { Link } from '../schemas/link.interface'
diff --git a/backend/src/applications/links/interfaces/link-space.interface.ts b/backend/src/applications/links/interfaces/link-space.interface.ts
index bd904bd6..aa361100 100644
--- a/backend/src/applications/links/interfaces/link-space.interface.ts
+++ b/backend/src/applications/links/interfaces/link-space.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileEditorProvider } from '../../../configuration/config.interfaces'
export interface SpaceLink {
diff --git a/backend/src/applications/links/links.controller.spec.ts b/backend/src/applications/links/links.controller.spec.ts
index 02bf85d3..3ecf0f1f 100644
--- a/backend/src/applications/links/links.controller.spec.ts
+++ b/backend/src/applications/links/links.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { StreamableFile } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { LinksController } from './links.controller'
diff --git a/backend/src/applications/links/links.controller.ts b/backend/src/applications/links/links.controller.ts
index 945ced35..06ed9d1f 100644
--- a/backend/src/applications/links/links.controller.ts
+++ b/backend/src/applications/links/links.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Get, Param, Post, Req, Res, StreamableFile } from '@nestjs/common'
import { FastifyReply, FastifyRequest } from 'fastify'
import { AuthTokenOptional } from '../../authentication/decorators/auth-token-optional.decorator'
diff --git a/backend/src/applications/links/schemas/link.interface.ts b/backend/src/applications/links/schemas/link.interface.ts
index 455d43ea..9344353b 100644
--- a/backend/src/applications/links/schemas/link.interface.ts
+++ b/backend/src/applications/links/schemas/link.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { links } from './links.schema'
type LinkSchema = typeof links.$inferSelect
diff --git a/backend/src/applications/links/schemas/links.schema.ts b/backend/src/applications/links/schemas/links.schema.ts
index 433eb24e..536f9746 100644
--- a/backend/src/applications/links/schemas/links.schema.ts
+++ b/backend/src/applications/links/schemas/links.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, boolean, date, datetime, index, int, mysqlTable, uniqueIndex, varchar } from 'drizzle-orm/mysql-core'
import { users } from '../../users/schemas/users.schema'
diff --git a/backend/src/applications/links/services/links-manager.service.spec.ts b/backend/src/applications/links/services/links-manager.service.spec.ts
index 9073f8a5..32c3cbc5 100644
--- a/backend/src/applications/links/services/links-manager.service.spec.ts
+++ b/backend/src/applications/links/services/links-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { ConfigService } from '@nestjs/config'
import { JwtService } from '@nestjs/jwt'
diff --git a/backend/src/applications/links/services/links-manager.service.ts b/backend/src/applications/links/services/links-manager.service.ts
index 4538af48..e9fe29f9 100644
--- a/backend/src/applications/links/services/links-manager.service.ts
+++ b/backend/src/applications/links/services/links-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger, StreamableFile } from '@nestjs/common'
import { FastifyReply, FastifyRequest } from 'fastify'
import { AuthManager } from '../../../authentication/auth.service'
diff --git a/backend/src/applications/links/services/links-queries.service.ts b/backend/src/applications/links/services/links-queries.service.ts
index 103a33ba..2a91f683 100644
--- a/backend/src/applications/links/services/links-queries.service.ts
+++ b/backend/src/applications/links/services/links-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable } from '@nestjs/common'
import { and, eq, getTableColumns, isNotNull, isNull, or, sql } from 'drizzle-orm'
import { alias } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/notifications/constants/notifications.ts b/backend/src/applications/notifications/constants/notifications.ts
index e79dae27..bb1eb39d 100644
--- a/backend/src/applications/notifications/constants/notifications.ts
+++ b/backend/src/applications/notifications/constants/notifications.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ACTION } from '../../../common/constants'
export enum NOTIFICATION_APP {
diff --git a/backend/src/applications/notifications/constants/routes.ts b/backend/src/applications/notifications/constants/routes.ts
index 81dd9fa2..3ee2218e 100644
--- a/backend/src/applications/notifications/constants/routes.ts
+++ b/backend/src/applications/notifications/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { APP_BASE_ROUTE } from '../../applications.constants'
export const NOTIFICATIONS_ROUTE = {
diff --git a/backend/src/applications/notifications/constants/websocket.ts b/backend/src/applications/notifications/constants/websocket.ts
index 6dacfae1..7af3596a 100644
--- a/backend/src/applications/notifications/constants/websocket.ts
+++ b/backend/src/applications/notifications/constants/websocket.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const NOTIFICATIONS_WS = {
NAME_SPACE: '/',
EVENTS: { NOTIFICATION: 'notification' }
diff --git a/backend/src/applications/notifications/i18n/de.ts b/backend/src/applications/notifications/i18n/de.ts
index 76e4f012..d75be0ef 100644
--- a/backend/src/applications/notifications/i18n/de.ts
+++ b/backend/src/applications/notifications/i18n/de.ts
@@ -1,14 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const de = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Wenn Sie keine Benachrichtigungen mehr erhalten möchten, ändern Sie Ihre Einstellungen direkt in Ihrem Benutzerbereich.',
diff --git a/backend/src/applications/notifications/i18n/es.ts b/backend/src/applications/notifications/i18n/es.ts
index d174ded6..33ea5315 100644
--- a/backend/src/applications/notifications/i18n/es.ts
+++ b/backend/src/applications/notifications/i18n/es.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const es = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Si ya no desea recibir notificaciones, cambie sus preferencias directamente desde su espacio de usuario.',
diff --git a/backend/src/applications/notifications/i18n/fr.ts b/backend/src/applications/notifications/i18n/fr.ts
index f5bb0f3a..2e17e384 100644
--- a/backend/src/applications/notifications/i18n/fr.ts
+++ b/backend/src/applications/notifications/i18n/fr.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const fr = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Si vous ne souhaitez plus recevoir de notifications, modifiez vos préferences directement depuis votre espace utilisateur.',
diff --git a/backend/src/applications/notifications/i18n/hi.ts b/backend/src/applications/notifications/i18n/hi.ts
index 0c12d16f..9162538d 100644
--- a/backend/src/applications/notifications/i18n/hi.ts
+++ b/backend/src/applications/notifications/i18n/hi.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const hi = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'यदि आप अब सूचनाएँ प्राप्त नहीं करना चाहते हैं, तो अपने उपयोगकर्ता क्षेत्र से सीधे अपनी प्राथमिकताएँ बदलें।',
diff --git a/backend/src/applications/notifications/i18n/index.ts b/backend/src/applications/notifications/i18n/index.ts
index 7b6e728b..841ab442 100644
--- a/backend/src/applications/notifications/i18n/index.ts
+++ b/backend/src/applications/notifications/i18n/index.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { i18nLocale } from '../../../common/i18n'
import { de } from './de'
import { es } from './es'
diff --git a/backend/src/applications/notifications/i18n/it.ts b/backend/src/applications/notifications/i18n/it.ts
index 229b2298..740eb587 100644
--- a/backend/src/applications/notifications/i18n/it.ts
+++ b/backend/src/applications/notifications/i18n/it.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const it = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Se non desideri più ricevere notifiche, modifica le tue preferenze direttamente dalla tua area utente.',
diff --git a/backend/src/applications/notifications/i18n/ja.ts b/backend/src/applications/notifications/i18n/ja.ts
index 2ff0ba78..32f8a636 100644
--- a/backend/src/applications/notifications/i18n/ja.ts
+++ b/backend/src/applications/notifications/i18n/ja.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const ja = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'通知の受信を希望しない場合は、ユーザー用スペースから直接設定を変更してください。',
diff --git a/backend/src/applications/notifications/i18n/ko.ts b/backend/src/applications/notifications/i18n/ko.ts
index 2ead493a..b45a23b2 100644
--- a/backend/src/applications/notifications/i18n/ko.ts
+++ b/backend/src/applications/notifications/i18n/ko.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const ko = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'더 이상 알림을 받고 싶지 않다면, 사용자 공간에서 바로 환경설정을 변경하세요.',
diff --git a/backend/src/applications/notifications/i18n/pl.ts b/backend/src/applications/notifications/i18n/pl.ts
index ff658fdd..125f482c 100644
--- a/backend/src/applications/notifications/i18n/pl.ts
+++ b/backend/src/applications/notifications/i18n/pl.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const pl = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Jeśli nie chcesz już otrzymywać powiadomień, zmień swoje preferencje bezpośrednio w przestrzeni użytkownika.',
diff --git a/backend/src/applications/notifications/i18n/pt.ts b/backend/src/applications/notifications/i18n/pt.ts
index 4347e9fe..8e51f73a 100644
--- a/backend/src/applications/notifications/i18n/pt.ts
+++ b/backend/src/applications/notifications/i18n/pt.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const pt = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Se já não deseja receber notificações, altere as suas preferências diretamente no seu espaço de utilizador.',
diff --git a/backend/src/applications/notifications/i18n/pt_br.ts b/backend/src/applications/notifications/i18n/pt_br.ts
index 63f8b774..6f3b66fd 100644
--- a/backend/src/applications/notifications/i18n/pt_br.ts
+++ b/backend/src/applications/notifications/i18n/pt_br.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const pt_BR = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Se você não deseja mais receber notificações, altere suas preferências diretamente no seu espaço do usuário.',
diff --git a/backend/src/applications/notifications/i18n/ru.ts b/backend/src/applications/notifications/i18n/ru.ts
index f311c7a9..2eaf6bd5 100644
--- a/backend/src/applications/notifications/i18n/ru.ts
+++ b/backend/src/applications/notifications/i18n/ru.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
export const ru = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Если вы больше не хотите получать уведомления, измените настройки прямо в вашем пользовательском пространстве.',
diff --git a/backend/src/applications/notifications/i18n/tr.ts b/backend/src/applications/notifications/i18n/tr.ts
index fe8fb6d7..97a36209 100644
--- a/backend/src/applications/notifications/i18n/tr.ts
+++ b/backend/src/applications/notifications/i18n/tr.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const tr = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'Artık bildirim almak istemiyorsanız, kullanıcı alanınızdan doğrudan tercihlerinizi değiştirin.',
diff --git a/backend/src/applications/notifications/i18n/zh.ts b/backend/src/applications/notifications/i18n/zh.ts
index 3f0b5b5e..15cc8594 100644
--- a/backend/src/applications/notifications/i18n/zh.ts
+++ b/backend/src/applications/notifications/i18n/zh.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const zh = {
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
'如果您不再希望接收通知,请在您的用户空间中直接更改偏好设置。',
diff --git a/backend/src/applications/notifications/interfaces/notification-properties.interface.ts b/backend/src/applications/notifications/interfaces/notification-properties.interface.ts
index 9d29bb66..9194303e 100644
--- a/backend/src/applications/notifications/interfaces/notification-properties.interface.ts
+++ b/backend/src/applications/notifications/interfaces/notification-properties.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { ACTION } from '../../../common/constants'
import type { Owner } from '../../users/interfaces/owner.interface'
import type { UserModel } from '../../users/models/user.model'
diff --git a/backend/src/applications/notifications/interfaces/user-mail-notification.interface.ts b/backend/src/applications/notifications/interfaces/user-mail-notification.interface.ts
index 499cb556..5b645b5f 100644
--- a/backend/src/applications/notifications/interfaces/user-mail-notification.interface.ts
+++ b/backend/src/applications/notifications/interfaces/user-mail-notification.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { USER_NOTIFICATION } from '../../users/constants/user'
export interface UserMailNotification {
diff --git a/backend/src/applications/notifications/mails/models.ts b/backend/src/applications/notifications/mails/models.ts
index cc8c4a8a..0480522a 100644
--- a/backend/src/applications/notifications/mails/models.ts
+++ b/backend/src/applications/notifications/mails/models.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ACTION } from '../../../common/constants'
import { i18nLocale } from '../../../common/i18n'
import { capitalizeString, SERVER_NAME } from '../../../common/shared'
diff --git a/backend/src/applications/notifications/mails/templates.ts b/backend/src/applications/notifications/mails/templates.ts
index f78c9691..bb38a408 100644
--- a/backend/src/applications/notifications/mails/templates.ts
+++ b/backend/src/applications/notifications/mails/templates.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { capitalizeString } from '../../../common/shared'
import { UserModel } from '../../users/models/user.model'
diff --git a/backend/src/applications/notifications/mails/urls.ts b/backend/src/applications/notifications/mails/urls.ts
index e97b932e..25a5da92 100644
--- a/backend/src/applications/notifications/mails/urls.ts
+++ b/backend/src/applications/notifications/mails/urls.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { PUBLIC_LINKS_ROUTE } from '../../links/constants/routes'
import { SPACES_BASE_ROUTE } from '../../spaces/constants/routes'
import { SYNC_BASE_ROUTE } from '../../sync/constants/routes'
diff --git a/backend/src/applications/notifications/notifications.controller.spec.ts b/backend/src/applications/notifications/notifications.controller.spec.ts
index c52c63fa..ab0780ca 100644
--- a/backend/src/applications/notifications/notifications.controller.spec.ts
+++ b/backend/src/applications/notifications/notifications.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { NotificationsController } from './notifications.controller'
import { NotificationsManager } from './services/notifications-manager.service'
diff --git a/backend/src/applications/notifications/notifications.controller.ts b/backend/src/applications/notifications/notifications.controller.ts
index 6029e57b..7a8565a9 100644
--- a/backend/src/applications/notifications/notifications.controller.ts
+++ b/backend/src/applications/notifications/notifications.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Controller, Delete, Get, Param, ParseIntPipe, Patch } from '@nestjs/common'
import { GetUser } from '../users/decorators/user.decorator'
import type { UserModel } from '../users/models/user.model'
diff --git a/backend/src/applications/notifications/notifications.gateway.ts b/backend/src/applications/notifications/notifications.gateway.ts
index 6b5681d8..c3a748cc 100644
--- a/backend/src/applications/notifications/notifications.gateway.ts
+++ b/backend/src/applications/notifications/notifications.gateway.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { WebSocketGateway, WebSocketServer } from '@nestjs/websockets'
import { Server } from 'socket.io'
import { USER_ROOM_PREFIX } from '../users/constants/websocket'
diff --git a/backend/src/applications/notifications/notifications.module.ts b/backend/src/applications/notifications/notifications.module.ts
index bddf1b3d..b971999e 100644
--- a/backend/src/applications/notifications/notifications.module.ts
+++ b/backend/src/applications/notifications/notifications.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { NotificationsController } from './notifications.controller'
import { WebSocketNotifications } from './notifications.gateway'
diff --git a/backend/src/applications/notifications/schemas/notification.interface.ts b/backend/src/applications/notifications/schemas/notification.interface.ts
index ce53b641..4f496263 100644
--- a/backend/src/applications/notifications/schemas/notification.interface.ts
+++ b/backend/src/applications/notifications/schemas/notification.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NotificationContent } from '../interfaces/notification-properties.interface'
import { notifications } from './notifications.schema'
diff --git a/backend/src/applications/notifications/schemas/notifications.schema.ts b/backend/src/applications/notifications/schemas/notifications.schema.ts
index f9e4cd52..a3787aa1 100644
--- a/backend/src/applications/notifications/schemas/notifications.schema.ts
+++ b/backend/src/applications/notifications/schemas/notifications.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, boolean, datetime, index, mysqlTable } from 'drizzle-orm/mysql-core'
import { jsonColumn } from '../../../infrastructure/database/columns'
diff --git a/backend/src/applications/notifications/services/notifications-manager.service.spec.ts b/backend/src/applications/notifications/services/notifications-manager.service.spec.ts
index d253cda5..6a7ae101 100644
--- a/backend/src/applications/notifications/services/notifications-manager.service.spec.ts
+++ b/backend/src/applications/notifications/services/notifications-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Mailer } from '../../../infrastructure/mailer/mailer.service'
import { USER_NOTIFICATION } from '../../users/constants/user'
diff --git a/backend/src/applications/notifications/services/notifications-manager.service.ts b/backend/src/applications/notifications/services/notifications-manager.service.ts
index 638e5728..2b3d1369 100644
--- a/backend/src/applications/notifications/services/notifications-manager.service.ts
+++ b/backend/src/applications/notifications/services/notifications-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import { i18nLocale } from '../../../common/i18n'
import { MailProps } from '../../../infrastructure/mailer/interfaces/mail.interface'
diff --git a/backend/src/applications/notifications/services/notifications-queries.service.ts b/backend/src/applications/notifications/services/notifications-queries.service.ts
index 7b97991b..82de6db8 100644
--- a/backend/src/applications/notifications/services/notifications-queries.service.ts
+++ b/backend/src/applications/notifications/services/notifications-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable } from '@nestjs/common'
import { and, desc, eq, inArray, SelectedFields, SQL } from 'drizzle-orm'
import { DB_TOKEN_PROVIDER } from '../../../infrastructure/database/constants'
diff --git a/backend/src/applications/shares/constants/routes.ts b/backend/src/applications/shares/constants/routes.ts
index 81bee5fe..6de4e10e 100644
--- a/backend/src/applications/shares/constants/routes.ts
+++ b/backend/src/applications/shares/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { APP_BASE_ROUTE } from '../../applications.constants'
export const SHARES_ROUTE = {
diff --git a/backend/src/applications/shares/constants/shares.ts b/backend/src/applications/shares/constants/shares.ts
index faa4c8a6..bfd38bde 100644
--- a/backend/src/applications/shares/constants/shares.ts
+++ b/backend/src/applications/shares/constants/shares.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACE_OPERATION, SPACE_PERMS_SEP } from '../../spaces/constants/spaces'
export enum SHARE_TYPE {
diff --git a/backend/src/applications/shares/dto/create-or-update-share.dto.ts b/backend/src/applications/shares/dto/create-or-update-share.dto.ts
index 5914a24d..8ffb5479 100644
--- a/backend/src/applications/shares/dto/create-or-update-share.dto.ts
+++ b/backend/src/applications/shares/dto/create-or-update-share.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import { IsArray, IsBoolean, IsEnum, IsInt, IsNotEmpty, IsOptional, IsString, ValidateIf, ValidateNested } from 'class-validator'
import { FileSpace } from '../../files/interfaces/file-space.interface'
diff --git a/backend/src/applications/shares/interfaces/share-child.interface.ts b/backend/src/applications/shares/interfaces/share-child.interface.ts
index cb2ad03f..a2338964 100644
--- a/backend/src/applications/shares/interfaces/share-child.interface.ts
+++ b/backend/src/applications/shares/interfaces/share-child.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { Share } from '../schemas/share.interface'
export interface ShareChildQuery extends Pick<Share, 'id' | 'parentId' | 'type' | 'alias' | 'name'> {
diff --git a/backend/src/applications/shares/interfaces/share-env.interface.ts b/backend/src/applications/shares/interfaces/share-env.interface.ts
index 7980f113..b8352c69 100644
--- a/backend/src/applications/shares/interfaces/share-env.interface.ts
+++ b/backend/src/applications/shares/interfaces/share-env.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SpaceEnv } from '../../spaces/models/space-env.model'
export interface ShareEnv extends Partial<SpaceEnv> {
diff --git a/backend/src/applications/shares/interfaces/share-file.interface.ts b/backend/src/applications/shares/interfaces/share-file.interface.ts
index 518611f7..c66e6427 100644
--- a/backend/src/applications/shares/interfaces/share-file.interface.ts
+++ b/backend/src/applications/shares/interfaces/share-file.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileSpace } from '../../files/interfaces/file-space.interface'
import type { Share } from '../schemas/share.interface'
diff --git a/backend/src/applications/shares/interfaces/share-link.interface.ts b/backend/src/applications/shares/interfaces/share-link.interface.ts
index 5d63fd6c..c3541896 100644
--- a/backend/src/applications/shares/interfaces/share-link.interface.ts
+++ b/backend/src/applications/shares/interfaces/share-link.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileSpace } from '../../files/interfaces/file-space.interface'
import type { LinkGuest } from '../../links/interfaces/link-guest.interface'
import type { Share } from '../schemas/share.interface'
diff --git a/backend/src/applications/shares/interfaces/share-props.interface.ts b/backend/src/applications/shares/interfaces/share-props.interface.ts
index 950a4f4f..819b839f 100644
--- a/backend/src/applications/shares/interfaces/share-props.interface.ts
+++ b/backend/src/applications/shares/interfaces/share-props.interface.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import type { FileSpace } from '../../files/interfaces/file-space.interface'
import type { Member } from '../../users/interfaces/member.interface'
import type { Share } from '../schemas/share.interface'
diff --git a/backend/src/applications/shares/models/share-child.model.ts b/backend/src/applications/shares/models/share-child.model.ts
index 2cdbb43e..9a98e8b7 100644
--- a/backend/src/applications/shares/models/share-child.model.ts
+++ b/backend/src/applications/shares/models/share-child.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { popFromObject } from '../../../common/shared'
import type { Owner } from '../../users/interfaces/owner.interface'
import type { ShareChildQuery } from '../interfaces/share-child.interface'
diff --git a/backend/src/applications/shares/schemas/share-members.interface.ts b/backend/src/applications/shares/schemas/share-members.interface.ts
index 00114f52..3fad0124 100644
--- a/backend/src/applications/shares/schemas/share-members.interface.ts
+++ b/backend/src/applications/shares/schemas/share-members.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { sharesMembers } from './shares-members.schema'
type ShareMembersSchema = typeof sharesMembers.$inferSelect
diff --git a/backend/src/applications/shares/schemas/share.interface.ts b/backend/src/applications/shares/schemas/share.interface.ts
index 7b94d3e9..f831900e 100644
--- a/backend/src/applications/shares/schemas/share.interface.ts
+++ b/backend/src/applications/shares/schemas/share.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { shares } from './shares.schema'
type ShareSchema = typeof shares.$inferSelect
diff --git a/backend/src/applications/shares/schemas/shares-members.schema.ts b/backend/src/applications/shares/schemas/shares-members.schema.ts
index df4681e1..29aa9038 100644
--- a/backend/src/applications/shares/schemas/shares-members.schema.ts
+++ b/backend/src/applications/shares/schemas/shares-members.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, datetime, index, mysqlTable, unique, varchar } from 'drizzle-orm/mysql-core'
import { links } from '../../links/schemas/links.schema'
diff --git a/backend/src/applications/shares/schemas/shares.schema.ts b/backend/src/applications/shares/schemas/shares.schema.ts
index c4ded410..69827eb4 100644
--- a/backend/src/applications/shares/schemas/shares.schema.ts
+++ b/backend/src/applications/shares/schemas/shares.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { AnyMySqlColumn, bigint, boolean, datetime, index, mysqlTable, tinyint, uniqueIndex, varchar } from 'drizzle-orm/mysql-core'
import { files } from '../../files/schemas/files.schema'
diff --git a/backend/src/applications/shares/services/shares-manager.service.spec.ts b/backend/src/applications/shares/services/shares-manager.service.spec.ts
index a7a974fe..3686b8ad 100644
--- a/backend/src/applications/shares/services/shares-manager.service.spec.ts
+++ b/backend/src/applications/shares/services/shares-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import * as commonFunctions from '../../../common/functions'
diff --git a/backend/src/applications/shares/services/shares-manager.service.ts b/backend/src/applications/shares/services/shares-manager.service.ts
index 9d8f85f0..f237c103 100644
--- a/backend/src/applications/shares/services/shares-manager.service.ts
+++ b/backend/src/applications/shares/services/shares-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import path from 'node:path'
import { ACTION } from '../../../common/constants'
diff --git a/backend/src/applications/shares/services/shares-queries.service.ts b/backend/src/applications/shares/services/shares-queries.service.ts
index 3a3c127a..501c706b 100644
--- a/backend/src/applications/shares/services/shares-queries.service.ts
+++ b/backend/src/applications/shares/services/shares-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { and, count, eq, inArray, isNotNull, isNull, ne, or, SelectedFields, SQL, sql } from 'drizzle-orm'
import { alias, MySqlSelectDynamic, union } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/shares/shares.controller.spec.ts b/backend/src/applications/shares/shares.controller.spec.ts
index 44ec04b1..45aa0011 100644
--- a/backend/src/applications/shares/shares.controller.spec.ts
+++ b/backend/src/applications/shares/shares.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../infrastructure/cache/services/cache.service'
import { ContextManager } from '../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/shares/shares.controller.ts b/backend/src/applications/shares/shares.controller.ts
index 64d7e63c..fde363e1 100644
--- a/backend/src/applications/shares/shares.controller.ts
+++ b/backend/src/applications/shares/shares.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Delete, Get, Param, ParseIntPipe, Post, Put, UseGuards, UseInterceptors } from '@nestjs/common'
import { ContextInterceptor } from '../../infrastructure/context/interceptors/context.interceptor'
import { LINK_TYPE } from '../links/constants/links'
diff --git a/backend/src/applications/shares/shares.module.ts b/backend/src/applications/shares/shares.module.ts
index 24a689aa..5021dd95 100644
--- a/backend/src/applications/shares/shares.module.ts
+++ b/backend/src/applications/shares/shares.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { LinksController } from '../links/links.controller'
import { LinksManager } from '../links/services/links-manager.service'
diff --git a/backend/src/applications/spaces/constants/cache.ts b/backend/src/applications/spaces/constants/cache.ts
index 02eaf6c3..bf57bff2 100644
--- a/backend/src/applications/spaces/constants/cache.ts
+++ b/backend/src/applications/spaces/constants/cache.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// cache quota key = `(quota-user|quota-space)-${id}` => number
export const CACHE_QUOTA_USER_PREFIX = 'quota-user'
export const CACHE_QUOTA_SPACE_PREFIX = 'quota-space'
diff --git a/backend/src/applications/spaces/constants/routes.ts b/backend/src/applications/spaces/constants/routes.ts
index fb6b31ea..9cb21f7c 100644
--- a/backend/src/applications/spaces/constants/routes.ts
+++ b/backend/src/applications/spaces/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { APP_BASE_ROUTE } from '../../applications.constants'
import { SPACE_REPOSITORY } from './spaces'
diff --git a/backend/src/applications/spaces/constants/spaces.ts b/backend/src/applications/spaces/constants/spaces.ts
index d3bc3684..917bef06 100644
--- a/backend/src/applications/spaces/constants/spaces.ts
+++ b/backend/src/applications/spaces/constants/spaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const SPACE_MAX_DISABLED_DAYS = 30 //days
export const SPACE_PERMS_SEP = ':'
diff --git a/backend/src/applications/spaces/decorators/space-override-permission.decorator.ts b/backend/src/applications/spaces/decorators/space-override-permission.decorator.ts
index bd97b3b4..63326594 100644
--- a/backend/src/applications/spaces/decorators/space-override-permission.decorator.ts
+++ b/backend/src/applications/spaces/decorators/space-override-permission.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Reflector } from '@nestjs/core'
import { SPACE_OPERATION } from '../constants/spaces'
diff --git a/backend/src/applications/spaces/decorators/space-skip-guard.decorator.ts b/backend/src/applications/spaces/decorators/space-skip-guard.decorator.ts
index d1103902..028ee461 100644
--- a/backend/src/applications/spaces/decorators/space-skip-guard.decorator.ts
+++ b/backend/src/applications/spaces/decorators/space-skip-guard.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SetMetadata } from '@nestjs/common'
export const SKIP_SPACE_GUARD = 'skipSpaceGuard'
diff --git a/backend/src/applications/spaces/decorators/space-skip-permissions.decorator.ts b/backend/src/applications/spaces/decorators/space-skip-permissions.decorator.ts
index 76a73096..edf32dae 100644
--- a/backend/src/applications/spaces/decorators/space-skip-permissions.decorator.ts
+++ b/backend/src/applications/spaces/decorators/space-skip-permissions.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SetMetadata } from '@nestjs/common'
export const SKIP_SPACE_PERMISSIONS_CHECK = 'skipSpacePermissionsCheck'
diff --git a/backend/src/applications/spaces/decorators/space.decorator.ts b/backend/src/applications/spaces/decorators/space.decorator.ts
index bfd2088b..f235ce29 100644
--- a/backend/src/applications/spaces/decorators/space.decorator.ts
+++ b/backend/src/applications/spaces/decorators/space.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createParamDecorator, ExecutionContext } from '@nestjs/common'
import { SpaceEnv } from '../models/space-env.model'
diff --git a/backend/src/applications/spaces/dto/create-or-update-space.dto.ts b/backend/src/applications/spaces/dto/create-or-update-space.dto.ts
index be2e0333..2db50e71 100644
--- a/backend/src/applications/spaces/dto/create-or-update-space.dto.ts
+++ b/backend/src/applications/spaces/dto/create-or-update-space.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import { ArrayMinSize, IsArray, IsBoolean, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator'
import { sanitizeName } from '../../files/utils/files'
diff --git a/backend/src/applications/spaces/dto/delete-space.dto.ts b/backend/src/applications/spaces/dto/delete-space.dto.ts
index 577f3e04..4c7d8114 100644
--- a/backend/src/applications/spaces/dto/delete-space.dto.ts
+++ b/backend/src/applications/spaces/dto/delete-space.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsBoolean, IsOptional } from 'class-validator'
export class DeleteSpaceDto {
diff --git a/backend/src/applications/spaces/dto/search-space.dto.ts b/backend/src/applications/spaces/dto/search-space.dto.ts
index 5baff8e2..96634f79 100644
--- a/backend/src/applications/spaces/dto/search-space.dto.ts
+++ b/backend/src/applications/spaces/dto/search-space.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator'
diff --git a/backend/src/applications/spaces/dto/space-roots.dto.ts b/backend/src/applications/spaces/dto/space-roots.dto.ts
index 9ba6b1c9..e7b6a9d4 100644
--- a/backend/src/applications/spaces/dto/space-roots.dto.ts
+++ b/backend/src/applications/spaces/dto/space-roots.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import { IsDefined, IsInt, IsNotEmpty, IsNotEmptyObject, IsObject, IsOptional, IsString, ValidateIf, ValidateNested } from 'class-validator'
import { sanitizeName, sanitizePath } from '../../files/utils/files'
diff --git a/backend/src/applications/spaces/guards/space.guard.spec.ts b/backend/src/applications/spaces/guards/space.guard.spec.ts
index abe3b765..ec39d9e7 100644
--- a/backend/src/applications/spaces/guards/space.guard.spec.ts
+++ b/backend/src/applications/spaces/guards/space.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext, HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/applications/spaces/guards/space.guard.ts b/backend/src/applications/spaces/guards/space.guard.ts
index 8908525b..51af1a5d 100644
--- a/backend/src/applications/spaces/guards/space.guard.ts
+++ b/backend/src/applications/spaces/guards/space.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CanActivate, ExecutionContext, HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { Reflector } from '@nestjs/core'
import { HTTP_METHOD } from '../../applications.constants'
diff --git a/backend/src/applications/spaces/interfaces/space-diff.interface.ts b/backend/src/applications/spaces/interfaces/space-diff.interface.ts
index cfa88d38..25674485 100644
--- a/backend/src/applications/spaces/interfaces/space-diff.interface.ts
+++ b/backend/src/applications/spaces/interfaces/space-diff.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SyncDiffDto } from '../../sync/dtos/sync-operations.dto'
export interface ParseDiffContext {
diff --git a/backend/src/applications/spaces/interfaces/space-files.interface.ts b/backend/src/applications/spaces/interfaces/space-files.interface.ts
index 7b45eb5b..752f347a 100644
--- a/backend/src/applications/spaces/interfaces/space-files.interface.ts
+++ b/backend/src/applications/spaces/interfaces/space-files.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileProps } from '../../files/interfaces/file-props.interface'
export interface SpaceFiles {
diff --git a/backend/src/applications/spaces/interfaces/space-request.interface.ts b/backend/src/applications/spaces/interfaces/space-request.interface.ts
index d258245e..68706299 100644
--- a/backend/src/applications/spaces/interfaces/space-request.interface.ts
+++ b/backend/src/applications/spaces/interfaces/space-request.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FastifyAuthenticatedRequest } from '../../../authentication/interfaces/auth-request.interface'
import { SpaceEnv } from '../models/space-env.model'
diff --git a/backend/src/applications/spaces/interfaces/space-trash.interface.ts b/backend/src/applications/spaces/interfaces/space-trash.interface.ts
index 54f44451..a220978d 100644
--- a/backend/src/applications/spaces/interfaces/space-trash.interface.ts
+++ b/backend/src/applications/spaces/interfaces/space-trash.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface SpaceTrash {
id: number
name: string
diff --git a/backend/src/applications/spaces/models/space-env.model.ts b/backend/src/applications/spaces/models/space-env.model.ts
index 37384313..869a3017 100644
--- a/backend/src/applications/spaces/models/space-env.model.ts
+++ b/backend/src/applications/spaces/models/space-env.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { uniquePermissions } from '../../../common/functions'
import { FileDBProps } from '../../files/interfaces/file-db-props.interface'
import { FileTaskProps } from '../../files/models/file-task'
diff --git a/backend/src/applications/spaces/models/space-props.model.ts b/backend/src/applications/spaces/models/space-props.model.ts
index 59163054..5b3df975 100644
--- a/backend/src/applications/spaces/models/space-props.model.ts
+++ b/backend/src/applications/spaces/models/space-props.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { uniquePermissions } from '../../../common/functions'
import { MEMBER_TYPE } from '../../users/constants/member'
import { Member } from '../../users/interfaces/member.interface'
diff --git a/backend/src/applications/spaces/models/space-root-props.model.ts b/backend/src/applications/spaces/models/space-root-props.model.ts
index 838ee3f3..9b1361d0 100644
--- a/backend/src/applications/spaces/models/space-root-props.model.ts
+++ b/backend/src/applications/spaces/models/space-root-props.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileProps } from '../../files/interfaces/file-props.interface'
import type { Owner } from '../../users/interfaces/owner.interface'
import type { SpaceRoot } from '../schemas/space-root.interface'
diff --git a/backend/src/applications/spaces/models/space.model.ts b/backend/src/applications/spaces/models/space.model.ts
index a61f20f3..55a85085 100644
--- a/backend/src/applications/spaces/models/space.model.ts
+++ b/backend/src/applications/spaces/models/space.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fs from 'node:fs/promises'
import path from 'node:path'
import { configuration } from '../../../configuration/config.environment'
diff --git a/backend/src/applications/spaces/schemas/space-members.interface.ts b/backend/src/applications/spaces/schemas/space-members.interface.ts
index dd0f9e7f..c07d24eb 100644
--- a/backend/src/applications/spaces/schemas/space-members.interface.ts
+++ b/backend/src/applications/spaces/schemas/space-members.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { spacesMembers } from './spaces-members.schema'
type SpaceMembersSchema = typeof spacesMembers.$inferSelect
diff --git a/backend/src/applications/spaces/schemas/space-root.interface.ts b/backend/src/applications/spaces/schemas/space-root.interface.ts
index 49803ad4..a405fd7f 100644
--- a/backend/src/applications/spaces/schemas/space-root.interface.ts
+++ b/backend/src/applications/spaces/schemas/space-root.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { spacesRoots } from './spaces-roots.schema'
type SpaceRootSchema = typeof spacesRoots.$inferSelect
diff --git a/backend/src/applications/spaces/schemas/space.interface.ts b/backend/src/applications/spaces/schemas/space.interface.ts
index f3ac4119..b340bb07 100644
--- a/backend/src/applications/spaces/schemas/space.interface.ts
+++ b/backend/src/applications/spaces/schemas/space.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { spaces } from './spaces.schema'
type SpaceSchema = typeof spaces.$inferSelect
diff --git a/backend/src/applications/spaces/schemas/spaces-members.schema.ts b/backend/src/applications/spaces/schemas/spaces-members.schema.ts
index 7cb4345c..5878ba67 100644
--- a/backend/src/applications/spaces/schemas/spaces-members.schema.ts
+++ b/backend/src/applications/spaces/schemas/spaces-members.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, datetime, index, mysqlTable, tinyint, unique, varchar } from 'drizzle-orm/mysql-core'
import { links } from '../../links/schemas/links.schema'
diff --git a/backend/src/applications/spaces/schemas/spaces-roots.schema.ts b/backend/src/applications/spaces/schemas/spaces-roots.schema.ts
index 0c7cdefb..e97d278e 100644
--- a/backend/src/applications/spaces/schemas/spaces-roots.schema.ts
+++ b/backend/src/applications/spaces/schemas/spaces-roots.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, datetime, index, mysqlTable, unique, varchar } from 'drizzle-orm/mysql-core'
import { files } from '../../files/schemas/files.schema'
diff --git a/backend/src/applications/spaces/schemas/spaces.schema.ts b/backend/src/applications/spaces/schemas/spaces.schema.ts
index d38fda49..0c3e86ca 100644
--- a/backend/src/applications/spaces/schemas/spaces.schema.ts
+++ b/backend/src/applications/spaces/schemas/spaces.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SQL, sql } from 'drizzle-orm'
import { bigint, boolean, datetime, mysqlTable, uniqueIndex, varchar } from 'drizzle-orm/mysql-core'
import { SPACE_PERMS_SEP } from '../constants/spaces'
diff --git a/backend/src/applications/spaces/services/spaces-browser.service.spec.ts b/backend/src/applications/spaces/services/spaces-browser.service.spec.ts
index 53ef5330..726fdb32 100644
--- a/backend/src/applications/spaces/services/spaces-browser.service.spec.ts
+++ b/backend/src/applications/spaces/services/spaces-browser.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigModule } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import { exportConfiguration } from '../../../configuration/config.environment'
diff --git a/backend/src/applications/spaces/services/spaces-browser.service.ts b/backend/src/applications/spaces/services/spaces-browser.service.ts
index f6e45478..b6f1170d 100644
--- a/backend/src/applications/spaces/services/spaces-browser.service.ts
+++ b/backend/src/applications/spaces/services/spaces-browser.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, Injectable, Logger } from '@nestjs/common'
import fs from 'node:fs/promises'
import path from 'node:path'
diff --git a/backend/src/applications/spaces/services/spaces-manager.service.spec.ts b/backend/src/applications/spaces/services/spaces-manager.service.spec.ts
index 800290e0..069118fc 100644
--- a/backend/src/applications/spaces/services/spaces-manager.service.spec.ts
+++ b/backend/src/applications/spaces/services/spaces-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigModule, ConfigService } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import fs from 'node:fs/promises'
diff --git a/backend/src/applications/spaces/services/spaces-manager.service.ts b/backend/src/applications/spaces/services/spaces-manager.service.ts
index f34c89af..0012af35 100644
--- a/backend/src/applications/spaces/services/spaces-manager.service.ts
+++ b/backend/src/applications/spaces/services/spaces-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { eq, isNotNull, lte } from 'drizzle-orm'
import fs from 'node:fs/promises'
diff --git a/backend/src/applications/spaces/services/spaces-queries.service.ts b/backend/src/applications/spaces/services/spaces-queries.service.ts
index bd738324..d5b6bc08 100644
--- a/backend/src/applications/spaces/services/spaces-queries.service.ts
+++ b/backend/src/applications/spaces/services/spaces-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { and, countDistinct, eq, isNotNull, isNull, max, SelectedFields, SQL, sql } from 'drizzle-orm'
import { alias, union } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/spaces/services/spaces-scheduler.service.ts b/backend/src/applications/spaces/services/spaces-scheduler.service.ts
index 29b774a0..9ea22e38 100644
--- a/backend/src/applications/spaces/services/spaces-scheduler.service.ts
+++ b/backend/src/applications/spaces/services/spaces-scheduler.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import { Cron, CronExpression, Timeout } from '@nestjs/schedule'
import { SharesManager } from '../../shares/services/shares-manager.service'
diff --git a/backend/src/applications/spaces/spaces.controller.spec.ts b/backend/src/applications/spaces/spaces.controller.spec.ts
index cf7dfeb0..89f88126 100644
--- a/backend/src/applications/spaces/spaces.controller.spec.ts
+++ b/backend/src/applications/spaces/spaces.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Cache } from '../../infrastructure/cache/services/cache.service'
import { ContextManager } from '../../infrastructure/context/services/context-manager.service'
diff --git a/backend/src/applications/spaces/spaces.controller.ts b/backend/src/applications/spaces/spaces.controller.ts
index 95496adb..52a7c7f3 100644
--- a/backend/src/applications/spaces/spaces.controller.ts
+++ b/backend/src/applications/spaces/spaces.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import {
Body,
Controller,
diff --git a/backend/src/applications/spaces/spaces.module.ts b/backend/src/applications/spaces/spaces.module.ts
index 1f793abd..cad464af 100644
--- a/backend/src/applications/spaces/spaces.module.ts
+++ b/backend/src/applications/spaces/spaces.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { SpaceGuard } from './guards/space.guard'
import { SpacesBrowser } from './services/spaces-browser.service'
diff --git a/backend/src/applications/spaces/utils/paths.ts b/backend/src/applications/spaces/utils/paths.ts
index ee6e2f7f..fb59c18a 100644
--- a/backend/src/applications/spaces/utils/paths.ts
+++ b/backend/src/applications/spaces/utils/paths.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpStatus } from '@nestjs/common'
import fs from 'fs/promises'
import path from 'node:path'
diff --git a/backend/src/applications/spaces/utils/permissions.ts b/backend/src/applications/spaces/utils/permissions.ts
index 49564f72..ffa27e8d 100644
--- a/backend/src/applications/spaces/utils/permissions.ts
+++ b/backend/src/applications/spaces/utils/permissions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { intersectPermissions } from '../../../common/shared'
import { USER_PERMISSION } from '../../users/constants/user'
import type { UserModel } from '../../users/models/user.model'
diff --git a/backend/src/applications/spaces/utils/routes.ts b/backend/src/applications/spaces/utils/routes.ts
index adcc9776..ea172675 100644
--- a/backend/src/applications/spaces/utils/routes.ts
+++ b/backend/src/applications/spaces/utils/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sanitizePath } from '../../files/utils/files'
export function PATH_TO_SPACE_SEGMENTS(path: string): string[] {
diff --git a/backend/src/applications/sync/constants/auth.ts b/backend/src/applications/sync/constants/auth.ts
index e4c351dd..bcd9dc7b 100644
--- a/backend/src/applications/sync/constants/auth.ts
+++ b/backend/src/applications/sync/constants/auth.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum CLIENT_AUTH_TYPE {
COOKIE = 'cookie',
TOKEN = 'token'
diff --git a/backend/src/applications/sync/constants/routes.ts b/backend/src/applications/sync/constants/routes.ts
index a0d85eb6..f00552aa 100644
--- a/backend/src/applications/sync/constants/routes.ts
+++ b/backend/src/applications/sync/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { APP_BASE_ROUTE } from '../../applications.constants'
export const SYNC_BASE_ROUTE = 'sync'
diff --git a/backend/src/applications/sync/constants/store.ts b/backend/src/applications/sync/constants/store.ts
index cdb92fac..b4e97159 100644
--- a/backend/src/applications/sync/constants/store.ts
+++ b/backend/src/applications/sync/constants/store.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const APP_STORE_URL = 'https://updates.sync-in.org'
export const APP_STORE_DIRNAME = 'releases'
export const APP_STORE_MANIFEST_FILE = 'latest.json'
diff --git a/backend/src/applications/sync/constants/sync.ts b/backend/src/applications/sync/constants/sync.ts
index 41473982..d24be33e 100644
--- a/backend/src/applications/sync/constants/sync.ts
+++ b/backend/src/applications/sync/constants/sync.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACE_ALIAS, SPACE_REPOSITORY } from '../../spaces/constants/spaces'
export const SYNC_IN_SERVER_AGENT = 'sync-in' as const
diff --git a/backend/src/applications/sync/decorators/sync-context.decorator.ts b/backend/src/applications/sync/decorators/sync-context.decorator.ts
index 6df5b4f8..f435523b 100644
--- a/backend/src/applications/sync/decorators/sync-context.decorator.ts
+++ b/backend/src/applications/sync/decorators/sync-context.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SetMetadata } from '@nestjs/common'
export const SYNC_CONTEXT = 'SyncContext'
diff --git a/backend/src/applications/sync/decorators/sync-environment.decorator.ts b/backend/src/applications/sync/decorators/sync-environment.decorator.ts
index 51e20420..09385140 100644
--- a/backend/src/applications/sync/decorators/sync-environment.decorator.ts
+++ b/backend/src/applications/sync/decorators/sync-environment.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { applyDecorators, UseGuards } from '@nestjs/common'
import { SpaceGuard } from '../../spaces/guards/space.guard'
import { USER_PERMISSION } from '../../users/constants/user'
diff --git a/backend/src/applications/sync/dtos/sync-client-auth.dto.ts b/backend/src/applications/sync/dtos/sync-client-auth.dto.ts
index 0086b94b..fc92f358 100644
--- a/backend/src/applications/sync/dtos/sync-client-auth.dto.ts
+++ b/backend/src/applications/sync/dtos/sync-client-auth.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Type } from 'class-transformer'
import { IsBoolean, IsDefined, IsNotEmpty, IsNotEmptyObject, IsObject, IsOptional, IsString, IsUUID, ValidateNested } from 'class-validator'
import { SyncClientInfoDto } from './sync-client-info.dto'
diff --git a/backend/src/applications/sync/dtos/sync-client-info.dto.ts b/backend/src/applications/sync/dtos/sync-client-info.dto.ts
index 32c4a410..ce218890 100644
--- a/backend/src/applications/sync/dtos/sync-client-info.dto.ts
+++ b/backend/src/applications/sync/dtos/sync-client-info.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsEnum, IsString } from 'class-validator'
import { SYNC_CLIENT_TYPE } from '../constants/sync'
import { SyncClientInfo } from '../interfaces/sync-client.interface'
diff --git a/backend/src/applications/sync/dtos/sync-client-registration.dto.ts b/backend/src/applications/sync/dtos/sync-client-registration.dto.ts
index 0d8e17fb..9fe477c4 100644
--- a/backend/src/applications/sync/dtos/sync-client-registration.dto.ts
+++ b/backend/src/applications/sync/dtos/sync-client-registration.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Type } from 'class-transformer'
import { IsDefined, IsNotEmpty, IsNotEmptyObject, IsObject, IsOptional, IsString, IsUUID, ValidateNested } from 'class-validator'
import { SyncClientInfoDto } from './sync-client-info.dto'
diff --git a/backend/src/applications/sync/dtos/sync-operations.dto.ts b/backend/src/applications/sync/dtos/sync-operations.dto.ts
index 2e6cc075..d30448e7 100644
--- a/backend/src/applications/sync/dtos/sync-operations.dto.ts
+++ b/backend/src/applications/sync/dtos/sync-operations.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsBoolean, IsDefined, IsInt, IsNotEmpty, IsObject, IsOptional, IsString } from 'class-validator'
import { MakeFileDto } from '../../files/dto/file-operations.dto'
diff --git a/backend/src/applications/sync/dtos/sync-path.dto.ts b/backend/src/applications/sync/dtos/sync-path.dto.ts
index b6c5b081..d9f42e96 100644
--- a/backend/src/applications/sync/dtos/sync-path.dto.ts
+++ b/backend/src/applications/sync/dtos/sync-path.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import { IsArray, IsBoolean, IsEnum, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from 'class-validator'
import { SYNC_PATH_CONFLICT_MODE, SYNC_PATH_DIFF_MODE, SYNC_PATH_MODE, SYNC_PATH_SCHEDULER_UNIT } from '../constants/sync'
diff --git a/backend/src/applications/sync/dtos/sync-upload.dto.ts b/backend/src/applications/sync/dtos/sync-upload.dto.ts
index de0d551c..f3e54fe4 100644
--- a/backend/src/applications/sync/dtos/sync-upload.dto.ts
+++ b/backend/src/applications/sync/dtos/sync-upload.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsDefined, IsInt, IsNotEmpty, IsOptional, IsString } from 'class-validator'
diff --git a/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.spec.ts b/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.spec.ts
index a83fd19c..98da1c11 100644
--- a/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.spec.ts
+++ b/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CallHandler, ExecutionContext, HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { lastValueFrom, of } from 'rxjs'
diff --git a/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.ts b/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.ts
index 18672da6..b4f63eae 100644
--- a/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.ts
+++ b/backend/src/applications/sync/interceptors/sync-diff-gzip-body.interceptor.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CallHandler, ExecutionContext, HttpException, HttpStatus, Injectable, NestInterceptor } from '@nestjs/common'
import { FastifyRequest } from 'fastify'
import { buffer } from 'node:stream/consumers'
diff --git a/backend/src/applications/sync/interfaces/store-manifest.interface.ts b/backend/src/applications/sync/interfaces/store-manifest.interface.ts
index df6c5c31..a349c809 100644
--- a/backend/src/applications/sync/interfaces/store-manifest.interface.ts
+++ b/backend/src/applications/sync/interfaces/store-manifest.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { APP_STORE_PLATFORM, APP_STORE_REPOSITORY } from '../constants/store'
interface PackageManifest {
diff --git a/backend/src/applications/sync/interfaces/sync-client-auth.interface.ts b/backend/src/applications/sync/interfaces/sync-client-auth.interface.ts
index 4e65cd8a..b7570bdf 100644
--- a/backend/src/applications/sync/interfaces/sync-client-auth.interface.ts
+++ b/backend/src/applications/sync/interfaces/sync-client-auth.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { LoginResponseDto } from '../../../authentication/dto/login-response.dto'
import type { TokenResponseDto } from '../../../authentication/dto/token-response.dto'
diff --git a/backend/src/applications/sync/interfaces/sync-client-paths.interface.ts b/backend/src/applications/sync/interfaces/sync-client-paths.interface.ts
index ed0f5386..1ec28dfd 100644
--- a/backend/src/applications/sync/interfaces/sync-client-paths.interface.ts
+++ b/backend/src/applications/sync/interfaces/sync-client-paths.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SyncClient } from '../schemas/sync-client.interface'
import { SyncPath } from '../schemas/sync-path.interface'
import { SyncClientInfo } from './sync-client.interface'
diff --git a/backend/src/applications/sync/interfaces/sync-client.interface.ts b/backend/src/applications/sync/interfaces/sync-client.interface.ts
index 3b6454a1..8565d7c3 100644
--- a/backend/src/applications/sync/interfaces/sync-client.interface.ts
+++ b/backend/src/applications/sync/interfaces/sync-client.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { SYNC_CLIENT_TYPE } from '../constants/sync'
export interface SyncClientInfo {
diff --git a/backend/src/applications/sync/interfaces/sync-diff.interface.ts b/backend/src/applications/sync/interfaces/sync-diff.interface.ts
index 45667012..3cd25960 100644
--- a/backend/src/applications/sync/interfaces/sync-diff.interface.ts
+++ b/backend/src/applications/sync/interfaces/sync-diff.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// use FSTAT positions for stats array
import { F_SPECIAL_STAT } from '../constants/sync'
diff --git a/backend/src/applications/sync/interfaces/sync-path.interface.ts b/backend/src/applications/sync/interfaces/sync-path.interface.ts
index b98dabd6..d638a3c3 100644
--- a/backend/src/applications/sync/interfaces/sync-path.interface.ts
+++ b/backend/src/applications/sync/interfaces/sync-path.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { SYNC_PATH_CONFLICT_MODE, SYNC_PATH_DIFF_MODE, SYNC_PATH_MODE } from '../constants/sync'
import type { SyncPath } from '../schemas/sync-path.interface'
diff --git a/backend/src/applications/sync/schemas/sync-client.interface.ts b/backend/src/applications/sync/schemas/sync-client.interface.ts
index e0967c7e..109ab67b 100644
--- a/backend/src/applications/sync/schemas/sync-client.interface.ts
+++ b/backend/src/applications/sync/schemas/sync-client.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SyncClientInfo } from '../interfaces/sync-client.interface'
import type { syncClients } from './sync-clients.schema'
diff --git a/backend/src/applications/sync/schemas/sync-clients.schema.ts b/backend/src/applications/sync/schemas/sync-clients.schema.ts
index d0726c48..251b231c 100644
--- a/backend/src/applications/sync/schemas/sync-clients.schema.ts
+++ b/backend/src/applications/sync/schemas/sync-clients.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, boolean, char, datetime, index, mysqlTable, varchar } from 'drizzle-orm/mysql-core'
import { jsonColumn } from '../../../infrastructure/database/columns'
diff --git a/backend/src/applications/sync/schemas/sync-path.interface.ts b/backend/src/applications/sync/schemas/sync-path.interface.ts
index dc50aa09..2aae640a 100644
--- a/backend/src/applications/sync/schemas/sync-path.interface.ts
+++ b/backend/src/applications/sync/schemas/sync-path.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { SyncPathSettings } from '../interfaces/sync-path.interface'
import { syncPaths } from './sync-paths.schema'
diff --git a/backend/src/applications/sync/schemas/sync-paths.schema.ts b/backend/src/applications/sync/schemas/sync-paths.schema.ts
index 293b0f8a..2b4aee6a 100644
--- a/backend/src/applications/sync/schemas/sync-paths.schema.ts
+++ b/backend/src/applications/sync/schemas/sync-paths.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, char, datetime, index, mysqlTable } from 'drizzle-orm/mysql-core'
import { jsonColumn } from '../../../infrastructure/database/columns'
diff --git a/backend/src/applications/sync/services/sync-clients-manager.service.spec.ts b/backend/src/applications/sync/services/sync-clients-manager.service.spec.ts
index 375ab4cd..43743f4d 100644
--- a/backend/src/applications/sync/services/sync-clients-manager.service.spec.ts
+++ b/backend/src/applications/sync/services/sync-clients-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/applications/sync/services/sync-clients-manager.service.ts b/backend/src/applications/sync/services/sync-clients-manager.service.ts
index 80506c9b..6ef5ea69 100644
--- a/backend/src/applications/sync/services/sync-clients-manager.service.ts
+++ b/backend/src/applications/sync/services/sync-clients-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpService } from '@nestjs/axios'
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { AxiosResponse } from 'axios'
diff --git a/backend/src/applications/sync/services/sync-manager.service.spec.ts b/backend/src/applications/sync/services/sync-manager.service.spec.ts
index 2b84dd94..3acb161b 100644
--- a/backend/src/applications/sync/services/sync-manager.service.spec.ts
+++ b/backend/src/applications/sync/services/sync-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, StreamableFile } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
// Helpers to access mocked fs/promises
diff --git a/backend/src/applications/sync/services/sync-manager.service.ts b/backend/src/applications/sync/services/sync-manager.service.ts
index 6829bbc2..dfbc226c 100644
--- a/backend/src/applications/sync/services/sync-manager.service.ts
+++ b/backend/src/applications/sync/services/sync-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger, StreamableFile } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import fs from 'fs/promises'
diff --git a/backend/src/applications/sync/services/sync-paths-manager.service.spec.ts b/backend/src/applications/sync/services/sync-paths-manager.service.spec.ts
index 94b29732..2da77d6d 100644
--- a/backend/src/applications/sync/services/sync-paths-manager.service.spec.ts
+++ b/backend/src/applications/sync/services/sync-paths-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { currentTimeStamp } from '../../../common/shared'
diff --git a/backend/src/applications/sync/services/sync-paths-manager.service.ts b/backend/src/applications/sync/services/sync-paths-manager.service.ts
index 0439324c..a4bcfd00 100644
--- a/backend/src/applications/sync/services/sync-paths-manager.service.ts
+++ b/backend/src/applications/sync/services/sync-paths-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { ACTION } from '../../../common/constants'
import { currentTimeStamp } from '../../../common/shared'
diff --git a/backend/src/applications/sync/services/sync-queries.service.ts b/backend/src/applications/sync/services/sync-queries.service.ts
index afb43143..bf5a047b 100644
--- a/backend/src/applications/sync/services/sync-queries.service.ts
+++ b/backend/src/applications/sync/services/sync-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable } from '@nestjs/common'
import { and, desc, eq, SQL, sql } from 'drizzle-orm'
import { alias } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/sync/sync.config.ts b/backend/src/applications/sync/sync.config.ts
index 583a3776..f997f658 100644
--- a/backend/src/applications/sync/sync.config.ts
+++ b/backend/src/applications/sync/sync.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsEnum } from 'class-validator'
import { APP_STORE_REPOSITORY } from './constants/store'
diff --git a/backend/src/applications/sync/sync.controller.spec.ts b/backend/src/applications/sync/sync.controller.spec.ts
index 9677556b..5237d7db 100644
--- a/backend/src/applications/sync/sync.controller.spec.ts
+++ b/backend/src/applications/sync/sync.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { ContextManager } from '../../infrastructure/context/services/context-manager.service'
import { SpacesManager } from '../spaces/services/spaces-manager.service'
diff --git a/backend/src/applications/sync/sync.controller.ts b/backend/src/applications/sync/sync.controller.ts
index 3a6064ee..31d41b1b 100644
--- a/backend/src/applications/sync/sync.controller.ts
+++ b/backend/src/applications/sync/sync.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import {
Body,
Controller,
diff --git a/backend/src/applications/sync/sync.module.ts b/backend/src/applications/sync/sync.module.ts
index 3d5a8a52..e3f39030 100644
--- a/backend/src/applications/sync/sync.module.ts
+++ b/backend/src/applications/sync/sync.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { SyncDiffGzipBodyInterceptor } from './interceptors/sync-diff-gzip-body.interceptor'
import { SyncClientsManager } from './services/sync-clients-manager.service'
diff --git a/backend/src/applications/sync/utils/functions.ts b/backend/src/applications/sync/utils/functions.ts
index e33225ca..5f1ecc0d 100644
--- a/backend/src/applications/sync/utils/functions.ts
+++ b/backend/src/applications/sync/utils/functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import path from 'node:path'
import { SYNC_FILE_NAME_PREFIX } from '../constants/sync'
diff --git a/backend/src/applications/sync/utils/normalizedMap.ts b/backend/src/applications/sync/utils/normalizedMap.ts
index 32e37693..86c05033 100644
--- a/backend/src/applications/sync/utils/normalizedMap.ts
+++ b/backend/src/applications/sync/utils/normalizedMap.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export class NormalizedMap<K extends string, V> extends Map<K, V> {
// NFC-normalized path → actual key
private index = new Map<string, K>()
diff --git a/backend/src/applications/sync/utils/routes.ts b/backend/src/applications/sync/utils/routes.ts
index 95edf5f1..22e0883e 100644
--- a/backend/src/applications/sync/utils/routes.ts
+++ b/backend/src/applications/sync/utils/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { PATH_TO_SPACE_SEGMENTS } from '../../spaces/utils/routes'
import { SYNC_PATH_REPOSITORY } from '../constants/sync'
diff --git a/backend/src/applications/users/admin-users.controller.spec.ts b/backend/src/applications/users/admin-users.controller.spec.ts
index 91c3af91..35e8776a 100644
--- a/backend/src/applications/users/admin-users.controller.spec.ts
+++ b/backend/src/applications/users/admin-users.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigModule } from '@nestjs/config'
import { JwtService } from '@nestjs/jwt'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/applications/users/admin-users.controller.ts b/backend/src/applications/users/admin-users.controller.ts
index 90c196dd..fb23d901 100644
--- a/backend/src/applications/users/admin-users.controller.ts
+++ b/backend/src/applications/users/admin-users.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Delete, Get, Param, ParseIntPipe, Patch, Post, Put, Res, Search, UseGuards } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { LoginResponseDto } from '../../authentication/dto/login-response.dto'
diff --git a/backend/src/applications/users/constants/group.ts b/backend/src/applications/users/constants/group.ts
index 5e0db76d..c1eb2e95 100644
--- a/backend/src/applications/users/constants/group.ts
+++ b/backend/src/applications/users/constants/group.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum GROUP_TYPE {
USER,
PERSONAL
diff --git a/backend/src/applications/users/constants/member.ts b/backend/src/applications/users/constants/member.ts
index f1b19a8f..f5651a30 100644
--- a/backend/src/applications/users/constants/member.ts
+++ b/backend/src/applications/users/constants/member.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum MEMBER_TYPE {
USER = 'user',
GUEST = 'guest',
diff --git a/backend/src/applications/users/constants/routes.ts b/backend/src/applications/users/constants/routes.ts
index c4968828..c78e156b 100644
--- a/backend/src/applications/users/constants/routes.ts
+++ b/backend/src/applications/users/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ADMIN_ROUTE } from '../../admin/constants/routes'
export const USERS_ROUTE = {
diff --git a/backend/src/applications/users/constants/user.ts b/backend/src/applications/users/constants/user.ts
index 7d200c06..f3baa2c7 100644
--- a/backend/src/applications/users/constants/user.ts
+++ b/backend/src/applications/users/constants/user.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const USER_PASSWORD_MIN_LENGTH = 8
export const USER_MAX_PASSWORD_ATTEMPTS = 10
export const USER_LOGIN_VALIDATION = /^(?! )(?!.* $)[a-zA-Z0-9@\-\\._ ]{2,255}$/
diff --git a/backend/src/applications/users/constants/websocket.ts b/backend/src/applications/users/constants/websocket.ts
index 09576b6b..2204be32 100644
--- a/backend/src/applications/users/constants/websocket.ts
+++ b/backend/src/applications/users/constants/websocket.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const USER_ROOM_PREFIX = 'uid_' as const
export const USERS_WS = {
NAME_SPACE: '/',
diff --git a/backend/src/applications/users/decorators/permissions.decorator.ts b/backend/src/applications/users/decorators/permissions.decorator.ts
index 4f29d7e8..82a74570 100644
--- a/backend/src/applications/users/decorators/permissions.decorator.ts
+++ b/backend/src/applications/users/decorators/permissions.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Reflector } from '@nestjs/core'
import type { USER_PERMISSION } from '../constants/user'
diff --git a/backend/src/applications/users/decorators/roles.decorator.ts b/backend/src/applications/users/decorators/roles.decorator.ts
index da22be24..a2de3c98 100644
--- a/backend/src/applications/users/decorators/roles.decorator.ts
+++ b/backend/src/applications/users/decorators/roles.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Reflector } from '@nestjs/core'
import { USER_ROLE } from '../constants/user'
diff --git a/backend/src/applications/users/decorators/user.decorator.ts b/backend/src/applications/users/decorators/user.decorator.ts
index 04a106ed..657583b2 100644
--- a/backend/src/applications/users/decorators/user.decorator.ts
+++ b/backend/src/applications/users/decorators/user.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createParamDecorator, ExecutionContext } from '@nestjs/common'
import { UserModel } from '../models/user.model'
diff --git a/backend/src/applications/users/dto/create-or-update-group.dto.ts b/backend/src/applications/users/dto/create-or-update-group.dto.ts
index 72e6d02a..17c14dd8 100644
--- a/backend/src/applications/users/dto/create-or-update-group.dto.ts
+++ b/backend/src/applications/users/dto/create-or-update-group.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsEnum, IsInt, IsOptional, IsString } from 'class-validator'
import { GROUP_VISIBILITY } from '../constants/group'
diff --git a/backend/src/applications/users/dto/create-or-update-user.dto.ts b/backend/src/applications/users/dto/create-or-update-user.dto.ts
index 8b493c87..a6acf23f 100644
--- a/backend/src/applications/users/dto/create-or-update-user.dto.ts
+++ b/backend/src/applications/users/dto/create-or-update-user.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import {
IsArray,
diff --git a/backend/src/applications/users/dto/delete-user.dto.ts b/backend/src/applications/users/dto/delete-user.dto.ts
index d8d87b7b..9b3ce975 100644
--- a/backend/src/applications/users/dto/delete-user.dto.ts
+++ b/backend/src/applications/users/dto/delete-user.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsBoolean } from 'class-validator'
export class DeleteUserDto {
diff --git a/backend/src/applications/users/dto/search-members.dto.ts b/backend/src/applications/users/dto/search-members.dto.ts
index 86ebad41..34e9923a 100644
--- a/backend/src/applications/users/dto/search-members.dto.ts
+++ b/backend/src/applications/users/dto/search-members.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsBoolean, IsInt, IsOptional, IsString } from 'class-validator'
diff --git a/backend/src/applications/users/dto/user-properties.dto.ts b/backend/src/applications/users/dto/user-properties.dto.ts
index f9da2c68..9627c4f5 100644
--- a/backend/src/applications/users/dto/user-properties.dto.ts
+++ b/backend/src/applications/users/dto/user-properties.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsBoolean, IsDate, IsDefined, IsEnum, IsInt, IsNotEmpty, IsOptional, IsString, MinLength, ValidateIf } from 'class-validator'
import { AUTH_SCOPE } from '../../../authentication/constants/scope'
diff --git a/backend/src/applications/users/guards/permissions.guard.spec.ts b/backend/src/applications/users/guards/permissions.guard.spec.ts
index 273f7fe6..5c244c76 100644
--- a/backend/src/applications/users/guards/permissions.guard.spec.ts
+++ b/backend/src/applications/users/guards/permissions.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext, HttpException, Logger } from '@nestjs/common'
import { Reflector } from '@nestjs/core'
diff --git a/backend/src/applications/users/guards/permissions.guard.ts b/backend/src/applications/users/guards/permissions.guard.ts
index a7cbed64..082810ce 100644
--- a/backend/src/applications/users/guards/permissions.guard.ts
+++ b/backend/src/applications/users/guards/permissions.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CanActivate, ExecutionContext, HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { Reflector } from '@nestjs/core'
import { FastifyAuthenticatedRequest } from '../../../authentication/interfaces/auth-request.interface'
diff --git a/backend/src/applications/users/guards/roles.guard.spec.ts b/backend/src/applications/users/guards/roles.guard.spec.ts
index d06d8bcc..7cfa1d16 100644
--- a/backend/src/applications/users/guards/roles.guard.spec.ts
+++ b/backend/src/applications/users/guards/roles.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext, Logger } from '@nestjs/common'
import { Reflector } from '@nestjs/core'
diff --git a/backend/src/applications/users/guards/roles.guard.ts b/backend/src/applications/users/guards/roles.guard.ts
index e5312cc9..341c8699 100644
--- a/backend/src/applications/users/guards/roles.guard.ts
+++ b/backend/src/applications/users/guards/roles.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CanActivate, ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { Reflector } from '@nestjs/core'
import { FastifyAuthenticatedRequest } from '../../../authentication/interfaces/auth-request.interface'
diff --git a/backend/src/applications/users/interfaces/admin-group.interface.ts b/backend/src/applications/users/interfaces/admin-group.interface.ts
index 225a694a..cc21e4e9 100644
--- a/backend/src/applications/users/interfaces/admin-group.interface.ts
+++ b/backend/src/applications/users/interfaces/admin-group.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { GROUP_TYPE, GROUP_VISIBILITY } from '../constants/group'
import type { Group } from '../schemas/group.interface'
diff --git a/backend/src/applications/users/interfaces/admin-user.interface.ts b/backend/src/applications/users/interfaces/admin-user.interface.ts
index 5e3cf7de..874d9b5c 100644
--- a/backend/src/applications/users/interfaces/admin-user.interface.ts
+++ b/backend/src/applications/users/interfaces/admin-user.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { User } from '../schemas/user.interface'
import type { Member } from './member.interface'
diff --git a/backend/src/applications/users/interfaces/group-browse.interface.ts b/backend/src/applications/users/interfaces/group-browse.interface.ts
index 5404f661..b6c6bb73 100644
--- a/backend/src/applications/users/interfaces/group-browse.interface.ts
+++ b/backend/src/applications/users/interfaces/group-browse.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { GROUP_TYPE } from '../constants/group'
import { USER_GROUP_ROLE } from '../constants/user'
import type { Member } from './member.interface'
diff --git a/backend/src/applications/users/interfaces/group-member.ts b/backend/src/applications/users/interfaces/group-member.ts
index 9d3bbf65..296841c5 100644
--- a/backend/src/applications/users/interfaces/group-member.ts
+++ b/backend/src/applications/users/interfaces/group-member.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { MEMBER_TYPE } from '../constants/member'
import type { Group } from '../schemas/group.interface'
import type { Member } from './member.interface'
diff --git a/backend/src/applications/users/interfaces/guest-user.interface.ts b/backend/src/applications/users/interfaces/guest-user.interface.ts
index 21a0e210..d8cf4270 100644
--- a/backend/src/applications/users/interfaces/guest-user.interface.ts
+++ b/backend/src/applications/users/interfaces/guest-user.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { User } from '../schemas/user.interface'
import type { Member } from './member.interface'
diff --git a/backend/src/applications/users/interfaces/member.interface.ts b/backend/src/applications/users/interfaces/member.interface.ts
index 8ca13d0a..d4291010 100644
--- a/backend/src/applications/users/interfaces/member.interface.ts
+++ b/backend/src/applications/users/interfaces/member.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { CreateOrUpdateLinkDto } from '../../links/dto/create-or-update-link.dto'
import type { SPACE_ROLE } from '../../spaces/constants/spaces'
import type { MEMBER_TYPE } from '../constants/member'
diff --git a/backend/src/applications/users/interfaces/owner.interface.ts b/backend/src/applications/users/interfaces/owner.interface.ts
index c9a30226..0758827d 100644
--- a/backend/src/applications/users/interfaces/owner.interface.ts
+++ b/backend/src/applications/users/interfaces/owner.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface Owner {
id?: number
login: string
diff --git a/backend/src/applications/users/interfaces/user-secrets.interface.ts b/backend/src/applications/users/interfaces/user-secrets.interface.ts
index f947c57b..949f6981 100644
--- a/backend/src/applications/users/interfaces/user-secrets.interface.ts
+++ b/backend/src/applications/users/interfaces/user-secrets.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { AUTH_SCOPE } from '../../../authentication/constants/scope'
import { USER_SECRET } from '../constants/user'
diff --git a/backend/src/applications/users/interfaces/websocket.interface.ts b/backend/src/applications/users/interfaces/websocket.interface.ts
index 4c71f9fd..0e48146a 100644
--- a/backend/src/applications/users/interfaces/websocket.interface.ts
+++ b/backend/src/applications/users/interfaces/websocket.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { USER_ONLINE_STATUS } from '../constants/user'
export interface UserOnline {
diff --git a/backend/src/applications/users/models/user.model.ts b/backend/src/applications/users/models/user.model.ts
index 7b8b6d70..c2589992 100644
--- a/backend/src/applications/users/models/user.model.ts
+++ b/backend/src/applications/users/models/user.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Exclude, Expose } from 'class-transformer'
import fs from 'node:fs/promises'
import path from 'node:path'
diff --git a/backend/src/applications/users/schemas/group.interface.ts b/backend/src/applications/users/schemas/group.interface.ts
index 55c9b1f7..473ced12 100644
--- a/backend/src/applications/users/schemas/group.interface.ts
+++ b/backend/src/applications/users/schemas/group.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { groups } from './groups.schema'
type GroupSchema = typeof groups.$inferSelect
diff --git a/backend/src/applications/users/schemas/groups.schema.ts b/backend/src/applications/users/schemas/groups.schema.ts
index b9074677..7fc40b05 100644
--- a/backend/src/applications/users/schemas/groups.schema.ts
+++ b/backend/src/applications/users/schemas/groups.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { AnyMySqlColumn, bigint, datetime, index, mysqlTable, tinyint, uniqueIndex, varchar } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/users/schemas/user-group.interface.ts b/backend/src/applications/users/schemas/user-group.interface.ts
index 244f3a1b..1272aaa5 100644
--- a/backend/src/applications/users/schemas/user-group.interface.ts
+++ b/backend/src/applications/users/schemas/user-group.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { usersGroups } from './users-groups.schema'
type UserGroupSchema = typeof usersGroups.$inferSelect
diff --git a/backend/src/applications/users/schemas/user.interface.ts b/backend/src/applications/users/schemas/user.interface.ts
index a1c338d9..a83ea3df 100644
--- a/backend/src/applications/users/schemas/user.interface.ts
+++ b/backend/src/applications/users/schemas/user.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { UserSecrets } from '../interfaces/user-secrets.interface'
import type { users } from './users.schema'
diff --git a/backend/src/applications/users/schemas/users-groups.schema.ts b/backend/src/applications/users/schemas/users-groups.schema.ts
index 5c80be0b..3bf651a8 100644
--- a/backend/src/applications/users/schemas/users-groups.schema.ts
+++ b/backend/src/applications/users/schemas/users-groups.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, datetime, index, mysqlTable, primaryKey, tinyint } from 'drizzle-orm/mysql-core'
import { groups } from './groups.schema'
diff --git a/backend/src/applications/users/schemas/users-guests.schema.ts b/backend/src/applications/users/schemas/users-guests.schema.ts
index 0dd0106f..4881eb37 100644
--- a/backend/src/applications/users/schemas/users-guests.schema.ts
+++ b/backend/src/applications/users/schemas/users-guests.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sql } from 'drizzle-orm'
import { bigint, check, datetime, index, mysqlTable, primaryKey } from 'drizzle-orm/mysql-core'
import { users } from './users.schema'
diff --git a/backend/src/applications/users/schemas/users.schema.ts b/backend/src/applications/users/schemas/users.schema.ts
index 9f84a000..d582fa49 100644
--- a/backend/src/applications/users/schemas/users.schema.ts
+++ b/backend/src/applications/users/schemas/users.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SQL, sql } from 'drizzle-orm'
import { bigint, boolean, datetime, index, mysqlTable, tinyint, uniqueIndex, varchar } from 'drizzle-orm/mysql-core'
import { jsonColumn } from '../../../infrastructure/database/columns'
diff --git a/backend/src/applications/users/services/admin-users-manager.service.spec.ts b/backend/src/applications/users/services/admin-users-manager.service.spec.ts
index d2e39219..4998b5a4 100644
--- a/backend/src/applications/users/services/admin-users-manager.service.spec.ts
+++ b/backend/src/applications/users/services/admin-users-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { AuthManager } from '../../../authentication/auth.service'
diff --git a/backend/src/applications/users/services/admin-users-manager.service.ts b/backend/src/applications/users/services/admin-users-manager.service.ts
index 70ef7ddf..6ac7e316 100644
--- a/backend/src/applications/users/services/admin-users-manager.service.ts
+++ b/backend/src/applications/users/services/admin-users-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { AuthManager } from '../../../authentication/auth.service'
diff --git a/backend/src/applications/users/services/admin-users-queries.service.ts b/backend/src/applications/users/services/admin-users-queries.service.ts
index 851c4f64..f461b0f2 100644
--- a/backend/src/applications/users/services/admin-users-queries.service.ts
+++ b/backend/src/applications/users/services/admin-users-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { and, count, countDistinct, eq, inArray, isNotNull, isNull, lte, SelectedFields, SQL, sql } from 'drizzle-orm'
import { alias, union } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/users/services/users-manager.service.spec.ts b/backend/src/applications/users/services/users-manager.service.spec.ts
index 49409318..9fb9c7f5 100755
--- a/backend/src/applications/users/services/users-manager.service.spec.ts
+++ b/backend/src/applications/users/services/users-manager.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import bcrypt from 'bcryptjs'
import path from 'node:path'
diff --git a/backend/src/applications/users/services/users-manager.service.ts b/backend/src/applications/users/services/users-manager.service.ts
index 37f802f6..a1fc56d5 100755
--- a/backend/src/applications/users/services/users-manager.service.ts
+++ b/backend/src/applications/users/services/users-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { MultipartFile } from '@fastify/multipart'
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import bcrypt from 'bcryptjs'
diff --git a/backend/src/applications/users/services/users-queries.service.ts b/backend/src/applications/users/services/users-queries.service.ts
index 6eef0f90..9f5c19d6 100644
--- a/backend/src/applications/users/services/users-queries.service.ts
+++ b/backend/src/applications/users/services/users-queries.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { and, countDistinct, eq, inArray, isNotNull, like, lte, ne, notInArray, or, SelectedFields, SQL, sql } from 'drizzle-orm'
import { alias } from 'drizzle-orm/mysql-core'
diff --git a/backend/src/applications/users/users.controller.spec.ts b/backend/src/applications/users/users.controller.spec.ts
index 62a3e78a..1147f510 100755
--- a/backend/src/applications/users/users.controller.spec.ts
+++ b/backend/src/applications/users/users.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigModule } from '@nestjs/config'
import { JwtService } from '@nestjs/jwt'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/applications/users/users.controller.ts b/backend/src/applications/users/users.controller.ts
index 59b90d12..9b245803 100755
--- a/backend/src/applications/users/users.controller.ts
+++ b/backend/src/applications/users/users.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Delete, Get, Header, Param, ParseIntPipe, Patch, Post, Put, Req, Search, StreamableFile, UseGuards } from '@nestjs/common'
import { createReadStream } from 'fs'
import { LoginResponseDto } from '../../authentication/dto/login-response.dto'
diff --git a/backend/src/applications/users/users.e2e-spec.ts b/backend/src/applications/users/users.e2e-spec.ts
index fd62d6ac..2e829312 100644
--- a/backend/src/applications/users/users.e2e-spec.ts
+++ b/backend/src/applications/users/users.e2e-spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NestFastifyApplication } from '@nestjs/platform-fastify'
import { appBootstrap } from '../../app.bootstrap'
import { AuthManager } from '../../authentication/auth.service'
diff --git a/backend/src/applications/users/users.gateway.spec.ts b/backend/src/applications/users/users.gateway.spec.ts
index 89212a35..d54fdb23 100644
--- a/backend/src/applications/users/users.gateway.spec.ts
+++ b/backend/src/applications/users/users.gateway.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { UsersManager } from './services/users-manager.service'
import { WebSocketUsers } from './users.gateway'
diff --git a/backend/src/applications/users/users.gateway.ts b/backend/src/applications/users/users.gateway.ts
index c3a90b9d..bd5deff2 100644
--- a/backend/src/applications/users/users.gateway.ts
+++ b/backend/src/applications/users/users.gateway.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { BeforeApplicationShutdown, Logger } from '@nestjs/common'
import {
MessageBody,
diff --git a/backend/src/applications/users/users.module.ts b/backend/src/applications/users/users.module.ts
index 67bf24cb..1a0b678f 100755
--- a/backend/src/applications/users/users.module.ts
+++ b/backend/src/applications/users/users.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Global, Module } from '@nestjs/common'
import { AdminUsersController } from './admin-users.controller'
import { UserPermissionsGuard } from './guards/permissions.guard'
diff --git a/backend/src/applications/users/utils/avatar.ts b/backend/src/applications/users/utils/avatar.ts
index de5ee802..eeb635e9 100644
--- a/backend/src/applications/users/utils/avatar.ts
+++ b/backend/src/applications/users/utils/avatar.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import path from 'node:path'
import { convertImageToBase64 } from '../../../common/image'
import { STATIC_ASSETS_PATH } from '../../../configuration/config.constants'
diff --git a/backend/src/applications/users/utils/test.ts b/backend/src/applications/users/utils/test.ts
index 7b614934..83a90c40 100644
--- a/backend/src/applications/users/utils/test.ts
+++ b/backend/src/applications/users/utils/test.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { faker } from '@faker-js/faker'
import { SERVER_NAME } from '../../../common/shared'
import { USER_PERMISSION, USER_ROLE } from '../constants/user'
diff --git a/backend/src/applications/webdav/constants/routes.ts b/backend/src/applications/webdav/constants/routes.ts
index f76bdeca..0f1379dd 100644
--- a/backend/src/applications/webdav/constants/routes.ts
+++ b/backend/src/applications/webdav/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SERVER_NAME } from '../../../common/shared'
import { SPACE_ALIAS, SPACE_REPOSITORY } from '../../spaces/constants/spaces'
diff --git a/backend/src/applications/webdav/constants/webdav.ts b/backend/src/applications/webdav/constants/webdav.ts
index ab22001c..80444451 100644
--- a/backend/src/applications/webdav/constants/webdav.ts
+++ b/backend/src/applications/webdav/constants/webdav.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SERVER_NAME } from '../../../common/shared'
import { HTTP_STANDARD_METHOD, HTTP_WEBDAV_METHOD } from '../../applications.constants'
import { WEBDAV_BASE_PATH } from './routes'
diff --git a/backend/src/applications/webdav/decorators/if-header.decorator.ts b/backend/src/applications/webdav/decorators/if-header.decorator.ts
index cb7a66f7..4c4dfa89 100644
--- a/backend/src/applications/webdav/decorators/if-header.decorator.ts
+++ b/backend/src/applications/webdav/decorators/if-header.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FastifyReply } from 'fastify'
import { FastifyDAVRequest } from '../interfaces/webdav.interface'
diff --git a/backend/src/applications/webdav/decorators/webdav-context.decorator.ts b/backend/src/applications/webdav/decorators/webdav-context.decorator.ts
index 958c0ebb..c6be16e2 100644
--- a/backend/src/applications/webdav/decorators/webdav-context.decorator.ts
+++ b/backend/src/applications/webdav/decorators/webdav-context.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { applyDecorators, SetMetadata, UseFilters, UseGuards } from '@nestjs/common'
import { AuthBasicGuard } from '../../../authentication/guards/auth-basic.guard'
import { WebDAVExceptionsFilter } from '../filters/webdav.filter'
diff --git a/backend/src/applications/webdav/filters/webdav.filter.spec.ts b/backend/src/applications/webdav/filters/webdav.filter.spec.ts
index 6322a6f0..766e1446 100644
--- a/backend/src/applications/webdav/filters/webdav.filter.spec.ts
+++ b/backend/src/applications/webdav/filters/webdav.filter.spec.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { ArgumentsHost, HttpException } from '@nestjs/common'
import { Test } from '@nestjs/testing'
import { SERVER_NAME } from '../../../common/shared'
diff --git a/backend/src/applications/webdav/filters/webdav.filter.ts b/backend/src/applications/webdav/filters/webdav.filter.ts
index b7bf1afa..9e3e6a42 100644
--- a/backend/src/applications/webdav/filters/webdav.filter.ts
+++ b/backend/src/applications/webdav/filters/webdav.filter.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ArgumentsHost, Catch, ExceptionFilter, HttpException } from '@nestjs/common'
import { SERVER_NAME } from '../../../common/shared'
import { XML_CONTENT_TYPE } from '../constants/webdav'
diff --git a/backend/src/applications/webdav/guards/webdav-protocol.guard.ts b/backend/src/applications/webdav/guards/webdav-protocol.guard.ts
index 943711e1..a5c33e52 100644
--- a/backend/src/applications/webdav/guards/webdav-protocol.guard.ts
+++ b/backend/src/applications/webdav/guards/webdav-protocol.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CanActivate, ExecutionContext, HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { ValidationError } from 'fast-xml-parser'
import { FastifyReply } from 'fastify'
diff --git a/backend/src/applications/webdav/interfaces/if-header.interface.ts b/backend/src/applications/webdav/interfaces/if-header.interface.ts
index 6e615f0e..d109efd2 100644
--- a/backend/src/applications/webdav/interfaces/if-header.interface.ts
+++ b/backend/src/applications/webdav/interfaces/if-header.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface IfHeader {
path?: string
token?: { mustMatch: boolean; value: string }
diff --git a/backend/src/applications/webdav/interfaces/webdav.interface.ts b/backend/src/applications/webdav/interfaces/webdav.interface.ts
index 41dca8a3..c2f84a9c 100644
--- a/backend/src/applications/webdav/interfaces/webdav.interface.ts
+++ b/backend/src/applications/webdav/interfaces/webdav.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FastifyAuthenticatedRequest } from '../../../authentication/interfaces/auth-request.interface'
import { SpaceEnv } from '../../spaces/models/space-env.model'
import { DEPTH, LOCK_SCOPE, PROPSTAT } from '../constants/webdav'
diff --git a/backend/src/applications/webdav/models/webdav-file.model.ts b/backend/src/applications/webdav/models/webdav-file.model.ts
index 8ea92ec3..48154b13 100644
--- a/backend/src/applications/webdav/models/webdav-file.model.ts
+++ b/backend/src/applications/webdav/models/webdav-file.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import path from 'node:path'
import { encodeUrl } from '../../../common/shared'
diff --git a/backend/src/applications/webdav/services/webdav-methods.service.spec.ts b/backend/src/applications/webdav/services/webdav-methods.service.spec.ts
index 994d3446..2ccb604a 100644
--- a/backend/src/applications/webdav/services/webdav-methods.service.spec.ts
+++ b/backend/src/applications/webdav/services/webdav-methods.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { HTTP_VERSION } from '../../applications.constants'
diff --git a/backend/src/applications/webdav/services/webdav-methods.service.ts b/backend/src/applications/webdav/services/webdav-methods.service.ts
index 4a4229cb..dd976c63 100644
--- a/backend/src/applications/webdav/services/webdav-methods.service.ts
+++ b/backend/src/applications/webdav/services/webdav-methods.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger, StreamableFile } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { currentTimeStamp, encodeUrl } from '../../../common/shared'
diff --git a/backend/src/applications/webdav/services/webdav-spaces.service.spec.ts b/backend/src/applications/webdav/services/webdav-spaces.service.spec.ts
index c457c380..e9a2412a 100644
--- a/backend/src/applications/webdav/services/webdav-spaces.service.spec.ts
+++ b/backend/src/applications/webdav/services/webdav-spaces.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { getProps, isPathExists, isPathIsDir } from '../../files/utils/files'
diff --git a/backend/src/applications/webdav/services/webdav-spaces.service.ts b/backend/src/applications/webdav/services/webdav-spaces.service.ts
index 245a5be9..1cf52831 100644
--- a/backend/src/applications/webdav/services/webdav-spaces.service.ts
+++ b/backend/src/applications/webdav/services/webdav-spaces.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { getProps, isPathExists, isPathIsDir } from '../../files/utils/files'
import { SPACE_REPOSITORY } from '../../spaces/constants/spaces'
diff --git a/backend/src/applications/webdav/utils/bootstrap.ts b/backend/src/applications/webdav/utils/bootstrap.ts
index f39eb1d9..c9e1e2a6 100644
--- a/backend/src/applications/webdav/utils/bootstrap.ts
+++ b/backend/src/applications/webdav/utils/bootstrap.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NestFastifyApplication } from '@nestjs/platform-fastify'
import { FastifyInstance } from 'fastify'
import { HTTP_METHOD, HTTP_WEBDAV_METHOD } from '../../applications.constants'
diff --git a/backend/src/applications/webdav/utils/if-header.ts b/backend/src/applications/webdav/utils/if-header.ts
index d4a1a1af..d2d6edae 100644
--- a/backend/src/applications/webdav/utils/if-header.ts
+++ b/backend/src/applications/webdav/utils/if-header.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { urlToPath } from '../../../common/functions'
import { IfHeader } from '../interfaces/if-header.interface'
diff --git a/backend/src/applications/webdav/utils/routes.ts b/backend/src/applications/webdav/utils/routes.ts
index d32c4f37..4403d725 100644
--- a/backend/src/applications/webdav/utils/routes.ts
+++ b/backend/src/applications/webdav/utils/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { PATH_TO_SPACE_SEGMENTS } from '../../spaces/utils/routes'
import { WEBDAV_BASE_PATH, WEBDAV_SPACES } from '../constants/routes'
diff --git a/backend/src/applications/webdav/utils/webdav.ts b/backend/src/applications/webdav/utils/webdav.ts
index 181c023d..f969e128 100644
--- a/backend/src/applications/webdav/utils/webdav.ts
+++ b/backend/src/applications/webdav/utils/webdav.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FastifyReply } from 'fastify'
import http from 'node:http'
import { currentTimeStamp, encodeUrl, SERVER_NAME } from '../../../common/shared'
diff --git a/backend/src/applications/webdav/utils/xml.ts b/backend/src/applications/webdav/utils/xml.ts
index 79bf3339..d1ea7293 100644
--- a/backend/src/applications/webdav/utils/xml.ts
+++ b/backend/src/applications/webdav/utils/xml.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { XMLBuilder, XMLParser, XMLValidator } from 'fast-xml-parser'
export const XML_NS_PREFIX = '@_'
diff --git a/backend/src/applications/webdav/webdav.controller.spec.ts b/backend/src/applications/webdav/webdav.controller.spec.ts
index 3deef035..4ccbb7ea 100644
--- a/backend/src/applications/webdav/webdav.controller.spec.ts
+++ b/backend/src/applications/webdav/webdav.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { SpacesManager } from '../spaces/services/spaces-manager.service'
import { WebDAVMethods } from './services/webdav-methods.service'
diff --git a/backend/src/applications/webdav/webdav.controller.ts b/backend/src/applications/webdav/webdav.controller.ts
index 83d371bd..46b7e29a 100644
--- a/backend/src/applications/webdav/webdav.controller.ts
+++ b/backend/src/applications/webdav/webdav.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { All, Controller, HttpStatus, Options, Param, Propfind, Req, Res, StreamableFile, UseGuards } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { HTTP_METHOD } from '../applications.constants'
diff --git a/backend/src/applications/webdav/webdav.e2e-spec.ts b/backend/src/applications/webdav/webdav.e2e-spec.ts
index e169ffcb..af1e45fc 100644
--- a/backend/src/applications/webdav/webdav.e2e-spec.ts
+++ b/backend/src/applications/webdav/webdav.e2e-spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NestFastifyApplication } from '@nestjs/platform-fastify'
import { appBootstrap } from '../../app.bootstrap'
import { XML_CONTENT_TYPE } from './constants/webdav'
diff --git a/backend/src/applications/webdav/webdav.module.ts b/backend/src/applications/webdav/webdav.module.ts
index 57e5e04d..94a949f0 100644
--- a/backend/src/applications/webdav/webdav.module.ts
+++ b/backend/src/applications/webdav/webdav.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { WebDAVProtocolGuard } from './guards/webdav-protocol.guard'
import { WebDAVMethods } from './services/webdav-methods.service'
diff --git a/backend/src/authentication/auth.config.ts b/backend/src/authentication/auth.config.ts
index a89a576b..f8c195d8 100644
--- a/backend/src/authentication/auth.config.ts
+++ b/backend/src/authentication/auth.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Exclude, Type } from 'class-transformer'
import { IsDefined, IsEnum, IsIn, IsNotEmpty, IsNotEmptyObject, IsObject, IsOptional, IsString, ValidateIf, ValidateNested } from 'class-validator'
import { ACCESS_KEY, CSRF_KEY, REFRESH_KEY, WS_KEY } from './constants/auth'
diff --git a/backend/src/authentication/auth.controller.spec.ts b/backend/src/authentication/auth.controller.spec.ts
index 6764edfb..63341d81 100755
--- a/backend/src/authentication/auth.controller.spec.ts
+++ b/backend/src/authentication/auth.controller.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigModule, ConfigService } from '@nestjs/config'
import { JwtService } from '@nestjs/jwt'
import { PassportModule } from '@nestjs/passport'
diff --git a/backend/src/authentication/auth.controller.ts b/backend/src/authentication/auth.controller.ts
index 86bb1be3..546722b1 100755
--- a/backend/src/authentication/auth.controller.ts
+++ b/backend/src/authentication/auth.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Body, Controller, Get, Param, ParseIntPipe, Post, Req, Res, UseGuards } from '@nestjs/common'
import { FastifyReply } from 'fastify'
import { USER_ROLE } from '../applications/users/constants/user'
diff --git a/backend/src/authentication/auth.e2e-spec.ts b/backend/src/authentication/auth.e2e-spec.ts
index 20509ffb..4f00412a 100644
--- a/backend/src/authentication/auth.e2e-spec.ts
+++ b/backend/src/authentication/auth.e2e-spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigService } from '@nestjs/config'
import { JwtService } from '@nestjs/jwt'
import { NestFastifyApplication } from '@nestjs/platform-fastify'
diff --git a/backend/src/authentication/auth.module.ts b/backend/src/authentication/auth.module.ts
index 8d81b3f5..4919e7cc 100755
--- a/backend/src/authentication/auth.module.ts
+++ b/backend/src/authentication/auth.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Global, Module } from '@nestjs/common'
import { APP_GUARD } from '@nestjs/core'
import { JwtModule } from '@nestjs/jwt'
diff --git a/backend/src/authentication/auth.service.spec.ts b/backend/src/authentication/auth.service.spec.ts
index aa7d301b..18c183fd 100755
--- a/backend/src/authentication/auth.service.spec.ts
+++ b/backend/src/authentication/auth.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ConfigService } from '@nestjs/config'
import { JwtService } from '@nestjs/jwt'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/authentication/auth.service.ts b/backend/src/authentication/auth.service.ts
index b373dbfa..d30903b4 100755
--- a/backend/src/authentication/auth.service.ts
+++ b/backend/src/authentication/auth.service.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { unsign, UnsignResult } from '@fastify/cookie'
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { JwtService } from '@nestjs/jwt'
diff --git a/backend/src/authentication/constants/auth.ts b/backend/src/authentication/constants/auth.ts
index 93055652..8df68348 100644
--- a/backend/src/authentication/constants/auth.ts
+++ b/backend/src/authentication/constants/auth.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { TOKEN_TYPE } from '../interfaces/token.interface'
import { API_AUTH_REFRESH, API_AUTH_WS, API_TWO_FA_LOGIN_VERIFY } from './routes'
diff --git a/backend/src/authentication/constants/routes.ts b/backend/src/authentication/constants/routes.ts
index a6617ccf..a5ab22aa 100644
--- a/backend/src/authentication/constants/routes.ts
+++ b/backend/src/authentication/constants/routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const AUTH_ROUTE = {
BASE: '/api/auth',
LOGIN: 'login',
diff --git a/backend/src/authentication/constants/scope.ts b/backend/src/authentication/constants/scope.ts
index c9817ad3..38b43aae 100644
--- a/backend/src/authentication/constants/scope.ts
+++ b/backend/src/authentication/constants/scope.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum AUTH_SCOPE {
WEBDAV = 'webdav'
}
diff --git a/backend/src/authentication/decorators/auth-token-optional.decorator.ts b/backend/src/authentication/decorators/auth-token-optional.decorator.ts
index b6c417f1..1bb2cf98 100644
--- a/backend/src/authentication/decorators/auth-token-optional.decorator.ts
+++ b/backend/src/authentication/decorators/auth-token-optional.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { applyDecorators, UseGuards } from '@nestjs/common'
import { AuthGuard } from '@nestjs/passport'
import { AuthTokenSkip } from './auth-token-skip.decorator'
diff --git a/backend/src/authentication/decorators/auth-token-skip.decorator.ts b/backend/src/authentication/decorators/auth-token-skip.decorator.ts
index cee7f372..e3060886 100755
--- a/backend/src/authentication/decorators/auth-token-skip.decorator.ts
+++ b/backend/src/authentication/decorators/auth-token-skip.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SetMetadata } from '@nestjs/common'
export const AUTH_TOKEN_SKIP = 'authTokenSkip'
diff --git a/backend/src/authentication/dto/login-response.dto.ts b/backend/src/authentication/dto/login-response.dto.ts
index 29848550..31140c08 100644
--- a/backend/src/authentication/dto/login-response.dto.ts
+++ b/backend/src/authentication/dto/login-response.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { UserModel } from '../../applications/users/models/user.model'
import { ServerConfig } from '../../configuration/config.interfaces'
import { TokenResponseDto } from './token-response.dto'
diff --git a/backend/src/authentication/dto/token-response.dto.ts b/backend/src/authentication/dto/token-response.dto.ts
index a2a89093..4160b3a1 100644
--- a/backend/src/authentication/dto/token-response.dto.ts
+++ b/backend/src/authentication/dto/token-response.dto.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsInt, IsOptional, IsString } from 'class-validator'
export class TokenResponseDto {
diff --git a/backend/src/authentication/guards/auth-anonymous.guard.spec.ts b/backend/src/authentication/guards/auth-anonymous.guard.spec.ts
index 270cda28..8f1f1e9f 100644
--- a/backend/src/authentication/guards/auth-anonymous.guard.spec.ts
+++ b/backend/src/authentication/guards/auth-anonymous.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
diff --git a/backend/src/authentication/guards/auth-anonymous.guard.ts b/backend/src/authentication/guards/auth-anonymous.guard.ts
index e50f47c5..894a1355 100644
--- a/backend/src/authentication/guards/auth-anonymous.guard.ts
+++ b/backend/src/authentication/guards/auth-anonymous.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
diff --git a/backend/src/authentication/guards/auth-anonymous.strategy.ts b/backend/src/authentication/guards/auth-anonymous.strategy.ts
index 29c1be5c..25ca9ce2 100644
--- a/backend/src/authentication/guards/auth-anonymous.strategy.ts
+++ b/backend/src/authentication/guards/auth-anonymous.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { PassportStrategy } from '@nestjs/passport'
import { Strategy } from 'passport-strategy'
diff --git a/backend/src/authentication/guards/auth-basic.guard.spec.ts b/backend/src/authentication/guards/auth-basic.guard.spec.ts
index 85967464..b54e4554 100644
--- a/backend/src/authentication/guards/auth-basic.guard.spec.ts
+++ b/backend/src/authentication/guards/auth-basic.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/authentication/guards/auth-basic.guard.ts b/backend/src/authentication/guards/auth-basic.guard.ts
index 2db8ed47..6d7df57b 100644
--- a/backend/src/authentication/guards/auth-basic.guard.ts
+++ b/backend/src/authentication/guards/auth-basic.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
import { FastifyRequest } from 'fastify'
diff --git a/backend/src/authentication/guards/auth-basic.strategy.ts b/backend/src/authentication/guards/auth-basic.strategy.ts
index 3367ae7a..53b789f9 100644
--- a/backend/src/authentication/guards/auth-basic.strategy.ts
+++ b/backend/src/authentication/guards/auth-basic.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AbstractStrategy, PassportStrategy } from '@nestjs/passport'
import { instanceToPlain, plainToInstance } from 'class-transformer'
diff --git a/backend/src/authentication/guards/auth-digest.guard.ts b/backend/src/authentication/guards/auth-digest.guard.ts
index b8bfa837..f211167c 100644
--- a/backend/src/authentication/guards/auth-digest.guard.ts
+++ b/backend/src/authentication/guards/auth-digest.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
// import { AuthGuard, IAuthGuard } from '@nestjs/passport'
//
diff --git a/backend/src/authentication/guards/auth-digest.strategy.ts b/backend/src/authentication/guards/auth-digest.strategy.ts
index 28872a40..7c9331ac 100644
--- a/backend/src/authentication/guards/auth-digest.strategy.ts
+++ b/backend/src/authentication/guards/auth-digest.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// import { Injectable } from '@nestjs/common'
// import { PassportStrategy } from '@nestjs/passport'
// import { PinoLogger } from 'nestjs-pino'
diff --git a/backend/src/authentication/guards/auth-local.guard.spec.ts b/backend/src/authentication/guards/auth-local.guard.spec.ts
index f8c6cf23..2bdcf62a 100644
--- a/backend/src/authentication/guards/auth-local.guard.spec.ts
+++ b/backend/src/authentication/guards/auth-local.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
diff --git a/backend/src/authentication/guards/auth-local.guard.ts b/backend/src/authentication/guards/auth-local.guard.ts
index a7a6988b..10dbab99 100755
--- a/backend/src/authentication/guards/auth-local.guard.ts
+++ b/backend/src/authentication/guards/auth-local.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
diff --git a/backend/src/authentication/guards/auth-local.strategy.ts b/backend/src/authentication/guards/auth-local.strategy.ts
index 2d11cc6d..ccc98037 100755
--- a/backend/src/authentication/guards/auth-local.strategy.ts
+++ b/backend/src/authentication/guards/auth-local.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, UnauthorizedException } from '@nestjs/common'
import { AbstractStrategy, PassportStrategy } from '@nestjs/passport'
import type { FastifyRequest } from 'fastify'
diff --git a/backend/src/authentication/guards/auth-token-access.guard.spec.ts b/backend/src/authentication/guards/auth-token-access.guard.spec.ts
index ce21d492..f4de9d1b 100644
--- a/backend/src/authentication/guards/auth-token-access.guard.spec.ts
+++ b/backend/src/authentication/guards/auth-token-access.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sign } from '@fastify/cookie'
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
diff --git a/backend/src/authentication/guards/auth-token-access.guard.ts b/backend/src/authentication/guards/auth-token-access.guard.ts
index f145f241..bd991ad1 100755
--- a/backend/src/authentication/guards/auth-token-access.guard.ts
+++ b/backend/src/authentication/guards/auth-token-access.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { Reflector } from '@nestjs/core'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
diff --git a/backend/src/authentication/guards/auth-token-access.strategy.ts b/backend/src/authentication/guards/auth-token-access.strategy.ts
index 3f1f56e6..3abed9a7 100755
--- a/backend/src/authentication/guards/auth-token-access.strategy.ts
+++ b/backend/src/authentication/guards/auth-token-access.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AbstractStrategy, PassportStrategy } from '@nestjs/passport'
import { FastifyRequest } from 'fastify'
diff --git a/backend/src/authentication/guards/auth-token-refresh.guard.spec.ts b/backend/src/authentication/guards/auth-token-refresh.guard.spec.ts
index d93da5b0..4660e06b 100644
--- a/backend/src/authentication/guards/auth-token-refresh.guard.spec.ts
+++ b/backend/src/authentication/guards/auth-token-refresh.guard.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sign } from '@fastify/cookie'
import { createMock, DeepMocked } from '@golevelup/ts-jest'
import { ExecutionContext } from '@nestjs/common'
diff --git a/backend/src/authentication/guards/auth-token-refresh.guard.ts b/backend/src/authentication/guards/auth-token-refresh.guard.ts
index a89997b5..696430fd 100755
--- a/backend/src/authentication/guards/auth-token-refresh.guard.ts
+++ b/backend/src/authentication/guards/auth-token-refresh.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ExecutionContext, Injectable, Logger } from '@nestjs/common'
import { AuthGuard, IAuthGuard } from '@nestjs/passport'
diff --git a/backend/src/authentication/guards/auth-token-refresh.strategy.ts b/backend/src/authentication/guards/auth-token-refresh.strategy.ts
index 48a523ba..0184fb36 100755
--- a/backend/src/authentication/guards/auth-token-refresh.strategy.ts
+++ b/backend/src/authentication/guards/auth-token-refresh.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AbstractStrategy, PassportStrategy } from '@nestjs/passport'
import { FastifyRequest } from 'fastify'
diff --git a/backend/src/authentication/guards/implementations/http-basic.strategy.ts b/backend/src/authentication/guards/implementations/http-basic.strategy.ts
index 1a9ab7b9..140d20f9 100644
--- a/backend/src/authentication/guards/implementations/http-basic.strategy.ts
+++ b/backend/src/authentication/guards/implementations/http-basic.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Strategy as PassportStrategy } from 'passport-strategy'
export type BasicVerifyCallback = (err?: any, user?: any) => void
diff --git a/backend/src/authentication/guards/implementations/http-digest.strategy.ts b/backend/src/authentication/guards/implementations/http-digest.strategy.ts
index ecc85cfd..6b3002b7 100644
--- a/backend/src/authentication/guards/implementations/http-digest.strategy.ts
+++ b/backend/src/authentication/guards/implementations/http-digest.strategy.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import crypto from 'node:crypto'
import { Strategy as PassportStrategy } from 'passport-strategy'
diff --git a/backend/src/authentication/interfaces/auth-request.interface.ts b/backend/src/authentication/interfaces/auth-request.interface.ts
index d5059681..f43b399c 100644
--- a/backend/src/authentication/interfaces/auth-request.interface.ts
+++ b/backend/src/authentication/interfaces/auth-request.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FastifyRequest } from 'fastify'
import { UserModel } from '../../applications/users/models/user.model'
diff --git a/backend/src/authentication/interfaces/jwt-payload.interface.ts b/backend/src/authentication/interfaces/jwt-payload.interface.ts
index 8e2b856a..46fe796e 100644
--- a/backend/src/authentication/interfaces/jwt-payload.interface.ts
+++ b/backend/src/authentication/interfaces/jwt-payload.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export class JwtIdentityPayload {
id: number
login: string
diff --git a/backend/src/authentication/interfaces/token.interface.ts b/backend/src/authentication/interfaces/token.interface.ts
index b1c363ea..39cae539 100644
--- a/backend/src/authentication/interfaces/token.interface.ts
+++ b/backend/src/authentication/interfaces/token.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum TOKEN_TYPE {
ACCESS = 'access',
ACCESS_2FA = 'access_2fa',
diff --git a/backend/src/authentication/providers/auth-providers.constants.ts b/backend/src/authentication/providers/auth-providers.constants.ts
index 72d5a506..7566e175 100644
--- a/backend/src/authentication/providers/auth-providers.constants.ts
+++ b/backend/src/authentication/providers/auth-providers.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum AUTH_PROVIDER {
MYSQL = 'mysql',
LDAP = 'ldap',
diff --git a/backend/src/authentication/providers/auth-providers.models.ts b/backend/src/authentication/providers/auth-providers.models.ts
index c42479e3..e9b8a61f 100644
--- a/backend/src/authentication/providers/auth-providers.models.ts
+++ b/backend/src/authentication/providers/auth-providers.models.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { UserModel } from '../../applications/users/models/user.model'
import type { AUTH_SCOPE } from '../constants/scope'
diff --git a/backend/src/authentication/providers/auth-providers.utils.ts b/backend/src/authentication/providers/auth-providers.utils.ts
index 0404cc10..ea6398c2 100644
--- a/backend/src/authentication/providers/auth-providers.utils.ts
+++ b/backend/src/authentication/providers/auth-providers.utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Provider } from '@nestjs/common'
import { AUTH_PROVIDER } from './auth-providers.constants'
diff --git a/backend/src/authentication/providers/ldap/auth-ldap.config.ts b/backend/src/authentication/providers/ldap/auth-ldap.config.ts
index fe2bb535..6a840aaa 100644
--- a/backend/src/authentication/providers/ldap/auth-ldap.config.ts
+++ b/backend/src/authentication/providers/ldap/auth-ldap.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import {
ArrayNotEmpty,
diff --git a/backend/src/authentication/providers/ldap/auth-ldap.constants.ts b/backend/src/authentication/providers/ldap/auth-ldap.constants.ts
index aab414cd..112e1041 100644
--- a/backend/src/authentication/providers/ldap/auth-ldap.constants.ts
+++ b/backend/src/authentication/providers/ldap/auth-ldap.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum LDAP_LOGIN_ATTR {
UID = 'uid',
CN = 'cn',
diff --git a/backend/src/authentication/providers/ldap/auth-provider-ldap.service.spec.ts b/backend/src/authentication/providers/ldap/auth-provider-ldap.service.spec.ts
index 5f189d61..a3cadafe 100644
--- a/backend/src/authentication/providers/ldap/auth-provider-ldap.service.spec.ts
+++ b/backend/src/authentication/providers/ldap/auth-provider-ldap.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { Mocked } from 'jest-mock'
import { Client, InvalidCredentialsError } from 'ldapts'
diff --git a/backend/src/authentication/providers/ldap/auth-provider-ldap.service.ts b/backend/src/authentication/providers/ldap/auth-provider-ldap.service.ts
index cd012f79..69f7426d 100644
--- a/backend/src/authentication/providers/ldap/auth-provider-ldap.service.ts
+++ b/backend/src/authentication/providers/ldap/auth-provider-ldap.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { AndFilter, Client, ClientOptions, Entry, EqualityFilter, InvalidCredentialsError, OrFilter } from 'ldapts'
import { CONNECT_ERROR_CODE } from '../../../app.constants'
diff --git a/backend/src/authentication/providers/mysql/auth-provider-mysql.service.spec.ts b/backend/src/authentication/providers/mysql/auth-provider-mysql.service.spec.ts
index e222f931..967873de 100644
--- a/backend/src/authentication/providers/mysql/auth-provider-mysql.service.spec.ts
+++ b/backend/src/authentication/providers/mysql/auth-provider-mysql.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { CONNECT_ERROR_CODE } from '../../../app.constants'
import { NotificationsManager } from '../../../applications/notifications/services/notifications-manager.service'
diff --git a/backend/src/authentication/providers/mysql/auth-provider-mysql.service.ts b/backend/src/authentication/providers/mysql/auth-provider-mysql.service.ts
index c993062d..d47246ab 100644
--- a/backend/src/authentication/providers/mysql/auth-provider-mysql.service.ts
+++ b/backend/src/authentication/providers/mysql/auth-provider-mysql.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { CONNECT_ERROR_CODE } from '../../../app.constants'
import { UserModel } from '../../../applications/users/models/user.model'
diff --git a/backend/src/authentication/providers/oidc/auth-oidc-desktop.constants.ts b/backend/src/authentication/providers/oidc/auth-oidc-desktop.constants.ts
index fec106a7..726104a3 100644
--- a/backend/src/authentication/providers/oidc/auth-oidc-desktop.constants.ts
+++ b/backend/src/authentication/providers/oidc/auth-oidc-desktop.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const OAuthDesktopPortParam = 'desktop_port' as const
export const OAuthDesktopCallBackURI = '/oidc/callback' as const
export const OAuthDesktopLoopbackPorts = new Set<number>([49152, 49153, 49154])
diff --git a/backend/src/authentication/providers/oidc/auth-oidc.config.ts b/backend/src/authentication/providers/oidc/auth-oidc.config.ts
index 2bf75b78..9eafddfa 100644
--- a/backend/src/authentication/providers/oidc/auth-oidc.config.ts
+++ b/backend/src/authentication/providers/oidc/auth-oidc.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import {
IsArray,
diff --git a/backend/src/authentication/providers/oidc/auth-oidc.constants.ts b/backend/src/authentication/providers/oidc/auth-oidc.constants.ts
index 05f95a63..249c66de 100644
--- a/backend/src/authentication/providers/oidc/auth-oidc.constants.ts
+++ b/backend/src/authentication/providers/oidc/auth-oidc.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum OAuthTokenEndpoint {
ClientSecretPost = 'client_secret_post',
ClientSecretBasic = 'client_secret_basic'
diff --git a/backend/src/authentication/providers/oidc/auth-oidc.controller.ts b/backend/src/authentication/providers/oidc/auth-oidc.controller.ts
index 35f2b5ab..cb1c6a68 100644
--- a/backend/src/authentication/providers/oidc/auth-oidc.controller.ts
+++ b/backend/src/authentication/providers/oidc/auth-oidc.controller.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Controller, Get, HttpStatus, Query, Req, Res } from '@nestjs/common'
import { FastifyReply, FastifyRequest } from 'fastify'
import type { UserModel } from '../../../applications/users/models/user.model'
diff --git a/backend/src/authentication/providers/oidc/auth-oidc.interfaces.ts b/backend/src/authentication/providers/oidc/auth-oidc.interfaces.ts
index 9e5c1b7c..4cbf9092 100644
--- a/backend/src/authentication/providers/oidc/auth-oidc.interfaces.ts
+++ b/backend/src/authentication/providers/oidc/auth-oidc.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface AuthOIDCSettings {
loginUrl: string
autoRedirect: boolean
diff --git a/backend/src/authentication/providers/oidc/auth-provider-oidc.module.ts b/backend/src/authentication/providers/oidc/auth-provider-oidc.module.ts
index c3bdd210..c971f5c2 100644
--- a/backend/src/authentication/providers/oidc/auth-provider-oidc.module.ts
+++ b/backend/src/authentication/providers/oidc/auth-provider-oidc.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Module } from '@nestjs/common'
import { AuthOIDCController } from './auth-oidc.controller'
import { AuthProviderOIDC } from './auth-provider-oidc.service'
diff --git a/backend/src/authentication/providers/oidc/auth-provider-oidc.service.spec.ts b/backend/src/authentication/providers/oidc/auth-provider-oidc.service.spec.ts
index 78eee58b..430cac4d 100644
--- a/backend/src/authentication/providers/oidc/auth-provider-oidc.service.spec.ts
+++ b/backend/src/authentication/providers/oidc/auth-provider-oidc.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import {
diff --git a/backend/src/authentication/providers/oidc/auth-provider-oidc.service.ts b/backend/src/authentication/providers/oidc/auth-provider-oidc.service.ts
index c74a2c44..3f764cd2 100644
--- a/backend/src/authentication/providers/oidc/auth-provider-oidc.service.ts
+++ b/backend/src/authentication/providers/oidc/auth-provider-oidc.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { FastifyReply, FastifyRequest } from 'fastify'
import {
diff --git a/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.spec.ts b/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.spec.ts
index 2c5c48f2..c77bee98 100644
--- a/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.spec.ts
+++ b/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus } from '@nestjs/common'
import { Test, TestingModule } from '@nestjs/testing'
import { Totp } from 'time2fa'
diff --git a/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.ts b/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.ts
index 75181f1e..ed07a0f1 100644
--- a/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.ts
+++ b/backend/src/authentication/providers/two-fa/auth-provider-two-fa.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpException, HttpStatus, Injectable, Logger } from '@nestjs/common'
import { Totp } from 'time2fa'
import { NOTIFICATION_APP, NOTIFICATION_APP_EVENT } from '../../../applications/notifications/constants/notifications'
diff --git a/backend/src/authentication/providers/two-fa/auth-two-fa-guard.ts b/backend/src/authentication/providers/two-fa/auth-two-fa-guard.ts
index c6ac2d05..f36e57d3 100644
--- a/backend/src/authentication/providers/two-fa/auth-two-fa-guard.ts
+++ b/backend/src/authentication/providers/two-fa/auth-two-fa-guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CanActivate, ExecutionContext, HttpException, HttpStatus, Injectable, mixin, Type } from '@nestjs/common'
import { configuration } from '../../../configuration/config.environment'
import { TWO_FA_HEADER_CODE, TWO_FA_HEADER_PASSWORD } from '../../constants/auth'
diff --git a/backend/src/authentication/providers/two-fa/auth-two-fa.config.ts b/backend/src/authentication/providers/two-fa/auth-two-fa.config.ts
index 8491350f..bc472ff7 100644
--- a/backend/src/authentication/providers/two-fa/auth-two-fa.config.ts
+++ b/backend/src/authentication/providers/two-fa/auth-two-fa.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Type } from 'class-transformer'
import { IsBoolean, IsDefined, IsNotEmptyObject, IsObject, IsString, ValidateNested } from 'class-validator'
import { SERVER_NAME } from '../../../common/shared'
diff --git a/backend/src/authentication/providers/two-fa/auth-two-fa.dtos.ts b/backend/src/authentication/providers/two-fa/auth-two-fa.dtos.ts
index 33beec39..da8e30b0 100644
--- a/backend/src/authentication/providers/two-fa/auth-two-fa.dtos.ts
+++ b/backend/src/authentication/providers/two-fa/auth-two-fa.dtos.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsBoolean, IsNotEmpty, IsOptional, IsString } from 'class-validator'
import { LoginResponseDto } from '../../dto/login-response.dto'
diff --git a/backend/src/authentication/providers/two-fa/auth-two-fa.interfaces.ts b/backend/src/authentication/providers/two-fa/auth-two-fa.interfaces.ts
index e2a3961d..9f73d3e0 100644
--- a/backend/src/authentication/providers/two-fa/auth-two-fa.interfaces.ts
+++ b/backend/src/authentication/providers/two-fa/auth-two-fa.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface TwoFaSetup {
secret: string
qrDataUrl: string
diff --git a/backend/src/authentication/utils/crypt-secret.ts b/backend/src/authentication/utils/crypt-secret.ts
index 81479c2f..ab1ea666 100644
--- a/backend/src/authentication/utils/crypt-secret.ts
+++ b/backend/src/authentication/utils/crypt-secret.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import crypto from 'crypto'
// Encrypt a plaintext string with a passphrase. Returns a compact string.
diff --git a/backend/src/common/constants.ts b/backend/src/common/constants.ts
index 8e5518cc..4b843e99 100644
--- a/backend/src/common/constants.ts
+++ b/backend/src/common/constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum ACTION {
ADD = 'add',
UPDATE = 'update',
diff --git a/backend/src/common/decorators.ts b/backend/src/common/decorators.ts
index 46aaaf33..235fa7bc 100644
--- a/backend/src/common/decorators.ts
+++ b/backend/src/common/decorators.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { registerDecorator, ValidationArguments, ValidationOptions } from 'class-validator'
export function RejectIfMatch(regex: RegExp, validationOptions?: ValidationOptions) {
diff --git a/backend/src/common/functions.ts b/backend/src/common/functions.ts
index 7058aaba..12900fce 100755
--- a/backend/src/common/functions.ts
+++ b/backend/src/common/functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { parse as parseMs } from '@lukeed/ms'
import bcrypt from 'bcryptjs'
import { ClassTransformOptions, plainToInstance } from 'class-transformer'
diff --git a/backend/src/common/i18n.ts b/backend/src/common/i18n.ts
index 3d0144cd..d1ee16ce 100644
--- a/backend/src/common/i18n.ts
+++ b/backend/src/common/i18n.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const LANG_DEFAULT = 'en' as const
export type i18nLocaleSupported = 'de' | 'en' | 'es' | 'fr' | 'hi' | 'it' | 'ja' | 'ko' | 'pl' | 'pt' | 'pt-BR' | 'ru' | 'tr' | 'zh'
export const LANG_SUPPORTED = new Set<i18nLocaleSupported>(['de', 'en', 'es', 'fr', 'hi', 'it', 'ja', 'ko', 'pl', 'pt', 'pt-BR', 'ru', 'tr', 'zh'])
diff --git a/backend/src/common/image.ts b/backend/src/common/image.ts
index 850784b5..0a4adf7f 100644
--- a/backend/src/common/image.ts
+++ b/backend/src/common/image.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import fs from 'node:fs/promises'
import os from 'node:os'
import path from 'node:path'
diff --git a/backend/src/common/interfaces.ts b/backend/src/common/interfaces.ts
index 4cd45594..411291a2 100644
--- a/backend/src/common/interfaces.ts
+++ b/backend/src/common/interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export type Entries<T> = { [K in keyof T]: [K, T[K]] }[keyof T][]
export interface StorageQuota {
diff --git a/backend/src/common/qrcode.ts b/backend/src/common/qrcode.ts
index c8828fb5..501222cb 100644
--- a/backend/src/common/qrcode.ts
+++ b/backend/src/common/qrcode.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import qrcode from 'qrcode-generator'
export function qrcodeToDataURL(text: string) {
diff --git a/backend/src/common/shared.ts b/backend/src/common/shared.ts
index 11cbed8b..806bbf89 100644
--- a/backend/src/common/shared.ts
+++ b/backend/src/common/shared.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
/* THIS FILE IS SHARED WITH THE FRONTEND PACKAGE */
import { SPACE_PERMS_SEP } from '../applications/spaces/constants/spaces'
diff --git a/backend/src/configuration/config.constants.ts b/backend/src/configuration/config.constants.ts
index 4bbe9ad4..b5b9705b 100644
--- a/backend/src/configuration/config.constants.ts
+++ b/backend/src/configuration/config.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import path from 'node:path'
import process from 'node:process'
diff --git a/backend/src/configuration/config.environment.ts b/backend/src/configuration/config.environment.ts
index 4c9a535e..143a96f3 100755
--- a/backend/src/configuration/config.environment.ts
+++ b/backend/src/configuration/config.environment.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { join } from 'node:path'
import { AuthTokenAccessConfig, AuthTokenRefreshConfig } from '../authentication/auth.config'
import { ACCESS_KEY, CSRF_KEY, TWO_FA_VERIFY_EXPIRATION, WS_KEY } from '../authentication/constants/auth'
diff --git a/backend/src/configuration/config.interfaces.ts b/backend/src/configuration/config.interfaces.ts
index b8fe4326..a2f778a0 100644
--- a/backend/src/configuration/config.interfaces.ts
+++ b/backend/src/configuration/config.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface FileEditorProvider {
collabora: boolean
onlyoffice: boolean
diff --git a/backend/src/configuration/config.loader.ts b/backend/src/configuration/config.loader.ts
index e46ba535..a8b8aad5 100644
--- a/backend/src/configuration/config.loader.ts
+++ b/backend/src/configuration/config.loader.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import deepmerge from 'deepmerge'
import * as yaml from 'js-yaml'
import fs from 'node:fs'
diff --git a/backend/src/configuration/config.logger.ts b/backend/src/configuration/config.logger.ts
index 0ece6aeb..bad055f4 100644
--- a/backend/src/configuration/config.logger.ts
+++ b/backend/src/configuration/config.logger.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { Options } from 'pino-http'
import type { LoggerConfig } from './config.validation'
diff --git a/backend/src/configuration/config.validation.ts b/backend/src/configuration/config.validation.ts
index c137bf1b..0f477f01 100644
--- a/backend/src/configuration/config.validation.ts
+++ b/backend/src/configuration/config.validation.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform, Type } from 'class-transformer'
import {
IsBoolean,
diff --git a/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts b/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts
index dc1e5adc..66788e8a 100644
--- a/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts
+++ b/backend/src/infrastructure/cache/adapters/mysql-cache.adapter.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject, Injectable, Logger } from '@nestjs/common'
import { SchedulerRegistry } from '@nestjs/schedule'
import { CronJob } from 'cron'
diff --git a/backend/src/infrastructure/cache/adapters/redis-cache.adapter.ts b/backend/src/infrastructure/cache/adapters/redis-cache.adapter.ts
index 8c71d43b..3a3b39fa 100644
--- a/backend/src/infrastructure/cache/adapters/redis-cache.adapter.ts
+++ b/backend/src/infrastructure/cache/adapters/redis-cache.adapter.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import { RedisClientOptions } from '@redis/client'
import { createClient, RedisClientType } from 'redis'
diff --git a/backend/src/infrastructure/cache/cache.config.ts b/backend/src/infrastructure/cache/cache.config.ts
index 60f18b8c..f6c45653 100644
--- a/backend/src/infrastructure/cache/cache.config.ts
+++ b/backend/src/infrastructure/cache/cache.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsIn, IsInt, IsNotEmpty, IsString, Min, ValidateIf } from 'class-validator'
export class CacheConfig {
diff --git a/backend/src/infrastructure/cache/cache.decorator.ts b/backend/src/infrastructure/cache/cache.decorator.ts
index 7f8c448f..0204d5bf 100644
--- a/backend/src/infrastructure/cache/cache.decorator.ts
+++ b/backend/src/infrastructure/cache/cache.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Inject } from '@nestjs/common'
import { Cache } from './services/cache.service'
diff --git a/backend/src/infrastructure/cache/cache.e2e-spec.ts b/backend/src/infrastructure/cache/cache.e2e-spec.ts
index e713d3ad..ed97333c 100644
--- a/backend/src/infrastructure/cache/cache.e2e-spec.ts
+++ b/backend/src/infrastructure/cache/cache.e2e-spec.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
import { LoggerModule } from 'nestjs-pino'
import { setTimeout } from 'node:timers/promises'
diff --git a/backend/src/infrastructure/cache/cache.module.ts b/backend/src/infrastructure/cache/cache.module.ts
index aa68e739..293a2067 100644
--- a/backend/src/infrastructure/cache/cache.module.ts
+++ b/backend/src/infrastructure/cache/cache.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Global, Module } from '@nestjs/common'
import { SchedulerRegistry } from '@nestjs/schedule'
import { configuration } from '../../configuration/config.environment'
diff --git a/backend/src/infrastructure/cache/schemas/mysql-cache.interface.ts b/backend/src/infrastructure/cache/schemas/mysql-cache.interface.ts
index 3ceab2da..c21a698a 100644
--- a/backend/src/infrastructure/cache/schemas/mysql-cache.interface.ts
+++ b/backend/src/infrastructure/cache/schemas/mysql-cache.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { cache } from './mysql-cache.schema'
type MysqlCacheSchema = typeof cache.$inferSelect
diff --git a/backend/src/infrastructure/cache/schemas/mysql-cache.schema.ts b/backend/src/infrastructure/cache/schemas/mysql-cache.schema.ts
index 538914a0..4d4d3178 100644
--- a/backend/src/infrastructure/cache/schemas/mysql-cache.schema.ts
+++ b/backend/src/infrastructure/cache/schemas/mysql-cache.schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { index, int, mysqlTable, varchar } from 'drizzle-orm/mysql-core'
import { jsonColumn } from '../../database/columns'
diff --git a/backend/src/infrastructure/cache/services/cache.service.ts b/backend/src/infrastructure/cache/services/cache.service.ts
index 53116fc8..747fb90b 100644
--- a/backend/src/infrastructure/cache/services/cache.service.ts
+++ b/backend/src/infrastructure/cache/services/cache.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { OnModuleDestroy, OnModuleInit } from '@nestjs/common'
export abstract class Cache implements OnModuleInit, OnModuleDestroy {
diff --git a/backend/src/infrastructure/context/context.module.ts b/backend/src/infrastructure/context/context.module.ts
index 4ec4a1fe..71039462 100644
--- a/backend/src/infrastructure/context/context.module.ts
+++ b/backend/src/infrastructure/context/context.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Global, Module } from '@nestjs/common'
import { ContextInterceptor } from './interceptors/context.interceptor'
import { ContextManager } from './services/context-manager.service'
diff --git a/backend/src/infrastructure/context/interceptors/context.interceptor.spec.ts b/backend/src/infrastructure/context/interceptors/context.interceptor.spec.ts
index c3b4b065..7d65d324 100644
--- a/backend/src/infrastructure/context/interceptors/context.interceptor.spec.ts
+++ b/backend/src/infrastructure/context/interceptors/context.interceptor.spec.ts
@@ -1,14 +1,8 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
-import { Test, TestingModule } from '@nestjs/testing'
import { CallHandler, ExecutionContext } from '@nestjs/common'
+import { Test, TestingModule } from '@nestjs/testing'
import { of } from 'rxjs'
-import { ContextInterceptor } from './context.interceptor'
import { ContextManager } from '../services/context-manager.service'
+import { ContextInterceptor } from './context.interceptor'
// Helper to create a minimal ExecutionContext with Fastify-like request
function createHttpExecutionContext(request: any): ExecutionContext {
diff --git a/backend/src/infrastructure/context/interceptors/context.interceptor.ts b/backend/src/infrastructure/context/interceptors/context.interceptor.ts
index 0ae3a1cc..cbf351a1 100644
--- a/backend/src/infrastructure/context/interceptors/context.interceptor.ts
+++ b/backend/src/infrastructure/context/interceptors/context.interceptor.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CallHandler, ExecutionContext, Injectable, NestInterceptor } from '@nestjs/common'
import { FastifyRequest } from 'fastify'
import type { Observable } from 'rxjs'
diff --git a/backend/src/infrastructure/context/interfaces/context-store.interface.ts b/backend/src/infrastructure/context/interfaces/context-store.interface.ts
index 444d0adc..e494843d 100644
--- a/backend/src/infrastructure/context/interfaces/context-store.interface.ts
+++ b/backend/src/infrastructure/context/interfaces/context-store.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface ContextStore {
headerOriginUrl: string
}
diff --git a/backend/src/infrastructure/context/services/context-manager.service.spec.ts b/backend/src/infrastructure/context/services/context-manager.service.spec.ts
index 40642067..400931dd 100644
--- a/backend/src/infrastructure/context/services/context-manager.service.spec.ts
+++ b/backend/src/infrastructure/context/services/context-manager.service.spec.ts
@@ -1,12 +1,6 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Test, TestingModule } from '@nestjs/testing'
-import { ContextManager } from './context-manager.service'
import type { ContextStore } from '../interfaces/context-store.interface'
+import { ContextManager } from './context-manager.service'
describe(ContextManager.name, () => {
let contextManager: ContextManager
diff --git a/backend/src/infrastructure/context/services/context-manager.service.ts b/backend/src/infrastructure/context/services/context-manager.service.ts
index d7098833..c552a7dc 100644
--- a/backend/src/infrastructure/context/services/context-manager.service.ts
+++ b/backend/src/infrastructure/context/services/context-manager.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { AsyncLocalStorage } from 'node:async_hooks'
import type { Observable } from 'rxjs'
diff --git a/backend/src/infrastructure/database/columns.ts b/backend/src/infrastructure/database/columns.ts
index 24142a2b..8be76259 100644
--- a/backend/src/infrastructure/database/columns.ts
+++ b/backend/src/infrastructure/database/columns.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { customType } from 'drizzle-orm/mysql-core'
export const jsonColumn = <T>() =>
diff --git a/backend/src/infrastructure/database/configuration.ts b/backend/src/infrastructure/database/configuration.ts
index 4e7c5683..f26f0a51 100644
--- a/backend/src/infrastructure/database/configuration.ts
+++ b/backend/src/infrastructure/database/configuration.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Config, defineConfig } from 'drizzle-kit'
import { configLoader } from '../../configuration/config.loader'
import { getSchemaPath, MIGRATIONS_PATH } from './constants'
diff --git a/backend/src/infrastructure/database/constants.ts b/backend/src/infrastructure/database/constants.ts
index 00c95c83..3dae7400 100644
--- a/backend/src/infrastructure/database/constants.ts
+++ b/backend/src/infrastructure/database/constants.ts
@@ -1,11 +1,5 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
-import path from 'node:path'
import fs from 'node:fs'
+import path from 'node:path'
export const DB_CHARSET = 'utf8mb4'
export const DB_TOKEN_PROVIDER = 'DB'
diff --git a/backend/src/infrastructure/database/database.config.ts b/backend/src/infrastructure/database/database.config.ts
index 81d61b83..753d3aeb 100644
--- a/backend/src/infrastructure/database/database.config.ts
+++ b/backend/src/infrastructure/database/database.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Transform } from 'class-transformer'
import { IsBoolean, IsNotEmpty, IsString } from 'class-validator'
import { DB_CHARSET } from './constants'
diff --git a/backend/src/infrastructure/database/database.logger.ts b/backend/src/infrastructure/database/database.logger.ts
index 443f5768..390ea94c 100644
--- a/backend/src/infrastructure/database/database.logger.ts
+++ b/backend/src/infrastructure/database/database.logger.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Logger } from '@nestjs/common'
import { Logger as DrizzleLogger } from 'drizzle-orm/logger.js'
diff --git a/backend/src/infrastructure/database/database.module.ts b/backend/src/infrastructure/database/database.module.ts
index 1217e7f4..e48ea11f 100644
--- a/backend/src/infrastructure/database/database.module.ts
+++ b/backend/src/infrastructure/database/database.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { DrizzleMySqlConfig, DrizzleMySqlModule } from '@knaadh/nestjs-drizzle-mysql2'
import { BeforeApplicationShutdown, Global, Inject, Module } from '@nestjs/common'
import { MySql2Client } from 'drizzle-orm/mysql2'
diff --git a/backend/src/infrastructure/database/interfaces/database.interface.ts b/backend/src/infrastructure/database/interfaces/database.interface.ts
index 92c87a65..c82619ed 100644
--- a/backend/src/infrastructure/database/interfaces/database.interface.ts
+++ b/backend/src/infrastructure/database/interfaces/database.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { MySql2Database } from 'drizzle-orm/mysql2'
import * as schema from '../schema'
diff --git a/backend/src/infrastructure/database/schema.ts b/backend/src/infrastructure/database/schema.ts
index dbbdab7d..95cc1599 100644
--- a/backend/src/infrastructure/database/schema.ts
+++ b/backend/src/infrastructure/database/schema.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export * from '../cache/schemas/mysql-cache.schema'
export * from '../../applications/users/schemas/users.schema'
export * from '../../applications/users/schemas/groups.schema'
diff --git a/backend/src/infrastructure/database/scripts/create-user.ts b/backend/src/infrastructure/database/scripts/create-user.ts
index 827de917..dc6afbcc 100644
--- a/backend/src/infrastructure/database/scripts/create-user.ts
+++ b/backend/src/infrastructure/database/scripts/create-user.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { count, eq, or } from 'drizzle-orm'
import { USER_PERMISSION, USER_ROLE } from '../../../applications/users/constants/user'
import { User } from '../../../applications/users/schemas/user.interface'
diff --git a/backend/src/infrastructure/database/scripts/db.ts b/backend/src/infrastructure/database/scripts/db.ts
index 413df79c..9d75c741 100644
--- a/backend/src/infrastructure/database/scripts/db.ts
+++ b/backend/src/infrastructure/database/scripts/db.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { drizzle } from 'drizzle-orm/mysql2'
import { configLoader } from '../../../configuration/config.loader'
import * as schema from '../schema'
diff --git a/backend/src/infrastructure/database/scripts/seed/main.ts b/backend/src/infrastructure/database/scripts/seed/main.ts
index b98a5520..36aca441 100644
--- a/backend/src/infrastructure/database/scripts/seed/main.ts
+++ b/backend/src/infrastructure/database/scripts/seed/main.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { usersAndGroups } from './usersgroups'
async function main() {
diff --git a/backend/src/infrastructure/database/scripts/seed/usersgroups.ts b/backend/src/infrastructure/database/scripts/seed/usersgroups.ts
index 552c4289..a1b1246a 100644
--- a/backend/src/infrastructure/database/scripts/seed/usersgroups.ts
+++ b/backend/src/infrastructure/database/scripts/seed/usersgroups.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { faker } from '@faker-js/faker'
import { ResultSetHeader } from 'mysql2/promise'
import { USER_PERMISSION, USER_ROLE } from '../../../../applications/users/constants/user'
diff --git a/backend/src/infrastructure/database/utils.ts b/backend/src/infrastructure/database/utils.ts
index ff20ad15..8b7400e2 100644
--- a/backend/src/infrastructure/database/utils.ts
+++ b/backend/src/infrastructure/database/utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NestFastifyApplication } from '@nestjs/platform-fastify'
import { TestingModule } from '@nestjs/testing'
import { Column, eq, inArray, isNull, SQL, sql } from 'drizzle-orm'
diff --git a/backend/src/infrastructure/mailer/interfaces/mail.interface.ts b/backend/src/infrastructure/mailer/interfaces/mail.interface.ts
index b716c669..3ab6e066 100644
--- a/backend/src/infrastructure/mailer/interfaces/mail.interface.ts
+++ b/backend/src/infrastructure/mailer/interfaces/mail.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface MailTransport {
host: string
port: number
diff --git a/backend/src/infrastructure/mailer/mailer.config.ts b/backend/src/infrastructure/mailer/mailer.config.ts
index 13a06454..0c72c902 100644
--- a/backend/src/infrastructure/mailer/mailer.config.ts
+++ b/backend/src/infrastructure/mailer/mailer.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Type } from 'class-transformer'
import { IsBoolean, IsInt, IsNotEmpty, IsObject, IsOptional, IsString, Max, Min, ValidateNested } from 'class-validator'
diff --git a/backend/src/infrastructure/mailer/mailer.module.ts b/backend/src/infrastructure/mailer/mailer.module.ts
index 30a2670e..61d1c94b 100644
--- a/backend/src/infrastructure/mailer/mailer.module.ts
+++ b/backend/src/infrastructure/mailer/mailer.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Global, Module } from '@nestjs/common'
import { Mailer } from './mailer.service'
diff --git a/backend/src/infrastructure/mailer/mailer.service.spec.ts b/backend/src/infrastructure/mailer/mailer.service.spec.ts
index 42a4d1b1..2897d854 100644
--- a/backend/src/infrastructure/mailer/mailer.service.spec.ts
+++ b/backend/src/infrastructure/mailer/mailer.service.spec.ts
@@ -1,15 +1,9 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
-import { Test, TestingModule } from '@nestjs/testing'
import { ConfigService } from '@nestjs/config'
+import { Test, TestingModule } from '@nestjs/testing'
import { PinoLogger } from 'nestjs-pino'
import nodemailer from 'nodemailer'
-import { Mailer } from './mailer.service'
import { MailerConfig } from './mailer.config'
+import { Mailer } from './mailer.service'
// Mocks
jest.mock('nodemailer')
diff --git a/backend/src/infrastructure/mailer/mailer.service.ts b/backend/src/infrastructure/mailer/mailer.service.ts
index 53d1ebaa..6db06e97 100644
--- a/backend/src/infrastructure/mailer/mailer.service.ts
+++ b/backend/src/infrastructure/mailer/mailer.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { ConfigService } from '@nestjs/config'
import { PinoLogger } from 'nestjs-pino'
diff --git a/backend/src/infrastructure/scheduler/scheduler.constants.ts b/backend/src/infrastructure/scheduler/scheduler.constants.ts
index 035e3141..ce63a698 100644
--- a/backend/src/infrastructure/scheduler/scheduler.constants.ts
+++ b/backend/src/infrastructure/scheduler/scheduler.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const SCHEDULER_ENV = 'SCHEDULER'
export enum SCHEDULER_STATE {
diff --git a/backend/src/infrastructure/scheduler/scheduler.module.ts b/backend/src/infrastructure/scheduler/scheduler.module.ts
index 8978fd8a..0081f060 100644
--- a/backend/src/infrastructure/scheduler/scheduler.module.ts
+++ b/backend/src/infrastructure/scheduler/scheduler.module.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { DynamicModule, Module } from '@nestjs/common'
import { ScheduleModule as NestScheduleModule } from '@nestjs/schedule'
import cluster from 'node:cluster'
diff --git a/backend/src/infrastructure/websocket/adapters/cluster.adapter.ts b/backend/src/infrastructure/websocket/adapters/cluster.adapter.ts
index d450b15c..f55e236c 100644
--- a/backend/src/infrastructure/websocket/adapters/cluster.adapter.ts
+++ b/backend/src/infrastructure/websocket/adapters/cluster.adapter.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable } from '@nestjs/common'
import { IoAdapter } from '@nestjs/platform-socket.io'
import { createAdapter } from '@socket.io/cluster-adapter'
diff --git a/backend/src/infrastructure/websocket/adapters/redis.adapter.ts b/backend/src/infrastructure/websocket/adapters/redis.adapter.ts
index 0cd0ce1a..2bd46578 100644
--- a/backend/src/infrastructure/websocket/adapters/redis.adapter.ts
+++ b/backend/src/infrastructure/websocket/adapters/redis.adapter.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Logger } from '@nestjs/common'
import { IoAdapter } from '@nestjs/platform-socket.io'
import { ServerOptions } from 'socket.io'
diff --git a/backend/src/infrastructure/websocket/adapters/web-socket.adapter.ts b/backend/src/infrastructure/websocket/adapters/web-socket.adapter.ts
index 9e5a0f02..5c67289e 100644
--- a/backend/src/infrastructure/websocket/adapters/web-socket.adapter.ts
+++ b/backend/src/infrastructure/websocket/adapters/web-socket.adapter.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Injectable, Logger } from '@nestjs/common'
import { JwtService } from '@nestjs/jwt'
import { NestFastifyApplication } from '@nestjs/platform-fastify'
diff --git a/backend/src/infrastructure/websocket/decorators/web-socket-user.decorator.ts b/backend/src/infrastructure/websocket/decorators/web-socket-user.decorator.ts
index 3fad55ec..cd496bed 100644
--- a/backend/src/infrastructure/websocket/decorators/web-socket-user.decorator.ts
+++ b/backend/src/infrastructure/websocket/decorators/web-socket-user.decorator.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { createParamDecorator, ExecutionContext } from '@nestjs/common'
import type { JwtIdentityPayload } from '../../../authentication/interfaces/jwt-payload.interface'
diff --git a/backend/src/infrastructure/websocket/interfaces/auth-socket-io.interface.ts b/backend/src/infrastructure/websocket/interfaces/auth-socket-io.interface.ts
index fbe28abf..ca8556f5 100644
--- a/backend/src/infrastructure/websocket/interfaces/auth-socket-io.interface.ts
+++ b/backend/src/infrastructure/websocket/interfaces/auth-socket-io.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Socket } from 'socket.io'
import { JwtIdentityPayload } from '../../../authentication/interfaces/jwt-payload.interface'
diff --git a/backend/src/infrastructure/websocket/utils.ts b/backend/src/infrastructure/websocket/utils.ts
index ac581362..57df1ff0 100644
--- a/backend/src/infrastructure/websocket/utils.ts
+++ b/backend/src/infrastructure/websocket/utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Socket } from 'socket.io'
import { configuration } from '../../configuration/config.environment'
diff --git a/backend/src/infrastructure/websocket/web-socket.config.ts b/backend/src/infrastructure/websocket/web-socket.config.ts
index 580089c8..091b45b8 100644
--- a/backend/src/infrastructure/websocket/web-socket.config.ts
+++ b/backend/src/infrastructure/websocket/web-socket.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IsIn, IsNotEmpty, IsString, ValidateIf } from 'class-validator'
export class WebSocketConfig {
diff --git a/backend/src/main.ts b/backend/src/main.ts
index d3b6dd23..66443472 100755
--- a/backend/src/main.ts
+++ b/backend/src/main.ts
@@ -1,10 +1,4 @@
#!/usr/bin/env node
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NestFastifyApplication } from '@nestjs/platform-fastify'
import { Logger } from 'nestjs-pino'
import { appBootstrap } from './app.bootstrap'
diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js
index 813818ae..1cab7966 100644
--- a/frontend/eslint.config.js
+++ b/frontend/eslint.config.js
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// @ts-check
const eslint = require('@eslint/js')
const tseslint = require('typescript-eslint')
diff --git a/frontend/scripts/build-assets.mjs b/frontend/scripts/build-assets.mjs
index 6b8bd502..bbab8326 100644
--- a/frontend/scripts/build-assets.mjs
+++ b/frontend/scripts/build-assets.mjs
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { checkPdfjs } from './pdfjs.mjs'
if (process.env.NODE_ENV !== 'development') {
diff --git a/frontend/scripts/pdfjs.mjs b/frontend/scripts/pdfjs.mjs
index 8e5f6790..04e0f947 100644
--- a/frontend/scripts/pdfjs.mjs
+++ b/frontend/scripts/pdfjs.mjs
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { fileURLToPath } from 'url'
import fs from 'node:fs/promises'
import path from 'node:path'
diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts
index 9c3db6a6..563533c3 100644
--- a/frontend/src/app/app.component.ts
+++ b/frontend/src/app/app.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component } from '@angular/core'
import { RouterOutlet } from '@angular/router'
diff --git a/frontend/src/app/app.config.ts b/frontend/src/app/app.config.ts
index c9fbac6a..0c5fc18c 100644
--- a/frontend/src/app/app.config.ts
+++ b/frontend/src/app/app.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HashLocationStrategy, LocationStrategy } from '@angular/common'
import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi, withXsrfConfiguration } from '@angular/common/http'
import { ApplicationConfig, importProvidersFrom, isDevMode, provideZoneChangeDetection } from '@angular/core'
diff --git a/frontend/src/app/app.constants.ts b/frontend/src/app/app.constants.ts
index 992a16b3..2ca72dd4 100644
--- a/frontend/src/app/app.constants.ts
+++ b/frontend/src/app/app.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { faCircleHalfStroke } from '@fortawesome/free-solid-svg-icons'
import { productName, version } from '../../../package.json'
import { AppMenu } from './layout/layout.interfaces'
diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts
index 342914db..7a0ead30 100644
--- a/frontend/src/app/app.routes.ts
+++ b/frontend/src/app/app.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { APP_PATH } from './app.constants'
import { adminRoutes } from './applications/admin/admin.routes'
diff --git a/frontend/src/app/applications/admin/admin.constants.ts b/frontend/src/app/applications/admin/admin.constants.ts
index 60a99431..8cef5c1b 100644
--- a/frontend/src/app/applications/admin/admin.constants.ts
+++ b/frontend/src/app/applications/admin/admin.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { faGear, faUserGear, faUsersGear } from '@fortawesome/free-solid-svg-icons'
import { AppMenu } from '../../layout/layout.interfaces'
diff --git a/frontend/src/app/applications/admin/admin.guard.ts b/frontend/src/app/applications/admin/admin.guard.ts
index bea81f6d..fec3f0e5 100644
--- a/frontend/src/app/applications/admin/admin.guard.ts
+++ b/frontend/src/app/applications/admin/admin.guard.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { inject } from '@angular/core'
import { CanActivateFn } from '@angular/router'
import { UserService } from '../users/user.service'
diff --git a/frontend/src/app/applications/admin/admin.routes.ts b/frontend/src/app/applications/admin/admin.routes.ts
index 7f24cd3a..ecf12b14 100644
--- a/frontend/src/app/applications/admin/admin.routes.ts
+++ b/frontend/src/app/applications/admin/admin.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { GROUP_TYPE } from '@sync-in-server/backend/src/applications/users/constants/group'
import { USER_ROLE } from '@sync-in-server/backend/src/applications/users/constants/user'
diff --git a/frontend/src/app/applications/admin/admin.service.ts b/frontend/src/app/applications/admin/admin.service.ts
index 65074c8e..9c0aacaf 100644
--- a/frontend/src/app/applications/admin/admin.service.ts
+++ b/frontend/src/app/applications/admin/admin.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpHeaders } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/admin/components/admin-groups.component.html b/frontend/src/app/applications/admin/components/admin-groups.component.html
index 113b8f8a..23418bf4 100644
--- a/frontend/src/app/applications/admin/components/admin-groups.component.html
+++ b/frontend/src/app/applications/admin/components/admin-groups.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="refresh()"
diff --git a/frontend/src/app/applications/admin/components/admin-groups.component.ts b/frontend/src/app/applications/admin/components/admin-groups.component.ts
index 6918a805..d7fcd907 100644
--- a/frontend/src/app/applications/admin/components/admin-groups.component.ts
+++ b/frontend/src/app/applications/admin/components/admin-groups.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/admin/components/admin-users.component.html b/frontend/src/app/applications/admin/components/admin-users.component.html
index ff861af2..7b1928ba 100644
--- a/frontend/src/app/applications/admin/components/admin-users.component.html
+++ b/frontend/src/app/applications/admin/components/admin-users.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadUsersOrGuests()"
diff --git a/frontend/src/app/applications/admin/components/admin-users.component.ts b/frontend/src/app/applications/admin/components/admin-users.component.ts
index f6647b7b..b74b13d3 100644
--- a/frontend/src/app/applications/admin/components/admin-users.component.ts
+++ b/frontend/src/app/applications/admin/components/admin-users.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.html
index 444ab889..086b68bd 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faUserPlus" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.ts
index 53955e02..e88cf06a 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-add-users-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html
index 0664843b..ae34ae8b 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="member.isUser ? icons.faUserMinus : icons.faMinus" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts
index 7f3ccfc4..0caa08a7 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-delete-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.html
index 5cce4c19..9360c4b4 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="modal-header align-items-center">
<h4 class="modal-title">
@if (group) {
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.ts
index 23e75f0e..2410fee3 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.html
index 41ed05f6..b16eb821 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faUserPen" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.ts
index 02abe957..2a28fe72 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-group-edit-user-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, inject, Input, OnInit } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-guest-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-guest-dialog.component.ts
index 48bd4430..cb864044 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-guest-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-guest-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { TitleCasePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, inject } from '@angular/core'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html
index bfb7cea5..3019d946 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faUserMinus" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts
index 1201cada..be49f584 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-delete-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html
index 7d9abd5e..83beba73 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
@if (user) {
diff --git a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts
index 6b49d589..41731ceb 100644
--- a/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts
+++ b/frontend/src/app/applications/admin/components/dialogs/admin-user-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { TitleCasePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
diff --git a/frontend/src/app/applications/admin/components/utils/admin-permissions.component.ts b/frontend/src/app/applications/admin/components/utils/admin-permissions.component.ts
index ed795160..97db84a5 100644
--- a/frontend/src/app/applications/admin/components/utils/admin-permissions.component.ts
+++ b/frontend/src/app/applications/admin/components/utils/admin-permissions.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { USER_PERMISSION } from '@sync-in-server/backend/src/applications/users/constants/user'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
diff --git a/frontend/src/app/applications/admin/models/admin-group.model.ts b/frontend/src/app/applications/admin/models/admin-group.model.ts
index b863823a..f1a2b22d 100644
--- a/frontend/src/app/applications/admin/models/admin-group.model.ts
+++ b/frontend/src/app/applications/admin/models/admin-group.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { GROUP_TYPE, GROUP_VISIBILITY } from '@sync-in-server/backend/src/applications/users/constants/group'
import { USER_PERMISSION, USER_PERMS_SEP } from '@sync-in-server/backend/src/applications/users/constants/user'
import type { AdminGroup } from '@sync-in-server/backend/src/applications/users/interfaces/admin-group.interface'
diff --git a/frontend/src/app/applications/admin/models/admin-user.model.ts b/frontend/src/app/applications/admin/models/admin-user.model.ts
index 715997ca..ab5a68bc 100644
--- a/frontend/src/app/applications/admin/models/admin-user.model.ts
+++ b/frontend/src/app/applications/admin/models/admin-user.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { USER_PERMISSION, USER_PERMS_SEP, USER_ROLE } from '@sync-in-server/backend/src/applications/users/constants/user'
import type { AdminUser } from '@sync-in-server/backend/src/applications/users/interfaces/admin-user.interface'
import type { GuestUser } from '@sync-in-server/backend/src/applications/users/interfaces/guest-user.interface'
diff --git a/frontend/src/app/applications/comments/comments.constants.ts b/frontend/src/app/applications/comments/comments.constants.ts
index 6fe42d47..cb387c7f 100644
--- a/frontend/src/app/applications/comments/comments.constants.ts
+++ b/frontend/src/app/applications/comments/comments.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { faComments } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.html b/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.html
index 6cb685fa..759b1e3e 100644
--- a/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.html
+++ b/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="sidebar-component-title">
<div class="input-group mb-0">
<input #CommentCreate
diff --git a/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.ts b/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.ts
index 21c6226c..1b6fe177 100644
--- a/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.ts
+++ b/frontend/src/app/applications/comments/components/sidebar/comments-selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, computed, ElementRef, inject, OnDestroy, Signal, ViewChild } from '@angular/core'
import { toObservable } from '@angular/core/rxjs-interop'
diff --git a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
index bd2cd70f..52142bf8 100644
--- a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
+++ b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="box-transparent">
<div class="box-header">
<fa-icon [icon]="icons.faCommentDots"></fa-icon>
diff --git a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.ts b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.ts
index 66510009..ce666e85 100644
--- a/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.ts
+++ b/frontend/src/app/applications/comments/components/widgets/comments-recents-widget.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, computed, inject, Signal } from '@angular/core'
import { Router } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/comments/models/comment-recent.model.ts b/frontend/src/app/applications/comments/models/comment-recent.model.ts
index 5c4aba18..735ec1dc 100644
--- a/frontend/src/app/applications/comments/models/comment-recent.model.ts
+++ b/frontend/src/app/applications/comments/models/comment-recent.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import type { CommentRecent } from '@sync-in-server/backend/src/applications/comments/interfaces/comment-recent.interface'
import { SPACE_ALIAS } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
diff --git a/frontend/src/app/applications/comments/models/comment.model.ts b/frontend/src/app/applications/comments/models/comment.model.ts
index a77148b7..8635c050 100644
--- a/frontend/src/app/applications/comments/models/comment.model.ts
+++ b/frontend/src/app/applications/comments/models/comment.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { Comment } from '@sync-in-server/backend/src/applications/comments/schemas/comment.interface'
import { userAvatarUrl } from '../../users/user.functions'
diff --git a/frontend/src/app/applications/comments/services/comments.service.ts b/frontend/src/app/applications/comments/services/comments.service.ts
index 7b3bf8b1..5465d010 100644
--- a/frontend/src/app/applications/comments/services/comments.service.ts
+++ b/frontend/src/app/applications/comments/services/comments.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse, HttpParams } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { API_COMMENTS_FROM_SPACE, API_COMMENTS_RECENTS } from '@sync-in-server/backend/src/applications/comments/constants/routes'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.html
index 95cca167..31e4d008 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
<fa-icon [icon]="icons.faFileArchive"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.ts
index 84af29c6..c3df4244 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-compression-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostListener, inject, Input, OnInit, Output } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.html
index 5e015049..dfdbfdac 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
<fa-icon [icon]="hasExclusiveLock ? icons.faLock : icons.faUnlock" class="me-1"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.ts
index 4f110311..9362a5aa 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-lock-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, HostListener, inject, Input, OnInit } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html
index 52cd7a93..d983d9a9 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
@switch (inputType) {
diff --git a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts
index 5cdbab0b..432d7c22 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, ElementRef, EventEmitter, HostListener, inject, Input, OnInit, Output, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.html
index e629f432..29f12523 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title" l10nTranslate>
<fa-icon [icon]="icons.faFileShield" class="me-1"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.ts
index 56ccdbbd..1c294339 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-overwrite-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, Input, output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faFileShield } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
index 3686c8b3..3bed365d 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title" l10nTranslate>
<fa-icon [icon]="icons.faTrashCan" class="me-1"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts
index c9158ed4..6fbc0e2a 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, EventEmitter, HostListener, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faSpinner, faTrashCan } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html
index 5f7f02c4..407ea469 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title" l10nTranslate>
<fa-icon [icon]="icons.faTrashCan" class="me-1"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts
index 21ea37c5..1058d526 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-empty-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, HostListener, inject, Input } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faSpinner, faTrashCan } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.html
index 2a80037d..1ed11a13 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
@if (!!selection) {
diff --git a/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.ts
index 2884580e..65fd89ae 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-tree-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faFile, faFolderClosed } from '@fortawesome/free-regular-svg-icons'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html
index 0cb17082..5da9370d 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
<fa-icon [icon]="isReadonly() ? icons.faEye : icons.faPen"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts
index 238b310e..b23a92f5 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, computed, inject, Input, model, OnDestroy, OnInit, signal } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faEye, faPen } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.html
index f76c8307..ed243a27 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
<fa-icon [icon]="icons.faFile" class="me-1"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.ts
index 2a3d8108..be15ad05 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-viewer-select-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, Input } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html
index 78cd64f7..82a02e04 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="sidebar-component-title">
<fa-icon class="cursor-pointer"
[icon]="icons.faQuestion"
diff --git a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts
index aef93b61..c1e16867 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-clipboard.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, inject, OnDestroy } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/files/components/sidebar/files-selection.component.html b/frontend/src/app/applications/files/components/sidebar/files-selection.component.html
index a8cf5d80..5aeaba9d 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-selection.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-selection.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
@if (files().length) {
@if (multiple()) {
<div class="px-2 pt-2 pb-0 fs-xxs">
diff --git a/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts b/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts
index 23fcc53c..77534b20 100755
--- a/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { AsyncPipe } from '@angular/common'
import { ChangeDetectionStrategy, Component, computed, inject, input, InputSignal, Signal } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html
index a08791cc..9acd8cca 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="sidebar-component-title justify-content-between">
<div style="width: 35px"></div>
<div>
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts
index bfe04d43..3e1186d0 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-tasks.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, OnDestroy } from '@angular/core'
import { Router } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tree.component.html b/frontend/src/app/applications/files/components/sidebar/files-tree.component.html
index 8129b6a5..2d4ec4f9 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tree.component.html
+++ b/frontend/src/app/applications/files/components/sidebar/files-tree.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
@if (sideBarHeader) {
<div class="sidebar-component-title">
<button (click)="onRefresh()" class="btn btn-xs btn-secondary">
diff --git a/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts b/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts
index 80cd13d0..1cc84b3c 100644
--- a/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts
+++ b/frontend/src/app/applications/files/components/sidebar/files-tree.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IActionMapping, ITreeOptions, TREE_ACTIONS, TreeModel, TreeModule, TreeNode } from '@ali-hm/angular-tree-component'
import { Component, EventEmitter, inject, Input, OnDestroy, OnInit, Output, ViewChild } from '@angular/core'
import { toObservable } from '@angular/core/rxjs-interop'
diff --git a/frontend/src/app/applications/files/components/utils/file-lock.utils.ts b/frontend/src/app/applications/files/components/utils/file-lock.utils.ts
index b0c9b6e6..5d443c96 100644
--- a/frontend/src/app/applications/files/components/utils/file-lock.utils.ts
+++ b/frontend/src/app/applications/files/components/utils/file-lock.utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import type { FileLockProps } from '@sync-in-server/backend/src/applications/files/interfaces/file-props.interface'
diff --git a/frontend/src/app/applications/files/components/utils/file-permissions.component.ts b/frontend/src/app/applications/files/components/utils/file-permissions.component.ts
index 5a863fb4..e065de5f 100644
--- a/frontend/src/app/applications/files/components/utils/file-permissions.component.ts
+++ b/frontend/src/app/applications/files/components/utils/file-permissions.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, inject, Input, OnChanges } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/files/components/utils/only-office.component.ts b/frontend/src/app/applications/files/components/utils/only-office.component.ts
index 88f69168..f8f66241 100644
--- a/frontend/src/app/applications/files/components/utils/only-office.component.ts
+++ b/frontend/src/app/applications/files/components/utils/only-office.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core'
import type { OnlyOfficeConfig } from '@sync-in-server/backend/src/applications/files/modules/only-office/only-office.interface'
import loadScript from './only-office.utils'
diff --git a/frontend/src/app/applications/files/components/utils/only-office.utils.ts b/frontend/src/app/applications/files/components/utils/only-office.utils.ts
index c37245f8..d91ebdca 100644
--- a/frontend/src/app/applications/files/components/utils/only-office.utils.ts
+++ b/frontend/src/app/applications/files/components/utils/only-office.utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
declare global {
interface Window {
DocsAPI?: any
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-collabora-online.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-collabora-online.component.ts
index d862fa31..471bb94b 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-collabora-online.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-collabora-online.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse } from '@angular/common/http'
import { Component, inject, input, model, OnDestroy, OnInit } from '@angular/core'
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-html.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-html.component.ts
index 8c2170be..26a222d6 100755
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-html.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-html.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient } from '@angular/common/http'
import { Component, inject, input, OnInit } from '@angular/core'
import { DomSanitizer } from '@angular/platform-browser'
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html
index 85fa8ce7..95992f4f 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="app-top-menu d-flex justify-content-between">
<div class="d-flex">
<button
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts
index 25fc8b94..38b4fad1 100755
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, model, signal, viewChild } from '@angular/core'
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts
index 75192f5d..195f2049 100755
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core'
import { VgBufferingModule } from '@videogular/ngx-videogular/buffering'
import { VgControlsModule } from '@videogular/ngx-videogular/controls'
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts
index d5c53e3f..dbab376e 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse } from '@angular/common/http'
import { Component, inject, input, model, OnDestroy, OnInit } from '@angular/core'
import { FILE_MODE } from '@sync-in-server/backend/src/applications/files/constants/operations'
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-pdf.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-pdf.component.ts
index 550d1cec..b7aca886 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-pdf.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-pdf.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core'
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'
import { assetsUrl } from '../../files.constants'
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.html b/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.html
index eac768fc..e283f3ed 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.html
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div [style.height.px]="currentHeight()">
<div class="app-top-menu">
<button
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts
index db02f268..b22d42e5 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-text.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { CodeEditor } from '@acrodata/code-editor'
import { HttpClient, HttpErrorResponse } from '@angular/common/http'
import {
diff --git a/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html b/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html
index 8ed138fb..90efe58d 100644
--- a/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html
+++ b/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="box-transparent">
<div class="box-header">
<fa-icon [icon]="icons.faFileLines"></fa-icon>
diff --git a/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.ts b/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.ts
index 82db19e2..5896e927 100644
--- a/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.ts
+++ b/frontend/src/app/applications/files/components/widgets/files-recents-widget.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, computed, inject, Signal } from '@angular/core'
import { Router } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/files/files.constants.ts b/frontend/src/app/applications/files/files.constants.ts
index 0709fc73..b8deae01 100644
--- a/frontend/src/app/applications/files/files.constants.ts
+++ b/frontend/src/app/applications/files/files.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const assetsUrl = 'assets'
export const mimeExtension = '.svg'
export const assetsMimeUrl = `${assetsUrl}/mimes`
diff --git a/frontend/src/app/applications/files/interfaces/file-event.interface.ts b/frontend/src/app/applications/files/interfaces/file-event.interface.ts
index c81f9569..44565048 100644
--- a/frontend/src/app/applications/files/interfaces/file-event.interface.ts
+++ b/frontend/src/app/applications/files/interfaces/file-event.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { FileTaskStatus } from '@sync-in-server/backend/src/applications/files/models/file-task'
export interface FileEvent {
diff --git a/frontend/src/app/applications/files/interfaces/file-upload.interface.ts b/frontend/src/app/applications/files/interfaces/file-upload.interface.ts
index 0bea57aa..8285e5e8 100644
--- a/frontend/src/app/applications/files/interfaces/file-upload.interface.ts
+++ b/frontend/src/app/applications/files/interfaces/file-upload.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface FileUpload extends File {
relativePath?: string
}
diff --git a/frontend/src/app/applications/files/models/file-content.model.ts b/frontend/src/app/applications/files/models/file-content.model.ts
index 56da09f6..039c463a 100644
--- a/frontend/src/app/applications/files/models/file-content.model.ts
+++ b/frontend/src/app/applications/files/models/file-content.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import type { FileContent } from '@sync-in-server/backend/src/applications/files/schemas/file-content.interface'
import { SPACE_ALIAS, SPACE_REPOSITORY } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
diff --git a/frontend/src/app/applications/files/models/file-recent.model.ts b/frontend/src/app/applications/files/models/file-recent.model.ts
index 32e93ad1..afacaafb 100644
--- a/frontend/src/app/applications/files/models/file-recent.model.ts
+++ b/frontend/src/app/applications/files/models/file-recent.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import type { FileRecent } from '@sync-in-server/backend/src/applications/files/schemas/file-recent.interface'
import { SPACE_ALIAS, SPACE_REPOSITORY } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
diff --git a/frontend/src/app/applications/files/models/file.model.ts b/frontend/src/app/applications/files/models/file.model.ts
index 1ea3c24f..cfd9f15a 100644
--- a/frontend/src/app/applications/files/models/file.model.ts
+++ b/frontend/src/app/applications/files/models/file.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import {
API_FILES_OPERATION,
API_FILES_OPERATION_THUMBNAIL,
diff --git a/frontend/src/app/applications/files/services/files-tasks.service.ts b/frontend/src/app/applications/files/services/files-tasks.service.ts
index fe783ff6..e25df5fb 100644
--- a/frontend/src/app/applications/files/services/files-tasks.service.ts
+++ b/frontend/src/app/applications/files/services/files-tasks.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { FILE_OPERATION } from '@sync-in-server/backend/src/applications/files/constants/operations'
diff --git a/frontend/src/app/applications/files/services/files-upload.service.ts b/frontend/src/app/applications/files/services/files-upload.service.ts
index 1dc2c634..01be34b1 100644
--- a/frontend/src/app/applications/files/services/files-upload.service.ts
+++ b/frontend/src/app/applications/files/services/files-upload.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpEventType, HttpUploadProgressEvent } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { API_FILES_OPERATION_UPLOAD } from '@sync-in-server/backend/src/applications/files/constants/routes'
diff --git a/frontend/src/app/applications/files/services/files.service.ts b/frontend/src/app/applications/files/services/files.service.ts
index be8b6540..b68d72d1 100644
--- a/frontend/src/app/applications/files/services/files.service.ts
+++ b/frontend/src/app/applications/files/services/files.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { TreeNode } from '@ali-hm/angular-tree-component'
import { HttpClient, HttpErrorResponse, HttpParams } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
diff --git a/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html b/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html
index 77885594..99df0961 100644
--- a/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html
+++ b/frontend/src/app/applications/links/components/dialogs/link-dialog.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.links" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/links/components/dialogs/link-dialog.component.ts b/frontend/src/app/applications/links/components/dialogs/link-dialog.component.ts
index 4e5cea15..cd9b90b6 100644
--- a/frontend/src/app/applications/links/components/dialogs/link-dialog.component.ts
+++ b/frontend/src/app/applications/links/components/dialogs/link-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
diff --git a/frontend/src/app/applications/links/components/links.component.html b/frontend/src/app/applications/links/components/links.component.html
index 2c6eb541..a24164b5 100644
--- a/frontend/src/app/applications/links/components/links.component.html
+++ b/frontend/src/app/applications/links/components/links.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadShareLinks()"
diff --git a/frontend/src/app/applications/links/components/links.component.ts b/frontend/src/app/applications/links/components/links.component.ts
index 9f266d33..088704e9 100644
--- a/frontend/src/app/applications/links/components/links.component.ts
+++ b/frontend/src/app/applications/links/components/links.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, OnInit, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/links/components/public/public-link-auth.component.html b/frontend/src/app/applications/links/components/public/public-link-auth.component.html
index 30e5d49c..abb301d3 100644
--- a/frontend/src/app/applications/links/components/public/public-link-auth.component.html
+++ b/frontend/src/app/applications/links/components/public/public-link-auth.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="link-page">
<div class="header">
<a routerLink="">
diff --git a/frontend/src/app/applications/links/components/public/public-link-auth.component.ts b/frontend/src/app/applications/links/components/public/public-link-auth.component.ts
index 1248dcb3..aa828adc 100644
--- a/frontend/src/app/applications/links/components/public/public-link-auth.component.ts
+++ b/frontend/src/app/applications/links/components/public/public-link-auth.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { ActivatedRoute, Params, RouterLink } from '@angular/router'
diff --git a/frontend/src/app/applications/links/components/public/public-link-error.component.html b/frontend/src/app/applications/links/components/public/public-link-error.component.html
index 8ad22ab5..9ea5813d 100644
--- a/frontend/src/app/applications/links/components/public/public-link-error.component.html
+++ b/frontend/src/app/applications/links/components/public/public-link-error.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="link-page">
<div class="header">
<a routerLink="">
diff --git a/frontend/src/app/applications/links/components/public/public-link-error.component.ts b/frontend/src/app/applications/links/components/public/public-link-error.component.ts
index f0b76ff1..6ce856ab 100644
--- a/frontend/src/app/applications/links/components/public/public-link-error.component.ts
+++ b/frontend/src/app/applications/links/components/public/public-link-error.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { ActivatedRoute, Params, RouterLink } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/links/components/public/public-link.component.html b/frontend/src/app/applications/links/components/public/public-link.component.html
index 90cc0985..b0716849 100644
--- a/frontend/src/app/applications/links/components/public/public-link.component.html
+++ b/frontend/src/app/applications/links/components/public/public-link.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="link-page">
<div class="header">
<a routerLink="">
diff --git a/frontend/src/app/applications/links/components/public/public-link.component.ts b/frontend/src/app/applications/links/components/public/public-link.component.ts
index cb81f64a..9e112185 100644
--- a/frontend/src/app/applications/links/components/public/public-link.component.ts
+++ b/frontend/src/app/applications/links/components/public/public-link.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { ActivatedRoute, Data, Params, RouterLink } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/links/components/sidebar/link-selection.component.html b/frontend/src/app/applications/links/components/sidebar/link-selection.component.html
index 22b9a79d..35d674af 100644
--- a/frontend/src/app/applications/links/components/sidebar/link-selection.component.html
+++ b/frontend/src/app/applications/links/components/sidebar/link-selection.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
@if (link()) {
<div appAutoResize class="fs-xxs" [resizeOffset]=resizeOffset>
<div class="card px-1 pt-1">
diff --git a/frontend/src/app/applications/links/components/sidebar/link-selection.component.ts b/frontend/src/app/applications/links/components/sidebar/link-selection.component.ts
index f7e9ed70..194c0960 100644
--- a/frontend/src/app/applications/links/components/sidebar/link-selection.component.ts
+++ b/frontend/src/app/applications/links/components/sidebar/link-selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, inject, input, InputSignal } from '@angular/core'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { AutoResizeDirective } from '../../../../common/directives/auto-resize.directive'
diff --git a/frontend/src/app/applications/links/links.constants.ts b/frontend/src/app/applications/links/links.constants.ts
index 682a23c9..a8b4fb82 100644
--- a/frontend/src/app/applications/links/links.constants.ts
+++ b/frontend/src/app/applications/links/links.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { LINK_ERROR } from '@sync-in-server/backend/src/applications/links/constants/links'
export const LINKS_PATH = {
diff --git a/frontend/src/app/applications/links/links.guard.ts b/frontend/src/app/applications/links/links.guard.ts
index d8ba85e3..4795105b 100644
--- a/frontend/src/app/applications/links/links.guard.ts
+++ b/frontend/src/app/applications/links/links.guard.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { ActivatedRouteSnapshot, CanActivateFn } from '@angular/router'
import { SpaceLink } from '@sync-in-server/backend/src/applications/links/interfaces/link-space.interface'
diff --git a/frontend/src/app/applications/links/links.routes.ts b/frontend/src/app/applications/links/links.routes.ts
index e55f4680..725a94d5 100644
--- a/frontend/src/app/applications/links/links.routes.ts
+++ b/frontend/src/app/applications/links/links.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { LINKS_PATH } from './links.constants'
import { LinkGuard } from './links.guard'
diff --git a/frontend/src/app/applications/links/models/share-link.model.ts b/frontend/src/app/applications/links/models/share-link.model.ts
index dc86062e..4a38b583 100644
--- a/frontend/src/app/applications/links/models/share-link.model.ts
+++ b/frontend/src/app/applications/links/models/share-link.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileSpace } from '@sync-in-server/backend/src/applications/files/interfaces/file-space.interface'
import type { LinkGuest } from '@sync-in-server/backend/src/applications/links/interfaces/link-guest.interface'
import type { ShareLink } from '@sync-in-server/backend/src/applications/shares/interfaces/share-link.interface'
diff --git a/frontend/src/app/applications/links/services/links.service.ts b/frontend/src/app/applications/links/services/links.service.ts
index 30fe6aab..16441c45 100644
--- a/frontend/src/app/applications/links/services/links.service.ts
+++ b/frontend/src/app/applications/links/services/links.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
index 2ba8d109..a7f0350e 100644
--- a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
+++ b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="sidebar-component-title justify-content-between">
<div style="width: 35px"></div>
<span>
diff --git a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts
index acb2c60a..cdb40d55 100644
--- a/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts
+++ b/frontend/src/app/applications/notifications/components/sidebar/notifications.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { AfterViewInit, Component, effect, ElementRef, inject, QueryList, ViewChildren } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/notifications/models/notification.model.ts b/frontend/src/app/applications/notifications/models/notification.model.ts
index 79bf6d69..e048c9ac 100644
--- a/frontend/src/app/applications/notifications/models/notification.model.ts
+++ b/frontend/src/app/applications/notifications/models/notification.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { NOTIFICATION_APP } from '@sync-in-server/backend/src/applications/notifications/constants/notifications'
import type {
diff --git a/frontend/src/app/applications/notifications/notifications.constants.ts b/frontend/src/app/applications/notifications/notifications.constants.ts
index 8c62fc85..b4eec9c8 100644
--- a/frontend/src/app/applications/notifications/notifications.constants.ts
+++ b/frontend/src/app/applications/notifications/notifications.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { faLockOpen } from '@fortawesome/free-solid-svg-icons'
import { NOTIFICATION_APP } from '@sync-in-server/backend/src/applications/notifications/constants/notifications'
diff --git a/frontend/src/app/applications/notifications/notifications.service.ts b/frontend/src/app/applications/notifications/notifications.service.ts
index 664c5c7a..f1e60e62 100644
--- a/frontend/src/app/applications/notifications/notifications.service.ts
+++ b/frontend/src/app/applications/notifications/notifications.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { API_NOTIFICATIONS, NOTIFICATIONS_ROUTE } from '@sync-in-server/backend/src/applications/notifications/constants/routes'
diff --git a/frontend/src/app/applications/recents/components/recents.component.html b/frontend/src/app/applications/recents/components/recents.component.html
index 5657f449..35b8e27d 100644
--- a/frontend/src/app/applications/recents/components/recents.component.html
+++ b/frontend/src/app/applications/recents/components/recents.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div appAutoResize class="fs-xs px-2" [useMaxHeight]="false" [resizeOffset]="40">
<div class="row">
<div class="col-md-6">
diff --git a/frontend/src/app/applications/recents/components/recents.component.ts b/frontend/src/app/applications/recents/components/recents.component.ts
index 3ec699b1..3b16176b 100644
--- a/frontend/src/app/applications/recents/components/recents.component.ts
+++ b/frontend/src/app/applications/recents/components/recents.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { AutoResizeDirective } from '../../../common/directives/auto-resize.directive'
import { LayoutService } from '../../../layout/layout.service'
diff --git a/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.html b/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.html
index 1c03c425..0ac8ce1f 100644
--- a/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.html
+++ b/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="row">
@if (userService.userHavePermission(USER_PERMISSION.PERSONAL_SPACE)) {
<div class="col">
diff --git a/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.ts b/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.ts
index 1203a0fd..dddd2a8f 100644
--- a/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.ts
+++ b/frontend/src/app/applications/recents/components/widgets/recents-apps-widget.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { RouterLink } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/recents/recents.constants.ts b/frontend/src/app/applications/recents/recents.constants.ts
index fa1256e1..4000e457 100644
--- a/frontend/src/app/applications/recents/recents.constants.ts
+++ b/frontend/src/app/applications/recents/recents.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { faClock } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/recents/recents.routes.ts b/frontend/src/app/applications/recents/recents.routes.ts
index a93fdac5..99101b62 100644
--- a/frontend/src/app/applications/recents/recents.routes.ts
+++ b/frontend/src/app/applications/recents/recents.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { APP_PATH } from '../../app.constants'
import { RecentsComponent } from './components/recents.component'
diff --git a/frontend/src/app/applications/search/components/search.component.html b/frontend/src/app/applications/search/components/search.component.html
index 74f52f61..6d9b0822 100644
--- a/frontend/src/app/applications/search/components/search.component.html
+++ b/frontend/src/app/applications/search/components/search.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="app-top-menu">
<div class="col-12 col-md-6 col-lg-4">
<div class="input-group">
diff --git a/frontend/src/app/applications/search/components/search.component.ts b/frontend/src/app/applications/search/components/search.component.ts
index 394deffc..cf40f17c 100644
--- a/frontend/src/app/applications/search/components/search.component.ts
+++ b/frontend/src/app/applications/search/components/search.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, computed, inject, Signal, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/search/search.constants.ts b/frontend/src/app/applications/search/search.constants.ts
index 18ce97a5..ec6a1e51 100644
--- a/frontend/src/app/applications/search/search.constants.ts
+++ b/frontend/src/app/applications/search/search.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { faMagnifyingGlass } from '@fortawesome/free-solid-svg-icons'
import { AppMenu } from '../../layout/layout.interfaces'
diff --git a/frontend/src/app/applications/search/search.routes.ts b/frontend/src/app/applications/search/search.routes.ts
index 5a7addee..e0596b57 100644
--- a/frontend/src/app/applications/search/search.routes.ts
+++ b/frontend/src/app/applications/search/search.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { SearchComponent } from './components/search.component'
import { SEARCH_PATH } from './search.constants'
diff --git a/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.html b/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.html
index 555891a3..3f007877 100644
--- a/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.html
+++ b/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.SHARED" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.ts b/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.ts
index cf5d92c4..607e0d0d 100644
--- a/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.ts
+++ b/frontend/src/app/applications/shares/components/dialogs/share-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.html b/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.html
index 49c63569..91e7af06 100644
--- a/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.html
+++ b/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title w-100">
<div class="d-flex">
diff --git a/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.scss b/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.scss
index 964139e0..9a064c4d 100644
--- a/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.scss
+++ b/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
ul.tree, ul.tree ul {
list-style: none;
margin: 0;
diff --git a/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.ts b/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.ts
index cd56ed90..542ea2cb 100644
--- a/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.ts
+++ b/frontend/src/app/applications/shares/components/dialogs/shared-children-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NgTemplateOutlet } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
diff --git a/frontend/src/app/applications/shares/components/shared.component.html b/frontend/src/app/applications/shares/components/shared.component.html
index d27f6d27..4695620c 100644
--- a/frontend/src/app/applications/shares/components/shared.component.html
+++ b/frontend/src/app/applications/shares/components/shared.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadShares()"
diff --git a/frontend/src/app/applications/shares/components/shared.component.ts b/frontend/src/app/applications/shares/components/shared.component.ts
index f28ce17a..db242fee 100644
--- a/frontend/src/app/applications/shares/components/shared.component.ts
+++ b/frontend/src/app/applications/shares/components/shared.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, OnInit, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/shares/components/sidebar/share-selection.component.html b/frontend/src/app/applications/shares/components/sidebar/share-selection.component.html
index a6fb2ac4..12ed0064 100644
--- a/frontend/src/app/applications/shares/components/sidebar/share-selection.component.html
+++ b/frontend/src/app/applications/shares/components/sidebar/share-selection.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
@if (share()) {
<div appAutoResize class="fs-xxs" [resizeOffset]=resizeOffset>
<div class="card px-1 pt-1">
diff --git a/frontend/src/app/applications/shares/components/sidebar/share-selection.component.ts b/frontend/src/app/applications/shares/components/sidebar/share-selection.component.ts
index 18b4344b..fca654cd 100755
--- a/frontend/src/app/applications/shares/components/sidebar/share-selection.component.ts
+++ b/frontend/src/app/applications/shares/components/sidebar/share-selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, inject, input, InputSignal } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
diff --git a/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts b/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts
index 25cc09cd..32f8c5df 100644
--- a/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts
+++ b/frontend/src/app/applications/shares/components/utils/share-file-name.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, Input, OnChanges, OnInit } from '@angular/core'
import { L10N_LOCALE, L10nLocale } from 'angular-l10n'
import { pathSlice } from '../../../../common/utils/functions'
diff --git a/frontend/src/app/applications/shares/components/utils/share-repository.component.ts b/frontend/src/app/applications/shares/components/utils/share-repository.component.ts
index 06b437ed..a4a55161 100644
--- a/frontend/src/app/applications/shares/components/utils/share-repository.component.ts
+++ b/frontend/src/app/applications/shares/components/utils/share-repository.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, Input, OnChanges, OnInit } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
diff --git a/frontend/src/app/applications/shares/models/share-child.model.ts b/frontend/src/app/applications/shares/models/share-child.model.ts
index 84832d2e..e2291891 100644
--- a/frontend/src/app/applications/shares/models/share-child.model.ts
+++ b/frontend/src/app/applications/shares/models/share-child.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SHARE_TYPE } from '@sync-in-server/backend/src/applications/shares/constants/shares'
import type { ShareChild } from '@sync-in-server/backend/src/applications/shares/models/share-child.model'
import { defaultMimeUrl, getAssetsMimeUrl, mimeDirectory, mimeDirectoryShare } from '../../files/files.constants'
diff --git a/frontend/src/app/applications/shares/models/share-file.model.ts b/frontend/src/app/applications/shares/models/share-file.model.ts
index 7f4d3cea..1c89b447 100644
--- a/frontend/src/app/applications/shares/models/share-file.model.ts
+++ b/frontend/src/app/applications/shares/models/share-file.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileSpace } from '@sync-in-server/backend/src/applications/files/interfaces/file-space.interface'
import type { ShareFile } from '@sync-in-server/backend/src/applications/shares/interfaces/share-file.interface'
import { getNewly } from '../../../common/utils/functions'
diff --git a/frontend/src/app/applications/shares/models/share.model.ts b/frontend/src/app/applications/shares/models/share.model.ts
index 770bfaf3..cd760f27 100644
--- a/frontend/src/app/applications/shares/models/share.model.ts
+++ b/frontend/src/app/applications/shares/models/share.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { FileSpace } from '@sync-in-server/backend/src/applications/files/interfaces/file-space.interface'
import { SHARE_ALL_OPERATIONS } from '@sync-in-server/backend/src/applications/shares/constants/shares'
import type { ShareProps } from '@sync-in-server/backend/src/applications/shares/interfaces/share-props.interface'
diff --git a/frontend/src/app/applications/shares/services/shares.service.ts b/frontend/src/app/applications/shares/services/shares.service.ts
index a2fcdb6d..da0ef7c2 100644
--- a/frontend/src/app/applications/shares/services/shares.service.ts
+++ b/frontend/src/app/applications/shares/services/shares.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/shares/shares.functions.ts b/frontend/src/app/applications/shares/shares.functions.ts
index c97f6262..51095f2b 100644
--- a/frontend/src/app/applications/shares/shares.functions.ts
+++ b/frontend/src/app/applications/shares/shares.functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { getAssetsMimeUrl, mimeDirectory, mimeDirectoryShare } from '../files/files.constants'
import type { ShareLinkModel } from '../links/models/share-link.model'
import { SPACES_PATH } from '../spaces/spaces.constants'
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html b/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html
index c1b3793c..dc053ed2 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faAnchor" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.ts b/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.ts
index b4acb276..53d70522 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.ts
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-anchor-file-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.html b/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.html
index a8e132f7..ad96739d 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.html
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.SPACES" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.ts b/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.ts
index a2895ad4..a348d22c 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.ts
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.html b/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.html
index 8bc8f251..1da795df 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.html
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faFolderClosed" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.ts b/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.ts
index 44cef335..60452e88 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.ts
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-root-path-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, EventEmitter, HostListener, inject, Input, OnInit, Output } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.html b/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.html
index 4c22584a..511a0e60 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.html
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.SPACES" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.ts b/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.ts
index 8e1d5134..042b6de8 100644
--- a/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.ts
+++ b/frontend/src/app/applications/spaces/components/dialogs/space-user-anchors-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, inject, Input, OnInit } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.html b/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.html
index c2eba64f..a076ccc3 100644
--- a/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.html
+++ b/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
@if (space()) {
<div appAutoResize class="fs-xxs" [resizeOffset]=resizeOffset>
<div class="card px-1 pt-1">
diff --git a/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.ts b/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.ts
index 7f585e83..62ad1650 100755
--- a/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.ts
+++ b/frontend/src/app/applications/spaces/components/sidebar/space-selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, inject, input, InputSignal } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { SPACE_ROLE } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
diff --git a/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.html b/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.html
index 49f558c2..54570a29 100644
--- a/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.html
+++ b/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
@if (trash()) {
<div appAutoResize class="fs-xxs" [resizeOffset]=resizeOffset>
<div class="card px-1 pt-1">
diff --git a/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.ts b/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.ts
index c5dc6996..71a747c6 100755
--- a/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.ts
+++ b/frontend/src/app/applications/spaces/components/sidebar/trash-selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, inject, input, InputSignal } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
index 6aef1efd..8e3b64f4 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadFiles()"
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
index 2592eea6..67fcce9c 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe, NgTemplateOutlet } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { AfterViewInit, Component, ElementRef, HostListener, inject, NgZone, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/spaces/components/spaces-nav.component.ts b/frontend/src/app/applications/spaces/components/spaces-nav.component.ts
index 95d6fab0..3f61dcca 100644
--- a/frontend/src/app/applications/spaces/components/spaces-nav.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces-nav.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, computed, inject, OnDestroy } from '@angular/core'
import { toObservable } from '@angular/core/rxjs-interop'
import { RouterOutlet } from '@angular/router'
diff --git a/frontend/src/app/applications/spaces/components/spaces.component.html b/frontend/src/app/applications/spaces/components/spaces.component.html
index 77fdd2bd..7da30d09 100644
--- a/frontend/src/app/applications/spaces/components/spaces.component.html
+++ b/frontend/src/app/applications/spaces/components/spaces.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadSpaces()"
diff --git a/frontend/src/app/applications/spaces/components/spaces.component.ts b/frontend/src/app/applications/spaces/components/spaces.component.ts
index 6b2258c2..a679f701 100644
--- a/frontend/src/app/applications/spaces/components/spaces.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, OnInit, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/spaces/components/trash.component.html b/frontend/src/app/applications/spaces/components/trash.component.html
index fb284036..b161405e 100644
--- a/frontend/src/app/applications/spaces/components/trash.component.html
+++ b/frontend/src/app/applications/spaces/components/trash.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadTrashBins()"
diff --git a/frontend/src/app/applications/spaces/components/trash.component.ts b/frontend/src/app/applications/spaces/components/trash.component.ts
index 96d47848..111cacb7 100644
--- a/frontend/src/app/applications/spaces/components/trash.component.ts
+++ b/frontend/src/app/applications/spaces/components/trash.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, ElementRef, inject, OnInit, ViewChild } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html
index e0878dd7..235a378c 100644
--- a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html
+++ b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
@for (r of space.roots; track r.alias) {
<div class="bg-theme mb-1 p-2" style="border-radius: 4px">
<div class="d-flex align-items-center text-truncate no-select fs-xs" style="height: 32px">
diff --git a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts
index b5bd282d..4d46781a 100644
--- a/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts
+++ b/frontend/src/app/applications/spaces/components/utils/space-manage-roots.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, ElementRef, inject, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/spaces/models/space.model.ts b/frontend/src/app/applications/spaces/models/space.model.ts
index f530d534..cd26df1e 100644
--- a/frontend/src/app/applications/spaces/models/space.model.ts
+++ b/frontend/src/app/applications/spaces/models/space.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACE_OPERATION, SPACE_ROLE } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
import type { SpaceProps } from '@sync-in-server/backend/src/applications/spaces/models/space-props.model'
import type { SpaceRootProps } from '@sync-in-server/backend/src/applications/spaces/models/space-root-props.model'
diff --git a/frontend/src/app/applications/spaces/models/trash.model.ts b/frontend/src/app/applications/spaces/models/trash.model.ts
index ef2ee922..a7cc45f1 100644
--- a/frontend/src/app/applications/spaces/models/trash.model.ts
+++ b/frontend/src/app/applications/spaces/models/trash.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACE_ALIAS } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
import type { SpaceTrash } from '@sync-in-server/backend/src/applications/spaces/interfaces/space-trash.interface'
diff --git a/frontend/src/app/applications/spaces/services/spaces-browser.service.ts b/frontend/src/app/applications/spaces/services/spaces-browser.service.ts
index 8defa034..11cb03cc 100644
--- a/frontend/src/app/applications/spaces/services/spaces-browser.service.ts
+++ b/frontend/src/app/applications/spaces/services/spaces-browser.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { UrlSegment } from '@angular/router'
diff --git a/frontend/src/app/applications/spaces/services/spaces.service.ts b/frontend/src/app/applications/spaces/services/spaces.service.ts
index 9202b04b..2ea54e48 100644
--- a/frontend/src/app/applications/spaces/services/spaces.service.ts
+++ b/frontend/src/app/applications/spaces/services/spaces.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import type { CreateOrUpdateShareDto } from '@sync-in-server/backend/src/applications/shares/dto/create-or-update-share.dto'
diff --git a/frontend/src/app/applications/spaces/spaces.constants.ts b/frontend/src/app/applications/spaces/spaces.constants.ts
index b7517036..dcfc688d 100644
--- a/frontend/src/app/applications/spaces/spaces.constants.ts
+++ b/frontend/src/app/applications/spaces/spaces.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import {
faAnchor,
diff --git a/frontend/src/app/applications/spaces/spaces.functions.ts b/frontend/src/app/applications/spaces/spaces.functions.ts
index 67565ba3..7f1473b6 100644
--- a/frontend/src/app/applications/spaces/spaces.functions.ts
+++ b/frontend/src/app/applications/spaces/spaces.functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACE_OPERATION, SPACE_PERMS_SEP } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
import { SPACES_PERMISSIONS_MODEL, SPACES_PERMISSIONS_TEXT } from './spaces.constants'
diff --git a/frontend/src/app/applications/spaces/spaces.resolvers.ts b/frontend/src/app/applications/spaces/spaces.resolvers.ts
index c47ec50f..1b69ba8d 100644
--- a/frontend/src/app/applications/spaces/spaces.resolvers.ts
+++ b/frontend/src/app/applications/spaces/spaces.resolvers.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { ActivatedRouteSnapshot, ResolveFn, UrlSegment } from '@angular/router'
import { StoreService } from '../../store/store.service'
diff --git a/frontend/src/app/applications/spaces/spaces.routes.ts b/frontend/src/app/applications/spaces/spaces.routes.ts
index 1dacb2bd..6c46af2c 100644
--- a/frontend/src/app/applications/spaces/spaces.routes.ts
+++ b/frontend/src/app/applications/spaces/spaces.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { LinksComponent } from '../links/components/links.component'
import { SharedComponent } from '../shares/components/shared.component'
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html
index f390b8f6..94b57deb 100755
--- a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title" translate>
<fa-icon [icon]="icons.faTrashCan"></fa-icon>
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts
index f0c1cb96..f507eaad 100755
--- a/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-client-delete.dialog.component.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { HttpErrorResponse } from '@angular/common/http'
import { ChangeDetectionStrategy, Component, EventEmitter, HostListener, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html
index cb8c3b6d..415ebac7 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
<fa-icon [icon]="icons.faRotate"></fa-icon>
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts
index 381a8ddb..39fddd5e 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-report.dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, inject, Input, OnDestroy, OnInit, signal, ViewChild, WritableSignal } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.html
index fa690455..4cc0d40a 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title">
<fa-icon [icon]="icons.faRotate"></fa-icon>
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.ts
index 29de0950..315aeb57 100755
--- a/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-path-settings.dialog.component.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html
index 101cdb58..f14bbc60 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header">
<h4 class="modal-title" translate>
<fa-icon [icon]="icons.faTrashCan"></fa-icon>
diff --git a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts
index 08084bee..2385f86b 100644
--- a/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts
+++ b/frontend/src/app/applications/sync/components/dialogs/sync-transfers-delete.dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faTrashCan } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.html b/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.html
index 4574affa..9bfe35c4 100644
--- a/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.html
+++ b/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="d-flex flex-column justify-content-{{direction}}">
@if (showPaths) {
<div class="d-flex justify-content-{{direction}} align-items-center mb-2">
diff --git a/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.ts b/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.ts
index 8d478d22..19e1b324 100755
--- a/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.ts
+++ b/frontend/src/app/applications/sync/components/shared/sync-path-settings.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, Input } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/sync/components/sync-clients.component.html b/frontend/src/app/applications/sync/components/sync-clients.component.html
index 3c82d3bd..607ce5f5 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.html
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="app-top-menu">
<button (click)="loadClients()"
[tooltip]="'Refresh' | translate:locale.language"
diff --git a/frontend/src/app/applications/sync/components/sync-clients.component.scss b/frontend/src/app/applications/sync/components/sync-clients.component.scss
index 85d44725..2678f5b5 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.scss
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.app-sync-clients {
font-size: 0.7rem;
display: flex;
diff --git a/frontend/src/app/applications/sync/components/sync-clients.component.ts b/frontend/src/app/applications/sync/components/sync-clients.component.ts
index 55825d10..9df16c9c 100644
--- a/frontend/src/app/applications/sync/components/sync-clients.component.ts
+++ b/frontend/src/app/applications/sync/components/sync-clients.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, inject } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/sync/components/sync-paths.component.html b/frontend/src/app/applications/sync/components/sync-paths.component.html
index d5d4a912..617eaa6a 100644
--- a/frontend/src/app/applications/sync/components/sync-paths.component.html
+++ b/frontend/src/app/applications/sync/components/sync-paths.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="app-top-menu">
<button (click)="onRefresh()"
[tooltip]="'Refresh' | translate:locale.language"
diff --git a/frontend/src/app/applications/sync/components/sync-paths.component.ts b/frontend/src/app/applications/sync/components/sync-paths.component.ts
index a6786598..b808631d 100644
--- a/frontend/src/app/applications/sync/components/sync-paths.component.ts
+++ b/frontend/src/app/applications/sync/components/sync-paths.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, effect, inject, OnDestroy, OnInit, ViewChild } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/sync/components/sync-transfers.component.html b/frontend/src/app/applications/sync/components/sync-transfers.component.html
index 72b37dfb..593933e3 100644
--- a/frontend/src/app/applications/sync/components/sync-transfers.component.html
+++ b/frontend/src/app/applications/sync/components/sync-transfers.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="app-top-menu">
<div class="btn-group btn-group-sm">
<select (ngModelChange)="onSelectPath($event)" [ngModel]="syncPathSelected" class="form-select form-select-sm font-size-xs" style="min-width: 210px">
diff --git a/frontend/src/app/applications/sync/components/sync-transfers.component.ts b/frontend/src/app/applications/sync/components/sync-transfers.component.ts
index 96566566..f2bb7f2c 100644
--- a/frontend/src/app/applications/sync/components/sync-transfers.component.ts
+++ b/frontend/src/app/applications/sync/components/sync-transfers.component.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { KeyValuePipe } from '@angular/common'
import { Component, effect, ElementRef, inject, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts b/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts
index ce283489..5d2c5443 100644
--- a/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts
+++ b/frontend/src/app/applications/sync/components/utils/sync-path-direction-icon.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, Input } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faLongArrowAltDown, faLongArrowAltUp } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/sync/components/utils/sync-path-scheduler.component.ts b/frontend/src/app/applications/sync/components/utils/sync-path-scheduler.component.ts
index 1a08ab02..0aeeea5a 100644
--- a/frontend/src/app/applications/sync/components/utils/sync-path-scheduler.component.ts
+++ b/frontend/src/app/applications/sync/components/utils/sync-path-scheduler.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, Input } from '@angular/core'
import { SYNC_PATH_SCHEDULER_UNIT } from '@sync-in-server/backend/src/applications/sync/constants/sync'
import { L10nTranslateDirective } from 'angular-l10n'
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html b/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html
index 3e0f9f60..6b6a0b3b 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="wizard">
<div class="d-flex flex-column text-center fs-sm">
<div class="mb-2" l10nTranslate>This wizard will help you synchronize a directory on your computer with a Sync-in directory.</div>
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.ts b/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.ts
index a76e2d66..581d9a27 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.ts
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-client.component.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { Component, inject, Renderer2 } from '@angular/core'
import { Router } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html
index efe83a07..739f69f1 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="wizard">
<div class="my-2">
<div class="d-flex align-items-center justify-content-center fs-sm" style="min-height: 40px">
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts
index a6787455..72fc96f7 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-server.component.ts
@@ -1,8 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
import { HttpErrorResponse } from '@angular/common/http'
import { Component, inject, signal, ViewChild, WritableSignal } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html
index 52c36d76..6a0a7fb6 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="wizard fs-sm">
<div class="d-flex flex-row justify-content-center mb-3">
<div class="d-flex flex-column align-items-end">
diff --git a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.ts b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.ts
index f2a536e3..77119ee1 100644
--- a/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.ts
+++ b/frontend/src/app/applications/sync/components/wizard/sync-wizard-settings.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { Router } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/sync/constants/client.ts b/frontend/src/app/applications/sync/constants/client.ts
index 4f86d0c5..4d0342ba 100644
--- a/frontend/src/app/applications/sync/constants/client.ts
+++ b/frontend/src/app/applications/sync/constants/client.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum CLIENT_SCHEDULER_STATE {
DISABLED = 'disabled',
ASYNC = 'async',
diff --git a/frontend/src/app/applications/sync/constants/path.ts b/frontend/src/app/applications/sync/constants/path.ts
index 71608397..112a7436 100644
--- a/frontend/src/app/applications/sync/constants/path.ts
+++ b/frontend/src/app/applications/sync/constants/path.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum SYNC_PATH_ACTION {
LIST = 'list',
SYNC = 'sync',
diff --git a/frontend/src/app/applications/sync/constants/transfer.ts b/frontend/src/app/applications/sync/constants/transfer.ts
index 8a50a26c..46aeb4e0 100644
--- a/frontend/src/app/applications/sync/constants/transfer.ts
+++ b/frontend/src/app/applications/sync/constants/transfer.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import {
faArrowDown,
faArrowUp,
diff --git a/frontend/src/app/applications/sync/interfaces/sync-status.interface.ts b/frontend/src/app/applications/sync/interfaces/sync-status.interface.ts
index 0baea9f1..bf3e618a 100644
--- a/frontend/src/app/applications/sync/interfaces/sync-status.interface.ts
+++ b/frontend/src/app/applications/sync/interfaces/sync-status.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface SyncStatus {
syncPathId: number
state: boolean
diff --git a/frontend/src/app/applications/sync/interfaces/sync-task.interface.ts b/frontend/src/app/applications/sync/interfaces/sync-task.interface.ts
index d7287f02..a9af9fc9 100644
--- a/frontend/src/app/applications/sync/interfaces/sync-task.interface.ts
+++ b/frontend/src/app/applications/sync/interfaces/sync-task.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface SyncTask {
syncPathId: number
nbTasks: number
diff --git a/frontend/src/app/applications/sync/interfaces/sync-transfer.interface.ts b/frontend/src/app/applications/sync/interfaces/sync-transfer.interface.ts
index 5bcad826..289ea895 100644
--- a/frontend/src/app/applications/sync/interfaces/sync-transfer.interface.ts
+++ b/frontend/src/app/applications/sync/interfaces/sync-transfer.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SYNC_TRANSFER_ACTION, SYNC_TRANSFER_SIDE } from '../constants/transfer'
export interface SyncTransfer {
diff --git a/frontend/src/app/applications/sync/models/sync-client.model.ts b/frontend/src/app/applications/sync/models/sync-client.model.ts
index 74c588c9..16a60dd2 100644
--- a/frontend/src/app/applications/sync/models/sync-client.model.ts
+++ b/frontend/src/app/applications/sync/models/sync-client.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { faApple, faLinux, faWindows } from '@fortawesome/free-brands-svg-icons'
import type { SyncClientPaths } from '@sync-in-server/backend/src/applications/sync/interfaces/sync-client-paths.interface'
diff --git a/frontend/src/app/applications/sync/models/sync-path.model.ts b/frontend/src/app/applications/sync/models/sync-path.model.ts
index 3fc68549..dfd3320c 100644
--- a/frontend/src/app/applications/sync/models/sync-path.model.ts
+++ b/frontend/src/app/applications/sync/models/sync-path.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { SPACE_REPOSITORY } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
import { SyncPathFromClient, SyncPathSettings } from '@sync-in-server/backend/src/applications/sync/interfaces/sync-path.interface'
diff --git a/frontend/src/app/applications/sync/models/sync-transfer.model.ts b/frontend/src/app/applications/sync/models/sync-transfer.model.ts
index 069b6352..91052ca5 100644
--- a/frontend/src/app/applications/sync/models/sync-transfer.model.ts
+++ b/frontend/src/app/applications/sync/models/sync-transfer.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { getNewly } from '../../../common/utils/functions'
import { dJs } from '../../../common/utils/time'
diff --git a/frontend/src/app/applications/sync/models/sync-wizard-path.model.ts b/frontend/src/app/applications/sync/models/sync-wizard-path.model.ts
index 9e86778d..48fee7da 100644
--- a/frontend/src/app/applications/sync/models/sync-wizard-path.model.ts
+++ b/frontend/src/app/applications/sync/models/sync-wizard-path.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { FileTree } from '@sync-in-server/backend/src/applications/files/interfaces/file-tree.interface'
import { getAssetsMimeUrl, mimeDirectory, mimeDirectoryDisabled, mimeDirectoryShare, mimeDirectorySync } from '../../files/files.constants'
diff --git a/frontend/src/app/applications/sync/services/sync.service.ts b/frontend/src/app/applications/sync/services/sync.service.ts
index 28ab523c..b5189322 100644
--- a/frontend/src/app/applications/sync/services/sync.service.ts
+++ b/frontend/src/app/applications/sync/services/sync.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/applications/sync/sync.constants.ts b/frontend/src/app/applications/sync/sync.constants.ts
index cb2cf75e..0b5f4fcb 100644
--- a/frontend/src/app/applications/sync/sync.constants.ts
+++ b/frontend/src/app/applications/sync/sync.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { faDesktop, faRightLeft, faRotate, faServer, faWandMagicSparkles } from '@fortawesome/free-solid-svg-icons'
import { SYNC_BASE_ROUTE, SYNC_ROUTE } from '@sync-in-server/backend/src/applications/sync/constants/routes'
import { USER_PERMISSION } from '@sync-in-server/backend/src/applications/users/constants/user'
diff --git a/frontend/src/app/applications/sync/sync.guards.ts b/frontend/src/app/applications/sync/sync.guards.ts
index e78743f1..6f51943a 100644
--- a/frontend/src/app/applications/sync/sync.guards.ts
+++ b/frontend/src/app/applications/sync/sync.guards.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { CanActivateFn, Router } from '@angular/router'
import { USER_PERMISSION } from '@sync-in-server/backend/src/applications/users/constants/user'
diff --git a/frontend/src/app/applications/sync/sync.resolvers.ts b/frontend/src/app/applications/sync/sync.resolvers.ts
index 4460c4b3..733145b3 100644
--- a/frontend/src/app/applications/sync/sync.resolvers.ts
+++ b/frontend/src/app/applications/sync/sync.resolvers.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { ResolveFn } from '@angular/router'
import { SyncService } from './services/sync.service'
diff --git a/frontend/src/app/applications/sync/sync.routes.ts b/frontend/src/app/applications/sync/sync.routes.ts
index f088e9a2..35d2cfc5 100644
--- a/frontend/src/app/applications/sync/sync.routes.ts
+++ b/frontend/src/app/applications/sync/sync.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { SYNC_PATH } from './sync.constants'
import { syncWizardServerActivate, syncWizardSettingsActivate, userHaveDesktopAppSyncPermission } from './sync.guards'
diff --git a/frontend/src/app/applications/sync/sync.utils.ts b/frontend/src/app/applications/sync/sync.utils.ts
index 6382d99f..a7893612 100644
--- a/frontend/src/app/applications/sync/sync.utils.ts
+++ b/frontend/src/app/applications/sync/sync.utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SPACE_OPERATION } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
import { SPACES_PATH } from '../spaces/spaces.constants'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.html
index de4b06b9..5b413244 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="modal-header align-items-center justify-content-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faLock" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.ts
index 30a5198e..16f735c7 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-enable-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FormGroup, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.html
index c6c6eae4..c113dc43 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="modal-header align-items-center justify-content-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faLock" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.ts
index 81dbab76..874c1fab 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-2fa-verify-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpHeaders } from '@angular/common/http'
import { Component, inject, Input, OnInit } from '@angular/core'
import { FormGroup, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.html
index 6b0df6ea..b912ad6d 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faKey" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.ts
index 4d0085c7..4e87ef62 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-auth-manage-app-passwords-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse, HttpHeaders } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
import { FormGroup, FormsModule, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.html
index 444ab889..086b68bd 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faUserPlus" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.ts
index c2de429c..9aaa1382 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-add-users-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html
index fcb9ec37..4a095988 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="member.isUser ? icons.faUserMinus : icons.faMinus" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts
index 5859add5..4632df0b 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-delete-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.html
index d84fd87f..24be0b40 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.GROUPS" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.ts
index 6d870323..221760d2 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-group-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.html
index e5821db1..f27e5f30 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
@if (guest) {
diff --git a/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.ts
index 9ac263f0..1e08b522 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-guest-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { TitleCasePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, OnInit, Output } from '@angular/core'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.html
index 8b64c8a7..1bb53336 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faUserPen" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.ts
index 457bf02e..c09d9b9c 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-personal-group-edit-user-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, inject, Input, OnInit } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.html b/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.html
index 45634f02..4e2f0315 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.html
+++ b/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="modal-header align-items-center">
<h4 class="modal-title">
<fa-icon [icon]="icons.faRightFromBracket" class="me-2"></fa-icon>
diff --git a/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts b/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts
index e722cb08..72839b72 100644
--- a/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts
+++ b/frontend/src/app/applications/users/components/dialogs/user-personal-group-leave-dialog.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/applications/users/components/sidebar/user-onlines.component.html b/frontend/src/app/applications/users/components/sidebar/user-onlines.component.html
index 4048702a..46ac6135 100644
--- a/frontend/src/app/applications/users/components/sidebar/user-onlines.component.html
+++ b/frontend/src/app/applications/users/components/sidebar/user-onlines.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="sidebar-component-title">
<span l10nTranslate>Online users</span>
</div>
diff --git a/frontend/src/app/applications/users/components/sidebar/user-onlines.component.ts b/frontend/src/app/applications/users/components/sidebar/user-onlines.component.ts
index 2b70db66..35c49352 100644
--- a/frontend/src/app/applications/users/components/sidebar/user-onlines.component.ts
+++ b/frontend/src/app/applications/users/components/sidebar/user-onlines.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, computed, inject, Signal } from '@angular/core'
import { USER_ONLINE_STATUS } from '@sync-in-server/backend/src/applications/users/constants/user'
import { L10nTranslateDirective } from 'angular-l10n'
diff --git a/frontend/src/app/applications/users/components/sidebar/user-profile.component.html b/frontend/src/app/applications/users/components/sidebar/user-profile.component.html
index 74da6efc..75a69f0f 100755
--- a/frontend/src/app/applications/users/components/sidebar/user-profile.component.html
+++ b/frontend/src/app/applications/users/components/sidebar/user-profile.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!-- The user image in the menu -->
<div class="d-flex flex-column">
<div class="sidebar-component-title">
diff --git a/frontend/src/app/applications/users/components/sidebar/user-profile.component.ts b/frontend/src/app/applications/users/components/sidebar/user-profile.component.ts
index 164c3915..29d53ce8 100644
--- a/frontend/src/app/applications/users/components/sidebar/user-profile.component.ts
+++ b/frontend/src/app/applications/users/components/sidebar/user-profile.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, OnDestroy } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { RouterLink } from '@angular/router'
diff --git a/frontend/src/app/applications/users/components/user-account.component.html b/frontend/src/app/applications/users/components/user-account.component.html
index 5e83ab35..8cbbede4 100755
--- a/frontend/src/app/applications/users/components/user-account.component.html
+++ b/frontend/src/app/applications/users/components/user-account.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="profile-page" appAutoResize [resizeOffset]="40">
<div class="container-fluid">
<div class="row">
diff --git a/frontend/src/app/applications/users/components/user-account.component.ts b/frontend/src/app/applications/users/components/user-account.component.ts
index 329a7896..6412a657 100644
--- a/frontend/src/app/applications/users/components/user-account.component.ts
+++ b/frontend/src/app/applications/users/components/user-account.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse, HttpHeaders } from '@angular/common/http'
import { Component, inject, OnDestroy } from '@angular/core'
diff --git a/frontend/src/app/applications/users/components/user-applications.component.html b/frontend/src/app/applications/users/components/user-applications.component.html
index c2a8c963..cc8717e1 100644
--- a/frontend/src/app/applications/users/components/user-applications.component.html
+++ b/frontend/src/app/applications/users/components/user-applications.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
<div class="app-top-menu px-4">
@if (store.appStoreManifest()) {
<div class="d-flex flex-fill align-items-center fs-xs">
diff --git a/frontend/src/app/applications/users/components/user-applications.component.ts b/frontend/src/app/applications/users/components/user-applications.component.ts
index f0aec88d..800b7c80 100644
--- a/frontend/src/app/applications/users/components/user-applications.component.ts
+++ b/frontend/src/app/applications/users/components/user-applications.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faApple, faLinux, faWindows } from '@fortawesome/free-brands-svg-icons'
diff --git a/frontend/src/app/applications/users/components/user-groups.component.html b/frontend/src/app/applications/users/components/user-groups.component.html
index 136cf46b..e315a8ee 100644
--- a/frontend/src/app/applications/users/components/user-groups.component.html
+++ b/frontend/src/app/applications/users/components/user-groups.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="refresh()"
diff --git a/frontend/src/app/applications/users/components/user-groups.component.ts b/frontend/src/app/applications/users/components/user-groups.component.ts
index 7bcc2939..babb8eac 100644
--- a/frontend/src/app/applications/users/components/user-groups.component.ts
+++ b/frontend/src/app/applications/users/components/user-groups.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/users/components/user-guests.component.html b/frontend/src/app/applications/users/components/user-guests.component.html
index 86897bef..43fffa9b 100644
--- a/frontend/src/app/applications/users/components/user-guests.component.html
+++ b/frontend/src/app/applications/users/components/user-guests.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<!--Start Top Menu-->
<div class="app-top-menu">
<button (click)="loadGuests()"
diff --git a/frontend/src/app/applications/users/components/user-guests.component.ts b/frontend/src/app/applications/users/components/user-guests.component.ts
index 59c2eb0f..649f7ae7 100644
--- a/frontend/src/app/applications/users/components/user-guests.component.ts
+++ b/frontend/src/app/applications/users/components/user-guests.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { HttpErrorResponse } from '@angular/common/http'
import { Component, ElementRef, inject, ViewChild } from '@angular/core'
diff --git a/frontend/src/app/applications/users/components/utils/user-avatar.component.ts b/frontend/src/app/applications/users/components/utils/user-avatar.component.ts
index 8524dfbc..f518d541 100644
--- a/frontend/src/app/applications/users/components/utils/user-avatar.component.ts
+++ b/frontend/src/app/applications/users/components/utils/user-avatar.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, inject, Input, OnInit } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
import { faLightbulb, faUsers, faUserShield } from '@fortawesome/free-solid-svg-icons'
diff --git a/frontend/src/app/applications/users/components/utils/user-search.component.ts b/frontend/src/app/applications/users/components/utils/user-search.component.ts
index 19df32cb..511ccaaf 100644
--- a/frontend/src/app/applications/users/components/utils/user-search.component.ts
+++ b/frontend/src/app/applications/users/components/utils/user-search.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { Component, ElementRef, EventEmitter, inject, Input, NgZone, OnInit, Output, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
diff --git a/frontend/src/app/applications/users/components/utils/users-search.component.html b/frontend/src/app/applications/users/components/utils/users-search.component.html
index 85c90591..ec5743eb 100644
--- a/frontend/src/app/applications/users/components/utils/users-search.component.html
+++ b/frontend/src/app/applications/users/components/utils/users-search.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<ng-template #searchMembers let-member="item">
<div class="d-flex" role="button">
<div class="d-flex align-items-center text-truncate">
diff --git a/frontend/src/app/applications/users/interfaces/group.interface.ts b/frontend/src/app/applications/users/interfaces/group.interface.ts
index abc1a149..26e683a0 100644
--- a/frontend/src/app/applications/users/interfaces/group.interface.ts
+++ b/frontend/src/app/applications/users/interfaces/group.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { USER_GROUP_ROLE } from '@sync-in-server/backend/src/applications/users/constants/user'
import type { OwnerType } from './owner.interface'
diff --git a/frontend/src/app/applications/users/interfaces/owner.interface.ts b/frontend/src/app/applications/users/interfaces/owner.interface.ts
index e99d9088..8fb350e4 100644
--- a/frontend/src/app/applications/users/interfaces/owner.interface.ts
+++ b/frontend/src/app/applications/users/interfaces/owner.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { Owner } from '@sync-in-server/backend/src/applications/users/interfaces/owner.interface'
export type OwnerType = Owner & { avatarUrl?: string }
diff --git a/frontend/src/app/applications/users/interfaces/user.interface.ts b/frontend/src/app/applications/users/interfaces/user.interface.ts
index c6baf366..c9b05f2e 100644
--- a/frontend/src/app/applications/users/interfaces/user.interface.ts
+++ b/frontend/src/app/applications/users/interfaces/user.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { UserModel } from '@sync-in-server/backend/src/applications/users/models/user.model'
export type UserType = Omit<UserModel, 'permissions' | 'password'>
diff --git a/frontend/src/app/applications/users/models/group-browse.model.ts b/frontend/src/app/applications/users/models/group-browse.model.ts
index 797c9388..2b90a0ef 100644
--- a/frontend/src/app/applications/users/models/group-browse.model.ts
+++ b/frontend/src/app/applications/users/models/group-browse.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { GroupBrowse } from '@sync-in-server/backend/src/applications/users/interfaces/group-browse.interface'
import { MemberModel } from './member.model'
diff --git a/frontend/src/app/applications/users/models/guest.model.ts b/frontend/src/app/applications/users/models/guest.model.ts
index f34ab1df..d916120a 100644
--- a/frontend/src/app/applications/users/models/guest.model.ts
+++ b/frontend/src/app/applications/users/models/guest.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { GuestUser } from '@sync-in-server/backend/src/applications/users/interfaces/guest-user.interface'
import { getNewly } from '../../../common/utils/functions'
import { dJs } from '../../../common/utils/time'
diff --git a/frontend/src/app/applications/users/models/member.model.ts b/frontend/src/app/applications/users/models/member.model.ts
index e44dc8dd..52f332d3 100644
--- a/frontend/src/app/applications/users/models/member.model.ts
+++ b/frontend/src/app/applications/users/models/member.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { LinkGuest } from '@sync-in-server/backend/src/applications/links/interfaces/link-guest.interface'
import { SPACE_OPERATION, SPACE_ROLE } from '@sync-in-server/backend/src/applications/spaces/constants/spaces'
import { MEMBER_TYPE } from '@sync-in-server/backend/src/applications/users/constants/member'
diff --git a/frontend/src/app/applications/users/models/user-online.model.ts b/frontend/src/app/applications/users/models/user-online.model.ts
index beee994e..66cbd127 100644
--- a/frontend/src/app/applications/users/models/user-online.model.ts
+++ b/frontend/src/app/applications/users/models/user-online.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { USER_ONLINE_STATUS } from '@sync-in-server/backend/src/applications/users/constants/user'
import type { UserOnline } from '@sync-in-server/backend/src/applications/users/interfaces/websocket.interface'
import { popFromObject } from '@sync-in-server/backend/src/common/shared'
diff --git a/frontend/src/app/applications/users/user.constants.ts b/frontend/src/app/applications/users/user.constants.ts
index c97aff38..6231ef4d 100644
--- a/frontend/src/app/applications/users/user.constants.ts
+++ b/frontend/src/app/applications/users/user.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { faDownload, faLaptop, faUser, faUserGroup, faUsers } from '@fortawesome/free-solid-svg-icons'
import { USER_PERMISSION } from '@sync-in-server/backend/src/applications/users/constants/user'
import { AppMenu } from '../../layout/layout.interfaces'
diff --git a/frontend/src/app/applications/users/user.functions.ts b/frontend/src/app/applications/users/user.functions.ts
index 1831100f..387e4ce3 100644
--- a/frontend/src/app/applications/users/user.functions.ts
+++ b/frontend/src/app/applications/users/user.functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { API_USERS_AVATAR } from '@sync-in-server/backend/src/applications/users/constants/routes'
export function userAvatarUrl(login: string) {
diff --git a/frontend/src/app/applications/users/user.guards.ts b/frontend/src/app/applications/users/user.guards.ts
index 97fd9aea..93a869fb 100644
--- a/frontend/src/app/applications/users/user.guards.ts
+++ b/frontend/src/app/applications/users/user.guards.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { CanActivateFn } from '@angular/router'
import { UserService } from './user.service'
diff --git a/frontend/src/app/applications/users/user.routes.ts b/frontend/src/app/applications/users/user.routes.ts
index f0013952..223e644b 100644
--- a/frontend/src/app/applications/users/user.routes.ts
+++ b/frontend/src/app/applications/users/user.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { routeResolver } from '../../common/resolvers/route.resolver'
import { userHaveDesktopAppPermission } from '../sync/sync.guards'
diff --git a/frontend/src/app/applications/users/user.service.ts b/frontend/src/app/applications/users/user.service.ts
index 66fc0d7c..d4dda323 100644
--- a/frontend/src/app/applications/users/user.service.ts
+++ b/frontend/src/app/applications/users/user.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse, HttpHeaders } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { NOTIFICATIONS_WS } from '@sync-in-server/backend/src/applications/notifications/constants/websocket'
diff --git a/frontend/src/app/auth/auth-resolvers.ts b/frontend/src/app/auth/auth-resolvers.ts
index 976d39ca..edb81502 100644
--- a/frontend/src/app/auth/auth-resolvers.ts
+++ b/frontend/src/app/auth/auth-resolvers.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { ResolveFn } from '@angular/router'
import type { AuthOIDCSettings } from '@sync-in-server/backend/src/authentication/providers/oidc/auth-oidc.interfaces'
diff --git a/frontend/src/app/auth/auth.component.html b/frontend/src/app/auth/auth.component.html
index 994edbae..53953229 100644
--- a/frontend/src/app/auth/auth.component.html
+++ b/frontend/src/app/auth/auth.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="app-auth">
<div class="background">
<div class="content">
diff --git a/frontend/src/app/auth/auth.component.ts b/frontend/src/app/auth/auth.component.ts
index 07c0d28c..edede69a 100644
--- a/frontend/src/app/auth/auth.component.ts
+++ b/frontend/src/app/auth/auth.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject } from '@angular/core'
import { FormGroup, ReactiveFormsModule, UntypedFormBuilder, Validators } from '@angular/forms'
import { ActivatedRoute, Router } from '@angular/router'
diff --git a/frontend/src/app/auth/auth.constants.ts b/frontend/src/app/auth/auth.constants.ts
index 7f718310..4a93e74e 100644
--- a/frontend/src/app/auth/auth.constants.ts
+++ b/frontend/src/app/auth/auth.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const AUTH_PATHS = {
BASE: 'auth',
LOGIN: 'login'
diff --git a/frontend/src/app/auth/auth.guards.ts b/frontend/src/app/auth/auth.guards.ts
index a1f07d5f..76242dc9 100644
--- a/frontend/src/app/auth/auth.guards.ts
+++ b/frontend/src/app/auth/auth.guards.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject } from '@angular/core'
import { ActivatedRouteSnapshot, CanActivateFn, Router, RouterStateSnapshot } from '@angular/router'
import { Observable } from 'rxjs'
diff --git a/frontend/src/app/auth/auth.interceptor.ts b/frontend/src/app/auth/auth.interceptor.ts
index fb0a29be..eb78831d 100644
--- a/frontend/src/app/auth/auth.interceptor.ts
+++ b/frontend/src/app/auth/auth.interceptor.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'
import { inject, Injectable, Injector } from '@angular/core'
import { API_AUTH_LOGIN, API_AUTH_LOGOUT, API_AUTH_REFRESH } from '@sync-in-server/backend/src/authentication/constants/routes'
diff --git a/frontend/src/app/auth/auth.interface.ts b/frontend/src/app/auth/auth.interface.ts
index 5001bdb7..20b8818a 100644
--- a/frontend/src/app/auth/auth.interface.ts
+++ b/frontend/src/app/auth/auth.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2026 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface AuthResult {
success: boolean
message: any
diff --git a/frontend/src/app/auth/auth.routes.ts b/frontend/src/app/auth/auth.routes.ts
index c8fe8c8f..60d7f4b8 100644
--- a/frontend/src/app/auth/auth.routes.ts
+++ b/frontend/src/app/auth/auth.routes.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Routes } from '@angular/router'
import { authResolver } from './auth-resolvers'
import { AuthComponent } from './auth.component'
diff --git a/frontend/src/app/auth/auth.service.ts b/frontend/src/app/auth/auth.service.ts
index f340e97c..a8e66421 100644
--- a/frontend/src/app/auth/auth.service.ts
+++ b/frontend/src/app/auth/auth.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpClient, HttpErrorResponse, HttpRequest } from '@angular/common/http'
import { inject, Injectable } from '@angular/core'
import { Router } from '@angular/router'
diff --git a/frontend/src/app/common/components/filter.component.ts b/frontend/src/app/common/components/filter.component.ts
index c1f1b087..2b4ee040 100644
--- a/frontend/src/app/common/components/filter.component.ts
+++ b/frontend/src/app/common/components/filter.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, ElementRef, HostListener, inject, OnDestroy, signal, ViewChild } from '@angular/core'
import { FormBuilder, FormControl, ReactiveFormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/common/components/input-password.component.ts b/frontend/src/app/common/components/input-password.component.ts
index 1aab58f0..7f029b36 100644
--- a/frontend/src/app/common/components/input-password.component.ts
+++ b/frontend/src/app/common/components/input-password.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, ElementRef, EventEmitter, inject, Input, OnInit, Output, ViewChild } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/common/components/navigation-view/navigation-view.component.html b/frontend/src/app/common/components/navigation-view/navigation-view.component.html
index 08e7660b..ec10638b 100644
--- a/frontend/src/app/common/components/navigation-view/navigation-view.component.html
+++ b/frontend/src/app/common/components/navigation-view/navigation-view.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="btn-group btn-group-sm" dropdown>
<button class="btn btn-sm btn-secondary dropdown-toggle" dropdownToggle type="button">
<fa-icon [icon]="icons.faCog"></fa-icon>
diff --git a/frontend/src/app/common/components/navigation-view/navigation-view.component.ts b/frontend/src/app/common/components/navigation-view/navigation-view.component.ts
index aac72dac..98132806 100644
--- a/frontend/src/app/common/components/navigation-view/navigation-view.component.ts
+++ b/frontend/src/app/common/components/navigation-view/navigation-view.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { KeyValuePipe } from '@angular/common'
import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/common/components/only-office.component.ts b/frontend/src/app/common/components/only-office.component.ts
index c12cd718..69b614b0 100755
--- a/frontend/src/app/common/components/only-office.component.ts
+++ b/frontend/src/app/common/components/only-office.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, Input, OnChanges } from '@angular/core'
declare const DocsAPI: any
diff --git a/frontend/src/app/common/components/password-strength-bar.component.ts b/frontend/src/app/common/components/password-strength-bar.component.ts
index e907cce8..31b7c100 100644
--- a/frontend/src/app/common/components/password-strength-bar.component.ts
+++ b/frontend/src/app/common/components/password-strength-bar.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, Input, OnChanges, SimpleChange } from '@angular/core'
@Component({
diff --git a/frontend/src/app/common/components/select/select.component.html b/frontend/src/app/common/components/select/select.component.html
index edf1d1d1..9da51405 100644
--- a/frontend/src/app/common/components/select/select.component.html
+++ b/frontend/src/app/common/components/select/select.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div (keyup)="mainClick($event)" [offClick]="clickedOutside" class="ui-select-container dropdown open">
<div [class.ui-disabled]="disabled"></div>
@if (inputMode) {
diff --git a/frontend/src/app/common/components/select/select.component.scss b/frontend/src/app/common/components/select/select.component.scss
index deed4c05..8a2eb089 100644
--- a/frontend/src/app/common/components/select/select.component.scss
+++ b/frontend/src/app/common/components/select/select.component.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.ui-select-container {
background-color: transparent;
border-radius: 4px;
diff --git a/frontend/src/app/common/components/select/select.component.ts b/frontend/src/app/common/components/select/select.component.ts
index 03c1df53..0ebc7d1a 100644
--- a/frontend/src/app/common/components/select/select.component.ts
+++ b/frontend/src/app/common/components/select/select.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NgTemplateOutlet } from '@angular/common'
import { Component, ElementRef, EventEmitter, forwardRef, inject, Input, OnDestroy, OnInit, Output, TemplateRef } from '@angular/core'
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'
diff --git a/frontend/src/app/common/components/select/select.model.ts b/frontend/src/app/common/components/select/select.model.ts
index 40a3251a..565f1ebf 100755
--- a/frontend/src/app/common/components/select/select.model.ts
+++ b/frontend/src/app/common/components/select/select.model.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export class SelectItem {
id: string
name: string
diff --git a/frontend/src/app/common/components/storage-quota.component.ts b/frontend/src/app/common/components/storage-quota.component.ts
index cc4e263a..1d1224af 100644
--- a/frontend/src/app/common/components/storage-quota.component.ts
+++ b/frontend/src/app/common/components/storage-quota.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, computed, inject, input, model, OnInit, signal } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
diff --git a/frontend/src/app/common/components/storage-usage.component.ts b/frontend/src/app/common/components/storage-usage.component.ts
index ea10a5dd..2c34ca9d 100644
--- a/frontend/src/app/common/components/storage-usage.component.ts
+++ b/frontend/src/app/common/components/storage-usage.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { afterNextRender, ChangeDetectorRef, Component, DestroyRef, ElementRef, inject, input } from '@angular/core'
import type { StorageQuota } from '@sync-in-server/backend/src/common/interfaces'
import { ProgressbarComponent } from 'ngx-bootstrap/progressbar'
diff --git a/frontend/src/app/common/components/virtual-scroll.component.ts b/frontend/src/app/common/components/virtual-scroll.component.ts
index c19479c0..f70bfd7a 100644
--- a/frontend/src/app/common/components/virtual-scroll.component.ts
+++ b/frontend/src/app/common/components/virtual-scroll.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import {
ChangeDetectionStrategy,
Component,
diff --git a/frontend/src/app/common/directives/auto-focus.directive.ts b/frontend/src/app/common/directives/auto-focus.directive.ts
index 51ce87e2..a946e98e 100644
--- a/frontend/src/app/common/directives/auto-focus.directive.ts
+++ b/frontend/src/app/common/directives/auto-focus.directive.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Directive, ElementRef, inject, Input, OnInit } from '@angular/core'
@Directive({ selector: '[appAutofocus]' })
diff --git a/frontend/src/app/common/directives/auto-resize.directive.ts b/frontend/src/app/common/directives/auto-resize.directive.ts
index 08b93c91..c1d6e529 100644
--- a/frontend/src/app/common/directives/auto-resize.directive.ts
+++ b/frontend/src/app/common/directives/auto-resize.directive.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { AfterViewInit, Directive, ElementRef, inject, Input, OnDestroy, Renderer2 } from '@angular/core'
import { skip, Subscription } from 'rxjs'
import { defaultResizeOffset } from '../../layout/layout.constants'
diff --git a/frontend/src/app/common/directives/input-edit.directive.ts b/frontend/src/app/common/directives/input-edit.directive.ts
index d82d6a99..fe17312c 100644
--- a/frontend/src/app/common/directives/input-edit.directive.ts
+++ b/frontend/src/app/common/directives/input-edit.directive.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Directive, ElementRef, EventEmitter, HostListener, inject, Input, OnInit, Output, Renderer2 } from '@angular/core'
@Directive({
diff --git a/frontend/src/app/common/directives/off-click.directive.ts b/frontend/src/app/common/directives/off-click.directive.ts
index f7d5e435..dddf0875 100644
--- a/frontend/src/app/common/directives/off-click.directive.ts
+++ b/frontend/src/app/common/directives/off-click.directive.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Directive, HostListener, Input, OnDestroy, OnInit } from '@angular/core'
@Directive({
diff --git a/frontend/src/app/common/directives/tap.directive.ts b/frontend/src/app/common/directives/tap.directive.ts
index a4bbf54e..9bcb0af2 100644
--- a/frontend/src/app/common/directives/tap.directive.ts
+++ b/frontend/src/app/common/directives/tap.directive.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Directive, ElementRef, EventEmitter, inject, Input, NgZone, OnDestroy, Output } from '@angular/core'
type TapKind = 'single' | 'double'
diff --git a/frontend/src/app/common/directives/upload-files.directive.ts b/frontend/src/app/common/directives/upload-files.directive.ts
index aaf48b64..b12f694b 100644
--- a/frontend/src/app/common/directives/upload-files.directive.ts
+++ b/frontend/src/app/common/directives/upload-files.directive.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Directive, ElementRef, EventEmitter, inject, Input, OnDestroy, OnInit, Output, Renderer2 } from '@angular/core'
@Directive({ selector: '[appUploadFiles]' })
diff --git a/frontend/src/app/common/interfaces/table.interface.ts b/frontend/src/app/common/interfaces/table.interface.ts
index bacb3a27..869e7ef6 100644
--- a/frontend/src/app/common/interfaces/table.interface.ts
+++ b/frontend/src/app/common/interfaces/table.interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface TableHeaderConfig {
label: string
width: number
diff --git a/frontend/src/app/common/pipes/capitalize.pipe.ts b/frontend/src/app/common/pipes/capitalize.pipe.ts
index 94f6d770..40360288 100644
--- a/frontend/src/app/common/pipes/capitalize.pipe.ts
+++ b/frontend/src/app/common/pipes/capitalize.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { capitalizeString } from '@sync-in-server/backend/src/common/shared'
diff --git a/frontend/src/app/common/pipes/highlight.pipe.ts b/frontend/src/app/common/pipes/highlight.pipe.ts
index 541891b2..07450257 100644
--- a/frontend/src/app/common/pipes/highlight.pipe.ts
+++ b/frontend/src/app/common/pipes/highlight.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
@Pipe({ name: 'highlight' })
diff --git a/frontend/src/app/common/pipes/join-counts.pipe.ts b/frontend/src/app/common/pipes/join-counts.pipe.ts
index 13388e10..d7df855c 100644
--- a/frontend/src/app/common/pipes/join-counts.pipe.ts
+++ b/frontend/src/app/common/pipes/join-counts.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject, Pipe, PipeTransform } from '@angular/core'
import { L10nTranslationService } from 'angular-l10n'
diff --git a/frontend/src/app/common/pipes/join.pipe.ts b/frontend/src/app/common/pipes/join.pipe.ts
index 12223bb7..f8e5226c 100644
--- a/frontend/src/app/common/pipes/join.pipe.ts
+++ b/frontend/src/app/common/pipes/join.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject, Pipe, PipeTransform } from '@angular/core'
import { L10nTranslationService } from 'angular-l10n'
import { CapitalizePipe } from './capitalize.pipe'
diff --git a/frontend/src/app/common/pipes/linkify.pipe.ts b/frontend/src/app/common/pipes/linkify.pipe.ts
index 028a8c39..75462b28 100644
--- a/frontend/src/app/common/pipes/linkify.pipe.ts
+++ b/frontend/src/app/common/pipes/linkify.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject, Pipe, PipeTransform, SecurityContext } from '@angular/core'
import { DomSanitizer } from '@angular/platform-browser'
diff --git a/frontend/src/app/common/pipes/paginate.pipe.ts b/frontend/src/app/common/pipes/paginate.pipe.ts
index 6a910ed0..f1144e1e 100644
--- a/frontend/src/app/common/pipes/paginate.pipe.ts
+++ b/frontend/src/app/common/pipes/paginate.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
@Pipe({
diff --git a/frontend/src/app/common/pipes/path-slice.ts b/frontend/src/app/common/pipes/path-slice.ts
index d0efc596..5dc2d42d 100644
--- a/frontend/src/app/common/pipes/path-slice.ts
+++ b/frontend/src/app/common/pipes/path-slice.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { pathSlice } from '../utils/functions'
diff --git a/frontend/src/app/common/pipes/search.pipe.ts b/frontend/src/app/common/pipes/search.pipe.ts
index 7d58e72d..54a8ccf6 100644
--- a/frontend/src/app/common/pipes/search.pipe.ts
+++ b/frontend/src/app/common/pipes/search.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { filterArray } from '../utils/functions'
diff --git a/frontend/src/app/common/pipes/split.pipe.ts b/frontend/src/app/common/pipes/split.pipe.ts
index 621efda7..428eff95 100644
--- a/frontend/src/app/common/pipes/split.pipe.ts
+++ b/frontend/src/app/common/pipes/split.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
@Pipe({ name: 'split' })
diff --git a/frontend/src/app/common/pipes/time-add.pipe.ts b/frontend/src/app/common/pipes/time-add.pipe.ts
index 04badece..9345703c 100644
--- a/frontend/src/app/common/pipes/time-add.pipe.ts
+++ b/frontend/src/app/common/pipes/time-add.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { dJs } from '../utils/time'
diff --git a/frontend/src/app/common/pipes/time-ago.pipe.ts b/frontend/src/app/common/pipes/time-ago.pipe.ts
index 6b777fa9..8f962e66 100644
--- a/frontend/src/app/common/pipes/time-ago.pipe.ts
+++ b/frontend/src/app/common/pipes/time-ago.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectorRef, inject, NgZone, OnDestroy, Pipe, PipeTransform } from '@angular/core'
import { Dayjs } from 'dayjs/esm'
import { dJs } from '../utils/time'
diff --git a/frontend/src/app/common/pipes/time-date-format.pipe.ts b/frontend/src/app/common/pipes/time-date-format.pipe.ts
index df7a3dfe..5dc0c870 100644
--- a/frontend/src/app/common/pipes/time-date-format.pipe.ts
+++ b/frontend/src/app/common/pipes/time-date-format.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { dJs } from '../utils/time'
diff --git a/frontend/src/app/common/pipes/time-duration.pipe.ts b/frontend/src/app/common/pipes/time-duration.pipe.ts
index bfa977d8..b87b0975 100644
--- a/frontend/src/app/common/pipes/time-duration.pipe.ts
+++ b/frontend/src/app/common/pipes/time-duration.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { dJs } from '../utils/time'
diff --git a/frontend/src/app/common/pipes/to-bytes.pipe.ts b/frontend/src/app/common/pipes/to-bytes.pipe.ts
index 1cb6c711..ede74437 100644
--- a/frontend/src/app/common/pipes/to-bytes.pipe.ts
+++ b/frontend/src/app/common/pipes/to-bytes.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { convertBytesToText } from '../utils/functions'
diff --git a/frontend/src/app/common/pipes/truncate-text.pipe.ts b/frontend/src/app/common/pipes/truncate-text.pipe.ts
index 58ba6e66..9d188ce7 100644
--- a/frontend/src/app/common/pipes/truncate-text.pipe.ts
+++ b/frontend/src/app/common/pipes/truncate-text.pipe.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Pipe, PipeTransform } from '@angular/core'
import { allSpecialCharacters } from '../utils/regexp'
diff --git a/frontend/src/app/common/resolvers/route.resolver.ts b/frontend/src/app/common/resolvers/route.resolver.ts
index f750bf60..4f29a5dc 100644
--- a/frontend/src/app/common/resolvers/route.resolver.ts
+++ b/frontend/src/app/common/resolvers/route.resolver.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ActivatedRouteSnapshot, ResolveFn, UrlSegment } from '@angular/router'
export const routeResolver: ResolveFn<any> = (route: ActivatedRouteSnapshot): UrlSegment[] => {
diff --git a/frontend/src/app/common/utils/functions.ts b/frontend/src/app/common/utils/functions.ts
index 0e731ff4..c12d4e50 100644
--- a/frontend/src/app/common/utils/functions.ts
+++ b/frontend/src/app/common/utils/functions.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { UrlSegment } from '@angular/router'
import { encodeUrl } from '@sync-in-server/backend/src/common/shared'
import { themeDark, themeLight } from '../../layout/layout.interfaces'
diff --git a/frontend/src/app/common/utils/regexp.ts b/frontend/src/app/common/utils/regexp.ts
index 736bddf4..80573c36 100644
--- a/frontend/src/app/common/utils/regexp.ts
+++ b/frontend/src/app/common/utils/regexp.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const allSpecialCharacters = new RegExp(/[!@#$%^&*()~`,.?":{}|<>_+-]/g)
export const quotaRegexp = new RegExp('\\s*(\\d+)\\s*(MB|GB|TB).*', 'i')
export const validHttpSchemaRegexp = /^https?:\/\//
diff --git a/frontend/src/app/common/utils/sort-table.ts b/frontend/src/app/common/utils/sort-table.ts
index 98911613..0d47b60f 100644
--- a/frontend/src/app/common/utils/sort-table.ts
+++ b/frontend/src/app/common/utils/sort-table.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { sortCollectionByType, sortType } from './sort'
interface SortParam {
diff --git a/frontend/src/app/common/utils/sort.ts b/frontend/src/app/common/utils/sort.ts
index 4d4eff9a..8ba4ec46 100644
--- a/frontend/src/app/common/utils/sort.ts
+++ b/frontend/src/app/common/utils/sort.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { objectPropertyFromString } from '@sync-in-server/backend/src/common/shared'
import { ifStringContains } from './functions'
diff --git a/frontend/src/app/common/utils/time.ts b/frontend/src/app/common/utils/time.ts
index 23d35d3c..76d4bc21 100644
--- a/frontend/src/app/common/utils/time.ts
+++ b/frontend/src/app/common/utils/time.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import dayjs from 'dayjs/esm'
import duration from 'dayjs/esm/plugin/duration'
import localizedFormat from 'dayjs/esm/plugin/localizedFormat'
diff --git a/frontend/src/app/electron/constants/dialogs.ts b/frontend/src/app/electron/constants/dialogs.ts
index ec8aa6eb..f9f41447 100644
--- a/frontend/src/app/electron/constants/dialogs.ts
+++ b/frontend/src/app/electron/constants/dialogs.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export enum ELECTRON_DIALOG {
FILE = 'openFile',
DIRECTORY = 'openDirectory',
diff --git a/frontend/src/app/electron/constants/events.ts b/frontend/src/app/electron/constants/events.ts
index 2503d81e..d801e35b 100644
--- a/frontend/src/app/electron/constants/events.ts
+++ b/frontend/src/app/electron/constants/events.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const EVENT = {
// server
SERVER: {
diff --git a/frontend/src/app/electron/electron.service.ts b/frontend/src/app/electron/electron.service.ts
index e41705c9..52b100eb 100644
--- a/frontend/src/app/electron/electron.service.ts
+++ b/frontend/src/app/electron/electron.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { effect, inject, Injectable, NgZone } from '@angular/core'
import { toObservable } from '@angular/core/rxjs-interop'
import { FileTask } from '@sync-in-server/backend/src/applications/files/models/file-task'
diff --git a/frontend/src/app/electron/interface.ts b/frontend/src/app/electron/interface.ts
index bc9fd651..0717781b 100644
--- a/frontend/src/app/electron/interface.ts
+++ b/frontend/src/app/electron/interface.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface ElectronIpcRenderer {
on: (channel: string, listener: (event: any, ...args: any[]) => void) => this
invoke: (channel: string, ...args: any[]) => Promise<any>
diff --git a/frontend/src/app/electron/utils.ts b/frontend/src/app/electron/utils.ts
index ec706cb1..92378df1 100644
--- a/frontend/src/app/electron/utils.ts
+++ b/frontend/src/app/electron/utils.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { SYNC_IN_SERVER_AGENT } from '@sync-in-server/backend/src/applications/sync/constants/sync'
export const electronAgentRegexp = new RegExp(`${SYNC_IN_SERVER_AGENT}`, 'i')
diff --git a/frontend/src/app/layout/breadcrumb/breadcrumb.component.html b/frontend/src/app/layout/breadcrumb/breadcrumb.component.html
index 42e9dda3..214271ca 100644
--- a/frontend/src/app/layout/breadcrumb/breadcrumb.component.html
+++ b/frontend/src/app/layout/breadcrumb/breadcrumb.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="breadcrumb">
<div class="breadcrumb-content">
@for (item of levels; track $index) {
diff --git a/frontend/src/app/layout/breadcrumb/breadcrumb.component.ts b/frontend/src/app/layout/breadcrumb/breadcrumb.component.ts
index 9add9251..9d7c3d06 100644
--- a/frontend/src/app/layout/breadcrumb/breadcrumb.component.ts
+++ b/frontend/src/app/layout/breadcrumb/breadcrumb.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, inject, OnDestroy } from '@angular/core'
import { RouterLink, RouterLinkActive } from '@angular/router'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/layout/breadcrumb/breadcrumb.interfaces.ts b/frontend/src/app/layout/breadcrumb/breadcrumb.interfaces.ts
index fb17f6c0..7f9f80f1 100755
--- a/frontend/src/app/layout/breadcrumb/breadcrumb.interfaces.ts
+++ b/frontend/src/app/layout/breadcrumb/breadcrumb.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export interface BreadCrumbUrl {
url: string
translating?: boolean
diff --git a/frontend/src/app/layout/layout.component.html b/frontend/src/app/layout/layout.component.html
index 4b8f3952..2a6ae12c 100644
--- a/frontend/src/app/layout/layout.component.html
+++ b/frontend/src/app/layout/layout.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<body class="app-main">
<div class="wrapper">
<app-navbar></app-navbar>
diff --git a/frontend/src/app/layout/layout.component.ts b/frontend/src/app/layout/layout.component.ts
index 69ba9088..25a7c77a 100644
--- a/frontend/src/app/layout/layout.component.ts
+++ b/frontend/src/app/layout/layout.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Component, DOCUMENT, HostListener, inject, OnDestroy, Renderer2 } from '@angular/core'
import { RouterOutlet } from '@angular/router'
import { Subscription } from 'rxjs'
diff --git a/frontend/src/app/layout/layout.constants.ts b/frontend/src/app/layout/layout.constants.ts
index c262e8c5..bb22c9c8 100644
--- a/frontend/src/app/layout/layout.constants.ts
+++ b/frontend/src/app/layout/layout.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
export const tableTrSelectedClass = '.selected'
export const dragClass = 'drag-over'
export const defaultCardImageSize = 80
diff --git a/frontend/src/app/layout/layout.interfaces.ts b/frontend/src/app/layout/layout.interfaces.ts
index d0dd217c..34d373a9 100644
--- a/frontend/src/app/layout/layout.interfaces.ts
+++ b/frontend/src/app/layout/layout.interfaces.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'
import { USER_PERMISSION } from '@sync-in-server/backend/src/applications/users/constants/user'
import { BehaviorSubject, Observable } from 'rxjs'
diff --git a/frontend/src/app/layout/layout.service.ts b/frontend/src/app/layout/layout.service.ts
index efb3faa0..9a2ba16a 100644
--- a/frontend/src/app/layout/layout.service.ts
+++ b/frontend/src/app/layout/layout.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { HttpErrorResponse } from '@angular/common/http'
import { inject, Injectable, NgZone, signal, WritableSignal } from '@angular/core'
import { Title } from '@angular/platform-browser'
diff --git a/frontend/src/app/layout/layout.tooltip.config.ts b/frontend/src/app/layout/layout.tooltip.config.ts
index 0d06a8e9..e9f4422a 100644
--- a/frontend/src/app/layout/layout.tooltip.config.ts
+++ b/frontend/src/app/layout/layout.tooltip.config.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { TooltipConfig } from 'ngx-bootstrap/tooltip'
export function getToolTipConfig(): TooltipConfig {
diff --git a/frontend/src/app/layout/navbar/navbar.component.html b/frontend/src/app/layout/navbar/navbar.component.html
index 534b3b60..8077c6ed 100644
--- a/frontend/src/app/layout/navbar/navbar.component.html
+++ b/frontend/src/app/layout/navbar/navbar.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<header class="main-header">
<nav class="navbar navbar-content">
<a (click)="navigateTo('back')" class="d-sm-none navbar-button" role="button">
diff --git a/frontend/src/app/layout/navbar/navbar.component.ts b/frontend/src/app/layout/navbar/navbar.component.ts
index d0ca6d78..48bf344c 100644
--- a/frontend/src/app/layout/navbar/navbar.component.ts
+++ b/frontend/src/app/layout/navbar/navbar.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { Location } from '@angular/common'
import { Component, inject, OnDestroy } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/layout/sidebar/components/selection.component.html b/frontend/src/app/layout/sidebar/components/selection.component.html
index c23e7467..f7262435 100644
--- a/frontend/src/app/layout/sidebar/components/selection.component.html
+++ b/frontend/src/app/layout/sidebar/components/selection.component.html
@@ -1,8 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
@switch (selectionType()) {
@case (SPACES_PATH.FILES) {
<app-files-selection [files]="store.filesSelection()"></app-files-selection>
diff --git a/frontend/src/app/layout/sidebar/components/selection.component.ts b/frontend/src/app/layout/sidebar/components/selection.component.ts
index 28d9e88a..5b054353 100644
--- a/frontend/src/app/layout/sidebar/components/selection.component.ts
+++ b/frontend/src/app/layout/sidebar/components/selection.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { ChangeDetectionStrategy, Component, computed, inject, Signal } from '@angular/core'
import { FilesSelectionComponent } from '../../../applications/files/components/sidebar/files-selection.component'
import { LinkSelectionComponent } from '../../../applications/links/components/sidebar/link-selection.component'
diff --git a/frontend/src/app/layout/sidebar/components/windows.component.html b/frontend/src/app/layout/sidebar/components/windows.component.html
index 500b5488..598697a7 100755
--- a/frontend/src/app/layout/sidebar/components/windows.component.html
+++ b/frontend/src/app/layout/sidebar/components/windows.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<div class="sidebar-component-title">
@if (windows.length) {
<button (click)="onCloseAll()" class="btn btn-sm btn-secondary">
diff --git a/frontend/src/app/layout/sidebar/components/windows.component.ts b/frontend/src/app/layout/sidebar/components/windows.component.ts
index f47df8a6..632cf39b 100755
--- a/frontend/src/app/layout/sidebar/components/windows.component.ts
+++ b/frontend/src/app/layout/sidebar/components/windows.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { NgOptimizedImage } from '@angular/common'
import { Component, inject, OnDestroy } from '@angular/core'
import { FaIconComponent } from '@fortawesome/angular-fontawesome'
diff --git a/frontend/src/app/layout/sidebar/sidebar.left.component.html b/frontend/src/app/layout/sidebar/sidebar.left.component.html
index 0bd58c54..c7940c64 100644
--- a/frontend/src/app/layout/sidebar/sidebar.left.component.html
+++ b/frontend/src/app/layout/sidebar/sidebar.left.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<aside #sidebar class="left-sidebar">
<div class="sidebar-apps-icons">
<div class="menu">
diff --git a/frontend/src/app/layout/sidebar/sidebar.left.component.ts b/frontend/src/app/layout/sidebar/sidebar.left.component.ts
index 12e2cb61..c68f96af 100644
--- a/frontend/src/app/layout/sidebar/sidebar.left.component.ts
+++ b/frontend/src/app/layout/sidebar/sidebar.left.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { AsyncPipe, Location, NgComponentOutlet, NgTemplateOutlet } from '@angular/common'
import { Component, ElementRef, inject, OnDestroy, Renderer2, ViewChild } from '@angular/core'
import { ResolveEnd, Router, RouterLink } from '@angular/router'
diff --git a/frontend/src/app/layout/sidebar/sidebar.right.component.html b/frontend/src/app/layout/sidebar/sidebar.right.component.html
index 46088c58..f64a8f83 100644
--- a/frontend/src/app/layout/sidebar/sidebar.right.component.html
+++ b/frontend/src/app/layout/sidebar/sidebar.right.component.html
@@ -1,9 +1,3 @@
-<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- ~ This file is part of Sync-in | The open source file sync and share solution
- ~ See the LICENSE file for licensing details
- -->
-
<aside [class.control-sidebar-open]="visible" class="control-sidebar control-sidebar-{{theme}}">
@for (tab of tabs; track tab.label) {
<div class="{{tab.active ? 'd-block' : 'd-none'}}">
diff --git a/frontend/src/app/layout/sidebar/sidebar.right.component.ts b/frontend/src/app/layout/sidebar/sidebar.right.component.ts
index 7786924e..98d8f240 100644
--- a/frontend/src/app/layout/sidebar/sidebar.right.component.ts
+++ b/frontend/src/app/layout/sidebar/sidebar.right.component.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { AsyncPipe, NgComponentOutlet } from '@angular/common'
import { Component, computed, inject, OnDestroy } from '@angular/core'
import { toObservable } from '@angular/core/rxjs-interop'
diff --git a/frontend/src/app/store/store.service.ts b/frontend/src/app/store/store.service.ts
index d56fde4c..ed262329 100644
--- a/frontend/src/app/store/store.service.ts
+++ b/frontend/src/app/store/store.service.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { computed, Injectable, Signal, signal, WritableSignal } from '@angular/core'
import type { SearchFilesDto } from '@sync-in-server/backend/src/applications/files/dto/file-operations.dto'
import type { FileTask } from '@sync-in-server/backend/src/applications/files/models/file-task'
diff --git a/frontend/src/app/websocket/websocket.constants.ts b/frontend/src/app/websocket/websocket.constants.ts
index ce536ae2..9b699a0d 100644
--- a/frontend/src/app/websocket/websocket.constants.ts
+++ b/frontend/src/app/websocket/websocket.constants.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import type { SocketIoConfig } from 'ngx-socket-io'
export const webSocketOptions: SocketIoConfig = {
diff --git a/frontend/src/i18n/l10n.ts b/frontend/src/i18n/l10n.ts
index 40ccda32..eb8e9ca2 100755
--- a/frontend/src/i18n/l10n.ts
+++ b/frontend/src/i18n/l10n.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { inject, Injectable } from '@angular/core'
import { i18nLocaleSupported, LANG_SUPPORTED, normalizeLanguage } from '@sync-in-server/backend/src/common/i18n'
import {
diff --git a/frontend/src/i18n/lib/bs.i18n.ts b/frontend/src/i18n/lib/bs.i18n.ts
index 781b8888..fa0cd77e 100644
--- a/frontend/src/i18n/lib/bs.i18n.ts
+++ b/frontend/src/i18n/lib/bs.i18n.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { i18nLocaleSupported } from '@sync-in-server/backend/src/common/i18n'
import {
defineLocale,
diff --git a/frontend/src/i18n/lib/dayjs.i18n.ts b/frontend/src/i18n/lib/dayjs.i18n.ts
index e0e39c33..7ed2e1bb 100644
--- a/frontend/src/i18n/lib/dayjs.i18n.ts
+++ b/frontend/src/i18n/lib/dayjs.i18n.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { i18nLocaleSupported } from '@sync-in-server/backend/src/common/i18n'
import { dJs } from '../../app/common/utils/time'
diff --git a/frontend/src/index.html b/frontend/src/index.html
index 636bc724..f65c0633 100644
--- a/frontend/src/index.html
+++ b/frontend/src/index.html
@@ -1,5 +1,5 @@
<!--
- ~ Copyright (C) 2012-2025 Johan Legrand <[email protected]>
+ ~ Copyright (C) 2012-2026 Johan Legrand <[email protected]>
~ This file is part of Sync-in | The open source file sync and share solution
~ See the LICENSE file for licensing details
-->
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 4b649184..c9586f57 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -1,9 +1,3 @@
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
import { bootstrapApplication } from '@angular/platform-browser'
import { AppComponent } from './app/app.component'
import { appConfig } from './app/app.config'
diff --git a/frontend/src/styles/components/_app.scss b/frontend/src/styles/components/_app.scss
index 716cd08d..382d1edf 100755
--- a/frontend/src/styles/components/_app.scss
+++ b/frontend/src/styles/components/_app.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.app-auth {
display: flex;
flex-direction: column;
diff --git a/frontend/src/styles/components/_avatar.scss b/frontend/src/styles/components/_avatar.scss
index 2f166897..27cb26f0 100644
--- a/frontend/src/styles/components/_avatar.scss
+++ b/frontend/src/styles/components/_avatar.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.avatar-base-img {
object-fit: cover;
border-radius: 50%;
diff --git a/frontend/src/styles/components/_backgrounds.scss b/frontend/src/styles/components/_backgrounds.scss
index 756f52b6..ea2913dc 100644
--- a/frontend/src/styles/components/_backgrounds.scss
+++ b/frontend/src/styles/components/_backgrounds.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.bg-gray-dark {
background-color: $gray-700;
}
diff --git a/frontend/src/styles/components/_boxes.scss b/frontend/src/styles/components/_boxes.scss
index 431fed50..e503ebd0 100644
--- a/frontend/src/styles/components/_boxes.scss
+++ b/frontend/src/styles/components/_boxes.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.box {
position: relative;
@include border-radius($box-border-radius);
diff --git a/frontend/src/styles/components/_buttons.scss b/frontend/src/styles/components/_buttons.scss
index c13b049f..f5f89238 100644
--- a/frontend/src/styles/components/_buttons.scss
+++ b/frontend/src/styles/components/_buttons.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.btn {
box-shadow: none !important;
}
diff --git a/frontend/src/styles/components/_chats.scss b/frontend/src/styles/components/_chats.scss
index 93d3ac42..c2b79bd5 100644
--- a/frontend/src/styles/components/_chats.scss
+++ b/frontend/src/styles/components/_chats.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.avatar {
position: relative;
display: inline-block;
diff --git a/frontend/src/styles/components/_circles.scss b/frontend/src/styles/components/_circles.scss
index 9d4e12f4..fd047e49 100755
--- a/frontend/src/styles/components/_circles.scss
+++ b/frontend/src/styles/components/_circles.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.circle-icon {
display: flex;
align-items: center;
diff --git a/frontend/src/styles/components/_contextmenu.scss b/frontend/src/styles/components/_contextmenu.scss
index 33ec563b..0f2e8df5 100644
--- a/frontend/src/styles/components/_contextmenu.scss
+++ b/frontend/src/styles/components/_contextmenu.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
:root {
--ngx-contextmenu-font-family: var(--bs-body-font-family) !important;
--ngx-contextmenu-border: .5px solid rgba(0, 0, 0, 0.18) !important;
diff --git a/frontend/src/styles/components/_core.scss b/frontend/src/styles/components/_core.scss
index 28277c38..01123c39 100644
--- a/frontend/src/styles/components/_core.scss
+++ b/frontend/src/styles/components/_core.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
html, body {
background-color: $sidebar-dark-icons-menu-bg;
-moz-osx-font-smoothing: grayscale;
diff --git a/frontend/src/styles/components/_dropdowns.scss b/frontend/src/styles/components/_dropdowns.scss
index 321d8d93..39ccd6c2 100644
--- a/frontend/src/styles/components/_dropdowns.scss
+++ b/frontend/src/styles/components/_dropdowns.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.dropdown-menu {
min-width: 0 !important;
font-size: $font-size-xs;
diff --git a/frontend/src/styles/components/_fixes.scss b/frontend/src/styles/components/_fixes.scss
index cb54728b..ed2e098c 100755
--- a/frontend/src/styles/components/_fixes.scss
+++ b/frontend/src/styles/components/_fixes.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// fix firefox outline
a, .row, tbody {
outline: none !important;
diff --git a/frontend/src/styles/components/_forms.scss b/frontend/src/styles/components/_forms.scss
index db39607f..059966fb 100644
--- a/frontend/src/styles/components/_forms.scss
+++ b/frontend/src/styles/components/_forms.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.form-control {
@include border-radius($border-radius-base);
diff --git a/frontend/src/styles/components/_header.scss b/frontend/src/styles/components/_header.scss
index 7325a667..0732e73a 100644
--- a/frontend/src/styles/components/_header.scss
+++ b/frontend/src/styles/components/_header.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.main-header {
position: fixed;
top: 0;
diff --git a/frontend/src/styles/components/_links.scss b/frontend/src/styles/components/_links.scss
index 3edd3406..4c9a716f 100755
--- a/frontend/src/styles/components/_links.scss
+++ b/frontend/src/styles/components/_links.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.link-page {
background: $application_background;
text-align: center;
diff --git a/frontend/src/styles/components/_miscellaneous.scss b/frontend/src/styles/components/_miscellaneous.scss
index 7cb6ea18..de88bde3 100644
--- a/frontend/src/styles/components/_miscellaneous.scss
+++ b/frontend/src/styles/components/_miscellaneous.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
h1,
h2,
h3,
diff --git a/frontend/src/styles/components/_mixins.scss b/frontend/src/styles/components/_mixins.scss
index 2b1b78ef..d556d58b 100644
--- a/frontend/src/styles/components/_mixins.scss
+++ b/frontend/src/styles/components/_mixins.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
@mixin box-solid-variant($color, $text-color: #fff, $border-darken: false) {
@if $border-darken {
border: .5px solid darken($color, 5%);
diff --git a/frontend/src/styles/components/_modal.scss b/frontend/src/styles/components/_modal.scss
index c7eca730..a8d96731 100644
--- a/frontend/src/styles/components/_modal.scss
+++ b/frontend/src/styles/components/_modal.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.modal {
// backdrop
background: rgba(0, 0, 0, .6);
diff --git a/frontend/src/styles/components/_notifications.scss b/frontend/src/styles/components/_notifications.scss
index 4abe04a4..169448fe 100644
--- a/frontend/src/styles/components/_notifications.scss
+++ b/frontend/src/styles/components/_notifications.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
/* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */
.toast-title {
font-size: $font-size-sm;
diff --git a/frontend/src/styles/components/_products.scss b/frontend/src/styles/components/_products.scss
index 765d1ee6..33e85b80 100644
--- a/frontend/src/styles/components/_products.scss
+++ b/frontend/src/styles/components/_products.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.products-list {
list-style: none;
margin: 0;
diff --git a/frontend/src/styles/components/_profile.scss b/frontend/src/styles/components/_profile.scss
index e5cef7b0..875187bf 100644
--- a/frontend/src/styles/components/_profile.scss
+++ b/frontend/src/styles/components/_profile.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.profile-page {
@extend .bg-theme;
height: 100%;
diff --git a/frontend/src/styles/components/_sidebar_left.scss b/frontend/src/styles/components/_sidebar_left.scss
index 28e42bb6..60f14229 100755
--- a/frontend/src/styles/components/_sidebar_left.scss
+++ b/frontend/src/styles/components/_sidebar_left.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.left-sidebar {
display: flex;
position: fixed;
diff --git a/frontend/src/styles/components/_sidebar_left_collapse.scss b/frontend/src/styles/components/_sidebar_left_collapse.scss
index 25e8ffb7..9a1753f8 100755
--- a/frontend/src/styles/components/_sidebar_left_collapse.scss
+++ b/frontend/src/styles/components/_sidebar_left_collapse.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.sidebar-collapse {
.main-header, .content-wrapper {
margin-left: $sidebar-apps-icons-width !important;
diff --git a/frontend/src/styles/components/_sidebar_right.scss b/frontend/src/styles/components/_sidebar_right.scss
index 4451b71e..7362d5b0 100755
--- a/frontend/src/styles/components/_sidebar_right.scss
+++ b/frontend/src/styles/components/_sidebar_right.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.control-sidebar {
top: 0;
right: -$control-sidebar-width;
diff --git a/frontend/src/styles/components/_tasks.scss b/frontend/src/styles/components/_tasks.scss
index bc876418..64714524 100755
--- a/frontend/src/styles/components/_tasks.scss
+++ b/frontend/src/styles/components/_tasks.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.task-list {
@extend .no-select-pointer;
border-bottom: .5px solid transparent;
diff --git a/frontend/src/styles/components/_texts.scss b/frontend/src/styles/components/_texts.scss
index 884c4573..a00de6d8 100644
--- a/frontend/src/styles/components/_texts.scss
+++ b/frontend/src/styles/components/_texts.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.white-space-normal {
white-space: normal !important;
}
diff --git a/frontend/src/styles/components/_theme_dark.scss b/frontend/src/styles/components/_theme_dark.scss
index f87fd92f..c1bf7e0d 100755
--- a/frontend/src/styles/components/_theme_dark.scss
+++ b/frontend/src/styles/components/_theme_dark.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
//Dark Sidebar Mixin
@mixin skin-dark-left-sidebar() {
diff --git a/frontend/src/styles/components/_theme_light.scss b/frontend/src/styles/components/_theme_light.scss
index ac4ea6e4..42223ded 100755
--- a/frontend/src/styles/components/_theme_light.scss
+++ b/frontend/src/styles/components/_theme_light.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
//Light Sidebar Mixins
@mixin skin-light-left-sidebar() {
// Sidebar background color (Both .wrapper is responsible for sidebar bg color)
diff --git a/frontend/src/styles/components/_themes.scss b/frontend/src/styles/components/_themes.scss
index 62be6890..2b270211 100755
--- a/frontend/src/styles/components/_themes.scss
+++ b/frontend/src/styles/components/_themes.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
body {
.navbar {
background-color: $primary;
diff --git a/frontend/src/styles/components/_tree.scss b/frontend/src/styles/components/_tree.scss
index 8c0686c3..3610d921 100644
--- a/frontend/src/styles/components/_tree.scss
+++ b/frontend/src/styles/components/_tree.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
@function hexToRGBString($hexColor) {
@return "rgb(#{red($hexColor)},#{green($hexColor)},#{blue($hexColor)})";
}
diff --git a/frontend/src/styles/components/_variables.scss b/frontend/src/styles/components/_variables.scss
index ee776bf5..40bd8d4d 100644
--- a/frontend/src/styles/components/_variables.scss
+++ b/frontend/src/styles/components/_variables.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
//PATHS
//--------------------------------------------------------
// NavBar
diff --git a/frontend/src/styles/components/_wizard.scss b/frontend/src/styles/components/_wizard.scss
index c46d23f7..fd8949a9 100644
--- a/frontend/src/styles/components/_wizard.scss
+++ b/frontend/src/styles/components/_wizard.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
.wizard {
display: flex;
flex-direction: column;
diff --git a/frontend/src/styles/components/index.scss b/frontend/src/styles/components/index.scss
index ef30578c..749277cc 100644
--- a/frontend/src/styles/components/index.scss
+++ b/frontend/src/styles/components/index.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// declarations
@import 'variables';
@import 'mixins';
diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss
index e749816a..09693c41 100644
--- a/frontend/src/styles/index.scss
+++ b/frontend/src/styles/index.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
/* You can add global styles to this file, and also import other style files */
// Overload bootstrap variables
@import 'variables';
diff --git a/frontend/src/styles/variables.scss b/frontend/src/styles/variables.scss
index 1c56e43c..ee90930d 100644
--- a/frontend/src/styles/variables.scss
+++ b/frontend/src/styles/variables.scss
@@ -1,9 +1,3 @@
-/*!
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
-
// Custom variables
$application_title: 'Sync-in';
$application_background: linear-gradient(to bottom right, rgb(2, 0, 36) 0%, rgb(28, 104, 176) 35%, rgb(152, 92, 160) 100%);
diff --git a/scripts/unused-translations.js b/scripts/unused-translations.js
index c955abb2..133872b5 100644
--- a/scripts/unused-translations.js
+++ b/scripts/unused-translations.js
@@ -1,9 +1,4 @@
#!/usr/bin/env node
-/*
- * Copyright (C) 2012-2025 Johan Legrand <[email protected]>
- * This file is part of Sync-in | The open source file sync and share solution
- * See the LICENSE file for licensing details
- */
/**
* Script: unused_translations.js