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 107e2201..512b895e 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 5533ad37..22be1b4c 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 545538fa..88140357 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 17136ebf..ea6ccc62 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 2451bd26..c588c3b7 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 1dbe3097..c80fd143 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 b8ad2046..2e578915 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 18eccb5b..6dd87e7c 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 5731ec9d..50345163 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 cee83772..71d0d33f 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 774d0cac..85e97069 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 0c983a57..6193a22d 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 a1466b88..2961c009 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 f9ebe846..36b58a6f 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 2768a69f..c6dda031 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 ad8b1cee..2a9bacc0 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 1684675b..67972bf8 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 4ba5f05f..87d8a072 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 dd476a80..db8ec9fe 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 e24de6d8..5366e4ad 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 d67da4ee..bd18d978 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 7ead77c5..4f64a354 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 1a3adf7e..68fdb657 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 fe51a51f..d9b96ff5 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 c7e2d293..691ab7a9 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 7b276199..86a0a709 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 4ec9eccb..547d44fa 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 bd0b5c9c..5463f032 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 64fc14af..d9ab529e 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 c5a8e4c3..53886e3c 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 a1339679..0d6d1329 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 adc5904d..4c641cbb 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 08281791..0749f20c 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 9e810c90..bed8e539 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 57f51b09..1116a972 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 ded05648..712fa5b2 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 c684829c..e2af1ba8 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 58a53c1d..e84ae323 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 b6326f49..f9bea40f 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 163f89cd..190309b1 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 93b3be82..2ce29ce1 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 6a04951e..4dee8792 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 48598e10..6bc3bcff 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 b3e63dbf..52dc50f6 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 ea3c8f45..2c1045f0 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 46ea933a..7b29e8e0 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 c72b016d..c679ba88 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 507882e4..8b402f66 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 d2b4a798..f86474f8 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 dfd9aabd..fd726b01 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 7f5a04ac..3646eca4 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 0dd2e1c8..688de274 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 61ea3caa..8e2d82de 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 8efede3b..88f44a81 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 018c8103..ab3d5952 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 17e87b45..af3dfd80 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