From 8e5c0514371c6c125afbefa2bf04acc2ecc67ade Mon Sep 17 00:00:00 2001 From: Sung Won Cho Date: Tue, 10 May 2022 20:19:04 +1000 Subject: [PATCH] Add 2022 (#600) --- pkg/assert/assert.go | 2 +- pkg/cli/client/client.go | 2 +- pkg/cli/client/client_test.go | 2 +- pkg/cli/cmd/add/add.go | 2 +- pkg/cli/cmd/cat/cat.go | 2 +- pkg/cli/cmd/edit/book.go | 2 +- pkg/cli/cmd/edit/edit.go | 2 +- pkg/cli/cmd/edit/note.go | 2 +- pkg/cli/cmd/find/find.go | 2 +- pkg/cli/cmd/find/lexer.go | 2 +- pkg/cli/cmd/find/lexer_test.go | 2 +- pkg/cli/cmd/login/login.go | 2 +- pkg/cli/cmd/login/login_test.go | 2 +- pkg/cli/cmd/logout/logout.go | 2 +- pkg/cli/cmd/ls/ls.go | 2 +- pkg/cli/cmd/remove/remove.go | 2 +- pkg/cli/cmd/root/root.go | 2 +- pkg/cli/cmd/sync/main_test.go | 2 +- pkg/cli/cmd/sync/merge.go | 2 +- pkg/cli/cmd/sync/merge_test.go | 2 +- pkg/cli/cmd/sync/sync.go | 2 +- pkg/cli/cmd/sync/sync_test.go | 2 +- pkg/cli/cmd/version/version.go | 2 +- pkg/cli/cmd/view/view.go | 2 +- pkg/cli/config/config.go | 2 +- pkg/cli/consts/consts.go | 2 +- pkg/cli/context/ctx.go | 2 +- pkg/cli/context/testutils.go | 2 +- pkg/cli/crypt/crypto.go | 2 +- pkg/cli/crypt/crypto_test.go | 2 +- pkg/cli/database/models.go | 2 +- pkg/cli/database/models_test.go | 2 +- pkg/cli/database/queries.go | 2 +- pkg/cli/database/queries_test.go | 2 +- pkg/cli/database/sql.go | 2 +- pkg/cli/database/testutils.go | 2 +- pkg/cli/dirs/dirs.go | 2 +- pkg/cli/dirs/dirs_test.go | 2 +- pkg/cli/dirs/dirs_unix.go | 7 ++++--- pkg/cli/dirs/dirs_unix_test.go | 7 ++++--- pkg/cli/dirs/dirs_windows.go | 7 ++++--- pkg/cli/dirs/dirs_windows_test.go | 7 ++++--- pkg/cli/infra/init.go | 2 +- pkg/cli/infra/init_test.go | 2 +- pkg/cli/log/log.go | 2 +- pkg/cli/main.go | 2 +- pkg/cli/main_test.go | 2 +- pkg/cli/migrate/legacy.go | 2 +- pkg/cli/migrate/legacy_test.go | 2 +- pkg/cli/migrate/migrate.go | 2 +- pkg/cli/migrate/migrate_test.go | 2 +- pkg/cli/migrate/migrations.go | 2 +- pkg/cli/output/output.go | 2 +- pkg/cli/testutils/main.go | 2 +- pkg/cli/testutils/setup.go | 2 +- pkg/cli/ui/editor.go | 2 +- pkg/cli/ui/editor_test.go | 2 +- pkg/cli/ui/terminal.go | 2 +- pkg/cli/upgrade/upgrade.go | 2 +- pkg/cli/upgrade/upgrade_test.go | 2 +- pkg/cli/utils/diff/diff.go | 2 +- pkg/cli/utils/diff/diff_test.go | 2 +- pkg/cli/utils/files.go | 2 +- pkg/cli/utils/utils.go | 2 +- pkg/cli/validate/book_test.go | 2 +- pkg/cli/validate/books.go | 2 +- pkg/clock/clock.go | 2 +- pkg/server/app/app.go | 2 +- pkg/server/app/books.go | 2 +- pkg/server/app/books_test.go | 2 +- pkg/server/app/doc.go | 2 +- pkg/server/app/email.go | 2 +- pkg/server/app/email_test.go | 2 +- pkg/server/app/errors.go | 18 ++++++++++++++++++ pkg/server/app/helpers.go | 2 +- pkg/server/app/helpers_test.go | 2 +- pkg/server/app/main_test.go | 2 +- pkg/server/app/notes.go | 2 +- pkg/server/app/notes_test.go | 2 +- pkg/server/app/sessions.go | 2 +- pkg/server/app/testutils.go | 2 +- pkg/server/app/users.go | 2 +- pkg/server/app/users_test.go | 2 +- pkg/server/assets/embed.go | 18 ++++++++++++++++++ pkg/server/assets/js/src/main.js | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_books.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_bootstrap.scss | 2 +- pkg/server/assets/styles/src/_buttons.scss | 2 +- pkg/server/assets/styles/src/_font.scss | 2 +- pkg/server/assets/styles/src/_global.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_grid.scss | 2 +- pkg/server/assets/styles/src/_header.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_hljs.scss | 2 +- pkg/server/assets/styles/src/_home.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_login.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_markdown.scss | 2 +- pkg/server/assets/styles/src/_marker.scss | 2 +- pkg/server/assets/styles/src/_note.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_reboot.scss | 2 +- pkg/server/assets/styles/src/_rem.scss | 2 +- pkg/server/assets/styles/src/_responsive.scss | 2 +- pkg/server/assets/styles/src/_select.scss | 2 +- pkg/server/assets/styles/src/_settings.scss | 18 ++++++++++++++++++ pkg/server/assets/styles/src/_shared.scss | 2 +- pkg/server/assets/styles/src/_theme.scss | 2 +- pkg/server/assets/styles/src/_variables.scss | 2 +- pkg/server/assets/styles/src/main.scss | 2 +- pkg/server/buildinfo/info.go | 18 ++++++++++++++++++ pkg/server/config/config.go | 2 +- pkg/server/config/config_test.go | 2 +- pkg/server/consts/consts.go | 18 ++++++++++++++++++ pkg/server/context/user.go | 18 ++++++++++++++++++ pkg/server/controllers/books.go | 18 ++++++++++++++++++ pkg/server/controllers/books_test.go | 2 +- pkg/server/controllers/controllers.go | 18 ++++++++++++++++++ pkg/server/controllers/health.go | 18 ++++++++++++++++++ pkg/server/controllers/health_test.go | 2 +- pkg/server/controllers/helpers.go | 18 ++++++++++++++++++ pkg/server/controllers/main_test.go | 2 +- pkg/server/controllers/notes.go | 18 ++++++++++++++++++ pkg/server/controllers/notes_test.go | 2 +- pkg/server/controllers/routes.go | 18 ++++++++++++++++++ pkg/server/controllers/routes_test.go | 2 +- pkg/server/controllers/static.go | 18 ++++++++++++++++++ pkg/server/controllers/sync.go | 2 +- pkg/server/controllers/sync_test.go | 2 +- pkg/server/controllers/testutils.go | 2 +- pkg/server/controllers/users.go | 18 ++++++++++++++++++ pkg/server/controllers/users_test.go | 2 +- pkg/server/crypt/crypt.go | 2 +- pkg/server/database/consts.go | 2 +- pkg/server/database/database.go | 2 +- pkg/server/database/errors.go | 18 ++++++++++++++++++ pkg/server/database/migrate.go | 2 +- pkg/server/database/migrate/main.go | 2 +- pkg/server/database/migrations/embed.go | 18 ++++++++++++++++++ pkg/server/database/models.go | 2 +- pkg/server/database/notes.go | 2 +- pkg/server/database/types.go | 2 +- pkg/server/helpers/const.go | 2 +- pkg/server/helpers/url.go | 2 +- pkg/server/helpers/url_test.go | 18 ++++++++++++++++++ pkg/server/helpers/uuid.go | 2 +- pkg/server/job/job.go | 2 +- pkg/server/job/job_test.go | 2 +- pkg/server/log/log.go | 2 +- pkg/server/mailer/backend.go | 2 +- pkg/server/mailer/mailer.go | 2 +- pkg/server/mailer/mailer_test.go | 2 +- pkg/server/mailer/templates/main.go | 2 +- pkg/server/mailer/tokens.go | 2 +- pkg/server/mailer/types.go | 2 +- pkg/server/main.go | 2 +- pkg/server/middleware/auth.go | 2 +- pkg/server/middleware/helpers.go | 2 +- pkg/server/middleware/helpers_test.go | 2 +- pkg/server/middleware/limit.go | 2 +- pkg/server/middleware/logging.go | 2 +- pkg/server/middleware/main_test.go | 2 +- pkg/server/middleware/middleware.go | 18 ++++++++++++++++++ pkg/server/net/writer.go | 18 ++++++++++++++++++ pkg/server/operations/doc.go | 2 +- pkg/server/operations/main_test.go | 2 +- pkg/server/operations/notes.go | 2 +- pkg/server/operations/notes_test.go | 2 +- pkg/server/permissions/permissions.go | 2 +- pkg/server/permissions/permissions_test.go | 2 +- pkg/server/presenters/book.go | 2 +- pkg/server/presenters/email_preference.go | 2 +- pkg/server/presenters/helpers.go | 2 +- pkg/server/presenters/note.go | 2 +- pkg/server/session/session.go | 2 +- pkg/server/session/session_test.go | 2 +- pkg/server/testutils/main.go | 2 +- pkg/server/tmpl/app.go | 2 +- pkg/server/tmpl/app_test.go | 2 +- pkg/server/tmpl/data.go | 2 +- pkg/server/tmpl/data_test.go | 2 +- pkg/server/tmpl/main_test.go | 2 +- pkg/server/tmpl/tmpl.go | 2 +- pkg/server/token/main_test.go | 2 +- pkg/server/token/token.go | 2 +- pkg/server/token/token_test.go | 2 +- pkg/server/views/data.go | 18 ++++++++++++++++++ pkg/server/views/embed.go | 18 ++++++++++++++++++ pkg/server/views/engine.go | 18 ++++++++++++++++++ pkg/server/views/helpers.go | 18 ++++++++++++++++++ pkg/server/views/helpers_test.go | 18 ++++++++++++++++++ pkg/server/views/time.go | 18 ++++++++++++++++++ pkg/server/views/view.go | 18 ++++++++++++++++++ pkg/server/web/handlers.go | 2 +- pkg/server/web/handlers_test.go | 2 +- pkg/server/web/main_test.go | 2 +- pkg/watcher/main.go | 2 +- scripts/license.sh | 11 ++++------- 195 files changed, 771 insertions(+), 176 deletions(-) diff --git a/pkg/assert/assert.go b/pkg/assert/assert.go index 9551c683..dfe17029 100644 --- a/pkg/assert/assert.go +++ b/pkg/assert/assert.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/client/client.go b/pkg/cli/client/client.go index 6c783d2e..3e0e2ace 100644 --- a/pkg/cli/client/client.go +++ b/pkg/cli/client/client.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/client/client_test.go b/pkg/cli/client/client_test.go index b11ccebe..a88eb0e8 100644 --- a/pkg/cli/client/client_test.go +++ b/pkg/cli/client/client_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/add/add.go b/pkg/cli/cmd/add/add.go index b952481d..7684bddd 100644 --- a/pkg/cli/cmd/add/add.go +++ b/pkg/cli/cmd/add/add.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/cat/cat.go b/pkg/cli/cmd/cat/cat.go index 79463d9c..7e450532 100644 --- a/pkg/cli/cmd/cat/cat.go +++ b/pkg/cli/cmd/cat/cat.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/edit/book.go b/pkg/cli/cmd/edit/book.go index 2f34ec01..00af3bc4 100644 --- a/pkg/cli/cmd/edit/book.go +++ b/pkg/cli/cmd/edit/book.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/edit/edit.go b/pkg/cli/cmd/edit/edit.go index 0836658a..31e07851 100644 --- a/pkg/cli/cmd/edit/edit.go +++ b/pkg/cli/cmd/edit/edit.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/edit/note.go b/pkg/cli/cmd/edit/note.go index 54075131..e00db5ef 100644 --- a/pkg/cli/cmd/edit/note.go +++ b/pkg/cli/cmd/edit/note.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/find/find.go b/pkg/cli/cmd/find/find.go index 033f938f..fced3591 100644 --- a/pkg/cli/cmd/find/find.go +++ b/pkg/cli/cmd/find/find.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/find/lexer.go b/pkg/cli/cmd/find/lexer.go index 8cf560ce..724c070b 100644 --- a/pkg/cli/cmd/find/lexer.go +++ b/pkg/cli/cmd/find/lexer.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/find/lexer_test.go b/pkg/cli/cmd/find/lexer_test.go index c687a62d..37310859 100644 --- a/pkg/cli/cmd/find/lexer_test.go +++ b/pkg/cli/cmd/find/lexer_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/login/login.go b/pkg/cli/cmd/login/login.go index 9723a5be..ff572dc7 100644 --- a/pkg/cli/cmd/login/login.go +++ b/pkg/cli/cmd/login/login.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/login/login_test.go b/pkg/cli/cmd/login/login_test.go index f57b5979..69f63218 100644 --- a/pkg/cli/cmd/login/login_test.go +++ b/pkg/cli/cmd/login/login_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/logout/logout.go b/pkg/cli/cmd/logout/logout.go index ea647e72..e13e7303 100644 --- a/pkg/cli/cmd/logout/logout.go +++ b/pkg/cli/cmd/logout/logout.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/ls/ls.go b/pkg/cli/cmd/ls/ls.go index f09f665a..c84a58c0 100644 --- a/pkg/cli/cmd/ls/ls.go +++ b/pkg/cli/cmd/ls/ls.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/remove/remove.go b/pkg/cli/cmd/remove/remove.go index 9da9bdd2..d6039245 100644 --- a/pkg/cli/cmd/remove/remove.go +++ b/pkg/cli/cmd/remove/remove.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/root/root.go b/pkg/cli/cmd/root/root.go index ef1d0681..a7de36f2 100644 --- a/pkg/cli/cmd/root/root.go +++ b/pkg/cli/cmd/root/root.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/sync/main_test.go b/pkg/cli/cmd/sync/main_test.go index 90c8a323..1b05109d 100644 --- a/pkg/cli/cmd/sync/main_test.go +++ b/pkg/cli/cmd/sync/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/sync/merge.go b/pkg/cli/cmd/sync/merge.go index 2ac41b37..cd920651 100644 --- a/pkg/cli/cmd/sync/merge.go +++ b/pkg/cli/cmd/sync/merge.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/sync/merge_test.go b/pkg/cli/cmd/sync/merge_test.go index 3203adfc..c7d74a5c 100644 --- a/pkg/cli/cmd/sync/merge_test.go +++ b/pkg/cli/cmd/sync/merge_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/sync/sync.go b/pkg/cli/cmd/sync/sync.go index 6dbd641d..eaf43fed 100644 --- a/pkg/cli/cmd/sync/sync.go +++ b/pkg/cli/cmd/sync/sync.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/sync/sync_test.go b/pkg/cli/cmd/sync/sync_test.go index 9ae51bde..69f534ea 100644 --- a/pkg/cli/cmd/sync/sync_test.go +++ b/pkg/cli/cmd/sync/sync_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/version/version.go b/pkg/cli/cmd/version/version.go index cbafeaca..86655d23 100644 --- a/pkg/cli/cmd/version/version.go +++ b/pkg/cli/cmd/version/version.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/cmd/view/view.go b/pkg/cli/cmd/view/view.go index 434d5e08..820b3c1c 100644 --- a/pkg/cli/cmd/view/view.go +++ b/pkg/cli/cmd/view/view.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/config/config.go b/pkg/cli/config/config.go index 09c539df..ee54f6c2 100644 --- a/pkg/cli/config/config.go +++ b/pkg/cli/config/config.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/consts/consts.go b/pkg/cli/consts/consts.go index 05ee4408..0faa0f6e 100644 --- a/pkg/cli/consts/consts.go +++ b/pkg/cli/consts/consts.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/context/ctx.go b/pkg/cli/context/ctx.go index b42bed32..ffa89056 100644 --- a/pkg/cli/context/ctx.go +++ b/pkg/cli/context/ctx.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/context/testutils.go b/pkg/cli/context/testutils.go index 0b6962db..0efdc085 100644 --- a/pkg/cli/context/testutils.go +++ b/pkg/cli/context/testutils.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/crypt/crypto.go b/pkg/cli/crypt/crypto.go index fbed118a..a0c91c6a 100644 --- a/pkg/cli/crypt/crypto.go +++ b/pkg/cli/crypt/crypto.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/crypt/crypto_test.go b/pkg/cli/crypt/crypto_test.go index c1e91f4c..72c0e11c 100644 --- a/pkg/cli/crypt/crypto_test.go +++ b/pkg/cli/crypt/crypto_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/database/models.go b/pkg/cli/database/models.go index df27fa1c..5f0e9a54 100644 --- a/pkg/cli/database/models.go +++ b/pkg/cli/database/models.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/database/models_test.go b/pkg/cli/database/models_test.go index 5639048a..df863d7a 100644 --- a/pkg/cli/database/models_test.go +++ b/pkg/cli/database/models_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/database/queries.go b/pkg/cli/database/queries.go index 1e04e521..fccba23e 100644 --- a/pkg/cli/database/queries.go +++ b/pkg/cli/database/queries.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/database/queries_test.go b/pkg/cli/database/queries_test.go index 7cc6a938..52fe3357 100644 --- a/pkg/cli/database/queries_test.go +++ b/pkg/cli/database/queries_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/database/sql.go b/pkg/cli/database/sql.go index d237752b..e01cace4 100644 --- a/pkg/cli/database/sql.go +++ b/pkg/cli/database/sql.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/database/testutils.go b/pkg/cli/database/testutils.go index 26f159f3..69a47be8 100644 --- a/pkg/cli/database/testutils.go +++ b/pkg/cli/database/testutils.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/dirs/dirs.go b/pkg/cli/dirs/dirs.go index 07585224..8dda9d72 100644 --- a/pkg/cli/dirs/dirs.go +++ b/pkg/cli/dirs/dirs.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/dirs/dirs_test.go b/pkg/cli/dirs/dirs_test.go index 486b09bd..c34642ab 100644 --- a/pkg/cli/dirs/dirs_test.go +++ b/pkg/cli/dirs/dirs_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/dirs/dirs_unix.go b/pkg/cli/dirs/dirs_unix.go index 49a410e2..6c89fce4 100644 --- a/pkg/cli/dirs/dirs_unix.go +++ b/pkg/cli/dirs/dirs_unix.go @@ -1,6 +1,4 @@ -//go:build linux || darwin - -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * @@ -18,6 +16,9 @@ * along with Dnote. If not, see . */ +//go:build linux || darwin + + package dirs import ( diff --git a/pkg/cli/dirs/dirs_unix_test.go b/pkg/cli/dirs/dirs_unix_test.go index 2755ebb2..d621f6f7 100644 --- a/pkg/cli/dirs/dirs_unix_test.go +++ b/pkg/cli/dirs/dirs_unix_test.go @@ -1,6 +1,4 @@ -//go:build linux || darwin - -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * @@ -18,6 +16,9 @@ * along with Dnote. If not, see . */ +//go:build linux || darwin + + package dirs import ( diff --git a/pkg/cli/dirs/dirs_windows.go b/pkg/cli/dirs/dirs_windows.go index e889f5f0..c7632e7b 100644 --- a/pkg/cli/dirs/dirs_windows.go +++ b/pkg/cli/dirs/dirs_windows.go @@ -1,6 +1,4 @@ -//go:build windows - -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * @@ -18,6 +16,9 @@ * along with Dnote. If not, see . */ +//go:build windows + + package dirs import ( diff --git a/pkg/cli/dirs/dirs_windows_test.go b/pkg/cli/dirs/dirs_windows_test.go index baa076d7..0a98e582 100644 --- a/pkg/cli/dirs/dirs_windows_test.go +++ b/pkg/cli/dirs/dirs_windows_test.go @@ -1,6 +1,4 @@ -//go:build windows - -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * @@ -18,6 +16,9 @@ * along with Dnote. If not, see . */ +//go:build windows + + package dirs import ( diff --git a/pkg/cli/infra/init.go b/pkg/cli/infra/init.go index 6ac99472..7676845b 100644 --- a/pkg/cli/infra/init.go +++ b/pkg/cli/infra/init.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/infra/init_test.go b/pkg/cli/infra/init_test.go index a072ba25..fa86bc30 100644 --- a/pkg/cli/infra/init_test.go +++ b/pkg/cli/infra/init_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/log/log.go b/pkg/cli/log/log.go index 884475fc..0d7183b6 100644 --- a/pkg/cli/log/log.go +++ b/pkg/cli/log/log.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/main.go b/pkg/cli/main.go index 253f0cfb..51159eb0 100644 --- a/pkg/cli/main.go +++ b/pkg/cli/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/main_test.go b/pkg/cli/main_test.go index e01cf34a..19c3e1ed 100644 --- a/pkg/cli/main_test.go +++ b/pkg/cli/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/migrate/legacy.go b/pkg/cli/migrate/legacy.go index 512ba2a9..8cb4775e 100644 --- a/pkg/cli/migrate/legacy.go +++ b/pkg/cli/migrate/legacy.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/migrate/legacy_test.go b/pkg/cli/migrate/legacy_test.go index 12f27eb9..ef882324 100644 --- a/pkg/cli/migrate/legacy_test.go +++ b/pkg/cli/migrate/legacy_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/migrate/migrate.go b/pkg/cli/migrate/migrate.go index fa7bd2e2..af28190d 100644 --- a/pkg/cli/migrate/migrate.go +++ b/pkg/cli/migrate/migrate.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/migrate/migrate_test.go b/pkg/cli/migrate/migrate_test.go index 6fd5264b..3cd4bdeb 100644 --- a/pkg/cli/migrate/migrate_test.go +++ b/pkg/cli/migrate/migrate_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/migrate/migrations.go b/pkg/cli/migrate/migrations.go index 9a35d824..cf468dc4 100644 --- a/pkg/cli/migrate/migrations.go +++ b/pkg/cli/migrate/migrations.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/output/output.go b/pkg/cli/output/output.go index ddd022ef..e8b05584 100644 --- a/pkg/cli/output/output.go +++ b/pkg/cli/output/output.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/testutils/main.go b/pkg/cli/testutils/main.go index d6490b49..08350fdc 100644 --- a/pkg/cli/testutils/main.go +++ b/pkg/cli/testutils/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/testutils/setup.go b/pkg/cli/testutils/setup.go index 20c8a0a1..fa6c22df 100644 --- a/pkg/cli/testutils/setup.go +++ b/pkg/cli/testutils/setup.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/ui/editor.go b/pkg/cli/ui/editor.go index 82ab3f3c..f8d92e2a 100644 --- a/pkg/cli/ui/editor.go +++ b/pkg/cli/ui/editor.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/ui/editor_test.go b/pkg/cli/ui/editor_test.go index 99a4760f..f60bb0e2 100644 --- a/pkg/cli/ui/editor_test.go +++ b/pkg/cli/ui/editor_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/ui/terminal.go b/pkg/cli/ui/terminal.go index d29ba8bf..5fe7f8be 100644 --- a/pkg/cli/ui/terminal.go +++ b/pkg/cli/ui/terminal.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/upgrade/upgrade.go b/pkg/cli/upgrade/upgrade.go index 4a967640..8eca825c 100644 --- a/pkg/cli/upgrade/upgrade.go +++ b/pkg/cli/upgrade/upgrade.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/upgrade/upgrade_test.go b/pkg/cli/upgrade/upgrade_test.go index 98a67891..30a5b6a6 100644 --- a/pkg/cli/upgrade/upgrade_test.go +++ b/pkg/cli/upgrade/upgrade_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/utils/diff/diff.go b/pkg/cli/utils/diff/diff.go index f427cfa8..14fea3c3 100644 --- a/pkg/cli/utils/diff/diff.go +++ b/pkg/cli/utils/diff/diff.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/utils/diff/diff_test.go b/pkg/cli/utils/diff/diff_test.go index 2893c80b..0067af51 100644 --- a/pkg/cli/utils/diff/diff_test.go +++ b/pkg/cli/utils/diff/diff_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/utils/files.go b/pkg/cli/utils/files.go index 24d27448..79696605 100644 --- a/pkg/cli/utils/files.go +++ b/pkg/cli/utils/files.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/utils/utils.go b/pkg/cli/utils/utils.go index 4f75d4be..735e81df 100644 --- a/pkg/cli/utils/utils.go +++ b/pkg/cli/utils/utils.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/validate/book_test.go b/pkg/cli/validate/book_test.go index 9a716a66..d0416c30 100644 --- a/pkg/cli/validate/book_test.go +++ b/pkg/cli/validate/book_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/cli/validate/books.go b/pkg/cli/validate/books.go index fbc38fce..b9c279a5 100644 --- a/pkg/cli/validate/books.go +++ b/pkg/cli/validate/books.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/clock/clock.go b/pkg/clock/clock.go index de839659..5e9f6172 100644 --- a/pkg/clock/clock.go +++ b/pkg/clock/clock.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/app.go b/pkg/server/app/app.go index b7582053..1e1970bc 100644 --- a/pkg/server/app/app.go +++ b/pkg/server/app/app.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/books.go b/pkg/server/app/books.go index f84f4d84..30043d72 100644 --- a/pkg/server/app/books.go +++ b/pkg/server/app/books.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/books_test.go b/pkg/server/app/books_test.go index 3219320a..b2ddf1e0 100644 --- a/pkg/server/app/books_test.go +++ b/pkg/server/app/books_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/doc.go b/pkg/server/app/doc.go index c8cebd60..7a58bea4 100644 --- a/pkg/server/app/doc.go +++ b/pkg/server/app/doc.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/email.go b/pkg/server/app/email.go index b392223f..301a4adf 100644 --- a/pkg/server/app/email.go +++ b/pkg/server/app/email.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/email_test.go b/pkg/server/app/email_test.go index a9ae7443..c07f1ffd 100644 --- a/pkg/server/app/email_test.go +++ b/pkg/server/app/email_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/errors.go b/pkg/server/app/errors.go index d96b9fb2..9fb6efa5 100644 --- a/pkg/server/app/errors.go +++ b/pkg/server/app/errors.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package app type appError string diff --git a/pkg/server/app/helpers.go b/pkg/server/app/helpers.go index 024dd7d3..0700a0fd 100644 --- a/pkg/server/app/helpers.go +++ b/pkg/server/app/helpers.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/helpers_test.go b/pkg/server/app/helpers_test.go index 370944e8..fe503576 100644 --- a/pkg/server/app/helpers_test.go +++ b/pkg/server/app/helpers_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/main_test.go b/pkg/server/app/main_test.go index e9a8ebc3..caaf0656 100644 --- a/pkg/server/app/main_test.go +++ b/pkg/server/app/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/notes.go b/pkg/server/app/notes.go index 83a24b85..593c1e93 100644 --- a/pkg/server/app/notes.go +++ b/pkg/server/app/notes.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/notes_test.go b/pkg/server/app/notes_test.go index bfb150c1..d50550dd 100644 --- a/pkg/server/app/notes_test.go +++ b/pkg/server/app/notes_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/sessions.go b/pkg/server/app/sessions.go index 81a1b255..fe9a25d4 100644 --- a/pkg/server/app/sessions.go +++ b/pkg/server/app/sessions.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/testutils.go b/pkg/server/app/testutils.go index 8547807c..62d06adb 100644 --- a/pkg/server/app/testutils.go +++ b/pkg/server/app/testutils.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/users.go b/pkg/server/app/users.go index 4c3a335f..abb403f8 100644 --- a/pkg/server/app/users.go +++ b/pkg/server/app/users.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/app/users_test.go b/pkg/server/app/users_test.go index 37ea4d6d..3e302b61 100644 --- a/pkg/server/app/users_test.go +++ b/pkg/server/app/users_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/embed.go b/pkg/server/assets/embed.go index e6e414bc..f1e3f7bd 100644 --- a/pkg/server/assets/embed.go +++ b/pkg/server/assets/embed.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package assets import ( diff --git a/pkg/server/assets/js/src/main.js b/pkg/server/assets/js/src/main.js index 7d32f867..c9854a68 100644 --- a/pkg/server/assets/js/src/main.js +++ b/pkg/server/assets/js/src/main.js @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + var getNextSibling = function (el, selector) { var sibling = el.nextElementSibling; diff --git a/pkg/server/assets/styles/src/_books.scss b/pkg/server/assets/styles/src/_books.scss index 9dcc5a1a..60d61c04 100644 --- a/pkg/server/assets/styles/src/_books.scss +++ b/pkg/server/assets/styles/src/_books.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + .books-page { .books-content { padding: rem(16px) rem(24px); diff --git a/pkg/server/assets/styles/src/_bootstrap.scss b/pkg/server/assets/styles/src/_bootstrap.scss index ea4a69de..db9e8992 100644 --- a/pkg/server/assets/styles/src/_bootstrap.scss +++ b/pkg/server/assets/styles/src/_bootstrap.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_buttons.scss b/pkg/server/assets/styles/src/_buttons.scss index 6178c0ce..8d3bf035 100644 --- a/pkg/server/assets/styles/src/_buttons.scss +++ b/pkg/server/assets/styles/src/_buttons.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_font.scss b/pkg/server/assets/styles/src/_font.scss index 1f0b90d5..77daceee 100644 --- a/pkg/server/assets/styles/src/_font.scss +++ b/pkg/server/assets/styles/src/_font.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_global.scss b/pkg/server/assets/styles/src/_global.scss index d7650265..e509cff7 100644 --- a/pkg/server/assets/styles/src/_global.scss +++ b/pkg/server/assets/styles/src/_global.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + .main { position: relative; display: flex; diff --git a/pkg/server/assets/styles/src/_grid.scss b/pkg/server/assets/styles/src/_grid.scss index 66e07a28..1df054c1 100644 --- a/pkg/server/assets/styles/src/_grid.scss +++ b/pkg/server/assets/styles/src/_grid.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_header.scss b/pkg/server/assets/styles/src/_header.scss index fbd971b5..1bab7111 100644 --- a/pkg/server/assets/styles/src/_header.scss +++ b/pkg/server/assets/styles/src/_header.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + @import './theme'; @import './variables'; diff --git a/pkg/server/assets/styles/src/_hljs.scss b/pkg/server/assets/styles/src/_hljs.scss index 03636f1a..f0c0923e 100644 --- a/pkg/server/assets/styles/src/_hljs.scss +++ b/pkg/server/assets/styles/src/_hljs.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_home.scss b/pkg/server/assets/styles/src/_home.scss index 282589d2..4c37387e 100644 --- a/pkg/server/assets/styles/src/_home.scss +++ b/pkg/server/assets/styles/src/_home.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + @import './theme'; @import './font'; diff --git a/pkg/server/assets/styles/src/_login.scss b/pkg/server/assets/styles/src/_login.scss index 673813e3..2c121770 100644 --- a/pkg/server/assets/styles/src/_login.scss +++ b/pkg/server/assets/styles/src/_login.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + @import './theme'; @import './font'; diff --git a/pkg/server/assets/styles/src/_markdown.scss b/pkg/server/assets/styles/src/_markdown.scss index 99b3e92f..3f44a92e 100644 --- a/pkg/server/assets/styles/src/_markdown.scss +++ b/pkg/server/assets/styles/src/_markdown.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_marker.scss b/pkg/server/assets/styles/src/_marker.scss index 75afcc10..4e7de551 100644 --- a/pkg/server/assets/styles/src/_marker.scss +++ b/pkg/server/assets/styles/src/_marker.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_note.scss b/pkg/server/assets/styles/src/_note.scss index a903a66e..f6c6c790 100644 --- a/pkg/server/assets/styles/src/_note.scss +++ b/pkg/server/assets/styles/src/_note.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + .note-page { // min-height: calc(100vh - 57px); background: $lighter-gray; diff --git a/pkg/server/assets/styles/src/_reboot.scss b/pkg/server/assets/styles/src/_reboot.scss index 174f2989..c0db09b9 100644 --- a/pkg/server/assets/styles/src/_reboot.scss +++ b/pkg/server/assets/styles/src/_reboot.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_rem.scss b/pkg/server/assets/styles/src/_rem.scss index 442d0ceb..7d2a3235 100644 --- a/pkg/server/assets/styles/src/_rem.scss +++ b/pkg/server/assets/styles/src/_rem.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_responsive.scss b/pkg/server/assets/styles/src/_responsive.scss index caf5bc12..220ed3cc 100644 --- a/pkg/server/assets/styles/src/_responsive.scss +++ b/pkg/server/assets/styles/src/_responsive.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_select.scss b/pkg/server/assets/styles/src/_select.scss index f534a64a..491a4a05 100644 --- a/pkg/server/assets/styles/src/_select.scss +++ b/pkg/server/assets/styles/src/_select.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_settings.scss b/pkg/server/assets/styles/src/_settings.scss index 81c2ac43..8d706bfa 100644 --- a/pkg/server/assets/styles/src/_settings.scss +++ b/pkg/server/assets/styles/src/_settings.scss @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + @import './theme'; @import './font'; diff --git a/pkg/server/assets/styles/src/_shared.scss b/pkg/server/assets/styles/src/_shared.scss index 773706bb..584e47bc 100644 --- a/pkg/server/assets/styles/src/_shared.scss +++ b/pkg/server/assets/styles/src/_shared.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_theme.scss b/pkg/server/assets/styles/src/_theme.scss index a3e09996..1566df4a 100644 --- a/pkg/server/assets/styles/src/_theme.scss +++ b/pkg/server/assets/styles/src/_theme.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/_variables.scss b/pkg/server/assets/styles/src/_variables.scss index 808e20f7..b31aa0f2 100644 --- a/pkg/server/assets/styles/src/_variables.scss +++ b/pkg/server/assets/styles/src/_variables.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/assets/styles/src/main.scss b/pkg/server/assets/styles/src/main.scss index bf1af413..b215d2d2 100644 --- a/pkg/server/assets/styles/src/main.scss +++ b/pkg/server/assets/styles/src/main.scss @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/buildinfo/info.go b/pkg/server/buildinfo/info.go index 0e7d201f..f8530a02 100644 --- a/pkg/server/buildinfo/info.go +++ b/pkg/server/buildinfo/info.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package buildinfo var ( diff --git a/pkg/server/config/config.go b/pkg/server/config/config.go index 3f1207bb..4c1b0b10 100644 --- a/pkg/server/config/config.go +++ b/pkg/server/config/config.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/config/config_test.go b/pkg/server/config/config_test.go index 10f5fd12..f875c840 100644 --- a/pkg/server/config/config_test.go +++ b/pkg/server/config/config_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/consts/consts.go b/pkg/server/consts/consts.go index 8b6e83ab..88bcce0b 100644 --- a/pkg/server/consts/consts.go +++ b/pkg/server/consts/consts.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package consts const ( diff --git a/pkg/server/context/user.go b/pkg/server/context/user.go index 81e6ba8c..34ab0c20 100644 --- a/pkg/server/context/user.go +++ b/pkg/server/context/user.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package context import ( diff --git a/pkg/server/controllers/books.go b/pkg/server/controllers/books.go index 5a937718..8d14b209 100644 --- a/pkg/server/controllers/books.go +++ b/pkg/server/controllers/books.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/books_test.go b/pkg/server/controllers/books_test.go index ebb47ecf..0b1db43f 100644 --- a/pkg/server/controllers/books_test.go +++ b/pkg/server/controllers/books_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/controllers.go b/pkg/server/controllers/controllers.go index fe295f6f..99e63782 100644 --- a/pkg/server/controllers/controllers.go +++ b/pkg/server/controllers/controllers.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/health.go b/pkg/server/controllers/health.go index 0e0608d6..ee406bf5 100644 --- a/pkg/server/controllers/health.go +++ b/pkg/server/controllers/health.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/health_test.go b/pkg/server/controllers/health_test.go index 2637ae96..1ca59037 100644 --- a/pkg/server/controllers/health_test.go +++ b/pkg/server/controllers/health_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/helpers.go b/pkg/server/controllers/helpers.go index 7a3cb9b5..767c9c70 100644 --- a/pkg/server/controllers/helpers.go +++ b/pkg/server/controllers/helpers.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/main_test.go b/pkg/server/controllers/main_test.go index 286b94ee..a98ed638 100644 --- a/pkg/server/controllers/main_test.go +++ b/pkg/server/controllers/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/notes.go b/pkg/server/controllers/notes.go index 72d41817..177498e2 100644 --- a/pkg/server/controllers/notes.go +++ b/pkg/server/controllers/notes.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/notes_test.go b/pkg/server/controllers/notes_test.go index 685827b9..c66741c0 100644 --- a/pkg/server/controllers/notes_test.go +++ b/pkg/server/controllers/notes_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/routes.go b/pkg/server/controllers/routes.go index 9d103c1c..0bf3fe4a 100644 --- a/pkg/server/controllers/routes.go +++ b/pkg/server/controllers/routes.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/routes_test.go b/pkg/server/controllers/routes_test.go index f39f064b..1895782c 100644 --- a/pkg/server/controllers/routes_test.go +++ b/pkg/server/controllers/routes_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/static.go b/pkg/server/controllers/static.go index c0545841..549775f5 100644 --- a/pkg/server/controllers/static.go +++ b/pkg/server/controllers/static.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/sync.go b/pkg/server/controllers/sync.go index 76e7f742..2f3c5e25 100644 --- a/pkg/server/controllers/sync.go +++ b/pkg/server/controllers/sync.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/sync_test.go b/pkg/server/controllers/sync_test.go index e8e48da1..c6eb1632 100644 --- a/pkg/server/controllers/sync_test.go +++ b/pkg/server/controllers/sync_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/testutils.go b/pkg/server/controllers/testutils.go index 6b551d86..fb5fe061 100644 --- a/pkg/server/controllers/testutils.go +++ b/pkg/server/controllers/testutils.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/controllers/users.go b/pkg/server/controllers/users.go index b88cb326..df28cf16 100644 --- a/pkg/server/controllers/users.go +++ b/pkg/server/controllers/users.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package controllers import ( diff --git a/pkg/server/controllers/users_test.go b/pkg/server/controllers/users_test.go index 1c9911ee..c42cff1d 100644 --- a/pkg/server/controllers/users_test.go +++ b/pkg/server/controllers/users_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/crypt/crypt.go b/pkg/server/crypt/crypt.go index 20150050..b782ff41 100644 --- a/pkg/server/crypt/crypt.go +++ b/pkg/server/crypt/crypt.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/consts.go b/pkg/server/database/consts.go index 3b2f8a06..cd2da25d 100644 --- a/pkg/server/database/consts.go +++ b/pkg/server/database/consts.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/database.go b/pkg/server/database/database.go index dabb8ff1..ffe8b36a 100644 --- a/pkg/server/database/database.go +++ b/pkg/server/database/database.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/errors.go b/pkg/server/database/errors.go index e142a83d..84ccb2b1 100644 --- a/pkg/server/database/errors.go +++ b/pkg/server/database/errors.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package database import ( diff --git a/pkg/server/database/migrate.go b/pkg/server/database/migrate.go index da10601c..04e78d23 100644 --- a/pkg/server/database/migrate.go +++ b/pkg/server/database/migrate.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/migrate/main.go b/pkg/server/database/migrate/main.go index 4827438c..4e1db78f 100644 --- a/pkg/server/database/migrate/main.go +++ b/pkg/server/database/migrate/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/migrations/embed.go b/pkg/server/database/migrations/embed.go index 381665ad..71651982 100644 --- a/pkg/server/database/migrations/embed.go +++ b/pkg/server/database/migrations/embed.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package migrations import "embed" diff --git a/pkg/server/database/models.go b/pkg/server/database/models.go index 2b228bdc..c650a04c 100644 --- a/pkg/server/database/models.go +++ b/pkg/server/database/models.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/notes.go b/pkg/server/database/notes.go index 43620474..a4b47d81 100644 --- a/pkg/server/database/notes.go +++ b/pkg/server/database/notes.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/database/types.go b/pkg/server/database/types.go index baaffe14..af480899 100644 --- a/pkg/server/database/types.go +++ b/pkg/server/database/types.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/helpers/const.go b/pkg/server/helpers/const.go index 7d639a14..9292fff5 100644 --- a/pkg/server/helpers/const.go +++ b/pkg/server/helpers/const.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/helpers/url.go b/pkg/server/helpers/url.go index e136b230..9c1185f3 100644 --- a/pkg/server/helpers/url.go +++ b/pkg/server/helpers/url.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/helpers/url_test.go b/pkg/server/helpers/url_test.go index 14752e93..1a296233 100644 --- a/pkg/server/helpers/url_test.go +++ b/pkg/server/helpers/url_test.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package helpers import ( diff --git a/pkg/server/helpers/uuid.go b/pkg/server/helpers/uuid.go index b96b7b11..0c6c01d0 100644 --- a/pkg/server/helpers/uuid.go +++ b/pkg/server/helpers/uuid.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/job/job.go b/pkg/server/job/job.go index 6f069ad6..a1fa7a85 100644 --- a/pkg/server/job/job.go +++ b/pkg/server/job/job.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/job/job_test.go b/pkg/server/job/job_test.go index fbfb0a62..ec8f56a9 100644 --- a/pkg/server/job/job_test.go +++ b/pkg/server/job/job_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/log/log.go b/pkg/server/log/log.go index 057419b8..a2604eb6 100644 --- a/pkg/server/log/log.go +++ b/pkg/server/log/log.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/mailer/backend.go b/pkg/server/mailer/backend.go index 2afef065..21ddf056 100644 --- a/pkg/server/mailer/backend.go +++ b/pkg/server/mailer/backend.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/mailer/mailer.go b/pkg/server/mailer/mailer.go index 3e6ee8d0..bac8d75d 100644 --- a/pkg/server/mailer/mailer.go +++ b/pkg/server/mailer/mailer.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/mailer/mailer_test.go b/pkg/server/mailer/mailer_test.go index 0bc56e5a..0e843fe1 100644 --- a/pkg/server/mailer/mailer_test.go +++ b/pkg/server/mailer/mailer_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/mailer/templates/main.go b/pkg/server/mailer/templates/main.go index 355882f7..4f9ff12c 100644 --- a/pkg/server/mailer/templates/main.go +++ b/pkg/server/mailer/templates/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/mailer/tokens.go b/pkg/server/mailer/tokens.go index 8d0d0cd5..ccdf9136 100644 --- a/pkg/server/mailer/tokens.go +++ b/pkg/server/mailer/tokens.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/mailer/types.go b/pkg/server/mailer/types.go index 8992902e..8d1e94ad 100644 --- a/pkg/server/mailer/types.go +++ b/pkg/server/mailer/types.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/main.go b/pkg/server/main.go index f26b9407..2a1e2468 100644 --- a/pkg/server/main.go +++ b/pkg/server/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/auth.go b/pkg/server/middleware/auth.go index 79d4d780..0f3185f3 100644 --- a/pkg/server/middleware/auth.go +++ b/pkg/server/middleware/auth.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/helpers.go b/pkg/server/middleware/helpers.go index f958d573..83fa4c25 100644 --- a/pkg/server/middleware/helpers.go +++ b/pkg/server/middleware/helpers.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/helpers_test.go b/pkg/server/middleware/helpers_test.go index 1eb9fe7a..9b89f49f 100644 --- a/pkg/server/middleware/helpers_test.go +++ b/pkg/server/middleware/helpers_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/limit.go b/pkg/server/middleware/limit.go index bdc5de40..d449bc3b 100644 --- a/pkg/server/middleware/limit.go +++ b/pkg/server/middleware/limit.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/logging.go b/pkg/server/middleware/logging.go index 85bfbf32..c1b6e303 100644 --- a/pkg/server/middleware/logging.go +++ b/pkg/server/middleware/logging.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/main_test.go b/pkg/server/middleware/main_test.go index 08a3acf1..893a43fb 100644 --- a/pkg/server/middleware/main_test.go +++ b/pkg/server/middleware/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/middleware/middleware.go b/pkg/server/middleware/middleware.go index 44f6377a..bb112634 100644 --- a/pkg/server/middleware/middleware.go +++ b/pkg/server/middleware/middleware.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package middleware import ( diff --git a/pkg/server/net/writer.go b/pkg/server/net/writer.go index 912d44d4..12b9ccc6 100644 --- a/pkg/server/net/writer.go +++ b/pkg/server/net/writer.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package net import ( diff --git a/pkg/server/operations/doc.go b/pkg/server/operations/doc.go index d2947e5c..1653379e 100644 --- a/pkg/server/operations/doc.go +++ b/pkg/server/operations/doc.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/operations/main_test.go b/pkg/server/operations/main_test.go index dc79ba9c..ce7c2e84 100644 --- a/pkg/server/operations/main_test.go +++ b/pkg/server/operations/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/operations/notes.go b/pkg/server/operations/notes.go index 1106ab5e..db1cca7a 100644 --- a/pkg/server/operations/notes.go +++ b/pkg/server/operations/notes.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/operations/notes_test.go b/pkg/server/operations/notes_test.go index ceb0728f..de799865 100644 --- a/pkg/server/operations/notes_test.go +++ b/pkg/server/operations/notes_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/permissions/permissions.go b/pkg/server/permissions/permissions.go index bc89ea26..c05a5e8d 100644 --- a/pkg/server/permissions/permissions.go +++ b/pkg/server/permissions/permissions.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/permissions/permissions_test.go b/pkg/server/permissions/permissions_test.go index d67089fe..c47d6b93 100644 --- a/pkg/server/permissions/permissions_test.go +++ b/pkg/server/permissions/permissions_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/presenters/book.go b/pkg/server/presenters/book.go index 5d5e6b47..74cf20ac 100644 --- a/pkg/server/presenters/book.go +++ b/pkg/server/presenters/book.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/presenters/email_preference.go b/pkg/server/presenters/email_preference.go index f9ebee26..694651b5 100644 --- a/pkg/server/presenters/email_preference.go +++ b/pkg/server/presenters/email_preference.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/presenters/helpers.go b/pkg/server/presenters/helpers.go index c4a24a9c..34c92ff5 100644 --- a/pkg/server/presenters/helpers.go +++ b/pkg/server/presenters/helpers.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/presenters/note.go b/pkg/server/presenters/note.go index 75a49081..05a2daa1 100644 --- a/pkg/server/presenters/note.go +++ b/pkg/server/presenters/note.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/session/session.go b/pkg/server/session/session.go index 08d8535d..e52c239d 100644 --- a/pkg/server/session/session.go +++ b/pkg/server/session/session.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/session/session_test.go b/pkg/server/session/session_test.go index 21711c72..89d7179c 100644 --- a/pkg/server/session/session_test.go +++ b/pkg/server/session/session_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/testutils/main.go b/pkg/server/testutils/main.go index fd97c1d9..cbee26e3 100644 --- a/pkg/server/testutils/main.go +++ b/pkg/server/testutils/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/tmpl/app.go b/pkg/server/tmpl/app.go index b45c9436..cd374e8c 100644 --- a/pkg/server/tmpl/app.go +++ b/pkg/server/tmpl/app.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/tmpl/app_test.go b/pkg/server/tmpl/app_test.go index 0c59e900..8f312b93 100644 --- a/pkg/server/tmpl/app_test.go +++ b/pkg/server/tmpl/app_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/tmpl/data.go b/pkg/server/tmpl/data.go index 321c3697..45f5c96b 100644 --- a/pkg/server/tmpl/data.go +++ b/pkg/server/tmpl/data.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/tmpl/data_test.go b/pkg/server/tmpl/data_test.go index 5b08d7fb..3106ad56 100644 --- a/pkg/server/tmpl/data_test.go +++ b/pkg/server/tmpl/data_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/tmpl/main_test.go b/pkg/server/tmpl/main_test.go index 6f75184f..889d2371 100644 --- a/pkg/server/tmpl/main_test.go +++ b/pkg/server/tmpl/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/tmpl/tmpl.go b/pkg/server/tmpl/tmpl.go index 9719f0ae..e2248116 100644 --- a/pkg/server/tmpl/tmpl.go +++ b/pkg/server/tmpl/tmpl.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/token/main_test.go b/pkg/server/token/main_test.go index 70d6fb96..36e9da13 100644 --- a/pkg/server/token/main_test.go +++ b/pkg/server/token/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/token/token.go b/pkg/server/token/token.go index c6b8438b..ffcca255 100644 --- a/pkg/server/token/token.go +++ b/pkg/server/token/token.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/token/token_test.go b/pkg/server/token/token_test.go index bc7e2364..171fb3fe 100644 --- a/pkg/server/token/token_test.go +++ b/pkg/server/token/token_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/views/data.go b/pkg/server/views/data.go index d36609f5..5f51e759 100644 --- a/pkg/server/views/data.go +++ b/pkg/server/views/data.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/views/embed.go b/pkg/server/views/embed.go index 805c12d4..0f6dde29 100644 --- a/pkg/server/views/embed.go +++ b/pkg/server/views/embed.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/views/engine.go b/pkg/server/views/engine.go index 6a6973e2..957d167e 100644 --- a/pkg/server/views/engine.go +++ b/pkg/server/views/engine.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/views/helpers.go b/pkg/server/views/helpers.go index ee82eb4f..e4095b19 100644 --- a/pkg/server/views/helpers.go +++ b/pkg/server/views/helpers.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/views/helpers_test.go b/pkg/server/views/helpers_test.go index d469a9fc..a62766ae 100644 --- a/pkg/server/views/helpers_test.go +++ b/pkg/server/views/helpers_test.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/views/time.go b/pkg/server/views/time.go index dad46c46..419d8ce8 100644 --- a/pkg/server/views/time.go +++ b/pkg/server/views/time.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/views/view.go b/pkg/server/views/view.go index 129dff49..1f93cdb5 100644 --- a/pkg/server/views/view.go +++ b/pkg/server/views/view.go @@ -1,3 +1,21 @@ +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd + * + * This file is part of Dnote. + * + * Dnote is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Dnote is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Dnote. If not, see . + */ + package views import ( diff --git a/pkg/server/web/handlers.go b/pkg/server/web/handlers.go index 3eeeb6dc..bbbb6adb 100644 --- a/pkg/server/web/handlers.go +++ b/pkg/server/web/handlers.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/web/handlers_test.go b/pkg/server/web/handlers_test.go index dc83f507..1e4b9e7c 100644 --- a/pkg/server/web/handlers_test.go +++ b/pkg/server/web/handlers_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/server/web/main_test.go b/pkg/server/web/main_test.go index 9c33b0f1..25c48343 100644 --- a/pkg/server/web/main_test.go +++ b/pkg/server/web/main_test.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/pkg/watcher/main.go b/pkg/watcher/main.go index 4680f8cc..6a85a90b 100644 --- a/pkg/watcher/main.go +++ b/pkg/watcher/main.go @@ -1,4 +1,4 @@ -/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * diff --git a/scripts/license.sh b/scripts/license.sh index 8c4873ae..ce580d94 100755 --- a/scripts/license.sh +++ b/scripts/license.sh @@ -19,7 +19,7 @@ q END } -gpl="/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +gpl="/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * @@ -37,7 +37,7 @@ gpl="/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd * along with Dnote. If not, see . */" -agpl="/* Copyright (C) 2019, 2020, 2021 Monomax Software Pty Ltd +agpl="/* Copyright (C) 2019, 2020, 2021, 2022 Monomax Software Pty Ltd * * This file is part of Dnote. * @@ -59,18 +59,15 @@ dir=$(dirname "${BASH_SOURCE[0]}") basedir="$dir/.." pkgPath="$basedir/pkg" serverPath="$basedir/pkg/server" -browserPath="$basedir/browser" -gplFiles=$(find "$pkgPath" "$browserPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "$serverPath/*") +gplFiles=$(find "$pkgPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "$serverPath/*") for file in $gplFiles; do remove_notice "$file" add_notice "$file" "$gpl" done -webPath="$basedir/web" -jslibPath="$basedir/jslib/src" -agplFiles=$(find "$serverPath" "$webPath" "$jslibPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "**/dist/*") +agplFiles=$(find "$serverPath" -type f \( -name "*.go" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.scss" -o -name "*.css" \) ! -path "**/vendor/*" ! -path "**/node_modules/*" ! -path "**/dist/*") for file in $agplFiles; do remove_notice "$file"