From 1274914207af7b5ff56635572ee55ee7dc916fe5 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 24 Dec 2018 12:45:15 -0500 Subject: [PATCH] Add copyright / license notices to .go files --- account.go | 9 +++++++++ activitypub.go | 9 +++++++++ admin.go | 9 +++++++++ app.go | 9 +++++++++ auth.go | 9 +++++++++ author/author.go | 9 +++++++++ cache.go | 9 +++++++++ cmd/writefreely/main.go | 9 +++++++++ collections.go | 9 +++++++++ config/config.go | 9 +++++++++ config/data.go | 9 +++++++++ config/funcs.go | 9 +++++++++ config/setup.go | 9 +++++++++ config/validation.go | 9 +++++++++ database.go | 9 +++++++++ errors.go | 9 +++++++++ export.go | 9 +++++++++ feed.go | 9 +++++++++ handle.go | 9 +++++++++ hostmeta.go | 9 +++++++++ instance.go | 9 +++++++++ keys.go | 9 +++++++++ nodeinfo.go | 9 +++++++++ pad.go | 9 +++++++++ page/page.go | 9 +++++++++ pages.go | 9 +++++++++ parse/posts.go | 9 +++++++++ parse/posts_test.go | 9 +++++++++ postrender.go | 9 +++++++++ posts.go | 9 +++++++++ read.go | 9 +++++++++ request.go | 9 +++++++++ routes.go | 9 +++++++++ session.go | 9 +++++++++ sitemap.go | 9 +++++++++ templates.go | 9 +++++++++ unregisteredusers.go | 9 +++++++++ users.go | 9 +++++++++ webfinger.go | 9 +++++++++ 39 files changed, 351 insertions(+) diff --git a/account.go b/account.go index 5612389..34f71e8 100644 --- a/account.go +++ b/account.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/activitypub.go b/activitypub.go index ad8f420..a62749d 100644 --- a/activitypub.go +++ b/activitypub.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/admin.go b/admin.go index 7f78a85..3e1c8e7 100644 --- a/admin.go +++ b/admin.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/app.go b/app.go index cdb342e..c435a9a 100644 --- a/app.go +++ b/app.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/auth.go b/auth.go index 074e1c0..0a15092 100644 --- a/auth.go +++ b/auth.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely // AuthenticateUser ensures a user with the given accessToken is valid. Call diff --git a/author/author.go b/author/author.go index af09905..f2d851d 100644 --- a/author/author.go +++ b/author/author.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package author import ( diff --git a/cache.go b/cache.go index 4fb8d0c..ea30d16 100644 --- a/cache.go +++ b/cache.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/cmd/writefreely/main.go b/cmd/writefreely/main.go index 8f1fefe..c1aa05f 100644 --- a/cmd/writefreely/main.go +++ b/cmd/writefreely/main.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package main import ( diff --git a/collections.go b/collections.go index ea5b929..c20ddb1 100644 --- a/collections.go +++ b/collections.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/config/config.go b/config/config.go index 1341633..499e7ec 100644 --- a/config/config.go +++ b/config/config.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package config import ( diff --git a/config/data.go b/config/data.go index d9694f4..dd8ce59 100644 --- a/config/data.go +++ b/config/data.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package config type UserCreation struct { diff --git a/config/funcs.go b/config/funcs.go index 2fc130a..9a7fe6f 100644 --- a/config/funcs.go +++ b/config/funcs.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package config import ( diff --git a/config/setup.go b/config/setup.go index cb73d80..7ee8d1c 100644 --- a/config/setup.go +++ b/config/setup.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package config import ( diff --git a/config/validation.go b/config/validation.go index cdbe101..142153d 100644 --- a/config/validation.go +++ b/config/validation.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package config import ( diff --git a/database.go b/database.go index a493ed9..fc1664f 100644 --- a/database.go +++ b/database.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/errors.go b/errors.go index d307a68..6672103 100644 --- a/errors.go +++ b/errors.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/export.go b/export.go index 316e192..9975bf7 100644 --- a/export.go +++ b/export.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/feed.go b/feed.go index b83c54b..e86d8c7 100644 --- a/feed.go +++ b/feed.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/handle.go b/handle.go index 62ff436..5d7843c 100644 --- a/handle.go +++ b/handle.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/hostmeta.go b/hostmeta.go index 4b0553a..20bb62d 100644 --- a/hostmeta.go +++ b/hostmeta.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/instance.go b/instance.go index 482e65d..975f90a 100644 --- a/instance.go +++ b/instance.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely type InstanceStats struct { diff --git a/keys.go b/keys.go index b5d8ede..953a509 100644 --- a/keys.go +++ b/keys.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/nodeinfo.go b/nodeinfo.go index e3ca8de..17826fb 100644 --- a/nodeinfo.go +++ b/nodeinfo.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/pad.go b/pad.go index 8391ff0..70e20d8 100644 --- a/pad.go +++ b/pad.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/page/page.go b/page/page.go index 673424e..9287566 100644 --- a/page/page.go +++ b/page/page.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ // package page provides mechanisms and data for generating a WriteFreely page. package page diff --git a/pages.go b/pages.go index 901faec..98f7478 100644 --- a/pages.go +++ b/pages.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/parse/posts.go b/parse/posts.go index 23d6f7f..b3adab9 100644 --- a/parse/posts.go +++ b/parse/posts.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package parse import ( diff --git a/parse/posts_test.go b/parse/posts_test.go index 70bf052..b2c8eef 100644 --- a/parse/posts_test.go +++ b/parse/posts_test.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package parse import "testing" diff --git a/postrender.go b/postrender.go index f739bdc..e139af9 100644 --- a/postrender.go +++ b/postrender.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/posts.go b/posts.go index b321bd0..5efae29 100644 --- a/posts.go +++ b/posts.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/read.go b/read.go index cd725c4..c94e897 100644 --- a/read.go +++ b/read.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/request.go b/request.go index 3b72b44..90fcd61 100644 --- a/request.go +++ b/request.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import "mime" diff --git a/routes.go b/routes.go index d36728c..9761da6 100644 --- a/routes.go +++ b/routes.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/session.go b/session.go index 6e8e4fd..b122ced 100644 --- a/session.go +++ b/session.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/sitemap.go b/sitemap.go index 3f6b36d..b1cc0a6 100644 --- a/sitemap.go +++ b/sitemap.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/templates.go b/templates.go index 6af5b8f..1a82c59 100644 --- a/templates.go +++ b/templates.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/unregisteredusers.go b/unregisteredusers.go index bf4227b..28f8635 100644 --- a/unregisteredusers.go +++ b/unregisteredusers.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/users.go b/users.go index b645c6a..b82c8ec 100644 --- a/users.go +++ b/users.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import ( diff --git a/webfinger.go b/webfinger.go index c1aa4f6..ed23c7e 100644 --- a/webfinger.go +++ b/webfinger.go @@ -1,3 +1,12 @@ +/* + * Copyright © 2018 A Bunch Tell LLC. + * + * This file is part of WriteFreely. + * + * WriteFreely is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, included + * in the LICENSE file in this source code package. + */ package writefreely import (