Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.
Go email-relayemail-routinghttp-to-smtpmail-deliverymailchimp-alternativemailgun-alternativemailsendermailservermailtemplatemailtestpostmark-alternativesend-emailsendgrid-alternativesendmailtransactional-emailtransactional-outbox
chore: switch source files to the full AGPL license notice
Jonas Kaninda1248644197fd
diff --git a/cmd/posta/doctor.go b/cmd/posta/doctor.goindex ac6eee4..41b2e21 100644--- a/cmd/posta/doctor.go+++ b/cmd/posta/doctor.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage maindiff --git a/cmd/posta/main.go b/cmd/posta/main.goindex 1f41767..cbaec52 100644--- a/cmd/posta/main.go+++ b/cmd/posta/main.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage maindiff --git a/cmd/posta/server.go b/cmd/posta/server.goindex 7adc929..7704bc6 100644--- a/cmd/posta/server.go+++ b/cmd/posta/server.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage maindiff --git a/cmd/posta/worker.go b/cmd/posta/worker.goindex 928aea4..87d9ef5 100644--- a/cmd/posta/worker.go+++ b/cmd/posta/worker.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage maindiff --git a/docker/healthcheck.sh b/docker/healthcheck.shindex 69c931d..9da6e5c 100755--- a/docker/healthcheck.sh+++ b/docker/healthcheck.sh@@ -1,5 +1,21 @@#!/bin/sh-# SPDX-FileCopyrightText: 2026 Jonas Kaninda+# Copyright (c) 2026 Jonas Kaninda.+#+# This file is part of Posta.+#+# 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 by+# the Free Software Foundation, either version 3 of the License, or+# (at your option) any later version.+#+# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU Affero General Public License for more details.+#+# You should have received a copy of the GNU Affero General Public License+# along with this program. If not, see <https://www.gnu.org/licenses/>.+## SPDX-License-Identifier: AGPL-3.0-or-later## Container health check for both Posta roles.diff --git a/internal/config/config.go b/internal/config/config.goindex ffca22e..9a2acb4 100644--- a/internal/config/config.go+++ b/internal/config/config.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage configdiff --git a/internal/config/config_test.go b/internal/config/config_test.goindex 8ae526d..10c53b0 100644--- a/internal/config/config_test.go+++ b/internal/config/config_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage configdiff --git a/internal/config/security.go b/internal/config/security.goindex aed0e3b..5f6cbc3 100644--- a/internal/config/security.go+++ b/internal/config/security.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage configdiff --git a/internal/config/security_test.go b/internal/config/security_test.goindex daec619..8710fd2 100644--- a/internal/config/security_test.go+++ b/internal/config/security_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage configdiff --git a/internal/config/version.go b/internal/config/version.goindex c678073..0e1e974 100644--- a/internal/config/version.go+++ b/internal/config/version.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage configdiff --git a/internal/cron/cronjob.go b/internal/cron/cronjob.goindex 16d9d8a..cab7554 100644--- a/internal/cron/cronjob.go+++ b/internal/cron/cronjob.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage crondiff --git a/internal/cron/job.go b/internal/cron/job.goindex c0ba5e6..e986799 100644--- a/internal/cron/job.go+++ b/internal/cron/job.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage crondiff --git a/internal/cron/jobs/account_cleanup.go b/internal/cron/jobs/account_cleanup.goindex 53502d3..0c7ef00 100644--- a/internal/cron/jobs/account_cleanup.go+++ b/internal/cron/jobs/account_cleanup.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/api_key_expiry.go b/internal/cron/jobs/api_key_expiry.goindex 9aed5b2..b7bf85f 100644--- a/internal/cron/jobs/api_key_expiry.go+++ b/internal/cron/jobs/api_key_expiry.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/bounce_alert.go b/internal/cron/jobs/bounce_alert.goindex 1abcdc5..f68d945 100644--- a/internal/cron/jobs/bounce_alert.go+++ b/internal/cron/jobs/bounce_alert.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/campaign_restart.go b/internal/cron/jobs/campaign_restart.goindex 285130f..90ddf4e 100644--- a/internal/cron/jobs/campaign_restart.go+++ b/internal/cron/jobs/campaign_restart.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/daily_report.go b/internal/cron/jobs/daily_report.goindex c6c0793..573bbf4 100644--- a/internal/cron/jobs/daily_report.go+++ b/internal/cron/jobs/daily_report.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/message_digest.go b/internal/cron/jobs/message_digest.goindex 54654fa..7de8259 100644--- a/internal/cron/jobs/message_digest.go+++ b/internal/cron/jobs/message_digest.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/retention.go b/internal/cron/jobs/retention.goindex 2c7bcbf..e42d977 100644--- a/internal/cron/jobs/retention.go+++ b/internal/cron/jobs/retention.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/retention_test.go b/internal/cron/jobs/retention_test.goindex aa23077..4548fd8 100644--- a/internal/cron/jobs/retention_test.go+++ b/internal/cron/jobs/retention_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/jobs/update_check.go b/internal/cron/jobs/update_check.goindex fad5056..65fd898 100644--- a/internal/cron/jobs/update_check.go+++ b/internal/cron/jobs/update_check.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage jobsdiff --git a/internal/cron/manager.go b/internal/cron/manager.goindex bab5725..1d8a197 100644--- a/internal/cron/manager.go+++ b/internal/cron/manager.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage crondiff --git a/internal/dto/types.go b/internal/dto/types.goindex 7b872f3..7740e40 100644--- a/internal/dto/types.go+++ b/internal/dto/types.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage dtodiff --git a/internal/dto/webhook_events.go b/internal/dto/webhook_events.goindex 5fc86f9..71f9119 100644--- a/internal/dto/webhook_events.go+++ b/internal/dto/webhook_events.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage dtodiff --git a/internal/error_handlers/errors.go b/internal/error_handlers/errors.goindex b23fc6e..f262f7a 100644--- a/internal/error_handlers/errors.go+++ b/internal/error_handlers/errors.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage errorhandlersdiff --git a/internal/handlers/admin_announcement_handler.go b/internal/handlers/admin_announcement_handler.goindex 068fc3a..9ad3f3d 100644--- a/internal/handlers/admin_announcement_handler.go+++ b/internal/handlers/admin_announcement_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/admin_domain_handler.go b/internal/handlers/admin_domain_handler.goindex 5f2dc93..3af5bca 100644--- a/internal/handlers/admin_domain_handler.go+++ b/internal/handlers/admin_domain_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/admin_handler.go b/internal/handlers/admin_handler.goindex 88bc470..416a9f8 100644--- a/internal/handlers/admin_handler.go+++ b/internal/handlers/admin_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/analytics_handler.go b/internal/handlers/analytics_handler.goindex fdaf6cf..fe75f94 100644--- a/internal/handlers/analytics_handler.go+++ b/internal/handlers/analytics_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/analytics_range_test.go b/internal/handlers/analytics_range_test.goindex d206f23..7a55c95 100644--- a/internal/handlers/analytics_range_test.go+++ b/internal/handlers/analytics_range_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/announcement_bind_test.go b/internal/handlers/announcement_bind_test.goindex 69fa8cd..23d3be5 100644--- a/internal/handlers/announcement_bind_test.go+++ b/internal/handlers/announcement_bind_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/api_key_handler.go b/internal/handlers/api_key_handler.goindex 6bdb0d7..7ee7522 100644--- a/internal/handlers/api_key_handler.go+++ b/internal/handlers/api_key_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/bounce_handler.go b/internal/handlers/bounce_handler.goindex f3d5b55..e491931 100644--- a/internal/handlers/bounce_handler.go+++ b/internal/handlers/bounce_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/bounce_webhook_handler.go b/internal/handlers/bounce_webhook_handler.goindex 6d39705..3c21a42 100644--- a/internal/handlers/bounce_webhook_handler.go+++ b/internal/handlers/bounce_webhook_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/campaign_handler.go b/internal/handlers/campaign_handler.goindex c7a731d..72e077a 100644--- a/internal/handlers/campaign_handler.go+++ b/internal/handlers/campaign_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/contact_handler.go b/internal/handlers/contact_handler.goindex 52bb684..b5dffd1 100644--- a/internal/handlers/contact_handler.go+++ b/internal/handlers/contact_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/contact_list_handler.go b/internal/handlers/contact_list_handler.goindex 9bf5254..d94597d 100644--- a/internal/handlers/contact_list_handler.go+++ b/internal/handlers/contact_list_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/cron_handler.go b/internal/handlers/cron_handler.goindex 61bcdee..5ac9452 100644--- a/internal/handlers/cron_handler.go+++ b/internal/handlers/cron_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/dashboard_handler.go b/internal/handlers/dashboard_handler.goindex e97fce6..ace8972 100644--- a/internal/handlers/dashboard_handler.go+++ b/internal/handlers/dashboard_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/data_export.go b/internal/handlers/data_export.goindex bfbb024..0d03cf2 100644--- a/internal/handlers/data_export.go+++ b/internal/handlers/data_export.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/domain_handler.go b/internal/handlers/domain_handler.goindex d62e0b1..9fa7ac2 100644--- a/internal/handlers/domain_handler.go+++ b/internal/handlers/domain_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/email_handler.go b/internal/handlers/email_handler.goindex 8670742..6e04fde 100644--- a/internal/handlers/email_handler.go+++ b/internal/handlers/email_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/enum_tag_test.go b/internal/handlers/enum_tag_test.goindex c01016f..7952dfc 100644--- a/internal/handlers/enum_tag_test.go+++ b/internal/handlers/enum_tag_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/event_handler.go b/internal/handlers/event_handler.goindex 998ed07..312a1f7 100644--- a/internal/handlers/event_handler.go+++ b/internal/handlers/event_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/form_handler.go b/internal/handlers/form_handler.goindex 1121a6f..500c90b 100644--- a/internal/handlers/form_handler.go+++ b/internal/handlers/form_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/form_handler_test.go b/internal/handlers/form_handler_test.goindex 34fc90b..73355ed 100644--- a/internal/handlers/form_handler_test.go+++ b/internal/handlers/form_handler_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/form_ingest_handler.go b/internal/handlers/form_ingest_handler.goindex 1e4e69c..c48a7ab 100644--- a/internal/handlers/form_ingest_handler.go+++ b/internal/handlers/form_ingest_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/health_handler.go b/internal/handlers/health_handler.goindex e894f7a..7023a5f 100644--- a/internal/handlers/health_handler.go+++ b/internal/handlers/health_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/helper.go b/internal/handlers/helper.goindex 7d632ec..f3ce860 100644--- a/internal/handlers/helper.go+++ b/internal/handlers/helper.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/html_parser.go b/internal/handlers/html_parser.goindex e87e287..4f12f93 100644--- a/internal/handlers/html_parser.go+++ b/internal/handlers/html_parser.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/html_parser_test.go b/internal/handlers/html_parser_test.goindex 159404c..cb8431c 100644--- a/internal/handlers/html_parser_test.go+++ b/internal/handlers/html_parser_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/inbound_handler.go b/internal/handlers/inbound_handler.goindex 206bcb9..3d08196 100644--- a/internal/handlers/inbound_handler.go+++ b/internal/handlers/inbound_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/info_handler.go b/internal/handlers/info_handler.goindex 713e9c6..7743c73 100644--- a/internal/handlers/info_handler.go+++ b/internal/handlers/info_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/language_handler.go b/internal/handlers/language_handler.goindex cfea94f..337e52b 100644--- a/internal/handlers/language_handler.go+++ b/internal/handlers/language_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/message_filter_handler.go b/internal/handlers/message_filter_handler.goindex 9a0a23a..561bd30 100644--- a/internal/handlers/message_filter_handler.go+++ b/internal/handlers/message_filter_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/message_handler.go b/internal/handlers/message_handler.goindex 994c624..9fdca5d 100644--- a/internal/handlers/message_handler.go+++ b/internal/handlers/message_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/notification_handler.go b/internal/handlers/notification_handler.goindex 382a9e1..c4ceec7 100644--- a/internal/handlers/notification_handler.go+++ b/internal/handlers/notification_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/oauth_admin_handler.go b/internal/handlers/oauth_admin_handler.goindex e64491e..33a11b7 100644--- a/internal/handlers/oauth_admin_handler.go+++ b/internal/handlers/oauth_admin_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/oauth_handler.go b/internal/handlers/oauth_handler.goindex cc1881b..71f82be 100644--- a/internal/handlers/oauth_handler.go+++ b/internal/handlers/oauth_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/plan_handler.go b/internal/handlers/plan_handler.goindex ce90e5f..5c992c4 100644--- a/internal/handlers/plan_handler.go+++ b/internal/handlers/plan_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/server_handler.go b/internal/handlers/server_handler.goindex 13e78a9..580c249 100644--- a/internal/handlers/server_handler.go+++ b/internal/handlers/server_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/session_handler.go b/internal/handlers/session_handler.goindex b19c2b6..4d979cc 100644--- a/internal/handlers/session_handler.go+++ b/internal/handlers/session_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/setting_handler.go b/internal/handlers/setting_handler.goindex d14fec7..1eb22af 100644--- a/internal/handlers/setting_handler.go+++ b/internal/handlers/setting_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/setting_timezone_test.go b/internal/handlers/setting_timezone_test.goindex 3037e22..647708a 100644--- a/internal/handlers/setting_timezone_test.go+++ b/internal/handlers/setting_timezone_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/smtp_credential_handler.go b/internal/handlers/smtp_credential_handler.goindex 05135df..bfc797d 100644--- a/internal/handlers/smtp_credential_handler.go+++ b/internal/handlers/smtp_credential_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/smtp_handler.go b/internal/handlers/smtp_handler.goindex e4db04d..c7a65e2 100644--- a/internal/handlers/smtp_handler.go+++ b/internal/handlers/smtp_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/stylesheet_handler.go b/internal/handlers/stylesheet_handler.goindex f19af5d..05d9c98 100644--- a/internal/handlers/stylesheet_handler.go+++ b/internal/handlers/stylesheet_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/subscriber_handler.go b/internal/handlers/subscriber_handler.goindex 1b4bdf2..791b300 100644--- a/internal/handlers/subscriber_handler.go+++ b/internal/handlers/subscriber_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/subscriber_list_handler.go b/internal/handlers/subscriber_list_handler.goindex ff48436..a083ada 100644--- a/internal/handlers/subscriber_list_handler.go+++ b/internal/handlers/subscriber_list_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/suppression_handler.go b/internal/handlers/suppression_handler.goindex a4f645d..ef74bf8 100644--- a/internal/handlers/suppression_handler.go+++ b/internal/handlers/suppression_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/template_handler.go b/internal/handlers/template_handler.goindex 9599abe..b37ad51 100644--- a/internal/handlers/template_handler.go+++ b/internal/handlers/template_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/template_localization_handler.go b/internal/handlers/template_localization_handler.goindex aeb4338..b18e2e1 100644--- a/internal/handlers/template_localization_handler.go+++ b/internal/handlers/template_localization_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/template_version_handler.go b/internal/handlers/template_version_handler.goindex f2b1031..a408354 100644--- a/internal/handlers/template_version_handler.go+++ b/internal/handlers/template_version_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/tracking_handler.go b/internal/handlers/tracking_handler.goindex 809b168..25b7115 100644--- a/internal/handlers/tracking_handler.go+++ b/internal/handlers/tracking_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/tracking_pages.go b/internal/handlers/tracking_pages.goindex b47d0c7..f265fc7 100644--- a/internal/handlers/tracking_pages.go+++ b/internal/handlers/tracking_pages.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/unsubscribe_list_handler.go b/internal/handlers/unsubscribe_list_handler.goindex e601b63..e25a9fb 100644--- a/internal/handlers/unsubscribe_list_handler.go+++ b/internal/handlers/unsubscribe_list_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/update_handler.go b/internal/handlers/update_handler.goindex e16d7c7..a4c6473 100644--- a/internal/handlers/update_handler.go+++ b/internal/handlers/update_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/user_handler.go b/internal/handlers/user_handler.goindex f2baa5e..28ec09d 100644--- a/internal/handlers/user_handler.go+++ b/internal/handlers/user_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/user_setting_handler.go b/internal/handlers/user_setting_handler.goindex 5ce4e60..f913a9f 100644--- a/internal/handlers/user_setting_handler.go+++ b/internal/handlers/user_setting_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/verify_handler.go b/internal/handlers/verify_handler.goindex 23e003e..60eda69 100644--- a/internal/handlers/verify_handler.go+++ b/internal/handlers/verify_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/webhook_delivery_handler.go b/internal/handlers/webhook_delivery_handler.goindex b2d7f04..f1a6b4b 100644--- a/internal/handlers/webhook_delivery_handler.go+++ b/internal/handlers/webhook_delivery_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/webhook_handler.go b/internal/handlers/webhook_handler.goindex b71d7c5..64608b2 100644--- a/internal/handlers/webhook_handler.go+++ b/internal/handlers/webhook_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/workspace_data_handler.go b/internal/handlers/workspace_data_handler.goindex 60a99cf..b67ec0e 100644--- a/internal/handlers/workspace_data_handler.go+++ b/internal/handlers/workspace_data_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/workspace_handler.go b/internal/handlers/workspace_handler.goindex fdd640f..026e78e 100644--- a/internal/handlers/workspace_handler.go+++ b/internal/handlers/workspace_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/workspace_seed_test.go b/internal/handlers/workspace_seed_test.goindex aee528c..795d4d7 100644--- a/internal/handlers/workspace_seed_test.go+++ b/internal/handlers/workspace_seed_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/handlers/workspace_setting_handler.go b/internal/handlers/workspace_setting_handler.goindex 16983b8..082321b 100644--- a/internal/handlers/workspace_setting_handler.go+++ b/internal/handlers/workspace_setting_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage handlersdiff --git a/internal/health/health.go b/internal/health/health.goindex 1c53260..9c5a217 100644--- a/internal/health/health.go+++ b/internal/health/health.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package health answers "can this process do its job right now?" for both thediff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.goindex 8c1e7fe..464bc82 100644--- a/internal/metrics/metrics.go+++ b/internal/metrics/metrics.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage metricsdiff --git a/internal/middlewares/authenticate_test.go b/internal/middlewares/authenticate_test.goindex 1fc7f42..9c0133b 100644--- a/internal/middlewares/authenticate_test.go+++ b/internal/middlewares/authenticate_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage middlewaresdiff --git a/internal/middlewares/default_workspace_test.go b/internal/middlewares/default_workspace_test.goindex ace6659..a3d01d8 100644--- a/internal/middlewares/default_workspace_test.go+++ b/internal/middlewares/default_workspace_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage middlewaresdiff --git a/internal/middlewares/message_scope_test.go b/internal/middlewares/message_scope_test.goindex beb901a..d9a686a 100644--- a/internal/middlewares/message_scope_test.go+++ b/internal/middlewares/message_scope_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage middlewaresdiff --git a/internal/middlewares/middleware.go b/internal/middlewares/middleware.goindex b98966b..d0c69a2 100644--- a/internal/middlewares/middleware.go+++ b/internal/middlewares/middleware.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package middlewares holds HTTP middleware: authentication, workspace scoping,diff --git a/internal/middlewares/scope_test.go b/internal/middlewares/scope_test.goindex 9e4bde6..84f75b8 100644--- a/internal/middlewares/scope_test.go+++ b/internal/middlewares/scope_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage middlewaresdiff --git a/internal/middlewares/workspace.go b/internal/middlewares/workspace.goindex 19c3a5b..67a97b0 100644--- a/internal/middlewares/workspace.go+++ b/internal/middlewares/workspace.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage middlewaresdiff --git a/internal/middlewares/workspace_test.go b/internal/middlewares/workspace_test.goindex 9316020..1d69b9a 100644--- a/internal/middlewares/workspace_test.go+++ b/internal/middlewares/workspace_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage middlewaresdiff --git a/internal/models/abtest.go b/internal/models/abtest.goindex ed104f1..7ae16ea 100644--- a/internal/models/abtest.go+++ b/internal/models/abtest.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/actor.go b/internal/models/actor.goindex 2ce2013..439c2e8 100644--- a/internal/models/actor.go+++ b/internal/models/actor.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/api_key.go b/internal/models/api_key.goindex a5a1178..fb81238 100644--- a/internal/models/api_key.go+++ b/internal/models/api_key.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/api_key_test.go b/internal/models/api_key_test.goindex e48ffac..90cd428 100644--- a/internal/models/api_key_test.go+++ b/internal/models/api_key_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/bounce.go b/internal/models/bounce.goindex 6360687..cc66122 100644--- a/internal/models/bounce.go+++ b/internal/models/bounce.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/campaign.go b/internal/models/campaign.goindex 436f5f1..44bdf9d 100644--- a/internal/models/campaign.go+++ b/internal/models/campaign.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/campaign_message.go b/internal/models/campaign_message.goindex d460d48..0cd8e6c 100644--- a/internal/models/campaign_message.go+++ b/internal/models/campaign_message.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/contact.go b/internal/models/contact.goindex fe4b4f3..5c4a98b 100644--- a/internal/models/contact.go+++ b/internal/models/contact.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/contact_list.go b/internal/models/contact_list.goindex 336dd68..477e8c6 100644--- a/internal/models/contact_list.go+++ b/internal/models/contact_list.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/domain.go b/internal/models/domain.goindex 480c96b..02e3800 100644--- a/internal/models/domain.go+++ b/internal/models/domain.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/email.go b/internal/models/email.goindex c132f7e..7079a42 100644--- a/internal/models/email.go+++ b/internal/models/email.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/event.go b/internal/models/event.goindex f9cc009..9b03c94 100644--- a/internal/models/event.go+++ b/internal/models/event.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/form.go b/internal/models/form.goindex 91b9221..b9e597e 100644--- a/internal/models/form.go+++ b/internal/models/form.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/inbound_email.go b/internal/models/inbound_email.goindex b3ea032..5d8c3bb 100644--- a/internal/models/inbound_email.go+++ b/internal/models/inbound_email.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/language.go b/internal/models/language.goindex 4186a6a..76142ce 100644--- a/internal/models/language.go+++ b/internal/models/language.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/message.go b/internal/models/message.goindex 40067d5..bf61af5 100644--- a/internal/models/message.go+++ b/internal/models/message.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/message_filter.go b/internal/models/message_filter.goindex e7ca58f..1ef9346 100644--- a/internal/models/message_filter.go+++ b/internal/models/message_filter.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/notification.go b/internal/models/notification.goindex f8148f3..3d017b0 100644--- a/internal/models/notification.go+++ b/internal/models/notification.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/oauth_account.go b/internal/models/oauth_account.goindex eeda876..a22bfdd 100644--- a/internal/models/oauth_account.go+++ b/internal/models/oauth_account.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/oauth_provider.go b/internal/models/oauth_provider.goindex abff5db..cd55f85 100644--- a/internal/models/oauth_provider.go+++ b/internal/models/oauth_provider.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/password_reset.go b/internal/models/password_reset.goindex bdadf6e..95b61ed 100644--- a/internal/models/password_reset.go+++ b/internal/models/password_reset.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/plan.go b/internal/models/plan.goindex b6761e3..0ff76bc 100644--- a/internal/models/plan.go+++ b/internal/models/plan.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/server.go b/internal/models/server.goindex bd8f7cd..076bd8b 100644--- a/internal/models/server.go+++ b/internal/models/server.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/session.go b/internal/models/session.goindex a2e8a08..3e81aea 100644--- a/internal/models/session.go+++ b/internal/models/session.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/setting.go b/internal/models/setting.goindex 6fe2d52..2d78a15 100644--- a/internal/models/setting.go+++ b/internal/models/setting.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/smtp_credential.go b/internal/models/smtp_credential.goindex 99be4c8..1328982 100644--- a/internal/models/smtp_credential.go+++ b/internal/models/smtp_credential.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/smtp_server.go b/internal/models/smtp_server.goindex 501575b..e03c418 100644--- a/internal/models/smtp_server.go+++ b/internal/models/smtp_server.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/stylesheet.go b/internal/models/stylesheet.goindex d0f13af..e56d92d 100644--- a/internal/models/stylesheet.go+++ b/internal/models/stylesheet.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/subscriber.go b/internal/models/subscriber.goindex 39c7a84..77517a7 100644--- a/internal/models/subscriber.go+++ b/internal/models/subscriber.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/subscriber_list.go b/internal/models/subscriber_list.goindex 95a1be3..0ab41a5 100644--- a/internal/models/subscriber_list.go+++ b/internal/models/subscriber_list.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/suppression.go b/internal/models/suppression.goindex a16a282..6f569a2 100644--- a/internal/models/suppression.go+++ b/internal/models/suppression.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/template.go b/internal/models/template.goindex 6b5591c..1230f1c 100644--- a/internal/models/template.go+++ b/internal/models/template.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/template_localization.go b/internal/models/template_localization.goindex 117a700..9b0bd62 100644--- a/internal/models/template_localization.go+++ b/internal/models/template_localization.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/template_version.go b/internal/models/template_version.goindex c66771c..c1385dc 100644--- a/internal/models/template_version.go+++ b/internal/models/template_version.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/tracking.go b/internal/models/tracking.goindex 93f1d14..2efe18d 100644--- a/internal/models/tracking.go+++ b/internal/models/tracking.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/unsubscribe_list.go b/internal/models/unsubscribe_list.goindex ac95a23..c551172 100644--- a/internal/models/unsubscribe_list.go+++ b/internal/models/unsubscribe_list.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/update_status.go b/internal/models/update_status.goindex e6db452..9e501f3 100644--- a/internal/models/update_status.go+++ b/internal/models/update_status.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/upgrade_step.go b/internal/models/upgrade_step.goindex 52ee63e..e363121 100644--- a/internal/models/upgrade_step.go+++ b/internal/models/upgrade_step.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/user.go b/internal/models/user.goindex a0eede3..40aa282 100644--- a/internal/models/user.go+++ b/internal/models/user.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/user_email_verification.go b/internal/models/user_email_verification.goindex 934a30c..8eeb7d7 100644--- a/internal/models/user_email_verification.go+++ b/internal/models/user_email_verification.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/user_setting.go b/internal/models/user_setting.goindex fd865ba..eaddc13 100644--- a/internal/models/user_setting.go+++ b/internal/models/user_setting.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/webhook.go b/internal/models/webhook.goindex 04a776b..2462078 100644--- a/internal/models/webhook.go+++ b/internal/models/webhook.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/webhook_delivery.go b/internal/models/webhook_delivery.goindex 04aaa04..7456ae8 100644--- a/internal/models/webhook_delivery.go+++ b/internal/models/webhook_delivery.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/workspace.go b/internal/models/workspace.goindex 8f90996..a738ed9 100644--- a/internal/models/workspace.go+++ b/internal/models/workspace.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/workspace_setting.go b/internal/models/workspace_setting.goindex 13ee68a..f30b4fd 100644--- a/internal/models/workspace_setting.go+++ b/internal/models/workspace_setting.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/models/workspace_sso.go b/internal/models/workspace_sso.goindex fcc9a60..c0410c8 100644--- a/internal/models/workspace_sso.go+++ b/internal/models/workspace_sso.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage modelsdiff --git a/internal/queues/queues.go b/internal/queues/queues.goindex 2a63d00..aeb4c16 100644--- a/internal/queues/queues.go+++ b/internal/queues/queues.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package queues names the Asynq queues.diff --git a/internal/routes/admin_routes.go b/internal/routes/admin_routes.goindex 210c265..fc3f1ea 100644--- a/internal/routes/admin_routes.go+++ b/internal/routes/admin_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/admin_sse_route_order_test.go b/internal/routes/admin_sse_route_order_test.goindex 8e6b631..b6e5883 100644--- a/internal/routes/admin_sse_route_order_test.go+++ b/internal/routes/admin_sse_route_order_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/auth_routes.go b/internal/routes/auth_routes.goindex 7d6b8c4..834d621 100644--- a/internal/routes/auth_routes.go+++ b/internal/routes/auth_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/inbound_routes.go b/internal/routes/inbound_routes.goindex 798a75d..d841ee6 100644--- a/internal/routes/inbound_routes.go+++ b/internal/routes/inbound_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/message_routes.go b/internal/routes/message_routes.goindex 9de8b62..5c8c3a9 100644--- a/internal/routes/message_routes.go+++ b/internal/routes/message_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/message_routes_test.go b/internal/routes/message_routes_test.goindex 22db6f5..06abf36 100644--- a/internal/routes/message_routes_test.go+++ b/internal/routes/message_routes_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/oauth_routes.go b/internal/routes/oauth_routes.goindex 0b1e741..b8a9793 100644--- a/internal/routes/oauth_routes.go+++ b/internal/routes/oauth_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/paths.go b/internal/routes/paths.goindex 3d6cd8a..1793d99 100644--- a/internal/routes/paths.go+++ b/internal/routes/paths.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/routes.go b/internal/routes/routes.goindex b19a2b7..3f47fb7 100644--- a/internal/routes/routes.go+++ b/internal/routes/routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/tags.go b/internal/routes/tags.goindex ec07380..28eac85 100644--- a/internal/routes/tags.go+++ b/internal/routes/tags.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/tracking_routes.go b/internal/routes/tracking_routes.goindex ac5645a..49f4138 100644--- a/internal/routes/tracking_routes.go+++ b/internal/routes/tracking_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/user_routes.go b/internal/routes/user_routes.goindex 2ac75b9..ce0cbbb 100644--- a/internal/routes/user_routes.go+++ b/internal/routes/user_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/webhook_docs.go b/internal/routes/webhook_docs.goindex 68fe3b7..e579f47 100644--- a/internal/routes/webhook_docs.go+++ b/internal/routes/webhook_docs.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/workspace_rbac_test.go b/internal/routes/workspace_rbac_test.goindex 31f7615..dc3ca6e 100644--- a/internal/routes/workspace_rbac_test.go+++ b/internal/routes/workspace_rbac_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/workspace_resource_routes.go b/internal/routes/workspace_resource_routes.goindex 5093ff1..0889012 100644--- a/internal/routes/workspace_resource_routes.go+++ b/internal/routes/workspace_resource_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/routes/workspace_routes.go b/internal/routes/workspace_routes.goindex 567bb00..b8fcb1e 100644--- a/internal/routes/workspace_routes.go+++ b/internal/routes/workspace_routes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage routesdiff --git a/internal/services/audit/audit.go b/internal/services/audit/audit.goindex 6275a13..a7e7390 100644--- a/internal/services/audit/audit.go+++ b/internal/services/audit/audit.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage auditdiff --git a/internal/services/auth/api_key.go b/internal/services/auth/api_key.goindex 82a4108..374d19e 100644--- a/internal/services/auth/api_key.go+++ b/internal/services/auth/api_key.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage authdiff --git a/internal/services/auth/api_key_test.go b/internal/services/auth/api_key_test.goindex 0e8c170..cb982f6 100644--- a/internal/services/auth/api_key_test.go+++ b/internal/services/auth/api_key_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage authdiff --git a/internal/services/auth/oauth.go b/internal/services/auth/oauth.goindex d31b1cd..2716315 100644--- a/internal/services/auth/oauth.go+++ b/internal/services/auth/oauth.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage authdiff --git a/internal/services/cache/cache.go b/internal/services/cache/cache.goindex f44dc2f..e524564 100644--- a/internal/services/cache/cache.go+++ b/internal/services/cache/cache.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage cachediff --git a/internal/services/clientinfo/clientinfo.go b/internal/services/clientinfo/clientinfo.goindex c6a96b1..f8a5bb6 100644--- a/internal/services/clientinfo/clientinfo.go+++ b/internal/services/clientinfo/clientinfo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage clientinfodiff --git a/internal/services/clientinfo/clientinfo_test.go b/internal/services/clientinfo/clientinfo_test.goindex 4902c3c..94bef26 100644--- a/internal/services/clientinfo/clientinfo_test.go+++ b/internal/services/clientinfo/clientinfo_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage clientinfodiff --git a/internal/services/crypto/crypto.go b/internal/services/crypto/crypto.goindex 34f5539..03d1f4d 100644--- a/internal/services/crypto/crypto.go+++ b/internal/services/crypto/crypto.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage cryptodiff --git a/internal/services/crypto/crypto_test.go b/internal/services/crypto/crypto_test.goindex a5526f7..08034cd 100644--- a/internal/services/crypto/crypto_test.go+++ b/internal/services/crypto/crypto_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage cryptodiff --git a/internal/services/domain/verifier.go b/internal/services/domain/verifier.goindex 7abdbc0..d08fb87 100644--- a/internal/services/domain/verifier.go+++ b/internal/services/domain/verifier.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage domaindiff --git a/internal/services/email/attachment_mime_test.go b/internal/services/email/attachment_mime_test.goindex b8622f2..f63f999 100644--- a/internal/services/email/attachment_mime_test.go+++ b/internal/services/email/attachment_mime_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/attachment_pipeline_test.go b/internal/services/email/attachment_pipeline_test.goindex 4756768..c8edb13 100644--- a/internal/services/email/attachment_pipeline_test.go+++ b/internal/services/email/attachment_pipeline_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/html2text.go b/internal/services/email/html2text.goindex f6cd7a7..a955b34 100644--- a/internal/services/email/html2text.go+++ b/internal/services/email/html2text.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/provider.go b/internal/services/email/provider.goindex 5568a6a..1e0a88c 100644--- a/internal/services/email/provider.go+++ b/internal/services/email/provider.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/provider_test.go b/internal/services/email/provider_test.goindex b7894b5..1f18e72 100644--- a/internal/services/email/provider_test.go+++ b/internal/services/email/provider_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/sender_name_test.go b/internal/services/email/sender_name_test.goindex 6431052..61cf2f1 100644--- a/internal/services/email/sender_name_test.go+++ b/internal/services/email/sender_name_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/service.go b/internal/services/email/service.goindex e079deb..f9adaeb 100644--- a/internal/services/email/service.go+++ b/internal/services/email/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/smtp_sender.go b/internal/services/email/smtp_sender.goindex a06a595..91251e3 100644--- a/internal/services/email/smtp_sender.go+++ b/internal/services/email/smtp_sender.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/smtp_sender_test.go b/internal/services/email/smtp_sender_test.goindex 54664d6..a99f86b 100644--- a/internal/services/email/smtp_sender_test.go+++ b/internal/services/email/smtp_sender_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/stamper.go b/internal/services/email/stamper.goindex c2e391f..cb4e0cb 100644--- a/internal/services/email/stamper.go+++ b/internal/services/email/stamper.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/system_vars.go b/internal/services/email/system_vars.goindex 9f6f0db..62cf5d5 100644--- a/internal/services/email/system_vars.go+++ b/internal/services/email/system_vars.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/system_vars_test.go b/internal/services/email/system_vars_test.goindex 50d2be0..2c6bec9 100644--- a/internal/services/email/system_vars_test.go+++ b/internal/services/email/system_vars_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/email/template_renderer.go b/internal/services/email/template_renderer.goindex 1db7581..172a1c8 100644--- a/internal/services/email/template_renderer.go+++ b/internal/services/email/template_renderer.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage emaildiff --git a/internal/services/emailverify/service.go b/internal/services/emailverify/service.goindex ff8c816..1a1f36b 100644--- a/internal/services/emailverify/service.go+++ b/internal/services/emailverify/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package emailverify handles user email verification: token issuance,diff --git a/internal/services/eventbus/eventbus.go b/internal/services/eventbus/eventbus.goindex b3ce61e..f78a637 100644--- a/internal/services/eventbus/eventbus.go+++ b/internal/services/eventbus/eventbus.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage eventbusdiff --git a/internal/services/inbound/parser.go b/internal/services/inbound/parser.goindex 6263cec..17c8833 100644--- a/internal/services/inbound/parser.go+++ b/internal/services/inbound/parser.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inbounddiff --git a/internal/services/inbound/parser_test.go b/internal/services/inbound/parser_test.goindex 7a1af32..ed80c3b 100644--- a/internal/services/inbound/parser_test.go+++ b/internal/services/inbound/parser_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inbounddiff --git a/internal/services/inbound/ratelimit.go b/internal/services/inbound/ratelimit.goindex 35b8e25..020e104 100644--- a/internal/services/inbound/ratelimit.go+++ b/internal/services/inbound/ratelimit.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inbounddiff --git a/internal/services/inbound/ratelimit_test.go b/internal/services/inbound/ratelimit_test.goindex bed0e7e..5c3e782 100644--- a/internal/services/inbound/ratelimit_test.go+++ b/internal/services/inbound/ratelimit_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inbounddiff --git a/internal/services/inbound/service.go b/internal/services/inbound/service.goindex a9ba054..e9746d1 100644--- a/internal/services/inbound/service.go+++ b/internal/services/inbound/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inbounddiff --git a/internal/services/inbound/smtp_server.go b/internal/services/inbound/smtp_server.goindex 44f8809..b509e6f 100644--- a/internal/services/inbound/smtp_server.go+++ b/internal/services/inbound/smtp_server.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inbounddiff --git a/internal/services/inbox/health.go b/internal/services/inbox/health.goindex 14e70a4..da99f08 100644--- a/internal/services/inbox/health.go+++ b/internal/services/inbox/health.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inboxdiff --git a/internal/services/inbox/health_test.go b/internal/services/inbox/health_test.goindex adfb3a3..5174737 100644--- a/internal/services/inbox/health_test.go+++ b/internal/services/inbox/health_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inboxdiff --git a/internal/services/inbox/service.go b/internal/services/inbox/service.goindex 883590a..a79cbc1 100644--- a/internal/services/inbox/service.go+++ b/internal/services/inbox/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage inboxdiff --git a/internal/services/messages/nonce.go b/internal/services/messages/nonce.goindex 74558e9..9475b4d 100644--- a/internal/services/messages/nonce.go+++ b/internal/services/messages/nonce.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messages/nonce_test.go b/internal/services/messages/nonce_test.goindex c321bf7..c7ced2a 100644--- a/internal/services/messages/nonce_test.go+++ b/internal/services/messages/nonce_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messages/origin_test.go b/internal/services/messages/origin_test.goindex 172da9d..b10be11 100644--- a/internal/services/messages/origin_test.go+++ b/internal/services/messages/origin_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messages/parse.go b/internal/services/messages/parse.goindex 8b76e5f..4fb8cb5 100644--- a/internal/services/messages/parse.go+++ b/internal/services/messages/parse.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messages/parse_test.go b/internal/services/messages/parse_test.goindex 95ac6f4..d1189e2 100644--- a/internal/services/messages/parse_test.go+++ b/internal/services/messages/parse_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messages/ratelimit.go b/internal/services/messages/ratelimit.goindex 0400e72..0cdcc02 100644--- a/internal/services/messages/ratelimit.go+++ b/internal/services/messages/ratelimit.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messages/service.go b/internal/services/messages/service.goindex 0cb83eb..f25b1fc 100644--- a/internal/services/messages/service.go+++ b/internal/services/messages/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagesdiff --git a/internal/services/messagescan/scanner.go b/internal/services/messagescan/scanner.goindex 0c5bdb5..1056c35 100644--- a/internal/services/messagescan/scanner.go+++ b/internal/services/messagescan/scanner.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagescandiff --git a/internal/services/messagescan/scanner_test.go b/internal/services/messagescan/scanner_test.goindex 2aa0915..e4c4b87 100644--- a/internal/services/messagescan/scanner_test.go+++ b/internal/services/messagescan/scanner_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagescandiff --git a/internal/services/messagescan/signals.go b/internal/services/messagescan/signals.goindex 860c0b1..99ef73a 100644--- a/internal/services/messagescan/signals.go+++ b/internal/services/messagescan/signals.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage messagescandiff --git a/internal/services/notification/message_templates_test.go b/internal/services/notification/message_templates_test.goindex 4f535e8..d846467 100644--- a/internal/services/notification/message_templates_test.go+++ b/internal/services/notification/message_templates_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage notificationdiff --git a/internal/services/notification/preference_test.go b/internal/services/notification/preference_test.goindex 419f11f..0a5f2c8 100644--- a/internal/services/notification/preference_test.go+++ b/internal/services/notification/preference_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage notificationdiff --git a/internal/services/notification/service.go b/internal/services/notification/service.goindex 91603b1..572223a 100644--- a/internal/services/notification/service.go+++ b/internal/services/notification/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage notificationdiff --git a/internal/services/passwordreset/service.go b/internal/services/passwordreset/service.goindex 3ff60c5..0d754bf 100644--- a/internal/services/passwordreset/service.go+++ b/internal/services/passwordreset/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package passwordreset handles the self-service "forgot password" flow: tokendiff --git a/internal/services/passwordreset/service_test.go b/internal/services/passwordreset/service_test.goindex 105bd21..442bf85 100644--- a/internal/services/passwordreset/service_test.go+++ b/internal/services/passwordreset/service_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage passwordresetdiff --git a/internal/services/plan/service.go b/internal/services/plan/service.goindex b81b824..2d4c15d 100644--- a/internal/services/plan/service.go+++ b/internal/services/plan/service.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage plandiff --git a/internal/services/ratelimit/redis_limiter.go b/internal/services/ratelimit/redis_limiter.goindex c663e5b..46e1039 100644--- a/internal/services/ratelimit/redis_limiter.go+++ b/internal/services/ratelimit/redis_limiter.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage ratelimitdiff --git a/internal/services/retry/worker.go b/internal/services/retry/worker.goindex 6db4788..8f9af19 100644--- a/internal/services/retry/worker.go+++ b/internal/services/retry/worker.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage retrydiff --git a/internal/services/seeder/seeder.go b/internal/services/seeder/seeder.goindex 9796583..b1ffebe 100644--- a/internal/services/seeder/seeder.go+++ b/internal/services/seeder/seeder.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage seederdiff --git a/internal/services/seeder/seeder_templates_test.go b/internal/services/seeder/seeder_templates_test.goindex 6285dd8..b17b149 100644--- a/internal/services/seeder/seeder_templates_test.go+++ b/internal/services/seeder/seeder_templates_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage seederdiff --git a/internal/services/seeder/settings.go b/internal/services/seeder/settings.goindex 9e5640e..520081c 100644--- a/internal/services/seeder/settings.go+++ b/internal/services/seeder/settings.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage seederdiff --git a/internal/services/seeder/templates.go b/internal/services/seeder/templates.goindex ffc9ee3..c0cbdf7 100644--- a/internal/services/seeder/templates.go+++ b/internal/services/seeder/templates.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage seederdiff --git a/internal/services/session/cookie.go b/internal/services/session/cookie.goindex 8efb564..8aaf8f4 100644--- a/internal/services/session/cookie.go+++ b/internal/services/session/cookie.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage sessiondiff --git a/internal/services/session/cookie_test.go b/internal/services/session/cookie_test.goindex e355037..925ec4f 100644--- a/internal/services/session/cookie_test.go+++ b/internal/services/session/cookie_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage sessiondiff --git a/internal/services/session/session.go b/internal/services/session/session.goindex fb50399..7f6267b 100644--- a/internal/services/session/session.go+++ b/internal/services/session/session.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage sessiondiff --git a/internal/services/settings/provider.go b/internal/services/settings/provider.goindex bf8a2c5..2a3e234 100644--- a/internal/services/settings/provider.go+++ b/internal/services/settings/provider.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage settingsdiff --git a/internal/services/smtprelay/backend.go b/internal/services/smtprelay/backend.goindex 56c2058..d13c6c9 100644--- a/internal/services/smtprelay/backend.go+++ b/internal/services/smtprelay/backend.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage smtprelaydiff --git a/internal/services/smtprelay/backend_test.go b/internal/services/smtprelay/backend_test.goindex b2daacd..12da432 100644--- a/internal/services/smtprelay/backend_test.go+++ b/internal/services/smtprelay/backend_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage smtprelaydiff --git a/internal/services/smtprelay/credential.go b/internal/services/smtprelay/credential.goindex 6388bc4..61d7c1f 100644--- a/internal/services/smtprelay/credential.go+++ b/internal/services/smtprelay/credential.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage smtprelaydiff --git a/internal/services/smtprelay/credential_test.go b/internal/services/smtprelay/credential_test.goindex 03d4cce..c561fbc 100644--- a/internal/services/smtprelay/credential_test.go+++ b/internal/services/smtprelay/credential_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage smtprelaydiff --git a/internal/services/smtprelay/smtp_server.go b/internal/services/smtprelay/smtp_server.goindex 621940a..2d741c9 100644--- a/internal/services/smtprelay/smtp_server.go+++ b/internal/services/smtprelay/smtp_server.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage smtprelaydiff --git a/internal/services/tracking/tracking.go b/internal/services/tracking/tracking.goindex 3897486..ec6da7c 100644--- a/internal/services/tracking/tracking.go+++ b/internal/services/tracking/tracking.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage trackingdiff --git a/internal/services/tracking/webview_test.go b/internal/services/tracking/webview_test.goindex 8cea42c..a111ece 100644--- a/internal/services/tracking/webview_test.go+++ b/internal/services/tracking/webview_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage trackingdiff --git a/internal/services/twofactor/totp.go b/internal/services/twofactor/totp.goindex 3552357..0896b55 100644--- a/internal/services/twofactor/totp.go+++ b/internal/services/twofactor/totp.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage twofactordiff --git a/internal/services/updatecheck/updatecheck.go b/internal/services/updatecheck/updatecheck.goindex 22e89ce..ed5a327 100644--- a/internal/services/updatecheck/updatecheck.go+++ b/internal/services/updatecheck/updatecheck.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package updatecheck asks GitHub, once a day, whether a newer Posta releasediff --git a/internal/services/updatecheck/updatecheck_test.go b/internal/services/updatecheck/updatecheck_test.goindex f8c46f6..4a0c3ac 100644--- a/internal/services/updatecheck/updatecheck_test.go+++ b/internal/services/updatecheck/updatecheck_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage updatecheckdiff --git a/internal/services/verifier/disposable.go b/internal/services/verifier/disposable.goindex 2932ce6..24bb4f9 100644--- a/internal/services/verifier/disposable.go+++ b/internal/services/verifier/disposable.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage verifierdiff --git a/internal/services/verifier/verifier.go b/internal/services/verifier/verifier.goindex 2fef327..b99dcf1 100644--- a/internal/services/verifier/verifier.go+++ b/internal/services/verifier/verifier.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package verifier checks whether an email address is valid/deliverable withoutdiff --git a/internal/services/verifier/verifier_test.go b/internal/services/verifier/verifier_test.goindex b87c4c4..f9238ce 100644--- a/internal/services/verifier/verifier_test.go+++ b/internal/services/verifier/verifier_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage verifierdiff --git a/internal/services/webhook/dispatcher.go b/internal/services/webhook/dispatcher.goindex 13c134c..7a05a5b 100644--- a/internal/services/webhook/dispatcher.go+++ b/internal/services/webhook/dispatcher.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage webhookdiff --git a/internal/services/webhook/dispatcher_test.go b/internal/services/webhook/dispatcher_test.goindex 8b6fffa..a75e889 100644--- a/internal/services/webhook/dispatcher_test.go+++ b/internal/services/webhook/dispatcher_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage webhookdiff --git a/internal/services/workermon/heartbeat.go b/internal/services/workermon/heartbeat.goindex f46e4b2..dd9c360 100644--- a/internal/services/workermon/heartbeat.go+++ b/internal/services/workermon/heartbeat.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workermondiff --git a/internal/services/workermon/monitor.go b/internal/services/workermon/monitor.goindex 0af43b5..b598c89 100644--- a/internal/services/workermon/monitor.go+++ b/internal/services/workermon/monitor.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workermondiff --git a/internal/services/workspace/smtp.go b/internal/services/workspace/smtp.goindex 0aa71d8..f8fe0ac 100644--- a/internal/services/workspace/smtp.go+++ b/internal/services/workspace/smtp.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workspacediff --git a/internal/services/workspace/smtp_test.go b/internal/services/workspace/smtp_test.goindex c4da58e..d64a18a 100644--- a/internal/services/workspace/smtp_test.go+++ b/internal/services/workspace/smtp_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workspacediff --git a/internal/services/workspace/system.go b/internal/services/workspace/system.goindex 3776167..82910c0 100644--- a/internal/services/workspace/system.go+++ b/internal/services/workspace/system.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workspacediff --git a/internal/services/workspace/system_test.go b/internal/services/workspace/system_test.goindex 248fd35..546524c 100644--- a/internal/services/workspace/system_test.go+++ b/internal/services/workspace/system_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workspacediff --git a/internal/services/workspaceprovision/provision.go b/internal/services/workspaceprovision/provision.goindex 46f1649..0c521de 100644--- a/internal/services/workspaceprovision/provision.go+++ b/internal/services/workspaceprovision/provision.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workspaceprovisiondiff --git a/internal/services/workspaceprovision/provision_test.go b/internal/services/workspaceprovision/provision_test.goindex 67c988d..8fd2a42 100644--- a/internal/services/workspaceprovision/provision_test.go+++ b/internal/services/workspaceprovision/provision_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workspaceprovisiondiff --git a/internal/storage/blob/blob.go b/internal/storage/blob/blob.goindex 952749d..a58e19c 100644--- a/internal/storage/blob/blob.go+++ b/internal/storage/blob/blob.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage blobdiff --git a/internal/storage/blob/fs.go b/internal/storage/blob/fs.goindex c5b7e43..00c5326 100644--- a/internal/storage/blob/fs.go+++ b/internal/storage/blob/fs.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage blobdiff --git a/internal/storage/blob/s3.go b/internal/storage/blob/s3.goindex 34850c7..ac5b5ac 100644--- a/internal/storage/blob/s3.go+++ b/internal/storage/blob/s3.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage blobdiff --git a/internal/storage/migration/constraints.go b/internal/storage/migration/constraints.goindex d93eb45..2ef0c3d 100644--- a/internal/storage/migration/constraints.go+++ b/internal/storage/migration/constraints.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage migrationdiff --git a/internal/storage/migration/migrate_smoke_test.go b/internal/storage/migration/migrate_smoke_test.goindex 5f22845..4d5d819 100644--- a/internal/storage/migration/migrate_smoke_test.go+++ b/internal/storage/migration/migrate_smoke_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage migrationdiff --git a/internal/storage/migration/migration.go b/internal/storage/migration/migration.goindex f07efd0..516c2bf 100644--- a/internal/storage/migration/migration.go+++ b/internal/storage/migration/migration.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage migrationdiff --git a/internal/storage/migration/upgrade/lock.go b/internal/storage/migration/upgrade/lock.goindex 70685f8..e28bcdf 100644--- a/internal/storage/migration/upgrade/lock.go+++ b/internal/storage/migration/upgrade/lock.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/settings.go b/internal/storage/migration/upgrade/settings.goindex e4ab203..858cbf5 100644--- a/internal/storage/migration/upgrade/settings.go+++ b/internal/storage/migration/upgrade/settings.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/step.go b/internal/storage/migration/upgrade/step.goindex beb915f..83c3c83 100644--- a/internal/storage/migration/upgrade/step.go+++ b/internal/storage/migration/upgrade/step.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/step_test.go b/internal/storage/migration/upgrade/step_test.goindex 2d75798..fa380a5 100644--- a/internal/storage/migration/upgrade/step_test.go+++ b/internal/storage/migration/upgrade/step_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/steps_2026_05_31_personal_workspaces.go b/internal/storage/migration/upgrade/steps_2026_05_31_personal_workspaces.goindex 8f10b80..79ba3db 100644--- a/internal/storage/migration/upgrade/steps_2026_05_31_personal_workspaces.go+++ b/internal/storage/migration/upgrade/steps_2026_05_31_personal_workspaces.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/steps_2026_06_04_dedupe_contacts.go b/internal/storage/migration/upgrade/steps_2026_06_04_dedupe_contacts.goindex 8260713..08633ff 100644--- a/internal/storage/migration/upgrade/steps_2026_06_04_dedupe_contacts.go+++ b/internal/storage/migration/upgrade/steps_2026_06_04_dedupe_contacts.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/steps_2026_06_11_api_key_scopes.go b/internal/storage/migration/upgrade/steps_2026_06_11_api_key_scopes.goindex 91f447d..d88849b 100644--- a/internal/storage/migration/upgrade/steps_2026_06_11_api_key_scopes.go+++ b/internal/storage/migration/upgrade/steps_2026_06_11_api_key_scopes.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/steps_2026_08_28_workspace_types.go b/internal/storage/migration/upgrade/steps_2026_08_28_workspace_types.goindex 68b1ded..f31309e 100644--- a/internal/storage/migration/upgrade/steps_2026_08_28_workspace_types.go+++ b/internal/storage/migration/upgrade/steps_2026_08_28_workspace_types.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/upgrade.go b/internal/storage/migration/upgrade/upgrade.goindex de4d43e..42c37f3 100644--- a/internal/storage/migration/upgrade/upgrade.go+++ b/internal/storage/migration/upgrade/upgrade.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package upgrade tracks the app version stored in the database and appliesdiff --git a/internal/storage/migration/upgrade/version.go b/internal/storage/migration/upgrade/version.goindex 274e705..974040f 100644--- a/internal/storage/migration/upgrade/version.go+++ b/internal/storage/migration/upgrade/version.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/migration/upgrade/version_test.go b/internal/storage/migration/upgrade/version_test.goindex 5e5fdd1..4e52153 100644--- a/internal/storage/migration/upgrade/version_test.go+++ b/internal/storage/migration/upgrade/version_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage upgradediff --git a/internal/storage/postgres.go b/internal/storage/postgres.goindex fe41e46..e2e08eb 100644--- a/internal/storage/postgres.go+++ b/internal/storage/postgres.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage storagediff --git a/internal/storage/redis.go b/internal/storage/redis.goindex 4602458..92e2317 100644--- a/internal/storage/redis.go+++ b/internal/storage/redis.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage storagediff --git a/internal/storage/repositories/actor_cascade_test.go b/internal/storage/repositories/actor_cascade_test.goindex 3f90576..2952cb9 100644--- a/internal/storage/repositories/actor_cascade_test.go+++ b/internal/storage/repositories/actor_cascade_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/analytics_repo.go b/internal/storage/repositories/analytics_repo.goindex fbd0aae..92ac2cd 100644--- a/internal/storage/repositories/analytics_repo.go+++ b/internal/storage/repositories/analytics_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/analytics_repo_test.go b/internal/storage/repositories/analytics_repo_test.goindex bfb0037..22f050c 100644--- a/internal/storage/repositories/analytics_repo_test.go+++ b/internal/storage/repositories/analytics_repo_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/api_key_repo.go b/internal/storage/repositories/api_key_repo.goindex 0ad6fc3..3d61515 100644--- a/internal/storage/repositories/api_key_repo.go+++ b/internal/storage/repositories/api_key_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/bounce_repo.go b/internal/storage/repositories/bounce_repo.goindex 6cad802..9826582 100644--- a/internal/storage/repositories/bounce_repo.go+++ b/internal/storage/repositories/bounce_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/campaign_message_repo.go b/internal/storage/repositories/campaign_message_repo.goindex de17612..13c90e2 100644--- a/internal/storage/repositories/campaign_message_repo.go+++ b/internal/storage/repositories/campaign_message_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/campaign_repo.go b/internal/storage/repositories/campaign_repo.goindex 51058ac..382e025 100644--- a/internal/storage/repositories/campaign_repo.go+++ b/internal/storage/repositories/campaign_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/contact_list_repo.go b/internal/storage/repositories/contact_list_repo.goindex 703736d..88cc7d9 100644--- a/internal/storage/repositories/contact_list_repo.go+++ b/internal/storage/repositories/contact_list_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/contact_repo.go b/internal/storage/repositories/contact_repo.goindex 3ead8c5..5b0d86d 100644--- a/internal/storage/repositories/contact_repo.go+++ b/internal/storage/repositories/contact_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/domain_repo.go b/internal/storage/repositories/domain_repo.goindex c89abf0..1c0fa6f 100644--- a/internal/storage/repositories/domain_repo.go+++ b/internal/storage/repositories/domain_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/email_repo.go b/internal/storage/repositories/email_repo.goindex 9d0936c..4593014 100644--- a/internal/storage/repositories/email_repo.go+++ b/internal/storage/repositories/email_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/email_scrub_test.go b/internal/storage/repositories/email_scrub_test.goindex 48cc889..7ed1754 100644--- a/internal/storage/repositories/email_scrub_test.go+++ b/internal/storage/repositories/email_scrub_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/email_search.go b/internal/storage/repositories/email_search.goindex e805433..15a764b 100644--- a/internal/storage/repositories/email_search.go+++ b/internal/storage/repositories/email_search.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/email_search_test.go b/internal/storage/repositories/email_search_test.goindex 518a6cc..fcf66e5 100644--- a/internal/storage/repositories/email_search_test.go+++ b/internal/storage/repositories/email_search_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/event_repo.go b/internal/storage/repositories/event_repo.goindex 4ee9219..4ac4da2 100644--- a/internal/storage/repositories/event_repo.go+++ b/internal/storage/repositories/event_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/form_repo.go b/internal/storage/repositories/form_repo.goindex 1c30012..2812d66 100644--- a/internal/storage/repositories/form_repo.go+++ b/internal/storage/repositories/form_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/inbound_email_repo.go b/internal/storage/repositories/inbound_email_repo.goindex 2a4db97..fba8f53 100644--- a/internal/storage/repositories/inbound_email_repo.go+++ b/internal/storage/repositories/inbound_email_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/inbound_email_scrub_test.go b/internal/storage/repositories/inbound_email_scrub_test.goindex c1bace0..1ffd2f2 100644--- a/internal/storage/repositories/inbound_email_scrub_test.go+++ b/internal/storage/repositories/inbound_email_scrub_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/language_repo.go b/internal/storage/repositories/language_repo.goindex 958429e..b8fd920 100644--- a/internal/storage/repositories/language_repo.go+++ b/internal/storage/repositories/language_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/message_filter_repo.go b/internal/storage/repositories/message_filter_repo.goindex 611b0f2..9dbec71 100644--- a/internal/storage/repositories/message_filter_repo.go+++ b/internal/storage/repositories/message_filter_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/message_repo.go b/internal/storage/repositories/message_repo.goindex 4a710a3..a64e1a0 100644--- a/internal/storage/repositories/message_repo.go+++ b/internal/storage/repositories/message_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/notification_repo.go b/internal/storage/repositories/notification_repo.goindex 112a3b1..9485e53 100644--- a/internal/storage/repositories/notification_repo.go+++ b/internal/storage/repositories/notification_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/notification_repo_test.go b/internal/storage/repositories/notification_repo_test.goindex 6b632a0..a60583d 100644--- a/internal/storage/repositories/notification_repo_test.go+++ b/internal/storage/repositories/notification_repo_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/oauth_account_repo.go b/internal/storage/repositories/oauth_account_repo.goindex 6f01518..39407a1 100644--- a/internal/storage/repositories/oauth_account_repo.go+++ b/internal/storage/repositories/oauth_account_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/oauth_provider_repo.go b/internal/storage/repositories/oauth_provider_repo.goindex 8f60c68..1087a8a 100644--- a/internal/storage/repositories/oauth_provider_repo.go+++ b/internal/storage/repositories/oauth_provider_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/password_reset_repo.go b/internal/storage/repositories/password_reset_repo.goindex 363b47f..1354fe8 100644--- a/internal/storage/repositories/password_reset_repo.go+++ b/internal/storage/repositories/password_reset_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/plan_repo.go b/internal/storage/repositories/plan_repo.goindex 51ec9ba..3483557 100644--- a/internal/storage/repositories/plan_repo.go+++ b/internal/storage/repositories/plan_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/scope.go b/internal/storage/repositories/scope.goindex 42aacd0..12e3755 100644--- a/internal/storage/repositories/scope.go+++ b/internal/storage/repositories/scope.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/scope_lock_test.go b/internal/storage/repositories/scope_lock_test.goindex c0ee480..03427ff 100644--- a/internal/storage/repositories/scope_lock_test.go+++ b/internal/storage/repositories/scope_lock_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/server_repo.go b/internal/storage/repositories/server_repo.goindex 2860826..6509920 100644--- a/internal/storage/repositories/server_repo.go+++ b/internal/storage/repositories/server_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/session_repo.go b/internal/storage/repositories/session_repo.goindex 9ee09d5..8c286b0 100644--- a/internal/storage/repositories/session_repo.go+++ b/internal/storage/repositories/session_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/setting_repo.go b/internal/storage/repositories/setting_repo.goindex 8b7f9f5..6895822 100644--- a/internal/storage/repositories/setting_repo.go+++ b/internal/storage/repositories/setting_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/smtp_credential_repo.go b/internal/storage/repositories/smtp_credential_repo.goindex f731320..d7691ce 100644--- a/internal/storage/repositories/smtp_credential_repo.go+++ b/internal/storage/repositories/smtp_credential_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/smtp_repo.go b/internal/storage/repositories/smtp_repo.goindex 1cf6ea6..733c6e9 100644--- a/internal/storage/repositories/smtp_repo.go+++ b/internal/storage/repositories/smtp_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/stylesheet_repo.go b/internal/storage/repositories/stylesheet_repo.goindex 18ac89e..a805170 100644--- a/internal/storage/repositories/stylesheet_repo.go+++ b/internal/storage/repositories/stylesheet_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/stylesheet_repo_test.go b/internal/storage/repositories/stylesheet_repo_test.goindex b327c00..e5fa347 100644--- a/internal/storage/repositories/stylesheet_repo_test.go+++ b/internal/storage/repositories/stylesheet_repo_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/subscriber_list_repo.go b/internal/storage/repositories/subscriber_list_repo.goindex 4edefd4..a0d4b0b 100644--- a/internal/storage/repositories/subscriber_list_repo.go+++ b/internal/storage/repositories/subscriber_list_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/subscriber_repo.go b/internal/storage/repositories/subscriber_repo.goindex 5656c41..8636322 100644--- a/internal/storage/repositories/subscriber_repo.go+++ b/internal/storage/repositories/subscriber_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/suppression_repo.go b/internal/storage/repositories/suppression_repo.goindex ae87952..10c65b9 100644--- a/internal/storage/repositories/suppression_repo.go+++ b/internal/storage/repositories/suppression_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/template_attribution_test.go b/internal/storage/repositories/template_attribution_test.goindex 1a7fcbb..9d33b8e 100644--- a/internal/storage/repositories/template_attribution_test.go+++ b/internal/storage/repositories/template_attribution_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/template_localization_repo.go b/internal/storage/repositories/template_localization_repo.goindex 27b6a85..9c6066a 100644--- a/internal/storage/repositories/template_localization_repo.go+++ b/internal/storage/repositories/template_localization_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/template_repo.go b/internal/storage/repositories/template_repo.goindex 3afc3fe..4060d14 100644--- a/internal/storage/repositories/template_repo.go+++ b/internal/storage/repositories/template_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/template_repo_test.go b/internal/storage/repositories/template_repo_test.goindex 3f87c1e..b34e452 100644--- a/internal/storage/repositories/template_repo_test.go+++ b/internal/storage/repositories/template_repo_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/template_version_repo.go b/internal/storage/repositories/template_version_repo.goindex 39cab68..33b4969 100644--- a/internal/storage/repositories/template_version_repo.go+++ b/internal/storage/repositories/template_version_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/tracking_repo.go b/internal/storage/repositories/tracking_repo.goindex dbce437..d16e932 100644--- a/internal/storage/repositories/tracking_repo.go+++ b/internal/storage/repositories/tracking_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/unsubscribe_list_repo.go b/internal/storage/repositories/unsubscribe_list_repo.goindex c932aa8..87f14fc 100644--- a/internal/storage/repositories/unsubscribe_list_repo.go+++ b/internal/storage/repositories/unsubscribe_list_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/user_email_verification_repo.go b/internal/storage/repositories/user_email_verification_repo.goindex c86905e..4c49949 100644--- a/internal/storage/repositories/user_email_verification_repo.go+++ b/internal/storage/repositories/user_email_verification_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/user_repo.go b/internal/storage/repositories/user_repo.goindex 8d9b7b0..fe81196 100644--- a/internal/storage/repositories/user_repo.go+++ b/internal/storage/repositories/user_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/user_setting_repo.go b/internal/storage/repositories/user_setting_repo.goindex 3149cd8..c18d9c0 100644--- a/internal/storage/repositories/user_setting_repo.go+++ b/internal/storage/repositories/user_setting_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/webhook_delivery_repo.go b/internal/storage/repositories/webhook_delivery_repo.goindex 85c0323..c64a21a 100644--- a/internal/storage/repositories/webhook_delivery_repo.go+++ b/internal/storage/repositories/webhook_delivery_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/webhook_repo.go b/internal/storage/repositories/webhook_repo.goindex a13036f..9ef7ad6 100644--- a/internal/storage/repositories/webhook_repo.go+++ b/internal/storage/repositories/webhook_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/workspace_repo.go b/internal/storage/repositories/workspace_repo.goindex fab8b7c..cdb9d08 100644--- a/internal/storage/repositories/workspace_repo.go+++ b/internal/storage/repositories/workspace_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/workspace_setting_repo.go b/internal/storage/repositories/workspace_setting_repo.goindex 1688fd3..39e3bb9 100644--- a/internal/storage/repositories/workspace_setting_repo.go+++ b/internal/storage/repositories/workspace_setting_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/storage/repositories/workspace_sso_repo.go b/internal/storage/repositories/workspace_sso_repo.goindex e38b53d..b558b8d 100644--- a/internal/storage/repositories/workspace_sso_repo.go+++ b/internal/storage/repositories/workspace_sso_repo.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage repositoriesdiff --git a/internal/web/embed.go b/internal/web/embed.goindex 95cbb4b..4d9a201 100644--- a/internal/web/embed.go+++ b/internal/web/embed.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-later// Package web embeds the built dashboard (the Vue SPA) into the Go binary so adiff --git a/internal/worker/campaign_processor.go b/internal/worker/campaign_processor.goindex ac4937c..397bbda 100644--- a/internal/worker/campaign_processor.go+++ b/internal/worker/campaign_processor.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/daily_report_handler.go b/internal/worker/daily_report_handler.goindex aae515e..8f3ce50 100644--- a/internal/worker/daily_report_handler.go+++ b/internal/worker/daily_report_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/handler.go b/internal/worker/handler.goindex 796564c..e287e16 100644--- a/internal/worker/handler.go+++ b/internal/worker/handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/handler_test.go b/internal/worker/handler_test.goindex 2b0d848..c08be4d 100644--- a/internal/worker/handler_test.go+++ b/internal/worker/handler_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/health.go b/internal/worker/health.goindex b0bbe48..42bb02d 100644--- a/internal/worker/health.go+++ b/internal/worker/health.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/health_test.go b/internal/worker/health_test.goindex a10aa94..7fbfdf1 100644--- a/internal/worker/health_test.go+++ b/internal/worker/health_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/inbound_handler.go b/internal/worker/inbound_handler.goindex 7c1b382..1d3aeb1 100644--- a/internal/worker/inbound_handler.go+++ b/internal/worker/inbound_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/message_handler.go b/internal/worker/message_handler.goindex 3827856..f5b7757 100644--- a/internal/worker/message_handler.go+++ b/internal/worker/message_handler.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/message_handler_test.go b/internal/worker/message_handler_test.goindex 64af13d..5f028e7 100644--- a/internal/worker/message_handler_test.go+++ b/internal/worker/message_handler_test.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/producer.go b/internal/worker/producer.goindex d8ea31b..27be0d1 100644--- a/internal/worker/producer.go+++ b/internal/worker/producer.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage workerdiff --git a/internal/worker/tasks.go b/internal/worker/tasks.goindex adcf579..3545a62 100644--- a/internal/worker/tasks.go+++ b/internal/worker/tasks.go@@ -1,4 +1,20 @@-// SPDX-FileCopyrightText: 2026 Jonas Kaninda+// Copyright (c) 2026 Jonas Kaninda.+//+// This file is part of Posta.+//+// 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 by+// the Free Software Foundation, either version 3 of the License, or+// (at your option) any later version.+//+// This program is distributed in the hope that it will be useful,+// but WITHOUT ANY WARRANTY; without even the implied warranty of+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+// GNU Affero General Public License for more details.+//+// You should have received a copy of the GNU Affero General Public License+// along with this program. If not, see <https://www.gnu.org/licenses/>.+//// SPDX-License-Identifier: AGPL-3.0-or-laterpackage worker