From 456af4d4a9e812e615e99f465edf141bf8540d3e Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 29 Dec 2020 02:04:20 +0100 Subject: [PATCH] Fix go header lint --- .golangci.yml | 10 ++++++++-- code-header-template.txt | 2 +- pkg/cmd/user.go | 11 +++++------ pkg/db/test.go | 11 +++++------ pkg/db/test_fixtures.go | 11 +++++------ pkg/files/error.go | 11 +++++------ pkg/files/files_test.go | 11 +++++------ pkg/files/main_test.go | 11 +++++------ pkg/integrations/archived_test.go | 11 +++++------ pkg/integrations/task_collection_test.go | 11 +++++------ pkg/migration/20190818210133.go | 11 +++++------ pkg/migration/20190920185205.go | 11 +++++------ pkg/migration/20190922205826.go | 11 +++++------ pkg/migration/20191010131430.go | 11 +++++------ pkg/migration/20191207204427.go | 11 +++++------ pkg/migration/20191207220736.go | 11 +++++------ pkg/migration/20200219183248.go | 2 +- pkg/migration/20200308205855.go | 2 +- pkg/migration/20200308210130.go | 2 +- pkg/migration/20200322214440.go | 11 +++++------ pkg/migration/20200322214624.go | 11 +++++------ pkg/models/bulk_task_test.go | 16 ++++++++++++++++ pkg/models/label_task_test.go | 16 ++++++++++++++++ pkg/models/link_sharing.go | 11 +++++------ pkg/models/task_attachment_test.go | 11 +++++------ pkg/models/task_collection.go | 11 +++++------ pkg/models/task_collection_filter.go | 11 +++++------ pkg/models/task_comment_rights.go | 11 +++++------ pkg/models/task_comments.go | 11 +++++------ pkg/models/task_comments_test.go | 2 +- pkg/models/task_relation.go | 11 +++++------ pkg/models/task_relation_rights.go | 11 +++++------ pkg/models/task_relation_test.go | 11 +++++------ pkg/models/user_list.go | 11 +++++------ pkg/models/users_list_test.go | 11 +++++------ pkg/modules/avatar/avatar.go | 2 +- pkg/modules/avatar/gravatar/gravatar.go | 2 +- pkg/modules/keyvalue/keyvalue.go | 11 +++++------ pkg/modules/keyvalue/memory/memory.go | 11 +++++------ pkg/modules/keyvalue/redis/redis.go | 11 +++++------ .../migration/create_from_structure_test.go | 2 +- pkg/modules/migration/main_test.go | 2 +- pkg/modules/migration/migrator.go | 11 +++++------ pkg/routes/api/v1/avatar.go | 2 +- pkg/routes/metrics.go | 11 +++++------ pkg/routes/rate_limit.go | 11 +++++------ pkg/user/db.go | 11 +++++------ pkg/user/error.go | 11 +++++------ pkg/user/main_test.go | 11 +++++------ pkg/user/test.go | 11 +++++------ pkg/user/user.go | 11 +++++------ pkg/user/user_email_confirm.go | 11 +++++------ pkg/user/user_email_confirm_test.go | 11 +++++------ pkg/user/user_password_reset.go | 11 +++++------ pkg/user/user_test.go | 11 +++++------ pkg/user/users_list.go | 11 +++++------ 56 files changed, 265 insertions(+), 270 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 107e22019b..512b895ef5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -22,11 +22,11 @@ linters: - unused fast: false -linter-settings: +linters-settings: nestif: min-complexity: 6 goheader: - template-path: code-hesader-template.txt + template-path: code-header-template.txt issues: exclude-rules: @@ -74,3 +74,9 @@ issues: - path: pkg/modules/migration linters: - gocyclo + - path: pkg/routes/api/v1/docs.go + linters: + - goheader + - text: "Missed string" + linters: + - goheader diff --git a/code-header-template.txt b/code-header-template.txt index 5533ad37b2..22be1b4c0a 100644 --- a/code-header-template.txt +++ b/code-header-template.txt @@ -12,4 +12,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public Licensee for more details. You should have received a copy of the GNU Affero General Public Licensee -along with this program. If not, see . +along with this program. If not, see . \ No newline at end of file diff --git a/pkg/cmd/user.go b/pkg/cmd/user.go index 545538fa39..88140357a1 100644 --- a/pkg/cmd/user.go +++ b/pkg/cmd/user.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package cmd diff --git a/pkg/db/test.go b/pkg/db/test.go index 17136ebfd1..ea6ccc6225 100644 --- a/pkg/db/test.go +++ b/pkg/db/test.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package db diff --git a/pkg/db/test_fixtures.go b/pkg/db/test_fixtures.go index 2451bd263b..c588c3b7b3 100644 --- a/pkg/db/test_fixtures.go +++ b/pkg/db/test_fixtures.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package db diff --git a/pkg/files/error.go b/pkg/files/error.go index 1dbe309730..c80fd14318 100644 --- a/pkg/files/error.go +++ b/pkg/files/error.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package files diff --git a/pkg/files/files_test.go b/pkg/files/files_test.go index b8ad204653..2e578915c4 100644 --- a/pkg/files/files_test.go +++ b/pkg/files/files_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package files diff --git a/pkg/files/main_test.go b/pkg/files/main_test.go index 18eccb5b56..6dd87e7c9a 100644 --- a/pkg/files/main_test.go +++ b/pkg/files/main_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package files diff --git a/pkg/integrations/archived_test.go b/pkg/integrations/archived_test.go index 5731ec9dbc..5034516347 100644 --- a/pkg/integrations/archived_test.go +++ b/pkg/integrations/archived_test.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package integrations diff --git a/pkg/integrations/task_collection_test.go b/pkg/integrations/task_collection_test.go index cee83772ae..71d0d33ff4 100644 --- a/pkg/integrations/task_collection_test.go +++ b/pkg/integrations/task_collection_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package integrations diff --git a/pkg/migration/20190818210133.go b/pkg/migration/20190818210133.go index 774d0cac3b..85e9706962 100644 --- a/pkg/migration/20190818210133.go +++ b/pkg/migration/20190818210133.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20190920185205.go b/pkg/migration/20190920185205.go index 0c983a57e0..6193a22da2 100644 --- a/pkg/migration/20190920185205.go +++ b/pkg/migration/20190920185205.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20190922205826.go b/pkg/migration/20190922205826.go index a1466b886d..2961c00943 100644 --- a/pkg/migration/20190922205826.go +++ b/pkg/migration/20190922205826.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20191010131430.go b/pkg/migration/20191010131430.go index f9ebe846ad..36b58a6ffb 100644 --- a/pkg/migration/20191010131430.go +++ b/pkg/migration/20191010131430.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20191207204427.go b/pkg/migration/20191207204427.go index 2768a69f87..c6dda031fc 100644 --- a/pkg/migration/20191207204427.go +++ b/pkg/migration/20191207204427.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20191207220736.go b/pkg/migration/20191207220736.go index ad8b1cee21..2a9bacc003 100644 --- a/pkg/migration/20191207220736.go +++ b/pkg/migration/20191207220736.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20200219183248.go b/pkg/migration/20200219183248.go index 1684675b5e..67972bf868 100644 --- a/pkg/migration/20200219183248.go +++ b/pkg/migration/20200219183248.go @@ -1,4 +1,4 @@ -// Vikunja is a todo-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/migration/20200308205855.go b/pkg/migration/20200308205855.go index 4ba5f05f68..87d8a07299 100644 --- a/pkg/migration/20200308205855.go +++ b/pkg/migration/20200308205855.go @@ -1,4 +1,4 @@ -// Vikunja is a todo-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/migration/20200308210130.go b/pkg/migration/20200308210130.go index dd476a8048..db8ec9febc 100644 --- a/pkg/migration/20200308210130.go +++ b/pkg/migration/20200308210130.go @@ -1,4 +1,4 @@ -// Vikunja is a todo-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/migration/20200322214440.go b/pkg/migration/20200322214440.go index e24de6d899..5366e4ad32 100644 --- a/pkg/migration/20200322214440.go +++ b/pkg/migration/20200322214440.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/migration/20200322214624.go b/pkg/migration/20200322214624.go index d67da4ee74..bd18d978ee 100644 --- a/pkg/migration/20200322214624.go +++ b/pkg/migration/20200322214624.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/models/bulk_task_test.go b/pkg/models/bulk_task_test.go index 7ead77c53d..4f64a354b9 100644 --- a/pkg/models/bulk_task_test.go +++ b/pkg/models/bulk_task_test.go @@ -1,3 +1,19 @@ +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public Licensee as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public Licensee for more details. +// +// You should have received a copy of the GNU Affero General Public Licensee +// along with this program. If not, see . + package models import ( diff --git a/pkg/models/label_task_test.go b/pkg/models/label_task_test.go index 1a3adf7e11..68fdb6570a 100644 --- a/pkg/models/label_task_test.go +++ b/pkg/models/label_task_test.go @@ -1,3 +1,19 @@ +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public Licensee as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public Licensee for more details. +// +// You should have received a copy of the GNU Affero General Public Licensee +// along with this program. If not, see . + package models import ( diff --git a/pkg/models/link_sharing.go b/pkg/models/link_sharing.go index fe51a51f3a..d9b96ff5d9 100644 --- a/pkg/models/link_sharing.go +++ b/pkg/models/link_sharing.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_attachment_test.go b/pkg/models/task_attachment_test.go index c7e2d29305..691ab7a9d1 100644 --- a/pkg/models/task_attachment_test.go +++ b/pkg/models/task_attachment_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_collection.go b/pkg/models/task_collection.go index 7b27619933..86a0a709de 100644 --- a/pkg/models/task_collection.go +++ b/pkg/models/task_collection.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_collection_filter.go b/pkg/models/task_collection_filter.go index 4ec9eccbdb..547d44fa4d 100644 --- a/pkg/models/task_collection_filter.go +++ b/pkg/models/task_collection_filter.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_comment_rights.go b/pkg/models/task_comment_rights.go index bd0b5c9cf4..5463f03207 100644 --- a/pkg/models/task_comment_rights.go +++ b/pkg/models/task_comment_rights.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_comments.go b/pkg/models/task_comments.go index 64fc14afce..d9ab529ef5 100644 --- a/pkg/models/task_comments.go +++ b/pkg/models/task_comments.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_comments_test.go b/pkg/models/task_comments_test.go index c5a8e4c309..53886e3c26 100644 --- a/pkg/models/task_comments_test.go +++ b/pkg/models/task_comments_test.go @@ -1,4 +1,4 @@ -// Vikunja is a todo-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/models/task_relation.go b/pkg/models/task_relation.go index a1339679b6..0d6d1329ab 100644 --- a/pkg/models/task_relation.go +++ b/pkg/models/task_relation.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_relation_rights.go b/pkg/models/task_relation_rights.go index adc5904d48..4c641cbb00 100644 --- a/pkg/models/task_relation_rights.go +++ b/pkg/models/task_relation_rights.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/task_relation_test.go b/pkg/models/task_relation_test.go index 0828179128..0749f20cdb 100644 --- a/pkg/models/task_relation_test.go +++ b/pkg/models/task_relation_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/user_list.go b/pkg/models/user_list.go index 9e810c90ac..bed8e539f1 100644 --- a/pkg/models/user_list.go +++ b/pkg/models/user_list.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/models/users_list_test.go b/pkg/models/users_list_test.go index 57f51b0979..1116a97242 100644 --- a/pkg/models/users_list_test.go +++ b/pkg/models/users_list_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package models diff --git a/pkg/modules/avatar/avatar.go b/pkg/modules/avatar/avatar.go index ded0564812..712fa5b2b2 100644 --- a/pkg/modules/avatar/avatar.go +++ b/pkg/modules/avatar/avatar.go @@ -1,4 +1,4 @@ -// Vikunja is a to-do-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/modules/avatar/gravatar/gravatar.go b/pkg/modules/avatar/gravatar/gravatar.go index c684829c2e..e2af1ba870 100644 --- a/pkg/modules/avatar/gravatar/gravatar.go +++ b/pkg/modules/avatar/gravatar/gravatar.go @@ -1,4 +1,4 @@ -// Vikunja is a to-do-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/modules/keyvalue/keyvalue.go b/pkg/modules/keyvalue/keyvalue.go index 58a53c1d30..e84ae32357 100644 --- a/pkg/modules/keyvalue/keyvalue.go +++ b/pkg/modules/keyvalue/keyvalue.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package keyvalue diff --git a/pkg/modules/keyvalue/memory/memory.go b/pkg/modules/keyvalue/memory/memory.go index b6326f49a9..f9bea40f1f 100644 --- a/pkg/modules/keyvalue/memory/memory.go +++ b/pkg/modules/keyvalue/memory/memory.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package memory diff --git a/pkg/modules/keyvalue/redis/redis.go b/pkg/modules/keyvalue/redis/redis.go index 163f89cdd6..190309b121 100644 --- a/pkg/modules/keyvalue/redis/redis.go +++ b/pkg/modules/keyvalue/redis/redis.go @@ -1,19 +1,18 @@ -// Copyright 2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package redis diff --git a/pkg/modules/migration/create_from_structure_test.go b/pkg/modules/migration/create_from_structure_test.go index 93b3be82ee..2ce29ce1a8 100644 --- a/pkg/modules/migration/create_from_structure_test.go +++ b/pkg/modules/migration/create_from_structure_test.go @@ -1,4 +1,4 @@ -// Vikunja is a todo-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/modules/migration/main_test.go b/pkg/modules/migration/main_test.go index 6a04951ef0..4dee87927c 100644 --- a/pkg/modules/migration/main_test.go +++ b/pkg/modules/migration/main_test.go @@ -1,4 +1,4 @@ -// Vikunja is a todo-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/modules/migration/migrator.go b/pkg/modules/migration/migrator.go index 48598e106f..6bc3bcff76 100644 --- a/pkg/modules/migration/migrator.go +++ b/pkg/modules/migration/migrator.go @@ -1,19 +1,18 @@ -// Copyright 2019 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package migration diff --git a/pkg/routes/api/v1/avatar.go b/pkg/routes/api/v1/avatar.go index b3e63dbf6d..52dc50f66d 100644 --- a/pkg/routes/api/v1/avatar.go +++ b/pkg/routes/api/v1/avatar.go @@ -1,4 +1,4 @@ -// Vikunja is a to-do-list application to facilitate your life. +// Vikunja is a to-do list application to facilitate your life. // Copyright 2018-2020 Vikunja and contributors. All rights reserved. // // This program is free software: you can redistribute it and/or modify diff --git a/pkg/routes/metrics.go b/pkg/routes/metrics.go index ea3c8f454d..2c1045f006 100644 --- a/pkg/routes/metrics.go +++ b/pkg/routes/metrics.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package routes diff --git a/pkg/routes/rate_limit.go b/pkg/routes/rate_limit.go index 46ea933af2..7b29e8e0f3 100644 --- a/pkg/routes/rate_limit.go +++ b/pkg/routes/rate_limit.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package routes diff --git a/pkg/user/db.go b/pkg/user/db.go index c72b016de1..c679ba8852 100644 --- a/pkg/user/db.go +++ b/pkg/user/db.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/error.go b/pkg/user/error.go index 507882e42d..8b402f66be 100644 --- a/pkg/user/error.go +++ b/pkg/user/error.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/main_test.go b/pkg/user/main_test.go index d2b4a798b5..f86474f8f5 100644 --- a/pkg/user/main_test.go +++ b/pkg/user/main_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/test.go b/pkg/user/test.go index dfd9aabd17..fd726b01e8 100644 --- a/pkg/user/test.go +++ b/pkg/user/test.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/user.go b/pkg/user/user.go index 7f5a04ac2b..3646eca471 100644 --- a/pkg/user/user.go +++ b/pkg/user/user.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/user_email_confirm.go b/pkg/user/user_email_confirm.go index 0dd2e1c82b..688de2742f 100644 --- a/pkg/user/user_email_confirm.go +++ b/pkg/user/user_email_confirm.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/user_email_confirm_test.go b/pkg/user/user_email_confirm_test.go index 61ea3caa98..8e2d82de95 100644 --- a/pkg/user/user_email_confirm_test.go +++ b/pkg/user/user_email_confirm_test.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/user_password_reset.go b/pkg/user/user_password_reset.go index 8efede3b63..88f44a8187 100644 --- a/pkg/user/user_password_reset.go +++ b/pkg/user/user_password_reset.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/user_test.go b/pkg/user/user_test.go index 018c810363..ab3d59523e 100644 --- a/pkg/user/user_test.go +++ b/pkg/user/user_test.go @@ -1,19 +1,18 @@ -// Copyright 2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user diff --git a/pkg/user/users_list.go b/pkg/user/users_list.go index 17e87b4501..af3dfd80bc 100644 --- a/pkg/user/users_list.go +++ b/pkg/user/users_list.go @@ -1,19 +1,18 @@ -// Copyright2018-2020 Vikunja and contriubtors. All rights reserved. +// Vikunja is a to-do list application to facilitate your life. +// Copyright 2018-2020 Vikunja and contributors. All rights reserved. // -// This file is part of Vikunja. -// -// Vikunja is free software: you can redistribute it and/or modify +// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licensee as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // -// Vikunja is distributed in the hope that it will be useful, +// This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public Licensee for more details. // // You should have received a copy of the GNU Affero General Public Licensee -// along with Vikunja. If not, see . +// along with this program. If not, see . package user