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 107e22019..512b895ef 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 5533ad37b..22be1b4c0 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 545538fa3..88140357a 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 17136ebfd..ea6ccc622 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 2451bd263..c588c3b7b 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 1dbe30973..c80fd1431 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 b8ad20465..2e578915c 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 18eccb5b5..6dd87e7c9 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 5731ec9db..503451634 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 cee83772a..71d0d33ff 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 774d0cac3..85e970696 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 0c983a57e..6193a22da 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 a1466b886..2961c0094 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 f9ebe846a..36b58a6ff 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 2768a69f8..c6dda031f 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 ad8b1cee2..2a9bacc00 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 1684675b5..67972bf86 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 4ba5f05f6..87d8a0729 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 dd476a804..db8ec9feb 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 e24de6d89..5366e4ad3 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 d67da4ee7..bd18d978e 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 7ead77c53..4f64a354b 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 1a3adf7e1..68fdb6570 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 fe51a51f3..d9b96ff5d 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 c7e2d2930..691ab7a9d 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 7b2761993..86a0a709d 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 4ec9eccbd..547d44fa4 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 bd0b5c9cf..5463f0320 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 64fc14afc..d9ab529ef 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 c5a8e4c30..53886e3c2 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 a1339679b..0d6d1329a 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 adc5904d4..4c641cbb0 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 082817912..0749f20cd 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 9e810c90a..bed8e539f 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 57f51b097..1116a9724 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 ded056481..712fa5b2b 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 c684829c2..e2af1ba87 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 58a53c1d3..e84ae3235 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 b6326f49a..f9bea40f1 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 163f89cdd..190309b12 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 93b3be82e..2ce29ce1a 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 6a04951ef..4dee87927 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 48598e106..6bc3bcff7 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 b3e63dbf6..52dc50f66 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 ea3c8f454..2c1045f00 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 46ea933af..7b29e8e0f 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 c72b016de..c679ba885 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 507882e42..8b402f66b 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 d2b4a798b..f86474f8f 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 dfd9aabd1..fd726b01e 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 7f5a04ac2..3646eca47 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 0dd2e1c82..688de2742 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 61ea3caa9..8e2d82de9 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 8efede3b6..88f44a818 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 018c81036..ab3d59523 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 17e87b450..af3dfd80b 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